Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th May 2007, 15:23
lyndros lyndros is offline
Senior Member
 
Join Date: Mar 2006
Location: Granada
Posts: 130
Thanks: 5
Thanked 3 Times in 2 Posts
Default proFtp takes long on requiring password ....?

hi guys im having problems working with the webs in my server, when i try to connect to my server then appears connected to xxxxx.com but password is require 12 o 14 seconds later... so many programs return "connection timeout", other services are working fine & fast...

another problem that i notice is if i make a backup throught ispconfig panel tool of all my web pages, and i try to download it, then takes to long to start the download and i received an erroneus 4kb long backup... the only way to save the backup is to save it on a ftp location...

what is happening, thnks in advanced...
Reply With Quote
Sponsored Links
  #2  
Old 16th May 2007, 17:22
punkpussy punkpussy is offline
Junior Member
 
Join Date: May 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Disable lookups

Hi,

Two common reasons for this are Ident lookups and reverse dns lookups.
To disable both functions add (or change) this to your proftpd.conf file:

IdentLookups off
UseReverseDNS off

Greetz
Reply With Quote
  #3  
Old 17th May 2007, 13:28
lyndros lyndros is offline
Senior Member
 
Join Date: Mar 2006
Location: Granada
Posts: 130
Thanks: 5
Thanked 3 Times in 2 Posts
Default

Quote:
Originally Posted by punkpussy
Hi,

Two common reasons for this are Ident lookups and reverse dns lookups.
To disable both functions add (or change) this to your proftpd.conf file:

IdentLookups off
UseReverseDNS off

Greetz
i apply this, but still having the same problem, any help would be appreciated

thnk u

see u

Last edited by lyndros; 17th May 2007 at 13:36.
Reply With Quote
  #4  
Old 17th May 2007, 15:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Which distribution do you use? Any errors in your logs?

Which ISPConfig version do you use?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 17th May 2007, 16:14
lyndros lyndros is offline
Senior Member
 
Join Date: Mar 2006
Location: Granada
Posts: 130
Thanks: 5
Thanked 3 Times in 2 Posts
Wink

Quote:
Originally Posted by falko
Which distribution do you use? Any errors in your logs?

Which ISPConfig version do you use?
Thks another time falko,

I'm using ispconfig 2.2.11 on LTS dapper 6.06, proftpd version 1.2.10,

my proftpd.conf looks like:

[...]

DefaultRoot ~
UseReverseDNS off
IdentLookups off
ServerIdent off
#ServerIdent on "FTP Server ready."

ServerName "Server"
ServerType standalone
DeferWelcome off

MultilineRFC2228 on
DefaultServer on
ShowSymlinks on

TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200

[...]

any idea?, i'll owe u more beers falko (i know u dont like them so i'll drink them all for u )

NB: JUST FIXED !!!

It seems that directives

IdentLookups off
ServerIdent off

Must be specified on proftpd_ispconfig.conf:

DefaultAddress 127.0.0.1
<VirtualHost 91.121.26.134>
DefaultRoot ~
IdentLookups off
ServerIdent off
AllowOverwrite on
Umask 002
</VirtualHost>

so virtualhost overrides default config section.

THK U ALL!

Last edited by lyndros; 17th May 2007 at 16:24.
Reply With Quote
The Following User Says Thank You to lyndros For This Useful Post:
Dennis (11th May 2008)
  #6  
Old 18th May 2007, 16:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by lyndros
It seems that directives

IdentLookups off
ServerIdent off

Must be specified on proftpd_ispconfig.conf:
Please add these directives to the proftpd_ispconfig.conf template in /root/ispconfig/isp/conf as well, or your changes in /etc/proftpd_ispconfig.conf will be overwritten by ISPConfig.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 11th May 2008, 02:10
Dennis Dennis is offline
Junior Member
 
Join Date: Sep 2007
Posts: 22
Thanks: 7
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by falko
Please add these directives to the proftpd_ispconfig.conf template in /root/ispconfig/isp/conf as well, or your changes in /etc/proftpd_ispconfig.conf will be overwritten by ISPConfig.
I think it is not necessary to add it to /root/ispconfig/isp/conf/proftpd_ispconfig.conf (by the way, my file is called proftpd_ispconfig.conf.master).

I have only added it to /etc/proftpd_ispconfig.conf and it works fine. Until now I always thought UseReverseDNS off is needed as well, but I have not added it to my file. I also did not use ServerIdent off. I only used IdentLookups off. And don' t forget to restart your ftp server (/etc/init.d/proftpd restart).

PS I neither had timeouts nor I had backup problems. I was only annoyed by slow ftp connect response.
Reply With Quote
  #8  
Old 14th May 2008, 05:33
Dennis Dennis is offline
Junior Member
 
Join Date: Sep 2007
Posts: 22
Thanks: 7
Thanked 2 Times in 2 Posts
 
Default

falko was right! You need to add it to the ispconfig template file or your changes will be overwritten the next time you add or update a site through ispconfig. It might be even better to copy the proftpd template file to /root/ispconfig/isp/conf/customized_templates and modify the copy.

proftpd_ispconfig.conf.master:
Code:
###################################
#
# ISPConfig proftpd Configuration File
#         Version 1.0
#
###################################

DefaultAddress 127.0.0.1

<!-- BEGIN DYNAMIC BLOCK: vhost -->
<VirtualHost {IP}>
        DefaultRoot             ~
        IdentLookups            off
        ServerIdent             on "FTP Server Ready"
        AllowOverwrite          on
        Umask                   002
        {ANON_FTP}
</VirtualHost>
<!-- END DYNAMIC BLOCK: vhost -->
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing password in MailUser takes a long time to update ghall General 3 29th November 2006 16:45
function make_vhost takes long time Grebog General 1 22nd June 2006 12:54
Where is the user password saved torusturtle Installation/Configuration 2 20th June 2006 14:40
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40
Details on problem /mailuser login and more (long) linutzy Installation/Configuration 11 15th February 2006 18:45


All times are GMT +2. The time now is 11:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.