View Full Version : trouble installing Infrastructure server on Mac osx
I'm trying to install the infrastracture server on a mac osx.
I followed the instruction I found in http://code.google.com/p/sopera-examples/wiki/MacQuickStart but since I wanted to install the whole infrastructure on my mac I did the following choice:
Select the type of Installation
* SOPERA Participant Server (P)
* SOPERA Infrastructure Server (I)
* SOPERA Additional Components (A)
instType [P]: i
Info: Performing infrastructure installation.
Everything worked fine till I got
Info: Adding authentication and authorization structure for SOPAdministrator
Info: Setting up openDS with basic user and root dn.
Error: Execution of command as user uid=501(alagna) gid=501(alagna) groups=501(alagna),401(com.apple.access_screenshar ing),204(_developer),100(_lpoperator),98(_lpadmin) ,80(admin),61(localaccounts),12(everyone),101(com. apple.sharepoint.group.1) in /Library/Sopera/Sopera-3.3:
/Library/Sopera/Sopera-3.3/openDS/setup --cli --no-prompt -p 10389 -b o=SOPware -D cn=admin,o=SOPware -w secret -Q
returned error code: 7
and generated output:
Info: /Library/Sopera/Sopera-3.3/Deployment/bin/install_openDS_from_archive.sh - Aborting. (7)
Error: Execution of command as user uid=501(alagna) gid=501(alagna) groups=501(alagna),401(com.apple.access_screenshar ing),204(_developer),100(_lpoperator),98(_lpadmin) ,80(admin),61(localaccounts),12(everyone),101(com. apple.sharepoint.group.1) in /Library/Sopera/Sopera-3.3:
sh /Library/Sopera/Sopera-3.3/Deployment/bin/install_openDS_from_archive.sh -f -a -b /Library/Sopera/Sopera-3.3 -s /Library/Sopera/Sopera-3.3/download/openDS -p 1
returned error code: 7
Info: /Library/Sopera/Sopera-3.3/Deployment/install/scripts/customize.sh - Aborting. (7)
Info: sh - Aborting. (7)
Error: finalize for SOPwDeployment had a problem.
Info: ./sopinstall.sh - Aborting. (1)
Where I am wrong?
I'm also attaching the generated SOPERA.response file
ciao & grazie
Alberto
zubairov
24.05.2010, 13:49
Hello Alberto,
Nice to see you here in Forum!
Concerning the issues you are facing I have following proposals
You are trying to install SOPERA into /Library/Sopera/Sopera-3.3 do you have a write premissions there? Also please note the when answering for SOPERA install dir to installer directory should always be withot the trailing slash.
Specified JAVA_HOME has a strange format "/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/." trailing point should be removed, so change it to "/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/"
That's it, I think after you fix issues proposed above it should install. I will also attach to this post my SOPERA.response file which I was using to install it locally.
Renat,
still not able to install it.
- this time I tried under /Users/alagna/opt/SOPera under which I have write permissions
drwxr-xr-x 9 alagna alagna 306 25 Mag 18:47 SOPera
- I also put the proper value of SOPW_DEPL_JAVA_DETECTED=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/
but I'm still having the same problem.
I attached again the SOPERA.response.
Where am I wrong?
Info: Setting up openDS with basic user and root dn.
Error: Execution of command as user uid=501(alagna) gid=501(alagna) groups=501(alagna),401(com.apple.access_screenshar ing),204(_developer),100(_lpoperator),98(_lpadmin) ,80(admin),61(localaccounts),12(everyone),101(com. apple.sharepoint.group.1) in /Users/alagna/opt/SOPera:
/Users/alagna/opt/SOPera/openDS/setup --cli --no-prompt -p 10389 -b o=SOPware -D cn=admin,o=SOPware -w secret -Q
returned error code: 2
and generated output:
ERROR: Unable to bind to port 10389. This port may already be in use, or you
may not have permission to bind to it
Info: /Users/alagna/opt/SOPera/Deployment/bin/install_openDS_from_archive.sh - Aborting. (2)
Error: Execution of command as user uid=501(alagna) gid=501(alagna) groups=501(alagna),401(com.apple.access_screenshar ing),204(_developer),100(_lpoperator),98(_lpadmin) ,80(admin),61(localaccounts),12(everyone),101(com. apple.sharepoint.group.1) in /Users/alagna/opt/SOPera:
sh /Users/alagna/opt/SOPera/Deployment/bin/install_openDS_from_archive.sh -f -a -b /Users/alagna/opt/SOPera -s /Users/alagna/opt/SOPera/download/openDS -p 1
returned error code: 2
Info: /Users/alagna/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)
zubairov
26.05.2010, 10:53
Hello Alberto,
We are progressing :) this exception message:
ERROR: Unable to bind to port 10389. This port may already be in use, or you
may not have permission to bind to it
means that you have some other application running and this application is blocking port 10389 which is by default used for LDAP when you are not installing SOPERA under root user. It might be that there is some left-overs from your last installation, delete the folder where you tried to install it last time and kill all processes associated with it (you can use ps -efx | grep java command, or just reboot).
Oh, BTW it might happen that you have a Geronimo Application server or Intalio BPMS running, both of them tend to block this port too.
Renat
Of course you were right: I had an instance of ldap running.
I deleted the inst dir and the instance of ldap, but now I have the following error.
Error: Execution of command as user uid=501(alagna) gid=501(alagna) groups=501(alagna),401(com.apple.access_screenshar ing),204(_developer),100(_lpoperator),98(_lpadmin) ,80(admin),61(localaccounts),12(everyone),101(com. apple.sharepoint.group.1) in /Users/alagna/opt/SOPera:
/Users/alagna/opt/SOPera/openDS/setup --cli --no-prompt -p 10389 -b o=SOPware -D cn=admin,o=SOPware -w secret -Q
returned error code: 7
and generated output:
Info: /Users/alagna/opt/SOPera/Deployment/bin/install_openDS_from_archive.sh - Aborting. (7)
Error: Execution of command as user uid=501(alagna) gid=501(alagna) groups=501(alagna),401(com.apple.access_screenshar ing),204(_developer),100(_lpoperator),98(_lpadmin) ,80(admin),61(localaccounts),12(everyone),101(com. apple.sharepoint.group.1) in /Users/alagna/opt/SOPera:
sh /Users/alagna/opt/SOPera/Deployment/bin/install_openDS_from_archive.sh -f -a -b /Users/alagna/opt/SOPera -s /Users/alagna/opt/SOPera/download/openDS -p 1
returned error code: 7
Info: /Users/alagna/opt/SOPera/Deployment/install/scripts/customize.sh - Aborting. (7)
Info: sh - Aborting. (7)
Error: finalize for SOPwDeployment had a problem.
Info: ./sopinstall.sh - Aborting. (1)
Ciao & thanks
Alberto
Hello Alberto
Sometimes this happens when the host cannot resolve his hostname.
Try
ping `uname -n`
if this fails, enter your host in /etc/hosts (or whatever corresponds to this on a Mac)
ciao
Michael
Unfortunately it is able to:
host745:~ alagna$ ping `uname -n`
PING host745.homenet.telecomitalia.it (192.168.1.203): 56 data bytes
64 bytes from 192.168.1.203: icmp_seq=0 ttl=64 time=0.076 ms
64 bytes from 192.168.1.203: icmp_seq=1 ttl=64 time=0.097 ms
64 bytes from 192.168.1.203: icmp_seq=2 ttl=64 time=0.054 ms
64 bytes from 192.168.1.203: icmp_seq=3 ttl=64 time=0.098 ms
64 bytes from 192.168.1.203: icmp_seq=4 ttl=64 time=0.098 ms
64 bytes from 192.168.1.203: icmp_seq=5 ttl=64 time=0.092 ms
64 bytes from 192.168.1.203: icmp_seq=6 ttl=64 time=0.099 ms
^C
--- host745.homenet.telecomitalia.it ping statistics ---
7 packets transmitted, 7 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.054/0.088/0.099/0.016 ms
zubairov
26.05.2010, 12:42
Hello Alberto,
That's indeed quite strange. You know what you can do, try to install OpenDS (aka Apache Directory) standalone and then during installation use it as external LDAP.
Renat
zubairov
01.06.2010, 18:59
Hello Alberto,
I was able to reproduce and fix the issues you have. The other reason was that my instructions I tested on Mac OS X Leopard, but after migration to Snow Leopard (and Java 6 64 bit) we would need a little more changes.
Please check this package
http://code.google.com/p/sopera-examples/downloads/detail?name=sopera_mac_patch.tar.bz2&can=2&q=#makechanges
Renat
vBulletin® v3.7.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.