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 4th May 2007, 18:24
Toyer Toyer is offline
Junior Member
 
Join Date: May 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default ProFTP login not possible

Hi Guys,

Users can't log in via FTP (530 Login incorrect) even though FTP is active for their user accounts in ISPConfig. System is Debian Etch.

proftpd.conf
Quote:
#
# Includes required DSO modules. This is mandatory in proftpd 1.3
#
Include /etc/proftpd/modules.conf

#
# /etc/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
#

ServerName "web1"
ServerType standalone
DeferWelcome off

MultilineRFC2228 on
DefaultServer on
ShowSymlinks on

TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200

DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"

DenyFilter \*.*/

# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd off

# Uncomment this if you would use TLS module:
#TLSEngine on

# Uncomment this if you would use quota module:
#Quotas on

# Uncomment this if you would use ratio module:
#Ratios on

# Port 21 is the standard FTP port.
Port 21

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30

# Set the user and group that the server normally runs at.
User nobody
Group nogroup

# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 022 022
# Normally, we want files to be overwriteable.
AllowOverwrite on

# Delay engine reduces impact of the so-called Timing Attack described in
# http://security.lss.hr/index.php?pag...LSS-2004-10-02
# It is on by default.
#DelayEngine off

# A basic anonymous configuration, no upload directories.

# <Anonymous ~ftp>
# User ftp
# Group nogroup
# # We want clients to be able to login with "anonymous" as well as "ftp"
# UserAlias anonymous ftp
# # Cosmetic changes, all files belongs to ftp user
# DirFakeUser on ftp
# DirFakeGroup on ftp
#
# RequireValidShell off
#
# # Limit the maximum number of anonymous logins
# MaxClients 10
#
# # We want 'welcome.msg' displayed at login, and '.message' displayed
# # in each newly chdired directory.
# DisplayLogin welcome.msg
# DisplayFirstChdir .message
#
# # Limit WRITE everywhere in the anonymous chroot
# <Directory *>
# <Limit WRITE>
# DenyAll
# </Limit>
# </Directory>
#
# # Uncomment this if you're brave.
# # <Directory incoming>
# # # Umask 022 is a good standard umask to prevent new files and dirs
# # # (second parm) from being group and world writable.
# # Umask 022 022
# # <Limit READ WRITE>
# # DenyAll
# # </Limit>
# # <Limit STOR>
# # AllowAll
# # </Limit>
# # </Directory>
#
# </Anonymous>
DefaultRoot ~
IdentLookups off
ServerIdent on "FTP Server ready."

<VirtualHost 127.0.0.1>
DefaultRoot ~
AllowOverwrite on
Umask 002
</VirtualHost>

Include /etc/proftpd_ispconfig.conf
In my opinion the problem is that no new entries are generated in /etc/passwd. Existing Users in /etc/passwd CAN successfully log in.

Last edited by Toyer; 4th May 2007 at 18:28.
Reply With Quote
Sponsored Links
  #2  
Old 5th May 2007, 14:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,796
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

Quote:
Originally Posted by daviddenheijer
I had the same problem on ubuntu 7.04...
Now i'm instaling the ispconfig program on debian ETCH(4.0)
I hope this wil better work...
If it don't can some one help us?
Why do you reinstall? ISPConfig works perfectly on Ubuntu 7.04, it would have been easier to find the problem then reinstalling. But thats your decision
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 5th May 2007, 14:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,796
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

Quote:
Originally Posted by Toyer
Hi Guys,

Users can't log in via FTP (530 Login incorrect) even though FTP is active for their user accounts in ISPConfig. System is Debian Etch.

proftpd.conf


In my opinion the problem is that no new entries are generated in /etc/passwd. Existing Users in /etc/passwd CAN successfully log in.
Are there any errors in the logfile /home/admispconfig/ispconfig/ispconfig.log ?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 5th May 2007, 17:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

What's the output of
Code:
ls -la /root/ispconfig
and
Code:
df -h
?
__________________
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 6th May 2007, 08:58
Toyer Toyer is offline
Junior Member
 
