cacaoadm error during the installation
Hello everyone
I haven't much experience with Solaris and decieded to play a bit with it and the whole software available for the system. The N1 System Manager sounded quite nice so I tried to install it. I had a few problems but until now, I was able to overcome them but now, I'm stuck with the following error:
-bash-3.00# ./install
Please read the Software License Agreement before proceeding.
Do you accept the license agreement? [y/n]:
y
Checking required perl modules...
N1SM Installer (version 1.3.3 on SunOS)
1. Install OS packages. [Completed]
2. Install Expect. [Completed]
3. Install IPMI tool.[Completed]
4. Install JDK 1.5. [Completed]
5. Install service provisioning components. [Completed]
6. Install OS provisioning components.[Completed]
7. Copy DHCP configuration file.[Completed]
8. Install userinterface components.[Completed]
9. Install service container components.[Partially Run]
10. Install N1 System Manager.[Not Completed]
Non-interactive install in progress.
Executing current step: Install service container components...
N1SM Installer (version 1.3.3 on SunOS)
1. Install OS packages. [Completed]
2. Install Expect. [Completed]
3. Install IPMI tool.[Completed]
4. Install JDK 1.5. [Completed]
5. Install service provisioning components. [Completed]
6. Install OS provisioning components.[Completed]
7. Copy DHCP configuration file.[Completed]
8. Install userinterface components.[Completed]
9. Install service container components.[Partially Run]
10. Install N1 System Manager.[Not Completed]
Failed Step: Install service container components.
The following is a portion of the installer
log which may indicate the cause of the error.
Ifthis does not indicate the cause of the
error, you will need to view the full log
file. More information on how todo that is
available below.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Installation of <SUNWjdmk-runtime-jmx> was successful.
/opt/SUNWcacao/bin/cacaoadm: test: argument expected
Error setting cacao java flags"-Dsun.security.pkcs11.enable-solaris=false -Xmx1024m -Xss256k -server"
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Please fix the problem and thentrythis step again.
For a full log of the failed install see the file: /var/tmp/installer.log.8863.
t. Trythis step again (correct the failure before proceeding)
x. Exit
Enter selection: (t/x)
Any ideas what's wrong with the "/opt/SUNWcacao/bin/cacaoadm: test: argument expected"?
[3060 byte] By [
Aknata] at [2007-11-27 9:21:43]

