Good day!
Sorry for my english.
Debian 8.7 is installed on the server.
Installing Yate ver. 6.0.1 from SVN (instructions -
http://docs.yate.ro/wiki/Compiling_and_Installing_Yate_from_SVN_on_Debian).
In file "/etc/init.d/yate" change line - "/usr/bin" -> "/usr/local/bin".
When I try to run the - "service yate start" command, I receive an warning message:
root@yate:/# service yate start
Job for yate.service failed. See 'systemctl status yate.service' and 'journalctl -xn' for details.
root@yate:/#
root@yate:/# systemctl status yate.service
● yate.service - LSB: YATE
Loaded: loaded (/etc/init.d/yate)
Active: failed (Result: exit-code) since Ср 2018-05-02 14:52:34 MSK; 24s ago
Process: 1685 ExecStart=/etc/init.d/yate start (code=exited, status=1/FAILURE)
may 02 14:52:34 yate systemd[1]: yate.service: control process exited, code=exited status=1
may 02 14:52:34 yate systemd[1]: Failed to start LSB: YATE.
may 02 14:52:34 yate systemd[1]: Unit yate.service entered failed state.
root@yate:/#
However, Yate start - pid-file and yate.log are created. There is nothing criminal in yate.log
The problem is that the commands "service date stop" or "service yate restart" do not work - to restart I have to manually kill the process and delete the pid-file.
Where can be error?