Operating System - HP-UX
1830225 Members
1577 Online
109999 Solutions
New Discussion

lpstat: can't open output queue file

 
Huda
Occasional Contributor

lpstat: can't open output queue file

hi experts,
i'm getting "lpstat: can't open output queue file" when i'm trying lpstat using another userid than root.
outputq file already has 644 permission.
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: lpstat: can't open output queue file

Shalom Huda,

What user owns the ouptuq file?

Is it the same as the other users.

Is there anything else in syslog? /var/adm/syslog/syslog.log

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sยภเl Kย๓คг
Respected Contributor

Re: lpstat: can't open output queue file

Hi,

Can you check /var/adm/lp/log and revert.

Regards,
Sunil
Your imagination is the preview of your life's coming attractions
tsf_1
Frequent Advisor

Re: lpstat: can't open output queue file

Yes, usually is either the permission or owner issue. If the permission is correct, check the owner; it should be similar to below. Change using chown when necessary.

# ll outputq
-rw-r--r-- 1 lp sys 996 Nov 7 11:41 outputq
be willing to do, be happy to bear
Huda
Occasional Contributor

Re: lpstat: can't open output queue file

there are no errors in /var/adm/lp/log, only records for some requests.
Huda
Occasional Contributor

Re: lpstat: can't open output queue file

The owner and group is also correct.