smb服务无法启动,各位帮忙看下是怎么回事。。。。。。。如下:
[root@icemoon samba]# service smb start
启动 SMB 服务: [失败]
启动 NMB 服务: [失败]
smb的配置文件:
[global]
workgroup = MYGROUP
server string = Samba Server
security = share
guest account = nobody
log file = /var/log/samba/%m.log
max log size = 50
[homes]
comment = Home Directories
browseable = no
writable = yes
[myshare]
comment = myshare
path = /media
valid users = nobody
public = yes
writable = yes
printable = no
create mask = 0765
以上是smb.conf的内容 其他的都注释掉了(;也是注释的意思吧。。与#有什么不同呢???)
还有日志文件smbd.log的内容
[2007/04/08 15:54:41, 0] smbd/server.c:main(847)
smbd version 3.0.24-3.fc6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/04/08 15:54:41, 0] param/params.carameter(370)
params.carameter() - Invalid parameter name in config. file.
[2007/04/08 15:54:41, 0] param/params.c[IMG]http://www..org/bbs/images/smilies/tongue.gif[/IMG]m_process(597)
params.c[IMG]http://www..org/bbs/images/smilies/tongue.gif[/IMG]m_process() - Failed. Error returned from params.c[IMG]http://www..org/bbs/images/smilies/tongue.gif[/IMG]arse().
[2007/04/08 15:54:41, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - 拒绝连接
[2007/04/08 15:54:41, 0] printing/print_cups.c:cups_cache_reload(85)
Unable to connect to CUPS server localhost - 拒绝连接
运行testparm显示配置文件 有无效参数。。。可偶是在看不出那里无效了。。
[root@icemoon samba]# testparm
Load smb config files from /etc/samba/smb.conf
params.c
arameter() - Invalid parameter name in config. file.
params.c[IMG]http://www..org/bbs/images/smilies/tongue.gif[/IMG]m_process() - Failed. Error returned from params.c[IMG]http://www..org/bbs/images/smilies/tongue.gif[/IMG]arse().
Error loading services.