LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 10-12-2009, 04:50 PM   #1
tobiascapin
LQ Newbie
 
Registered: Oct 2009
Posts: 6

Rep: Reputation: 0
Nmbd crashes silently


Hello everyone,
i'm new here and I can not speak very good english, i'm sorry for this.

I have a trouble in a little debian server with samba installed.
Sometimes my windows clients can not see the server's samba resources and if i restart the samba service i see that the nmbd service was not running. I check the log and i see that this had a silent crash because i have some trace rows but no errors.
This happends 1-2 times during a day, and i solve restarting the samba service.

I tried to link the resources directly with the IP and i show that the windows clients can access to shares also without the nmbd service, so i can understand that everthing works except the netbios service.

This is an example of log after a nmbd crash (with PS i can not find its)
Code:
[2009/10/12 14:00:04,  0] nmbd/nmbd.c:main(849)
  nmbd version 3.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
nothing more...

Have you got any suggestion to fix this problem? Now I'm forced to restart samba every 6h with a cron record.... not a very good solution, i know.

Thank you.
 
Old 10-14-2009, 10:43 AM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
Well, there are worse hacks than a cron job! Take a look at a tool called monit, it will monitor running processes and restart jobs based on rules you create. google for it.
In terms of nmbd, can you tell us what version of samba you are running?
 
Old 10-15-2009, 02:15 AM   #3
tobiascapin
LQ Newbie
 
Registered: Oct 2009
Posts: 6

Original Poster
Rep: Reputation: 0
I know that a cron job is not a good solution, but i want to understand why it crashes... mine is a temprorary solution.
The samba version is the last with a standard debian distribution (i run apt-get update yesterday and it is up to date).

thanks
 
Old 10-18-2009, 08:49 AM   #4
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
take a look here: http://forum.soft32.com/linux/nmbd-s...ict368229.html
 
Old 10-24-2009, 02:55 AM   #5
tobiascapin
LQ Newbie
 
Registered: Oct 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks, but it is crashing again. I tried to remove the pid file, but it crash silently (no error on log also with a 10 log level)...
What can be?

thanks
 
Old 10-24-2009, 05:05 PM   #6
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
Hmmm, I really don't know. It's a problem I had with an old slackware install, fortunately I moved to Ubuntu Server for this role, and the nmbd issue has not reappeared.
 
  


Reply

Tags
crashes, debian, nmbd, samba


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
Printing this PDF silently fails KenJackson Linux - Software 3 02-12-2008 02:32 PM
picasa dies silently on opensuse 10.2 dukeinlondon Linux - Software 3 11-01-2007 12:15 AM
How to silently automount DVD in FC4? darthfoolish Linux - Software 3 07-31-2006 02:11 AM
Installing Packages Fails: Silently pizmooz Slackware - Installation 2 06-21-2006 12:30 AM
NE2000-PCI detection fails silently dregoma Linux - Networking 0 07-14-2003 07:22 PM


All times are GMT -5. The time now is 10:54 PM.

Main Menu
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