Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I run Debian 5 64-bit machine with 2 IP-addresses. I installed ProFTPd through init.d instead of standalone but when I start it, it gives the following error:
Code:
ProFTPd warning: cannot start neither in standalone nor in inetd/xinetd mode. Check your configuration.
If I select standalone as servertype through the config, it works good.
Previously, I had this same machine on the same OS with 1 IP-address. I installed ProFTPd and it worked well with init.d . Maybe the 2nd IP is causing it ?
How can I make it work through init.d without having this error ?
That is xinit.d . My case is different. It possibly just needs configuration because on a single IP, it works great. Maybe ProFTPd doesn't know which IP to run on and is confusing it.
Note that proftpd either stanalone, or through xinetd, by default will listen on any available interface, so check the logs to see why it cannot start
If you want to allow proftpd to bind only on a singe IP, you can use in /etc/xinetd.d/proftpd
There is no xinit.d. Proftpd can be started either from init.d (where you start proftpd using /etc/init.d/proftpd start), or through xinetd (where you start the xinetd service)
In the 1st case you use in proftpd.conf "ServerType standalone", while in the 2nd it's "ServerType inetd"
No I'm not using servertype as standalone. I have it selected to inetd and that's why it doesn't start. So I am not using /etc/init.d/proftpd start to start the server because that's needed if servertype is standalone.
I want to run it as servertype inetd
But then it doesn't start and says:
ProFTPd warning: cannot start neither in standalone nor in inetd/xinetd mode. Check your configuration.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.