LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   inet.d (https://www.linuxquestions.org/questions/linux-newbie-8/inet-d-311834/)

Martin Strand 04-10-2005 07:57 PM

inet.d
 
Hi, I've been messing around to get an ftp server running. I first installed a few debian packages but then decided to compile my own pure-ftpd. But I can't start it:
Quote:

pure-ftpd -e &
/www/bin/pureftpd/sbin# Unable to start a standalone server: Address already in use
Obviously, one of the first packages told inet.d to start another ftpd on all port 21 connections. Thing is, that ftpd has been removed:
Quote:

telnet localhost 21
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
/usr/sbin/pure-ftpd-wrapper: Couldn't examine directory /etc/pure-ftpd/conf: No such file or directory
Connection closed by foreign host.
So, how do I make inet.d release my ftp port and leave it to my standalone pure-ftpd?

Thanks,
Martin

njk77 04-10-2005 08:23 PM

Is there are file for pure-ftpd in the directory /etc/init.d ? If so, 1st you could stop that with a root command. the command is

/etc/init.d/pure-ftpd stop

That should stop the ftp server.

In looking at the inet.d, I don't have that in my debian sarge system. Its all under a file called inetd.conf in the /etc directory. So I probably can't help on that one. In my file it does have a line though that says:

/usr/sbin/pure-ftpd-wrapper

It looks like that would start it, but I don't know on your system. Maybe you just need to change the path to point to your own compiled version instead (ie /home/myhome/pure-ftpd-wrapper). Good luck


All times are GMT -5. The time now is 02:29 AM.