-   Linux - Newbie (
-   -   Samba restart command? (

TSynergy 03-07-2005 07:10 PM

Samba restart command?

How do I restart samba.

I get the following response when I type 'samba restart' at the command line:
'samba: command not found'

Much thanks.

Emerson 03-07-2005 07:14 PM

You have to supply the path, like '/etc/init.d/samba restart'

Peacedog 03-07-2005 07:16 PM

What distro are you using? Try smbd restart.
good luck.

TSynergy 03-08-2005 08:11 PM

Thanks for your responses.

At the command line I typed /etc/samba/init.d samba restart and received the error message :
bash: samba: command not found

I also tried smbd and similarly its not found.

I even changed directory to samba folder but got the same error message.

When I typed /etc/init.d/samba restart, the error message is
'bash: /etc/init.d/samba: No such file or directory'

Any more suggestions?

I'm using Fedora Core2 and the Mozilla Firefox browser.

brainiac 03-08-2005 08:46 PM

On Fedora it is /etc/rc.d/init.d/smb restart , same for Mandrake and several others.

TSynergy 03-09-2005 01:13 PM


'/etc/rc.d/init.d/smb restart' worked.

Much thanks to you and the rest of the linux community.

Have yourself a great day!


All times are GMT -5. The time now is 11:13 PM.