Find the answer to your Linux question:
Results 1 to 10 of 10
hello I'm new with Linux OS and I need help. I installed Red Hat Enterprise Server 6 for testing and really like. but have some problems with the vsftp server. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2011
    Posts
    4

    FTP User Login


    hello
    I'm new with Linux OS and I need help.

    I installed Red Hat Enterprise Server 6 for testing and really like. but have some problems with the vsftp server.

    I have a video recorder which stores the video on my PC and do it with filezilla ftp windows. but now I have to store the videos on Red Hat 6.

    How I can do it with vsftpd?
    Is there another ftp server for Red Hat 6?

    thanks

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    What are the problems with vsftpd that you are experiencing?

    Have you started it?

    Code:
    service vsftpd start
    Check that it is listening:

    Code:
    netstat -tulnp|grep :21
    Have you added a user account (can't use root by default)?
    Code:
    useradd -g users ftpuser
    echo YOURPASSWORD|passwd --stdin ftpuser
    Can you connect to the FTP server locally?

    Code:
    ftp localhost
    If not, what errors do you get?

    Is the firewall interfering? Disable it temporarily:

    Code:
    service iptables stop

  3. #3
    Just Joined!
    Join Date
    Jun 2011
    Location
    Belgium
    Posts
    84
    Quote Originally Posted by bmf360 View Post
    hello
    ...
    Is there another ftp server for Red Hat 6?
    thanks
    Hi,

    I think vsftp is the most popular ftp server for Linux. Fedora (and certainly also Red Hat) have two other packages: ProFTPD Project: Home (an apache-like ftpserver) and Pure-FTPd (a lightweight FTP server). Both servers can be installed with yum

    I only have experiences with vsftpd.

  4. #4
    Just Joined!
    Join Date
    Jul 2011
    Posts
    4
    The ftp server is already running, but I can not make user permissions.

    When I enter my server it asks me username and password, I digit and not let me in.


    Server Startup:
    Code:
    service vsftpd start    [ok]
    Checkout:
    Code:
    netstat -tulnp|grep :21
    tcp        0      0 0.0.0.0:21                  0.0.0.0:*                   LIST
    Have you added a user account (can't use root by default)?
    yes, I have my test user to the directory / home / bmf

    Can you connect to the FTP server locally?
    No, I cant connect my local server
    Code:
    ftp localhost
    bash: ftp: no se encontró la orden
    How do I fix this?

  5. #5
    Just Joined!
    Join Date
    Jun 2011
    Location
    Belgium
    Posts
    84
    Can you connect to the FTP server locally?
    No, I cant connect my local server
    Code:
    ftp localhost
    bash: ftp: no se encontró la orden
    How do I fix this?
    It seems that you don't have the client FTP application (translation Spanish to English: bash: ftp: command not found). You can install it with yum
    Code:
    $> yum install ftp

  6. #6
    Just Joined!
    Join Date
    Jul 2011
    Posts
    4
    When I digit the code
    Code:
    $> yum install ftp
    The result is:
    [root@wowzalinux ~]# yum install ftp
    Loaded plugins: product-id, refresh-packagekit, subscription-manager
    Updating Red Hat repositories.
    Setting up Install Process
    No package ftp available.
    Error: Nothing to do


    ..::Thanks for your help::..

  7. #7
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    That is odd! Is your yum setup working?

    Code:
    yum repolist
    yum list available
    Double-check that ftp is not already installed:
    Code:
    rpm -qV ftp
    which ftp
    whereis ftp
    ls -l /usr/bin/ftp
    Is your PATH screwed up?
    Code:
    echo $PATH

  8. #8
    Just Joined!
    Join Date
    Jul 2011
    Posts
    4
    Hello Atreyu.

    These are the results:

    Code:
    [root@wowzalinux ~]# yum repolist
    Loaded plugins: product-id, refresh-packagekit, subscription-manager
    Updating Red Hat repositories.
    repo id        repo name                                                  status
    NCSUopenoffice NCSUopenoffice for Enterprise Linux 6Server - x86_64 - Bas    10
    rpmforge       RHEL 6Server - RPMforge.net - dag                          12097
    repolist: 12107
    ftp check :
    Code:
    [root@wowzalinux ~]# rpm -qV ftp
    el paquete ftp no está instalado
    
    [root@wowzalinux ~]# which ftp
    /usr/bin/which: no ftp in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/root/bin)
    
    [root@wowzalinux ~]# whereis ftp
    ftp:
    
    [root@wowzalinux ~]# ls -l /usr/bin/ftp
    ls: no se puede acceder a /usr/bin/ftp: No existe el fichero o el directorio
    PATH screwed
    Code:
    echo $PATH
    /usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/root/bin

  9. #9
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Do you have the original RHEL 6 installation media? If so, install the ftp package from there. I'm guessing you do not have a RH subscription set up on that box.

    Mount the media and do something like:

    Code:
    rpm -ivh /mnt/rhel6dvd/Server/ftp-[0-9].*.rpm

  10. #10
    Just Joined!
    Join Date
    Aug 2011
    Posts
    5
    is selinux enabled? to find out type
    Code:
    sestatus
    if SElinux is enabled you will need to run
    Code:
    setsebool -P ftp_home_dir=1
    and if you have rebooted the server since messing with it, the service will probably be off unless you tell it to run on start up with
    Code:
    chkconfig vsftpd on 3
    you can check to see if its set to start up on boot (depending on the run level ) with
    Code:
    chkconfig vsftpd --list
    which will display something like this..
    Code:
    [root@localhost ~]# chkconfig vsftpd --list
    vsftpd          0:off   1:off   2:off    3:on    4:off    5:off    6:off

Posting Permissions

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