cancel
Showing results for 
Search instead for 
Did you mean: 

samba problem

 
Rohit Nagare
Frequent Advisor

samba problem

Hi,

Today i have configured Samba server on my redhat linux 5, But when i gave the command as

#service smb restart
it gave the error as follows

[root@rhel5 /]# service msb restart
msb: unrecognized service

Can any one help

Thanks in advance
Rohit
6 REPLIES
Ivan Krastev
Honored Contributor

Re: samba problem

Yes, its a typo:
msb instead of smb :)

regards,
ivan
Rohit Nagare
Frequent Advisor

Re: samba problem

Thanks ivan

i have given the same command
#service smb restart

but the error is same

[root@rhel5 /]# service smb restart
smb: unrecognized service


Ivan Ferreira
Honored Contributor

Re: samba problem

Please post the output of:

rpm -qa | grep samba
ls -la /etc/rc.d/init.d/*smb*


Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Rohit Nagare
Frequent Advisor

Re: samba problem

Hi,
When i give the coomand as

#rpm -qa | grep samba

[root@rhel5]# rpm -qa | grep samba
samba-client-3.0.23c-2
samba-common-3.0.23c-2

But when given the command as

#ls -la /etc/rc.d/init.d/*smb*
#[root@rhel5 /]# ls -la /etc/rc.d/init.d/*smb*
ls: /etc/rc.d/init.d/*smb*: No such file or directory


Rohit
Ragu_3
Trusted Contributor

Re: samba problem

The samba server rpm package is not installed. Install that via Yum and then start the service, presently only the client package is put in.

Debian GNU/Linux for the Enterprise! Ask HP ...
Rohit Nagare
Frequent Advisor

Re: samba problem

Yes,

I Hvae installed samaba pacakage from rhel media and samba working fine.


Thanks for support
Rohit