LINUX.ORG.RU
ФорумAdmin

Не стартует самба

 ,


0

1

Арч. Дефолтный конфиг самбы. Стартую юнит через systemd, smbd не стартует. Валит в лог:

окт 25 09:45:25 arch systemd[1]: Starting Samba AD Daemon...
окт 25 09:45:25 arch samba[13984]: [2015/10/25 09:45:25.241603,  0] ../source4/smbd/server.c:372(binary_smbd_main)
окт 25 09:45:25 arch samba[13984]:   samba version 4.3.1 started.
окт 25 09:45:25 arch samba[13984]:   Copyright Andrew Tridgell and the Samba Team 1992-2015
окт 25 09:45:25 arch systemd[1]: samba.service: PID file /var/run/samba.pid not readable (yet?) after start: No such file or directory
окт 25 09:45:25 arch systemd[1]: Started Samba AD Daemon.
окт 25 09:45:25 arch sudo[13977]: pam_unix(sudo:session): session closed for user root
окт 25 09:45:25 arch polkitd[430]: Unregistered Authentication Agent for unix-process:13978:5083295 (system bus name :1.79, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale ru_RU.utf8) (disconnected from bus)
окт 25 09:45:25 arch samba[13985]: [2015/10/25 09:45:25.351405,  0] ../source4/smbd/server.c:477(binary_smbd_main)
окт 25 09:45:25 arch samba[13985]:   At this time the 'samba' binary should only be used for either:
окт 25 09:45:25 arch samba[13985]:   'server role = active directory domain controller' or to access the ntvfs file server with 'server services = +smb' or the rpc proxy with 'dcerpc endpoint servers = remote'
окт 25 09:45:25 arch samba[13985]:   You should start smbd/nmbd/winbindd instead for domain member and standalone file server tasks
окт 25 09:45:25 arch samba[13985]: [2015/10/25 09:45:25.351571,  0] ../lib/util/become_daemon.c:111(exit_daemon)
окт 25 09:45:25 arch samba[13985]:   STATUS=daemon failed to start: Samba detected misconfigured 'server role' and exited. Check logs for details, error code 22
окт 25 09:45:25 arch systemd[1]: samba.service: Main process exited, code=exited, status=1/FAILURE
окт 25 09:45:25 arch systemd[1]: samba.service: Unit entered failed state.
окт 25 09:45:25 arch systemd[1]: samba.service: Failed with result 'exit-code'.
окт 25 09:45:34 arch sudo[13991]:      avp : TTY=pts/2 ; PWD=/home/avp ; USER=root ; COMMAND=/bin/smbd -D
окт 25 09:45:34 arch sudo[13991]: pam_unix(sudo:session): session opened for user root by avp(uid=0)
окт 25 09:45:34 arch sudo[13991]: pam_unix(sudo:session): session closed for user root
окт 25 09:45:34 arch smbd[13993]: [2015/10/25 09:45:34.334579,  0] ../lib/util/become_daemon.c:124(daemon_ready)
окт 25 09:45:34 arch smbd[13993]:   STATUS=daemon 'smbd' finished starting up and ready to serve connections

Смущает server role = active directory domain controller, однако в конфиге про это ни слова. Куда копать?


Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.