Operating System - HP-UX
1825780 Members
1967 Online
109687 Solutions
New Discussion

Re: /usr/bin/lp: request ids exhausted for printer

 
Shibu George P
Occasional Advisor

/usr/bin/lp: request ids exhausted for printer

Does anyone have an idea on how to resolve the following error related to printer request id allocation?
/usr/bin/lp: request ids exhausted for printer:cabs_label1
The current workaround, I’ve resorted to is running the following command every 6hrs through cron.
cat /dev/null > /var/spool/lp/seqfile

6 REPLIES 6
Mel Burslan
Honored Contributor

Re: /usr/bin/lp: request ids exhausted for printer

What you are doing sounds like band-aid solution to a huge wound. Do you have any idea why the request id's getting depleted so often. Is the printer queue stuck with a lot of jobs pending it it ?
________________________________
UNIX because I majored in cryptology...
Mel Burslan
Honored Contributor

Re: /usr/bin/lp: request ids exhausted for printer

oops, too fast of a finger I have.. I also meant to say, did you check the permissions and ownership of the /var/spool/lp/seqfile ? it usually have owner and group both set to lp and permission is 644.
________________________________
UNIX because I majored in cryptology...
Shibu George P
Occasional Advisor

Re: /usr/bin/lp: request ids exhausted for printer

The current permission is
-rwxr-x--- 1 lp lp 4 Jun 22 16:37 /var/spool/lp/seqfile
Shibu George P
Occasional Advisor

Re: /usr/bin/lp: request ids exhausted for printer

I changed the permission to 754. Still the problem persists
Dennis Handly
Acclaimed Contributor

Re: /usr/bin/lp: request ids exhausted for printer

>The current permission is: -rwxr-x--- 1 lp lp seqfile

Data files shouldn't be executable. Use "chmod a-x seqfile".
Bill Hassell
Honored Contributor

Re: /usr/bin/lp: request ids exhausted for printer

Perhaps some has been playing around with permissions and ownerships. Run swverify:

swverify PrinterMgmt

Other than the man pages, correct the permission and ownership errors.


Bill Hassell, sysadmin