What version of ranger you are setting up?

Can you add the below lines in install.properties and try again?

sqlanywhere_core_file=db/sqlanywhere/xa_core_db_sqlanywhere.sql
sqlanywhere_audit_file=db/sqlanywhere/xa_audit_db_sqlanywhere.sql

From: Hafiz Mujadid <[email protected]<mailto:[email protected]>>
Reply-To: 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Saturday, November 28, 2015 at 8:04 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: ranger-admin setup failed

Hi!

I am running ./setup.sh script for ranger-admin but it is failing with 
following exception

2015-11-28 17:59:53,880  [I] Privileges granted to 'rangeradmin' on 
'ranger_audit'
2015-11-28 17:59:53,880  [I] ---------- Ranger Policy Manager DB and User 
Creation Process Completed..  ----------
2015-11-28 17:59:53,920  [I] DB FLAVOR :MYSQL
Traceback (most recent call last):
  File "db_setup.py", line 1725, in <module>
    main(sys.argv)
  File "db_setup.py", line 1587, in main
    sqlanywhere_core_file = globalDict['sqlanywhere_core_file']
KeyError: 'sqlanywhere_core_file'
2015-11-28 17:59:53,925  [E] DB schema setup failed! Please contact 
Administrator.


Any suggestion?

thanks

Reply via email to