- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: LPSHUT not working
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
10-23-2007 09:18 AM
10-23-2007 09:18 AM
LPSHUT not working
so I am not able to start it agian
and all print jobs are blocked
thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2007 09:28 AM
10-23-2007 09:28 AM
Re: LPSHUT not working
Have you tried kill -17, kill -15, kill -11 or eventually kill -9 ?
My first assumption is that it is stuck attempting to process a job to somewhere that is not responding.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2007 09:42 AM
10-23-2007 09:42 AM
Re: LPSHUT not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2007 10:11 AM
10-23-2007 10:11 AM
Re: LPSHUT not working
kill -9 ####
where #### is the process ID of the lpsched processes. If you typed kill -9 lpsched then you got an error message because kill never works with a name. You need to find *all* the lp processes like this:
ps -u lp
Then issue a simple kill signal to each process ID (PID) number. You can put all the PIDs on one line:
kill -15 123 1234 12345 22 33
then repeat the command changing the kill level to -1, then -9. Now repeat the ps -u lp command. All the processes that cannot be killed with -9 are waiting on I/O, very probably network I/O. In that case, you'll have to reboot. All unfinished jobs will be reprinted when you boot up.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2007 11:08 AM
10-23-2007 11:08 AM
Re: LPSHUT not working
ps -u lp
# ps -u lp
PID TTY TIME COMMAND
5322 ? 0:00 JABILM001
5347 ? 0:00 JABILM032
5403 ? 0:00 rlp
5556 ? 0:00 rlp
5203 ? 0:00 lpsched
22139 ? 0:00 lpsched
5598 ? 0:00 rlp
5211 ? 0:00 lpsched
5235 ? 0:00 lpsched
5467 ? 0:00 rlp
5221 ? 0:00 lpsched
5223 ? 0:00 lpsched
5277 ? 0:00 JABILM008
5442 ? 0:00 rlp
5450 ? 0:00 rlp
5241 ? 0:00 JABILM019
5314 ? 0:00 Juarez_prt18
5309 ? 0:00 Juarez_prt01
5208 ? 0:00 lpsched
5415 ? 0:00 rlp
5368 ? 0:00 rlp
5256 ? 0:00 JABILP001
5333 ? 0:00 Juarez_prt09
5182 ? 0:00 lpsched
5572 ? 0:00 rlp
5587 ? 0:00 rlp
5198 ? 0:00 lpsched
5331 ? 0:00 Billingiden01
5201 ? 0:00 lpsched
5305 ? 0:00 PLPR632
5258 ? 0:00 JABILP002
5284 ? 0:00 JABILM015
5554 ? 0:00 rlp
5205 ? 0:00 lpsched
5528 ? 0:00 rlp
5231 ? 0:00 lpsched
5390 ? 0:00 rlp
5236 ? 0:00 lpsched
5419 ? 0:00 rlp
5263 ? 0:00 rlp
5497 ? 0:00 hpnpf
22146 ? 0:00 JabilR007
5299 ? 0:00 JABILM024
5271 ? 0:00 JABILP003
5216 ? 0:00 lpsched
5202 ? 0:00 lpsched
28020 ? 0:00 lp
5225 ? 0:00 lpsched
5232 ? 0:00 lpsched
5412 ? 0:00 rlp
5332 ? 0:00 EXELM01
5471 ? 0:00 rlp
5188 ? 0:00 lpsched
22150 ? 0:00 rlp
5427 ? 0:00 rlp
5185 ? 0:00 lpsched
5402 ? 0:00 rlp
5604 ? 0:00 rlp
5197 ? 0:00 lpsched
5290 ? 0:00 JABILM021
5373 ? 0:00 rlp
28021 ? 0:00 sh
5374 ? 0:00 rlp
5194 ? 0:00 lpsched
5190 ? 0:00 lpsched
5214 ? 0:00 lpsched
5342 ? 0:00 fl08pr042
5346 ? 0:00 JabilR002
5272 ? 0:00 JABILP004
5330 ? 0:00 Juarez_prt08
5354 ? 0:00 rlp
5553 ? 0:00 rlp
5267 ? 0:00 JABILM006
5316 ? 0:00 tpack_04
5552 ? 0:00 rlp
5189 ? 0:00 lpsched
5315 ? 0:00 JABILM025
5228 ? 0:00 lpsched
5227 ? 0:00 lpsched
5193 ? 0:00 plpr606
5343 ? 0:00 JABILR02
3005 ? 6:00 lpsched
5213 ? 0:00 lpsched
5259 ? 0:00 IL105_Iden06
Shall I kill all this process with the method above mentioned , will it make any problem (as this list contains some rlp process)
once it is killed what to do ?
Shall i restart the lp from /sbin/init.d/lp stop & lp start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2007 01:18 PM
10-23-2007 01:18 PM
Re: LPSHUT not working
Yes, you need to kill all the processes. Obviously, a lot of lp processes are running but they are ignoring the lpshut request. Since lp is not working properly, you'll have to shutdown everything that is owned by lp.
> once it is killed what to do ?
Almost always, lp problems like this are caused by network failures. You'll need to fix the network issues. If you do not have good network administrators to help find the problems, you can disable *ALL* the printers after killing all the lp processes. Then enable one printer at a time and look for a problem.
> Shall i restart the lp from /sbin/init.d/lp stop & lp start
The lp start/stop script just issues an lpshut (which doesn't work) and lpsched. I would also get your system patched to within 6 months of current bundles.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2007 02:39 PM
10-23-2007 02:39 PM
Re: LPSHUT not working
It is a general issue of lp daemon.
I see your ps output show a lot of lpsched daemon, please kill -9 those lpsched daemons and make sure no more daemon running for lpsched.
Also make sure you update lpspooler patch as it fixed number of known issues
11.11 PHCO_34993 lpspool cumulative patch
11.23 PHCO_36440 lpspool cumulative
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 08:54 AM
10-25-2007 08:54 AM
Re: LPSHUT not working
I killed all process and restarted my lp .. now working
also cheked for the patches mentioned .. the same is available with the server
Thanks all for your help
Nair
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2007 09:01 AM
10-25-2007 09:01 AM
Re: LPSHUT not working
#ps -u lp
#kill -15
#kill -1
#kill -9
Restrted lp
#lpshut
#lpsched