- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Printing problem: Error 45 from lockf call on file...
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
01-29-2003 01:40 AM
01-29-2003 01:40 AM
Printing problem: Error 45 from lockf call on file outputq
I am having problems with my Printers/Printer Queues at heavy load. Many of them get "DISABLED" at the same time. Enabling them is OK sometimes and at other times i have to do it (enable
Below a few diagnostics:
root-L1000 #lpstat -p|grep disabled
printer it1 disabled since Nov 16 08:18 -
printer persk3 disabled since Jan 29 11:52 -
disabled by scheduler: ERROR: Printer interface script returned non-zero exit status.
printer phxv1 disabled since Jan 29 11:52 -
disabled by scheduler: ERROR: Printer interface script returned non-zero exit status.
root-L1000 #lpstat shpphx2
shpphx2-4043 ias priority 0 Jan 29 12:01
srw15320817 9361 bytes
printer queue for shpphx2
printer shpphx2: spooling is on.
No jobs in queue.
L1000: Warning: shpphx2 is down
L1000: shpphx2: ready and waiting
root-L1000 #enable shpphx2
printer "shpphx2" now enabled
root-L1000 #lpstat shpphx2
shpphx2-4047 ias priority 0 Jan 29 12:01 on shpphx2
srw16720817 20319 bytes
printer queue for shpphx2
printer shpphx2: spooling is on.
No jobs in queue.
L1000: shpphx2: ready and waiting
root-L1000 #
my log file (/var/adm/lp/lp.log) is also indicating the following errors:
========================================================================
...
phxv2-3862 ias phxv2 Jan 29 10:55
/usr/sbin/lpsched: Error 45 from lockf call on file outputq
/usr/sbin/lpsched: can't open output queue file
shpphx2-3863 ias shpphx2 Jan 29 10:56
/usr/sbin/lpsched: Error 45 from lockf call on file outputq
/usr/sbin/lpsched: can't open output queue file
persk3-3864 ias persk3 Jan 29 10:56
/usr/sbin/lpsched: Error 45 from lockf call on file outputq
/usr/sbin/lpsched: can't open output queue file
yarnltk1-3861 ias yarnltk1 Jan 29 10:58
....
shpphx2-4008 ias shpphx2 Jan 29 11:53
/usr/sbin/lpsched: Error 45 from lockf call on file outputq
/usr/sbin/lpsched: can't open output queue file
ltkpers2-4018 ias ltkpers2 Jan 29 11:55
....
========================================================================
I know that a printer can get disabled when it is not able to process the data/control spool
files of the printer which are pending in the queue and every time a file is printed, two files- control and data are created in the spool directory corresponding to the request.
IF the control file has an error, the printer will get disabled while trying to process that request.
I have also observed that these printers are heavily used one and also these "print queues" are all serviced by remote print managers (software).
What could be other causes of this problem? How do i troubleshoot?
I am running:
o HP-UX11.11
o Gold Applications and Gold Base patches (June 2002)
Thank you in advance for your guidances.
Best Regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2003 01:45 AM
01-29-2003 01:45 AM
Re: Printing problem: Error 45 from lockf call on file outputq
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2003 02:09 AM
01-29-2003 02:09 AM
Re: Printing problem: Error 45 from lockf call on file outputq
lpstat -
should give you the reason.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2003 04:54 AM
01-29-2003 04:54 AM
Re: Printing problem: Error 45 from lockf call on file outputq
Errors from programs that have simple numbers are most likely errno values and are covered in the man page for errno. (actually, the errno name such as E2BIG is explained). To find a particular errno number, grep through the file: /usr/include/sys/errno.h
where E2BIG is known as errno 7 and errno 45 is called EDEADLK.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2004 08:14 PM
08-27-2004 08:14 PM