- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Printer problems
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 01:25 AM
03-15-2007 01:25 AM
Printer problems
We receive upgrades from our HQ for the HPUX 11i every other month. The latest upgrade was very ugly and I think it broke more then it fixed. Now, my printers no longer work. When I do an lpstat it comes back with connection down. But I can ping the printer and when I look at the printer is SAM everything is ok. I have another HPUX box that does not get the upgrades and it prints to the same printers without a problem. Your help is appreciated.
millsm@ngbva (/home/millsm)$lpstat ibm2
connection to ibm2 is down
no entries
millsm@ngbva (/home/millsm)$ping ibm2
PING ibm2: 64 byte packets
64 bytes from xx.xx.250.122: icmp_seq=0. time=2. ms
64 bytes from xx.xx.250.122: icmp_seq=1. time=2. ms
64 bytes from xx.xx.250.122: icmp_seq=2. time=1. ms
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 01:37 AM
03-15-2007 01:37 AM
Re: Printer problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 01:40 AM
03-15-2007 01:40 AM
Re: Printer problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 01:55 AM
03-15-2007 01:55 AM
Re: Printer problems
#lpshut
#lpsched
This will clear all print queues!!
Also,
Check if the rlpdaemon is running in the systems where the remote printers are attached to...
Try to restart the inetd daemon:
#inetd -c
regards,
NM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 02:00 AM
03-15-2007 02:00 AM
Re: Printer problems
we were having some permission problems on another issue after the upgrade...??
millsm@ngbva (/home/millsm)$lpshut
scheduler stopped
millsm@ngbva (/home/millsm)$lpsched
scheduler is running
millsm@ngbva (/home/millsm)$inetd -c
millsm@ngbva (/home/millsm)$lpstat ibm2
connection to ibm2 is down
no entries
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 02:15 AM
03-15-2007 02:15 AM
Re: Printer problems
In order to use remote printing, there must be a remote printing daemon
which is scheduled when a remote print request is received. This
daemon, "rlpdaemon", runs on the machine where the printer is located.
Check the file /etc/inetd.conf, and look for the following line:
# printer stream tcp nowait root /usr/lib/rlpdaemon rlpdaemon -i
If the "#" sign is there, this means the line invoking the rlpdaemon is
commented out; therefore, remote printing will not work. To resolve
this:
1. Edit the file /etc/inetd.conf
2. Remove the "#" sign from in front of the line so that the
line reads:
printer stream tcp nowait root /usr/lib/rlpdaemon rlpdaemon -i
3. Save the file
4. Execute the command:
/etc/inetd -c
to reconfigure the Internet daemon inetd, forcing it to
re-read the /etc/inetd.conf file.
Please check in the remote server or workstation where the printer is connected.
NM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 02:18 AM
03-15-2007 02:18 AM
Re: Printer problems
And look for ports whose destination IP address are the network printer and are in a "FIN_WAIT_2" state.
NM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 02:23 AM
03-15-2007 02:23 AM
Re: Printer problems
millsm@ngbva (/etc/lp/member)$netstat -a | grep FIN_WAIT_2
tcp 0 0 ngbva.7779 ngvXXk-8bjaa011.2383 FIN_WAIT_2
tcp 0 0 ngbva.6003 ngbva.52165 FIN_WAIT_2
tcp 0 0 ngbva.49458 ngbva.49459 FIN_WAIT_2
tcp 0 0 ngbva.7779 ngvanb-x58c0001.4214 FIN_WAIT_2
tcp 0 0 ngbva.ftp ngva-pXX-ac09.2974 FIN_WAIT_2
tcp 0 0 ngbva.7779 ngvawk-8XXaa093.3597 FIN_WAIT_2
tcp 0 0 ngbva.49456 ngbva.49461 FIN_WAIT_2
tcp 0 0 ngbva.7779 ngvanb-8bjXX335.2733 FIN_WAIT_2
tcp 0 0 ngbva.7779 ngvanb-x5XX0001.4245 FIN_WAIT_2
tcp 0 0 ngbva.56234 ngbva.56238 FIN_WAIT_2
tcp 0 0 ngbva.56227 ngbva.62359 FIN_WAIT_2
tcp 0 0 ngbva.7779 ngvawk-pfXXp02.2024 FIN_WAIT_2
tcp 0 0 ngbva.7779 ngvawk-pfXXp02.2494 FIN_WAIT_2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 02:23 AM
03-15-2007 02:23 AM
Re: Printer problems
E.g.
/usr/lib/rlp
lpstat
lp
etc...
Compare them with a good system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 02:34 AM
03-15-2007 02:34 AM
Re: Printer problems
packet but it had not received an "ACK" for that "FIN".
The ports were still partially opened and could not be used
for other processes.
The network printer that did not gracefully close those TCP/IP connections.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 02:34 AM
03-15-2007 02:34 AM
Re: Printer problems
netstat -a | awk '/tcp/ {print $6}' | sort | uniq -c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 02:37 AM
03-15-2007 02:37 AM
Re: Printer problems
KBRC00015664
How do I clear or prevent too many fin_wait_2 connections?
NM