SC 3.1 08/05 on Solaris 10 06/06 - cacao svc fails to load
After patching up Solaris 10 06/06 to current (as of Sep 7th 2006), I have a number of issues to resolve, but I'm starting with this one. I get the following error on bootup.
Sep 7 15:34:27 node1 cacao: No suitable Java runtime found. Java 1.4.2_03 or higher is required.
Sep 7 15:34:27 node1 cacao: Error: Fail to start cacao agent. default
Sep 7 15:34:27 node1 svc.startd[8]: application/management/cacao:default failed: transitioned to maintenance (see 'svcs -xv' for details)
As per:
http://docs.sun.com/app/docs/doc/819-0420/6n2rlnn9l?a=view
I have checked the java version and it satisfies dependancy:
$ /usr/j2se/bin/java -version
java version "1.4.2_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-b06)
Java HotSpot(TM) Client VM (build 1.4.2_11-b06, mixed mode)
Default symlink is not as suggested:
$ ls -l /usr/java
lrwxrwxrwx1 rootroot 15 Sep 7 15:13 /usr/java -> jdk/jdk1.5.0_07
So I have tried it with the correct symlink of /usr/j2se but I still can't bring cacao out of maintenance mode.
I have also tried setting various "java.home" values with the cacaoadm command but no luck there either.
Is this a bug, or a misconfiguration, and is there a known workaround for this yet?
[1322 byte] By [
robindixon] at [2007-11-26 9:59:09]

# 2
You can try the following:
- login as root
- stop Cacao and set java:
/opt/SUNWcacao/bin/cacaoadm stop
/opt/SUNWcacao/bin/cacaoadm rebuild-dependencies
- start Cacao and check status:
/opt/SUNWcacao/bin/cacaoadm start
/opt/SUNWcacao/bin/cacaoadm status
Cacao is a framework used in various products, for Sun Cluster I think it is primarily used for the management framewor offered via SunPlex Manager , but maybe also in other parts.
Greets
Thorsten
# 3
Thanks, I tried that. Well it looks like a problem with the default instance.
# cacaoadm status
default instance is DISABLED at system startup.
Smf monitoring process:
2439
Uptime: 0 day(s), 14:52
# svcadm enable svc:/application/management/cacao:default
# Sep 8 08:38:27 bunsen cacao: No suitable Java runtime found. Java 1.4.2_03 or higher is required.
Sep 8 08:38:27 bunsen cacao: Error: Fail to start cacao agent. default
Sep 8 08:38:28 bunsen cacao: No suitable Java runtime found. Java 1.4.2_03 or higher is required.
Sep 8 08:38:28 bunsen cacao: Error: Fail to start cacao agent. default
Sep 8 08:38:30 bunsen cacao: No suitable Java runtime found. Java 1.4.2_03 or higher is required.
Sep 8 08:38:30 bunsen cacao: Error: Fail to start cacao agent. default
Sep 8 08:38:30 bunsen svc.startd[8]: application/management/cacao:default failed: transitioned to maintenance (see 'svcs -xv' for details)
# cacaoadm status
default instance is DISABLED at system startup.
Smf monitoring process:
2439
Uptime: 0 day(s), 14:53
# cacaoadm start
start: server (pid 2439) already running
# cacaoadm stop
# cacaoadm rebuild-dependencies
Property updated: [java-home].
# cacaoadm start
# cacaoadm status
default instance is DISABLED at system startup.
Smf monitoring process:
10981
Uptime: 0 day(s), 0:0
# svcadm disable svc:/application/management/cacao:default
# svcadm enable svc:/application/management/cacao:default
# Sep 8 08:44:38 bunsen cacao: No suitable Java runtime found. Java 1.4.2_03 or higher is required.
Sep 8 08:44:38 bunsen cacao: Error: Fail to start cacao agent. default
Sep 8 08:44:38 bunsen svc.startd[8]: application/management/cacao:default failed: transitioned to maintenance (see 'svcs -xv' for details)