000030141 - Running 'acm start' results in error 'date: invalid date'

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000030141
Applies ToRSA Product Set: Identity Management and Governance
RSA Product/Service Type: Appliance
RSA Version/Condition: 6.9.1
Platform: Linux
 
IssueWhen starting IMG from command line and using command
'acm start'
this may result in the following error
Getting the following message : 
"Starting server... 
date: invalid date `@ERROR:' 
expr: non-numeric argument 
/etc/init.d/aveksa_server: line 407: [: -gt: unary operator expected" 
Starting ACM.

It should be noted the error above does not prevent Aveksa from coming up/online.
 
CauseWhen IMG is started the process will connect to the database as user SYS and attempt to verify
a. the timezone per Oracle is the same as the timezone per Linux
b. the Oracle close is no more than 15 seconds ahead/behind the Linux clock. 
To perform both checks we need to connect to the database as user SYS.  If connection is unsuccessful, the above 2 checks are not possible and thus the error message.   The most likely cause for a failed connection is that the SYS password is not correctly defined in 
/home/oracle/setDeployEnv.sh
/home/oracle/Aveksa_System.cfg
 
ResolutionVerify/update 
/home/oracle/setDeployEnv.sh

/home/oracle/Aveksa_System.cfg
with the correct SYS password.   
For /home/oracle/setDeployEnv.sh one would typically see content similar to

export DB_SYS_NAME=sys
export DB_SYS_PASS=secret

If the SYS password is not 'secret', update /home/oracle/setDeployEnv.sh accordingly.
For /home/oracle/Aveksa_System.cfg one would typically see content similar to
###
###  Oracle "SYS" user
###
SYS_USER=sys
###
###  Oracle "SYS" user password
###
SYS_PASS=secret


If the SYS password is not 'secret', update /home/oracle/Aveksa_System.cfg accordingly.

Attachments

    Outcomes