Samba service didn't start

Where Penguins and Daemons chill together in the warmth of the Sun.

Moderators: SecretSquirrel, notfred

Samba service didn't start

Postposted on Tue Dec 01, 2009 8:05 pm

I upgraded a copy of "Ubuntu 8.04.3 LTS" and rebooted over the weekend. I call samba and fah on startup from within /etc/rc.local - has worked no problems. This time, folding started but samba did not. Any ideas?

I was able to start samba manually from the command line and all of my mapped drives now appear (under windoz).
PhilipMcc
Gerbil
Gold subscriber
 
 
Posts: 88
Joined: Thu Feb 05, 2009 10:15 am
Location: Pittsburgh

Re: Samba service didn't start

Postposted on Wed Dec 23, 2009 9:56 am

Ran into this myself, it sounds like your problem as well. Pretty major regression if you ask me.

Edit: can't believe I'm contributing info here among the land of all Linux gerbils around here :o Someone must have posted this info here before?
Image
The Model M is not for the faint of heart. You either like them or hate them.

Gerbils unite! Fold for UnitedGerbilNation, team 2630.
Flying Fox
Gerbil God
 
Posts: 24360
Joined: Mon May 24, 2004 2:19 am

Re: Samba service didn't start

Postposted on Sat Jan 16, 2010 11:51 am

