Problem with pure-ftp config?

Discussion in 'Installation/Configuration' started by ejg, Nov 17, 2011.

  1. ejg

    ejg New Member

    when I log on to the server via ftp with a username and password (ftp user created in ISPConfig 3.04) I see the following:

    Connected to <url>
    220 FTP version 1.0 ready at Thu Nov 17 22:37:30 2011
    User (<url:mad:none)): <username>
    331 Enter PASS command
    Password:
    230 Logged in
    ftp> ls
    200 Port command okay
    150 Opening data connection for LIST
    --w--w--w- 1 owner group 3554844 Feb 20 16:32 ras
    -rw-rw-rw- 1 owner group 393216 Nov 17 21: 3 rom-0
    226 File sent OK
    ftp: 130 bytes received in 0,00Seconds 65,00Kbytes/sec.

    It seems like the ftp server is not redirecting to the correct folder. I am not even sure what I am looking at here in regards of location.

    My guess is that something is wrong in the pure-ftpd setup, but I cannot find out what.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Does the FTP username that you used to login to the server exist as Linux user in /etc/passwd?
     
  3. ejg

    ejg New Member

    the user does not exist as a normal linux user in etc/passwd. But when I ftp using a regular Linux user I get the same result ((2 files?): ras and rom-0)
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Which tutorial did you use to prepare your server for the ISPConfig installation?
     
  5. ejg

    ejg New Member

    The Perfect Server – CentOS 5.2 [ISPConfig 3]
     
  6. ejg

    ejg New Member

    Seems I am able to ftp to the ip-address from the local network, so I will investigate further on the firewall.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    It seems as if your pure-ftpd authenticates against a ssh user and not a virtual user from ispconfig. I guess there must be a user in /etc/passwd with that name or in another config source from pure-ftpd beside the ispconfig database. Please post the output of:

    grep username /etc/passwd

    and this was a fresh install of Centos where pure-ftpd was not configured before or any other controlpanel installed?
     
  8. ejg

    ejg New Member

    Hi Till, it seemed something was changed on the firewall. after reinstating the rules on the firewall it works as expected. thanks for the help
     
: ftp

Share This Page