- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lpstat: printer "lthvac01" non-existent
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
Discussions
Discussions
Discussions
Forums
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
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-25-2005 08:28 AM
тАО07-25-2005 08:28 AM
lpstat: printer "lthvac01" non-existent
$ sudo /usr/sbin/lpshut; sudo /usr/sbin/lpadmin -plthvac01 -ormopus.thcvnet.hercfilm -orplthvac01 -mrmodel -v/dev/null -orc -ocmrcmodel тАУosmrsmodel; sudo /usr/sbin/lpsched
$ sudo accept lthvac01
$ sudo enable lthvac01
However when attempting to stat the printer queue I get the following message for everyone but root:
$ lpstat -plthvac01
lpstat: printer "lthvac01" non-existent
I get the proper reply as root. Permissions and ownership are:
-rwxr-xr-x 1 lp lp 5256 Jul 25 14:04 /var/spool/lp/interface/lthvac01
It appears that everybody can send a job to the printer, but only root can check the job status.
When I check to see what all print jobs are queued I get another problem message:
$lpstat -o
lpstat: can't open outputq file
Any ideas?
Stuart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2005 08:36 AM
тАО07-25-2005 08:36 AM
Re: lpstat: printer "lthvac01" non-existent
If not try touching it and check.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2005 09:20 AM
тАО07-25-2005 09:20 AM
Re: lpstat: printer "lthvac01" non-existent
You are using sudo to become root to do these checks. What are perms on the outputq dir? Do the users have the necessary group memberships to do these commands?
You do mention that this is a remote printer going to a WIN system? Any other remotes from the same HPUX to the same WIN system? Any problems? How is/are the printer(s) setup on the WIN system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2005 01:48 PM
тАО07-25-2005 01:48 PM
Re: lpstat: printer "lthvac01" non-existent
check the existence of
/usr/spool/lp/member/printer_name -- a file
/usr/spool/lp/interface/printer_name -- a file
/usr/spool/lp/request/printer_name -- a directory
if these files are not created try touching those...and create empty files and directory
regds
Vinod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2005 06:47 AM
тАО07-26-2005 06:47 AM
Re: lpstat: printer "lthvac01" non-existent
The file outputq was owned by lp:lp, but it didn't work, so I changed it to lp:sys (to match another system that is working) but that didn't work either.
Rick,
drwxr-xr-x 4 lp bin 8192 Jul 25 14:14 lp
then under lp:
-rw-r--r-- 1 lp sys 7636 Jul 25 15:23 outputq
-rw-r--r-- 1 lp lp 177660 Jul 25 15:23 pstatus
-rw-r--r-- 1 lp lp 44180 Jul 25 14:04 qstatus
drwxr-xr-x 2 lp bin 96 Mar 13 2003 receive
drwxr-xr-x 237 lp bin 8192 Jul 25 14:04 request
-rw-r--r-- 1 lp lp 5 Jul 25 15:23 seqfile
Sudo is running as root.
Vindo,
$ ll /usr/spool/lp/member/lthvac01
-rw-r--r-- 1 lp lp 10 Jul 25 14:04 /usr/spool/lp/member/lthvac01
$ ll /usr/spool/lp/interface/lthvac01
-rwxr-xr-x 1 lp lp 5256 Jul 25 14:04 /usr/spool/lp/interface/lthvac01
$ ll -d /usr/spool/lp/request/lthvac01
drwxr-xr-x 2 lp lp 8192 Jul 25 15:23 /usr/spool/lp/request/lthvac01
That should answer everybodies questions.