octave-daemon icon indicating copy to clipboard operation
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:

Open adrianzy opened this issue 11 years ago • 7 comments

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!

adrianzy avatar Sep 18 '13 13:09 adrianzy

Well, have you checked the system logs?

Gutza avatar Sep 18 '13 13:09 Gutza

Nope, how do I check? Pls help me, I am novice on Unix.

adrianzy avatar Sep 18 '13 13:09 adrianzy

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.

Gutza avatar Sep 18 '13 13:09 Gutza

By the way, if I have a .sh file of octave to execute, how do I do so?

adrianzy avatar Sep 18 '13 14:09 adrianzy

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

adrianzy avatar Sep 19 '13 03:09 adrianzy

Ok. I solved my problem. One last thing: if I have a .sh file of octave to execute, how do I execute with parmeters?

adrianzy avatar Sep 19 '13 06:09 adrianzy

can you tell me how to solve the problem?

xuyifu avatar Mar 30 '16 15:03 xuyifu