LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 08: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, 09: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:50 PM
SuSE INET yllek Linux - Laptop and Netbook 1 11-22-2004 09:23 AM
Mandrake 9.1 and inet nik.dk Linux - Networking 3 07-18-2003 02:18 PM
No Inet cmull123 Linux - Networking 1 06-23-2003 03:55 PM
I can now get on the Inet, but I can't dns AdamB Linux - Networking 56 02-18-2002 02:48 PM


All times are GMT -5. The time now is 04:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration