LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-22-2004, 02:48 AM   #1
octino
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Rep: Reputation: 0
nmbd won't start automatically


i have everything setup successfully, and samba works fluently... until i have to start the nmbd services each morning when i reach office in order to have the samba running.

i tried to check out the nmbd services by using this command:

nmblookup -B "servername" _ _SAMBA_ _

it returns me these messages:

querying _ on 192.168.0.2
name query failed to find name _
querying _SAMBA_ on 192.168.0.2
name query failed to find name _SAMBA_
querying _ on 192.168.0.2
name query failed to find name _

which from my knowledge, i believe it's not normal, which means it had problems.

FYI: 192.168.0.2 is my server's IP.

is there any solution for this?

thank's a lot., pals...
 
Old 12-22-2004, 02:12 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Is the nmb server running when you get in to work?
ps -ef | grep nmb

Can you also post the nmb log, that may show why it is crashing
 
Old 01-04-2005, 09:14 PM   #3
octino
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Original Poster
Rep: Reputation: 0
"ps -ef | grep nmb" returns me nothing when i'm back to work every morning after i started the server & the samab the day before. but the weird thing is if i restarted the whole machine / server, the nmb will start automatically and the next morning when i do "ps -ef | grep nmb", it returns me nothing again, where it should reply me something like this: "root 1782 1 0 20:11 ? 00:00:00 nmbd -D".

and because i'm still a newbie, so i used a lot of GUI interface of the mandrake, and it hangs oftenly, can anybody tells me what's the problem and what should i do with it?

I reinstalled it (upgrade install) once, but it still hangs oftenly, do i really need to reformat everything and reinstalled it?

my hardware specs are:
PIII 1 GHz
SDRAM 512MB

please advise... thank's a lot..
 
Old 01-05-2005, 03:18 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I wouldn't start formatting just yet. Can you post a copy of smb.conf and a copy of your nmb and smb log files as well as any information during the overnight period that appears in /var/log/messages
 
Old 01-06-2005, 10:54 PM   #5
octino
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Original Poster
Rep: Reputation: 0
nmb log file:


