LinuxQuestions.org
Help answer threads with 0 replies.
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-24-2004, 11:22 AM   #1
AndreL
Member
 
Registered: Feb 2004
Distribution: RH 7.3
Posts: 56

Rep: Reputation: 15
Can't restart My samba


I just edited my smb.config file and saved it with
[share]
comment = share
path = /path/to/share
public = yes
browsable = yes
writeable = yes

then I close the gedit of the file and type:
service smb restart

and it returned "smb: unrecognzied service"

Since I was able to edit the smb.conf file don't I have samba. Or do I have it and its not started cause I ran nsysy or something like that where I think you can acctivate and deactivate your servaces but I didn't see smb service. so what does this mean. Help me out

Thak in Adv ...
 
Old 03-24-2004, 11:54 AM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
the service has to be started and running before you can restart it.
 
Old 03-24-2004, 01:30 PM   #3
AndreL
Member
 
Registered: Feb 2004
Distribution: RH 7.3
Posts: 56

Original Poster
Rep: Reputation: 15
how do I start it to used and restarted
 
Old 03-24-2004, 01:41 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
smbd start
nmbd start
 
Old 03-24-2004, 02:00 PM   #5
AndreL
Member
 
Registered: Feb 2004
Distribution: RH 7.3
Posts: 56

Original Poster
Rep: Reputation: 15
error message:
bash:smbd, nmbd command not found
 
Old 03-24-2004, 05:44 PM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
you have to issue those commands as su.
 
Old 03-24-2004, 09:24 PM   #7
fizazz88
Member
 
Registered: Mar 2004
Distribution: Win Me|Win2K|WinXP|SuSE7.2 x3|RH 3.0 WS
Posts: 32

Rep: Reputation: 15
...or you can run

/etc/init.d/smb start

and that will start both smbd and nmbd at once.

And yes. Must "su" and also make sure the path is set correctly (I just type the whole path all the time because I am just inefficient like that).
 
  


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 12:13 PM
restart samba jfranks214 Linux - Newbie 6 03-28-2004 06:47 PM
Samba - Start or Restart? Charlie Spencer Linux - Networking 5 11-22-2003 10:39 AM
How can I restart Samba? Spowy Linux - Newbie 2 09-15-2003 05:59 PM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM


All times are GMT -5. The time now is 08:14 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