LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-17-2011, 08:41 AM   #1
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 653

Rep: Reputation: 39
samba doesn't start in a slack 11 box


Hello everyone,

I'm not sure what has happened as this is a file server that just works and i'm not tampering with it..

but today I was trying to access some files and I couldn't connect...

the reason is that smbd wasn't running.

I try to fire it up but no luck. the rc.samba script prints the 'starting smbd', but never gets to 'starting nmbd'.

I tried starting the daemon on its own, 'smbd -d=3' nothing gets printed out. and i don't get a prompt either (didn't expect to)

netstat -paet doesn't listen on ports 137-139 or 445.. bummer

top shows smbd at startup for 1-2 seconds chewing 2% cpu.. then nothing.

testparm says the smb.conf is OK.

i don't know what else to try.. Any ideas?

THank you

EDIT: I unistalled and reinstalled the tgz package, but the problem persists..
 
Old 03-17-2011, 08:57 AM   #2
+Alan Hicks+
Member
 
Registered: Feb 2005
Distribution: Slackware
Posts: 72

Rep: Reputation: 55
What do your logs say?

Please provide your smb.conf.
 
Old 03-17-2011, 12:26 PM   #3
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 653

Original Poster
Rep: Reputation: 39
well /var/log/samba/log.smbd prints out the following (in a single attempt to start it up)

Quote:
[2011/03/17 20:09:11, 0] smbd/server.c:main(847)
smbd version 3.0.23c started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2011/03/17 20:09:11, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - Connection refused
[2011/03/17 20:09:11, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - Connection refused
I don't have cups enabled at all as you'll see in my smb.conf

The nmbd output (if I start it manually) is:

Quote:
Netbios nameserver version 3.0.23c started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2011/03/17 20:16:06, 0] nmbd/asyncdns.c:start_async_dns(151)
started asyncdns process 9334
ok I JUST found the answer

in /var/log/samba.smbd
Quote:
[2011/03/17 16:37:44, 2] lib/interface.c:interpret_interface(154)
Can't determine ip for broadcast address 192.168.144.0/24
[2011/03/17 16:37:44, 2] lib/interface.c:interpret_interface(154)
Can't determine ip for broadcast address 192.168.145.0/24
apparently it halted because it can't find the subnet 192.168.144. and 192.168.145. (these are both vpn, and the server is not running currently)

thank you for pointing me to the logs should have done that first
 
  


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
Copy files which doesn not start with some prefix? laki47 Linux - Newbie 2 07-09-2009 03:31 PM
KDM on slackware 11 Doesn`t Start sanctusiuda Linux - Newbie 9 05-21-2007 11:26 PM
Keyboard doesn´t work after Slack instalation erickFis Linux - Hardware 3 05-19-2006 04:28 PM
Slack 10.1 kernel 2.6.10 doesn´t recognize CDrom little_ball Slackware 4 08-15-2005 11:33 AM
eth0 doesn´t start snu Linux - Networking 2 07-07-2003 10:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:09 AM.

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