Current time: 12-24-2024, 11:04 AM Hello There, Guest! (LoginRegister)


Post Reply 
Ticket #200 ProFTP Fails!
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #3
RE: Ticket #200 ProFTP Fails!
Hi

I just did a new fresh install of etch (german language), only minimal install and then with the installer (version 0.5) I installed ispCP-nightly (should be of today - but I can't confirm that).

Well, in debian etch I gave "debian" as hostname and "mydomain.localsite" as domain name (which was the default given by my router via DHCP).

In ispCP installation where the Hostname is asked the default was "debian" - but not accepted (not an FQDN) - "debian.mydomain.localsite" was not ok either (I think because of the "localsite" :-) - I gave "debian.mydomain.ch" (yes, I'm swiss...)

Here we go with the proftp problem:

debian:/etc# /etc/init.d/proftpd restart
Stopping ftp server: proftpd.
Starting ftp server: proftpd - IPv4 getaddrinfo 'debian' error: Name or service not known
- warning: unable to determine IP address of 'debian'
- error: no valid servers configured
- Fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
failed!

The problem is in "/etc/hosts". Before the installation of ispCP I had:
***
127.0.0.1 localhost
127.0.1.1 debian.mydomain.localsite debian
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
***

after the install, it looked like this:
***
# 'hosts' file configuration.
127.0.0.1 debian.mydomain.ch.local localhost
192.168.2.232 debian.mydomain.ch debian.mydomain.ch
***

if I correct the last line to
192.168.2.232 debian.mydomain.ch debian
proftp ist starting (at least with IPv4) - IPv6 should run when adding
::ffff:192.168.2.232 debian.mydomain.ch debian
yes!!

Conclusion:
the setup/install of ispCP is changing the hosts file (which is one point I don't like at ispCP...) and that's why proftpd isn't running just out of the box.

so I think the bug should be reopened...

/joximu
04-21-2007 07:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Ticket #200 ProFTP Fails! - BeNe - 04-20-2007, 07:21 PM
RE: Ticket #200 ProFTP Fails! - RatS - 04-21-2007, 08:36 AM
RE: Ticket #200 ProFTP Fails! - joximu - 04-21-2007 07:53 PM
RE: Ticket #200 ProFTP Fails! - pacog00 - 04-24-2007, 12:26 AM
RE: Ticket #200 ProFTP Fails! - pacog00 - 04-24-2007, 01:01 AM
RE: Ticket #200 ProFTP Fails! - joximu - 04-24-2007, 01:26 AM
RE: Ticket #200 ProFTP Fails! - ephigenie - 05-16-2007, 07:24 PM
RE: Ticket #200 ProFTP Fails! - joximu - 05-16-2007, 07:32 PM
RE: Ticket #200 ProFTP Fails! - BeNe - 05-16-2007, 07:35 PM
RE: Ticket #200 ProFTP Fails! - joximu - 05-16-2007, 07:37 PM
RE: Ticket #200 ProFTP Fails! - BeNe - 05-16-2007, 07:43 PM
RE: Ticket #200 ProFTP Fails! - ephigenie - 05-16-2007, 08:57 PM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)