LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Samba won't start/stop via webmin -- Ubuntu 12.04 (https://www.linuxquestions.org/questions/linux-newbie-8/samba-wont-start-stop-via-webmin-ubuntu-12-04-a-4175428241/)

jim.thornton 09-20-2012 11:46 AM

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

jim.thornton 09-21-2012 08:46 AM

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

MrsAngelD 02-23-2015 01:21 PM

I registered just to say that on ubuntu 14.04.2 this fix still works. Thanks for posting your solution. :)

mslatter 04-30-2015 02:07 PM

I can confirm with MrsAngelD - Thanks Jim!


All times are GMT -5. The time now is 10:57 PM.