LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-18-2007, 02:19 PM   #1
the1sephiroth
Member
 
Registered: Oct 2005
Location: east coast
Distribution: Ubuntu
Posts: 131

Rep: Reputation: 15
Samba Daemon is Dead


Code:
tjones:~ # /etc/init.d/smb status
Checking for Samba SMB daemon                                         dead
tjones:~ # /etc/init.d/smb start
Starting Samba SMB daemon - Warning: /var/run/samba/smbd.pid exists.  done
I have removed the pid file and tried restarting nmb and smb daemons, but every time that smb starts, it starts without error and when i check status, it always says dead.

I'm using opensuse 10.2 and i really need shares for work. It was working, perhaps an update messed things up? Anyone in the same boat?
 
Old 05-18-2007, 02:37 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I'm assuming that Samba on Suse logs to the same location as on Slackware, but check the log file setting in your smb.conf file (/etc/samba/smb.conf on my system)... Have you had a look through the files in /var/log/samba to see if there is more info? You can also set a log level in the smb.conf file to get more info.
 
Old 05-18-2007, 05:17 PM   #3
the1sephiroth
Member
 
Registered: Oct 2005
Location: east coast
Distribution: Ubuntu
Posts: 131

Original Poster
Rep: Reputation: 15
Errors in samba.conf from bootup, and when i tried to start the service manually.

Code:
[2007/05/18 17:51:47, 0] passdb/pdb_interface.c:guest_user_info(295)
  guest_user_info: Unable to locate guest account [smbguest]!
[2007/05/18 17:51:47, 0] smbd/server.c:main(960)
  ERROR: failed to setup guest info.
[2007/05/18 18:15:55, 0] passdb/pdb_interface.c:guest_user_info(295)
  guest_user_info: Unable to locate guest account [smbguest]!
[2007/05/18 18:15:55, 0] smbd/server.c:main(960)
  ERROR: failed to setup guest info.
[2007/05/18 18:16:09, 0] passdb/pdb_interface.c:guest_user_info(295)
  guest_user_info: Unable to locate guest account [smbguest]!
[2007/05/18 18:16:09, 0] smbd/server.c:main(960)
  ERROR: failed to setup guest info.
 
Old 05-18-2007, 11:15 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Do you have a line in your smb.conf file like this:
Code:
guest account = smbguest
If so, then smbguest account needs to exist (ie you need to create the user with adduser or useradd). If not, can you also post your smb.conf file so that we can see where the smbguest account is being referenced?
 
1 members found this post helpful.
Old 05-18-2007, 11:41 PM   #5
the1sephiroth
Member
 
Registered: Oct 2005
Location: east coast
Distribution: Ubuntu
Posts: 131

Original Poster
Rep: Reputation: 15
ok i created the smbguest account, restarted nmb and smb now the daemons are not dead thank you.
Can't see my shares on the network still, going to try a reboot and see if that helps.
 
Old 05-19-2007, 01:07 PM   #6
the1sephiroth
Member
 
Registered: Oct 2005
Location: east coast
Distribution: Ubuntu
Posts: 131

Original Poster
Rep: Reputation: 15
Ok, now here's the thing smb://192.168.254.4 works but i want it to be the name, not the ip address.

the nmb now keeps showing a status of dead even after i check the status after i start it and it and smb both show up as running

i checked the /var/log/samba/log.nmbd

Code:
[2007/05/19 04:09:02, 0] lib/fault.c:dump_core(173)
  dumping core in /var/log/samba/cores/nmbd
[2007/05/19 14:08:42, 0] nmbd/nmbd.c:main(699)
  Netbios nameserver version 3.0.23d-19.5-1290-SUSE-SL10.2 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/05/19 14:08:52, 0] lib/fault.c:fault_report(41)
  ===============================================================
[2007/05/19 14:08:52, 0] lib/fault.c:fault_report(42)
  INTERNAL ERROR: Signal 11 in pid 17487 (3.0.23d-19.5-1290-SUSE-SL10.2)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2007/05/19 14:08:52, 0] lib/fault.c:fault_report(44)

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2007/05/19 14:08:52, 0] lib/fault.c:fault_report(45)
  ===============================================================
