tkacik@rphroy.UUCP (Tom Tkacik) (07/19/88)
Earlier I posted about a problem with my line printer spooler. Well there is still a problem, but I think I have narrowed it down a little. The problem is that the line printer scheduler is not running, and nothing I do seems to get it to work. I have recently discovered that one of the files in /usr/spool/lp, namely /usr/spool/lp/FIFO was missing. This is not a normal file but a named pipe. After learning that the mknod command is used to regenerate it, I tried again. Each time I remake /usr/spool/lp/FIFO, and then run lpsched, the FIFO disappears, and the scheduler still won't run. I have tried various permissions and ownerships, but nothing seems to work. Any new suggestions. Thanks Tom Tkacik ...!edsews!rphroy!tkacik PS. Thanks to those how helped in the first round. I hope there is no need for a third.
jcs@tarkus.UUCP (John C. Sucilla) (07/21/88)
In article <1054@rphroy.UUCP> tkacik@rphroy.UUCP (Tom Tkacik) writes: >I have recently discovered that one of the files in /usr/spool/lp, namely >/usr/spool/lp/FIFO was missing. This is not a normal file but a named pipe. >After learning that the mknod command is used to regenerate it, I tried again. >Each time I remake /usr/spool/lp/FIFO, and then run lpsched, the FIFO >disappears, and the scheduler still won't run. I have tried various permissions >and ownerships, but nothing seems to work. Well, it looks like a regular file to me.. When I -l that file I don't see any major and minor numbers, just a size of 0. Here is what it looks like on tarkus. -rw------- 1 lp other 0 Jul 17 23:06 /usr/spool/lp/FIFO -- John "C". Sucilla, A silicon based life form. {att,chinet,ddsw1}!tarkus!jcs You have a better idea? Now's the time..
rhealey@umn-d-ub.D.UMN.EDU (Rob Healey) (07/24/88)
In article <207@tarkus.UUCP> jcs@tarkus.UUCP (John C. Sucilla) writes: >Well, it looks like a regular file to me.. When I -l that file I don't >see any major and minor numbers, just a size of 0. >Here is what it looks like on tarkus. >-rw------- 1 lp other 0 Jul 17 23:06 /usr/spool/lp/FIFO The trick is to use file on /usr/spool/lp/FIFO. Some things to do when there's nothing better to do: mknod /tmp/xx p cat /tmp/xx & echo I'm a little FIFO, little FIFO, little FIFO >/tmp/xx Notice how a named pipe hangs around till you specifically remove it, i.e. rm. One can putts for hours thinking of new and improved ways to waste your time.... You can even change it's mode so EVERYONE can play! -Rob -- -Rob