lp lpstat : LP print services isn't running or can't be reached
Hi,
After last weekend's server reboot, our Solaris 8 server's print service is no more
working (have been working fine all these while). I'm not aware of any change & I
can see that "printer" service is enabled in /etc/inetd.conf :
I've done "pkill -HUP inetd" to refresh the inetd but it did not help.
Error messages appended :
# lpstat slacdhp1
UX:lpstat: ERROR: The LP print service isn't running or can't be
reached.
TO FIX: Your request can't be completely handled
without the LP print service. If this
problem continues, get help from your
system administrator.
# lp -d slacdhp1 /etc/hosts
UX:lp: ERROR: Can't establish contact with the LP print service.
TO FIX: Either the LP print service has stopped,
or all message channels are busy. If the
problem continues, get help from your
system administrator.
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
a) there are 2 lines (thought it should be one listening process only)
>netstat -an | grep 515 | grep -i listen
*.515 *.* 0 0 24576 0 LISTEN
*.515 *.* 0 0 24576 0 LISTEN
b) /var/adm/messages has several queue related messages :
Nov 20 06:45:01 slasun02 ntpdate[21236]: [ID 774510 daemon.notice] step time server 10.51.1.9 offset 0.585674 sec
Nov 20 06:50:00 slasun02 sendmail[21377]: [ID 801593 mail.crit] NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA-I
Pv4: cannot bind: Address already in use
Nov 20 06:50:00 slasun02 sendmail[21377]: [ID 702911 mail.alert] daemon MTA-IPv4: problem creating SMTP socket
Nov 20 06:50:05 slasun02 sendmail[21377]: [ID 801593 mail.crit] NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA-I
Pv4: cannot bind: Address already in use
Nov 20 06:50:05 slasun02 sendmail[21377]: [ID 702911 mail.alert] daemon MTA-IPv4: problem creating SMTP socket
Nov 20 06:50:10 slasun02 sendmail[21377]: [ID 801593 mail.crit] NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA-I
Pv4: cannot bind: Address already in use
Nov 20 06:50:10 slasun02 sendmail[21377]: [ID 702911 mail.alert] daemon MTA-IPv4: problem creating SMTP socket
Nov 20 06:50:15 slasun02 sendmail[21377]: [ID 801593 mail.crit] NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA-I
Pv4: cannot bind: Address already in use
c) I've issued the commands (in case faled is a typo, I've used 'failed' as well) & attached outputs :
truss -o /tmp/lpfaled.txt -faled lpstat
truss -o /tmp/lpfailed.txt -failed lpstat
This is what I get now :
# lpstat -a
dvsy01 accepting requests since Thu Apr 19 09:15:31 2007
sds1_hp1 accepting requests since Tue Sep 28 11:50:23 2004
# lp -d slacdhp1 dailyback.18112008
request id is slacdhp1-25386 (1 file(s))
Printing now, thanks a lot
EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Unix OS
--
Questions
--
Followers
Top Experts
Unix is a multitasking, multi-user computer operating system originally developed in 1969 at Bell Labs. Today, it is a modern OS with many commercial flavors and licensees, including FreeBSD, Hewlett-Packard’s UX, IBM AIX and Apple Mac OS-X. Apart from its command-line interface, most UNIX variations support the standardized X Window System for GUIs, with the exception of the Mac OS, which uses a proprietary system.