- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lpsched 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
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
11-16-2003 01:33 PM
11-16-2003 01:33 PM
I have a problem in some serves. The lpsched is always down when the machine is rebooted, and i have to manually bring it up. When i check the /etc/rc.log the starting up of the /lpsched is SKIPPED. Please advice
regards
Joyce
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2003 01:38 PM
11-16-2003 01:38 PM
Re: lpsched problem
Make sure that the /etc/rc.config.d/lp file has a '1' instead of a '0'. Having a zero tells the script to skip starting the daemon. See my example below.
#!/sbin/sh
# @(#)B.11.11_LR
# LP spooler configuration
#
# LP: Set to 1 to start LP spooler
#
LP=1
Regards
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2003 01:48 PM
11-16-2003 01:48 PM
Re: lpsched problem
I have checked the setting is set to 1. Please advice
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2003 01:56 PM
11-16-2003 01:56 PM
Re: lpsched problem
what happens when you use?
# /sbin/init.d/lp start
What is in the output in /etc/rc.log when the spooler has attempted to start. Here is a snippet from mine.
Start print spooler
Output from "/sbin/rc2.d/S720lp start":
----------------------------
scheduler is running
line printer scheduler started
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2003 02:15 PM
11-16-2003 02:15 PM
Re: lpsched problem
This is what I encountered in /etc/rc.log
Start print spooler
Output from "/sbin/rc2.d/S720lp start":
----------------------------
"/sbin/rc2.d/S720lp start" SKIPPED
regards
joyce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2003 02:20 PM
11-16-2003 02:20 PM
Re: lpsched problem
# ll /etc/rc.config.d/lp*
Do you have more than one lp file? Maybe an lp.bak or an lp.old? If so, remove it. You never want to keep any backup files in /etc/rc.config.d as they can thoroughly mess up your box when it boots.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2003 02:29 PM
11-16-2003 02:29 PM
Re: lpsched problem
I don see any files except this
-r--r--r-- 1 bin bin 108 Nov 14 2000 /etc/rc.config.d/lp
Please advice
Joyce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2003 02:37 PM
11-16-2003 02:37 PM
Re: lpsched problem
sh -x /sbin/init.d/lp start 2>&1 | more
The 2>&1 redirects the trace output to stdout and more gives you a chance to look at the results. Or you can simply change |more to > /var/tmp/somefile so you can paste the results here. There are two conditions required in the script to start:
$LP must be 1 and -s /var/spool/lp/pstatus which means pstatus must exist and not be zero length.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2003 02:49 PM
11-16-2003 02:49 PM
Re: lpsched problem
check this doc
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062942437
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2003 03:32 PM
11-16-2003 03:32 PM
Re: lpsched problem
I will try the solution given .
Thanks again
Regards
Joyce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 01:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 01:30 PM
11-17-2003 01:30 PM
Re: lpsched problem
I have another question, that option given by Manikandan is to create a dummy printer...
Well I have checked with my admin here locally that the lpsched would not start at boot if there is no defined printer in the server. Creating a dummy printer would be an option
But is there any doc that supports this?
Thanks
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2003 12:02 AM
11-18-2003 12:02 AM
Re: lpsched problem
Bill Hassell, sysadmin