[2005/01/04 17:28:42, 0] nmbd/nmbd.c:reload_interfaces(256)
reload_interfaces: No subnets to listen to. Shutting down...
[2005/01/05 08:02:44, 0] nmbd/nmbd.c:main(795)
Netbios nameserver version 2.2.8a started.
Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/01/05 08:02:44, 0] nmbd/nmbd_logonnames.c:add_logon_names(165)
add_domain_logon_names:
Attempting to become logon server for workgroup LINUX on subnet 192.168.0.2
[2005/01/05 08:02:44, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(291)
become_domain_master_browser_bcast:
Attempting to become domain master browser on workgroup LINUX on subnet 192.168.0.2
[2005/01/05 08:02:44, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(305)
become_domain_master_browser_bcast: querying subnet 192.168.0.2 for domain master browser on workgroup LINUX
[2005/01/05 08:02:46, 0] nmbd/nmbd.c:terminate(59)
Got SIGTERM: going down...

=================================================================

[2005/01/06 15:24:50, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
find_response_record: response packet id 31137 received with no matching record.
[2005/01/06 15:24:54, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(114)
*****

Samba server GREAT02 is now a domain master browser for workgroup LINUX on subnet 192.168.0.2

*****
[2005/01/06 15:25:09, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
*****

Samba name server GREAT02 is now a local master browser for workgroup LINUX on subnet 192.168.0.2

*****
[2005/01/06 17:22:04, 0] nmbd/nmbd.c:reload_interfaces(256)
reload_interfaces: No subnets to listen to. Shutting down...
[2005/01/07 08:06:04, 0] nmbd/nmbd.c:main(795)
Netbios nameserver version 2.2.8a started.
Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/01/07 08:06:05, 0] nmbd/nmbd_logonnames.c:add_logon_names(165)
add_domain_logon_names:
Attempting to become logon server for workgroup LINUX on subnet 192.168.0.2
[2005/01/07 08:06:05, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(291)
become_domain_master_browser_bcast:
Attempting to become domain master browser on workgroup LINUX on subnet 192.168.0.2
[2005/01/07 08:06:05, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(305)
become_domain_master_browser_bcast: querying subnet 192.168.0.2 for domain master browser on workgroup LINUX
[2005/01/07 08:06:10, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(124)
become_logon_server_success: Samba is now a logon server for workgroup LINUX on subnet 192.168.0.2
[2005/01/07 08:06:14, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(114)
*****

Samba server GREAT02 is now a domain master browser for workgroup LINUX on subnet 192.168.0.2

*****
[2005/01/07 08:06:28, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
*****

Samba name server GREAT02 is now a local master browser for workgroup LINUX on subnet 192.168.0.2

*****


is it enough? if it's not enough, then i'll post the smb.conf & the smbd log file again...
hopefully it can gives u a picture...
 
Old 01-08-2005, 10:13 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What version of samba are you using? I see a few bug reports with the same issue:
http://lists.samba.org/archive/samba...ly/088747.html
 
Old 01-10-2005, 07:53 PM   #7
octino
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Original Poster
Rep: Reputation: 0
i'm using 2.28 version...

i'm wondering whether the old version had the bug as well? as the bug that you showed me on the URL is for the 3.*.* version? and whether the fixes is applicable for the old version as well?

thank's a lot.
 
Old 01-12-2005, 12:58 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I'm not sure, you may want to try upgrading to the latest version of samba 3 since samba 2 is getting assed it's sell by date.
 
Old 02-01-2005, 12:31 PM   #9
vmundinux
LQ Newbie
 
Registered: Jan 2005
Location: Belo Horizonte - Minas Gerais - Brazil
Distribution: Fedora Core 3 / Kurumin
Posts: 1

Rep: Reputation: 0
Hello, I found this topic, and I have the same problem as Octino: everyday the NMBD service is down..... And I have to restart it.

My OS: Fedora Core 2
My Samba packages:
samba-common-3.0.10-1.fc2
samba-3.0.10-1.fc2
samba-client-3.0.10-1.fc2

My nmbd.log:::
==================================================================================
..........

[2005/01/28 23:47:18, 3] nmbd/nmbd_winsserver.c:wins_process_name_query_request(1485)
wins_process_name_query: name query for name *<1b> from IP 200.XXX.XX.62
[2005/01/28 23:47:18, 2] nmbd/nmbd_browsesync.c:announce_local_master_browser_to_domain_master_browser(110)
announce_local_master_browser_to_domain_master_browser:
We are both a domain and a local master browser for workgroup ABC. Do not announce to ourselves.
[2005/01/28 23:47:18, 2] nmbd/nmbd_browsesync.c:sync_with_dmb(154)
sync_with_dmb:
Initiating sync with domain master browser SERVER_MACHINE<20> at IP 200.XXX.XX.62 for workgroup ABC
[2005/01/28 23:47:43, 3] nmbd/nmbd_sendannounce.c:send_local_master_announcement(166)
send_local_master_announcement: type c9b0b for name SERVER_MACHINE on subnet 200.XXX.XX.62 for workgroup ABC
[2005/01/28 23:47:43, 3] nmbd/nmbd_sendannounce.c:send_workgroup_announcement(185)
send_workgroup_announcement: on subnet 200.XXX.XX.62 for workgroup ABC
[2005/01/28 23:50:23, 3] nmbd/nmbd_incomingdgrams.crocess_workgroup_announce(217)
process_workgroup_announce: from GATEWAY<00> IP 200.XXX.XX.134 to ##__MSBROWSE__#<01> for workgroup ELE.
[2005/01/28 23:50:43, 3] nmbd/nmbd_serverlistdb.c:write_browse_list(421)
write_browse_list: Wrote browse list into file /var/cache/samba/browse.dat
[2005/01/28 23:51:43, 3] nmbd/nmbd_workgroupdb.c:expire_workgroups_and_servers(327)
expire_workgroups_and_servers: Removing timed out workgroup MSHOME
[2005/01/28 23:51:43, 3] nmbd/nmbd_workgroupdb.c:remove_workgroup_from_subnet(138)
remove_workgroup: Removing workgroup MSHOME
[2005/01/28 23:51:43, 3] nmbd/nmbd_serverlistdb.c:write_browse_list(421)
write_browse_list: Wrote browse list into file /var/cache/samba/browse.dat
[2005/01/28 23:55:03, 3] nmbd/nmbd_workgroupdb.c:expire_workgroups_and_servers(327)
expire_workgroups_and_servers: Removing timed out workgroup NASCENTE
[2005/01/28 23:55:03, 3] nmbd/nmbd_workgroupdb.c:remove_workgroup_from_subnet(138)
remove_workgroup: Removing workgroup NASCENTE
[2005/01/28 23:55:03, 3] nmbd/nmbd_serverlistdb.c:write_browse_list(421)
write_browse_list: Wrote browse list into file /var/cache/samba/browse.dat

............

[2005/01/29 00:02:23, 2] nmbd/nmbd_browsesync.c:sync_with_dmb(154)
sync_with_dmb:
Initiating sync with domain master browser SERVER_MACHINE<20> at IP 200.XXX.XX.62 for workgroup ABC
[2005/01/29 00:02:23, 3] nmbd/nmbd_incomingdgrams.crocess_workgroup_announce(217)
process_workgroup_announce: from GATEWAY<00> IP 200.XXX.XX.134 to ##__MSBROWSE__#<01> for workgroup ELE.
[2005/01/29 00:02:29, 3] nmbd/nmbd_serverlistdb.c:write_browse_list(421)
write_browse_list: Wrote browse list into file /var/cache/samba/browse.dat
[2005/01/29 00:03:19, 3] nmbd/nmbd_winsserver.c:wins_process_name_refresh_request(476)
wins_process_name_refresh_request: Name refresh for name ABC<00> IP 200.XXX.XX.62
[2005/01/29 00:03:19, 3] nmbd/nmbd_winsserver.c:wins_process_name_refresh_request(476)
wins_process_name_refresh_request: Name refresh for name ABC<1b> IP 200.XXX.XX.62
[2005/01/29 00:03:19, 3] nmbd/nmbd_winsserver.c:wins_process_name_refresh_request(476)
wins_process_name_refresh_request: Name refresh for name ABC<1c> IP 200.XXX.XX.62

[2005/01/29 00:11:52, 3] nmbd/nmbd_sendannounce.c:send_local_master_announcement(166)
send_local_master_announcement: type c9b0b for name SERVER_MACHINE on subnet 200.XXX.XX.62 for workgroup ABC
[2005/01/29 00:11:52, 3] nmbd/nmbd_sendannounce.c:send_workgroup_announcement(185)
send_workgroup_announcement: on subnet 200.XXX.XX.62 for workgroup ABC
[2005/01/29 00:14:32, 3] nmbd/nmbd_incomingdgrams.crocess_workgroup_announce(217)
process_workgroup_announce: from GATEWAY<00> IP 200.XXX.XX.134 to ##__MSBROWSE__#<01> for workgroup ELE.
[2005/01/29 00:14:52, 3] nmbd/nmbd_serverlistdb.c:write_browse_list(421)
write_browse_list: Wrote browse list into file /var/cache/samba/browse.dat
[2005/01/29 00:17:24, 3] nmbd/nmbd_winsserver.c:wins_process_name_query_request(1485)
wins_process_name_query: name query for name *<1b> from IP 200.XXX.XX.62
[2005/01/29 00:17:24, 2] nmbd/nmbd_browsesync.c:announce_local_master_browser_to_domain_master_browser(110)
announce_local_master_browser_to_domain_master_browser:
We are both a domain and a local master browser for workgroup ABC. Do not announce to ourselves.
[2005/01/29 00:17:24, 2] nmbd/nmbd_browsesync.c:sync_with_dmb(154)
sync_with_dmb:
Initiating sync with domain master browser SERVER_MACHINE<20> at IP 200.XXX.XX.62 for workgroup ABC

...........

[2005/01/29 00:23:39, 3] nmbd/nmbd_winsserver.c:wins_process_name_refresh_request(476)
wins_process_name_refresh_request: Name refresh for name ABC<1e> IP 200.XXX.XX.62
[2005/01/29 00:23:39, 3] nmbd/nmbd_winsserver.c:wins_process_name_refresh_request(476)
wins_process_name_refresh_request: Name refresh for name SERVER_MACHINE<20> IP 200.XXX.XX.62
[2005/01/29 00:23:59, 3] nmbd/nmbd_sendannounce.c:send_local_master_announcement(166)
send_local_master_announcement: type c9b0b for name SERVER_MACHINE on subnet 200.XXX.XX.62 for workgroup ABC
[2005/01/29 00:23:59, 3] nmbd/nmbd_sendannounce.c:send_workgroup_announcement(185)
send_workgroup_announcement: on subnet 200.XXX.XX.62 for workgroup ABC
[2005/01/29 00:26:09, 2] nmbd/nmbd.c:reload_interfaces(256)
Deleting dead interface 200.XXX.XX.62
[2005/01/29 00:26:09, 0] nmbd/nmbd.c:reload_interfaces(265)
reload_interfaces: No subnets to listen to. Shutting down...

================================================================================================

Every day is the same..... and I still don know what is it. I have already done the Samba installation again.
Sorry for the english mistakes.

Thanks a lot.

on SAMBA+LDAP
 
  


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
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 01:59 PM
cant start nmbd service eroica Linux - Networking 4 11-29-2004 01:02 PM
nmbd won't start fostiator Linux - Networking 2 10-05-2004 07:21 AM
Samba nmbd doesn't start Obscure *BSD 2 10-01-2003 09:32 AM
nmbd wont start pyropenguin Linux - Networking 2 11-14-2002 03:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:49 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
Open Source Consulting | Domain Registration