GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mail from lp@<domain> - Error code 2 in reques...
Operating System - HP-UX
1855395
Members
3007
Online
104110
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
08-08-2001 12:54 PM
08-08-2001 12:54 PM
I continuously receive E-mail from lp@ with the following body:
error code 2 in request- on printer
The printer/queue is a JetDirect device/queue. The Server/Clients are running HP-UX 11.00.
Any advice would be greatly appreciated.
Thanks,
--Jim
error code 2 in request
The printer/queue is a JetDirect device/queue. The Server/Clients are running HP-UX 11.00.
Any advice would be greatly appreciated.
Thanks,
--Jim
"Try not! Do or do not. There is no try." - Yoda
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2001 07:04 PM
08-08-2001 07:04 PM
Solution
Error code 2 is the exit code of some command or process in the lp printer scripts. Unfortunately, there is no possible way to determine just which command failed. lp (well, lpsched) simply executes the script and if a non-zero exit code is seen, email is sent and also logged in lp logs.
Start by checking the printer: is it out of paper? have a paper jam? some other error message? If all is well, use hpnpadmin -v to see if it can communicate with the printer. If true, use removequeue and then addqueue to remvoe and re-add the printer. If hpnpadmin fails, check the reasons (IP address or subnet mask in the printer).
Bill Hassell, sysadmin
Start by checking the printer: is it out of paper? have a paper jam? some other error message? If all is well, use hpnpadmin -v to see if it can communicate with the printer. If true, use removequeue and then addqueue to remvoe and re-add the printer. If hpnpadmin fails, check the reasons (IP address or subnet mask in the printer).
Bill Hassell, sysadmin
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 2026 Hewlett Packard Enterprise Development LP