- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Spooler Problem
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
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
07-02-2002 02:31 AM
07-02-2002 02:31 AM
Spooler Problem
I can't stop lp spooler of my superdome [hpux11.11] server. It's not responding if I am doing "lpshut" and "lpsched" . I have also tried by removing "SCHEDLOCK" file but didn't succeed.....pl suggest.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 02:57 AM
07-02-2002 02:57 AM
Re: Spooler Problem
/sbin/init.d/lp shut
and see if that does it.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 03:01 AM
07-02-2002 03:01 AM
Re: Spooler Problem
This sounds like you have a zombie process. What about ps- command, which PID and PPID can you see for the process? Is the PPID still running? Can you kill PID of spooler process?
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 03:08 AM
07-02-2002 03:08 AM
Re: Spooler Problem
Have you had this issue before ?
Check for any hung spooler processes
ps -u lp
As Pete advises try and stop using script
# /sbin/init.d/lp stop
# /sbin/init.d/lp start
Have you checked you have got the latest patches for the spooler ?
There is another file as well called templock -
which I recall has caused issues before. Can't perform a search at the moment - not near a system so can't advise further. Try a find on that file
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 05:32 AM
07-02-2002 05:32 AM
Re: Spooler Problem
ps -fu lp
Then use kill -9 for any lp spooler processes. Most likely the hung process(es) is waiting on LAN I/O that will never complete. Pay attention to the printer queue(s) that seem to be hung--these may be problems that need addressing.
Once all processes for lp have been terminated, the spooler should start normally. lpshut simply sends a standard termination signal to all lp processes but this signal may not get through.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 06:06 AM
07-02-2002 06:06 AM
Re: Spooler Problem
1)As shown remove all spooler processes with kill -9
2)remove FIFO and SCHEDLOCK from the spooler dir
3)Script
#!/bin/ksh
#
#Printer parameter
#
# parameter is enable disable accept or reject to do all printers
#
option=$1
xx=`lpstat -p|grep printer|cut -f2 -d" "`
for printer in $xx
do
case $option in
accept) accept $printer ;;
reject) reject $printer ;;
enable) enable $printer ;;
disable) disable $printer ;;
*)echo invalid parameter ;;
esac
done
Put this on your machine and do
script disable.
4)lpsched
The spooler should start
5)Either enable the printers 1 by 1 and check for problems or
script enable
All printers will be enabled.
Then you can see easily.
If still bad try lpsched -v
and look in /var/adm/lp/log for messages
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 06:11 AM
07-02-2002 06:11 AM
Re: Spooler Problem
ps -aef | grep lp
and kill all the procees .
Also you can try by /sbin/init.d/lp shut , but the first one is more effective.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 09:33 AM
07-02-2002 09:33 AM
Re: Spooler Problem
Regards,
K.Vijay