LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-10-2005, 07:57 PM   #1
Martin Strand
LQ Newbie
 
Registered: Apr 2005
Posts: 16

Rep: Reputation: 0
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
 
Old 04-10-2005, 08:23 PM   #2
njk77
LQ Newbie
 
Registered: Apr 2005
Posts: 16

Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH Inet.d nsusa Linux - Newbie 1 11-08-2005 08:50 PM
SuSE INET yllek Linux - Laptop and Netbook 1 11-22-2004 08:23 AM
Mandrake 9.1 and inet nik.dk Linux - Networking 3 07-18-2003 01:18 PM
No Inet cmull123 Linux - Networking 1 06-23-2003 02:55 PM
I can now get on the Inet, but I can't dns AdamB Linux - Networking 56 02-18-2002 01:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration