Category Archives: Cloudera-issues

Step “database setup” – failed test-connections – Cloudera set up

During Database set up phase, you did a “Test Connection” and you encounter ‘Unknown host:7432’ (or) wrongHostname:7432 error! Either you have changed the hostname during the process and the oldHostname remained in the file /etc/cloudera-scm-server/db.mgmt.properties or cloudera manager left it blank. In either case, go to the file /etc/cloudera-scm-server/db.mgmt.properties and check whether all the below… Read More »

cloudera-scm-server-db pg_ctl: server does not shut down

Problem: # service cloudera-scm-server-db stop waiting for server to shut down……………………………………………………… failed pg_ctl: server does not shut down HINT: The "-m fast" option immediately disconnects sessions rather than waiting for session-initiated disconnection. Solution: #cd /var/lib/cloudera-scm-server-db/data # rm postmaster.pid # service cloudera-scm-server-db status pg_ctl: no server running # service cloudera-scm-server status cloudera-scm-server dead but pid file… Read More »

cloudera-scm-server dead but pid file exists

Problem: When you start/restart the cloudera-scm-server, it starts fine, but it will die within few seconds. # service cloudera-scm-server start Starting cloudera-scm-server: [ OK ] # service cloudera-scm-server status cloudera-scm-server dead but pid file exists Solution: # service cloudera-scm-server stop # service cloudera-scm-server-db stop # rm /var/run/cloudera-scm-server.pid # service cloudera-scm-server-db start # service cloudera-scm-server start… Read More »

Move cloudera-scm-server-db to different location

We will move the files to different location and create the symlink Stop the scm service: # service cloudera-scm-server stop # service cloudera-scm-server-db stop Copy the cloudera-scm-server-db, retaining the permissions as below: #cd /var/lib #cp -rp cloudera-scm-server-db /dir1/lib/ #cd /var/lib/cloudera-scm-server-db #rm -rf data/ Create symlink #cd /var/lib/cloudera-scm-server-db #ln -s /dir1/lib/cloudera-scm-server-db/data data Note: Make sure you… Read More »