You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Krish Donald <go...@gmail.com> on 2015/03/02 23:21:21 UTC

Cloudera Manager Installation is failing

Hi,

I am trying to install Cloudera manager but it is failing and below is the
log file:
I have uninstalled postgres and tried again but still the same error.

[root@nncloudera cloudera-manager-installer]# more 5.start-embedded-db.log
mktemp: failed to create file via template `/tmp/XXXXXXXX': Permission
denied
/usr/share/cmf/bin/initialize_embedded_db.sh: line 393: $PASSWORD_TMP_FILE:
ambiguous redirect
The files belonging to this database system will be owned by user
"cloudera-scm".
This user must also own the server process.
The database cluster will be initialized with locale en_US.UTF8.
The default text search configuration will be set to "english".
fixing permissions on existing directory
/var/lib/cloudera-scm-server-db/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 32MB
creating configuration files ... ok
creating template1 database in /var/lib/cloudera-scm-server-db/data/base/1
... ok
initializing pg_authid ... ok
initdb: could not open file "" for reading: No such file or directory
initdb: removing contents of data directory
"/var/lib/cloudera-scm-server-db/data"
Could not initialize database server.
  This usually means that your PostgreSQL installation failed or isn't
working properly.
  PostgreSQL is installed using the set of repositories found on this
machine. Please
  ensure that PostgreSQL can be installed. Please also uninstall any other
instances of
  PostgreSQL and then try again., giving up


Please suggest.

Thanks
Krish

Re: Cloudera Manager Installation is failing

Posted by Krish Donald <go...@gmail.com>.
Thanks Rich....

On Mon, Mar 2, 2015 at 2:23 PM, Rich Haase <rh...@pandora.com> wrote:

>  Try posting this question on the Cloudera forum.
> http://community.cloudera.com/
>
>  On Mar 2, 2015, at 3:21 PM, Krish Donald <go...@gmail.com> wrote:
>
>  Hi,
>
>  I am trying to install Cloudera manager but it is failing and below is
> the log file:
> I have uninstalled postgres and tried again but still the same error.
>
>  [root@nncloudera cloudera-manager-installer]# more
> 5.start-embedded-db.log
> mktemp: failed to create file via template `/tmp/XXXXXXXX': Permission
> denied
> /usr/share/cmf/bin/initialize_embedded_db.sh: line 393:
> $PASSWORD_TMP_FILE: ambiguous redirect
> The files belonging to this database system will be owned by user
> "cloudera-scm".
> This user must also own the server process.
> The database cluster will be initialized with locale en_US.UTF8.
> The default text search configuration will be set to "english".
> fixing permissions on existing directory
> /var/lib/cloudera-scm-server-db/data ... ok
> creating subdirectories ... ok
> selecting default max_connections ... 100
> selecting default shared_buffers ... 32MB
> creating configuration files ... ok
> creating template1 database in /var/lib/cloudera-scm-server-db/data/base/1
> ... ok
> initializing pg_authid ... ok
> initdb: could not open file "" for reading: No such file or directory
> initdb: removing contents of data directory
> "/var/lib/cloudera-scm-server-db/data"
> Could not initialize database server.
>   This usually means that your PostgreSQL installation failed or isn't
> working properly.
>   PostgreSQL is installed using the set of repositories found on this
> machine. Please
>   ensure that PostgreSQL can be installed. Please also uninstall any other
> instances of
>   PostgreSQL and then try again., giving up
>
>
>  Please suggest.
>
>  Thanks
> Krish
>
>
>

Re: Cloudera Manager Installation is failing

Posted by Krish Donald <go...@gmail.com>.
Thanks Rich....

On Mon, Mar 2, 2015 at 2:23 PM, Rich Haase <rh...@pandora.com> wrote:

>  Try posting this question on the Cloudera forum.
> http://community.cloudera.com/
>
>  On Mar 2, 2015, at 3:21 PM, Krish Donald <go...@gmail.com> wrote:
>
>  Hi,
>
>  I am trying to install Cloudera manager but it is failing and below is
> the log file:
> I have uninstalled postgres and tried again but still the same error.
>
>  [root@nncloudera cloudera-manager-installer]# more
> 5.start-embedded-db.log
> mktemp: failed to create file via template `/tmp/XXXXXXXX': Permission
> denied
> /usr/share/cmf/bin/initialize_embedded_db.sh: line 393:
> $PASSWORD_TMP_FILE: ambiguous redirect
> The files belonging to this database system will be owned by user
> "cloudera-scm".
> This user must also own the server process.
> The database cluster will be initialized with locale en_US.UTF8.
> The default text search configuration will be set to "english".
> fixing permissions on existing directory
> /var/lib/cloudera-scm-server-db/data ... ok
> creating subdirectories ... ok
> selecting default max_connections ... 100
> selecting default shared_buffers ... 32MB
> creating configuration files ... ok
> creating template1 database in /var/lib/cloudera-scm-server-db/data/base/1
> ... ok
> initializing pg_authid ... ok
> initdb: could not open file "" for reading: No such file or directory
> initdb: removing contents of data directory
> "/var/lib/cloudera-scm-server-db/data"
> Could not initialize database server.
>   This usually means that your PostgreSQL installation failed or isn't
> working properly.
>   PostgreSQL is installed using the set of repositories found on this
> machine. Please
>   ensure that PostgreSQL can be installed. Please also uninstall any other
> instances of
>   PostgreSQL and then try again., giving up
>
>
>  Please suggest.
>
>  Thanks
> Krish
>
>
>

Re: Cloudera Manager Installation is failing

Posted by Krish Donald <go...@gmail.com>.
Thanks Rich....

On Mon, Mar 2, 2015 at 2:23 PM, Rich Haase <rh...@pandora.com> wrote:

>  Try posting this question on the Cloudera forum.
> http://community.cloudera.com/
>
>  On Mar 2, 2015, at 3:21 PM, Krish Donald <go...@gmail.com> wrote:
>
>  Hi,
>
>  I am trying to install Cloudera manager but it is failing and below is
> the log file:
> I have uninstalled postgres and tried again but still the same error.
>
>  [root@nncloudera cloudera-manager-installer]# more
> 5.start-embedded-db.log
> mktemp: failed to create file via template `/tmp/XXXXXXXX': Permission
> denied
> /usr/share/cmf/bin/initialize_embedded_db.sh: line 393:
> $PASSWORD_TMP_FILE: ambiguous redirect
> The files belonging to this database system will be owned by user
> "cloudera-scm".
> This user must also own the server process.
> The database cluster will be initialized with locale en_US.UTF8.
> The default text search configuration will be set to "english".
> fixing permissions on existing directory
> /var/lib/cloudera-scm-server-db/data ... ok
> creating subdirectories ... ok
> selecting default max_connections ... 100
> selecting default shared_buffers ... 32MB
> creating configuration files ... ok
> creating template1 database in /var/lib/cloudera-scm-server-db/data/base/1
> ... ok
> initializing pg_authid ... ok
> initdb: could not open file "" for reading: No such file or directory
> initdb: removing contents of data directory
> "/var/lib/cloudera-scm-server-db/data"
> Could not initialize database server.
>   This usually means that your PostgreSQL installation failed or isn't
> working properly.
>   PostgreSQL is installed using the set of repositories found on this
> machine. Please
>   ensure that PostgreSQL can be installed. Please also uninstall any other
> instances of
>   PostgreSQL and then try again., giving up
>
>
>  Please suggest.
>
>  Thanks
> Krish
>
>
>

Re: Cloudera Manager Installation is failing

Posted by Krish Donald <go...@gmail.com>.
Thanks Rich....

On Mon, Mar 2, 2015 at 2:23 PM, Rich Haase <rh...@pandora.com> wrote:

