Current time: 04-26-2024, 09:50 AM Hello There, Guest! (LoginRegister)


Post Reply 
Ticket #200 ProFTP Fails!
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #1
Exclamation Ticket #200 ProFTP Fails!
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 ?
(This post was last modified: 04-20-2007 07:29 PM by BeNe.)
04-20-2007 07:21 PM
Visit this user's website Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #2
RE: Ticket #200 ProFTP Fails!
It's my opinion, too, I've never created this bug on installing ispCP Omega about 70 times.
04-21-2007 08:36 AM
Visit this user's website Find all posts by this user Quote this message in a reply
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
pacog00 Offline


Posts: 2
Joined: Apr 2007
Reputation: 0
Post: #4
RE: Ticket #200 ProFTP Fails!
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
04-24-2007 12:26 AM
Find all posts by this user Quote this message in a reply
pacog00 Offline


Posts: 2
Joined: Apr 2007
Reputation: 0
Post: #5
RE: Ticket #200 ProFTP Fails!
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
04-24-2007 01:01 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: Ticket #200 ProFTP Fails!
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
04-24-2007 01:26 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Lonesome Walker Offline
Junior Member
*

Posts: 28
Joined: May 2007
Reputation: 1
Post: #7
RE: Ticket #200 ProFTP Fails!
Hm, that is really odd...
05-16-2007 06:19 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #8
RE: Ticket #200 ProFTP Fails!
Hm i fixed it in the current trunk that ipv6 entrys are stored in the /etc/hosts file as well.
05-16-2007 07:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #9
RE: Ticket #200 ProFTP Fails!
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..
(This post was last modified: 05-16-2007 07:35 PM by joximu.)
05-16-2007 07:32 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #10
RE: Ticket #200 ProFTP Fails!
Quote:Lonesome Walker just said hello to one of the main bugs :-)
[Image: icon_lachen.gif]
Damn - this was good *g*
05-16-2007 07:35 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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