LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-28-2006, 10:29 PM   #1
signature16
LQ Newbie
 
Registered: Mar 2006
Posts: 22

Rep: Reputation: 15
ProFTPD Start Error


i get this error when i try to start proftpd:



Code:
[root@linuxtest ~]# /etc/init.d/proftpd start
Starting proftpd:  - IPv4 getaddrinfo 'linuxtest' error: Name or service not known
 - warning: unable to determine IP address of 'linuxtest'
 - error: no valid servers configured
 - Fatal: error processing configuration file '/etc/proftpd.conf'
                                                           [FAILED]
[root@linuxtest ~]#

After yum install proftpd all i need to do is add a user account and group and then define them in the conf file and then start the server? Thats exactly what I did and I get this error. Also, my user is only in the proftp group. whats wrong?


Here is the config files:

here is my proftpd.conf


Code:
ServerName			"ProFTPD Default Installation"
ServerType			standalone
DefaultServer			on

# Port 21 is the standard FTP port.
Port				21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask				022

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances			30

# Set the user and group under which the server will run.
User				ftp
Group				ftp

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~

# Normally, we want files to be overwriteable.
<Directory />
  AllowOverwrite		on
</Directory>

also, here is my /etc/hosts file:

Code:
xx.xxx.xxx.xxx  linuxtest.shook-hosting.com

127.0.0.1       localhost       linuxtest.shook-hosting.com
and my /etc/sysconfig/network file
Code:
NETWORKING=yes
HOSTNAME=linuxtest
GATEWAY=xx.xxx.xxx.xxx

Any help to fix this problem is much appreciated.
 
Old 03-28-2006, 11:16 PM   #2
camh
Member
 
Registered: Feb 2005
Distribution: Slack/Debian
Posts: 163
Blog Entries: 2

Rep: Reputation: 33
Quote:
xx.xxx.xxx.xxx linuxtest.shook-hosting.com
In your hosts file, try changing it to
Code:
xx.xxx.xxx.xxx  linuxtest.shook-hosting.com linuxtest
and see if it works.
 
Old 03-29-2006, 12:18 AM   #3
signature16
LQ Newbie
 
Registered: Mar 2006
Posts: 22

Original Poster
Rep: Reputation: 15
[solved]


amazing....thanks. wish i found that error myself. i feel very stupid.
 
  


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
ProFTPD won't start! taigon Linux - Software 6 03-09-2006 01:57 AM
proftpd won't start Rajahuroman Linux - Networking 3 08-14-2004 02:15 AM
Set Proftpd on Start Up sysmgr Red Hat 1 02-12-2004 01:33 PM
Proftpd Service Start ERROR!! poisonousmist Linux - Newbie 2 10-14-2003 09:34 AM
proftpd Fatal Error on start rose_bud4201 Linux - Software 33 09-24-2003 07:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:26 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