I have a virtual server with Linux-Debian operating system, the same is configured as Nginx Web server and Firebird database. I have a script that performs a Firebird restart routine and runs it when a crash occurs. My script, which is located at: '/scripts/restart_firebird.sh' I can usually run it via SSH. There was a need to put the script to run through a request through a PHP script. The command used is:
$output = shell_exec("/scripts/restart_firebird.sh");
echo $output;
When I run, I get the message:
Stopping Firebird 2.5 superclassic server ... failed.
I checked the firebird log files located in '/ var / log' but this error is not being logged.
Script content sh:
service firebird2.5-superclassic restart