Proftp not accepting login

Discussion in 'Server Operation' started by shanta, Feb 17, 2008.

  1. shanta

    shanta New Member

    Hi

    I used used the tutorial to install ispconfig on debian 4 etch. This is on a Linux virtual server so some of the install is all ready done. So I fallowed the install from the base os install on. Ie using apt-get to get the files listed.

    There were a few files related to apache2 that were not in the archive.

    ISPconfig is configured by default is seems to the /etc/proftpd/proftpd.conf

    This file has look about normal with the final line.

    Include /etc/proftpd_ispconfig.conf

    This file dose not exist.

    Proftp works as I manually create a user and get ftp access to the server.

    Any Ideas on how to get ISPconfig to create access to ftp?

    Thanks
    Shanta
     
  2. falko

    falko Super Moderator

    What's in /etc/proftpd/proftpd.conf, and what's the output of
    Code:
    ls -l /etc
    ?
    Any errors in /home/admispconfig/ispconfig/ispconfig.log?
    What's the output of
    Code:
    ls -la /root/ispconfig
    ?
     
  3. shanta

    shanta New Member

    re: proftp not accepting l0gin

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

    ServerName "mail.computersystemconsulting.ca"
    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?page=details&ID=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>
    Include /etc/proftpd_ispconfig.conf
    mail:~# ls -l /etc
    total 714
    drwxr-xr-x 2 root root 1024 Feb 12 17:41 proftpd
    lrwxrwxrwx 1 root root 25 Jan 9 21:06 proftpd.conf -> /etc/proftpd/proftpd.conf
    -rw-r--r-- 1 root root 3889 Jan 9 22:34 proftpd.conf.orig
    -rw-r--r-- 1 root root 1009 Feb 16 23:43 proftpd_ispconfig.conf
    -rw-r--r-- 1 root root 1009 Feb 16 23:43 proftpd_ispconfig.conf~
    drwxr-xr-x 4 root root 1024 Feb 12 17:41 ssl
    -rw-r--r-- 1 root root 856 Feb 12 19:57 suphp.conf
    -rw-r--r-- 1 root root 813 Aug 8 2007 sysctl.conf
    -rw-r--r-- 1 root root 1614 Jul 30 2007 syslog.conf
    drwxr-xr-x 2 root root 1024 Feb 4 14:01 terminfo
    -rw-r--r-- 1 root root 16 Apr 9 2007 timezone
    -rw-r--r-- 1 root root 1260 Feb 25 2007 ucf.conf
    -rw-r--r-- 1 root root 805 Aug 6 2006 updatedb.conf
    -rw------- 1 root root 473 Jan 9 19:56 warnquota.conf
    drwxr-xr-x 2 root root 1024 Feb 12 17:40 webalizer
    -rw-r--r-- 1 root root 4221 Jun 28 2006 wgetrc


    mail:~# ls -la /root/ispconfig
    total 66
    drwxr-xr-x 9 root root 1024 Feb 16 23:43 .
    drwxr-xr-x 7 root root 1024 Feb 17 22:45 ..
    -rw-r--r-- 1 root root 8 Feb 16 23:43 .old_path_httpd_root
    -rwxr-xr-x 1 root root 34283 Feb 12 19:57 cronolog
    -rwxr-xr-x 1 root root 9673 Feb 12 19:57 cronosplit
    drwxr-xr-x 12 root root 1024 Feb 12 19:27 httpd
    drwxr-xr-x 15 root root 2048 Feb 12 19:57 isp
    drwxr-xr-x 6 root root 1024 Feb 12 19:25 openssl
    drwxr-xr-x 6 root root 1024 Feb 12 19:48 php
    drwxr-xr-x 4 root root 1024 Feb 12 19:57 scripts
    drwxr-xr-x 4 root root 1024 Feb 12 19:57 standard_cgis
    drwxr-xr-x 2 root root 1024 Feb 12 19:57 sv
    -rwx------ 1 root root 9389 Feb 12 19:57 uninstall
    mail:~#
     
  4. falko

    falko Super Moderator

    What happens when you comment out
    Code:
    Include /etc/proftpd_ispconfig.conf 
    in your proftpd.conf and restart Proftpd?
     
  5. shanta

    shanta New Member

    No change. I would assume that is proftpd_ispconfig.conf would be were ISPConfig puts the virtual users for proftpd. This file dose not exist on the server. ISPConfig Put the entry into the proftpd.cont but failed to create the proftpd_ispconfig.conf when it created the first virtual server for the site.

    Thanks
    Shanta
     
  6. falko

    falko Super Moderator

    But the file is existing...
     
  7. bigdavid889

    bigdavid889 New Member

    thanks a lot i could not ftp in to my server to upload any files now i can ftp login
     
  8. shanta

    shanta New Member

    No it dose not exist.

    shanta
     
  9. falko

    falko Super Moderator

    What's the output of
    Code:
    ls -l /etc/proftpd_ispconfig.conf
    ?
     

Share This Page