[CentOS] Need help on start samba

Wed Jul 22 15:09:55 UTC 2009
Kwan Lowe <kwan.lowe at gmail.com>

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

> Hello all!
>
> I have met inform as following. I see that no smb on init.d folder.
>
> [root at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20090722/543fac7e/attachment-0005.html>