Centos Proftpd Error No Valid Servers Configured
Contents |
Start here for a quick overview of the site Help Center Detailed answers warning unable to determine ip address of proftpd to any questions you might have Meta Discuss the workings
Proftpd No Valid Servers Configured
and policies of this site About Us Learn more about Stack Overflow the company Business proftpd failed to start centos Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question install proftpd and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top proFTPD unable to determine IP address up vote 4 down vote favorite 1 When starting the server this error is returned Starting ftp server: proftpd2014-08-03 18:39:22,045 web-amd-3700-2gb proftpd[22126]: warning: unable to determine IP address of 'web-amd-3700-2gb' 2014-08-03 18:39:22,045 web-amd-3700-2gb proftpd[22126]: error: no valid servers configured 2014-08-03 18:39:22,045 web-amd-3700-2gb proftpd[22126]: fatal: error processing configuration file '/etc/proftpd/proftpd.conf' failed! /etc/proftpd/proftpd.conf # # /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file. # To really apply changes, reload proftpd after modifications, if # it runs in daemon mode. It is not required in inetd/xinetd mode. # # Includes DSO modules Include /etc/proftpd/modules.conf # Set off to disable IPv6 support which is annoying on IPv4 only boxes. UseIPv6 off # If set on you can experience a longer connection delay in many cases. IdentLookups off ServerName "Debian" ServerType standalone DeferWelcome off MultilineRFC2228 on DefaultServer on ShowSymlinks on TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 1200 DisplayLogin welcome.msg DisplayChdir .message true ListOptions "-l" DenyFilter \*.*/ # Use this t
CRON Debian SSH PHP Subversion TIPS Work Zend Framework Top Posts [SOLVED] - Solution to FTP Server ProFTPd Configuration Issue (NO VALID SERVER CONFIGURED) I want to become an "Agile Developer" [SOLVED] - Solution to FTP Server ProFTPd Configuration Issue (NO VALID SERVERCONFIGURED) September 25, 2010May 11, 2012 Rakesh Sankardebian, dns, ftp, hosts, proftpd, ubuntu For those who are wondering why ProFTPd (no valid server configured) is not starting , here is your solutionđ. I was struggling to get this working in one of the server (see below for the error) but no luck even after several repeats of usual tips, ie., restart/reinstall (/etc/init.d/proftpd restart) - simply nothing. This is http://serverfault.com/questions/617591/proftpd-unable-to-determine-ip-address the error I was getting each time when I try to start ProFTPd: Vista-ftp (Photo credit: Wikipedia) Checking syntax of configuration file - warning: unable to determine IP address of âexample.comⲠ- error: no valid servers configured - Fatal: error processing configuration file â/etc/proftpd.confâ Note: Following solution works with all Debian based Linux Distribution. Others, placement of the config files may vary with other Linux distribution, please find the correct path to the config https://rakesh.sankar-b.com/2010/09/25/solution-to-proftpd-no-valid-server-configured/ file(s) that I have mentioned in the solution. After searching for a solution I end up with a link http://www.savelono.com/linux/solved-proftp-will-not-start-after-install-in-fedora-11.html (but this is for GUI, no problem with the background job). I confirm that my hosts (/etc/hosts) file has an entry for example.com with the proper IP address. This was driving me crazy until I realized that the problem could be in resolving the IP address of a hostname. Since everything seems to be perfect from ProFTPd, the only problem is determining the IP address of the hostname (cat /etc/hostname).  After searching (with massive keyword filter ;-)) I ended up with a link (http://linux.derkeiler.com/Mailing-Lists/Debian/2004-03/3908.html) which gave me a hint "nsswitch" - GOTCHA. My doubt was correct, ProFTPd is not able to resolve the IP address of a hostname. SOLUTION: ProFTPd was trying hard to get the IP of the hostname and it was failed to resolve. Generally resolver library asks NSSwitch to  resolve the IP address and it controls how services such as the resolver library, NIS, NIS+ and local files such as /etc/hosts and /etc/shadow interact. When I added the line hosts: file dns in my /etc/nsswitch.conf file and I restarted the ProFTPd once again, this time it did workđ. This paid all my hard-work, I got the solutionđ. Hurray! Related Articles Set Up a Secure FTP Server: Linux Debian Guide (bright
have one accepted answer. Are you sure you want to replace the current answer with this one? Yes, https://www.digitalocean.com/community/questions/issue-with-proftpd-on-centos-with-virtualmin I'm sure. Changed your mind? You previously marked this answer as accepted. Are you sure you want to unaccept it? Yes, I'm sure. Sign Up Log In submit Tutorials Questions Projects Meetups Main Site logo-horizontal DigitalOcean Community Menu Tutorials Questions Projects Meetups Main Site Sign Up Log In submit View All Results By: samansoltani no valid Subscribe Subscribed Share 0 Issue with ProFTPD on CentOS with Virtualmin May 18, 2014 2.1k views I installed Virtualmin and CentOS 6.5 32bit on a droplet. I tried to start ProFTPD, but always it return error "Starting proftpd: [FAILED]". As I know when Virtualmin was installed, all this service should be working fine. This is no valid servers return of commands: > proftpd --configtest Checking syntax of configuration file - warning: unable to determine IP address of 'samac' - error: no valid servers configured - Fatal: error processing configuration file '/etc/proftpd.conf' Log In to Comment Leave a Comment Add comments here to get more clarity or context around a question. To answer a question, use the âAnswerâ field below. Log In to Comment 1 Answer 0 samansoltani May 18, 2014 I've found the solution :D I've just changed my hostname to my domain. > hostname samac.ir Reply Log In to Comment Have another answer? Share your knowledge. Log In to Answer Copyright © 2016 DigitalOcean™ Inc. Community Tutorials Questions Projects Tags Newsletter RSS Distros & One-Click Apps Terms, Privacy, & Copyright Security Report a Bug Get Paid to Write Almost there! Sign into your account, or create a new one, to start interacting. Log In Sign Up Report a Bug Use this form to report bugs related to the Community