HOW TO: Install RCU 11.1.2.0 on Linux 64bit using a 32bit Windows VM (Part 1)

November 22, 2012
RCU

Pre-requisites

Firstly, you need to make sure you set the OIM database to AL32UTF8.

You must also make sure that you're executing RCU on a 32bit environment as you may experience OIM schema issues as mentioned in this belog regarding OIM issue: rcu-6130 action failed - RCU-6136:Error while trying to execute SQLplus action.


Disable both firewalls

To disable the firewall on the linux environment, open terminal and enter in the following command:

startup

https://technicalconfessions.com/images/postimages/postimages/_102_3_firewallconfiguration.png

Then, by using your arrow on your keyboard, go to Firewall configuration and click enter.

https://technicalconfessions.com/images/postimages/postimages/_102_4_disable linux firewall.png

Make sure enable is not ticked, then exit

Disable FW on Windows
Disabling the firewall on windows is more common for most people. You need to go to Control Panel and then Windows Firewall then make sure it's disabled.

https://technicalconfessions.com/images/postimages/postimages/_102_6_disable windows firewall.png

Ping each VM

As a prerequisite, you need to ensure that both VMs have both internet connections. In my working environment, I have both VM's running with a NAT connection type.

Find out the linux ip address by executing ifconfig

https://technicalconfessions.com/images/postimages/postimages/_102_9_ping ifconfig.png

Find out the windows ip address by executing ipconfig

https://technicalconfessions.com/images/postimages/postimages/_102_10_windows ipconfig.png

Within the terminal and CMD window, ping the other computer to ensure there's connection between them both.

Example: Ping from Linux VM to Windows
[root@localhost bin]# ping 172.16.7.134
PING 172.16.7.134 (172.16.7.134) 56(84) bytes of data.
64 bytes from 172.16.7.134: icmp_seq=1 ttl=128 time=0.253 ms
64 bytes from 172.16.7.134: icmp_seq=2 ttl=128 time=0.265 ms
64 bytes from 172.16.7.134: icmp_seq=3 ttl=128 time=0.224 ms
64 bytes from 172.16.7.134: icmp_seq=4 ttl=128 time=0.276 ms
64 bytes from 172.16.7.134: icmp_seq=5 ttl=128 time=0.478 ms
--- 172.16.7.134 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4294ms
rtt min/avg/max/mdev = 0.224/0.299/0.478/0.091 ms

https://technicalconfessions.com/images/postimages/postimages/_102_11_ping from windows.png

Setup Telnet

I also wanted to make sure that I could telnet to the linux box to ensure there's no firewall issues. You need to edit the /etc/xinetd.d/telnet file and ensure disable = 0.

# vi /etc/xinetd.d/telnet

# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
 flags = REUSE
 socket_type = stream
 wait = no
 user = root
 server = /usr/sbin/in.telnetd
 log_on_failure += USERID
 disable = no
 log_type = FILE /var/log/telnet.log
}

You will need to start up the telnet service by executing the following command:

service xinetd start

You need to check that the telnet is running by executing the following:

service xinetd status

test the telnet connection from the windows machine. (you need to restart for the service to take place though once you do, make sure the xinetd is up and running.


Next Chapter

As soon as you've managed to get the connection between the VM working, proceed by going to the next blog post, HOW TO: Install RCU 11.1.1.6 on Linux 64bit using a 32bit Windows VM (Part 2)

About the author

Daniel is a Technical Manager with over 10 years of consulting expertise in the Identity and Access Management space.
Daniel has built from scratch this blog as well as technicalconfessions.com
Follow Daniel on twitter @nervouswiggles

Comments

Other Posts

HOW TO provision AD group membership from OpenIDM

OpenIDMICFAD-connector

June 15, 2018
Created by: Daniel Redfern
For what I see, there's not too many supportive documentations out there that will demonstrate how provision AD group membership with the ICF connector using OpenIDM. The use of the special ldapGroups attribute is not explained anywhere in the Integrators guides to to the date of this blog. This quick blog identifies the tasks required to provision AD group membership from OpenIDM to AD using the LDAP ICF connector. However this doesn't really explain what ldapGroups actually does and there's no real worked example of how to go from an Assignment to ldapGroups to an assigned group in AD. I wrote up a wiki article for my own reference: AD group memberships automatically to users This is just my view, others may disagree, but I think the implementation experience could be improved with some more documentation and a more detailed example here.
Read More...

ForgeRock OpenIDM - InvalidCredentialException: Remote framework key is invalid

ICFIDMOpenIDMOpenICF

November 8, 2017
Created by: Daniel Redfern
In the past, the similar error occurred though for the Oracle Identity Management solution. invalidcredentialexception remote framework key is invalid Because they all share the ICF connector framework, the error/solution would be the same.
Read More...

org.forgerock.script.exception.ScriptCompilationException: missing ; before statement

IDMsync.confforgerockopenidm

November 8, 2017
Created by: Daniel Redfern
org.forgerock.script.exception.ScriptCompilationException: missing ; before statement
Read More...

ForgeRock IDM - org.forgerock.script.exception.ScriptCompilationException: missing ; before statemen

OpenIDMsync.confForgeRock

September 17, 2017
Created by: Daniel Redfern
ForgeRock IDM - org.forgerock.script.exception.ScriptCompilationException: missing ; before statement
Read More...

Caused by: org.forgerock.json.resource.BadRequestException: Target does not support attribute groups

OpenIDMForgeRockICFConnector

September 17, 2017
Created by: Daniel Redfern
When performing the attempt of a reconciliation from ForgeRock IDM to Active Directory, I would get the following error
Read More...

ForgeRock OpenIDM - InvalidCredentialException: Remote framework key is invalid

OpenIDMForgeRockICFConnectorAD

September 17, 2017
Created by: Daniel Redfern
In the past, the similar error occurred though for the Oracle Identity Management solution. invalidcredentialexception remote framework key is invalid Because they all share the ICF connector framework, the error/solution would be the same.
Read More...

ERROR Caused by com.google.api.client.auth.oauth2.TokenResponseException 400 Bad Request - invalid_g

OpenIDMIDMGoogleGoogle-AppsICFreconciliation

September 12, 2017
Created by: Daniel Redfern
During the reconcilation from OpenIDM to the ICF google apps connector, the following error response would occur. ERROR Caused by com.google.api.client.auth.oauth2.TokenResponseException 400 Bad Request - invalid_grant
Read More...

forgerock-openidm-encryptedjwt-error

OpenIDMIDMForgeRockJWTIAM

August 29, 2017
Created by: Daniel Redfern
Received the JWT error
Read More...

Unexpected character ('¾' (code 190)): expected a valid value

ForgeRock-OpenIDMOpenIDMIDMKeystore

June 25, 2017
Created by: Daniel Redfern
Unexpected character occurred when the IP addresses changes and the virtual instance was migrated into a separate network subnet.
Read More...

OpenDJ Error - Connect Error Result Code: 91 (Connect Error)

OpenDJLDAPldapsearchForgeRock

June 5, 2017
Created by: Daniel Redfern
When trying to connect, I would then receive the following error "Connect Error Result Code: 91 (Connect Error)"
Read More...