System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring samba and ftp package in RHEL 5

 
Rohit Nagare
Frequent Advisor

Configuring samba and ftp package in RHEL 5

Hi Friends,

i have made new RHEL5 32 bit server
but now i want to configure ftp and
samba on the same server.
when i give the command as
#service smb restart
it gives error as
smb: unrecognized service

and same with ftp
#service vsftpd start
it gives the error as
vsftpd: unrecognized service

please help


Rohit
9 REPLIES
Michal Kapalka (mikap)
Honored Contributor

Re: Configuring samba and ftp package in RHEL 5

hi,

you dont have installed this services.

mikap
Rohit Nagare
Frequent Advisor

Re: Configuring samba and ftp package in RHEL 5

Hi Michal,

i think this must have got installed while installing RHEL5 but am in a dout .
could u help me.


Rohit
Michal Kapalka (mikap)
Honored Contributor

Re: Configuring samba and ftp package in RHEL 5

hi,

check this :

[root@tux-nagios ~]# rpm -qa samba vsftpd
samba-3.0.28-1.el5_2.1
vsftpd-2.0.5-12.el5

[root@tux-nagios ~]# /sbin/chkconfig --list |grep -i -e ftp -e smb
error reading info for service vxsmfd: No such file or directory
smb 0:off 1:off 2:off 3:on 4:off 5:off 6:off
vsftpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
gssftp: off

how to install packages via up2date

http://www.cyberciti.biz/faq/howto-use-up2date-command/

how to install pacages via yum

http://www.cyberciti.biz/faq/rhel-centos-fedora-linux-yum-command-howto/

BTW : How Do I Assign Points?

http://forums11.itrc.hp.com/service/forums/helptips.do?#33

mikap
Rohit Nagare
Frequent Advisor

Re: Configuring samba and ftp package in RHEL 5

i have given the following commands

#rpm -qa samba vsftpd
but it dose not give any output. I have tried.
#rpm -qa samba

And

#rpm -qa vsftpd

it dose not show any out pit

Rohit
J. Maestre
Honored Contributor

Re: Configuring samba and ftp package in RHEL 5

You don't get any output because you don't have those packages installed.

Follow the guides Michal posted to install them.
Rohit Nagare
Frequent Advisor

Re: Configuring samba and ftp package in RHEL 5

Hi Michal good morning,
I have a RHEL5 Media hot to install pacgages like FTP and SAMBA from RHEL5 Media.



Thanks

Rohit
Michal Kapalka (mikap)
Honored Contributor

Re: Configuring samba and ftp package in RHEL 5

hi,

man rpm

rpm -iv /full_path_to_the_packages/samba*


i think you need to resolve some dependency.

mikap
Horia Chirculescu
Honored Contributor

Re: Configuring samba and ftp package in RHEL 5

RHEL 5 has an utility called yum.

http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.2/html/Deployment_Guide/c1-yum.html

Using this you can simply run as root:

yum install vsftp

yum install samba

Best regards,
Horia
Best regards from Romania,
Horia.
Rohit Nagare
Frequent Advisor

Re: Configuring samba and ftp package in RHEL 5

hi frnds thanks for the support wich helpme to install FTP on rehl.