LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-28-2001, 05:08 PM   #1
Steave
Member
 
Registered: Jul 2001
Location: Braunschweig, Germany
Distribution: Suse 7.2
Posts: 184

Rep: Reputation: 30
Lightbulb Restarting samba


What do I have to do so that samba rereads smb.conf?? I guess its not the smart way to kill the smbd daemon and then restart it?
 
Old 07-28-2001, 05:10 PM   #2
smurf
Member
 
Registered: Apr 2001
Posts: 113

Rep: Reputation: 15
All I know is to restart

The only way I thought there was, was to type

samba restart

If there is another way then it would be a big help

Cheers
 
Old 07-28-2001, 05:29 PM   #3
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
I've always done it by getting the PIDs of smbd and nmbd (using ps -ef | grep mb) and then send both processes a SIGHUP using kill -SIGHUP pid1 pid2.

cheers

Jamie...
 
Old 07-28-2001, 05:51 PM   #4
sancho5
Member
 
Registered: Jul 2001
Location: Utah
Distribution: RedHat v7.3, OpenBSD 3.3, FreeBSD 5.0
Posts: 327

Rep: Reputation: 30
I've done it a bit more simply, in redhat 7.1 you can do /etc/init.d/smb restart

just running the init script with a restart option - quick, clean, but is probably different in Suse...

HTH
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Restarting samba service dahoule Linux - Networking 13 12-11-2012 11:17 AM
restarting x jcombs_31 Slackware 3 12-27-2004 01:07 PM
Keeps Restarting NotSoSure123 Linux - Software 14 06-16-2004 02:17 AM
why is pcmcia restarting windowsrefund Red Hat 1 09-05-2003 06:29 AM
Restarting services... Norrin Linux - Newbie 2 09-03-2003 09:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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
Open Source Consulting | Domain Registration