红联Linux门户
Linux帮助

求助大家! RHEL5 SAMBA服务问题

发布时间:2010-03-17 12:39:31来源:红联作者:dongqing1109
小弟最近学习linux中想尝试配置samba服务器 碰到了问题 请各位老鸟帮忙看看 谢谢
配置完samba以后发现关闭不了smb了。。。
刚配置完能连接到自己 更改了点东西后不知道怎么了 连接不了自己了
[root@localhost ~]# smbclient -L \\192.168.65.129
Error connecting to 192.168.65.129 (拒绝连接)
Connection to 192.168.65.129 failed (Error NT_STATUS_CONNECTION_REFUSED)

也关闭不了
[root@localhost ~]# service smb stop
关闭 SMB 服务: [失败]
关闭 NMB 服务: [失败]

下面我的smb配置
[root@localhost ~]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[public]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
workgroup = MYGROUP
server string = Samba Server
interfaces = lo, eth0, 192.168.12.2/24, 192.168.13.2/24, 192.168.65.129/24
smb passwd file = etc/smaba/smbpasswd
guest account = pcguest
log file = /var/log/samba/%m.log
max log size = 50
wins support = Yes
hosts allow = 127., 192.168.9., 192.168.65.
cups options = raw

[homes]
comment = Home Directories
read only = No

[printers]
comment = All Printers
path = /home/test
printable = Yes
browseable = No

[public]
comment = Public Stuff
path = /home/samba
write list = +staff
read only = No
guest ok = Yes

我看了下3个端口也没问题
netbios-ns 137/tcp # NETBIOS Name Service
netbios-ns 137/udp
netbios-dgm 138/tcp # NETBIOS Datagram Service
netbios-dgm 138/udp
netbios-ssn 139/tcp # NETBIOS session service
netbios-ssn 139/udp

再我最后关机的时候
shutdown smb service 也是 failed

老鸟们 帮我看看 行吗 在线等!!!
小弟先谢过各位了
文章评论

共有 3 条评论

  1. gdh7201 于 2010-08-20 12:40:02发表:

    thanks!

  2. dongqing1109 于 2010-03-17 16:35:39发表:

    我重装samba服务 把samba目录删了 安装完后 出现了1个samba目录 可是里面什么都没了
    怎么办。。。

  3. xtvnet 于 2010-03-17 14:46:28发表:

    帮顶