Clean up spooler

domingo, 8 de janeiro de 2012

Bring the scheduler down (even if it does not seem to be running)

# lpshut

If lpshut is working correctly, the files /var/spool/lp/FIFO and /var/spool/lp/SCHEDLOCK . If these files still exist, remove them.

# rm /var/spool/lp/FIFO
# rm /var/spool/lp/SCHEDLOCK


Clear the outputq file.

# > outputq

Kill any lpsched processes that may be reported by: ps -ef | grep lpsched
Restart the scheduler.

# lpsched

Verify that it is running:

# ps -ef | grep lpsched