Operating System - HP-UX
1855519 Members
10115 Online
104111 Solutions
New Discussion

Re: spooler/lpadmin problem HP_UX 11.23

 
Ian Foster_2
Frequent Advisor

spooler/lpadmin problem HP_UX 11.23

Has something changed with the spooler and/or lpadmin in 11.23 ? I'm having all kinds of problems: lpadmin -pmyprinter -i/etc/lp/interface/myprinterinterface -v/dev/null produces the error message 'can't create /etc/lp/interface/myprinterinterface' or if I remove it the error 'cant find /etc/lp/interface/myprinterinterface'. So I get a half-created printer which appears in lpstat as 'not enabled since xxxxx - new device'. Then if I try to remove it with lpadmin -xmyprintername it gives me 'no such device'- but it still appears in lpstat, and SAM. Trying to remove it in SAM generates the same lpadmin -x error. How come none of the syntaxes I have used quite happily in 11.11 (and prior versions) which appear to be correct looking at the man page seem to behave anymore ?
2 REPLIES 2
Bill Hassell
Honored Contributor

Re: spooler/lpadmin problem HP_UX 11.23

Sounds like the permissins and/or ownerships in the (several) spooler directories have been changed. Run

swverify PrntrMgmt

to see what is misconfigured.


Bill Hassell, sysadmin
Ian Foster_2
Frequent Advisor

Re: spooler/lpadmin problem HP_UX 11.23

Cheers Bill. I can't say for sure yet if that is the cause of the issues - but sure enough there are about 15 errors on the verification phase - most of which point to permissions issues. I'll review/fix them and then re-test.