On Wed, Jul 22, 2009 at 10:52 AM, Tran Van Hung <tvhungsg@yahoo.com.vn> wrote:
Hello all!

I have met inform as following. I see that no smb on init.d folder.

[root@maychu1 home]# /etc/rc.d/init.d/smb start
bash: /etc/rc.d/init.d/smb: No such file or directory

Pls help me how to have smb on init.d folder? Thank you.

Thank you & Best Regards,

You probably do not have the samba package installed. You can do:

rpm -q samba

If no packages are listed, do:

yum -y install samba

This will install the samba package which contains the /etc/rc.d/init.d/smb script.

Instead of running the script directly, it's easier to do:

service smb start