- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP - UX 11.0 Print queue message -lpstat: exec...
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
тАО08-21-2002 12:05 PM
тАО08-21-2002 12:05 PM
Solved! Go to Solution.
- Tags:
- lpstat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2002 12:11 PM
тАО08-21-2002 12:11 PM
Re: HP - UX 11.0 Print queue message -lpstat: execlp failed
check whether your daemon is running?
# ps -aef | grep lp
For starting:
# lpsched
for stopping:
# lpshut
Normally this message comes when lpfence is being used:
# man lpfence
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2002 12:17 PM
тАО08-21-2002 12:17 PM
Re: HP - UX 11.0 Print queue message -lpstat: execlp failed
When you use lpadmin to add/remove printers it stops/start lp in the background.
Sounds to me like you haven't bounced lp.
Try stopping - lpshut
and starting - lpsched
the scheduler & see if the problem goes away.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2002 12:21 PM
тАО08-21-2002 12:21 PM
Re: HP - UX 11.0 Print queue message -lpstat: execlp failed
# lpshut
# lpsched
If that does not work you may need to restore your printer configuration either from your previous backup or use SAM, which depends on whether you have saved the printer config or not prior to this problem. To check that take a look in /var/sam/lp. If it exists and the timestamp on it is recent, you can proceed with using SAM. I think it's under ..
Printers&Plotters->LPSpooler->Save/Restore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2002 01:30 PM
тАО08-21-2002 01:30 PM
SolutionIf the scheduler isn't running, then you'll get this:
$ lpstat -t
scheduler is not running
system default destination:
no entries
The execlp error means that the scheduler isn't able to run something... Perhaps the necessary interface scripts.
Just for yucks, I moved aside /etc/lp/sinterface/Helpdesk and got this:
$ lpstat -oHelpdesk
lpstat: execlp failed
no entries
So it looks to me like you removed all the script files rather than using lpadmin -x.
Let me see if I can remove this printer now that all its stuff is gone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2002 10:10 AM
тАО08-23-2002 10:10 AM
Re: HP - UX 11.0 Print queue message -lpstat: execlp failed
# /usr/sam/lbin/lpmgr -S
# vi /var/sam/lp/lpinfo (delete bogus printers)
# /usr/sam/lbin/lpmgr -R
# lpstat -v (verify the list)
And if everything is okay, save the new config.
# /usr/sam/lbin/lpmgr -S
- Tags:
- lpmgr