- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- USER's can't print, root can
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
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
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
тАО08-20-2004 09:21 AM
тАО08-20-2004 09:21 AM
Here's what fails:
hostname:user:/home/user: lp -dlanier /etc/hosts
request id is lanier-66 (1 file)
hostname:user:/home/user: lpstat -o
lanier-65 lrprod priority 0 Aug 20 17:10
hosts 2715 bytes
The file just sits in the queue but clears right out when I send it as root.
I've sent the file w/ the -c flag w/o success and restarted lpsched.
Here's my os:
HP-UX hostname B.11.11 U 9000/800
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2004 09:31 AM
тАО08-20-2004 09:31 AM
SolutionHere's how they look on an 11.11 system I have.
-r-sr-xr-x 1 root bin 40960 Nov 14 2000 /usr/bin/lp
-r-sr-xr-x 1 root bin 36864 Nov 14 2000 /usr/bin/lpalt
-r-xr-xr-x 1 bin bin 614 Nov 14 2000 /usr/bin/lpr
-r-sr-xr-x 1 lp bin 45056 Nov 14 2000 /usr/bin/lpstat
-r-sr-xr-x 1 root bin 40960 Nov 14 2000 /usr/sbin/lpadmin
-r-xr-xr-x 1 bin bin 16384 Nov 14 2000 /usr/sbin/lpana
-r-sr-xr-x 1 lp bin 20480 Nov 14 2000 /usr/sbin/lpfence
-r-sr-xr-x 1 lp bin 28672 Nov 14 2000 /usr/sbin/lpmove
-r-sr-xr-x 1 root bin 53248 Nov 14 2000 /usr/sbin/lpsched
-r-sr-xr-x 1 lp bin 16384 Nov 14 2000 /usr/sbin/lpshut
Can also try using -v option on lpsched... see if anything useful shows up in /var/adm/lp/log.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2004 10:03 AM
тАО08-20-2004 10:03 AM
Re: USER's can't print, root can
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2004 04:40 AM
тАО08-23-2004 04:40 AM
Re: USER's can't print, root can
Root was sending the following commands:
FIFO: Aug 23 12:28 r lanier0132 45 lrprod edcprv01 0
lanier0132-45 lrprod lanier0132 Aug 23 12:28
Start: lanier0132-45 Mon Aug 23 12:28:04 EDT 2004
End: lanier0132-45 Mon Aug 23 12:28:04 EDT 2004
Non PJL printer, turn off TEOJ
/etc/lp/interface/model.orig/lanier0132
/opt/hpnpl/bin/hpnpf -j lanier0132-45+lrprod -x lanier0132
CHILD: Aug 23 12:28 lanier0132 45 0000
FIFO: Aug 23 12:28 m lanier0132 6700
I deleted the printer, added it again and it worked fine. Still don't know the root cause.
I had to add all 25 printers to this system to allow the users to print to them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2004 04:43 AM
тАО08-23-2004 04:43 AM
Re: USER's can't print, root can
The permissions checked out on both systems. After running lpsched in verbose mode, I saw that the user jobs weren't submitting the print requests to the log.
Root was sending the following commands:
FIFO: Aug 23 12:28 r lanier0132 45 lrprod edcprv01 0
lanier0132-45 lrprod lanier0132 Aug 23 12:28
Start: lanier0132-45 Mon Aug 23 12:28:04 EDT 2004
End: lanier0132-45 Mon Aug 23 12:28:04 EDT 2004
Non PJL printer, turn off TEOJ
/etc/lp/interface/model.orig/lanier0132
/opt/hpnpl/bin/hpnpf -j lanier0132-45+lrprod -x lanier0132
CHILD: Aug 23 12:28 lanier0132 45 0000
FIFO: Aug 23 12:28 m lanier0132 6700
I deleted the printer, added it again and it worked fine. Still don't know the root cause.
I had to add all 25 printers to this system to allow the users to print to them.