proftpd: proftpd startup failed
I am running Mandrake 10.0 after very recently having purchased it. Mandrake 9.2 seamed to have worked with this issue, but 10 is giving me some problems.
I installed Mandrake 10 for the first time yesterday. One of the several problems is that I can't seem to configure my ProFTP daemon. I've edited the /etc/proftpd.conf file, checked my folder permissions, I even installed Webmin to see if their user interface might point something out I forgot with the text editor. After making configuration changes, I tried restarting the proftpd service using Code:
service -f proftpd Code:
Shutting down proftpd: [FAILED] I get the same stuff in my boot.log file Code:
Jun 9 13:56:34 delta2 proftpd: - getaddrinfo 'delta2' error: Name or service not known ian |
Might help seeing your config file. Also, you may want to be sure the config file is in unix format and not Windows format. You can check by doing...
Code:
vi -b /etc/proftpd.conf |
First off, thanks for the reply.
I tried opening proftpd.conf in binary mode and there were no ^M characters. Here is the config file: Code:
# This is a basic ProFTPD configuration file (rename it to Code:
# Set the user and group under which the server will run. Thanks, ian |
Yeah, you'll need to make those. Mine were already made when I installed, so I can see where that's easy to overlook... but yeah, I think you really need them. But I don't know if that's really your problem.. the errors you got seem to suggest that the OS doesn't recognize the service name.
|
Should I just create them like a create a normal user? Should they have more permissions than the normal users?
ian |
Well, I went to create a user and group that matched the proftpd.conf file and they already exist! Not that I can see them, but the Mandrake user interface told me a user with that name already exists.
I guess that's not my problem. ian |
What's the contents of your /etc/hosts file? You must have your hostname associated with the IP address you're using for this machine.
|
Ha! You're kidding me! The only thing in there is
Code:
127.0.0.1 localhost Code:
my_ip_address my_hostname ian |
Code:
Shutting down proftpd: [ OK ] You have a great day! ian |
No problem. Glad it worked. Thanks very much!
|
Thanks for the tip ! It did the job for me !
|
Thanks Donboy!
Even though I had my FQDN in my hosts file it still didn't work, I had to fill in my short name. (Just a tip) |
Alternative TIP
Quote:
Quote:
:cool: |
Your questions try this:
vi /etc/hosts 127.0.0.1 delta2 |
thanks too much
in /etc/hosts add this:
<your-ip-address> <server-name> thanks too much, it saves my time. |
All times are GMT -5. The time now is 08:17 PM. |