octave-daemon
octave-daemon copied to clipboard
RuntimeException' with message 'Failed starting controllers! Check the system logs for more information.' in /usr/bin/octave-daemon:32 Stack trace:
I'm trying to use octave daemon (https://github.com/Gutza/octave-daemon) with php on my CentOS. I downloaded and run the install. The daemon was installed to usr/bin. When I want to start the daemon service, it complain error posix missing. I solved the error by doing yum install php-process. I restarted my apache and tried again. Now, I get error
PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Failed starting controllers! Check the system logs for more information.' in /usr/bin/octave-daemon:32 Stack trace:
0 {main} Please advice what I can do. It's urgent. Thanks!
Well, have you checked the system logs?
Nope, how do I check? Pls help me, I am novice on Unix.
Try this in a console:
su -c "less /var/log/messages"
Go to the end of the file (SHIFT+G) and see if you can find something related to octave-daemon.
By the way, if I have a .sh file of octave to execute, how do I do so?
I looked at the log.. Seem to be path problem.. How to solve? Sep 19 10:51:46 crop-i octave-daemon[6724]: New server listening on 127.0.0.1:43210 Sep 19 10:51:46 crop-i octave-daemon[6725]: Failed starting Octave controller: Failed starting the Octave process: sh: octave: command not found
Ok. I solved my problem. One last thing: if I have a .sh file of octave to execute, how do I execute with parmeters?
can you tell me how to solve the problem?