- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Non-Functioning Network Printing
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
03-23-2004 10:33 AM
03-23-2004 10:33 AM
Non-Functioning Network Printing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 10:43 AM
03-23-2004 10:43 AM
Re: Non-Functioning Network Printing
1) lpshut
2) cd /var/spool/lp
3) ls SCHEDLOCK *FIFO; if any of these are present remove them.
4) ps -ef | grep lpsched
If any "stray" lpsched's are running, kill 'em dead using kill PID (kill -9 PID, if you must).
5) lpsched
You should be printing now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 10:44 AM
03-23-2004 10:44 AM
Re: Non-Functioning Network Printing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 10:54 AM
03-23-2004 10:54 AM
Re: Non-Functioning Network Printing
Do a ps -ef | grep hpnpf
just before the lpsched command. If there are any hung hpnpf's kill them. However, because the is affecting multliple printers, it still is more likely that you hava a hung lpsched.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 11:08 AM
03-23-2004 11:08 AM
Re: Non-Functioning Network Printing
ps -ef | grep lp => to be sure that it stopped.
lpsched -v => to be sure logging is enabled.
try another print job, then check /var/adm/lp/log for errors.
Since you said you can send test prints, and these are network printers, be sure you can ping the printer by both name and ip ( I believe that the test print may use ip...) Had a similar instance that was caused by limited read permissions on /etc/hosts file. chmod 444 fixed it.
good luck
fwc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 11:23 PM
03-23-2004 11:23 PM
Re: Non-Functioning Network Printing
Start: 89_1-62 Wed Mar 24 07:21:01 EST 2004
sed: Cannot find or open file /var/spool/lp/request/89_1/cA0062boss_hog.
grep: can't open /var/spool/lp/request/89_1/cA0062boss_hog
There is no such file in that directory. So now what?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2004 11:56 PM
03-23-2004 11:56 PM
Re: Non-Functioning Network Printing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 12:11 AM
03-24-2004 12:11 AM
Re: Non-Functioning Network Printing
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 12:14 AM
03-24-2004 12:14 AM
Re: Non-Functioning Network Printing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 12:30 AM
03-24-2004 12:30 AM
Re: Non-Functioning Network Printing
Someone typed the command:
chgrp 18
If there are lots of files with 18, or worse, lots of directories and subdirectories in the spooling system (/etc/lp /var/spool/lp and /usr/lib/lp) then some has used the dreaded -R command with chgrp (and possibly chown and/or chmod). You can use swverify to list all the mistakes:
swverify HPNPL.HPNPL-RUN PrinterMgmt.LP-SPOOL
This will take a while but the result is a list of problems with the installed software. The results are logged and you can read the log using swjob (the actual command line is listed in the swverify run). Once you fix the problems (except the permissions for /usr/local which should be 755 but swverify is instructed to look for 777...that's a bug in the PrinterMgmt package definitions).
I've seen the disappering print jobs in the past and they are almost always permission/ownership issues. Note that once you fix the problems, you may still have to delete the printer and re-add it (addqueue is a good tool to save time) to enable the printer. The JetAdmin program hpnpf is a great way to test the networking and bypass the spooler completely.
/opt/hpnpl/bin/hpnpf -x 12.34.56.78 -N /etc/profile
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 12:43 AM
03-24-2004 12:43 AM
Re: Non-Functioning Network Printing
I have a lot of errors regarding "mtime" is that something I can fix? For example,
"File "/usr/lib/milli.a" should have mtime "1013523584" but the
actual mtime is "1079924718".
"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 01:43 AM
03-24-2004 01:43 AM
Re: Non-Functioning Network Printing
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 02:09 AM
03-24-2004 02:09 AM
Re: Non-Functioning Network Printing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 02:22 AM
03-24-2004 02:22 AM
Re: Non-Functioning Network Printing
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 09:55 AM
03-24-2004 09:55 AM
Re: Non-Functioning Network Printing
chmod 555 /var
chmod 555 /var/spool
chmod 644 /var/spool/lp/default
chmod 755 /etc/lp/cinterface
chmod 755 /etc/lp/class
chmod 755 /etc/lp/info
chmod 755 /etc/lp/interface
chmod 755 /etc/lp/member
chmod 755 /etc/lp/sinterface
chmod 755 /var/spool/lp
chmod 755 /var/spool/lp/receive
chmod 755 /var/spool/lp/request
chgrp bin /var/spool
chgrp bin /var/spool/lp/pstatus
chgrp bin /var/spool/lp/qstatus
chgrp lp /etc/lp/cinterface
chgrp lp /etc/lp/interface
chgrp lp /etc/lp/member
chgrp lp /etc/lp/sinterface
chgrp lp /var/adm/lp/log
chgrp lp /var/spool/lp/default
chgrp lp /var/spool/lp/outputq
chgrp lp /var/spool/lp/request
chgrp lp /var/spool/lp/seqfile
chown bin /var/spool
chown lp /opt/hpnpl/tmp
Suddenly, I had network printing once again! I still have other problems, but at least this one is solved. Thanks to all who tried to help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2004 09:58 AM
03-24-2004 09:58 AM