LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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-13-2011, 03:50 PM   #1
unclejed613
Member
 
Registered: Mar 2009
Posts: 326

Rep: Reputation: 26
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:
Code:
[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/libc.so.6(__libc_start_main+0xe5) [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 03:55 PM.
 
Old 03-14-2011, 09:03 AM   #2
corp769
Guru
 
Registered: Apr 2005
Posts: 5,814

Rep: Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001Reputation: 1001
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.

Josh
 
Old 03-14-2011, 06:35 PM   #3
unclejed613
Member
 
Registered: Mar 2009
Posts: 326

Original Poster
Rep: Reputation: 26
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 06:36 PM.
 
  


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


All times are GMT -5. The time now is 11:33 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration