Here's a 10 tour, there is really much more to this topic but this should get 
you started.

RedHat is really big on the /etc/xinetd method for starting daemons on boot 
but it also supports the /etc/init.d/rc method for starting daemons specific 
to the system run-level. The xinetd method is relatively new and not widely 
accepted and in all 2.2.x and up kernel based distros the /etc/rc method 
works. The simplest way to start a daemon is to look at what run-level your 
running and create a symlink in the appropriate /etc/init.d/rc directory to 
the /etc/init.d script. These links need to be prepended with an S or a K and 
a number for execution order. For services that you want running at all 
run-levels simply copy the symlink to all rc directories.

Steve

On Friday 17 January 2003 11:35, you wrote:
> Mark,
>
> How do I start the lpd daemon at boot time?  I have tried starting it from
> the command line but no luck.
>
> Doug
>
> -----Original Message-----
> From: Post, Mark K [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 17, 2003 9:43 AM
> To: [EMAIL PROTECTED]
> Subject: Re: lpd print daemon
>
>
> Doug,
>
> On my systems, I do not start lpd out of inetd.conf.  It's started at boot
> time, and runs until shutdown.  If you want to run it out of inetd.conf, I
> guess you can, but why?
>
> In any case, the message you're getting seems to indicate that some file
> can't be found.  I'm guessing it's /usr/bin/lpd.  On my systems, it would
> /usr/sbin/lpd.
>
> Mark Post
>
> -----Original Message-----
> From: Doug Clark [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 17, 2003 12:35 PM
> To: [EMAIL PROTECTED]
> Subject: Re: lpd print daemon
>
>
> I have documented the steps below, but will someone please help me
> understand why I can't start the print daemon.  I will be
> happy to provide more information as needed.
>
> Doug
>
>
>
> from the inetd.conf file
> 1)      printer stream tcp nowait root /usr/sbin/tcpd /usr/bin/lpd -i
>
>
> 2)      # lpc status
>         remote:
>                 queuing is enabled
>                 printing is enabled
>                 no entries
>                 no daemon present
>         lp:
>                 queuing is enabled
>                 printing is enabled
>                 2 entries in spool area
>                 no daemon present
>         tmbc1:
>                 queuing is enabled
>                 printing is enabled
>                 no entries
>                 no daemon present
>
> 3)      # lpr /etc/fstab
>         lpr: connect: No such file or directory
>         jobs queued, but cannot start daemon.
>
>
> 4)      # lpc status
>         remote:
>                 queuing is enabled
>                 printing is enabled
>                 no entries
>                 no daemon present
>         lp:
>                 queuing is enabled
>                 printing is enabled
>           3 entries in spool area
>                 no daemon present
>         tmbc1:
>                 queuing is enabled
>                 printing is enabled
>                 no entries
>                 no daemon present

Reply via email to