chriden
15.04.2010, 22:30
Good evening,
I'm having trouble install installing on a linuxbox.
The actual Error is not that hard to identify as there is an errormessage but i cant find out what option is missing from the config nor did i find the point where to tweak the installroutine.
I ran the script ./sopinstall.sh -i:
Info: Existing SOPERA environment variables have been cleared.
-------------------------
The next page displays the Eclipse Public License (EPL). Use (F) or (B) to scroll the License Agreement.
To exit the display of the license agreement, type (Q).
To read the license agreement, type (R).
If you agree, type (Y).
If you disagree, type (N).
----------------------
agreement []: Y
Info: Performing installation in interactive mode.
Select the type of Installation
* SOPERA Participant Server (P)
* SOPERA Infrastructure Server (I)
* SOPERA Additional Components (A)
instType [P]: I
Info: Performing infrastructure installation.
Specify the SOPERA home directory where SOPERA Infrastructure should be installed.
SOPW_HOME [/opt/SOPera]:
The installation directory will be /opt/SOPera. Continue (Y/N)
proceed [Y]:
The components of SOPERA Infrastructure use ports x8080/x8443, x8180/x8543, x8280/x8643 and x8380/x8743 as port range.
Specify the value for x within range (1..5).
portPattern [1]: 2
Specify the Java directory to be used by SOPERA.
SOPW_DEPL_JAVA_DETECTED []: /usr/lib/jvm/java
Do you want to use an existing LDAP server from your environment (Y/N)?
USE_EXTERNAL_LDAP [N]: N
It is possible to install SOPERA startup in init.d scripts.
Do you want to activate this feature (Y/N)?
SOPW_DEPL_INITD_INSTALL [N]: N
after that i only changed the passwords and the install dies on me with this error
Info: Setting up openDS with basic user and root dn.
Error: Execution of command as user uid=0(root) gid=0(root) groups=0(root) in /opt/SOPera:
/opt/SOPera/openDS/setup --cli --no-prompt -p /opt/SOPera/Deployment/bin/deployment_lib.sh: line 1513: bc: command not found -b o=SOPware -D cn=admin,o=SOPware -w secret -Q
returned error code: 2
and generated output:
An error occurred while parsing the command-line arguments: An unexpected error occurred while attempting to initialize the command-line arguments: The provided value "/opt/SOPera/Deployment/bin/deployment_lib.sh:" for argument -p is not acceptable: The provided value "/opt/SOPera/Deployment/bin/deployment_lib.sh:" for the ldapport argument cannot be decoded as an integer
ERROR: No password was provided for the initial root user. When performing a non-interactive installation, this must be provided using either the rootUserPassword or the rootUserPasswordFile argument
This utility can be used to setup the Directory Server
Usage: setup {options}
where {options} include:
*snip*
Info: /opt/SOPera/Deployment/bin/install_openDS_from_archive.sh - Aborting. (2)
Error: Execution of command as user uid=0(root) gid=0(root) groups=0(root) in /opt/SOPera:
sh /opt/SOPera/Deployment/bin/install_openDS_from_archive.sh -f -a -b /opt/SOPera -s /opt/SOPera/download/openDS -p 2 -u lapins -g lapgrp -l laprun
returned error code: 2
Info: /opt/SOPera/Deployment/install/scripts/customize.sh - Aborting. (2)
Info: sh - Aborting. (2)
Error: finalize for SOPwDeployment had a problem.
Info: ./sopinstall.sh - Aborting. (1)
so the problem is found but i don't know how to solve it.
Would appreciate a hint.
Thx
Chris
I'm having trouble install installing on a linuxbox.
The actual Error is not that hard to identify as there is an errormessage but i cant find out what option is missing from the config nor did i find the point where to tweak the installroutine.
I ran the script ./sopinstall.sh -i:
Info: Existing SOPERA environment variables have been cleared.
-------------------------
The next page displays the Eclipse Public License (EPL). Use (F) or (B) to scroll the License Agreement.
To exit the display of the license agreement, type (Q).
To read the license agreement, type (R).
If you agree, type (Y).
If you disagree, type (N).
----------------------
agreement []: Y
Info: Performing installation in interactive mode.
Select the type of Installation
* SOPERA Participant Server (P)
* SOPERA Infrastructure Server (I)
* SOPERA Additional Components (A)
instType [P]: I
Info: Performing infrastructure installation.
Specify the SOPERA home directory where SOPERA Infrastructure should be installed.
SOPW_HOME [/opt/SOPera]:
The installation directory will be /opt/SOPera. Continue (Y/N)
proceed [Y]:
The components of SOPERA Infrastructure use ports x8080/x8443, x8180/x8543, x8280/x8643 and x8380/x8743 as port range.
Specify the value for x within range (1..5).
portPattern [1]: 2
Specify the Java directory to be used by SOPERA.
SOPW_DEPL_JAVA_DETECTED []: /usr/lib/jvm/java
Do you want to use an existing LDAP server from your environment (Y/N)?
USE_EXTERNAL_LDAP [N]: N
It is possible to install SOPERA startup in init.d scripts.
Do you want to activate this feature (Y/N)?
SOPW_DEPL_INITD_INSTALL [N]: N
after that i only changed the passwords and the install dies on me with this error
Info: Setting up openDS with basic user and root dn.
Error: Execution of command as user uid=0(root) gid=0(root) groups=0(root) in /opt/SOPera:
/opt/SOPera/openDS/setup --cli --no-prompt -p /opt/SOPera/Deployment/bin/deployment_lib.sh: line 1513: bc: command not found -b o=SOPware -D cn=admin,o=SOPware -w secret -Q
returned error code: 2
and generated output:
An error occurred while parsing the command-line arguments: An unexpected error occurred while attempting to initialize the command-line arguments: The provided value "/opt/SOPera/Deployment/bin/deployment_lib.sh:" for argument -p is not acceptable: The provided value "/opt/SOPera/Deployment/bin/deployment_lib.sh:" for the ldapport argument cannot be decoded as an integer
ERROR: No password was provided for the initial root user. When performing a non-interactive installation, this must be provided using either the rootUserPassword or the rootUserPasswordFile argument
This utility can be used to setup the Directory Server
Usage: setup {options}
where {options} include:
*snip*
Info: /opt/SOPera/Deployment/bin/install_openDS_from_archive.sh - Aborting. (2)
Error: Execution of command as user uid=0(root) gid=0(root) groups=0(root) in /opt/SOPera:
sh /opt/SOPera/Deployment/bin/install_openDS_from_archive.sh -f -a -b /opt/SOPera -s /opt/SOPera/download/openDS -p 2 -u lapins -g lapgrp -l laprun
returned error code: 2
Info: /opt/SOPera/Deployment/install/scripts/customize.sh - Aborting. (2)
Info: sh - Aborting. (2)
Error: finalize for SOPwDeployment had a problem.
Info: ./sopinstall.sh - Aborting. (1)
so the problem is found but i don't know how to solve it.
Would appreciate a hint.
Thx
Chris