Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
doc
2.) TROUBLESHOOTING:
a. All printers will not print
i. Is the scheduler running? (lpstat -r)
ii. If it is not running, start it -> lpsched
iii. If scheduler is running, stop it (lpshut) then restart it.
NOTE: When stopping or starting the schedule,r always run lpstat -r to verify that it is really stopped
or started.
If scheduler will not stop, run ps -ef|grep lp, kill all lpsched processes, and remove SCHEDLOCK
and FIFO from /var/spool/lp directory.
If scheduler will not start, run lpsched -v and check /var/spool/lp/log. If nothing is in the log, check
permissions of the log. /var/spool/lp/log should be a link to /var/adm/lp/log and the permissions
should be 644 lp:lp and make sure the log is a file not a directory. Run /usr/sam/lbin/lpmgr and
make sure that there is a space between the last two colons of each printer's entry and no corrupt
characters.
NOTE: This is a check of the pstatus and qstatus files. If there is corruption, remove the printer and
reinstall it.
To check the output queue (/var/spool/lp/outputq), cp outputq outputq.old then stop the scheduler.
(lpshut) Clear the outputq file (cat /dev/null > outputq), start the scheduler (lpsched), and see if the
printers will work.
NOTE: If this fixes the problem and there are print jobs in the outputq that need to be printed, do the
following:
a.) cd /var/spool/lp
b.) cp -R request request.old
c.) cd request (run pwd to verify -> /var/spool/lp/request)
d.) rm */*
e.) cd ../request.old
f.) lp -dprintername printername/d*
Make sure the saved configuration is the same as the original spooler configuration or go to actions
and choose Save Spooler Configuration then choose Restore Spooler Configuration.
If all else fails, remove all printers and recreate them or restore from a backup. Files to restore:
/etc/lp
/var/adm/lp
/var/spool/lp.
1. Run lpstat -t Is printer enabled and accepting? (enable printername, accept printername)
Serial -> nohup sleep 999999 < ixon cs8 -parenb onlcr 9600 stty &>/device_file
- If the printer prints using cat, then try canceling the oldest print
- Try canceling all jobs to this printer (cancel -e printername)
- Remove and re-add printer (use SAM)
- If it is still not working, do the procedure above "To check the output queue ".
REMOTE
NETWORK
Ping and telnet to the hostname or IP address. If either fails, then it is a networking
problem. If this works then contact HP customer support for Jetadmin and HP
Installer support.