iSymphony3 failing to start [SOLVED]

Clean install of FreePBX 13, yum updates and FreePBX modules all updated.

iSymphony3 fails to start saying that it cannot find java. I assume the yum update broke some prebuilt symlink.

[root@fpbx ~]# service iSymphonyServerV3 start
JAVA_HOME is defined, but the 'java' executable
cannot be found in:

/usr/java/latest/bin

This is a fatal error.
Verify your JAVA_HOME environment variable is set
in ./config-vars.sh

so asking java, it said this.

[root@fpbx ~]# which java
/usr/bin/java

Trying the command it listed failed, likely because of the path not being listed.

[root@fpbx ~]# ./config-vars.sh
-bash: ./config-vars.sh: No such file or directory

When I went to the iSymphony docs to get the install path, it said to run instead.

/opt/isymphony3/server/config.sh

for the record the script form the error message (./config-vars.sh) is in /opt/isymphony3/server also.

I ran the script from the docs, but apparently that script has some hard coded path info.

[root@fpbx ~]# /opt/isymphony3/server/config.sh
First, We need to know the path to your
Sun Java installation [/usr/java/latest]:
/usr/bin/java
Checking for Java Binary /usr/bin/java/bin/java..
You do not appear to have the Sun Microsystems Java Runtime
Environment (JRE) installed.  We could not find the java binary
at:

/usr/bin/java/bin/java

This program will not function appropriately without J2SE
1.5 Java 5 or greater.

So I did it again just using /usr and it worked.

[root@fpbx ~]# /opt/isymphony3/server/config.sh
First, We need to know the path to your
Sun Java installation [/usr/java/latest]:
/usr
Checking for Java Binary /usr/bin/java..
[root@fpbx ~]# service iSymphonyServerV3 start
Starting iSymphonyServer... Done
See ./log/iSymphonyServer.out.log for more details               [  OK  ]
2 Likes

This helped me get iSymphony to work on a fresh install of FreepPBX 13, too. Thanks for sharing!

iSymphony updated today when I ran a new yum update and guess what. Broke again.

[root@fpbx ~]# service iSymphonyServerV3 restart
Stopping iSymphonyServer...
Failed to stop: A running instance of the server was not found.
rm: cannot remove `/var/lock/subsys/iSymphonyServerV3': No such file or directory
JAVA_HOME is defined, but the 'java' executable
cannot be found in:

/usr/java/latest/bin

This is a fatal error.
Verify your JAVA_HOME environment variable is set
in ./config-vars.sh

This is highly annoying.