Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-13-2011, 02:50 PM   #1
Registered: Mar 2009
Posts: 346

Rep: Reputation: 32
difficulties with samba config on slack 13.0 SOLVED

on a fresh install of slack 13.0, i couldn't get samba to run. went through /etc/samba/smb.conf and made sure everything looked ok. i ran SWAT and checked the config, and everything LOOKED ok. but when i went to start smbd and nmbd, they would not load. looking at the log files showed errors like this:
[2011/02/20 15:11:34,  0] lib/messages_local.c:messaging_tdb_init(96)
  ERROR: Failed to initialise messages database: No such file or directory
[2011/02/20 15:11:34,  0] lib/messages.c:messaging_init(204)
  messaging_tdb_init failed: NT_STATUS_OBJECT_NAME_NOT_FOUND
[2011/02/20 15:11:34,  0] lib/util.c:smb_panic(1670)
  PANIC (pid 3312): Could not init smbd messaging context
[2011/02/20 15:11:34,  0] lib/util.c:log_stack_trace(1774)
  BACKTRACE: 6 stack frames:
   #0 /usr/sbin/smbd(log_stack_trace+0x2d) [0xb7dc2724]
   #1 /usr/sbin/smbd(smb_panic+0x80) [0xb7dc2881]
   #2 /usr/sbin/smbd(smbd_messaging_context+0x64) [0xb800085f]
   #3 /usr/sbin/smbd(main+0x6ac) [0xb8002651]
   #4 /lib/ [0xb76c96a5]
   #5 /usr/sbin/smbd [0xb7bab921]
[2011/02/20 15:11:34,  0] lib/fault.c:dump_core(201)
  dumping core in /var/log/samba/cores/smbd
as it turns out, several of the entries in the /etc/samba/smb.conf file such as lock directory and pid directory began with "file:///" (i.e. "lock directory=file:///var/cache/samba"). since this was, except for the addition of a share containing movies for viewing on the network, a "stock" install of samba, i assumed that these defaults were correct. as it turns out, they are not. i removed all "file:///" prefix to these settings (i.e. "/var/cache/samba"), and again tried starting smbd and nmbd, and it worked.

Last edited by unclejed613; 03-13-2011 at 02:55 PM.
Old 03-14-2011, 08:03 AM   #2
LQ Guru
Registered: Apr 2005
Posts: 5,818

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
I noticed how you appended SOLVED to the end of your subject. You can delete that, as you can properly mark your thread solved using the thread tools located at the top of your thread.

Old 03-14-2011, 05:35 PM   #3
Registered: Mar 2009
Posts: 346

Original Poster
Rep: Reputation: 32
it was solved before i wrote it, so i just wrote the title that way... i just thought it might prevent others from headaches caused by the same problem.... i don't know if the installer wrote the file that way, or possibly the KDE config app wrote it that way. KDE config (i.e. "System Settings") seems to gum up the works a lot when it comes to networking configuration in general.

Last edited by unclejed613; 03-14-2011 at 05:36 PM.


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
( Solved ) slack 12.2 not see fs ext4 ...why? afreitascs Slackware 8 09-05-2009 12:43 PM
Ubuntu Samba Server Difficulties Authenticating WINXP Client carl0ski Linux - Server 0 08-09-2007 07:49 PM
Difficulties mounting samba share (I/O Error) SebKG Linux - Software 8 12-22-2005 08:16 AM
difficulties in config modem in TOSHIBA M30 852 zawwad Linux - Laptop and Netbook 3 07-03-2005 12:49 PM
Samba server is accessable but doesn't show up in workgroup (Slack 10.1) [SOLVED!] DaneM Linux - Networking 3 07-03-2005 02:15 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration