LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-25-2004, 08:35 AM   #1
jfranks214
Member
 
Registered: Feb 2004
Distribution: OpenBSD, FreeBSD
Posts: 70

Rep: Reputation: 15
restart samba


SUSE Standard Server 8.0

Okay, so we've installed SUSE 8. The box is destined to be our intranet server, but right now we're just getting it up and running. Until now, it's been sitting outside the domain in it's own little workgroup. I aim to change that, and thus I edited the smb.conf file so that workgroup = <ourdomain>

I'm thinking this will at least be a start. But I figure I need to restart samba, and .... I don't know how. I know i don't need to reboot.... If anyone can give me a command I'd appreciate it.

I'm more used to Fedora and red Hat 9 where there is actually a graphical interface to do this. I don't know if this is a funtion of red hat or gnome.... but it was nice. Nonetheless it's time to start getting familiar with the shell and leave this gui behind so any help will be appreciated.

Jonathan
 
Old 03-25-2004, 08:53 AM   #2
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
Have you tried
Code:
path/to/samba restart
Baldrick
 
Old 03-25-2004, 08:56 AM   #3
jfranks214
Member
 
Registered: Feb 2004
Distribution: OpenBSD, FreeBSD
Posts: 70

Original Poster
Rep: Reputation: 15
sounds reasonable.... anybody know what the path is :-)
 
Old 03-25-2004, 08:59 AM   #4
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
You may not need the path. Just try it (as root of course). What's the worst that could happen?

btw, I don't have samba installed, but this should work.

Baldrick
 
Old 03-25-2004, 12:59 PM   #5
Big_Kahunaca
LQ Newbie
 
Registered: Sep 2003
Distribution: ArchLinux - x86-64
Posts: 5

Rep: Reputation: 0
Hey,

Try the following... (as root of course)

/usr/sbin/smbd restart

try it after that.

If it still isn't working, type this in as well...

/usr/sbin/nmbd restart

I believe you actually have to restart both services, but I could be wrong. Just try the Samba Daemon restart first.
 
Old 03-25-2004, 01:16 PM   #6
jsokko
Member
 
Registered: Mar 2004
Location: Phila, PA
Distribution: SuSE 9.0 / RH 9 / Slackware 9.1
Posts: 110

Rep: Reputation: 15
The path for the script is:

/etc/rc.d/

OR

/etc/init.d/

/etc/

so...

1. cd into the dir
2. .samba [stop][start][restart]



J
 
Old 03-28-2004, 07:47 PM   #7
Big_Kahunaca
LQ Newbie
 
Registered: Sep 2003
Distribution: ArchLinux - x86-64
Posts: 5

Rep: Reputation: 0
Yeah, jsokko is correct.

I typed in /etc/rc.d/init.d/smb restart and it did what you were looking for.

Sometimes the brain just don't work....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba restart command? TSynergy Linux - Newbie 5 03-09-2005 01:13 PM
Can't restart My samba AndreL Linux - Newbie 6 03-24-2004 10:24 PM
Samba - Start or Restart? Charlie Spencer Linux - Networking 5 11-22-2003 11:39 AM
How can I restart Samba? Spowy Linux - Newbie 2 09-15-2003 06:59 PM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 06:54 AM


All times are GMT -5. The time now is 01:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration