I am trying to install Cloudera Manager (CM) free edition 4.1 on RedHat
Enterprise 6.1. I follow the instructions and installation runs fine up to
the point where it tries to initialize the database. Here's the error:
/usr/share/cmf/bin/initialize_embedded_db.sh: line 158: initdb: command not
Could not initialize database server.
So when i first got the error, i found that
didn't find initdb (which is odd since CM installed postgresql and -- heck
-- should know where it is) so i manually added the path to the
postgresql's bin directory so that "which initdb" found initdb as expected.
But STILL the CM installer script did NOT find initdb and i got the SAME
I've been searching for info and i have found about 3 pages with relevant
info. Based on them, I've tried to eliminate issues that other's have said
to look for.
* selinux is disabled, so it's not that
* I'm running as root (for simplicity) not as sudo and am therefore
I assume the installer runs as root, so any root-visible paths would be
visible to the CM installer. So the installer SHOULD be able to see
initdb... but noooo.
* Postgresql was installed via the CM's script -- i.e., i didn't manually
install it. Thus, i assume a) it is a compatible version; and b) that CM
installer knows where to find it. But nooooo.
It's very hard to tell what's going on internally in the install script
since it rewrites it every time it installs (so i can't put any log
statements in it).
Any suggestions? I don't have a lot of experience with this, so am groping
a bit. I appreciate any help or suggestions.