ispCP - Board - Support
Ticket #200 ProFTP Fails! - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: Ticket #200 ProFTP Fails! (/thread-415.html)

Pages: 1 2


Ticket #200 ProFTP Fails! - BeNe - 04-20-2007 07:21 PM

I opend this Thread here, because i canĀ“t reply this Text to the Ticket. Always get an Error. I hope malte will fix it when he is back @ home.

Here is my reply:
____________________________________________________________

This is NO ispCP problem!

It is normal that in the file /etc/ispcp/proftpd/proftpd.conf is a "{HOST_NAME}" because - this is NOT YOUR proftpd.conf
Your used proftpd.conf is under:

Code:
/etc/proftpd/proftpd.conf

Take a look at this file and you will see:

Code:
ServerName "host"

But in your /etc/hostname was no "host". And proftp could not reslove "host"
In the setup the default on the screen was also "host" for sure and you hit enter.

Or ?


RE: Ticket #200 ProFTP Fails! - RatS - 04-21-2007 08:36 AM

It's my opinion, too, I've never created this bug on installing ispCP Omega about 70 times.


RE: Ticket #200 ProFTP Fails! - joximu - 04-21-2007 07:53 PM

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


RE: Ticket #200 ProFTP Fails! - pacog00 - 04-24-2007 12:26 AM

I have the same error in a clean etch instalation ......

all ok except proftpd.. with the same error..


joximu Wrote: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!


/joximu



RE: Ticket #200 ProFTP Fails! - pacog00 - 04-24-2007 01:01 AM

Solucioned !!!


I add a new entry in hosts , with the name fom my machine,

127.0.0.1 xxxxxxxxxxxxx localhost

and the trouble solucionated.......



pacog00 Wrote:I have the same error in a clean etch instalation ......

all ok except proftpd.. with the same error..


joximu Wrote: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!


/joximu



RE: Ticket #200 ProFTP Fails! - joximu - 04-24-2007 01:26 AM

Both IPv4 and IPv6 entries for the hostname which is given in /etc/proftpd/proftpd.conf are missing in /etc/hosts

That's all...

/joximu


RE: Ticket #200 ProFTP Fails! - Lonesome Walker - 05-16-2007 06:19 PM

Hm, that is really odd...


RE: Ticket #200 ProFTP Fails! - ephigenie - 05-16-2007 07:24 PM

Hm i fixed it in the current trunk that ipv6 entrys are stored in the /etc/hosts file as well.


RE: Ticket #200 ProFTP Fails! - joximu - 05-16-2007 07:32 PM

yes - the ticket is closed for some days/weeks - but it's not in rc2b... Lonesome Walker just said hello to one of the main bugs :-)

(edit) BTW: @ephigenie
you wrote that the hosts file should has this format

ip host.domain.tld host.domain.tld

I meant its more like this

ip host.domain.tld host

I don't know if it's relevant to anything but just thought of that when I read your comment in the ticket..


RE: Ticket #200 ProFTP Fails! - BeNe - 05-16-2007 07:35 PM

Quote:Lonesome Walker just said hello to one of the main bugs :-)
[Image: icon_lachen.gif]
Damn - this was good *g*