Observations
A user tries to install JOC Cockpit, but gets an error as below:
[scheduler@jos11rc2 joc.1.11.0-RC2]$ ./setup.sh -u joc_install.xml
java -Dizpack.mode=privileged -jar "./joc.1.11.0-RC2.jar" joc_install.xml
[ Starting automated installation ]
numOfPrevInstallations=0
com.izforge.izpack.installer.InstallerException: Validating data
for panel jetty was not successful
com.izforge.izpack.installer.InstallerException: Validating data
for panel jetty was not successful
at com.izforge.izpack.installer.AutomatedInstaller.validatePanel(Unknown
Source)
at com.izforge.izpack.installer.AutomatedInstaller.installPanel(Unknown
Source)
at com.izforge.izpack.installer.AutomatedInstaller.doInstall(Unknown
Source)
at com.izforge.izpack.installer.Installer.main(Unknown Source) [
Automated installation FAILED! ]
Explanations
By using the -u
switch the user requested the installer not to switch to the root
account in order to acquire privileges that allow to create folders. At the same time the user scheduler
does not have the permissions to create a folder in the /opt/sos-berlin.com
directory.
Admittedly the error message that is presented by IZPack installer is confusing, however, missing permissions are the cause for this error.
Use ./setup.sh joc_install.xml
without the -u
switch to install JOC Cockpit with correct permissions.