<!doctype html public “-//w3c//dtd html 4.0 transitional//en”>
Hi
give me a hint... :wink:
I'm trying to run lpd and it doesn't stay as daemon, just starts and
finishes... I didn't forget about "&" at end of command line :slight_smile:
I have /etc/printcap which I borrowed from one FreeBSD box with record
---------------------
lp|v21b-hp51:\
:sd=/var/spool/lpd/v21b-hp51:\
:mx=0:\
:rm=:
---------------------
to note address IS presented there, I just removed it here in sec-ty
reason :wink:
does lpd has a debugging tracing facility?
--
BR, Andrej
Andrej Timchenko wrote:
!doctype html public “-//w3c//dtd html 4.0 transitional//en”
Please, don’t do that.
p>I’m trying to run lpd and it doesn’t stay as daemon, just starts and
finishes… I didn’t forget about “&” at end of command line > 
checked with ps? I don’t know if it forks.
br>I have /etc/printcap which I borrowed from one FreeBSD box with record
br>---------------------
br>lp|v21b-hp51:
br> :sd=/var/spool/lpd/v21b-hp51:
Got that?
br> :mx=0:
br> :rm=:
br>---------------------
br>to note address IS presented there, I just removed it here in sec-ty
reason > 
Naturally.
p>does lpd has a debugging tracing facility?
Does RTP have a syslog?
I think lpd should also have a dont_detach_and_spit_debug switch.
(From lprng man)
OPTIONS
-L logfile
specifies an alternate file to be used for logging
error and debugging messages. The syslog(8) facility
is used to log critical messages as well.
-F Under normal operation, the LPD server will run in
background mode. The -F flag forces it to run in
forground mode, where it is more easily debugged.
-D debugopt
Debugging is controlled using the -D option. This
accepts a comma-separated list of debugging settings.
These settings take one of two forms: facility=value
, or value to set an overall default value. The
available facilities can be determined by invoking
LPD with the -D= parameter.
All it has is debug options 
Are all required ditrectories created. lpd needs directories for the spool files…
Something like /usr/spool/lpd /usr/spool/output /usr/spool/lpd …
in your file I see: sd=/var/spool/lpd/v21b-hp51
does it exist?
Usually a spool directory is specified in printcap.
Also you may need to create /usr/adm for error logs
-Paul
Harri Haataja <harri@tolppa.kotisivupalvelu.fi> wrote in message
news:slrn95brhs.ojd.harri@tolppa.kotisivupalvelu.fi…
Andrej Timchenko wrote:
!doctype html public “-//w3c//dtd html 4.0 transitional//en”
Please, don’t do that.
p>I’m trying to run lpd and it doesn’t stay as daemon, just starts and
finishes… I didn’t forget about “&” at end of command line > 
checked with ps? I don’t know if it forks.
br>I have /etc/printcap which I borrowed from one FreeBSD box with record
br>---------------------
br>lp|v21b-hp51:
br> :sd=/var/spool/lpd/v21b-hp51:\
Got that?
br> :mx=0:
br> :rm=:
br>---------------------
br>to note address IS presented there, I just removed it here in sec-ty
reason > 
Naturally.
p>does lpd has a debugging tracing facility?
Does RTP have a syslog?
I think lpd should also have a dont_detach_and_spit_debug switch.
(From lprng man)
OPTIONS
-L logfile
specifies an alternate file to be used for logging
error and debugging messages. The syslog(8) facility
is used to log critical messages as well.
-F Under normal operation, the LPD server will run in
background mode. The -F flag forces it to run in
forground mode, where it is more easily debugged.
-D debugopt
Debugging is controlled using the -D option. This
accepts a comma-separated list of debugging settings.
These settings take one of two forms: facility=value
, or value to set an overall default value. The
available facilities can be determined by invoking
LPD with the -D= parameter.
All it has is debug options > 