LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 10-12-2009, 05:50 PM   #1
tobiascapin
LQ Newbie
 
Registered: Oct 2009
Posts: 6
Thanked: 0
Nmbd crashes silently


[Log in to get rid of this advertisement]
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.
windows_xp_2003 tobiascapin is offline  
Tag This Post , , ,
Reply With Quote
Old 10-14-2009, 11:43 AM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Sligo, Ireland
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,047
Blog Entries: 1
Thanked: 41
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?
linuxubuntu irishbitte is offline     Reply With Quote
Old 10-15-2009, 03:15 AM   #3
tobiascapin
LQ Newbie
 
Registered: Oct 2009
Posts: 6
Thanked: 0

Original Poster
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
windows_xp_2003 tobiascapin is offline     Reply With Quote
Old 10-18-2009, 09:49 AM   #4
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Sligo, Ireland
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,047
Blog Entries: 1
Thanked: 41
take a look here: http://forum.soft32.com/linux/nmbd-s...ict368229.html
linuxubuntu irishbitte is offline     Reply With Quote
Old 10-24-2009, 03:55 AM   #5
tobiascapin
LQ Newbie
 
Registered: Oct 2009
Posts: 6
Thanked: 0

Original Poster
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
windows_xp_2003 tobiascapin is offline     Reply With Quote
Old 10-24-2009, 06:05 PM   #6
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Sligo, Ireland
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,047
Blog Entries: 1
Thanked: 41
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.
linux irishbitte is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 01:50 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration