LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 958|回复: 0

求助:::smb服务无法启动。。。?????

[复制链接]
发表于 2007-4-8 16:35:51 | 显示全部楼层 |阅读模式
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:pm_process(597)
  params.c:pm_process() - Failed.  Error returned from params.c:parse().
[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.carameter() - Invalid parameter name in config. file.
params.c:pm_process() - Failed.  Error returned from params.c:parse().
Error loading services.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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