我发生了一件奇怪的事情,我无法解释。首先看一下附图。
正如您所看到的,我在 DMZ 中有一个基于 CentOS 的 AMS-ASPERA01 服务器,并且我在广播 LAN 中有 6 台机器应该能够访问它。在这 6 个中,3 个(2x Fedora Linux 1x Windows)可以毫无问题地安装,没有警告。另外 3 台也是 CentOS 6 服务器,都安装在 CIFS 上的其他机器上,并且可以与这些机器完美配合,但在这台机器上却不能。
我使用的挂载命令是:
mount -t cifs //172.23.54.196/aspera -o rw,user=nobody,pass=nobody,file_mode=0666,dir_mode=0777,rsize=8192,wsize=8192 /mnt/ASPERA-NEW/
因为 3 台机器都可以工作,所以我猜 Samba 配置是正确的,但文件如下smb.conf
:
[global]
workgroup = foobar
netbios name = AMS-ASPERA01
server string = %h server (Samba %v)
bind interfaces only = true
log level = 0
syslog only = no
syslog = 0
8panic action = /usr/8th = /storage/internal
force user = nobody
force group = nobody
public = yes
writable = yes
guest ok = yes
share/samba/panic-action %d
encrypt passwords = true
smb passwd file = /etc/samba/smbpasswd
local master = no
os level = 33
domain master = no
preferred master = no
domain logons = no
socket options = SO_RCVBUF=131072 SO_SNDBUF=131072 TCP_NODELAY IPTOS_LOWDELAY
use sendfile = true
kernel oplocks = no
strict locking = no
security = share
passdb backend = tdbsam
#=====SHARES=====
[aspera]
comment = All Aspera Shared content
path = /storage/internal/aspera
force user = root
force group = root
public = yes
writable = yes
guest ok = yes
create mask = 0666
directory mask = 0777
当我使用给定的命令安装时,我收到如下消息:无法找到合适的地址,安装连接被拒绝。在消息日志文件中,尝试安装时收到以下消息:
Dec 2 12:48:32 AMS-PYDIO01 kernel: CIFS VFS: Error connecting to socket. Aborting operation.
Dec 2 12:48:32 AMS-PYDIO01 kernel: CIFS VFS: cifs_mount failed w/return code = -111 or -113
我用谷歌搜索了错误 111 和 113,但找不到明确的解释。
会是什么?