>  Try posting this question on the Cloudera forum.
> http://community.cloudera.com/
>
>  On Mar 2, 2015, at 3:21 PM, Krish Donald <go...@gmail.com> wrote:
>
>  Hi,
>
>  I am trying to install Cloudera manager but it is failing and below is
> the log file:
> I have uninstalled postgres and tried again but still the same error.
>
>  [root@nncloudera cloudera-manager-installer]# more
> 5.start-embedded-db.log
> mktemp: failed to create file via template `/tmp/XXXXXXXX': Permission
> denied
> /usr/share/cmf/bin/initialize_embedded_db.sh: line 393:
> $PASSWORD_TMP_FILE: ambiguous redirect
> The files belonging to this database system will be owned by user
> "cloudera-scm".
> This user must also own the server process.
> The database cluster will be initialized with locale en_US.UTF8.
> The default text search configuration will be set to "english".
> fixing permissions on existing directory
> /var/lib/cloudera-scm-server-db/data ... ok
> creating subdirectories ... ok
> selecting default max_connections ... 100
> selecting default shared_buffers ... 32MB
> creating configuration files ... ok
> creating template1 database in /var/lib/cloudera-scm-server-db/data/base/1
> ... ok
> initializing pg_authid ... ok
> initdb: could not open file "" for reading: No such file or directory
> initdb: removing contents of data directory
> "/var/lib/cloudera-scm-server-db/data"
> Could not initialize database server.
>   This usually means that your PostgreSQL installation failed or isn't
> working properly.
>   PostgreSQL is installed using the set of repositories found on this
> machine. Please
>   ensure that PostgreSQL can be installed. Please also uninstall any other
> instances of
>   PostgreSQL and then try again., giving up
>
>
>  Please suggest.
>
>  Thanks
> Krish
>
>
>

Re: Cloudera Manager Installation is failing

Posted by Rich Haase <rh...@pandora.com>.
Try posting this question on the Cloudera forum. http://community.cloudera.com/

On Mar 2, 2015, at 3:21 PM, Krish Donald <go...@gmail.com>> wrote:

Hi,

I am trying to install Cloudera manager but it is failing and below is the log file:
I have uninstalled postgres and tried again but still the same error.

[root@nncloudera cloudera-manager-installer]# more 5.start-embedded-db.log
mktemp: failed to create file via template `/tmp/XXXXXXXX': Permission denied
/usr/share/cmf/bin/initialize_embedded_db.sh: line 393: $PASSWORD_TMP_FILE: ambiguous redirect
The files belonging to this database system will be owned by user "cloudera-scm".
This user must also own the server process.
The database cluster will be initialized with locale en_US.UTF8.
The default text search configuration will be set to "english".
fixing permissions on existing directory /var/lib/cloudera-scm-server-db/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 32MB
creating configuration files ... ok
creating template1 database in /var/lib/cloudera-scm-server-db/data/base/1 ... ok
initializing pg_authid ... ok
initdb: could not open file "" for reading: No such file or directory
initdb: removing contents of data directory "/var/lib/cloudera-scm-server-db/data"
Could not initialize database server.
  This usually means that your PostgreSQL installation failed or isn't working properly.
  PostgreSQL is installed using the set of repositories found on this machine. Please
  ensure that PostgreSQL can be installed. Please also uninstall any other instances of
  PostgreSQL and then try again., giving up


Please suggest.

Thanks
Krish


Re: Cloudera Manager Installation is failing

Posted by Rich Haase <rh...@pandora.com>.
Try posting this question on the Cloudera forum. http://community.cloudera.com/

On Mar 2, 2015, at 3:21 PM, Krish Donald <go...@gmail.com>> wrote:

Hi,

I am trying to install Cloudera manager but it is failing and below is the log file:
I have uninstalled postgres and tried again but still the same error.

