When I click on "Acquire Lock", the following error displayed:-
sock_connect() [function.socket-connect]: unable to connect[146]: Connection refused
I think it is becuase the "HIPO" is not running, therefore I go and start the "start_server".
However, there is error when I run it:-
$ /opt/coolstack/php5/bin/php start_server.php 10.7.64.111 9090 /opt/squiz_server/server.conf
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/coolstack/php5/lib/php/extensions/no-debug-non-zts-20060613/oci8.so' - ld.so.1: php: fatal: libnnz10.so: open failed: No such file or directory in Unknown on line 0
[28-Aug-2008 15:36:29] ±-------------------------------------------------+
[28-Aug-2008 15:36:29] | Squiz Server v0.1.0 |
[28-Aug-2008 15:36:29] ±-------------------------------------------------+
[28-Aug-2008 15:36:29] Server Loading -> PID : 855
[28-Aug-2008 15:36:29] System "POC" loaded
[28-Aug-2008 15:36:29] Config File /opt/squiz_server/server.conf Loaded
[28-Aug-2008 15:36:29] Server Started -> PID : 855, listening on :
We have Matrix 3.18.2 installed on Solaris 10 with Oracle 10g.
It looks like your PHP CLI is not compiled correctly with Oracle support. I don't know why, but that seems to be the problem. It does seems surprising considering you would have needed to use the CLI to install Matrix in the first place.
In this case, it is most likely that OCI8 was built with dynamic library support and your LD_LIBRARY_PATH environment variable is no longer set correctly in the current shell. You will have to include the path to the Oracle Instant Client in your LD_LIBRARY_PATH variable before starting the PHP script.
Also note that you will most likely need to set the ORACLE_SID, ORACLE_HOME and TNS_ADMIN environment variables as well.