[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Sheflug] printing post cable modem
I had a similar problem the other night, but it was nothing to do with a
cable modem. I had accidently deleted the lpd spool directory, once I
recreated this things worked OK, well for 24hrs at least. The symptoms of
this were that jobs were passed straight through the queue and appeared to
go to dev/null.
Last night I had exactly the same problems you describe. Jobs were in the
queue but there was no daemon running, attempts to start it using lpd & lpc
from the bin directory failed with the same messages as below. I had to
issue the lpd stop and lpd start script from the init.d directory. This
worked, I'm not sure what the difference is but I will try and look later.
BTW I am using SuSE 6.4
Alastair
> -----Original Message-----
> From: Matt Fairtlough [SMTP:fairtlough [at] blueyonder.co.uk]
> Sent: Monday, February 05, 2001 11:39 PM
> To: Sheflug
> Subject: Re: [Sheflug] printing post cable modem
>
> I think its more than my printer barfing now.
> Looking at /var/log/messages I see nothing about printing
> or printer daemons but frantic network activity that
> doesn't seem to be achieving very much. I wondered why
> my modem activity light was flashing all the time...
>
> But printing is my main problem now. I'm convinced it
> is related to the presence of the modem but goodness
> knows how. I can't find lpd actually: where is it
> normally?
>
> bash# which lpd
> /usr/bin/which: no lpd in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:
> /usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin)
>
> all dmesg reports are dozens of messages
> VFS: Disk change detected on device ide0(3,0)
> that don't relate to anything _I'm_ doing.
>
> bash# lpc status
> lp:
> queuing is enabled
> printing is enabled
> 3 entries in spool area
> no daemon present
> bash# lpc restart all
> lp:
> cannot open lock file
> lp:
> lpc: connect: Connection refused
> couldn't start daemon
> bash# lpc status
> reports same state as before
>
> so what is it that lpc is trying to connect to, and
> what is refusing the connection???
>
> BTW, the printer is working fine itself, I can print
> ASCII directly to the printer port.
>
> I've tried deleting the file /var/spool/lpd/lp and
> restarting lpd from printtool and the directory is
> recreated but lpc status still complains that the
> daemon cannot be started.
>
> tail of /var/log/messages:
>
> Feb 5 23:07:12 pc-62-31-17-145-sh ftpd[20370]: lost connection to
> 208.222.229.98 [208.222.229.98]
> Feb 5 23:07:12 pc-62-31-17-145-sh ftpd[20370]: FTP session closed
> Feb 5 23:07:12 pc-62-31-17-145-sh inetd[505]: pid 20370: exit status 255
> Feb 5 23:07:13 pc-62-31-17-145-sh inetd[505]: ftp/tcp server failing
> (looping
> or being flooded), service terminated for 10 min
> Feb 5 23:07:14 pc-62-31-17-145-sh ftpd[20384]: FTP session closed
> <much more of the same, 2-3 times per second>
> Feb 5 23:07:18 pc-62-31-17-145-sh ftpd[20307]: FTP session closed
> Feb 5 23:07:19 pc-62-31-17-145-sh ftpd[20360]: lost connection to
> 208.222.229.98 [208.222.229.98]
> Feb 5 23:07:19 pc-62-31-17-145-sh ftpd[20360]: FTP session closed
> Feb 5 23:07:19 pc-62-31-17-145-sh inetd[505]: pid 20360: exit status 255
>
> PaulSims062527 [at] aol.com wrote:
>
> > even with a permenant network connection - which many have in the form
> of a
> > lan don't forget - printing shouldn't be affected. /dev/lp0 is a local
> > parallel port unless you have it symlinked to somewhere else.
> >
> > Printtool is TBH very good at setting up printers - pity SuSE makes such
> a
> > dogs dinner of it. Printing is one feature where RH & Mandrake
> (especially
> > now with CUPS, which is nice!) do have the edge.
> >
> > What happens if you do "<path-to>lpd restart" then "lpc restart all" and
> "lpc
> > status"?
>
> Isn't "<path-to>lpd restart" exactly what the printtool does anyway?
>
> > Any clues from dmesg at startup? What does /var/log/messages have to
> say?
>
> see earlier: nothing that casts light on printing, just other problems.
>
> Matt.
>
> --
> --------------------------------------------
> | Matt Fairtlough 22 Harley Road |
> | Sheffield S11 9SE UK tel. 0114 236 2067 |
> --------------------------------------------
>
>
>
> ---------------------------------------------------------------------
> Sheffield Linux User's Group - http://www.sheflug.co.uk
> To unsubscribe from this list send mail to
> - <sheflug-request [at] vuw.ac.nz> - with the word
> "unsubscribe" in the body of the message.
>
> GNU the choice of a complete generation.
>
*******************************************************************************************************
The information contained in this e-mail is confidential. It may also be legally privileged.
It is intended only for the stated addressee(s) and access to it by any other person
is unauthorised. If you are not an addressee, you must not disclose, copy, circulate or
in any other way use or rely on the information contained in this e-mail.
Such unauthorised use may be unlawful.
If you have received this e-mail in error, please inform us immediately on
+44 (0)1628 604455 (ask for the I.T. dept) and delete it and all copies from your system.
*******************************************************************************************************
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.