QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1020|回复: 0

一个samba日志错误——求教解答?

[复制链接]
发表于 2005-11-8 10:46:54 | 显示全部楼层 |阅读模式
我的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.cpen_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.cpen_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]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-3 02:34 , Processed in 0.159540 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表