Re: debian-user-digest Digest V101 #529
Subject: Re: debian-user-digest Digest V101 #529
Date: Wed, May 02, 2001 at 12:37:43PM +0000
In reply to:K. Matthew Victor
Quoting K. Matthew Victor(firstname.lastname@example.org):
> Thank you for the help, thus far no joy!
> Results from the suggested commands:
> $ whereis lpd
> lpd: /usr/sbin/lpd
> su ********
> # ps -aux |grep lpd
^ old syntax, not required anymore
> Bad syntax, perhaps a bogus'-'
> root 218 0.0 0.1 1212 548 ? S May01 0:00 [lpd]
> matthew 3565 0.0 0.1 1112 444 pts/0 S 12:02 0:00 grep lpd
I don't think it is running. Here is what I get (as a user OR as root)
VT5 wtopa-Debian:~$ ps aux |grep lpd
root 374 0.0 0.0 1352 32 ? S Apr29 0:00 /usr/sbin/lpd
wtopa 14293 0.0 0.3 1112 444 tty5 S 20:17 0:00 grep lpd
> It looks to be running, however, I issued the restart command:
> storm:/home/matthew# /etc/init.d/lpd restart
> Stopping printer spooler: lpd not running.
> Starting printer spooler: lpr.
> #man lpc -t |lpr
> lpr: connect: Connection refused
> jobs queued, but cannot start daemon
> # man lpc |lpr
> same return as above, also as normal user. This command sequence used to work, untill yesterday when this fun began.
> Triying to print from inside an app. (Netscape) does not result in output to the printer.
> Is it possible to use apt to reinstall the stuff that seems broken? TIA, Matt.
Yes sure. do
apt-get remove lpr ( or --purge remove lpr to remove all files &
then apt-get install lpr
Could it be that you messed with the file permissions in
ls -l /var/spool/lpd owner & group are lp permissions drwxrwsr-x
ls -l /var/spool/lpf/lp same as above
:-) HTH, YMMV, HAND :-)
What boots up must come down.