Gutza / octave-daemon

The PHP network daemon for GNU Octave
http://projects.moongate.ro/octave-daemon/
GNU Affero General Public License v3.0
16 stars 2 forks source link

RuntimeException' with message 'Failed starting controllers! Check the system logs for more information.' in /usr/bin/octave-daemon:32 Stack trace: #5

Open adrianzy opened 11 years ago

adrianzy commented 11 years ago

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!

Gutza commented 11 years ago

Well, have you checked the system logs?

adrianzy commented 11 years ago

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

Gutza commented 11 years ago

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.

adrianzy commented 11 years ago

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

adrianzy commented 11 years ago

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 commented 11 years ago

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

xuyifu commented 8 years ago

can you tell me how to solve the problem?