- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: No prints after each reboot
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
11-30-2003 10:05 PM
11-30-2003 10:05 PM
No prints after each reboot
users cannot print anything.
only after doing lpshut and lpsched they
are able to print.
Any ideas?
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2003 10:15 PM
11-30-2003 10:15 PM
Re: No prints after each reboot
Quick fix - put an lphut and lpsched at the end of boot sequence.
Then you can look at where it is in the start up sequence, if it is too early then other dependancies will not be there.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2003 10:19 PM
11-30-2003 10:19 PM
Re: No prints after each reboot
is lp set to start up at boot? check /etc/rc.config.d/lp and see if LP=1. If not the lp spooler does not start at reboot.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2003 10:37 PM
11-30-2003 10:37 PM
Re: No prints after each reboot
Checked it. LP=1
Anything else to look for?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2003 10:41 PM
11-30-2003 10:41 PM
Re: No prints after each reboot
Paula, thanks but this problem is a new one, so I guess something happaned somewhere in the boot process, that I want to find out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2003 10:43 PM
11-30-2003 10:43 PM
Re: No prints after each reboot
Check
# ll /sbin/rc2.d | grep lp
lrwxr-xr-x 1 root sys 15 May 18 2000 S720lp -> /sbin/init.d/lp
HTH,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2003 11:19 PM
11-30-2003 11:19 PM
Re: No prints after each reboot
except the date.... mine is Feb 7 2002
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2003 11:31 PM
11-30-2003 11:31 PM
Re: No prints after each reboot
/etc/rc.log should give you something like
Start print spooler
Output from "/sbin/rc2.d/S720lp start":
----------------------------
scheduler is running
line printer scheduler started
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 12:06 AM
12-01-2003 12:06 AM
Re: No prints after each reboot
CHeck the spool system :
>lpstat -r
scheduler is running
hpnss-01,root,none,/var/tmp,!
>lpshut
scheduler stopped
hpnss-01,root,none,/var/tmp,!
>lpstat -r
scheduler is not running
if at this point the result is
scheduler is running
you have to delete the lock files in /var/spool/lp :
prw------- 1 lp lp 0 Dec 1 14:01 CLD_FIFO
prw------- 1 lp lp 0 Dec 1 14:03 FIFO
-rw-r----- 1 lp lp 0 Dec 1 14:01 SCHEDLOCK
hpnss-01,root,none,/var/tmp,!
>lpsched
scheduler is running
hpnss-01,root,none,/var/tmp,!
>
Hope, this helps.
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 12:10 AM
12-01-2003 12:10 AM
Re: No prints after each reboot
Yes, this is exactly what my rc.log says
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 12:16 AM
12-01-2003 12:16 AM
Re: No prints after each reboot
Could you check the permission of
#ls -lad /etc/lp/interface/model.orig
drwxr-xr-x 2 lp bin 1024 Jun 13 2002 /etc/lp/interface/model.orig
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 12:28 AM
12-01-2003 12:28 AM
Re: No prints after each reboot
Alexander --> hpnss-01....... not found. tried to search *hpnss* from / down, and didn't find anything.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 12:35 AM
12-01-2003 12:35 AM
Re: No prints after each reboot
Who is the owner and group ? should be lp:bin ?
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 12:44 AM
12-01-2003 12:44 AM
Re: No prints after each reboot
sure sure lp and bin
gonna take a 24hr off now.
hope you'll be here when I get back.
Thanks a mil guys!
hope we'll get over this mess
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 12:52 AM
12-01-2003 12:52 AM
Re: No prints after each reboot
Check these tomorow (:-)
db001:/etc# ll hosts nsswitch* resolv*
resolv* not found
-r--r--r-- 1 bin bin 1240 Oct 17 17:53 hosts
-r--r--r-- 1 bin bin 528 Nov 6 1997 nsswitch.compat
-r--r--r-- 1 root sys 353 Jun 21 2000 nsswitch.conf
-r--r--r-- 1 bin bin 380 Jan 18 2000 nsswitch.eic
-r--r--r-- 1 bin bin 353 Nov 6 1997 nsswitch.files
-r--r--r-- 1 bin bin 555 Nov 6 1997 nsswitch.hp_defaults
-r--r--r-- 1 bin bin 513 Nov 6 1997 nsswitch.nis
-r--r--r-- 1 bin bin 566 Nov 6 1997 nsswitch.nisplus
above files should have permission 444 owner bin, group bin.
Kind regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 01:02 AM
12-01-2003 01:02 AM
Re: No prints after each reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 12:44 AM
12-02-2003 12:44 AM
Re: No prints after each reboot
Robert, that's mine:
-rw-r--r-- 1 root root 2028 Jun 4 2003 hosts
-r--r--r-- 1 bin bin 528 Nov 6 1997 nsswitch.compat
-rw-rw-rw- 1 root sys 28 Apr 18 2002 nsswitch.conf
-r--r--r-- 1 bin bin 353 Nov 6 1997 nsswitch.files
-r--r--r-- 1 bin bin 555 Nov 6 1997 nsswitch.hp_defaults
-r--r--r-- 1 bin bin 513 Nov 6 1997 nsswitch.nis
-r--r--r-- 1 bin bin 566 Nov 6 1997 nsswitch.nisplus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 12:55 AM
12-02-2003 12:55 AM
Re: No prints after each reboot
I realy didn't try lpsched without lpshut first (guess it's a reflex...)
But what do you think is happaning assuming no lpshut is needed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 01:03 AM
12-02-2003 01:03 AM
Re: No prints after each reboot
Sam can resolve at lot of errors. run SAM
->Printers and Plotters
->LP Spooler
->Save/Restore Spooler Configuration
---> Action --> save spooler configuration
---> Action --> Restore spooler configuration.
If SAM finds errors in the spooler configuration, sam will try to repare these.
Realy hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 01:11 AM
12-02-2003 01:11 AM
Re: No prints after each reboot
Did the SAM Procedure.
No errors reported, just the "Successfully restored spooler configuration" message.
I'm going to wait for the night to do a reboot and check if it did the job.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 02:53 AM
12-02-2003 02:53 AM
Re: No prints after each reboot
After doing the restore spooler configuration
What happaned was that the scheduler stoped!!!
did lpstat -r ---> got "scheduler is not running"
did lpsched ---> got "scheduler is not running"
went to SAM again and did the restore again and then did lpstat -r ---> got "scheduler is not running"!!!!!!!
so something is preventing the scheduler from runing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 02:55 AM
12-02-2003 02:55 AM
Re: No prints after each reboot
when I did lpsched ---> got "scheduler is running"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 03:06 AM
12-02-2003 03:06 AM
Re: No prints after each reboot
The file is in /var/adm/lp/log.
Check the output of the lpstat -t command for any error messages.
Check if all lp processes have terminated using
ps -ef | grep lp
Kill any remaining lp processes like lpsched, interface scripts,rlp, hpnpf, cat or lpstat processes.
Remove the following lock files from /var/spool/lp:
FIFO
SCHEDLOCK
CLD_FIFO
lpd.lock
tmplock
Toutputq
Restart the scheduler with logging enabled, /usr/sbin/lpsched -v
If taht does not work than you might have to remove any outstanding print requests.
See the following link for more details:
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000069320256
JL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 03:46 AM
12-02-2003 03:46 AM
Re: No prints after each reboot
lpstat -r -----> lpsched not running
THEN went to /var/adm/lp/log and got:
***** LP LOG Dec 2 18:42 *****
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 03:49 AM
12-02-2003 03:49 AM
Re: No prints after each reboot
lpstat -r -----> lpsched not running
THEN went to /var/adm/lp/log and got:
***** LP LOG Dec 2 18:42 *****
FIFO: Dec 2 18:44 n
FIFO: Dec 2 18:44 n
after doing lpsched went to the log again
this time it was empty.
anyone???