- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: LP Spooler (lpsched) not starting on a Cloned ...
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-02-2006 01:02 AM
тАО06-02-2006 01:02 AM
LP Spooler (lpsched) not starting on a Cloned Server - despite SCHEDLOCK, *FIFO gyrations
But not on this one. The original server had a couple of printers defined and perfectly working. I copied over its /var/spool/lp and /etc/lp and I could not make it work. I even cleaned up manually all existing printer definitions to no avail.
Here's other info:
When I start up lpsched, it creates SCHEDLOCK, FIFO and CLD_FIFO but lpsched does not start at all. Used SAM and even defined new printers but lpsched just would not start. In SAM when I start the spooler,it will always complain a -1 value from spooler start is reported. No logs even with lpsched -v. I am sure about my permissins on the /var/spool/lp and /etc/lp trees.
Issuing lpshut does not clear out those *FIFO and SCHEDLOCK files and takes unusually longer to finish. A truss (tusc) on both lpsched and lpshut do not yield any meaningful clues.
Anybody encountered this issue yet? What could I be missing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2006 04:47 AM
тАО06-02-2006 04:47 AM
Re: LP Spooler (lpsched) not starting on a Cloned Server - despite SCHEDLOCK, *FIFO gyrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2006 04:53 AM
тАО06-02-2006 04:53 AM
Re: LP Spooler (lpsched) not starting on a Cloned Server - despite SCHEDLOCK, *FIFO gyrations
I did use cpio and vxump/vxrestore... to no avail. Do you know the internal workings of lpsched? I can send a full tusc (truss) of lpsched/lpshut/lpstat with all the forks and the execs, etc.
Also doing a parallel ticket with HP Support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2006 05:21 AM
тАО06-02-2006 05:21 AM
Re: LP Spooler (lpsched) not starting on a Cloned Server - despite SCHEDLOCK, *FIFO gyrations
1) cd /var/spool/lp
2) ls FIFO SCHEDLOCK
3) lpstat -r (* still running *)
4) lpshut (( if running *)
5) rm FIFO, SCHEDLOCK, outputq, *lock
6) >outputq
7) >log
8) ps -ef | grep -i lp (* any lp processes? *)
9) kill -9 PID (* any *)
10) lpsched -v
11) more log
12) lp -d printer file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2006 05:38 AM
тАО06-02-2006 05:38 AM
Re: LP Spooler (lpsched) not starting on a Cloned Server - despite SCHEDLOCK, *FIFO gyrations
Next check that /var/spool/lp/log is actually a symbolic link to /var/adm/lp/log and that the actual file is owned by lp; group lp; and mode 644.
Next:
/usr/sam/lbin/lpmgr > /var/tmp/myfile
This will check the integrity of the qstatus and pstatus files.
Each printer should have a line that looks something like this:
myprinter:network:yes, idle:yes:-:0: :
The most common problem that I have seen is that there is not exactly one space between the last two colons. If any entry looks hokey then delete the bogus printer.
Try lpsched now to see if the spooler will start; if not, repeat the lpshut, file removes, and killing any lpsched. Hopefully at this point you will at least have logging.
The next thing to check is a bad outputq. cd to /var/spool/lp; cp outputq outputq.save; cp /dev/null outputq; and try to start the scheduler again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2006 06:34 AM
тАО06-02-2006 06:34 AM
Re: LP Spooler (lpsched) not starting on a Cloned Server - despite SCHEDLOCK, *FIFO gyrations
[ /var/spool/lp ]
root@fhprod20 # ls
CLD_FIFO Tclass class fonts log member pstatus
request
FIFO Tmember cmodel info lpana.log model qstatus
sinterface
SCHEDLOCK cinterface default interface lpd.log outputq receive
smodel
[ /var/spool/lp ]
root@fhprod20 # ps -ef|grep lpsched
root 8563 3463 0 11:02:52 pts/td 0:00 grep lpsched
[ /var/spool/lp ]
root@fhprod20 # lpstat -r
scheduler is not running
[ /var/spool/lp ]
root@fhprod20 # lpshut
lpshut: scheduler not running
[ /var/spool/lp ]
root@fhprod20 # ls
CLD_FIFO Tclass class fonts log member pstatus
request
FIFO Tmember cmodel info lpana.log model qstatus
sinterface
SCHEDLOCK cinterface default interface lpd.log outputq receive
smodel
[ /var/spool/lp ]
root@fhprod20 # ls -l
total 32
prw------- 1 lp lp 0 Jun 2 07:11 CLD_FIFO
prw------- 1 lp lp 0 Jun 2 07:11 FIFO
-rw-r----- 1 lp lp 0 Jun 2 07:11 SCHEDLOCK
lrwxrwxrwx 1 root sys 14 Jun 1 13:49 Tclass -> /etc/lp/Tcla
ss
lrwxrwxrwx 1 root sys 15 Jun 1 13:49 Tmember -> /etc/lp/Tme
mber
lrwxr-xr-x 1 root sys 18 Jun 1 13:49 cinterface -> /etc/lp/
cinterface
lrwxr-xr-x 1 root sys 13 Jun 1 13:49 class -> /etc/lp/class
lr-xr-xr-x 1 root sys 18 Jun 1 13:49 cmodel -> /usr/lib/lp/
cmodel
-rw-r--r-- 1 lp lp 5 Jun 2 07:00 default
lr-xr-xr-x 1 root sys 17 Jun 1 13:49 fonts -> /usr/lib/lp/f
onts
lrwxr-xr-x 1 root sys 12 Jun 1 13:49 info -> /etc/lp/info
lr-xr-xr-x 1 root sys 17 Jun 1 13:49 interface -> /etc/lp/i
nterface
lrw-r--r-- 1 root sys 15 Jun 1 13:49 log -> /var/adm/lp/log
lr-xr-xr-x 1 root sys 21 Jun 1 13:49 lpana.log -> /var/adm/
lp/lpana.log
lrw-r--r-- 1 root sys 19 Jun 1 13:49 lpd.log -> /var/adm/lp
/lpd.log
lrwxr-xr-x 1 root sys 14 Jun 1 13:49 member -> /etc/lp/memb
er
lr-xr-xr-x 1 root sys 17 Jun 1 13:49 model -> /usr/lib/lp/m
odel
-rw-r--r-- 1 lp lp 0 Jun 2 06:59 outputq
-rw-r--r-- 1 lp lp 0 Jun 2 07:04 pstatus
-rw-r--r-- 1 lp lp 0 Jun 2 07:04 qstatus
drwxr-xr-x 2 lp bin 96 Oct 29 2003 receive
drwxr-xr-x 3 lp bin 8192 Jun 2 07:00 request
lrwxr-xr-x 1 root sys 18 Jun 1 13:49 sinterface -> /etc/lp/
sinterface
lr-xr-xr-x 1 root sys 18 Jun 1 13:49 smodel -> /usr/lib/lp/
smodel
[ /var/spool/lp ]
root@fhprod20 # ls -ld /var/spool/lp /etc/lp
drwxr-xr-x 8 lp bin 8192 Jun 2 07:11 /etc/lp
drwxr-xr-x 4 lp bin 8192 Jun 2 07:11 /var/spool/lp
[ /var/spool/lp ]
root@fhprod20 # rm *FIFO *LOCK
[ /var/spool/lp ]
root@fhprod20 # /usr/sam/lbin/lpmgr > /var/tmp/myfile
[ /var/spool/lp ]
root@fhprod20 # more /var/tmp/myfile
STOPPED
off
NULL
local name:type:enabled:accepting:location:fence:class
NULL:local:--:--:/dev/null: : :
[ /var/spool/lp ]
root@fhprod20 # ls
Tclass class fonts log member pstatus request
Tmember cmodel info lpana.log model qstatus sinterfa
ce
cinterface default interface lpd.log outputq receive smodel
[ /var/spool/lp ]
root@fhprod20 # lpsched -v
scheduler is running
[ /var/spool/lp ]
root@fhprod20 # lpstat -r
scheduler is not running
[ /var/spool/lp ]
root@fhprod20 # ls
CLD_FIFO Tclass class fonts log member pstatus
request
FIFO Tmember cmodel info lpana.log model qstatus
sinterface
SCHEDLOCK cinterface default interface lpd.log outputq receive
smodel
[ /var/spool/lp ]
root@fhprod20 # ls -l
total 32
prw------- 1 lp lp 0 Jun 2 11:13 CLD_FIFO
prw------- 1 lp lp 0 Jun 2 11:13 FIFO
-rw-r----- 1 lp lp 0 Jun 2 11:13 SCHEDLOCK
lrwxrwxrwx 1 root sys 14 Jun 1 13:49 Tclass -> /etc/lp/Tcla
ss
lrwxrwxrwx 1 root sys 15 Jun 1 13:49 Tmember -> /etc/lp/Tme
mber
lrwxr-xr-x 1 root sys 18 Jun 1 13:49 cinterface -> /etc/lp/
cinterface
lrwxr-xr-x 1 root sys 13 Jun 1 13:49 class -> /etc/lp/class
lr-xr-xr-x 1 root sys 18 Jun 1 13:49 cmodel -> /usr/lib/lp/
cmodel
-rw-r--r-- 1 lp lp 5 Jun 2 07:00 default
lr-xr-xr-x 1 root sys 17 Jun 1 13:49 fonts -> /usr/lib/lp/f
onts
lrwxr-xr-x 1 root sys 12 Jun 1 13:49 info -> /etc/lp/info
lr-xr-xr-x 1 root sys 17 Jun 1 13:49 interface -> /etc/lp/i
nterface
[ /var/spool/lp ]
root@srv001 # ls
CLD_FIFO Tclass class fonts log member pstatus
request
FIFO Tmember cmodel info lpana.log model qstatus
sinterface
SCHEDLOCK cinterface default interface lpd.log outputq receive
smodel
[ /var/spool/lp ]
root@srv001 # ls -l
total 32
prw------- 1 lp lp 0 Jun 2 11:13 CLD_FIFO
prw------- 1 lp lp 0 Jun 2 11:13 FIFO
-rw-r----- 1 lp lp 0 Jun 2 11:13 SCHEDLOCK
lrwxrwxrwx 1 root sys 14 Jun 1 13:49 Tclass -> /etc/lp/Tcla
ss
lrwxrwxrwx 1 root sys 15 Jun 1 13:49 Tmember -> /etc/lp/Tme
mber
lrwxr-xr-x 1 root sys 18 Jun 1 13:49 cinterface -> /etc/lp/
cinterface
lrwxr-xr-x 1 root sys 13 Jun 1 13:49 class -> /etc/lp/class
@
"LOG" 120 lines, 5946 characters
[ /root ]
root@fsprod91 # cat LOG
[ /var/spool/lp ]
root@srv001 # ls
CLD_FIFO Tclass class fonts log member pstatus request
FIFO Tmember cmodel info lpana.log model qstatus sinterface
SCHEDLOCK cinterface default interface lpd.log outputq receive smodel
[ /var/spool/lp ]
root@srv001 # ps -ef|grep lpsched
root 8563 3463 0 11:02:52 pts/td 0:00 grep lpsched
[ /var/spool/lp ]
root@srv001 # lpstat -r
scheduler is not running
[ /var/spool/lp ]
root@srv001 # lpshut
lpshut: scheduler not running
[ /var/spool/lp ]
root@srv001 # ls
CLD_FIFO Tclass class fonts log member pstatus request
FIFO Tmember cmodel info lpana.log model qstatus sinterface
SCHEDLOCK cinterface default interface lpd.log outputq receive smodel
[ /var/spool/lp ]
root@srv001 # ls -l
total 32
prw------- 1 lp lp 0 Jun 2 07:11 CLD_FIFO
prw------- 1 lp lp 0 Jun 2 07:11 FIFO
-rw-r----- 1 lp lp 0 Jun 2 07:11 SCHEDLOCK
lrwxrwxrwx 1 root sys 14 Jun 1 13:49 Tclass -> /etc/lp/Tclass
lrwxrwxrwx 1 root sys 15 Jun 1 13:49 Tmember -> /etc/lp/Tmember
lrwxr-xr-x 1 root sys 18 Jun 1 13:49 cinterface -> /etc/lp/cinterface
lrwxr-xr-x 1 root sys 13 Jun 1 13:49 class -> /etc/lp/class
lr-xr-xr-x 1 root sys 18 Jun 1 13:49 cmodel -> /usr/lib/lp/cmodel
-rw-r--r-- 1 lp lp 5 Jun 2 07:00 default
lr-xr-xr-x 1 root sys 17 Jun 1 13:49 fonts -> /usr/lib/lp/fonts
lrwxr-xr-x 1 root sys 12 Jun 1 13:49 info -> /etc/lp/info
lr-xr-xr-x 1 root sys 17 Jun 1 13:49 interface -> /etc/lp/interface
lrw-r--r-- 1 root sys 15 Jun 1 13:49 log -> /var/adm/lp/log
lr-xr-xr-x 1 root sys 21 Jun 1 13:49 lpana.log -> /var/adm/lp/lpana.log
lrw-r--r-- 1 root sys 19 Jun 1 13:49 lpd.log -> /var/adm/lp/lpd.log
lrwxr-xr-x 1 root sys 14 Jun 1 13:49 member -> /etc/lp/member
lr-xr-xr-x 1 root sys 17 Jun 1 13:49 model -> /usr/lib/lp/model
-rw-r--r-- 1 lp lp 0 Jun 2 06:59 outputq
-rw-r--r-- 1 lp lp 0 Jun 2 07:04 pstatus
-rw-r--r-- 1 lp lp 0 Jun 2 07:04 qstatus
drwxr-xr-x 2 lp bin 96 Oct 29 2003 receive
drwxr-xr-x 3 lp bin 8192 Jun 2 07:00 request
lrwxr-xr-x 1 root sys 18 Jun 1 13:49 sinterface -> /etc/lp/sinterface
lr-xr-xr-x 1 root sys 18 Jun 1 13:49 smodel -> /usr/lib/lp/smodel
[ /var/spool/lp ]
root@srv001 # ls -ld /var/spool/lp /etc/lp
drwxr-xr-x 8 lp bin 8192 Jun 2 07:11 /etc/lp
drwxr-xr-x 4 lp bin 8192 Jun 2 07:11 /var/spool/lp
[ /var/spool/lp ]
root@srv001 # rm *FIFO *LOCK
[ /var/spool/lp ]
root@srv001 # /usr/sam/lbin/lpmgr > /var/tmp/myfile
[ /var/spool/lp ]
root@srv001 # more /var/tmp/myfile
STOPPED
off
NULL
local name:type:enabled:accepting:location:fence:class
NULL:local:--:--:/dev/null: : :
[ /var/spool/lp ]
root@srv001 # ls
Tclass class fonts log member pstatus request
Tmember cmodel info lpana.log model qstatus sinterface
cinterface default interface lpd.log outputq receive smodel
[ /var/spool/lp ]
root@srv001 # lpsched -v
scheduler is running
[ /var/spool/lp ]
root@srv001 # lpstat -r
scheduler is not running
[ /var/spool/lp ]
root@srv001 # ls
CLD_FIFO Tclass class fonts log member pstatus request
FIFO Tmember cmodel info lpana.log model qstatus sinterface
SCHEDLOCK cinterface default interface lpd.log outputq receive smodel
[ /var/spool/lp ]
root@srv001 # ls -l
total 32
prw------- 1 lp lp 0 Jun 2 11:13 CLD_FIFO
prw------- 1 lp lp 0 Jun 2 11:13 FIFO
-rw-r----- 1 lp lp 0 Jun 2 11:13 SCHEDLOCK
lrwxrwxrwx 1 root sys 14 Jun 1 13:49 Tclass -> /etc/lp/Tclass
lrwxrwxrwx 1 root sys 15 Jun 1 13:49 Tmember -> /etc/lp/Tmember
lrwxr-xr-x 1 root sys 18 Jun 1 13:49 cinterface -> /etc/lp/cinterface
lrwxr-xr-x 1 root sys 13 Jun 1 13:49 class -> /etc/lp/class
lr-xr-xr-x 1 root sys 18 Jun 1 13:49 cmodel -> /usr/lib/lp/cmodel
-rw-r--r-- 1 lp lp 5 Jun 2 07:00 default
lr-xr-xr-x 1 root sys 17 Jun 1 13:49 fonts -> /usr/lib/lp/fonts
lrwxr-xr-x 1 root sys 12 Jun 1 13:49 info -> /etc/lp/info
lr-xr-xr-x 1 root sys 17 Jun 1 13:49 interface -> /etc/lp/interface
lrw-r--r-- 1 root sys 15 Jun 1 13:49 log -> /var/adm/lp/log
lr-xr-xr-x 1 root sys 21 Jun 1 13:49 lpana.log -> /var/adm/lp/lpana.log
lrw-r--r-- 1 root sys 19 Jun 1 13:49 lpd.log -> /var/adm/lp/lpd.log
lrwxr-xr-x 1 root sys 14 Jun 1 13:49 member -> /etc/lp/member
lr-xr-xr-x 1 root sys 17 Jun 1 13:49 model -> /usr/lib/lp/model
-rw-r--r-- 1 lp lp 0 Jun 2 06:59 outputq
-rw-r--r-- 1 lp lp 0 Jun 2 07:04 pstatus
-rw-r--r-- 1 lp lp 0 Jun 2 07:04 qstatus
drwxr-xr-x 2 lp bin 96 Oct 29 2003 receive
drwxr-xr-x 3 lp bin 8192 Jun 2 07:00 request
lrwxr-xr-x 1 root sys 18 Jun 1 13:49 sinterface -> /etc/lp/sinterface
lr-xr-xr-x 1 root sys 18 Jun 1 13:49 smodel -> /usr/lib/lp/smodel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2006 08:18 AM
тАО06-02-2006 08:18 AM
Re: LP Spooler (lpsched) not starting on a Cloned Server - despite SCHEDLOCK, *FIFO gyrations
Patched up?
PHCO_34477 for 11.23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2006 08:21 AM
тАО06-02-2006 08:21 AM
Re: LP Spooler (lpsched) not starting on a Cloned Server - despite SCHEDLOCK, *FIFO gyrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2006 01:44 PM
тАО06-02-2006 01:44 PM
Re: LP Spooler (lpsched) not starting on a Cloned Server - despite SCHEDLOCK, *FIFO gyrations
/usr/sbin/lpsched -r-sr-xr-x root:bin
/var/spool/lp drwxr-xr-x lp:bin
Also, is there a tmplock file in /var/spool/lp?
And what about /var/adm/lp?
Should be
-rw-r--r-- 1 lp lp
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2006 04:27 AM
тАО08-08-2006 04:27 AM
Re: LP Spooler (lpsched) not starting on a Cloned Server - despite SCHEDLOCK, *FIFO gyrations
I have a similar problem. Have you had this problem fixed? If yes, could you tell me how? Thanks,