[2007/05/19 14:08:52, 0] lib/util.c:smb_panic(1599)
  PANIC (pid 17487): internal error
[2007/05/19 14:08:52, 0] lib/util.c:log_stack_trace(1706)
  BACKTRACE: 8 stack frames:
   #0 /usr/sbin/nmbd(log_stack_trace+0x2d) [0x8009e88d]
   #1 /usr/sbin/nmbd(smb_panic+0x5d) [0x8009e9bd]
   #2 /usr/sbin/nmbd [0x8008a43a]
   #3 [0xb7f7e420]
   #4 /usr/sbin/nmbd(announce_remote+0x187) [0x80034127]
   #5 /usr/sbin/nmbd(main+0x7fd) [0x8002004d]
   #6 /lib/libc.so.6(__libc_start_main+0xdc) [0xb7cc4f9c]
   #7 /usr/sbin/nmbd [0x8001e551]
[2007/05/19 14:08:52, 0] lib/fault.c:dump_core(173)
  dumping core in /var/log/samba/cores/nmbd
[2007/05/19 14:09:12, 0] nmbd/nmbd.c:main(699)
  Netbios nameserver version 3.0.23d-19.5-1290-SUSE-SL10.2 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/05/19 14:09:22, 0] lib/fault.c:fault_report(41)
  ===============================================================
[2007/05/19 14:09:22, 0] lib/fault.c:fault_report(42)
  INTERNAL ERROR: Signal 11 in pid 17527 (3.0.23d-19.5-1290-SUSE-SL10.2)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2007/05/19 14:09:22, 0] lib/fault.c:fault_report(44)

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2007/05/19 14:09:22, 0] lib/fault.c:fault_report(45)
  ===============================================================
[2007/05/19 14:09:22, 0] lib/util.c:smb_panic(1599)
  PANIC (pid 17527): internal error
[2007/05/19 14:09:22, 0] lib/util.c:log_stack_trace(1706)
  BACKTRACE: 8 stack frames:
   #0 /usr/sbin/nmbd(log_stack_trace+0x2d) [0x8009e88d]
   #1 /usr/sbin/nmbd(smb_panic+0x5d) [0x8009e9bd]
   #2 /usr/sbin/nmbd [0x8008a43a]
   #3 [0xb7f5e420]
   #4 /usr/sbin/nmbd(announce_remote+0x187) [0x80034127]
   #5 /usr/sbin/nmbd(main+0x7fd) [0x8002004d]
   #6 /lib/libc.so.6(__libc_start_main+0xdc) [0xb7ca4f9c]
   #7 /usr/sbin/nmbd [0x8001e551]
[2007/05/19 14:09:22, 0] lib/fault.c:dump_core(173)
  dumping core in /var/log/samba/cores/nmbd

Last edited by the1sephiroth; 05-19-2007 at 01:22 PM.
 
Old 05-19-2007, 01:47 PM   #7
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Can you resolve the host name of the Samba box with other tools? For example, can you run dig <hostname> from the box where you're trying to connect from (not to)? If not, then it's probably a network setup problem (DNS), If you can then it's probably a Samba config issue.

I'm assuming that you're running as root and that you've tried using testparm and smbclient to check that you're setup is OK. If you haven't done it already, have a look at the document referenced in the error output you posted (http://www.samba.org/samba/docs/Samba3-HOWTO.pdf). They provide more info about diagnosing Samba and they also recommend using tools like ethereal to sniff packets and analyse where things are going wrong.
 
  


Reply



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
Dead Samba in 10.2??? litlmary SUSE / openSUSE 13 02-05-2010 02:38 PM
samba daemon failed ok4life Linux - Server 2 03-20-2007 03:38 PM
samba -> specifically a kde daemon? mrchaos Linux - Software 4 08-01-2005 02:01 AM
smbd (samba) daemon startup question GetCool Debian 3 11-16-2003 03:22 PM
samba daemon socket error richard22 Linux - Networking 7 08-21-2003 06:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:57 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
Open Source Consulting | Domain Registration