Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-12-2009, 04:50 PM
|
#1
|
|
LQ Newbie
Registered: Oct 2009
Posts: 6
Rep:
|
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.
|
|
|
|
10-14-2009, 10:43 AM
|
#2
|
|
Senior Member
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Rep:
|
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?
|
|
|
|
10-15-2009, 02:15 AM
|
#3
|
|
LQ Newbie
Registered: Oct 2009
Posts: 6
Original Poster
Rep:
|
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
|
|
|
|
10-18-2009, 08:49 AM
|
#4
|
|
Senior Member
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Rep:
|
|
|
|
|
10-24-2009, 02:55 AM
|
#5
|
|
LQ Newbie
Registered: Oct 2009
Posts: 6
Original Poster
Rep:
|
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
|
|
|
|
10-24-2009, 05:05 PM
|
#6
|
|
Senior Member
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:26 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|