Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-20-2012, 11:46 AM   #1
Registered: May 2007
Posts: 400

Rep: Reputation: 19
Samba won't start/stop via webmin -- Ubuntu 12.04

I have a vps with Ubuntu 12.04 that I'm in the process of configuring. I have configued samba and been able to mount a share from my local computer to my samba share on my remote vps.

The issue is that when I go into the Samba server module and I click start, stop or restart it has no effect what so ever. I can ssh into the terminal and run $ sudo service smbd start and that will work (as well as stop/restart). However it will not work within Webmin.

I then went to the module configuration and changed the start command to: service smbd start and the same for the stop command (with "stop" though).

I then when to System > Running processes and saw that smbd is running however the list is showing "is running now" as NO. I click the start/stop button within this section and it doesn't work again.

Can anyone please help me figure this out?

Webmin 1.5.9
Ubuntu 12.04
Old 09-21-2012, 08:46 AM   #2
Registered: May 2007
Posts: 400

Original Poster
Rep: Reputation: 19
In case anyon is having this problem, I was able to fix it by changing the start and stop commands within Webmin to:

service smbd start
service smbd stop

Once I did that I went into the bootup section and I set it to run on boot.

It still didn't work but once I rebooted the server it was working correctly.
1 members found this post helpful.
Old 02-23-2015, 01:21 PM   #3
LQ Newbie
Registered: Feb 2015
Posts: 1

Rep: Reputation: Disabled
I registered just to say that on ubuntu 14.04.2 this fix still works. Thanks for posting your solution.
1 members found this post helpful.
Old 04-30-2015, 02:07 PM   #4
LQ Newbie
Registered: Oct 2005
Posts: 11

Rep: Reputation: 0
I can confirm with MrsAngelD - Thanks Jim!


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
Start/stop/update scripts do not work over webmin. Terroth Linux - General 3 02-23-2006 11:46 PM
Samba Won't start or stop SBFree Linux - Newbie 1 12-28-2005 08:08 AM
Webmin, Mandrake 9.0 - Apache won't start. vadertech Linux - General 4 08-19-2003 02:53 PM
cupsd won't stop, won't start ?! jkcunningham Linux - General 0 06-19-2003 08:14 AM
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 12:53 AM.

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