From: Mark B. Alston (c-amb@math.utah.edu)
Date: 11/29/92


From: c-amb@math.utah.edu (Mark B. Alston)
Subject: Re: plp Std_environ error
Date: Mon, 30 Nov 1992 01:01:21 GMT


   wongi@netcom.com (Isaac Wong) writes:

>i got the plpsrc printer spooler package from tsx-11. it compiled and linked
>without errors. but when i try to start the lpd daemon i got the following
>message,

>Std_environ: host entry for '' not found at Fri Nov 27 21:02:19 1992

>any clue?

   lpd can't find the printcap file for your host. lpd expects to find a
   /usr/spool/lpd/printcap.<hostname> where <hostname> is the hostname
   of your machine.

I am not conviced that this is the problem. I am recieving the same error but have my printcap file as you specify:

# /usr/lib/lpd
Std_environ: host entry for '' not found at Sun Nov 29 17:57:16 1992
# ls -l
total 18
-rw-r--r-- 1 root root 381 Nov 29 17:49 printcap.mobius
-rw-r--r-- 1 root root 381 Nov 29 17:47 printcap.wf-rch
-rw-r--r-- 1 root root 699 Nov 29 17:49 printer_perms.mobius
-rw-r--r-- 1 root root 699 Nov 29 17:47 printer_perms.wf-rch
-rwxr-xr-x 1 root root 12641 Nov 29 17:50 ps_endf
-rw-r--r-- 1 root root 38 Nov 29 17:47 ps_endf.c
# hostname
mobius
# pwd
/usr/spool/lpd
#

It seems to me that plp is having a problem finding out what the
hostname is, explaining the:
         "host entry for '' not found"
opposed to the expected:
         "host entry for 'mobius' not found"

Anyone else with ideas on how to fix this?