Re: proftpd startup


Subject: Re: proftpd startup
From: Myles Vredenburg (myles@nycap.rr.com)
Date: Fri Nov 19 1999 - 05:36:06 MST


On Fri, 19 Nov 1999, John Holm wrote:
> I'm having trouble getting proftpd to startup automatically.
> It didn't work at all when inetd handled it, so I commented ftp out of the inetd conf.
>
> It works fine if I launch it from a term with "/usr/sbin/proftpd", but I don't know how to get that to happen on startup.
>
> There is no proftpd script in /etc/rc.d/init.d so it doesn't show up as a service in the SysV Init editor.
>
> I tried adding "/usr/sbin/proftpd" to bashrc, but that didn't seem to work either.
>
> what's the proper thing to do here?

I'd write an init script (e.g. /etc/rc.d/init.d/proftp). Use one of the
delivered init scripts as a guide. Then you'll need to create symlinks in
/etc/rc.d/rc3.d and /etc/rc.d/rc5.d (assuming those are the run levels in which
you'd like to run proftpd) to start the daemon.

/etc/rc.d/rc3.d/S55proftp -> ../init.d/proftp
/etc/rc.d/rc5.d/S55proftp -> ../init.d/proftp

and in keeping with the conventions of RedHat-based distros,

/etc/rc.d/rc0.d/K55proftp -> ../init.d/proftp
/etc/rc.d/rc1.d/K55proftp -> ../init.d/proftp
/etc/rc.d/rc2.d/K55proftp -> ../init.d/proftp
/etc/rc.d/rc6.d/K55proftp -> ../init.d/proftp

Do you have any clue as to why inetd isn't starting proftpd?

Myles



This archive was generated by hypermail 2a24 : Fri Dec 03 1999 - 19:07:33 MST