|  | 
 
| 我的Linux9.0 samba服务器以前是好的,自从我把它的IP从192.168.1.168改为194.168.1.192之后就出现了以下错误日志(其中也对smb.conf进行过调整)。 错误日志:/var/log/samba/log.nmbd文件:
 [2005/11/08 10:06:29, 0] lib/util_sock.c
  pen_socket_in(804) bind failed on port 137 socket_addr = 192.168.1.168.
 Error = Cannot assign requested address
 [2005/11/08 10:06:29, 0] nmbd/nmbd_subnetdb.c:make_subnet(139)
 nmbd_subnetdb:make_subnet()
 Failed to open nmb socket on interface 192.168.1.168 for port 137.
 
 Error was Cannot assign requested address
 [2005/11/08 10:06:29, 0] nmbd/nmbd.c:main(872)
 ERROR: Failed when creating subnet lists. Exiting.
 [2005/11/08 10:21:35, 0] nmbd/nmbd.c:main(794)
 Netbios nameserver version 2.2.7a started.
 Copyright Andrew Tridgell and the Samba Team 1994-2002
 [2005/11/08 10:21:35, 0] lib/util_sock.c
  pen_socket_in(804) bind failed on port 137 socket_addr = 192.168.1.168.
 Error = Cannot assign requested address
 [2005/11/08 10:21:35, 0] nmbd/nmbd_subnetdb.c:make_subnet(139)
 nmbd_subnetdb:make_subnet()
 Failed to open nmb socket on interface 192.168.1.168 for port 137.
 
 Error was Cannot assign requested address
 [2005/11/08 10:21:35, 0] nmbd/nmbd.c:main(872)
 ERROR: Failed when creating subnet lists. Exiting.
 -------------------------------------------------------------------------------------
 samba服务器可以启动的,但是service smb restart 时会出现以下显示:
 Shutting down SMB services: [ok]
 Shutting down NMB services: [failed]
 Starting SMB services: [ok]
 Starting NMB services: [ok]
 | 
 |