Flying Fox - thx for the info. Just rebooted today. The manual restart worked fine.
sudo /etc/init.d/samba restart
(will make it easier to find next time as I don't reboot very often)
PhilipMcc
Gerbil
Gold subscriber
 
 
Posts: 88
Joined: Thu Feb 05, 2009 10:15 am
Location: Pittsburgh

Re: Samba service didn't start

Postposted on Sat Jan 16, 2010 1:28 pm

Guess I missed this thread when it first popped up.

Did you install Samba through Ubuntu's package manager? If so, it should start automatically on bootup (no need to add it to rc.local). I've only seen issues like this before when the package was installed manually...
(this space intentionally left blank)
just brew it!
Administrator
Gold subscriber
 
 
Posts: 37635
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: Samba service didn't start

Postposted on Sat Jan 16, 2010 8:35 pm

My install of samba came from one of the guides at smallnetbuilder.com:
sudo apt-get install samba
sudo apt-get install smbfs
Is this a manual install?
PhilipMcc
Gerbil
Gold subscriber
 
 
Posts: 88
Joined: Thu Feb 05, 2009 10:15 am
Location: Pittsburgh

Re: Samba service didn't start

Postposted on Sun Jan 17, 2010 12:26 am

PhilipMcc wrote:Flying Fox - thx for the info. Just rebooted today. The manual restart worked fine.
sudo /etc/init.d/samba restart
(will make it easier to find next time as I don't reboot very often)

I found the command listed in the link easier to remember:
Code: Select all
sudo service samba restart
Image
The Model M is not for the faint of heart. You either like them or hate them.

Gerbils unite! Fold for UnitedGerbilNation, team 2630.
Flying Fox
Gerbil God
 
Posts: 24360
Joined: Mon May 24, 2004 2:19 am

Re: Samba service didn't start

Postposted on Sun Jan 17, 2010 1:58 am

PhilipMcc wrote:My install of samba came from one of the guides at smallnetbuilder.com:
sudo apt-get install samba
sudo apt-get install smbfs
Is this a manual install?

No, that should've set it to start automatically. Not sure why it isn't.
(this space intentionally left blank)
just brew it!
Administrator
Gold subscriber
 
 
Posts: 37635
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: Samba service didn't start

Postposted on Sun Jan 17, 2010 2:48 am

just brew it! wrote:
PhilipMcc wrote:My install of samba came from one of the guides at smallnetbuilder.com:
sudo apt-get install samba
sudo apt-get install smbfs
Is this a manual install?

No, that should've set it to start automatically. Not sure why it isn't.

The bug is that smbd runs, but nmbd does not by the time the startup process is complete (forgot if it runs and then crashes out or nmbd just does not run). Apparently just restarting the whole samba "service" will have both of them running again.
Image
The Model M is not for the faint of heart. You either like them or hate them.

Gerbils unite! Fold for UnitedGerbilNation, team 2630.
Flying Fox
Gerbil God
 
Posts: 24360
Joined: Mon May 24, 2004 2:19 am

Re: Samba service didn't start

Postposted on Sun Jan 17, 2010 5:44 am

This bug was fixed in the package samba - 2:3.4.0-3ubuntu5.3


what version of samba are you using?
Fernando!
Your mother ate my dog!
cheesyking
Minister of Gerbil Affairs
 
Posts: 2253
Joined: Sun Jan 25, 2004 7:52 am
Location: That London (or so I'm told)

Re: Samba service didn't start

Postposted on Sun Jan 17, 2010 6:14 am

having this problem with my ubuntu box as well. running 9.10. i need to restart samba each time i login. and i thought i was doing something wrongly. :-?

on a side note, i'm wondering if there's an issue with gnome on 9.10 with the intel atom hardware. i had trouble installing it on my eee pc and an atom box i setup as a storage server. the interface would lockup everytime i clicked a menu and you'd see it get stuck when the menu faded in. i always needed to do a hard reset after that. the eee pc runs fine now with gnome but i had to keep the atom box (an atom 330) running in gnome failsafe mode, otherwise the lockups would occur. tried all manner of updates and i don't see anything on google to indicate that there's something incompatible between ubuntu 9.10 and the atom chip. never had an issue with prior versions of ubuntu.
*yawn*
etilena
Gerbil Jedi
 
Posts: 1669
Joined: Wed Jun 12, 2002 7:43 am
Location: .ozziefied.

Re: Samba service didn't start

Postposted on Sun Jan 17, 2010 12:49 pm

Might actually be an incompatibility between the Compiz visual effects and the video driver. Try disabling visual effects in System -> Preferences -> Appearance.
(this space intentionally left blank)
just brew it!
Administrator
Gold subscriber
 
 
Posts: 37635
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: Samba service didn't start

Postposted on Sun Jan 17, 2010 1:01 pm

etilena wrote:having this problem with my ubuntu box as well. running 9.10. i need to restart samba each time i login. and i thought i was doing something wrongly. :-?

on a side note, i'm wondering if there's an issue with gnome on 9.10 with the intel atom hardware. i had trouble installing it on my eee pc and an atom box i setup as a storage server. the interface would lockup everytime i clicked a menu and you'd see it get stuck when the menu faded in. i always needed to do a hard reset after that. the eee pc runs fine now with gnome but i had to keep the atom box (an atom 330) running in gnome failsafe mode, otherwise the lockups would occur. tried all manner of updates and i don't see anything on google to indicate that there's something incompatible between ubuntu 9.10 and the atom chip. never had an issue with prior versions of ubuntu.


I don't think it's a problem with the atom chip itself, I've got a customer with 70 9.10 LTSP clients running fine with atom 330s on 945 mobos. (did have to disable the boot spash screen to get them to boot reliably though, but then they are foxconn boards :roll: )
Fernando!
Your mother ate my dog!
cheesyking
Minister of Gerbil Affairs
 
Posts: 2253
Joined: Sun Jan 25, 2004 7:52 am
Location: That London (or so I'm told)

Re: Samba service didn't start

Postposted on Sun Jan 17, 2010 5:38 pm

just brew it! wrote:Might actually be an incompatibility between the Compiz visual effects and the video driver. Try disabling visual effects in System -> Preferences -> Appearance.


Did previously try that. Didn't work. It still locked up.

cheesyking wrote:I don't think it's a problem with the atom chip itself, I've got a customer with 70 9.10 LTSP clients running fine with atom 330s on 945 mobos. (did have to disable the boot spash screen to get them to boot reliably though, but then they are foxconn boards :roll: )


Wouldn't think it would be the atom chip itself, given there are so many netbook/nettops out there that run linux. I have the same board, and I'm wondering if it's dodgy, just no way to verify it as it seems to run everything else just fine.
*yawn*
etilena
Gerbil Jedi
 
Posts: 1669
Joined: Wed Jun 12, 2002 7:43 am
Location: .ozziefied.


Return to Linux, Unix, and Assorted Madness

Who is online

Users browsing this forum: No registered users and 3 guests