View previous topic :: View next topic |
Author |
Message |
linuxsir n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/11488113864224d7398bde0.jpg)
Joined: 05 May 2004 Posts: 60 Location: Shanghai China
|
Posted: Mon Jul 12, 2004 6:01 pm Post subject: PROFTPD problem |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
affinity n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Jul 2004 Posts: 66
|
Posted: Mon Jul 12, 2004 6:31 pm Post subject: |
|
|
Do you have a line like this in your /etc/hosts file?
Code: | 127.0.0.1 localhost VCampus |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
theansaname n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 18 Mar 2004 Posts: 18
|
Posted: Sun Jan 09, 2005 4:45 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|