Hi
Please help, my ProFTPD wont start.
When I click start server it just returns this.
Failed to start FTP server :
Starting proftpd: [FAILED]
Nothing else.
I have never used it before.
I am using
Operating system CentOS Linux 5
Webmin version 1.430
Virtualmin version 3.59.gpl (GPL)
Thanx
Regards
Shane<br><br>Post edited by: southerns, at: 2008/12/15 12:06
ronald
December 15, 2008, 6:16pm
2
without log entries about an error (if any) it’s somewhat hard to troubleshoot
if the ftp server is already running then this message would show up. It cant start as it already started.
You can maybe stop it and start again or press restart.
Is there a problem logging in over ftp? if so what problem?
khlim
December 16, 2008, 3:35am
3
Not mistaken your log file is located in /var/log/proftpd
you should paste your error msg here. Before pinpoint what is the actual root cause.
Thanks
KH
Hi
Thanx for the responses.
/var/log/proftpd is empty.
This is what makes it so frustrating its not giving me any info as to whats wrong.
proftpd is not running as it only gives me the option to start it, no stop or restart.
I also cannot login with FTP to my sites.
Eric
December 22, 2008, 4:52pm
5
Is there perhaps another FTP service running?
If you log into your system using SSH, what do you get when you run this:
netstat -an | grep :21
Also, does anything show up in /var/log/messages when you try to start proftp?
-Eric
F1nr1
January 4, 2009, 8:32am
6
Hi,
I have the same problem as southerns.
I have checked netstat -an | grep :21 and nothing is used.
also checked the log files and there is nothing in it about proftpd.
Does anybody already has a solution?
regards.
F1nr1
Eric
January 4, 2009, 11:06am
7
If you log in as root over SSH, are you able to start proftpd from the command line using something like this:
/etc/init.d/proftp restart
If it doesn’t work, do you get any error message?
If you don’t get an error message, what do you see if you type this:
proftpd --configtest
If that doesn’t show an error, I’m curious if you see any useful output by manually running the daemon with this:
proftpd
Do you receive any errors? Or does it perhaps work?
Thanks,
-Eric
1 Like
F1nr1
January 5, 2009, 2:12pm
8
When I try /etc/init.d/proftp restart I get this message:
Shutting down proftpd: [FAILED]
Starting proftpd: [FAILED]
Eric
January 5, 2009, 2:37pm
9
Okay, that isn’t saying too much unfortunately. So let’s look at some of those other troubleshooting ideas I mentioned.
Try running:
proftpd --configtest
If that doesn’t show an error, I’m curious if you see any useful output by manually running the daemon with this:
proftpd
Do you receive any errors? Or does it perhaps work?
Perhaps that will shed some light on what it’s unhappy about!
-Eric
F1nr1
January 6, 2009, 8:41am
10
I started proftpd with /usr/sbin/proftpd and got these errors:
warning: unable to determine IP address of ‘****(computername)’
error: no valid servers configured
Fatal: error processing configuration file ‘/etc/proftpd.conf’
F1nr1
January 6, 2009, 11:14am
11
I have found what is was.
The hostname of mij computer in /etc/hosts was wrong
Now it starts up with no errors messages
Eric
January 6, 2009, 11:21am
12
Nice catch! I’m glad you got it working.
Thanks for the update, folks who run into this in the future will be able to fix that now.
-Eric
milanmk
February 23, 2009, 11:53pm
13
I am having the same problem with ProFTPD but could not figure out what needs to be changed in hosts file:
127.0.0.1 localhost localhost.localdomain
Could you please point me to right direction.
Eric
February 23, 2009, 11:56pm
14
Is that the only entry in your hosts file?
You need an entry with your primary IP address and hostname, such as:
x.y.z.q hostname.example.com
Where x.y.z.q is your server’s primary IP address, and hostname.example.com is your servers hostname and domain name.
-Eric
milanmk
February 24, 2009, 12:24am
15
Yes, that was the only entry in my hosts file.
FYI, I am on EC2 AMI running 3.66 GPL.
Now I added another entry to it like this:
IP www.domain.com
milanmk
February 24, 2009, 12:26am
16
I am getting errors when I run "proftpd --configtest"
IPv4 getaddrinfo ‘ip-10-250-11-229’ error: Name or service not known
warning: unable to determine IP address of ‘ip-10-250-11-229’
Eric
February 24, 2009, 12:30am
17
Well, I’m not really up on all the RC2 stuff – though in your case, it appears as if ProFTP thinks that “ip-10-250-11-229” is your hostname.
If you add that next to the entry in the hosts file you created, that might help get it to launch. For example:
IP www.domain.com ip-10-250-11-229
My system was running fine, until yesterday. output of configtest is:
[root@ns1 ~]# proftpd --configtest
Checking syntax of configuration file
IPv4 getaddrinfo ‘ns1’ error: Name or service not known
warning: unable to determine IP address of ‘ns1’
error: no valid servers configured
Fatal: error processing configuration file ‘/etc/proftpd.conf’
/etc/hosts is:
127.0.0.1 localhost localhost.localdomain ns1.squirtyvision.com
67.23.5.122 ns1.squirtyvision.com
67.23.7.144 ns2.squirtyvision.com
Had my provider allocate an additional IP address yesterday. Rebooted my VPS running CentOS, Now proftpd will not start.
Eric
July 31, 2009, 12:41am
19
Sounds like your hostname is set to “ns1”, but that’s not defined in your /etc/hosts file.
What you can do is add an ns1 in there, such as this:
67.23.5.122 ns1.squirtyvision.com ns1
That is, add it to the end of an existing line – and that should hopefully do the trick!
-Eric
Thanks Eric,
That did the trick, but one wonders why it ran before without any trouble. Perhaps the new BIND update made it pickier.
-Jeff