PDA

View Full Version : Trouble installing on Linux


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

zubairov
16.04.2010, 09:59
Good Morning Chris,

Two questions I have back :)


What SOPERA Version are you trying to install?
Under with user you are trying to install it?


Also the generated response file (SOPERA.response) could help in identifying the problem, could you please attach it?

Renat

chriden
16.04.2010, 10:14
good morning,

in answer to your questions.

i'm trying to install 3.3 as root.

Chris

Michael
16.04.2010, 10:45
Hi Chris

Which password did you change and when did you change it?
On which platform do you try to install? (uname -a)

perhaps a complete cleanup and reinstallation may help:


make sure no SOPERA related process is running
remove the content of complete SOPERA home directory with uninstall or manually
remove the users sopins, soprun, lapins and laprun from /etc/passwd
remove the groups sopgrp and lapgrp from /etc/group
open a new shell
install again


regards
Michael

zubairov
16.04.2010, 11:04
Hello Chris,

Please check wherever you have a binary calculator binray available


bc --help


What OS version you are trying to install to?

Renat

chriden
16.04.2010, 14:30
*tilt* the bc was missing

sorry for beeing stupid and thanks for the help

zubairov
17.04.2010, 16:23
np, we are now considering adding the note about binary calculator into the troubleshooting section of SOPERA Documentation.

Renat