LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 09-20-2012, 11:46 AM   #1
jim.thornton
Member
 
Registered: May 2007
Posts: 326

Rep: Reputation: 17
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
jim.thornton
Member
 
Registered: May 2007
Posts: 326

Original Poster
Rep: Reputation: 17
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.
 
  


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
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 02:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration