You are not logged in.

#1 2012-06-04 13:24:48

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

[SOLVED] samba does not start properly

I have three machines ( desktop, laptop, and a mini-itx "homeserver" ), and I use samba shares on all the three machines.

The homeserver is headless, does not have a DE, and launches samba properly any time.

On the other machines, the samba service launches ( I can see it on the screen as arch starts ) but does not really start.

I found that smbd is always running, but nmbd never starts when arch starts up.

When the startup is complete, I type "/etc/rc.d/samba restart", and it launches the samba service properly, on both machines.

The smb.conf file is identic on all the machines, except for the server string and the specific machine's share location/name

What can be wrong? Why does nmbd not start on both machines? (Or why does it on the third?)

Last edited by scar (2012-07-12 13:57:46)


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#2 2012-06-04 13:51:21

skrooge
Member
Registered: 2011-07-07
Posts: 4

Re: [SOLVED] samba does not start properly

I found that starting samba before networkmanager in my rc.conf fixed it for me.

Offline

#3 2012-06-05 11:54:10

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [SOLVED] samba does not start properly

How do you start samba and when? You could try skrooge's suggestion or alternatively put the daemon in /etc/rc.local - perhaps even with a sleep command in front.


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#4 2012-06-05 13:46:05

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

Re: [SOLVED] samba does not start properly

Samba is in my daemons array in rc.conf. I've already tried to start it in backround too ( @ ). Did not work.

I've already tried the /etc/rc.local thing, but not with a sleep before the service start command.
Will try it.

Currently I'm using my laptop ( Wicd, not networkmanager , and the first post (skrooge) did not work.
I'll  try it this evening with nm.


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#5 2012-06-06 06:56:19

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

Re: [SOLVED] samba does not start properly

OK, putting samba looooong before networkmanager solved the problem.
But I still have the same problem with wicd.

[EDIT]

My fault, it definitely works with wicd too.

Could somebody explain this behaviour?

Last edited by scar (2012-07-12 13:57:21)


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

Board footer

Powered by FluxBB