18.02.2014 Views

string

string

string

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

If you cannot log in to the system as root, despite knowing the proper password, it is<br />

possible that the /etc/passwd file is corrupted. Try to log in as a regular user and<br />

su(1M) to root.<br />

If that doesn’t work, see the message "su: No shell" and follow most of the<br />

instructions given there. Instead of changing the default shell, make the password<br />

field blank in /etc/shadow.<br />

lp hang<br />

Cause<br />

On a print server, the queue continues to grow but nothing comes out of the printer.<br />

The printer daemon is hung.<br />

Action<br />

Here is a simple procedure for flushing a hung printing queue: 1. Login or switch<br />

user to root; 2. Issue the reject(1M) printername command to make sure no one<br />

sends any job to the printer; 3. Turn off power to the printer; 4. If the active job<br />

appears to be causing the hang, remove it from the print queue with the cancel(1)<br />

jobnumber command, and ask the owner to requeue that print job; 5. Shut down the<br />

print queue with the /usr/lib/lpshut command; 6. Remove the lock file<br />

/var/spool/lp/SCHEDLOCK and the temporary files /var/spool/lp/tmp/*/*;<br />

7. Turn the printer back on; 8. Restart the print queue with the /usr/lib/lpsched<br />

command.<br />

See Also<br />

For more information on print queuing, see the System Administration Guide, Volume<br />

II. If you are using the AnswerBook, "print server" is a good search <strong>string</strong>.<br />

104 Solaris Common Messages and Troubleshooting Guide ♦ October, 1998

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!