# 2
Hello Kishore,
I'm using Solaris 10 11/06 s10x_u3wos_10 X86.
/var/tmp/installer.log.8863:
All required perl modules installed.
Ignoring job: 01removeEmptyDirs.pl
Ignoring job: 0checkRPMs.pl
Ignoring job: 0installPython.pl
Executing job: jobs/4installCacao.pl --install
Calling installPackage(/software/Solaris_x86/Product//components/cacao//SUNWcacaocfg)
installPKG() from dir /software/Solaris_x86/Product//components/cacao/ "SUNWcacaocfg"
installPKG(): Installing from /software/Solaris_x86/Product//components/cacao/ pkg SUNWcacaocfg
Processing package instance <SUNWcacaocfg> from </software/Solaris_x86/Product/components/cacao>
Cacao configuration files(i386) 1.1,REV=15
This appears to be an attempt to install the same architecture and
version of a package which is already installed. This installation
will attempt to overwrite this package.
Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Using <> as the package base directory.
## Processing package information.
## Processing system information.
15 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWcacaocfg> [y,n,?]
Installing Cacao configuration files as <SUNWcacaocfg>
## Installing part 1 of 1.
Installation of <SUNWcacaocfg> was successful.
Calling installPackage(/software/Solaris_x86/Product//components/cacao//SUNWcacao)
installPKG() from dir /software/Solaris_x86/Product//components/cacao/ "SUNWcacao"
installPKG(): Installing from /software/Solaris_x86/Product//components/cacao/ pkg SUNWcacao
Processing package instance <SUNWcacao> from </software/Solaris_x86/Product/components/cacao>
Cacao Component(i386) 1.1,REV=15
This appears to be an attempt to install the same architecture and
version of a package which is already installed. This installation
will attempt to overwrite this package.
Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Using </opt> as the package base directory.
## Processing package information.
## Processing system information.
73 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
The following files are being installed with setuid and/or setgid
permissions:
* /opt/SUNWcacao/lib/tools/cacaocsc <setuid root>
* /opt/SUNWcacao/lib/tools/suexec <setuid root>
* - overwriting a file which is also setuid/setgid.
Do you want to install these as setuid/setgid files [y,n,?,q]
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWcacao> [y,n,?]
Installing Cacao Component as <SUNWcacao>
## Executing preinstall script.
## Installing part 1 of 1.
## Executing postinstall script.
Saving cacao configuration parameters in //etc/opt/SUNWcacao/old_config.bak
Installation of <SUNWcacao> was successful.
Calling installPackage(/software/Solaris_x86/Product//components/cacao//ext_pkgs/jdmk/SUNWjdmk-runtime.pkg)
installPKG() from file /software/Solaris_x86/Product//components/cacao//ext_pkgs/jdmk/SUNWjdmk-runtime.pkg "SUNWjdmk-runtime"
installPKG(): Installing from /software/Solaris_x86/Product//components/cacao//ext_pkgs/jdmk/SUNWjdmk-runtime.pkg pkg SUNWjdmk-runtime
Processing package instance <SUNWjdmk-runtime> from </software/Solaris_x86/Product/components/cacao/ext_pkgs/jdmk/SUNWjdmk-runtime.pkg>
Java DMK 5.1 Runtime Library(all) 5.1,REV=34
This appears to be an attempt to install the same architecture and
version of a package which is already installed. This installation
will attempt to overwrite this package.
Using </opt> as the package base directory.
## Processing package information.
## Processing system information.
11 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
Installing Java DMK 5.1 Runtime Library as <SUNWjdmk-runtime>
## Installing part 1 of 1.
[ verifying class <none> ]
Copyright 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Installation of <SUNWjdmk-runtime> was successful.
Calling installPackage(/software/Solaris_x86/Product//components/cacao//ext_pkgs/jdmk/SUNWjdmk-runtime-jmx.pkg)
installPKG() from file /software/Solaris_x86/Product//components/cacao//ext_pkgs/jdmk/SUNWjdmk-runtime-jmx.pkg "SUNWjdmk-runtime-jmx"
installPKG(): Installing from /software/Solaris_x86/Product//components/cacao//ext_pkgs/jdmk/SUNWjdmk-runtime-jmx.pkg pkg SUNWjdmk-runtime-jmx
Processing package instance <SUNWjdmk-runtime-jmx> from </software/Solaris_x86/Product/components/cacao/ext_pkgs/jdmk/SUNWjdmk-runtime-jmx.pkg>
Java DMK 5.1 JMX libraries(all) 5.1,REV=34
This appears to be an attempt to install the same architecture and
version of a package which is already installed. This installation
will attempt to overwrite this package.
Using </opt> as the package base directory.
## Processing package information.
## Processing system information.
9 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
Installing Java DMK 5.1 JMX libraries as <SUNWjdmk-runtime-jmx>
## Installing part 1 of 1.
[ verifying class <none> ]
Copyright 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Installation of <SUNWjdmk-runtime-jmx> was successful.
/opt/SUNWcacao/bin/cacaoadm: test: argument expected
Error setting cacao java flags "-Dsun.security.pkcs11.enable-solaris=false -Xmx1024m -Xss256k -server"
# pkginfo | grep SUNWcacao:
application SUNWcacaoCacao Component
application SUNWcacaocfgCacao configuration files
application SUNWcacaortCommon Agent Container - Runtime
# pkginfo -l SUNWcacao
PKGINST: SUNWcacao
NAME: Cacao Component
CATEGORY: application
ARCH: i386
VERSION: 1.1,REV=15
BASEDIR: /opt
VENDOR: Sun Microsystems, Inc.
DESC: Cacao framework
PSTAMP: 1.1,REV=15-patch_01,Aug/23/05
INSTDATE: Jul 01 2007 22:21
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES:73 installed pathnames
16 directories
5 executables
2 setuid/setgid executables
2589 blocks used (approx)
Aknata at 2007-7-12 22:15:42 >