[root@nncloudera cloudera-manager-installer]# more 5.start-embedded-db.log
mktemp: failed to create file via template `/tmp/XXXXXXXX': Permission denied
/usr/share/cmf/bin/initialize_embedded_db.sh: line 393: $PASSWORD_TMP_FILE: ambiguous redirect
The files belonging to this database system will be owned by user "cloudera-scm".
This user must also own the server process.
The database cluster will be initialized with locale en_US.UTF8.
The default text search configuration will be set to "english".
fixing permissions on existing directory /var/lib/cloudera-scm-server-db/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 32MB
creating configuration files ... ok
creating template1 database in /var/lib/cloudera-scm-server-db/data/base/1 ... ok
initializing pg_authid ... ok
initdb: could not open file "" for reading: No such file or directory
initdb: removing contents of data directory "/var/lib/cloudera-scm-server-db/data"
Could not initialize database server.
  This usually means that your PostgreSQL installation failed or isn't working properly.
  PostgreSQL is installed using the set of repositories found on this machine. Please
  ensure that PostgreSQL can be installed. Please also uninstall any other instances of
  PostgreSQL and then try again., giving up


Please suggest.

Thanks
Krish


Re: Cloudera Manager Installation is failing

Posted by Rich Haase <rh...@pandora.com>.
Try posting this question on the Cloudera forum. http://community.cloudera.com/

On Mar 2, 2015, at 3:21 PM, Krish Donald <go...@gmail.com>> wrote:

Hi,

I am trying to install Cloudera manager but it is failing and below is the log file:
I have uninstalled postgres and tried again but still the same error.

[root@nncloudera cloudera-manager-installer]# more 5.start-embedded-db.log
mktemp: failed to create file via template `/tmp/XXXXXXXX': Permission denied
/usr/share/cmf/bin/initialize_embedded_db.sh: line 393: $PASSWORD_TMP_FILE: ambiguous redirect
The files belonging to this database system will be owned by user "cloudera-scm".
This user must also own the server process.
The database cluster will be initialized with locale en_US.UTF8.
The default text search configuration will be set to "english".
fixing permissions on existing directory /var/lib/cloudera-scm-server-db/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 32MB
creating configuration files ... ok
creating template1 database in /var/lib/cloudera-scm-server-db/data/base/1 ... ok
initializing pg_authid ... ok
initdb: could not open file "" for reading: No such file or directory
initdb: removing contents of data directory "/var/lib/cloudera-scm-server-db/data"
Could not initialize database server.
  This usually means that your PostgreSQL installation failed or isn't working properly.
  PostgreSQL is installed using the set of repositories found on this machine. Please
  ensure that PostgreSQL can be installed. Please also uninstall any other instances of
  PostgreSQL and then try again., giving up


Please suggest.

Thanks
Krish


Re: Cloudera Manager Installation is failing

Posted by Rich Haase <rh...@pandora.com>.
Try posting this question on the Cloudera forum. http://community.cloudera.com/

On Mar 2, 2015, at 3:21 PM, Krish Donald <go...@gmail.com>> wrote:

Hi,

I am trying to install Cloudera manager but it is failing and below is the log file:
I have uninstalled postgres and tried again but still the same error.

[root@nncloudera cloudera-manager-installer]# more 5.start-embedded-db.log
mktemp: failed to create file via template `/tmp/XXXXXXXX': Permission denied
/usr/share/cmf/bin/initialize_embedded_db.sh: line 393: $PASSWORD_TMP_FILE: ambiguous redirect
The files belonging to this database system will be owned by user "cloudera-scm".
This user must also own the server process.
The database cluster will be initialized with locale en_US.UTF8.
The default text search configuration will be set to "english".
fixing permissions on existing directory /var/lib/cloudera-scm-server-db/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 32MB
creating configuration files ... ok
creating template1 database in /var/lib/cloudera-scm-server-db/data/base/1 ... ok
initializing pg_authid ... ok
initdb: could not open file "" for reading: No such file or directory
initdb: removing contents of data directory "/var/lib/cloudera-scm-server-db/data"
Could not initialize database server.
  This usually means that your PostgreSQL installation failed or isn't working properly.
  PostgreSQL is installed using the set of repositories found on this machine. Please
  ensure that PostgreSQL can be installed. Please also uninstall any other instances of
  PostgreSQL and then try again., giving up


Please suggest.

Thanks
Krish