Path: utzoo!attcan!uunet!husc6!bloom-beacon!gatech!ncar!ames!pasteur!ucbvax!hplabs!hpda!hpsemc!bd
From: bd@hpsemc.HP.COM (bob desinger)
Newsgroups: comp.sys.hp
Subject: Re: ipc problem
Message-ID: <1250018@hpsemc.HP.COM>
Date: 15 Aug 88 23:25:14 GMT
References: <10649@lll-winken.llnl.gov>
Organization: HP Technology Access Center, Cupertino, CA
Lines: 35

> next problem:  using the hp-ux 5.1 manuals via telephone, i've tried
> phonal consultation to get his lp spooler running.  we got as far as
> getting the lpadmin(1m) command accepted and the correct interface
> installed for the thimkjet.  enable(1) aborted, complaining about a
> non-existent device:  lp.

Roger Pollard mentioned that it is indeed possible to get the lp
system running if you have all the directories in the right places.
(Both he and I didn't think it was worth all the trouble for such a
small machine, though.  But then again your buddy is probably using
his machine differently than us.)

Is his floppy named "usr" so that he has all the right paths, as in
"/usr/lib/lpsched" and all that?  `Enable' is probably aborting
because a directory isn't there.  The "non-existent printer"
diagnostic can happen because the directory /usr/spool/lp/member isn't
there, or if it's not readable or writable.  It also gets printed if
/usr/spool/lp isn't there, but that's not likely to be missing if
you're trying to make it work.  Also, check the permissions when
setting up the lp system---if you created everything as root, make
sure the "lp" user can write to the directories and files.

-- bd

P.S.	I should mention that it was pretty easy to work around the
	awk bug by simply changing the MAX++ tokens to explicit
	numbers, then setting MAX to a number as the last action in
	the BEGIN:

		BEGIN {
			person[0] = "Bob Desinger"
			person[1] = "Someone Else"
			person[2] = "Third Guy"
			MAX =  3  # number of people to schedule
		}