- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: LPSTAT commands not working
Operating System - HP-UX
1755672
Members
3308
Online
108837
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО02-28-2008 10:48 AM
тАО02-28-2008 10:48 AM
LPSTAT commands not working
Hi, I am working on an HP UX 10.20 server, and am having problems with lpstat commands. Lpstat -o will not work, and I'm afraid it has something to do with the scheduler, as we seem to have had this issue before.
Users are not getting their prints.
I have killed all lp processes and removed the FIFO and SCHEDLOCK files from /var/spool/lp file.
Stopped/started scheduler with lpshut/ /usr/sbin/lpsched; lpstat -r shows scheduler is running but still not output from lpstat -o, and prints are not dequeuing.
rm -r FIFO
rm -r SCHEDLOCK
ps -ef |grep lp |grep -v grep
lpshut
not running
/usr/sbin/lpsched
ing
ps -ef |grep lp |grep -v grep
1 169 12:45:32 ? 0:04 /usr/sbin/lpsched
lpstat -oS1156035
тЩе
lpstat -r
scheduler is running
Users are not getting their prints.
I have killed all lp processes and removed the FIFO and SCHEDLOCK files from /var/spool/lp file.
Stopped/started scheduler with lpshut/ /usr/sbin/lpsched; lpstat -r shows scheduler is running but still not output from lpstat -o, and prints are not dequeuing.
rm -r FIFO
rm -r SCHEDLOCK
ps -ef |grep lp |grep -v grep
lpshut
not running
/usr/sbin/lpsched
ing
ps -ef |grep lp |grep -v grep
1 169 12:45:32 ? 0:04 /usr/sbin/lpsched
lpstat -oS1156035
тЩе
lpstat -r
scheduler is running
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2008 06:58 PM
тАО02-28-2008 06:58 PM
Re: LPSTAT commands not working
is that the only queue on the system?or you have multiple queues and all are effected?
could you post "lpstat -vqname" for the problematic queue?
could you post "lpstat -vqname" for the problematic queue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-29-2008 05:37 AM
тАО02-29-2008 05:37 AM
Re: LPSTAT commands not working
There are multiple queues and all are affected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-29-2008 10:57 AM
тАО02-29-2008 10:57 AM
Re: LPSTAT commands not working
Check and ensure that the directories /etc/lp and /var/spool/lp and all files and directories under them have "lp" as the user owner and "bin" as the group owner. Also the permissions should be 755 for directories and 755 for scripts and 644 for other files.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP