**** BEGIN LOGGING AT Sat Jul 12 02:59:56 2008 Jul 12 14:56:18 anyone around that can help with getting CUPS to work with my printer? Jul 12 15:21:40 anyone around? Jul 12 15:25:00 Hi, is anyone available to help with a really noob problem? Jul 12 15:25:39 what problem? Jul 12 15:25:58 i am trying to get php-fcgi to run on my slug Jul 12 15:26:11 following the HOWTO at http://www.nslu2-linux.org/wiki/HowTo/DeployPHPWebAppUsingFastCGI Jul 12 15:26:28 i have managed to install both php and php-fcgi Jul 12 15:26:46 however when i try to execute php-fcgi it just returns a blank and i get stuck there Jul 12 15:26:55 any idea what the problem might be? Jul 12 15:28:02 I have no experience with php-fcgi, but is the program supposed to daemonize automatically? Jul 12 15:28:51 I'm not sure what 'daemonize automatically' means Jul 12 15:29:18 switch into background Jul 12 15:29:23 i think it might be my ignorance of general linux syntax Jul 12 15:29:30 in the FAQ, it says to Jul 12 15:29:32 "Launch php-fcgi command." Jul 12 15:29:34 what about starting it with a trailing & Jul 12 15:29:41 "$ /opt/bin/php-fcgi " Jul 12 15:29:49 so this is what I do: Jul 12 15:29:54 chdir /opt/bin/ Jul 12 15:29:59 ./php-fcgi Jul 12 15:30:06 and it just gets stuck there. Jul 12 15:30:09 try the trailing & Jul 12 15:30:14 as in Jul 12 15:30:20 ./php-fcgi& Jul 12 15:30:22 ? Jul 12 15:30:24 yes Jul 12 15:30:29 one sec Jul 12 15:31:00 i think it works Jul 12 15:31:03 now what does "ps" tell you? Jul 12 15:31:04 this shows up in my ps Jul 12 15:31:07 ok Jul 12 15:31:08 1617 root 4668 T N ./php-fcgi Jul 12 15:31:25 out of curiosity though Jul 12 15:31:28 what does the trailing & do? Jul 12 15:31:43 it starts a process in background Jul 12 15:32:02 you could do the same after starting the program in foreground Jul 12 15:32:28 by typing ^Z (control-Z) + "bg" Jul 12 15:32:42 ^Z suspends the current process Jul 12 15:32:43 I see! Jul 12 15:32:49 thank you very much Jul 12 15:32:52 you've been a great help! Jul 12 15:32:59 "bg" resumes the last process in background mode Jul 12 15:33:07 no problem Jul 12 15:34:21 Platypen: You could update the wiki... :) Jul 12 15:36:41 anyone know anything about setting up CUPS? I cant get it to work, even when following the how-to Jul 12 15:37:47 need help here what shall I put in /etc/fstab when I add one more usbstick --debian? where shall I mount it? Jul 12 15:39:49 treitmayr: done! Jul 12 15:41:05 janne-5011: no experience with debian either, but does debian not auto-mount it Jul 12 15:41:07 ? Jul 12 15:41:34 no it dont looks like its auto Jul 12 15:42:13 usual mount points are located in /mnt or /media Jul 12 15:42:19 partiition is done and filesystem to. I just dont know what to put in fstab Jul 12 15:43:13 either you refer to it using the device or a label or UUID Jul 12 15:43:20 et. Jul 12 15:43:21 eg. Jul 12 15:43:23 in /media folder is usb usb0 and usb1. it tells me noting=) Jul 12 15:43:42 hm Jul 12 15:43:47 any one is your new usb-stick? Jul 12 15:44:15 what does "mount" say? Jul 12 15:44:59 mountcomand saysit is not there just sda and some more, but not the new Jul 12 15:45:16 after creating the filesystem, did you unplug and replug the stick? Jul 12 15:45:37 reboot is done Jul 12 15:45:44 if i do this; Jul 12 15:46:10 mount /dev/sdb1 it says nothing found in fstab Jul 12 15:46:31 ok, then first create a mount point, eg in /mnt or /media Jul 12 15:46:46 with mkdir /media/mynewstick Jul 12 15:46:56 mount: mount point does not exist Jul 12 15:47:13 ok I try that treitmayr Jul 12 15:47:17 then mount /dev/sdb1 /media/mynewstick -o noatime Jul 12 15:47:28 ok Jul 12 15:50:01 the corresponding entry for /etc/fstab would be: /dev/sdb1 /media/mynewstick ext3 defaults,async,noatime 0 2 Jul 12 15:50:29 (adjust "ext3" and maybe "async" to what you use/want) Jul 12 15:51:53 ok I do a reboot and look Jul 12 15:52:10 treitmayr: know anything about running CUPS? Jul 12 15:52:34 DrunkDwarf: not for the slug, sorry Jul 12 15:52:51 janne-5011: Did you add the line in fstab? Jul 12 15:53:22 no i did it another way I wiat for it to reboot now and remake it as you did it Jul 12 15:53:27 *wait Jul 12 15:53:37 I was to fast=) Jul 12 15:54:06 DrunkDwarf: Just ask your question, with as much detail as you can (use pastebin for large amounts of information) -- that way, as people glance into this channel throughout the day they'll see your question -- and respond if they can help. Jul 12 15:57:40 alright Jul 12 15:59:46 general q really, how can i tell if the slug even detects the printers existance? Ive got a Samsung laser printer, and its attached to a USB Hub on port 1, i can get windows to print jobs so that they appear in the cups jobs list, but it progresses no further from there, ive been usign the how-to guide on adding a printer, using the method it covers using hp990c Jul 12 16:11:11 janne-501x: any success? Jul 12 16:17:23 no Jul 12 16:17:37 the damn slug dont boot Jul 12 16:18:03 try to unplug the stick again Jul 12 16:18:04 I need to fix it from windows with the ext2ifs application Jul 12 16:18:22 brb need a reboot Jul 12 16:40:46 grmbl Jul 12 16:51:50 janne-5011: does not sound like the big success... Jul 12 16:53:38 no... Jul 12 16:54:31 cant even ping it.can the slug do diskcheck possible? Jul 12 16:55:06 fcheck or whatever its name Jul 12 16:55:17 janne-5011: did you reboot without the stick plugged in? Jul 12 16:55:29 no Jul 12 16:55:38 what shallI do after that? Jul 12 16:56:30 if the slug booted just fine before and now with the stick plugged in it does not, try rebooting with the stick unplugged Jul 12 16:56:39 ok I try it Jul 12 17:02:35 still no ping Jul 12 17:04:48 janne-5011: that's really weird Jul 12 17:05:28 yes and I removed the bad line in fstab Jul 12 17:05:44 so it should work Jul 12 19:30:59 I am trying to copy the rc.bootbin script to my unslug directory,i chmod 755 open up filezilla and to ftp over to the unslung dir error 553 permission denied help Jul 12 19:37:01 why am i getting a error **** ENDING LOGGING AT Sun Jul 13 02:59:57 2008