[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:35979] nmdbがたくさんはしる



plain@おはら です。

woodyにて、samba2.2.3a-12を使っています。
sambaをインストールした直後には、このようなことになっていなかったと記憶
していますが、気が付くと、以下のように、たくさんnmdbがはしるようになっていました。

# ps aux | less
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.8  0.1  1272  484 ?        S    22:39   0:04 init [2]
root         2  0.0  0.0     0    0 ?        SW   22:39   0:00 [keventd]
root         3  0.0  0.0     0    0 ?        SW   22:39   0:00 [kapmd]
root         4  0.0  0.0     0    0 ?        SWN  22:39   0:00 [ksoftirqd_CPU0]
root         5  0.0  0.0     0    0 ?        SW   22:39   0:00 [kswapd]
root         6  0.0  0.0     0    0 ?        SW   22:39   0:00 [bdflush]
root         7  0.0  0.0     0    0 ?        SW   22:39   0:00 [kupdated]
root         8  0.0  0.0     0    0 ?        SW   22:39   0:00 [kjournald]
root        76  0.0  0.0     0    0 ?        SW   22:39   0:00 [kjournald]
daemon     129  0.0  0.1  1376  416 ?        S    22:39   0:00 /sbin/portmap
root       188  0.0  0.3  2036  784 ?        S    22:39   0:00 /sbin/syslogd
root       191  0.0  0.4  1892 1080 ?        S    22:39   0:00 /sbin/klogd
root       197  0.0  0.3  2156  832 ?        S    22:39   0:00 /usr/sbin/dhcpd-2
.2.x -q
root       205  0.0  0.2  2000  724 ?        S    22:39   0:00 /usr/sbin/inetd
root       210  0.0  0.4  2720 1280 ?        S    22:39   0:00 /usr/sbin/nmbd -D
root       212  0.0  0.4  2676 1032 ?        S    22:39   0:00 /usr/sbin/nmbd -D
root       214  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       216  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       218  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       220  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       222  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       224  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       226  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       228  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       230  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       232  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       236  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       241  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       243  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       245  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       247  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       249  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       251  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       253  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       255  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       257  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       259  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       262  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       264  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       266  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       268  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       270  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       272  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a
root       274  0.0  0.4  2676 1032 ?        S    22:39   0:00 nmbd -a

sambaを再起動しようとしても、

#/etc/init.d/samba restart
Restarting Samba daemons: nmbd smbdstart-stop-daemon: warning: failed to kill 234: No such process
.
となってしまいます。また、Debian自身を再起動しても同じ症状が出ます。

logを見ると、

# less /var/log/samba/log.nmbd
(抜粋)
[2003/01/20 22:39:26, 0] nmbd/nmbd.c:main(783)
  Netbios nameserver version 2.2.3a-12 for Debian started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2003/01/20 22:39:26, 0] nmbd/asyncdns.c:start_async_dns(148)
  started asyncdns process 301
[2003/01/20 22:39:26, 0] lib/pidfile.c:pidfile_create(86)
  ERROR: nmbd is already running. File /var/run/samba/nmbd.pid exists and proces
s id 210 is running.
[2003/01/20 22:39:29, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(237)
  find_response_record: response packet id 30833 received with no matching recor
d.
[2003/01/20 22:39:29, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(237)
  find_response_record: response packet id 30834 received with no matching recor
d.
[2003/01/20 22:39:33, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(115)
  *****

  Samba server AAA is now a domain master browser for workgroup WORKGROUP on su
bnet ***.***.***.***

  *****
[2003/01/20 22:39:48, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
  *****

  Samba name server AAA is now a local master browser for workgroup WORKGROUP o
n subnet ***.***.***.***

  *****
[2003/01/20 22:49:50, 0] nmbd/nmbd.c:sig_term(63)
  Got SIGTERM: going down...

となっていたので、勝手に/var/run/samba/nmbd.pidを消して、再起動しました
が、症状は改善されず、たくさんnmdbがはしっています。
ただ、logは以下のように、ERROR:が出るようなことはなくなっています。

[2003/01/20 22:50:16, 0] nmbd/nmbd.c:main(783)
  Netbios nameserver version 2.2.3a-12 for Debian started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2003/01/20 22:50:16, 0] nmbd/asyncdns.c:start_async_dns(148)
  started asyncdns process 355
[2003/01/20 22:50:16, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_win
s(339)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup WORKGROUP, subnet UNICA
ST_SUBNET.
[2003/01/20 22:50:16, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_win
s(354)
  become_domain_master_browser_wins: querying WINS server at IP ***.***.***.*** for
 domain master browser name WORKGROUP<1b> on workgroup WORKGROUP
[2003/01/20 22:50:16, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(115)
  *****

  Samba server AAA is now a domain master browser for workgroup WORKGROUP on su
bnet UNICAST_SUBNET

  *****
[2003/01/20 22:50:16, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bca
st(291)
  become_domain_master_browser_bcast:
  Attempting to become domain master browser on workgroup WORKGROUP on subnet 192
.168.1.10
[2003/01/20 22:50:16, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bca
st(305)
  become_domain_master_browser_bcast: querying subnet ***.***.***.*** for domain ma
ster browser on workgroup WORKGROUP
[2003/01/20 22:50:20, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(237)
  find_response_record: response packet id 31528 received with no matching recor
d.
[2003/01/20 22:50:20, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(237)
  find_response_record: response packet id 31529 received with no matching recor
d.
[2003/01/20 22:50:24, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(115)
  *****

  Samba server AAA is now a domain master browser for workgroup WORKGROUP on su
bnet ***.***.***.***

  *****
[2003/01/20 22:50:39, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
  *****

  Samba name server AAA is now a local master browser for workgroup WORKGROUP o
n subnet ***.***.***.***

  *****

こんなにたくさんのnmdbは、はしっていなかったと思うし、必要ないので、元の
状態にしたいと思うのですが、どのように対処すればよいでしょうか?

以上よろしくお願いします。


ではでは、(^^)/~~~。


-------------------------------------------- 
  Masateru OHARA  <car31930@xxxxxxxxxxxxxxx>
--------------------------------------------