Lpsched problem

Keith Brown (brownk@chem4823.usask.ca)
Tue, 13 Jan 1998 16:18:53 -0600 (CST)

I can't get my lpsched program to run and, of course, it gives no
direct indication of why this is to me (X32 computer running UXNMR)

The background to this is that for the past few days the partition that
/usr is mounted on has been filling up to the point where plotting was not
possible. It was necessary to delete something. Today I began deleting
what I thought were unnecessary files. Emacs went as did the rather large
log file in /usr/spool/lp. There are others that went as well, including
pstatus in /usr/spool/lp. After rebooting there was plenty of space now
available but no printing/plotting capabilities! The (new) log file in
/usr/spool/lp now says:

lpsched: can't open printer status file
***** STOPPED Jan 13 14:49 *****

'lpstat -t' gives:

scheduler is not running
system default destination: hplj4l_a
device for hplj4l_hplj4: /dev/tty02
device for ps_A: /dev/console
device for hplj4l_a: /dev/tty01
hplj4l_hplj4 accepting requests since Dec 19 17:27
hplj4l_a accepting requests since Feb 5 11:05
ps_A accepting requests since May 5 15:59
lpstat: can't open printer status file

I assume this refers to the deleted pstatus file. I have tried both
lpinstall from sysadm and cfpp from UXNMR but to no avail. How can I
generate the appropriate pstatus file (if this is indeed what is needed)?
Is it necessary to reload the lp software from tape? This is a *very* busy
machine and any help would be greatly appreciated.

Keith

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
- -
- Dr. K. Brown brownk@chem4823.usask.ca -
- Department of Chemistry brownk@sask.usask.ca -
- University of Saskatchewan http://chem4823.usask.ca/kbrown.html -
- Saskatoon, SK -
- -
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
- -
- Our OS who art in CPU, UNIX be thy name. -
- Thy programs run, thy syscalls done, -
- In kernel as it is in user! -
- -
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-