- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with printing on HP-UX 11.11
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
12-01-2005 03:28 AM
12-01-2005 03:28 AM
Problem with printing on HP-UX 11.11
What I am looking for is help in making my printers available.
From the command lpsched -v below is the log file:
lpsched: can't open request directory request/LP/
FIFO: Destinations --
FIFO: LP: p not enabled not busy /dev/null
FIFO: directlp: p not enabled not busy /dev/tty0p2
FIFO: directlp3: p not enabled not busy /dev/tty0p3
FIFO: laser: p not enabled not busy /var/spool/lp/pr_serv/laser_config
FIFO: laser02: p not enabled not busy /dev/null
FIFO: laser03: p not enabled not busy /dev/null
FIFO: laser04: p not enabled not busy /dev/null
FIFO: laser05: p not enabled not busy /dev/null
FIFO: laser06: p not enabled not busy /dev/null
FIFO: laser07: p not enabled not busy /dev/null
FIFO: laser08: p not enabled not busy /dev/null
FIFO: laser09: p not enabled not busy /dev/null
FIFO: laser10: p not enabled not busy /dev/null
FIFO: laser11: p not enabled not busy /dev/null
FIFO: laser12: p not enabled not busy /dev/null
FIFO: laser13: p not enabled not busy /dev/null
FIFO: laser14: p not enabled not busy /dev/null
FIFO: laser15: p not enabled not busy /dev/null
FIFO: laser16: p not enabled not busy /dev/null
FIFO: laser17: p not enabled not busy /dev/null
FIFO: laser18: p not enabled not busy /dev/null
FIFO: laser19: p not enabled not busy /dev/null
FIFO: laser20: p not enabled not busy /dev/null
FIFO: laser21: p not enabled not busy /dev/null
FIFO: laser22: p not enabled not busy /dev/null
FIFO: laser23: p not enabled not busy /dev/null
FIFO: laser24: p not enabled not busy /dev/null
FIFO: laser25: p not enabled not busy /dev/null
FIFO: laser26: p not enabled not busy /dev/null
FIFO: laser27: p not enabled not busy /dev/null
FIFO: laser30: p not enabled not busy /dev/null
FIFO: laser31: p not enabled not busy /dev/null
FIFO: laser32: p not enabled not busy /dev/null
FIFO: laser33: p not enabled not busy /dev/null
FIFO: laser34: p not enabled not busy /dev/null
FIFO: laser35: p not enabled not busy /dev/null
FIFO: laser36: p not enabled not busy /dev/null
FIFO: laser37: p not enabled not busy /dev/null
FIFO: laser39: p not enabled not busy /dev/null
FIFO: laser41: p not enabled not busy /dev/null
FIFO: laser47: p not enabled not busy /dev/null
FIFO: laser52: p not enabled not busy /dev/null
FIFO: laser55: p not enabled not busy /dev/null
FIFO: laser57: p not enabled not busy /dev/null
FIFO: laser59: p not enabled not busy /dev/null
FIFO: laser62: p not enabled not busy /dev/null
FIFO: laser63: p not enabled not busy /dev/null
FIFO: laser64: p not enabled not busy /dev/null
FIFO: laser65: p not enabled not busy /dev/null
FIFO: laser66: p not enabled not busy /dev/null
FIFO: laser67: p not enabled not busy /dev/null
FIFO: laser70: p not enabled not busy /dev/null
FIFO: laser72: p not enabled not busy /dev/null
FIFO: laser73: p not enabled not busy /dev/null
FIFO: laser74: p not enabled not busy /dev/null
FIFO: lp814: p not enabled not busy /dev/telnet/dtc33b01p14
FIFO: paralp: p not enabled not busy /dev/lp1
FIFO: templp: p not enabled not busy /dev/null
FIFO: Printers --
FIFO: LP pid and id unknown
FIFO: directlp pid and id unknown
FIFO: directlp3 pid and id unknown
FIFO: laser pid and id unknown
FIFO: laser02 pid and id unknown
FIFO: laser03 pid and id unknown
FIFO: laser04 pid and id unknown
FIFO: laser05 pid and id unknown
FIFO: laser06 pid and id unknown
FIFO: laser07 pid and id unknown
FIFO: laser08 pid and id unknown
FIFO: laser09 pid and id unknown
FIFO: laser10 pid and id unknown
FIFO: laser11 pid and id unknown
FIFO: laser12 pid and id unknown
FIFO: laser13 pid and id unknown
FIFO: laser14 pid and id unknown
FIFO: laser15 pid and id unknown
FIFO: laser16 pid and id unknown
FIFO: laser17 pid and id unknown
FIFO: laser18 pid and id unknown
FIFO: laser19 pid and id unknown
FIFO: laser20 pid and id unknown
FIFO: laser21 pid and id unknown
FIFO: laser22 pid and id unknown
FIFO: laser23 pid and id unknown
FIFO: laser24 pid and id unknown
FIFO: laser25 pid and id unknown
FIFO: laser26 pid and id unknown
FIFO: laser27 pid and id unknown
FIFO: laser30 pid and id unknown
FIFO: laser31 pid and id unknown
FIFO: laser32 pid and id unknown
FIFO: laser33 pid and id unknown
FIFO: laser34 pid and id unknown
FIFO: laser35 pid and id unknown
FIFO: laser36 pid and id unknown
FIFO: laser37 pid and id unknown
FIFO: laser39 pid and id unknown
FIFO: laser41 pid and id unknown
FIFO: laser47 pid and id unknown
FIFO: laser52 pid and id unknown
FIFO: laser55 pid and id unknown
FIFO: laser57 pid and id unknown
FIFO: laser59 pid and id unknown
FIFO: laser62 pid and id unknown
FIFO: laser63 pid and id unknown
FIFO: laser64 pid and id unknown
FIFO: laser65 pid and id unknown
FIFO: laser66 pid and id unknown
FIFO: laser67 pid and id unknown
FIFO: laser70 pid and id unknown
FIFO: laser72 pid and id unknown
FIFO: laser73 pid and id unknown
FIFO: laser74 pid and id unknown
FIFO: lp814 pid and id unknown
FIFO: paralp pid and id unknown
FIFO: templp pid and id unknown
FIFO: Classes --
***** STOPPED Dec 1 08:13 *****
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 03:53 AM
12-01-2005 03:53 AM
Re: Problem with printing on HP-UX 11.11
alias hpnpf=/opt/hpnpl/bin/hpnpf
hpnpf -x laser02 -s /tmp/hpnp.log -N /etc/hosts
Here is the log from this:
Dec 1 08:51:27%%[ status: Job: ; User: ]%%
Dec 1 08:51:27%%[ status: making connection to laser02; source: ethernet ]%%
Dec 1 08:51:27%%[ status: connected to laser02; source: ethernet ]%%
Dec 1 08:51:27%%[ status: transmitting data ]%%
Dec 1 08:51:27%%[ status: finish sending print data ]%%
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 04:28 AM
12-01-2005 04:28 AM
Re: Problem with printing on HP-UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 04:49 AM
12-01-2005 04:49 AM
Re: Problem with printing on HP-UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 04:59 AM
12-01-2005 04:59 AM
Re: Problem with printing on HP-UX 11.11
The permissions on the directories are:
/etc/lp lp:bin 755
/var/adm/lp lp:lp 644
/var/spool/lp lp:lp 644.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 05:07 AM
12-01-2005 05:07 AM
Re: Problem with printing on HP-UX 11.11
lpshut
cd /var/spool/lp
ls *LOCK* *FIFO*
If any files are listed, remove them.
ps -ef | grep lpsched
If you see any lpsched's running, kill them.
ps -ef | grep hpnpf
If you see any hpnpf's running kill them.
lpsched
That will solve the majority of lpsched problems --- iff the modes and ownerships are correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 05:13 AM
12-01-2005 05:13 AM
Re: Problem with printing on HP-UX 11.11
lpshut
scheduler not running
ls *LOCK* *FIFO*
not found
ps -ef|grep lpsched
non running
ps -ef|grep hpnpf
non running
lpsched
scheduler is running
lpstst -r
scheduler is not runnig
Can you tell me what the permissions should be set to?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 06:00 AM
12-01-2005 06:00 AM
Re: Problem with printing on HP-UX 11.11
printer has disappeared!
What is missing? What files have I not recovered?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 06:08 AM
12-01-2005 06:08 AM
Re: Problem with printing on HP-UX 11.11
lp -dlaser02 -odegubm/tmp/debug.log /etc/hosts
This had the following results:
lp: destination "laser02" non-existent
rm: cannot stat request//*0000*: Permission denied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 06:12 AM
12-01-2005 06:12 AM
Re: Problem with printing on HP-UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 06:13 AM
12-01-2005 06:13 AM
Re: Problem with printing on HP-UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 06:23 AM
12-01-2005 06:23 AM
Re: Problem with printing on HP-UX 11.11
lpsched -v
scheduler is running
lpstat -r
scheduler is not running
I checked the log file to see if error had changed but they were the same as above just with a new timestamp.
Should I try to recover the three binary files? Can they be recreated?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 06:37 AM
12-01-2005 06:37 AM
Re: Problem with printing on HP-UX 11.11
lpshut
cd /var/spool/lp
cp -p outputq outputq.sav
> outputq # will create a null file
lpsched
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 06:48 AM
12-01-2005 06:48 AM
Re: Problem with printing on HP-UX 11.11
lpshut
scheduler not running
cd /var/spool/lp
cp -p outputq outputq.sav > outputq
created the new file
lpsched -v
scheduler running
lpstat -r
scheduler not running
I am recovering the files from tape a second time to see if this can make a difference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 07:28 AM
12-01-2005 07:28 AM
Re: Problem with printing on HP-UX 11.11
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&admit=-682735245+1133465557442+28353475&docId=200000080075820
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 09:01 AM
12-01-2005 09:01 AM
Re: Problem with printing on HP-UX 11.11
Check the request directory in
/var/spool/lp
It should have owner as "lp" and group as "bin" with permissions 755.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 10:02 AM
12-01-2005 10:02 AM
Re: Problem with printing on HP-UX 11.11
I have seen this document. I found it from a previous post. It is good but does not work.
Sameer,
Checked the /var/spool/lp. It was set to 655. Changed it and still does not work.
The odd thing, after I frecovered the files from the backup before the disc failed (all printing worked at that point), it was 655.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 10:05 AM
12-01-2005 10:05 AM
Re: Problem with printing on HP-UX 11.11
lpadmin -pchecks -elaser62 -v/etc/lp/interface/laser62
mkdir: cannot access request: Permission denied
lpadmin: can't create new request directory
I still have a permissions issue. Can someone give me some help as to where to look?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 10:20 AM
12-01-2005 10:20 AM
Re: Problem with printing on HP-UX 11.11
You may have a setuid bit problem.
[prissy]/home/cstephen: ls -l /usr/sbin/lp*
-r-sr-xr-x 1 root bin 45056 Apr 26 2004 /usr/sbin/lpadmin
-r-xr-xr-x 1 bin bin 16384 Apr 26 2004 /usr/sbin/lpana
-r-sr-xr-x 1 lp bin 20480 Apr 26 2004 /usr/sbin/lpfence
-r-sr-xr-x 1 lp bin 28672 Apr 26 2004 /usr/sbin/lpmove
-r-sr-xr-x 1 root bin 53248 Apr 26 2004 /usr/sbin/lpsched
-r-sr-xr-x 1 lp bin 16384 Apr 26 2004 /usr/sbin/lpshut
[pris
ls -l /usr/sbin/lp*
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 10:34 AM
12-01-2005 10:34 AM
Re: Problem with printing on HP-UX 11.11
The problem is with "request" directory only. As I said in my last, /var/spool/lp/request should have attributes as lp:bin and 755.
You are trying to add a printer with lpadmin command, lpadmin is trying to create a new directory under /var/spool/lp/request directory for the new printer for putting its print requests. It is failing because /var/spool/lp/request directory is either not present or has permission problem . Check it .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2005 04:47 PM
12-01-2005 04:47 PM
Re: Problem with printing on HP-UX 11.11
I was able recreate all the printers. This was my last resort but I needed to get reports out.
Thanks Clay and Sameer for you help.