- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lp question - lp message-ready and waiting - Don't...
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
04-04-2003 01:21 PM
04-04-2003 01:21 PM
My production server returns the message similar to the following:
chl002h: Printer173p1: ready and waiting.
The failover server returns the message:
no entries
I've found the description for the "ready and waiting message" in the forum and it relates to the rlp command.
Description of the messages is as follows:
"The command rlp command is ready to send another print request."
Why don't I get the "ready and waiting" message on the failover server?
Thanks in advance...
Jack..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2003 01:24 PM
04-04-2003 01:24 PM
Re: lp question - lp message-ready and waiting - Don't get the same message on two servers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2003 05:50 PM
04-04-2003 05:50 PM
Re: lp question - lp message-ready and waiting - Don't get the same message on two servers
printer stream tcp nowait root /usr/lib/rlpdaemon rlpdaemon -i -l
To obtain the status of a remote printer use the rlpstat command:
rlpstat -d printer
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90681/B2355-90681_top.html&con=/hpux/onlinedocs/B2355-90681/00/03/308-con.html&toc=/hpux/onlinedocs/B2355-90681/00/03/308-toc.html&searchterms=rlpstat&queryid=20030404-183052
Here is the procedure for setting up a remote printer:
From server side where printer is attached:
1a) ps -ef | grep rlp (* rlpdaemon running? *)
2) Kill rlpdaemon
3) vi /etc/inetd.conf (* uncomment out the line indicated above *)
4) inietd -c (* restart *)
5) entries for remote host in /etc/hosts? (* must be able to ping both way *)
6) verify printer works for local print jobs
From client side:
1) lpstat -t (* printer exists? *)
2) lpadmin -x printer (* delete is does *)
3) lpshut
4) lpadmin -p local_printer ???mrmodel -v/dev/null -ocmrcmode1 -osmrsmode1 -orm
5)enable local_lp_name
6)accept local_lp_name
7)lpsched (* restart *)
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90681/B2355-90681_top.html&con=/hpux/onlinedocs/B2355-90681/00/01/165-con.html&toc=/hpux/onlinedocs/B2355-90681/00/01/165-toc.html&searchterms=remote%7cprinter%7clpadmin&queryid=20030404-184335
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 10:22 AM
04-08-2003 10:22 AM
Re: lp question - lp message-ready and waiting - Don't get the same message on two servers
1) What command did you use? lpstat
2) How are the printers set up on each machine? Printers are actually cloned using lpmgr. One of the servers acts as failover.
3)Are they set up differently? No
4) Is one machine set up with remote printers and the other using jet-direct? Base configuration is via using lpmgr utility to transfer printers.
Sorry for late response, I forgot where I posted the message...
jack...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 10:27 AM
04-08-2003 10:27 AM
Re: lp question - lp message-ready and waiting - Don't get the same message on two servers
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 10:33 AM
04-08-2003 10:33 AM
Re: lp question - lp message-ready and waiting - Don't get the same message on two servers
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 10:49 AM
04-08-2003 10:49 AM
Re: lp question - lp message-ready and waiting - Don't get the same message on two servers
We clone the passwd, group, host, inetd.conf, services and some other local system files to both servers before failing over. Prior to failing over, we bring the production sever to init level, which does the umounts and volume group deactivations. The Failover server is then brought up to init level 4.
The printers from what I can see are the same on both servers. I use the lpmgr tool to replicate the printers. Hosts, services, inetd.conf, and other files are synced.
I'm just confused why one server would give the message ready and waiting while the other server shows no entries for these particular printers.
jack...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 10:59 AM
04-08-2003 10:59 AM
Re: lp question - lp message-ready and waiting - Don't get the same message on two servers
rlpstat -dqueue
where queue is the printer name.
When I do a lpstat on my servers, even to remote printers, I only get "no entries"
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 01:20 PM
04-08-2003 01:20 PM
Re: lp question - lp message-ready and waiting - Don't get the same message on two servers
Locate rlpdaemon. This will indicate the server. Its absence will indicate the client.
Remote and cloned printers are sometimes used interchangeably.
Also refer the /etc/lp/interface/printer_name. Here is the system script used to define each printer. You should be able to do a stare and compare from each system to check for differences. Or just use the diff command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2003 02:01 PM
04-08-2003 02:01 PM
Re: lp question - lp message-ready and waiting - Don't get the same message on two servers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 08:30 AM
04-09-2003 08:30 AM
Re: lp question - lp message-ready and waiting - Don't get the same message on two servers
Production Server:
[358]root@chl002h:/ # rlpstat -dPrinter174p1
printer queue for Printer174p1
chl002h: Printer174p1: ready and waiting
[359]root@chl002h:/ #
Failover Server:
[8194]root@chl001h:/home/root # rlpstat -dPrinter174p1
printer queue for Printer174p1
[8195]root@chl001h:/home/root #
The process rlpdaemon is not running in the background on either server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 08:34 AM
04-09-2003 08:34 AM
Re: lp question - lp message-ready and waiting - Don't get the same message on two servers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 08:40 AM
04-09-2003 08:40 AM
Re: lp question - lp message-ready and waiting - Don't get the same message on two servers
Wonder if it would hurt to copy the qstatus and pstatus files on the Primary to the Failover server.
I'll look for info in recovering these files.
Thanks...
jack...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 08:44 AM
04-09-2003 08:44 AM
Re: lp question - lp message-ready and waiting - Don't get the same message on two servers
Also, if you're worried about corruption, and I haven't seen a complaint yet, it???s more of an informational posting that you've created, if you're worried about corruption then you can remove and remake the printers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 09:12 AM
04-09-2003 09:12 AM
Re: lp question - lp message-ready and waiting - Don't get the same message on two servers
The production server has two files in the /var/spool/lp/request/
.remotesending
.sendingstatus
The .sending status file contains the text of the message "Printer174p1: ready and waiting"
The lpmgr -R option apparently does not create these files.
Anyone understand when or how these files get created.
Here's the ll output:
380]root@chl002h:/var/spool/lp/request # ll Printer174p1
total 2
-rw-r--r-- 1 lp lp 0 Mar 5 11:32 .remotesending
-rw-r--r-- 1 root lp 32 Apr 9 12:57 .sendingstatus
[381]root@chl002h:/var/spool/lp/request #
Jack...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 09:36 AM
04-09-2003 09:36 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 09:50 AM
04-09-2003 09:50 AM
Re: lp question - lp message-ready and waiting - Don't get the same message on two servers
Thanks all...