Join Date: May 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No Errors only bunch of these

Quote:
04.05.2007 - 17:06:36 => DEBUG - Login fehlgeschlagen als User: Kunde4 <a href='https://10.0.0.60:81/isp_file/logout.php?'><br><br>Weiter >></a>
04.05.2007 - 17:06:37 => DEBUG - Login fehlgeschlagen als User: Kunde4 <a href='https://10.0.0.60:81/isp_file/logout.php?'><br><br>Weiter >></a>

ls -la /root/ispconfig gives

Quote:
drwxr-xr-x 9 root root 4096 2007-05-04 17:05 .
drwxr-xr-x 6 root root 4096 2007-05-04 12:59 ..
-rwxr-xr-x 1 root root 34866 2007-05-04 13:02 cronolog
-rwxr-xr-x 1 root root 9673 2007-05-04 13:02 cronosplit
drwxr-xr-x 12 root root 4096 2007-05-04 12:27 httpd
drwxr-xr-x 14 root root 4096 2007-05-04 13:02 isp
-rw-r--r-- 1 root root 8 2007-05-04 17:05 .old_path_httpd_root
drwxr-xr-x 6 root root 4096 2007-05-04 12:24 openssl
drwxr-xr-x 6 root root 4096 2007-05-04 12:59 php
drwxr-xr-x 4 root root 4096 2007-05-04 13:02 scripts
drwxr-xr-x 4 root root 4096 2007-05-04 13:02 standard_cgis
drwxr-xr-x 2 root root 4096 2007-05-04 13:02 sv
-rwx------ 1 root root 9389 2007-05-04 13:02 uninstall
df -h outputs
Quote:
web1:~# df -h
Dateisystem Gre Benut Verf Ben% Eingehngt auf
/dev/sda1 32G 1,2G 30G 4% /
tmpfs 253M 0 253M 0% /lib/init/rw
tmpfs 253M 0 253M 0% /dev/shm
/dev/sdb1 34G 1,7G 31G 6% /var
Reply With Quote
  #6  
Old 6th May 2007, 12:40
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,796
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

Does the FTP users exist in /etc/passwd? Please post the line from /etc/passwd which contains the username.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 6th May 2007, 18:13
Toyer Toyer is offline
Junior Member
 
Join Date: May 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have the following ftp related entries in /etc/passwd (wonder why there is a user proftpd....)

Quote:
proftpd:x:106:65534::/var/run/proftpd:/bin/false
ftp:x:103:65534::/home/ftp:/bin/false
Reply With Quote
  #8  
Old 7th May 2007, 13:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by Toyer
I have the following ftp related entries in /etc/passwd (wonder why there is a user proftpd....)
Till meant the username that you try to log in with (e.g. web1_someuser or something like that).
__________________
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
  #9  
Old 7th May 2007, 17:06
Toyer Toyer is offline
Junior Member
 
Join Date: May 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No i don't have any of these users in /etc/passwd. As I stated in an earlier post (probably not clear enough as english is not my mothertongue) this is IMHO the source of the problem. New users are not added to /etc/passwd. The big question is why and what to do about that
Reply With Quote
  #10  
Old 8th May 2007, 09:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,796
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
 
Default

Do you egt any errors when you execute:

rm -f /root/ispconfig/.ispconfig_lock
/root/ispconfig/php/php -q /root/ispconfig/scripts/writeconf.php
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Email not going out! cybereatl Installation/Configuration 12 28th February 2007 15:02
Unable to authenticate to SMTP server ashkev Installation/Configuration 15 6th February 2007 18:46
ProFTP cannot login with 3rd party utils. jenjen Installation/Configuration 17 4th August 2006 14:34
kann keine mails empfangen odin1 Installation/Configuration 5 6th July 2006 13:13
Total Frustration-HELP palkat Installation/Configuration 17 3rd September 2005 18:28


All times are GMT +2. The time now is 04:07.


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