Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PROFTPD problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
linuxsir
n00b
n00b


Joined: 05 May 2004
Posts: 60
Location: Shanghai China

PostPosted: Mon Jul 12, 2004 6:01 pm    Post subject: PROFTPD problem Reply with quote

after emerging proftpd, I copied the /etc/proftpd/proftpd.conf.example into /etc/proftpd/proftpd.conf and run it. btw: VCampus is my hostname

the following is what exactly happened after running
*****************************************************
/etc/init.d/proftpd start
* Starting proftpd...
- getaddrinfo 'VCampus' error: Name or service not known
- error: unable to determine IP address of 'VCampus'
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd/proftpd.conf
************************************************
Does someone know what the problem is?
_________________
I think, therefore I am!
Back to top
View user's profile Send private message
affinity
n00b
n00b


Joined: 01 Jul 2004
Posts: 66

PostPosted: Mon Jul 12, 2004 6:31 pm    Post subject: Reply with quote

Do you have a line like this in your /etc/hosts file?

Code:
127.0.0.1       localhost       VCampus
Back to top
View user's profile Send private message
theansaname
n00b
n00b


Joined: 18 Mar 2004
Posts: 18

PostPosted: Sun Jan 09, 2005 4:45 am    Post subject: Reply with quote

I have the same problem. looks like changing the hosts file to include
the hostname will let you run the program.

res06059 init.d # proftpd start
- getaddrinfo 'res06059' error: Name or service not known
- warning: unable to determine IP address of 'res06059'
- getaddrinfo 'res06059' error: Name or service not known
- warning: unable to determine IP address of 'res06059'
- ProFTPD terminating (signal 11)
- FTP session closed.
Segmentation fault

res06059 etc # hostname
res06059

res06059 etc # vi hosts

res06059 etc # more hosts
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.8 2003/08/04 20:12: 25 azarah Exp $

127.0.0.1 res06059 localhost

res06059 init.d # proftpd start
res06059 - fatal: Socket operation on non-socket
res06059 - (Running from command line? Use `ServerType standalone' in config file!)

res06059 init.d # vi /etc/proftpd/proftpd.conf
Code:
  Changed the "ServerType   inetd" to "ServerType standalone"

res06059 init.d # proftpd start
res06059 init.d #

In regards to linuxsir's problem, your config is bad. Did you configure a global or virtual host or anonymous?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum