Problems after psa-proftpd update

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
tema
Forum User
Forum User
Posts: 18
Joined: Thu Jan 17, 2008 5:40 am
Location: London

Problems after psa-proftpd update

Unread post by tema »

Since updating to psa-proftpd 1.3.2 on our test server, the ftpd service seems to have died.

[user@server]$ ftp localhost
Connected to server
421 Service not available, remote server has closed connection
ftp>

Restarting xinetd doesnt do anything. I'm starting to think it may be an issue with pam.
Anyone else come across this?
DerFalk
Forum User
Forum User
Posts: 35
Joined: Wed Jun 25, 2008 5:15 am
Location: Good old Germany

Re: Problems after psa-proftpd update

Unread post by DerFalk »

After updating proftpd the first handshake takes a long time (about 10Sec.). After that, all looks fine!

Centos 5.2, Plesk 8.6
Thanx to all :)

DerFalk
DerFalk
Forum User
Forum User
Posts: 35
Joined: Wed Jun 25, 2008 5:15 am
Location: Good old Germany

Re: Problems after psa-proftpd update

Unread post by DerFalk »

Ok, i figure something out:

UseReverseDNS off
IdentLookups off


does not work anymore!

The Proftpd asks the named and timeouts....
Thanx to all :)

DerFalk
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Problems after psa-proftpd update

Unread post by scott »

I wonder if they changed the settings to something else
DerFalk
Forum User
Forum User
Posts: 35
Joined: Wed Jun 25, 2008 5:15 am
Location: Good old Germany

Re: Problems after psa-proftpd update

Unread post by DerFalk »

I got this in the logs:

Feb 28 13:09:18 XXXXXX-03 proftpd[9495]: XXXXXX.de - fatal: Transport endpoint is not connected

and:


Feb 28 14:40:21 XXXXXX-03 named[30229]: lame server resolving 'XXXXXX.de' (in 'XXXXXX.de'?): XX.XXX.
XXX.XXX#53

here is my conf:

Code: Select all

ServerName                      "SERVER-FTP"
#ServerType                     standalone
ServerType                      inetd
ServerIdent     on "FTP Server ready."
DefaultServer                   on
<Global>
DefaultRoot     ~               psacln
AllowOverwrite          on
</Global>
DefaultTransferMode     binary
UseFtpUsers                     on

MaxClients      9 "Bitte in 10 Minuten erneut versuchen"
MaxClientsPerHost       3 "Mehr als %m gleichzeitige Logins sind nicht erlaubt"
MaxLoginAttempts        3
TimeoutIdle     320
TimeoutNoTransfer       320
TimeoutStalled  320
DeferWelcome                    off
IdentLookups off
UseReverseDNS off
<IfModule mod_delay.c>
DelayEngine off
</IfModule>
TimesGMT                        off
SetEnv TZ :/etc/localtime
Port                            21
Umask                           022
MaxInstances                    10
ScoreboardFile /var/run/proftpd/scoreboard
TransferLog /usr/local/psa/var/log/xferlog
<Directory /var/www/vhosts>
        GroupOwner      psacln
</Directory>
# Enable PAM authentication
AuthPAM on
AuthPAMConfig proftpd
IdentLookups off
UseReverseDNS off
AuthGroupFile   /etc/group
Include /etc/proftpd.include
Thanx to all :)

DerFalk
tema
Forum User
Forum User
Posts: 18
Joined: Thu Jan 17, 2008 5:40 am
Location: London

Re: Problems after psa-proftpd update

Unread post by tema »

The problem seems to be the 'Quotas on' statement in our proftpd.incude file:

Mar 1 08:20:10 SERVER proftpd[30840]: Fatal: unknown configuration directive 'Quotas' on line 9 of '/etc/proftpd.include'

Is there something we've missed somewhere? Our proftpd.conf file all seems to be in order. We still have psa-proftpd-xinetd.x86_64 (1.3.1-cos5.build860807) installed on the server, will this make any difference?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Problems after psa-proftpd update

Unread post by scott »

Think ya lost me there, are you having this happen on psa-proftpd 1.3.1, or 1.3.2?
DerFalk
Forum User
Forum User
Posts: 35
Joined: Wed Jun 25, 2008 5:15 am
Location: Good old Germany

Re: Problems after psa-proftpd update

Unread post by DerFalk »

No, with the old version the login was <1 sec. ! How can i change back to the old version? with yum?
Thanx to all :)

DerFalk
hostingguy
Forum Regular
Forum Regular
Posts: 661
Joined: Mon Oct 29, 2007 6:51 pm

Re: Problems after psa-proftpd update

Unread post by hostingguy »

Ive recieved reports that with 1.3.2 ftp is no longer working. Ill provide more info more I can get to the office and investigate.
kwebdesign
Forum User
Forum User
Posts: 93
Joined: Sun Feb 13, 2005 2:24 pm
Location: TN

Re: Problems after psa-proftpd update

Unread post by kwebdesign »

I had the same problem after upgrading to psa-proftpd 1.3.2 - could not log in via FTP.

Removing the following lines from /etc/proftpd.include fixed it:

Code: Select all

        Quotas on
        QuotaType hard
        QuotaCalc off
Question is - am I now missing something for having removed these lines?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Problems after psa-proftpd update

Unread post by scott »

yeah hostingguy and I were digging into this earlier today. I *think* its because we're using Dag's design (who rocks. Its a fact.), and that in turn is using DSO's for components like quotas the same way apache does. We didn't get a chance to finish debugging it today, but we made progress.
DerFalk
Forum User
Forum User
Posts: 35
Joined: Wed Jun 25, 2008 5:15 am
Location: Good old Germany

Re: Problems after psa-proftpd update

Unread post by DerFalk »

after i copied the old proftpd (version 1.3.1) into /usr/sbin/ all Problems are gone ...
Thanx to all :)

DerFalk
hostingguy
Forum Regular
Forum Regular
Posts: 661
Joined: Mon Oct 29, 2007 6:51 pm

Re: Problems after psa-proftpd update

Unread post by hostingguy »

yeah I did the same thing, I just re-installed the old rpm to solve the issue.
Post Reply