- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lpstat: can't open printer status file
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
07-16-2001 08:01 PM
07-16-2001 08:01 PM
Printer is not printing, actually was configured as remote printer (print server), Previously its was printing well, Error I am facing now is
lpstat -t
scheduler is not running
no system default destination
lpstat: can't open printer status file
I tried to restart the printer service also still the same error,
Could any one help me to solve this issue.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2001 08:23 PM
07-16-2001 08:23 PM
Re: lpstat: can't open printer status file
Try the following commands
# /sbin/rc2.d/S720lp stop
# /sbin/rc2.d/S720lp start
This should fix it.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2001 08:41 PM
07-16-2001 08:41 PM
Re: lpstat: can't open printer status file
lpshut
ps -ef | grep lpsched
kill all existing lpsched
lpsched -v
lpstat -t
----------
if problem still persist check /etc/lp ,
/var/spool/lp if something wrong , may be need to restore these directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2001 09:06 PM
07-16-2001 09:06 PM
Re: lpstat: can't open printer status file
Hi
Do these following
#cd /var/spool/lp
#rm SCHEDLOCK
#lpshut
#ps -ef |grep lp
If it showing that lpsched is running, Kill that manually.
#lpsched
#lpstst -t
I hope now ur problem will get solved. If still problem please go through these directories
/var/spool/lp/*
/var/adm/lp/*
/etc/lp/*
/usr/lib/lp/*
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 03:08 AM
07-17-2001 03:08 AM
SolutionYou may be getting this error because of the file permissions on almost all the files under /var/spool/lp.
Best way to approach this problem is by suing SAM to save and restore the printer configuration.This will set the file permissions under var/spool/lp to lp:bin
Hope this of some help.
Regards,
S.Sudhakaran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 03:11 AM
07-17-2001 03:11 AM
Re: lpstat: can't open printer status file
It is possible that the lp directory/files permission/ownership is wrong.
Ensure that you have them as the following:
# ll -d /var/spool/lp (755 lp:bin)
Check pstatus & qstatus (644 lp:lp)
# ll /etc/lp/member (755 lp:bin)
# ll -d /usr/bin/lp (4555 root:bin)