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.
...
- 07-27-2011 #1Just 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
- 07-27-2011 #2Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
What are the problems with vsftpd that you are experiencing?
Have you started it?
Check that it is listening:Code:service vsftpd start
Have you added a user account (can't use root by default)?Code:netstat -tulnp|grep :21
Can you connect to the FTP server locally?Code:useradd -g users ftpuser echo YOURPASSWORD|passwd --stdin ftpuser
If not, what errors do you get?Code:ftp localhost
Is the firewall interfering? Disable it temporarily:
Code:service iptables stop
- 07-27-2011 #3Just Joined!
- Join Date
- Jun 2011
- Posts
- 30
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.
- 07-27-2011 #4Just 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:
Checkout:Code:service vsftpd start [ok]
Have you added a user account (can't use root by default)?Code:netstat -tulnp|grep :21 tcp 0 0 0.0.0.0:21 0.0.0.0:* LIST
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
How do I fix this?Code:ftp localhost bash: ftp: no se encontró la orden
- 07-28-2011 #5Just Joined!
- Join Date
- Jun 2011
- Posts
- 30
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 yumCan you connect to the FTP server locally?
No, I cant connect my local server
How do I fix this?Code:ftp localhost bash: ftp: no se encontró la orden
Code:$> yum install ftp
- 07-28-2011 #6Just Joined!
- Join Date
- Jul 2011
- Posts
- 4
When I digit the code
The result is:Code:$> yum install ftp
[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::..
- 07-28-2011 #7Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
That is odd! Is your yum setup working?
Double-check that ftp is not already installed:Code:yum repolist yum list available
Is your PATH screwed up?Code:rpm -qV ftp which ftp whereis ftp ls -l /usr/bin/ftp
Code:echo $PATH
- 07-29-2011 #8Just Joined!
- Join Date
- Jul 2011
- Posts
- 4
Hello Atreyu.
These are the results:
ftp check :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
PATH screwedCode:[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
Code:echo $PATH /usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/root/bin
- 07-29-2011 #9Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
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
- 08-15-2011 #10Just Joined!
- Join Date
- Aug 2011
- Posts
- 5
is selinux enabled? to find out type
if SElinux is enabled you will need to runCode:sestatus
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 withCode:setsebool -P ftp_home_dir=1
you can check to see if its set to start up on boot (depending on the run level ) withCode:chkconfig vsftpd on 3
which will display something like this..Code:chkconfig vsftpd --list
Code:[root@localhost ~]# chkconfig vsftpd --list vsftpd 0:off 1:off 2:off 3:on 4:off 5:off 6:off


Reply With Quote
