[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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@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.