HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lpsched running multiple processes
Operating System - HP-UX
1835259
Members
2582
Online
110078
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
12-11-2004 07:28 PM
12-11-2004 07:28 PM
lpsched running multiple processes
I am using hp 11.0 and all my printers have stopped printing. I have rebooted the server but did not help. I have checked on the scheduler and got these results. When one tries to print a job it runs multiple processes which should not happen. I have checked the permisions they are all ok. What could be the problem.
# lpshut
scheduler stopped
but does not stop it.
# ps -ef|grep lpsched
lp 1331 1 235 10:14:56 ? 0:18 /usr/sbin/lpsched
root 1691 1377 0 10:15:45 pts/tub 0:00 grep lpsched
# lp -dhelpdesk /etc/profile
request id is helpdesk-1774 (1 file)
# ps -ef|grep lpsched
lp 3505 1331 121 10:18:27 ? 0:02 /usr/sbin/lpsched
lp 1331 1 0 10:14:56 ? 2:34 /usr/sbin/lpsched
lp 3500 1331 0 10:18:27 ? 0:00 /usr/sbin/lpsched
lp 3498 1331 0 10:18:27 ? 0:00 /usr/sbin/lpsched
lp 3502 1331 122 10:18:27 ? 0:02 /usr/sbin/lpsched
lp 3499 1331 0 10:18:27 ? 0:00 /usr/sbin/lpsched
lp 3503 1331 120 10:18:27 ? 0:02 /usr/sbin/lpsched
lp 3504 1331 120 10:18:27 ? 0:02 /usr/sbin/lpsched
lp 3509 1331 120 10:18:27 ? 0:02 /usr/sbin/lpsched
lp 3506 1331 121 10:18:27 ? 0:02 /usr/sbin/lpsched
lp 3507 1331 119 10:18:27 ? 0:02 /usr/sbin/lpsched
lp 3501 1331 0 10:18:27 ? 0:00 /usr/sbin/lpsched
lp 3508 1331 120 10:18:27 ? 0:02 /usr/sbin/lpsched
lp 3510 1331 120 10:18:27 ? 0:02 /usr/sbin/lpsched
The log has this /var/adm/lp/log
/usr/sbin/lpsched: Unable to open and lock "request/br69oc/cA0137okzim"
fork: Resource temporarily unavailable
# lpshut
scheduler stopped
but does not stop it.
# ps -ef|grep lpsched
lp 1331 1 235 10:14:56 ? 0:18 /usr/sbin/lpsched
root 1691 1377 0 10:15:45 pts/tub 0:00 grep lpsched
# lp -dhelpdesk /etc/profile
request id is helpdesk-1774 (1 file)
# ps -ef|grep lpsched
lp 3505 1331 121 10:18:27 ? 0:02 /usr/sbin/lpsched
lp 1331 1 0 10:14:56 ? 2:34 /usr/sbin/lpsched
lp 3500 1331 0 10:18:27 ? 0:00 /usr/sbin/lpsched
lp 3498 1331 0 10:18:27 ? 0:00 /usr/sbin/lpsched
lp 3502 1331 122 10:18:27 ? 0:02 /usr/sbin/lpsched
lp 3499 1331 0 10:18:27 ? 0:00 /usr/sbin/lpsched
lp 3503 1331 120 10:18:27 ? 0:02 /usr/sbin/lpsched
lp 3504 1331 120 10:18:27 ? 0:02 /usr/sbin/lpsched
lp 3509 1331 120 10:18:27 ? 0:02 /usr/sbin/lpsched
lp 3506 1331 121 10:18:27 ? 0:02 /usr/sbin/lpsched
lp 3507 1331 119 10:18:27 ? 0:02 /usr/sbin/lpsched
lp 3501 1331 0 10:18:27 ? 0:00 /usr/sbin/lpsched
lp 3508 1331 120 10:18:27 ? 0:02 /usr/sbin/lpsched
lp 3510 1331 120 10:18:27 ? 0:02 /usr/sbin/lpsched
The log has this /var/adm/lp/log
/usr/sbin/lpsched: Unable to open and lock "request/br69oc/cA0137okzim"
fork: Resource temporarily unavailable
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2004 12:09 PM
12-12-2004 12:09 PM
Re: lpsched running multiple processes
You have spooler control file corruption. First, use lpshut, then follow with pr -u to find all the lp processes (don't use grep):
ps -f -u lp
Then kill each of the processes manually. If new ones keep showing up, you'll have to disable spooling in the /etc/rc.config/lp file and then reboot. Then with the spooler shutdown, delete the printer br69oc with:
cancel br69oc -e
lpadmin -xbr69oc
Now check the printer is truly gone:
lpstat -v
If not, you may have to rebuild the printing subsystem by deleting every printer and starting over.
Once the problem printer is gone, start the spooler manually with the lpsched command. Then print a vary small file on one pr more printers. If all is well, add the problem printer back again.
Bill Hassell, sysadmin
ps -f -u lp
Then kill each of the processes manually. If new ones keep showing up, you'll have to disable spooling in the /etc/rc.config/lp file and then reboot. Then with the spooler shutdown, delete the printer br69oc with:
cancel br69oc -e
lpadmin -xbr69oc
Now check the printer is truly gone:
lpstat -v
If not, you may have to rebuild the printing subsystem by deleting every printer and starting over.
Once the problem printer is gone, start the spooler manually with the lpsched command. Then print a vary small file on one pr more printers. If all is well, add the problem printer back again.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2004 08:34 PM
12-12-2004 08:34 PM
Re: lpsched running multiple processes
Hi
You may need to remobe
/var/spool/lp/FIFO /var/spool/lp/SCHEDLOCK
to make it run again
Steve Steel
You may need to remobe
/var/spool/lp/FIFO /var/spool/lp/SCHEDLOCK
to make it run again
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP