+ Post New Thread
Results 1 to 11 of 11
*nix Thread, vsftpd help in Technical; Hi all, As some of you know (as you have helped me) I am looking at Ubuntu Server. I have ...
  1. #1

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241

    vsftpd help

    Hi all,

    As some of you know (as you have helped me) I am looking at Ubuntu Server. I have successfully set up a LAMP server, but wanted to put FTP on also - vsftpd.

    The www dir is /var/www. I have created a group ftp-users and made the member 0001 a member. This group has chmod 750 over the www folder - root is owner.

    When I try to ftp in, using 0001 and the password for that user I get a 500 error - cannot change home directory. A Google search showed many things, alot of which was for RedHat, but I just don't understand them.

    Can anybody help translate this error into English and maybe suggest what the issue is? (I'm looking for you webman!)

    Thanks,

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,808
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Does the users home directory exist?

  3. #3

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    Yes, I manually created it.

  4. #4

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,531
    Thank Post
    1,341
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    I find that proftpd "just works" straight after installing it. Ive not needed to look at any other.

  5. #5

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    Installed it. Getting this error:
    an't establish connection --> 10.33.225.237:21 @ Fri Jun 20 15:28:10 2008 (10054-38)
    An existing connection was forcibly closed by the remote host.

    I uninstalled the vsftpd before i installed proftpd.

  6. #6

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,531
    Thank Post
    1,341
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    try testing it on the server thats running it

    from command line:

    ftp localhost

    user <username>

    password <pass>

    see if that works

  7. #7

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    ftp: connect: Connection refused

    That appears after I enter ftp localhost - doesn't let me try user and password/

  8. #8

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,531
    Thank Post
    1,341
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    have you started the proftpd service after installing it?

    sudo /etc/init.d/proftpd start

  9. #9

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    Yeah, tried that - came up with:

    ProFTPd is started from inetd/xinetd.

    Me being a novice didn't have a clue what that means.

  10. #10

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,531
    Thank Post
    1,341
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    It means, ( I think ) that inetd/xinetd will start a new proftpd thread for each user

    Have you got either inetd/xinetd installed?

    I cant remember if it gets intstalled as part of the server installation

  11. #11

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,531
    Thank Post
    1,341
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    cp /etc/proftpd/proftpd.conf.sample /etc/proftpd/proftpd.conf

    you might need to do that too

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 1
    Last Post: 12th January 2008, 12:53 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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