HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- execlp failed
Operating System - HP-UX
1834022
Members
2283
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
10-18-2002 12:16 PM
10-18-2002 12:16 PM
execlp failed
The last line of my "lpstat -t" output says: "lpstat: execlp failed". What could be wrong? How do I fix it?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2002 12:25 PM
10-18-2002 12:25 PM
Re: execlp failed
Without a bit more data, it's difficult to know. An exec (execlp is but one of the variants) can fail for many reasons including permissions, lack of swap space or memory limits, among others.
What you need to do is as soon as the command fails, issue an "echo $?" command. That will display the exit status of the last command.
You the compare that numerical value with those lists in /usr/include/sys/errno.h for more clues.
This should actually become a conditioned response for you when an UNIX command fails.
What you need to do is as soon as the command fails, issue an "echo $?" command. That will display the exit status of the last command.
You the compare that numerical value with those lists in /usr/include/sys/errno.h for more clues.
This should actually become a conditioned response for you when an UNIX command fails.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2002 12:31 PM
10-18-2002 12:31 PM
Re: execlp failed
It's very likely your printer status file is corrupted. The file is /usr/spool/lp/pstatus. You said "last line" .. from your lpstat -t output find out what is the 1st printer name that you see (from the bottom) after the "execlp.." line error. Try to remove that printer and configure it back to see if it helps. You can use SAM for this. If that failed you have 2 other choices ..
- Restore the pstatus file from backup.
- Use SAM to save all of your printer configuration, then remove all of the printers and finally restore the spooler configuration back.
- Restore the pstatus file from backup.
- Use SAM to save all of your printer configuration, then remove all of the printers and finally restore the spooler configuration back.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP