- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lpstat hangs in HP-UX 11.00
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
тАО06-01-2009 07:57 AM
тАО06-01-2009 07:57 AM
lpstat hangs in HP-UX 11.00
I have a problem with printer, lpstat commands hangs every 5 days.what is the purpose of the qstatus file, what is the default size. please give the recommandations, whether i need to install any patches for hppi?
details:
# uname -a
HP-UX uotjet1 B.11.00 U 9000/800 588706547 unlimited-user license
# swlist |grep lp
PHCO_25110 1.0 lpspool subsystem cumulative patch
PHCO_29208 1.0 lpspool subsystem cumulative patch
==
-rw-r--r-- 1 lp lp 47564 May 25 16:34 qstatus
everytime lpstat hangs, even if we restart the spooler also.
Need your inputs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-01-2009 08:40 AM
тАО06-01-2009 08:40 AM
Re: lpstat hangs in HP-UX 11.00
qstatus is part of the bookeeping used in the spooler. The 3 status files (pstatus, qstatus and outputq) are binary files managed by the lpsched program. The size of the files is only indicative of the number of printers you have and the current activity.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 01:21 AM
тАО06-23-2009 01:21 AM
Re: lpstat hangs in HP-UX 11.00
# find /var/spool/lp/request/ -type f -exec ls -lrt {} \;|egrep -v "remote|sending" | wc -l
24390
print queue are not getting cleared automatically, please let me know the reason.what is the default buffer size of the print queue, since at certain of time for 4 or 6 days all print queue fails.
====
# ls -l |egrep -i "pstatus|qstatus|outputq"
-rw-r--r-- 1 lp lp 5220036 Jun 23 11:18 outputq
-rw-r--r-- 1 lp lp 192780 Jun 23 11:18 pstatus
-rw-r--r-- 1 lp lp 47940 Jun 11 15:06 qstatus
====
Also if there any possibility to copy the entire printer configuration to other server for failure recovery plan. since it is a very critical server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 01:27 AM
тАО06-23-2009 01:27 AM
Re: lpstat hangs in HP-UX 11.00
# ls -l |egrep -i "pstatus|qstatus|outputq"
-rw-r--r-- 1 lp lp 5220036 Jun 23 11:18 outputq
-rw-r--r-- 1 lp lp 192780 Jun 23 11:18 pstatus
-rw-r--r-- 1 lp lp 47940 Jun 11 15:06 qstatus
what is the buffer size of the printer queue, we have 255 printers configured, every 4 or 6days all print queue stops automatically.also i find the printer queue is not cleared automatically, any specific reason.
# find /var/spool/lp/request/ -type f -exec ls -lrt {} \;|egrep -v "remote|sending" | wc -l
24390
from the above o/p iam able to see the print queue on from june14th.
Also is there any possbility to copy the entire printer q configuration to other server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 01:33 AM
тАО06-23-2009 01:33 AM
Re: lpstat hangs in HP-UX 11.00
>>is there any possbility to copy the entire printer q configuration to other server.
Steps;-
-------
Save the configuration files in /var/sam/lp/
# /usr/sam/lbin/lpmgr -S -v -xsavedir=/var/sam/lp/
Copy in to the 2nd server
#rcp -r -p /var/sam/lp/lp.new/* 2ndserver:/var/sam/lp/
Restore the printer configuration in 2ndserver
#/usr/sam/lbin/lpmgr -R xsavedir=/var/sam/lp/
Regards,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 06:40 PM
тАО06-23-2009 06:40 PM
Re: lpstat hangs in HP-UX 11.00
PHCO_29208 (2003) or PHCO_31016 (2004)
I would also verify the spooling system with:
swverify PrinterMgmt
Fix everything except the man page stuff. Fixing the permission and ownership errors should get the spooler working again.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 02:40 AM
тАО06-24-2009 02:40 AM
Re: lpstat hangs in HP-UX 11.00
Its not getting cleared automatically y?
what is the buffer size of printer queue,how to find.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2009 06:03 AM
тАО06-26-2009 06:03 AM
Re: lpstat hangs in HP-UX 11.00
Nothing is automatic for print problems in HP-UX. If it hangs, you'll have to clear it manually.
> what is the buffer size of printer queue,how to find.
There is no specific buffer size for each printer. The storage area is /var/spool/lp/request. To see how much space you have, use the command:
bdf /var/spool/lp/request
NOTE: This is normally part of /var. If it gets filled up for any reason, most everything on the computer will stop working. If you have large print jobs, you may need to create a separate mountpoint for the request directory.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2009 09:03 AM
тАО06-26-2009 09:03 AM
Re: lpstat hangs in HP-UX 11.00
Final question, even printed spooler request its not getting cleared.y?
If its not printed,its ok,i wont clear...
Am i correct, like windows print queue.i will clear once printed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2009 12:09 PM
тАО06-26-2009 12:09 PM