Support Questions
Find answers, ask questions, and share your expertise

Trouble installing Ranger

Trouble installing Ranger

Contributor

Hi,

I am trying to install Ranger from source and followed these instructions.

https://cwiki.apache.org/confluence/display/RANGER/Apache+Ranger+0.5.0+Installation#ApacheRanger0.5....

 

Under the "Install Steps for Ranger Policy Admin on RHEL/CentOS" I followed the steps and after running the command "ranger-admin start" I can see the process running, however, I am having trouble accessing the Ranger URL.

When I try to access the Ranger URL, it seems to have trouble loading.

 

[root@sunnymaster02 ranger-admin]# ranger-admin start
Apache Ranger Admin has started.
[root@sunnymaster02 ranger-admin]# ps -ef | grep ranger
root 3798 1 99 20:51 pts/0 00:00:12 java -Dproc_rangeradmin -XX:MaxPermSize=256m -Xmx1024m -Xms1024m -Dlogdir=/usr/local/ranger-0.5.4-SNAPSHOT-admin/ews/logs/ -Dcatalina.base=/usr/local/ranger-0.5.4-SNAPSHOT-admin/ews -cp /usr/local/ranger-0.5.4-SNAPSHOT-admin/ews/webapp/WEB-INF/classes/conf:/usr/local/ranger-0.5.4-SNAPSHOT-admin/ews/lib/*:/usr/local/ranger-0.5.4-SNAPSHOT-admin/ews/ranger_jaas/*:/usr/local/ranger-0.5.4-SNAPSHOT-admin/ews/webapp/WEB-INF/classes/conf/ranger_jaas:/usr/lib/jvm/jre-openjdk/lib/*: org.apache.ranger.server.tomcat.EmbeddedServer
root 3877 21271 0 20:52 pts/0 00:00:00 grep --color=auto ranger
[root@sunnymaster02 ranger-admin]# netstat -nap | grep 3798
tcp6 0 0 127.0.0.1:6185 :::* LISTEN 3798/java
tcp6 0 0 :::6080 :::* LISTEN 3798/java
tcp6 0 0 127.0.0.1:52784 127.0.0.1:3306 ESTABLISHED 3798/java
tcp6 0 0 127.0.0.1:52791 127.0.0.1:3306 ESTABLISHED 3798/java
tcp6 0 0 127.0.0.1:52785 127.0.0.1:3306 ESTABLISHED 3798/java
tcp6 0 0 127.0.0.1:52790 127.0.0.1:3306 ESTABLISHED 3798/java
tcp6 0 0 127.0.0.1:52788 127.0.0.1:3306 ESTABLISHED 3798/java
unix 2 [ ] STREAM CONNECTED 103189513 3798/java
unix 2 [ ] STREAM CONNECTED 73379865 20086/java
unix 2 [ ] STREAM CONNECTED 103189515 3798/java
[root@sunnymaster02 ranger-admin]# curl sunnymaster02:6080
[root@sunnymaster02 ranger-admin]# curl sunnymaster02:6185
curl: (7) Failed connect to sunnymaster02:6185; Connection refused

 

Any help is much appreciated.

 

Thanks,

1 REPLY 1

Re: Trouble installing Ranger

Expert Contributor

Hi,

 

can you share the Ranger logs? they should contain the exact error messages .

 

Best Regards,