- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Trouble with lpsched on HP-UX 11.31
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
Discussions
Discussions
Forums
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
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
тАО06-16-2011 10:27 AM
тАО06-16-2011 10:27 AM
This is an fresh install of HP-UX 11.31.0803 with QPKAPP B.11.31.0809.326 installed.
The trouble is I can't start the lp scheduler:
root@mls-test-01 # lpsched -v
lpsched: scheduler could not be started
Nothing is created in /var/adm/lp
root@mls-test-01 # ls -l /var/adm/lp
total 0
Permissions:
root@mls-test-01 # ls -ld /var/spool/lp
drwxr-xr-x 4 lp bin 8192 j├║n 16 21:23 /var/spool/lp/
root@mls-test-01 # ls -ld /var/adm/lp
drwxr-xr-x 2 lp bin 96 j├║n 16 19:47 /var/adm/lp/
root@mls-test-01 # ls -ld /usr/lib/lp
drwxr-xr-x 7 lp bin 96 j├║n 16 19:46 /usr/lib/lp/
Nothing relevant is posted in syslog nor anywhere I can find.
I've tried removing the PrintMgr depot and reinstalled it. Tried to start the lpsched through smh / sam, to no avail, never starts up.
Any ideas?
Solved! Go to Solution.
- Tags:
- lpsched
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2011 11:15 AM
тАО06-16-2011 11:15 AM
Re: Trouble with lpsched on HP-UX 11.31
Did you check if the SCHEDLOCK file excists?
if so, remove it.
rm SCHEDLOCK
do a ps -fe and look for any lpsched procs and kill them
Any error messages during installation?
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2011 11:48 AM
тАО06-16-2011 11:48 AM
Re: Trouble with lpsched on HP-UX 11.31
No unfortunately no such files:
halldorh@mls-test-01 > ls -lrt /var/spool/lp
total 0
lr-xr-xr-x 1 bin bin 18 j├Г┬║n 16 19:46 cmodel@ -> /usr/lib/lp/cmodel
lr-xr-xr-x 1 bin bin 17 j├Г┬║n 16 19:46 fonts@ -> /usr/lib/lp/fonts
lr-xr-xr-x 1 bin bin 17 j├Г┬║n 16 19:46 model@ -> /usr/lib/lp/model
lr-xr-xr-x 1 bin bin 18 j├Г┬║n 16 19:46 smodel@ -> /usr/lib/lp/smodel
-rw-r--r-- 1 lp lp 0 j├Г┬║n 16 19:47 outputq
-rw-r--r-- 1 lp lp 0 j├Г┬║n 16 19:47 qstatus
-rw-r--r-- 1 lp lp 0 j├Г┬║n 16 19:47 pstatus
lrwxr-xr-x 1 root sys 18 j├Г┬║n 16 19:47 sinterface@ -> /etc/lp/sinterface
lrwxr-xr-x 1 root sys 13 j├Г┬║n 16 19:47 class@ -> /etc/lp/class
lrwxr-xr-x 1 root sys 17 j├Г┬║n 16 19:47 interface@ -> /etc/lp/interface
lrwxr-xr-x 1 root sys 14 j├Г┬║n 16 19:47 member@ -> /etc/lp/member
lrwxr-xr-x 1 root sys 12 j├Г┬║n 16 19:47 info@ -> /etc/lp/info
lrwxr-xr-x 1 root sys 18 j├Г┬║n 16 19:47 cinterface@ -> /etc/lp/cinterface
drwxr-xr-x 2 lp bin 96 j├Г┬║n 16 19:47 request/
drwxr-xr-x 2 lp bin 96 j├Г┬║n 16 19:47 receive/
-rw-r----- 1 lp sys 0 j├Г┬║n 16 21:15 default
I did not see any errors when installing, and no lpsched processes are running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2011 12:11 PM
тАО06-16-2011 12:11 PM
Re: Trouble with lpsched on HP-UX 11.31
What about the rc.log?, anything there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2011 12:40 PM
тАО06-16-2011 12:40 PM
Re: Trouble with lpsched on HP-UX 11.31
Start print spooler
Output from "/sbin/rc2.d/S720lp start":
----------------------------
/usr/sbin/lpsched: scheduler could not be started
EXIT CODE: 1
"/sbin/rc2.d/S720lp start" FAILED
Just that it failed to start.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2011 12:53 PM - last edited on тАО08-08-2011 01:21 PM by Kevin_Paul
тАО06-16-2011 12:53 PM - last edited on тАО08-08-2011 01:21 PM by Kevin_Paul
Re: Trouble with lpsched on HP-UX 11.31
Hello.
Plese check below URL.
http://h30499.www3.hp.com/t5/System-Administration/scheduler-is-not-running/m-p/2459685#M13653
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2011 01:36 PM
тАО06-16-2011 01:36 PM
Re: Trouble with lpsched on HP-UX 11.31
Unfortunately the permissions seem to be in order on
everything, so that doesn't seem to be the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2011 01:21 AM
тАО06-17-2011 01:21 AM
Re: Trouble with lpsched on HP-UX 11.31
You checked /usr/sbin/lpsched?
-r-sr-xr-x 1 root bin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2011 02:19 AM
тАО06-17-2011 02:19 AM
Re: Trouble with lpsched on HP-UX 11.31
Yup:
-r-sr-xr-x 1 root bin 229748 feb 15 2007 /usr/sbin/lpsched*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2011 02:42 AM
тАО06-17-2011 02:42 AM
SolutionThis error occurs when trying demonize lpsched when doing an initial read on the pipe. Or getting bad data from the pipe in the parent from the child.
Are you running out of processes?
It might be useful running tusc on lpsched(1m).