unable to setup ftp in rhel5
Hi there,
I have installed vsftpd (version0.9.1) package in my rhel5 server, however i am not able to start or stop my vsftpd service since the script is not available in the path /etc/init.d/ . I am now able to ftp to my server but cant login as root.There are no ftpusers/ftpuser-list files preset in /etc directory to remove the root user entry. Please guide me to resolve this problem.Thanks. Sree |
if there is no init script, then it sounds like you installed from source. Any reason for this? remove it - "make uninstall" in the dir you built it, and run "yum install vsftpd" and that'll install it properly with all redhat specific adjustments.
|
Quote:
for your second question that you are unable to login as root then let me inform you in ftp server as per my knowldege root are not allowed to login and the location of ftpusers file is Code:
#cat /etc/vsftpd/ftpusers |
Chris,
Well, i have no RHN connectivity,hence cant use yum utility. so the '.rpm' was downloaded and installed explicitly.No compilation have been made. It seems the installation is not done properly.Can you provide me the link where i can download rpm file for vsftpd for rhel5-32 bit operating system.I could find only the one which i currently installed. Thanks. Sree |
if you have no RHN subscription, you have no business running redhat in the first place. You should consider converting it to CentOS. http://www.unixmen.com/how-to-jul-co...5-to-centos-5/
|
Look for the package in the DVD which you used to install your RHEL
or try this link ftp://ftp.redhat.com/redhat/linux/en...r/en/os/SRPMS/ but if you opt for rpm you will end up with lack of dependency so it is better configure yum using all the packages available in the RHEL DVD |
deepak,
There are only 2 files resides in /etc/vsftpd ,chroot_list and email_list.ftpusers file is not available anywhere in the server. sree |
just make your own, it's not exactly a complicated file.
|
Quote:
Code:
#which ftp copy all the RPMS from the source dvd to any directory and configure yum if you want any help in configuring yum then look on google how to configure yum in linux I am sure you will end with a lot of results this is the only way to work around if you dont have RHN support |
what is this "FTP" for?
i dont use any FTP package, instead i used the FTP subsystem in sshd, so i SFTP to the box when i need to move stuff on/off. |
Quote:
Quote:
sree.m, if you are not paying for RedHat, YOU SHOULD NOT BE USING IT. You can 'work around' a repository issue and get things working, but you are then ignoring the fact that you won't get bugfixes, security updates/patches, kernel updates, etc., etc....ANYTHING that you'll need to keep a server running long term. Load CentOS instead, and you'll have a system that's 99.x% identical to RHEL, but have access to everything, including yum. You can just put your installation DVD in, and search for the vsftpd package, and install it with "rpm -i <package name>", then check Google for one of MANY tutorials on how to configure it. |
Quote:
|
Quote:
Look these things up on Google: http://fedoraproject.org/wiki/Red_Ha...prise_Linux.3F |
yes, i fully understand the rapid dev of FC, but isnt RHEL based on FC? (plus, RH sponsors FC).
http://fedoraproject.org/wiki/Red_Ha...prise_Linux.3F and btw, if you want RHEL w/o paying for support then download the free OEL. OEL is built by Oracle and not a community like FC or centOS. sorry, i went off topic. @OP - pick a free/stable distro that you can update. |
Quote:
RedHat 'sponsors' Fedora, to test/build new modules and other things. Those may (or may NOT) be included in RHEL, and if they are, may not have the same features. The two are very different, period. They are not compatible from a yum perspective. You *MAY* be able to shoehorn a Fedora repo onto RHEL, but all you'll really do is make the RHEL system unstable, and probably cause damage. |
All times are GMT -5. The time now is 07:16 PM. |