samba共享服务器启动失败
发表于 : 2016-07-26 21:10
启动就是失败
root@ormosia-pc:/home/ormosia# /etc/init.d/smbd restart
[....] Restarting smbd (via systemctl): smbd.serviceJob for smbd.service failed because the control process exited with error code. See "systemctl status smbd.service" and "journalctl -xe" for details.
failed!
root@ormosia-pc:/home/ormosia# /etc/init.d/nmbd restart
[....] Restarting nmbd (via systemctl): nmbd.serviceJob for nmbd.service failed because the control process exited with error code. See "systemctl status nmbd.service" and "journalctl -xe" for details.
failed!
下面是smb.cong配置文件
[global]
workgroup = WORKGROUP
server string = Samba Server Version %v
netbios name = ormosia
security = share
[share]
comment = Public stuff
path = /home/ormosia/samba/
public = yes
writeable = yes
browseable = yes
guest ok = yes
查看状态就这样了
root@ormosia-pc:/home/ormosia# /etc/init.d/smbd status
● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
Loaded: loaded (/etc/init.d/smbd; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since 二 2016-07-26 20:53:34 CST; 29s ago
Docs: man:systemd-sysv-generator(8)
Process: 2727 ExecStart=/etc/init.d/smbd start (code=exited, status=1/FAILURE)
7月 26 20:53:34 ormosia-pc systemd[1]: Starting LSB: start Samba SMB/CIFS daemon (smbd)...
7月 26 20:53:34 ormosia-pc smbd[2727]: Starting SMB/CIFS daemon: smbd failed!
7月 26 20:53:34 ormosia-pc systemd[1]: smbd.service: Control process exited, code=exited status=1
7月 26 20:53:34 ormosia-pc systemd[1]: Failed to start LSB: start Samba SMB/CIFS daemon (smbd).
7月 26 20:53:34 ormosia-pc systemd[1]: smbd.service: Unit entered failed state.
7月 26 20:53:34 ormosia-pc systemd[1]: smbd.service: Failed with result 'exit-code'.
root@ormosia-pc:/home/ormosia# /etc/init.d/smbd start
[....] Starting smbd (via systemctl): smbd.serviceJob for smbd.service failed because the control process exited with error code. See "systemctl status smbd.service" and "journalctl -xe" for details.
failed!
root@ormosia-pc:/home/ormosia# /etc/init.d/smbd status
● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
Loaded: loaded (/etc/init.d/smbd; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since 二 2016-07-26 20:57:37 CST; 2s ago
Docs: man:systemd-sysv-generator(8)
Process: 2824 ExecStart=/etc/init.d/smbd start (code=exited, status=1/FAILURE)
7月 26 20:57:37 ormosia-pc systemd[1]: Starting LSB: start Samba SMB/CIFS daemon (smbd)...
7月 26 20:57:37 ormosia-pc smbd[2824]: Starting SMB/CIFS daemon: smbd failed!
7月 26 20:57:37 ormosia-pc systemd[1]: smbd.service: Control process exited, code=exited status=1
7月 26 20:57:37 ormosia-pc systemd[1]: Failed to start LSB: start Samba SMB/CIFS daemon (smbd).
7月 26 20:57:37 ormosia-pc systemd[1]: smbd.service: Unit entered failed state.
7月 26 20:57:37 ormosia-pc systemd[1]: smbd.service: Failed with result 'exit-code'.
root@ormosia-pc:/home/ormosia# /etc/init.d/nmbd status
● nmbd.service - LSB: start Samba NetBIOS nameserver (nmbd)
Loaded: loaded (/etc/init.d/nmbd; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since 二 2016-07-26 20:53:12 CST; 4min 41s ago
Docs: man:systemd-sysv-generator(8)
Process: 2623 ExecStart=/etc/init.d/nmbd start (code=exited, status=1/FAILURE)
7月 26 20:53:12 ormosia-pc systemd[1]: Starting LSB: start Samba NetBIOS nameserver (nmbd)...
7月 26 20:53:12 ormosia-pc nmbd[2623]: Starting NetBIOS name server: nmbd failed!
7月 26 20:53:12 ormosia-pc systemd[1]: nmbd.service: Control process exited, code=exited status=1
7月 26 20:53:12 ormosia-pc systemd[1]: Failed to start LSB: start Samba NetBIOS nameserver (nmbd).
7月 26 20:53:12 ormosia-pc systemd[1]: nmbd.service: Unit entered failed state.
7月 26 20:53:12 ormosia-pc systemd[1]: nmbd.service: Failed with result 'exit-code'.
7月 26 20:53:18 ormosia-pc systemd[1]: Stopped LSB: start Samba NetBIOS nameserver (nmbd).
这个改怎么解决啊
root@ormosia-pc:/home/ormosia# /etc/init.d/smbd restart
[....] Restarting smbd (via systemctl): smbd.serviceJob for smbd.service failed because the control process exited with error code. See "systemctl status smbd.service" and "journalctl -xe" for details.
failed!
root@ormosia-pc:/home/ormosia# /etc/init.d/nmbd restart
[....] Restarting nmbd (via systemctl): nmbd.serviceJob for nmbd.service failed because the control process exited with error code. See "systemctl status nmbd.service" and "journalctl -xe" for details.
failed!
下面是smb.cong配置文件
[global]
workgroup = WORKGROUP
server string = Samba Server Version %v
netbios name = ormosia
security = share
[share]
comment = Public stuff
path = /home/ormosia/samba/
public = yes
writeable = yes
browseable = yes
guest ok = yes
查看状态就这样了
root@ormosia-pc:/home/ormosia# /etc/init.d/smbd status
● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
Loaded: loaded (/etc/init.d/smbd; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since 二 2016-07-26 20:53:34 CST; 29s ago
Docs: man:systemd-sysv-generator(8)
Process: 2727 ExecStart=/etc/init.d/smbd start (code=exited, status=1/FAILURE)
7月 26 20:53:34 ormosia-pc systemd[1]: Starting LSB: start Samba SMB/CIFS daemon (smbd)...
7月 26 20:53:34 ormosia-pc smbd[2727]: Starting SMB/CIFS daemon: smbd failed!
7月 26 20:53:34 ormosia-pc systemd[1]: smbd.service: Control process exited, code=exited status=1
7月 26 20:53:34 ormosia-pc systemd[1]: Failed to start LSB: start Samba SMB/CIFS daemon (smbd).
7月 26 20:53:34 ormosia-pc systemd[1]: smbd.service: Unit entered failed state.
7月 26 20:53:34 ormosia-pc systemd[1]: smbd.service: Failed with result 'exit-code'.
root@ormosia-pc:/home/ormosia# /etc/init.d/smbd start
[....] Starting smbd (via systemctl): smbd.serviceJob for smbd.service failed because the control process exited with error code. See "systemctl status smbd.service" and "journalctl -xe" for details.
failed!
root@ormosia-pc:/home/ormosia# /etc/init.d/smbd status
● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
Loaded: loaded (/etc/init.d/smbd; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since 二 2016-07-26 20:57:37 CST; 2s ago
Docs: man:systemd-sysv-generator(8)
Process: 2824 ExecStart=/etc/init.d/smbd start (code=exited, status=1/FAILURE)
7月 26 20:57:37 ormosia-pc systemd[1]: Starting LSB: start Samba SMB/CIFS daemon (smbd)...
7月 26 20:57:37 ormosia-pc smbd[2824]: Starting SMB/CIFS daemon: smbd failed!
7月 26 20:57:37 ormosia-pc systemd[1]: smbd.service: Control process exited, code=exited status=1
7月 26 20:57:37 ormosia-pc systemd[1]: Failed to start LSB: start Samba SMB/CIFS daemon (smbd).
7月 26 20:57:37 ormosia-pc systemd[1]: smbd.service: Unit entered failed state.
7月 26 20:57:37 ormosia-pc systemd[1]: smbd.service: Failed with result 'exit-code'.
root@ormosia-pc:/home/ormosia# /etc/init.d/nmbd status
● nmbd.service - LSB: start Samba NetBIOS nameserver (nmbd)
Loaded: loaded (/etc/init.d/nmbd; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since 二 2016-07-26 20:53:12 CST; 4min 41s ago
Docs: man:systemd-sysv-generator(8)
Process: 2623 ExecStart=/etc/init.d/nmbd start (code=exited, status=1/FAILURE)
7月 26 20:53:12 ormosia-pc systemd[1]: Starting LSB: start Samba NetBIOS nameserver (nmbd)...
7月 26 20:53:12 ormosia-pc nmbd[2623]: Starting NetBIOS name server: nmbd failed!
7月 26 20:53:12 ormosia-pc systemd[1]: nmbd.service: Control process exited, code=exited status=1
7月 26 20:53:12 ormosia-pc systemd[1]: Failed to start LSB: start Samba NetBIOS nameserver (nmbd).
7月 26 20:53:12 ormosia-pc systemd[1]: nmbd.service: Unit entered failed state.
7月 26 20:53:12 ormosia-pc systemd[1]: nmbd.service: Failed with result 'exit-code'.
7月 26 20:53:18 ormosia-pc systemd[1]: Stopped LSB: start Samba NetBIOS nameserver (nmbd).
这个改怎么解决啊