LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Proftpd cannot determine ip (https://www.linuxquestions.org/questions/linux-software-2/proftpd-cannot-determine-ip-55674/)

heathpitts 04-18-2003 10:42 AM

Proftpd cannot determine ip
 
When I try to start proftpd i get this:

[root@linuxserver heathpitts]# /etc/rc.d/init.d/proftpd start

Starting proftpd: linuxserver.work.workgroup.com - Fatal: unable to determine IP address of `linuxserver.work.workgroup.com'.
[FAILED]

my /etc/hosts file is this:

127.0.0.1 localhost.localdomain localhost
192.168.0.9 linuxserver.work.workgroup.com

What should I change in the hosts file or any other file to make proftpd start up and find the ip?

mychl 04-18-2003 11:08 AM

Can you just put the ip in the ftp config?

Also, make sure your ip is not dynamic, it could have changed. Verify with /sbin/ifconfig eth0

Spelling could also be the culprit......

Good luck

heathpitts 04-18-2003 11:29 AM

no it is not dynamic. Where would you put that in the proftpd.conf file?

Shak 04-18-2003 01:57 PM

You need to specify the "Bind" directive in the ProFTPd config, this is done with

Code:

Bind <IP address>
That should solve it, if this helps please fill out my affero.

Shak

heathpitts 04-18-2003 05:59 PM

no that's not it either. I think something else is wrong and maybe it is not with the proftpd.conf config file. I got the same kind of error when I first loaded the newest apache. In fact, the auto created webpage says welcome to the homepage of 127.0.0.1 so I think it is something different.

heathpitts 04-25-2003 09:41 AM

I am still getting this same error code when starting proftpd:

Starting proftpd: linuxserver.work.workgroup.com - Fatal: unable to determine IP address of `linuxserver.work.workgroup.com'.
[FAILED]

Can anyone help me on this or at least post a link to a network set-up walkthrough? I could reinstall mandrake to fix this but i would rather fix it myself and learn in the process.

mychl 04-30-2003 09:30 AM

Didn't notice this earlier.....

You need to specify your hostname in /etc/sysconfig/network

That'll point your system to your ip....

HTH

heathpitts 04-30-2003 10:04 AM

Here is what mine says:

GATEWAYDEV="eth0"
IPXINTERNALNODENUM=0
NETWORKING=yes
IPXINTERNALNETNUM=0
IPX=no
HOSTNAME=linuxserver.work.workgroup.com
IPXAUTOPRIMARY=on
IPXAUTOFRAME=off
GATEWAY=192.168.0.1

What should I add or change?


All times are GMT -5. The time now is 05:40 PM.