- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lpsched
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-31-2005 10:25 AM
01-31-2005 10:25 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2005 12:42 PM
01-31-2005 12:42 PM
Solution1) Do an lpshut. Next, using ps -ef | grep lpsched see if any additional lpsched's are running. If so kill them. Next remove any SCSHEDLOCK, FIFO, and/or CLD_FIFO's. Next do a ps -ef | grep hpnpf and kill any of these. Finally, do an lpsched.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2005 01:30 PM
01-31-2005 01:30 PM
Re: lpsched
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2005 03:10 PM
01-31-2005 03:10 PM
Re: lpsched
ps -fu lp
One and only one lpsched will have a parent ID of 1 (init). That's the first one started and if it's running, the spooler is running (lpstat -r). Each additional lpsched is associated with a printer script and monitors the printing task for a specific printer. To see the hierarchy, use this command line:
UNIX95= ps -Hfu lp
Now when a remote printer (or more typically, a remote print server) or the network have problems, the lpsched monitor can't do much to fix it. Usually, only a particular printer has problems, so start by cancelling the print job, then killing the lpsched that is pointing to this printer. That should elminate the lpsched plus any child processes.
Now lpshut sends a signal to all lpsched processes that are running but processes that are stuck in network communication problerms will hang and not terminate. Run lpshut followed by ps -fulp. If some lp processes won't terminate, use kill -9 on the lpsched processes and their child processes will terminate. Once ps -fulp shows nothing, then (and only then) is the spooler shutdown. Now you can use lpadmin (or SAM) to remove a printer.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2005 02:06 AM
02-01-2005 02:06 AM