LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Samba restart command? (https://www.linuxquestions.org/questions/linux-newbie-8/samba-restart-command-298878/)

TSynergy 03-07-2005 06:10 PM

Samba restart command?
 
Hi

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.
Tj

Emerson 03-07-2005 06:14 PM

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

Peacedog 03-07-2005 06:16 PM

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

TSynergy 03-08-2005 07:11 PM

Hi
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 07:46 PM

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

TSynergy 03-09-2005 12:13 PM

SUCCESS!

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

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

Have yourself a great day!

Tj


All times are GMT -5. The time now is 05:08 PM.