Upgrade of RSA Identity Governance and Lifecycle from earlier versions to 7.0.2 fails during WildFly configuration phase.
Originally Published: 2017-04-12
Article Number
Applies To
RSA Product/Service Type: Enterprise Software
RSA Version/Condition: 7.0.2
Platform: WildFly
Issue
The following events will be recorded in the /tmp/aveksa-install.log:
[Mon Apr 3 12:20:35 CDT 2017] Configure Wildfly Server...
Configure Wildfly...
[Mon Apr 03 12:20:56 CDT 2017]: checkIfWildflyRunning debug message. Outcome result - starting
[Mon Apr 03 12:21:00 CDT 2017]: Terminate session
[Mon Apr 03 12:21:00 CDT 2017]: Connecting to check connection
[Mon Apr 03 12:21:00 CDT 2017]: Authenticating against security realm: ManagementRealm
Authenticating against security realm: ManagementRealm
Username:
[Mon Apr 03 12:21:00 CDT 2017]: JBREM000200: Remote connection failed: javax.security.sasl.SaslException:
Authentication failed: the server presented no authentication mechanisms
[Mon Apr 03 12:21:00 CDT 2017]: Terminate session
[Mon Apr 03 12:21:00 CDT 2017]: Failed to connect to server. Error message -
Unable to connect to controller.org.jboss.as.cli.CommandLineException: Unable to authenticate against controller at localhost:9990
[Mon Apr 03 12:21:00 CDT 2017]: Wildfly server is not running
[Mon Apr 03 12:21:00 CDT 2017]: Failed to configure data sources. Error message - Wildfly server is not running
[Mon Apr 03 12:21:00 CDT 2017]: Exception when configuring WildFly Wildfly server is not running
Failed to configure Wildfly
Step failed! See /tmp/aveksa-install.log for more information.
Digging deep inside the logs you will notice database errors:
PRCR-1079 : Failed to start resource ora.avdb.db
CRS-2501: Resource 'ora.avdb.db' is disabled
Database is not running.Cause
Resolution
- Login to the server via SSH as the oracle user.
- Check the status of database operations.The status below shows that the database is not running :
oracle:~> acm statusoracle 1030 CRS-4638: Oracle High Availability Services is online Database is not running.
- Enable the database using srvctl (Server Control Utility):
oracle@acm:~> srvctl enable database -db AVDB
- Start the database:
oracle@acm:~> acm startoracle
- Verify the database is running:
oracle@acm:~> acm statusoracle CRS-4622: Oracle High Availability Services autostart is enabled. CRS-4640: Oracle High Availability Services is already active CRS-4000: Command Start failed, or completed with errors. CRS-4638: Oracle High Availability Services is online Database is running.
- Switch to root user ,cd to staging directory and resume the upgrade :
root@acm:/tmp/aveksa/staging # ./install.sh
- The upgrade should now complete successfully.
Notes
Error:
Failed to connect to server. Error message - Unable to connect to controller.org.jboss.as.cli.CommandLineException: Unable to authenticate against controller at localhost:9990
Cause:
The localhost entry missing from the /etc/hosts file. Trying to ping localhost would fail:
acm:~ # ping localhost ping: unknown host localhost
Resolution:
- Add localhost to /etc/hosts file, using vi or another text editor:
127.0.0.1 localhost
- Save file.
- Make sure localhost is resolvable now:
acm:~ # ping localhost PING localhost (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.017 ms 64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.028 ms 64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.044 ms
Related Articles
After upgrade of the RSA Identity Governance and Lifecycle 7.0.1 IBM Tivoli Identity Manager (ITIM) agent to 7.0.1, the ag… 34Number of Views ORA-20005 error occurs after a patch or version upgrade of RSA Identity Governance & Lifecycle during migration 44Number of Views The WildFly server.log file is not updated on RSA Identity Governance & Lifecycle 7.1.0 and above 227Number of Views Report preview and/or generation fails with 'java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11Graphic… 147Number of Views "Maintain" and "Maintain with Expiration" are not working as expected in multi-step review in RSA Governance & Lifecycle 16Number of Views
Don't see what you're looking for?