Member since
07-19-2016
3
Posts
2
Kudos Received
0
Solutions
01-09-2017
07:53 PM
@venu devu Can you try the below after a backup? rm -rf /usr/lib/python2.6/site-packages/resource_monitoring/psutil/
find / -name ambari-metrics-monitor | xargs rm -rf
yum reinstall ambari-metrics-monitor
... View more
01-09-2017
07:41 PM
1 Kudo
@venu devu Can you try the below and let me know if it works? cd /usr/lib/python2.6/site-packages/resource_monitoring/psutil
make install
... View more
08-01-2016
10:53 AM
1 Kudo
Hi Abhirup, In order to solve this issue, please follow the below steps:- 1) Run your ambari-server setup in verbose and you will see where exactly this fails. INFO: about to run command: /usr/bin/env service postgresql status Running initdb: This may take upto a minute. INFO: about to run command: /usr/bin/env service postgresql initdb About to start PostgreSQL
INFO: about to run command: /usr/bin/env service postgresql status ERROR: Exiting with exit code 3.
REASON: Unable to start PostgreSQL server. Exiting
Now, If you manually try and run the below command, you will get the exact cause of the issue.
[root@robin-lab-1 ~]# /usr/bin/env service postgresql initdb
Initializing database: mkdir: cannot create directory `/var/lib/pgsql/data/pg_log': File exists
[FAILED] Solution: Go inside /var/lib/pgsql/, backup and remove the data folder and re-run the ambari-server setup.
... View more