Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: Problems getting pure-ftpd working in 11.4

  1. #1

    Default Problems getting pure-ftpd working in 11.4

    I got a new computer a couple weeks ago, and figured I may as well wait until 11.4 is released instead of putting on 113. and then upgrading in a few days. So, now that 11.4 is out, I've got it up and running and am trying to get everything installed and setup. I'm trying to get pure-ftpd up and running, butt have run into some issues.

    I've installed it, and it shows as running, but when I try to login in a terminal window, I get the following output:
    Code:
    naskie18@linux-2o57:~> ftp localhost
    Trying ::1...
    Connected to localhost.
    220-Welcome to Pure-FTPd.
    220-You are user number 1 of 50 allowed.
    220-Local time is now 12:06. Server port: 21.
    220 You will be disconnected after 15 minutes of inactivity.
    Name (localhost:naskie18): naskie18
    331 User naskie18 OK. Password required
    Password:
    530 Login authentication failed
    ftp: Login failed.
    When I try to login from another computer on my network, I get an "unable to connect" message.

    I've tried another username/password combination as well, I know I'm typing both passwords correctly, and both usernames are members of the _pure-ftpd group.

    Any help would be greatly appreciated.

    Thanks!

  2. #2
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,236

    Default Re: Problems getting pure-ftpd working in 11.4

    On 03/13/2011 11:36 AM, naskie18 wrote:
    >
    > I got a new computer a couple weeks ago, and figured I may as well wait
    > until 11.4 is released instead of putting on 113. and then upgrading in
    > a few days. So, now that 11.4 is out, I've got it up and running and am
    > trying to get everything installed and setup. I'm trying to get
    > pure-ftpd up and running, butt have run into some issues.
    >
    > I've installed it, and it shows as running, but when I try to login in
    > a terminal window, I get the following output:
    >
    > Code:
    > --------------------
    >
    > naskie18@linux-2o57:~> ftp localhost
    > Trying ::1...
    > Connected to localhost.
    > 220-Welcome to Pure-FTPd.
    > 220-You are user number 1 of 50 allowed.
    > 220-Local time is now 12:06. Server port: 21.
    > 220 You will be disconnected after 15 minutes of inactivity.
    > Name (localhost:naskie18): naskie18
    > 331 User naskie18 OK. Password required
    > Password:
    > 530 Login authentication failed
    > ftp: Login failed.
    >
    > --------------------
    >
    >
    > When I try to login from another computer on my network, I get an
    > "unable to connect" message.
    >
    > I've tried another username/password combination as well, I know I'm
    > typing both passwords correctly, and both usernames are members of the
    > _pure-ftpd group.
    >
    > Any help would be greatly appreciated.


    I don't know about the passwords, but the "unable to connect" is usually a
    firewall issue.

  3. #3

    Default Re: Problems getting pure-ftpd working in 11.4

    Quote Originally Posted by lwfinger View Post
    :[color=blue]
    I don't know about the passwords, but the "unable to connect" is usually a
    firewall issue.
    Good call, I'd forgotten about the firewall. I added pure-ftpd to the allowed programs and that's fixed the unable to connect errors.

    I'm still unable to login to the ftp server, however, regardless of what username I use, I still get the login failed errors mentioned in my first post.

    Any thoughts?

    Thanks.

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: Problems getting pure-ftpd working in 11.4

    Quote Originally Posted by naskie18 View Post
    Good call, I'd forgotten about the firewall. I added pure-ftpd to the allowed programs and that's fixed the unable to connect errors.

    I'm still unable to login to the ftp server, however, regardless of what username I use, I still get the login failed errors mentioned in my first post.

    Any thoughts?

    Thanks.
    IIRC PureFTP is supported by YAST.

    Should be as simple as
    - Install PureFTP from OSS
    - Open up YAST, you find an FTP Server icon which didn't exist before.

    When you configure in YAST, your SuSE FW and authentication issues should be addressed automatically.

    HTH,
    Tony

  5. #5

    Default Re: Problems getting pure-ftpd working in 11.4

    Quote Originally Posted by tsu2 View Post
    IIRC PureFTP is supported by YAST.

    Should be as simple as
    - Install PureFTP from OSS
    - Open up YAST, you find an FTP Server icon which didn't exist before.

    When you configure in YAST, your SuSE FW and authentication issues should be addressed automatically.

    HTH,
    Tony
    I installed it through YAST, but I don't have an FTP server icon in YAST. It shows up as a running process, and I can try to login through a terminal or through another computer and both see the server and verify the username is acceptable, but I still can't actually login, I continue to get "login failed" messages when it tries to verify the password.

  6. #6
    Join Date
    Aug 2008
    Location
    Behind the 8 ball
    Posts
    116

    Default Re: Problems getting pure-ftpd working in 11.4

    Create another FTP user account and try to login with it
    Code:
    pure-pw useradd -u <some_uid> -g <some_gid> -d </path/to/ftp_root/>

  7. #7

    Default Re: Problems getting pure-ftpd working in 11.4

    Quote Originally Posted by jthiatt08 View Post
    Create another FTP user account and try to login with it
    Code:
    pure-pw useradd -u <some_uid> -g <some_gid> -d </path/to/ftp_root/>
    Similar result:
    Code:
    Living-Room:/home/naskie18 # pure-pw useradd naskie18 -u 1000 -g 1000 -D /windows/D/
    Password: 
    Enter it again: 
    Living-Room:/home/naskie18 # ftp localhost
    Trying ::1...
    Connected to localhost.
    220-Welcome to Pure-FTPd.
    220-You are user number 1 of 10 allowed.
    220-Local time is now 21:38. Server port: 21.
    220-This is a private system - No anonymous login
    220 You will be disconnected after 15 minutes of inactivity.
    Name (localhost:naskie18): naskie18
    331 User naskie18 OK. Password required
    Password:
    530 Login authentication failed
    ftp: Login failed.
    ftp>
    Same results with another username and root

  8. #8
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    13,295
    Blog Entries
    2

    Default Re: Problems getting pure-ftpd working in 11.4

    Are you sure the logged in User has proper file permissions to that location? That would be typical of your problem, successfully logging into the app but unable to access files.
    What is your default FTP root directory? You can check, you need at least read and possibly write permissions on the directory and files for the specified User.

    BTW - I find it suspicious you didn't find an FTP Server icon in YAST > Network Services

    Tony

  9. #9
    Join Date
    Aug 2008
    Location
    Behind the 8 ball
    Posts
    116

    Default Re: Problems getting pure-ftpd working in 11.4

    Let's try to get some more logging.
    Edit the /etc/pure-ftpd/pure-ftpd.conf file, change the following.
    Set VerboseLog to "yes" and restart pure-ftpd
    Code:
    /etc/init.d/pure-ftpd restart
    Try logging in again the check /var/log/messages for errors.

    Hiatt

  10. #10

    Default Re: Problems getting pure-ftpd working in 11.4

    I am having the same problem. I been using pure-ftpd from suse 10 to 11.2, never had such weird problem. Don't worry about firewall, and those things, I already checked. Still keep getting 530 authentication error. But, I installed on several machines, not happening on everyone, it's just weird. I suggest you guys install pure-ftpd and try it, it's very easy to see.

    In general, I just don't feel 11.4 is robust enough to use. Before 11.2, never had so much stability issues. Starting from 11.3, it gets all the random freeze (still happens in 11.4). I have been looking forward to upgrading my system, and each time, I had to downgrade to 11.2 because of all these issues :-( It looks as though I would have to wait for 11.5 this time.

Page 1 of 4 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •