求助:ubuntu16.04 samba 启动失败

Ubuntu中文汉化版
回复
mm1327
帖子: 2
注册时间: 2010-03-25 21:55
送出感谢: 0
接收感谢: 0

求助:ubuntu16.04 samba 启动失败

#1

帖子 mm1327 » 2019-01-04 9:15

[email protected]:~$ sudo systemctl start smbd nmbd
Job for smbd.service failed because the control process exited with error code. See "systemctl status smbd.service" and "journalctl -xe" for details.
[email protected]:~$ journalctl -xe
Jan 04 01:11:53 tegra-ubuntu sudo[5760]: ubuntu : TTY=pts/16 ; PWD=/home/ubuntu ; USER=root ; COMMAND=/sbin/sysctl start service.smaba
Jan 04 01:11:53 tegra-ubuntu sudo[5760]: pam_unix(sudo:session): session opened for user root by ubuntu(uid=0)
Jan 04 01:11:53 tegra-ubuntu sudo[5760]: pam_unix(sudo:session): session closed for user root
Jan 04 01:12:02 tegra-ubuntu sudo[5763]: ubuntu : TTY=pts/16 ; PWD=/home/ubuntu ; USER=root ; COMMAND=/sbin/sysctl start service.smdb
Jan 04 01:12:02 tegra-ubuntu sudo[5763]: pam_unix(sudo:session): session opened for user root by ubuntu(uid=0)
Jan 04 01:12:02 tegra-ubuntu sudo[5763]: pam_unix(sudo:session): session closed for user root
Jan 04 01:12:23 tegra-ubuntu sudo[5767]: ubuntu : TTY=pts/16 ; PWD=/home/ubuntu ; USER=root ; COMMAND=/sbin/sysctl start service.smdb
Jan 04 01:12:23 tegra-ubuntu sudo[5767]: pam_unix(sudo:session): session opened for user root by ubuntu(uid=0)
Jan 04 01:12:23 tegra-ubuntu sudo[5767]: pam_unix(sudo:session): session closed for user root
Jan 04 01:12:32 tegra-ubuntu sudo[5769]: ubuntu : TTY=pts/16 ; PWD=/home/ubuntu ; USER=root ; COMMAND=/bin/systemctl start smbd nmbd
Jan 04 01:12:32 tegra-ubuntu sudo[5769]: pam_unix(sudo:session): session opened for user root by ubuntu(uid=0)
Jan 04 01:12:32 tegra-ubuntu systemd[1]: Starting LSB: start Samba SMB/CIFS daemon (smbd)...
-- Subject: Unit smbd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit smbd.service has begun starting up.
Jan 04 01:12:32 tegra-ubuntu systemd[1]: Started LSB: start Samba NetBIOS nameserver (nmbd).
-- Subject: Unit nmbd.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit nmbd.service has finished starting up.
--
-- The start-up result is done.
Jan 04 01:12:33 tegra-ubuntu smbd[5772]: * Starting SMB/CIFS daemon smbd
Jan 04 01:12:33 tegra-ubuntu smbd[5772]: ...fail!
Jan 04 01:12:33 tegra-ubuntu systemd[1]: smbd.service: Control process exited, code=exited status=1
Jan 04 01:12:33 tegra-ubuntu systemd[1]: Failed to start LSB: start Samba SMB/CIFS daemon (smbd).
-- Subject: Unit smbd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit smbd.service has failed.
--
-- The result is failed.
Jan 04 01:12:33 tegra-ubuntu systemd[1]: smbd.service: Unit entered failed state.
Jan 04 01:12:33 tegra-ubuntu systemd[1]: smbd.service: Failed with result 'exit-code'.
Jan 04 01:12:33 tegra-ubuntu sudo[5769]: pam_unix(sudo:session): session closed for user root
Jan 04 01:12:50 tegra-ubuntu sudo[5793]: ubuntu : TTY=pts/16 ; PWD=/home/ubuntu ; USER=root ; COMMAND=/bin/systemctl start smbd nmbd
Jan 04 01:12:50 tegra-ubuntu sudo[5793]: pam_unix(sudo:session): session opened for user root by ubuntu(uid=0)
Jan 04 01:12:50 tegra-ubuntu systemd[1]: Starting LSB: start Samba SMB/CIFS daemon (smbd)...
-- Subject: Unit smbd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit smbd.service has begun starting up.
Jan 04 01:12:50 tegra-ubuntu systemd[1]: Started LSB: start Samba NetBIOS nameserver (nmbd).
-- Subject: Unit nmbd.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit nmbd.service has finished starting up.
--
-- The start-up result is done.
Jan 04 01:12:51 tegra-ubuntu smbd[5796]: * Starting SMB/CIFS daemon smbd
Jan 04 01:12:51 tegra-ubuntu smbd[5796]: ...fail!
Jan 04 01:12:51 tegra-ubuntu systemd[1]: smbd.service: Control process exited, code=exited status=1
Jan 04 01:12:51 tegra-ubuntu systemd[1]: Failed to start LSB: start Samba SMB/CIFS daemon (smbd).
-- Subject: Unit smbd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li ... temd-devel
--
-- Unit smbd.service has failed.
--
-- The result is failed.
Jan 04 01:12:51 tegra-ubuntu systemd[1]: smbd.service: Unit entered failed state.
Jan 04 01:12:51 tegra-ubuntu systemd[1]: smbd.service: Failed with result 'exit-code'.
Jan 04 01:12:51 tegra-ubuntu sudo[5793]: pam_unix(sudo:session): session closed for user root
[email protected]:~$ sudo cat /var/log/samba/log.smbd | pastebinit
Failed to contact the server: [Errno socket error] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)
[email protected]:~$ sudo cat /etc/samba/smb.conf | pastebinit
Failed to contact the server: [Errno socket error] [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)
[email protected]:~$
回复

回到 “Ubuntu中文衍生版”