lpsched weirdness
Rob Healey
rhealey at digibd.com
Fri May 3 01:10:25 AEST 1991
I've had some interesting experiences with lpsched and I thought
I'd share them in the hopes of sheading light and maybe prevent
the same mistakes from happening again.
First, the problem. lpsched would setup all it's FIFO's and
associated beans and then quietly die.
The first problem I had was due to cockpit error, when I moved
the lp system from /usr/spool/lp my symlinks didn't handle
/var/lp/logs properly thus it appeared that no logs were being
kept, I was just looking in the wrong spot. Moral, if you're
going to move all of /usr/spool/lp to var, check them symlinks
real careful like...
Now, once I fixed the cockpit error I had some bizzare error
messages in the lpsched log file. I hadn't seen this sort of
stuff on the 386 R4's and it looks like it's new to R4.
It looks like my copying caused lpsched to believe it was starting
from an initial install, so it moved some tmp dirs from the name
tmp to the uname() name of the system. Can anyone at C= comment
on what is going on here? The R4 docs from Prentice Hall don't
talk about this aspect of lpsched at all, at least the versions
we have at work don't. See below /var/lp/logs/lpsched file for
details.
lpsched is now working like a champ, all I had to do was rename
all the kas directorys to tmp and lpsched was able to initialize
itself. I guess I'd like to know WHY this happened? I assume it
had something to do with time stamps and my cpioing the directory
stuctures from /usr/spool to /var/lp.
Now, if I could only hack up the standard printer model script
to work properly for my Panasonic printer. It emulates an Epson FX
but I can't find the proper Epson FX entry in termlib. Any pointers
on where I can find a full featured terminfo entry for an Epson
FX emulation so the printer script will work right?
Now I can get TeX up and running!
-Rob
------------------------- /var/lp/logs/lpsched ------------------------------
<Note: Why did lpsched want to rename these files when they already exist? RFH>
Sun Apr 28 12:32:07 1991: Rename of /var/spool/lp/tmp/tmp to /var/spool/lp/tmp/kas failed (No such file or directory).
Mon Apr 29 01:43:05 1991: Rename of /var/spool/lp/tmp/tmp to /var/spool/lp/tmp/kas failed (No such file or directory).
Mon Apr 29 22:56:23 1991: Rename of /var/spool/lp/tmp/tmp to /var/spool/lp/tmp/kas failed (No such file or directory).
Wed May 1 01:46:41 1991: Rename of /var/spool/lp/tmp/tmp to /var/spool/lp/tmp/kas failed (No such file or directory).
Wed May 1 11:07:46 1991: Rename of /var/spool/lp/tmp/tmp to /var/spool/lp/tmp/kas failed (No such file or directory).
Wed May 1 11:46:09 1991: Rename of /var/spool/lp/tmp/tmp to /var/spool/lp/tmp/kas failed (No such file or directory).
Thu May 2 01:17:20 1991: Rename of /var/spool/lp/tmp/tmp to /var/spool/lp/tmp/kas failed (No such file or directory).
Thu May 2 01:38:30 1991: Renamed /var/spool/lp/tmp/tmp to /var/spool/lp/tmp/kas.
Thu May 2 01:38:30 1991: Rename of /var/spool/lp/requests/tmp to /var/spool/lp/requests/kas failed (No such file or directory).
Thu May 2 01:40:38 1991: Renamed /var/spool/lp/tmp/tmp to /var/spool/lp/tmp/kas.
Thu May 2 01:40:38 1991: Renamed /var/spool/lp/requests/tmp to /var/spool/lp/requests/kas.
Thu May 2 01:40:38 1991: Rename of /var/spool/lp/tmp/.net/tmp/tmp to /var/spool/lp/tmp/.net/tmp/kas failed (No such file or directory).
Thu May 2 01:43:39 1991: Renamed /var/spool/lp/tmp/tmp to /var/spool/lp/tmp/kas.
Thu May 2 01:43:39 1991: Renamed /var/spool/lp/requests/tmp to /var/spool/lp/requests/kas.
Thu May 2 01:43:39 1991: Renamed /var/spool/lp/tmp/.net/tmp/tmp to /var/spool/lp/tmp/.net/tmp/kas.
Thu May 2 01:43:39 1991: Rename of /var/spool/lp/tmp/.net/requests/tmp to /var/spool/lp/tmp/.net/requests/kas failed (No such file or directory).
<Note: I renamed the kas directorys to tmp and then tried again; Voila! RFH>
Thu May 2 01:45:38 1991: Renamed /var/spool/lp/tmp/tmp to /var/spool/lp/tmp/kas.
Thu May 2 01:45:39 1991: Renamed /var/spool/lp/requests/tmp to /var/spool/lp/requests/kas.
Thu May 2 01:45:39 1991: Renamed /var/spool/lp/tmp/.net/tmp/tmp to /var/spool/lp/tmp/.net/tmp/kas.
Thu May 2 01:45:39 1991: Renamed /var/spool/lp/tmp/.net/requests/tmp to /var/spool/lp/tmp/.net/requests/kas.
Thu May 2 01:45:44 1991: Print services started.
--
Rob Healey rhealey at digibd.com
Digi International (DigiBoard)
Eden Prairie, MN (612) 943-9020
More information about the Comp.unix.amiga
mailing list