- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lpstat : connection to station2 is down
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
Discussions
Discussions
Forums
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
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
тАО09-16-2001 11:24 PM
тАО09-16-2001 11:24 PM
From Workstation "station1",
#lpstat -t
scheduler is running
...
device for printer2: /dev/null
remote to: printer2 on station2
...
connection to station2 is down
#ping station2 (O.K)
#telnet station2 (O.K, can login)
#nslookup station2 (O.K)
#nslookup
From "station2" where is printer2 is defined :
#lp -dprinter2 file1.txt
--> no problem, gets printed.
How can I resolve the "connection down problem" ?
NOTE :
* All other Workstations which have the same printer definition as "station1", no such problem. Problem exists only on "station1".
* Have already tried :
-- lpshut then lpshed on both stations
-- reboot on station1
-- Delete then re-define printer2 on station1
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2001 11:35 PM
тАО09-16-2001 11:35 PM
Re: lpstat : connection to station2 is down
When you restart the lp scheduler on station-1 enable logging;
lpsched -v -a
Then when you submit a job on station1 to the printer2 queue check the log in /var/adm/lp (tail log), whats the return code from the remote lp call to station2 ? It should say somethink like;
rc=4, or bad status.....
This should help diagnose what the problem is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2001 11:45 PM
тАО09-16-2001 11:45 PM
Re: lpstat : connection to station2 is down
you could check if in /etc/services the line
printer 515/tcp spooler
is not commented.
If so uncomment the line and reinitialize inetd with:
inetd -c
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2001 12:12 AM
тАО09-17-2001 12:12 AM
Re: lpstat : connection to station2 is down
* line "printer 515/tcp spooler" in NOT un-commented in /etc/services
* have tried "lpshut" then "lpsched -v -a", then send a printout. Result :
-- no error at all in /var/adm/lp/log
-- lpstat -t shows :
station1: waiting for queue to be enabled on station2
NOTE : All other Workstations have no problem printing to "printer2" on "station2". Have also
justed tested 3 other workstations. No problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2001 12:16 AM
тАО09-17-2001 12:16 AM
Re: lpstat : connection to station2 is down
* line "printer 515 ..." is NOT commented in /etc/services. That is, it is active.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2001 12:25 AM
тАО09-17-2001 12:25 AM
Re: lpstat : connection to station2 is down
Hmm. Sounds like your printer config on station1 is screwed up. You know printer2 is aok on station2 as others can print to it.
So, first thing to try is create a new queue on station1, call it something like printer2new, point it to printer2 at station2 and try a print.
If this doesnt work then youre going to have to look at cleaning out all of /usr/spool/lp and reloading the printer fileset (PrinterMgmt.LP-SPOOL) using swinstall.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2001 12:55 AM
тАО09-17-2001 12:55 AM
SolutionSee the link:
http://us-support.external.hp.com/cki/bin/doc.pl/sid=4e44ae7e1b8fcfacdc/screen=ckiDisplayDocument?docId=200000024646255
Best of luck
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2001 01:40 AM
тАО09-17-2001 01:40 AM
Re: lpstat : connection to station2 is down
---> solved the problem !!