FAQ
Hi,

I am installing cloudera mabager on RHEL 5.7 (64 bit). and while installing
CM I am getting the following error. please help me on this issue.

Package cloudera-manager-server-db.x86_64 0:4.0.4-1.cm404.p0.79 set to be
updated
--> Processing Dependency: postgresql-server >= 8.0 for package:
cloudera-manager-server-db
--> Finished Dependency Resolution
cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 from cloudera-manager
has depsolving problems
--> Missing Dependency: postgresql-server >= 8.0 is needed by package
cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 (cloudera-manager)
Error: Missing Dependency: postgresql-server >= 8.0 is needed by package
cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 (cloudera-manager)
You could try using --skip-broken to work around the problem

Thanks a lot in advance.

Regards,
Chittaranjan

Search Discussions

  • Philip Zeyliger at Sep 21, 2012 at 1:41 am
    Could you try running "yum install postgresql-server" on the machine before
    running the CM installer. What does it say?

    Thanks,

    -- Philip
    On Thu, Sep 20, 2012 at 4:24 PM, chittaranjan reddy wrote:


    Hi,

    I am installing cloudera mabager on RHEL 5.7 (64 bit). and while
    installing CM I am getting the following error. please help me on this
    issue.

    Package cloudera-manager-server-db.x86_64 0:4.0.4-1.cm404.p0.79 set to be
    updated
    --> Processing Dependency: postgresql-server >= 8.0 for package:
    cloudera-manager-server-db
    --> Finished Dependency Resolution
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 from
    cloudera-manager has depsolving problems
    --> Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 (cloudera-manager)
    Error: Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 (cloudera-manager)
    You could try using --skip-broken to work around the problem

    Thanks a lot in advance.

    Regards,
    Chittaranjan
  • Chittu546 at Sep 21, 2012 at 6:35 am
    Thanks a lot philip for looking into it..

    I did not setup local repo..and when I saw the installation guide it
    was saying all packages will be installed from Cloudera Manager.

    do I need to configure local repo in this case(using automated
    cloudera manager). pls let me know

    when I did the below command..it saying "there is no package
    available. nothing to do"

    thanks
    Chittaranjan
    On Thu, Sep 20, 2012 at 6:41 PM, Philip Zeyliger wrote:
    Could you try running "yum install postgresql-server" on the machine before
    running the CM installer. What does it say?

    Thanks,

    -- Philip

    On Thu, Sep 20, 2012 at 4:24 PM, chittaranjan reddy wrote:


    Hi,

    I am installing cloudera mabager on RHEL 5.7 (64 bit). and while
    installing CM I am getting the following error. please help me on this
    issue.

    Package cloudera-manager-server-db.x86_64 0:4.0.4-1.cm404.p0.79 set to be
    updated
    --> Processing Dependency: postgresql-server >= 8.0 for package:
    cloudera-manager-server-db
    --> Finished Dependency Resolution
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 from
    cloudera-manager has depsolving problems
    --> Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 (cloudera-manager)
    Error: Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 (cloudera-manager)
    You could try using --skip-broken to work around the problem

    Thanks a lot in advance.

    Regards,
    Chittaranjan
  • Philip Zeyliger at Sep 21, 2012 at 4:24 pm
    Our packages depend on some system packages. You want to look into
    configuring your system such that you can pull packages from your OS's
    distribution.

    -- Philip
    On Thu, Sep 20, 2012 at 11:35 PM, wrote:

    Thanks a lot philip for looking into it..

    I did not setup local repo..and when I saw the installation guide it
    was saying all packages will be installed from Cloudera Manager.

    do I need to configure local repo in this case(using automated
    cloudera manager). pls let me know

    when I did the below command..it saying "there is no package
    available. nothing to do"

    thanks
    Chittaranjan
    On Thu, Sep 20, 2012 at 6:41 PM, Philip Zeyliger wrote:
    Could you try running "yum install postgresql-server" on the machine before
    running the CM installer. What does it say?

    Thanks,

    -- Philip


    On Thu, Sep 20, 2012 at 4:24 PM, chittaranjan reddy <chittu546@gmail.com

    wrote:

    Hi,

    I am installing cloudera mabager on RHEL 5.7 (64 bit). and while
    installing CM I am getting the following error. please help me on this
    issue.

    Package cloudera-manager-server-db.x86_64 0:4.0.4-1.cm404.p0.79 set to
    be
    updated
    --> Processing Dependency: postgresql-server >= 8.0 for package:
    cloudera-manager-server-db
    --> Finished Dependency Resolution
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 from
    cloudera-manager has depsolving problems
    --> Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 (cloudera-manager)
    Error: Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 (cloudera-manager)
    You could try using --skip-broken to work around the problem

    Thanks a lot in advance.

    Regards,
    Chittaranjan
  • Chittu546 at Sep 23, 2012 at 8:48 am
    thank you Philip for your help. now I am able to setup Yum repo and
    was successfully installed packages.

    Now, I am getting the below error. pls advice me.

    "psql: FATAL: database "postgres" doesn't exist.
    unable to create database role scm, giving up"

    thanks,
    Chittaranjan
    On Fri, Sep 21, 2012 at 9:24 AM, Philip Zeyliger wrote:
    Our packages depend on some system packages. You want to look into
    configuring your system such that you can pull packages from your OS's
    distribution.

    -- Philip

    On Thu, Sep 20, 2012 at 11:35 PM, wrote:

    Thanks a lot philip for looking into it..

    I did not setup local repo..and when I saw the installation guide it
    was saying all packages will be installed from Cloudera Manager.

    do I need to configure local repo in this case(using automated
    cloudera manager). pls let me know

    when I did the below command..it saying "there is no package
    available. nothing to do"

    thanks
    Chittaranjan

    On Thu, Sep 20, 2012 at 6:41 PM, Philip Zeyliger <philip@cloudera.com>
    wrote:
    Could you try running "yum install postgresql-server" on the machine
    before
    running the CM installer. What does it say?

    Thanks,

    -- Philip


    On Thu, Sep 20, 2012 at 4:24 PM, chittaranjan reddy
    <chittu546@gmail.com>
    wrote:

    Hi,

    I am installing cloudera mabager on RHEL 5.7 (64 bit). and while
    installing CM I am getting the following error. please help me on this
    issue.

    Package cloudera-manager-server-db.x86_64 0:4.0.4-1.cm404.p0.79 set to
    be
    updated
    --> Processing Dependency: postgresql-server >= 8.0 for package:
    cloudera-manager-server-db
    --> Finished Dependency Resolution
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 from
    cloudera-manager has depsolving problems
    --> Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    Error: Missing Dependency: postgresql-server >= 8.0 is needed by
    package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    You could try using --skip-broken to work around the problem

    Thanks a lot in advance.

    Regards,
    Chittaranjan
  • Chittu546 at Sep 24, 2012 at 5:53 pm
    Please advice me on the below error.

    Thanks,
    Chittaranjan
    On Sun, Sep 23, 2012 at 1:48 AM, wrote:
    thank you Philip for your help. now I am able to setup Yum repo and
    was successfully installed packages.

    Now, I am getting the below error. pls advice me.

    "psql: FATAL: database "postgres" doesn't exist.
    unable to create database role scm, giving up"

    thanks,
    Chittaranjan
    On Fri, Sep 21, 2012 at 9:24 AM, Philip Zeyliger wrote:
    Our packages depend on some system packages. You want to look into
    configuring your system such that you can pull packages from your OS's
    distribution.

    -- Philip

    On Thu, Sep 20, 2012 at 11:35 PM, wrote:

    Thanks a lot philip for looking into it..

    I did not setup local repo..and when I saw the installation guide it
    was saying all packages will be installed from Cloudera Manager.

    do I need to configure local repo in this case(using automated
    cloudera manager). pls let me know

    when I did the below command..it saying "there is no package
    available. nothing to do"

    thanks
    Chittaranjan

    On Thu, Sep 20, 2012 at 6:41 PM, Philip Zeyliger <philip@cloudera.com>
    wrote:
    Could you try running "yum install postgresql-server" on the machine
    before
    running the CM installer. What does it say?

    Thanks,

    -- Philip


    On Thu, Sep 20, 2012 at 4:24 PM, chittaranjan reddy
    <chittu546@gmail.com>
    wrote:

    Hi,

    I am installing cloudera mabager on RHEL 5.7 (64 bit). and while
    installing CM I am getting the following error. please help me on this
    issue.

    Package cloudera-manager-server-db.x86_64 0:4.0.4-1.cm404.p0.79 set to
    be
    updated
    --> Processing Dependency: postgresql-server >= 8.0 for package:
    cloudera-manager-server-db
    --> Finished Dependency Resolution
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 from
    cloudera-manager has depsolving problems
    --> Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    Error: Missing Dependency: postgresql-server >= 8.0 is needed by
    package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    You could try using --skip-broken to work around the problem

    Thanks a lot in advance.

    Regards,
    Chittaranjan
  • Romit Singhai at Sep 24, 2012 at 7:03 pm
    It seems like your yum repository is not configured configured correctly.
    You need to check the repo file for redhat.



    Thanks,
    Romit.
    On Thursday, September 20, 2012 4:24:21 PM UTC-7, chittaranjan reddy wrote:


    Hi,

    I am installing cloudera mabager on RHEL 5.7 (64 bit). and while
    installing CM I am getting the following error. please help me on this
    issue.

    Package cloudera-manager-server-db.x86_64 0:4.0.4-1.cm404.p0.79 set to be
    updated
    --> Processing Dependency: postgresql-server >= 8.0 for package:
    cloudera-manager-server-db
    --> Finished Dependency Resolution
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 from
    cloudera-manager has depsolving problems
    --> Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 (cloudera-manager)
    Error: Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 (cloudera-manager)
    You could try using --skip-broken to work around the problem

    Thanks a lot in advance.

    Regards,
    Chittaranjan
  • Chittu546 at Sep 24, 2012 at 7:14 pm
    Thanks philip.

    I have configured yum repositiry and installed the following packages.

    root@cmrnode cloudera-manager-installer]# yum list | grep postgres
    postgresql.x86_64 8.0.26-1PGDG.rhel5 installed
    postgresql-jdbc-debuginfo.x86_64 8.1.407-1jpp.4 installed
    postgresql-libs.i386 8.1.23-1.el5_6.1 installed
    postgresql-libs.x86_64 8.1.23-1.el5_6.1 installed
    postgresql-odbc-debuginfo.x86_64 08.01.0200-3.1 installed
    postgresql-odbc64-debuginfo.x86_64 09.00.0200-1.el5 installed
    postgresql-server.x86_64 8.0.26-1PGDG.rhel5 installed
    postgresql84-debuginfo.x86_64 8.4.13-1.el5_8 installed


    But still I am seeing the following errors while configuring Cloudera manager.

    Success. You can now start the database server using:

    postmaster -D /var/lib/cloudera-scm-server-db/data
    or
    pg_ctl -D /var/lib/cloudera-scm-server-db/data -l logfile start

    waiting for postmaster to start...... done
    postmaster started
    psql: FATAL: database "postgres" does not exist
    Unable to create database role scm, giving up

    Pls help me here

    Thanks,
    Chittaranjan
    On Mon, Sep 24, 2012 at 12:03 PM, Romit Singhai wrote:
    It seems like your yum repository is not configured configured correctly.
    You need to check the repo file for redhat.



    Thanks,
    Romit.

    On Thursday, September 20, 2012 4:24:21 PM UTC-7, chittaranjan reddy wrote:


    Hi,

    I am installing cloudera mabager on RHEL 5.7 (64 bit). and while
    installing CM I am getting the following error. please help me on this
    issue.

    Package cloudera-manager-server-db.x86_64 0:4.0.4-1.cm404.p0.79 set to be
    updated
    --> Processing Dependency: postgresql-server >= 8.0 for package:
    cloudera-manager-server-db
    --> Finished Dependency Resolution
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 from
    cloudera-manager has depsolving problems
    --> Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 (cloudera-manager)
    Error: Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 (cloudera-manager)
    You could try using --skip-broken to work around the problem

    Thanks a lot in advance.

    Regards,
    Chittaranjan
  • Philip Zeyliger at Sep 24, 2012 at 7:45 pm
    What parts of the installer have you run? You might run "service
    cloudera-scm-server-db initdb" followed by "service cloudera-scm-server-db
    start"; the installer should have done that. It's tricky to figure out
    what parts have and haven't run so far.

    -- Philip
    On Mon, Sep 24, 2012 at 12:14 PM, wrote:

    Thanks philip.

    I have configured yum repositiry and installed the following packages.

    root@cmrnode cloudera-manager-installer]# yum list | grep postgres
    postgresql.x86_64 8.0.26-1PGDG.rhel5 installed
    postgresql-jdbc-debuginfo.x86_64 8.1.407-1jpp.4 installed
    postgresql-libs.i386 8.1.23-1.el5_6.1 installed
    postgresql-libs.x86_64 8.1.23-1.el5_6.1 installed
    postgresql-odbc-debuginfo.x86_64 08.01.0200-3.1 installed
    postgresql-odbc64-debuginfo.x86_64 09.00.0200-1.el5 installed
    postgresql-server.x86_64 8.0.26-1PGDG.rhel5 installed
    postgresql84-debuginfo.x86_64 8.4.13-1.el5_8 installed


    But still I am seeing the following errors while configuring Cloudera
    manager.

    Success. You can now start the database server using:

    postmaster -D /var/lib/cloudera-scm-server-db/data
    or
    pg_ctl -D /var/lib/cloudera-scm-server-db/data -l logfile start

    waiting for postmaster to start...... done
    postmaster started
    psql: FATAL: database "postgres" does not exist
    Unable to create database role scm, giving up

    Pls help me here

    Thanks,
    Chittaranjan
    On Mon, Sep 24, 2012 at 12:03 PM, Romit Singhai wrote:
    It seems like your yum repository is not configured configured correctly.
    You need to check the repo file for redhat.



    Thanks,
    Romit.


    On Thursday, September 20, 2012 4:24:21 PM UTC-7, chittaranjan reddy
    wrote:

    Hi,

    I am installing cloudera mabager on RHEL 5.7 (64 bit). and while
    installing CM I am getting the following error. please help me on this
    issue.

    Package cloudera-manager-server-db.x86_64 0:4.0.4-1.cm404.p0.79 set to
    be
    updated
    --> Processing Dependency: postgresql-server >= 8.0 for package:
    cloudera-manager-server-db
    --> Finished Dependency Resolution
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 from
    cloudera-manager has depsolving problems
    --> Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 (cloudera-manager)
    Error: Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 (cloudera-manager)
    You could try using --skip-broken to work around the problem

    Thanks a lot in advance.

    Regards,
    Chittaranjan
  • Chittu546 at Sep 24, 2012 at 7:52 pm
    No..I am trying to run the installer bin file like as below.

    ./cloudera-manager-installer.bin

    and after runnng this installer giving me the following error.

    [root@cmrnode cloudera-manager-installer]# cat 5.init-embedded-db.log
    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.UTF-8.

    fixing permissions on existing directory
    /var/lib/cloudera-scm-server-db/data ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/global ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_xlog ... ok
    creating directory
    /var/lib/cloudera-scm-server-db/data/pg_xlog/archive_status ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_clog ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_subtrans ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/base ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/base/1 ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_tblspc ... ok
    selecting default max_connections ... 100
    selecting default shared_buffers ... 1000
    creating configuration files ... ok
    creating template1 database in
    /var/lib/cloudera-scm-server-db/data/base/1 ... ok
    initializing pg_shadow ... ok
    setting password ... ok
    enabling unlimited row size for system tables ... ok
    initializing pg_depend ... ok
    creating system views ... ok
    loading pg_description ... ok
    creating conversions ... ok
    setting privileges on built-in objects ... ok
    creating information schema ... ok
    vacuuming database template1 ... ok
    copying template1 to template0 ... ok

    Success. You can now start the database server using:

    postmaster -D /var/lib/cloudera-scm-server-db/data
    or
    pg_ctl -D /var/lib/cloudera-scm-server-db/data -l logfile start

    waiting for postmaster to start...... done
    postmaster started
    psql: FATAL: database "postgres" does not exist
    Unable to create database role scm, giving up

    On Mon, Sep 24, 2012 at 12:45 PM, Philip Zeyliger wrote:
    What parts of the installer have you run? You might run "service
    cloudera-scm-server-db initdb" followed by "service cloudera-scm-server-db
    start"; the installer should have done that. It's tricky to figure out what
    parts have and haven't run so far.

    -- Philip

    On Mon, Sep 24, 2012 at 12:14 PM, wrote:

    Thanks philip.

    I have configured yum repositiry and installed the following packages.

    root@cmrnode cloudera-manager-installer]# yum list | grep postgres
    postgresql.x86_64 8.0.26-1PGDG.rhel5
    installed
    postgresql-jdbc-debuginfo.x86_64 8.1.407-1jpp.4
    installed
    postgresql-libs.i386 8.1.23-1.el5_6.1
    installed
    postgresql-libs.x86_64 8.1.23-1.el5_6.1
    installed
    postgresql-odbc-debuginfo.x86_64 08.01.0200-3.1
    installed
    postgresql-odbc64-debuginfo.x86_64 09.00.0200-1.el5
    installed
    postgresql-server.x86_64 8.0.26-1PGDG.rhel5
    installed
    postgresql84-debuginfo.x86_64 8.4.13-1.el5_8
    installed


    But still I am seeing the following errors while configuring Cloudera
    manager.

    Success. You can now start the database server using:

    postmaster -D /var/lib/cloudera-scm-server-db/data
    or
    pg_ctl -D /var/lib/cloudera-scm-server-db/data -l logfile start

    waiting for postmaster to start...... done
    postmaster started
    psql: FATAL: database "postgres" does not exist
    Unable to create database role scm, giving up

    Pls help me here

    Thanks,
    Chittaranjan
    On Mon, Sep 24, 2012 at 12:03 PM, Romit Singhai wrote:
    It seems like your yum repository is not configured configured
    correctly.
    You need to check the repo file for redhat.



    Thanks,
    Romit.


    On Thursday, September 20, 2012 4:24:21 PM UTC-7, chittaranjan reddy
    wrote:

    Hi,

    I am installing cloudera mabager on RHEL 5.7 (64 bit). and while
    installing CM I am getting the following error. please help me on this
    issue.

    Package cloudera-manager-server-db.x86_64 0:4.0.4-1.cm404.p0.79 set to
    be
    updated
    --> Processing Dependency: postgresql-server >= 8.0 for package:
    cloudera-manager-server-db
    --> Finished Dependency Resolution
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 from
    cloudera-manager has depsolving problems
    --> Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    Error: Missing Dependency: postgresql-server >= 8.0 is needed by
    package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    You could try using --skip-broken to work around the problem

    Thanks a lot in advance.

    Regards,
    Chittaranjan
  • Chittu546 at Sep 26, 2012 at 12:03 am
    Hi Philip,

    while installing CDH4. my installation was stalled due to the below
    error, Pls help me on this.

    BEGIN yum list installed hue-common
    Loaded plugins: product-id, security, subscription-manager
    Updating Red Hat repositories.
    END (1)
    BEGIN yum -y install hue-common.x86_64
    Error: No matching Packages to list
    Loaded plugins: product-id, security, subscription-manager
    Updating Red Hat repositories.
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package hue-common.x86_64 0:2.0.0+59-1.cdh4.0.1.p0.1.el5 set to be updated
    --> Processing Dependency: cyrus-sasl-gssapi for package: hue-common
    --> Finished Dependency Resolution
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 from cloudera-cdh4 has
    depsolving problems
    --> Missing Dependency: cyrus-sasl-gssapi is needed by package
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 (cloudera-cdh4)
    Error: Missing Dependency: cyrus-sasl-gssapi is needed by package
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 (cloudera-cdh4)
    You could try using --skip-broken to work around the problem
    You could try running: package-cleanup --problems
    package-cleanup --dupes
    rpm -Va --nofiles --nodigest
    The program package-cleanup is found in the yum-utils package.
    END (1)
    remote package hue-common could not be installed, giving up
    Reverting changes...

    Thanks,
    Chittaranjan
    On Mon, Sep 24, 2012 at 12:52 PM, wrote:
    No..I am trying to run the installer bin file like as below.

    ./cloudera-manager-installer.bin

    and after runnng this installer giving me the following error.

    [root@cmrnode cloudera-manager-installer]# cat 5.init-embedded-db.log
    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.UTF-8.

    fixing permissions on existing directory
    /var/lib/cloudera-scm-server-db/data ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/global ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_xlog ... ok
    creating directory
    /var/lib/cloudera-scm-server-db/data/pg_xlog/archive_status ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_clog ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_subtrans ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/base ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/base/1 ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_tblspc ... ok
    selecting default max_connections ... 100
    selecting default shared_buffers ... 1000
    creating configuration files ... ok
    creating template1 database in
    /var/lib/cloudera-scm-server-db/data/base/1 ... ok
    initializing pg_shadow ... ok
    setting password ... ok
    enabling unlimited row size for system tables ... ok
    initializing pg_depend ... ok
    creating system views ... ok
    loading pg_description ... ok
    creating conversions ... ok
    setting privileges on built-in objects ... ok
    creating information schema ... ok
    vacuuming database template1 ... ok
    copying template1 to template0 ... ok

    Success. You can now start the database server using:

    postmaster -D /var/lib/cloudera-scm-server-db/data
    or
    pg_ctl -D /var/lib/cloudera-scm-server-db/data -l logfile start

    waiting for postmaster to start...... done
    postmaster started
    psql: FATAL: database "postgres" does not exist
    Unable to create database role scm, giving up

    On Mon, Sep 24, 2012 at 12:45 PM, Philip Zeyliger wrote:
    What parts of the installer have you run? You might run "service
    cloudera-scm-server-db initdb" followed by "service cloudera-scm-server-db
    start"; the installer should have done that. It's tricky to figure out what
    parts have and haven't run so far.

    -- Philip

    On Mon, Sep 24, 2012 at 12:14 PM, wrote:

    Thanks philip.

    I have configured yum repositiry and installed the following packages.

    root@cmrnode cloudera-manager-installer]# yum list | grep postgres
    postgresql.x86_64 8.0.26-1PGDG.rhel5
    installed
    postgresql-jdbc-debuginfo.x86_64 8.1.407-1jpp.4
    installed
    postgresql-libs.i386 8.1.23-1.el5_6.1
    installed
    postgresql-libs.x86_64 8.1.23-1.el5_6.1
    installed
    postgresql-odbc-debuginfo.x86_64 08.01.0200-3.1
    installed
    postgresql-odbc64-debuginfo.x86_64 09.00.0200-1.el5
    installed
    postgresql-server.x86_64 8.0.26-1PGDG.rhel5
    installed
    postgresql84-debuginfo.x86_64 8.4.13-1.el5_8
    installed


    But still I am seeing the following errors while configuring Cloudera
    manager.

    Success. You can now start the database server using:

    postmaster -D /var/lib/cloudera-scm-server-db/data
    or
    pg_ctl -D /var/lib/cloudera-scm-server-db/data -l logfile start

    waiting for postmaster to start...... done
    postmaster started
    psql: FATAL: database "postgres" does not exist
    Unable to create database role scm, giving up

    Pls help me here

    Thanks,
    Chittaranjan
    On Mon, Sep 24, 2012 at 12:03 PM, Romit Singhai wrote:
    It seems like your yum repository is not configured configured
    correctly.
    You need to check the repo file for redhat.



    Thanks,
    Romit.


    On Thursday, September 20, 2012 4:24:21 PM UTC-7, chittaranjan reddy
    wrote:

    Hi,

    I am installing cloudera mabager on RHEL 5.7 (64 bit). and while
    installing CM I am getting the following error. please help me on this
    issue.

    Package cloudera-manager-server-db.x86_64 0:4.0.4-1.cm404.p0.79 set to
    be
    updated
    --> Processing Dependency: postgresql-server >= 8.0 for package:
    cloudera-manager-server-db
    --> Finished Dependency Resolution
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 from
    cloudera-manager has depsolving problems
    --> Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    Error: Missing Dependency: postgresql-server >= 8.0 is needed by
    package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    You could try using --skip-broken to work around the problem

    Thanks a lot in advance.

    Regards,
    Chittaranjan
  • Joey Echeverria at Sep 26, 2012 at 2:26 pm
    It looks like it can't install a dependency:

    cyrus-sasl-gssapi

    Do you have your distributions standard yum repositories configured?

    -Joey
    On Tue, Sep 25, 2012 at 8:03 PM, wrote:
    Hi Philip,

    while installing CDH4. my installation was stalled due to the below
    error, Pls help me on this.

    BEGIN yum list installed hue-common
    Loaded plugins: product-id, security, subscription-manager
    Updating Red Hat repositories.
    END (1)
    BEGIN yum -y install hue-common.x86_64
    Error: No matching Packages to list
    Loaded plugins: product-id, security, subscription-manager
    Updating Red Hat repositories.
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package hue-common.x86_64 0:2.0.0+59-1.cdh4.0.1.p0.1.el5 set to be updated
    --> Processing Dependency: cyrus-sasl-gssapi for package: hue-common
    --> Finished Dependency Resolution
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 from cloudera-cdh4 has
    depsolving problems
    --> Missing Dependency: cyrus-sasl-gssapi is needed by package
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 (cloudera-cdh4)
    Error: Missing Dependency: cyrus-sasl-gssapi is needed by package
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 (cloudera-cdh4)
    You could try using --skip-broken to work around the problem
    You could try running: package-cleanup --problems
    package-cleanup --dupes
    rpm -Va --nofiles --nodigest
    The program package-cleanup is found in the yum-utils package.
    END (1)
    remote package hue-common could not be installed, giving up
    Reverting changes...

    Thanks,
    Chittaranjan
    On Mon, Sep 24, 2012 at 12:52 PM, wrote:
    No..I am trying to run the installer bin file like as below.

    ./cloudera-manager-installer.bin

    and after runnng this installer giving me the following error.

    [root@cmrnode cloudera-manager-installer]# cat 5.init-embedded-db.log
    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.UTF-8.

    fixing permissions on existing directory
    /var/lib/cloudera-scm-server-db/data ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/global ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_xlog ... ok
    creating directory
    /var/lib/cloudera-scm-server-db/data/pg_xlog/archive_status ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_clog ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_subtrans ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/base ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/base/1 ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_tblspc ... ok
    selecting default max_connections ... 100
    selecting default shared_buffers ... 1000
    creating configuration files ... ok
    creating template1 database in
    /var/lib/cloudera-scm-server-db/data/base/1 ... ok
    initializing pg_shadow ... ok
    setting password ... ok
    enabling unlimited row size for system tables ... ok
    initializing pg_depend ... ok
    creating system views ... ok
    loading pg_description ... ok
    creating conversions ... ok
    setting privileges on built-in objects ... ok
    creating information schema ... ok
    vacuuming database template1 ... ok
    copying template1 to template0 ... ok

    Success. You can now start the database server using:

    postmaster -D /var/lib/cloudera-scm-server-db/data
    or
    pg_ctl -D /var/lib/cloudera-scm-server-db/data -l logfile start

    waiting for postmaster to start...... done
    postmaster started
    psql: FATAL: database "postgres" does not exist
    Unable to create database role scm, giving up

    On Mon, Sep 24, 2012 at 12:45 PM, Philip Zeyliger wrote:
    What parts of the installer have you run? You might run "service
    cloudera-scm-server-db initdb" followed by "service cloudera-scm-server-db
    start"; the installer should have done that. It's tricky to figure out what
    parts have and haven't run so far.

    -- Philip

    On Mon, Sep 24, 2012 at 12:14 PM, wrote:

    Thanks philip.

    I have configured yum repositiry and installed the following packages.

    root@cmrnode cloudera-manager-installer]# yum list | grep postgres
    postgresql.x86_64 8.0.26-1PGDG.rhel5
    installed
    postgresql-jdbc-debuginfo.x86_64 8.1.407-1jpp.4
    installed
    postgresql-libs.i386 8.1.23-1.el5_6.1
    installed
    postgresql-libs.x86_64 8.1.23-1.el5_6.1
    installed
    postgresql-odbc-debuginfo.x86_64 08.01.0200-3.1
    installed
    postgresql-odbc64-debuginfo.x86_64 09.00.0200-1.el5
    installed
    postgresql-server.x86_64 8.0.26-1PGDG.rhel5
    installed
    postgresql84-debuginfo.x86_64 8.4.13-1.el5_8
    installed


    But still I am seeing the following errors while configuring Cloudera
    manager.

    Success. You can now start the database server using:

    postmaster -D /var/lib/cloudera-scm-server-db/data
    or
    pg_ctl -D /var/lib/cloudera-scm-server-db/data -l logfile start

    waiting for postmaster to start...... done
    postmaster started
    psql: FATAL: database "postgres" does not exist
    Unable to create database role scm, giving up

    Pls help me here

    Thanks,
    Chittaranjan
    On Mon, Sep 24, 2012 at 12:03 PM, Romit Singhai wrote:
    It seems like your yum repository is not configured configured
    correctly.
    You need to check the repo file for redhat.



    Thanks,
    Romit.


    On Thursday, September 20, 2012 4:24:21 PM UTC-7, chittaranjan reddy
    wrote:

    Hi,

    I am installing cloudera mabager on RHEL 5.7 (64 bit). and while
    installing CM I am getting the following error. please help me on this
    issue.

    Package cloudera-manager-server-db.x86_64 0:4.0.4-1.cm404.p0.79 set to
    be
    updated
    --> Processing Dependency: postgresql-server >= 8.0 for package:
    cloudera-manager-server-db
    --> Finished Dependency Resolution
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 from
    cloudera-manager has depsolving problems
    --> Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    Error: Missing Dependency: postgresql-server >= 8.0 is needed by
    package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    You could try using --skip-broken to work around the problem

    Thanks a lot in advance.

    Regards,
    Chittaranjan


    --
    Joey Echeverria
    Principal Solutions Architect
    Cloudera, Inc.
  • Chittu546 at Sep 26, 2012 at 5:27 pm
    Thank you Joey.

    Cloudera manager created the following repositories on my machine. and
    I am seeing all other packages were installing. and it is failing
    while installing "hue". pls let me know if I need to channge anything
    here.

    [root@cmrnode yum.repos.d]# cat cloudera-cdh4.repo
    [cloudera-cdh4]
    name = Cloudera CDH, Version 4.0.0
    baseurl = http://archive.cloudera.com/cdh4/redhat/5/x86_64/cdh/4.0.0/
    gpgkey = http://archive.cloudera.com/redhat/cdh/RPM-GPG-KEY-cloudera
    gpgcheck = 1

    [root@cmrnode yum.repos.d]# cat cloudera-manager.repo
    [cloudera-manager]
    name = Cloudera Manager, Version 4.0.4
    baseurl = http://archive.cloudera.com/cm4/redhat/5/x86_64/cm/4.0.4/
    gpgkey = http://archive.cloudera.com/redhat/cdh/RPM-GPG-KEY-cloudera
    gpgcheck = 1


    Regards,
    Chittaranjan
    On Wed, Sep 26, 2012 at 7:20 AM, Joey Echeverria wrote:
    It looks like it can't install a dependency:

    cyrus-sasl-gssapi

    Do you have your distributions standard yum repositories configured?

    -Joey
    On Tue, Sep 25, 2012 at 8:03 PM, wrote:
    Hi Philip,

    while installing CDH4. my installation was stalled due to the below
    error, Pls help me on this.

    BEGIN yum list installed hue-common
    Loaded plugins: product-id, security, subscription-manager
    Updating Red Hat repositories.
    END (1)
    BEGIN yum -y install hue-common.x86_64
    Error: No matching Packages to list
    Loaded plugins: product-id, security, subscription-manager
    Updating Red Hat repositories.
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package hue-common.x86_64 0:2.0.0+59-1.cdh4.0.1.p0.1.el5 set to be updated
    --> Processing Dependency: cyrus-sasl-gssapi for package: hue-common
    --> Finished Dependency Resolution
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 from cloudera-cdh4 has
    depsolving problems
    --> Missing Dependency: cyrus-sasl-gssapi is needed by package
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 (cloudera-cdh4)
    Error: Missing Dependency: cyrus-sasl-gssapi is needed by package
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 (cloudera-cdh4)
    You could try using --skip-broken to work around the problem
    You could try running: package-cleanup --problems
    package-cleanup --dupes
    rpm -Va --nofiles --nodigest
    The program package-cleanup is found in the yum-utils package.
    END (1)
    remote package hue-common could not be installed, giving up
    Reverting changes...

    Thanks,
    Chittaranjan
    On Mon, Sep 24, 2012 at 12:52 PM, wrote:
    No..I am trying to run the installer bin file like as below.

    ./cloudera-manager-installer.bin

    and after runnng this installer giving me the following error.

    [root@cmrnode cloudera-manager-installer]# cat 5.init-embedded-db.log
    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.UTF-8.

    fixing permissions on existing directory
    /var/lib/cloudera-scm-server-db/data ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/global ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_xlog ... ok
    creating directory
    /var/lib/cloudera-scm-server-db/data/pg_xlog/archive_status ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_clog ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_subtrans ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/base ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/base/1 ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_tblspc ... ok
    selecting default max_connections ... 100
    selecting default shared_buffers ... 1000
    creating configuration files ... ok
    creating template1 database in
    /var/lib/cloudera-scm-server-db/data/base/1 ... ok
    initializing pg_shadow ... ok
    setting password ... ok
    enabling unlimited row size for system tables ... ok
    initializing pg_depend ... ok
    creating system views ... ok
    loading pg_description ... ok
    creating conversions ... ok
    setting privileges on built-in objects ... ok
    creating information schema ... ok
    vacuuming database template1 ... ok
    copying template1 to template0 ... ok

    Success. You can now start the database server using:

    postmaster -D /var/lib/cloudera-scm-server-db/data
    or
    pg_ctl -D /var/lib/cloudera-scm-server-db/data -l logfile start

    waiting for postmaster to start...... done
    postmaster started
    psql: FATAL: database "postgres" does not exist
    Unable to create database role scm, giving up

    On Mon, Sep 24, 2012 at 12:45 PM, Philip Zeyliger wrote:
    What parts of the installer have you run? You might run "service
    cloudera-scm-server-db initdb" followed by "service cloudera-scm-server-db
    start"; the installer should have done that. It's tricky to figure out what
    parts have and haven't run so far.

    -- Philip

    On Mon, Sep 24, 2012 at 12:14 PM, wrote:

    Thanks philip.

    I have configured yum repositiry and installed the following packages.

    root@cmrnode cloudera-manager-installer]# yum list | grep postgres
    postgresql.x86_64 8.0.26-1PGDG.rhel5
    installed
    postgresql-jdbc-debuginfo.x86_64 8.1.407-1jpp.4
    installed
    postgresql-libs.i386 8.1.23-1.el5_6.1
    installed
    postgresql-libs.x86_64 8.1.23-1.el5_6.1
    installed
    postgresql-odbc-debuginfo.x86_64 08.01.0200-3.1
    installed
    postgresql-odbc64-debuginfo.x86_64 09.00.0200-1.el5
    installed
    postgresql-server.x86_64 8.0.26-1PGDG.rhel5
    installed
    postgresql84-debuginfo.x86_64 8.4.13-1.el5_8
    installed


    But still I am seeing the following errors while configuring Cloudera
    manager.

    Success. You can now start the database server using:

    postmaster -D /var/lib/cloudera-scm-server-db/data
    or
    pg_ctl -D /var/lib/cloudera-scm-server-db/data -l logfile start

    waiting for postmaster to start...... done
    postmaster started
    psql: FATAL: database "postgres" does not exist
    Unable to create database role scm, giving up

    Pls help me here

    Thanks,
    Chittaranjan
    On Mon, Sep 24, 2012 at 12:03 PM, Romit Singhai wrote:
    It seems like your yum repository is not configured configured
    correctly.
    You need to check the repo file for redhat.



    Thanks,
    Romit.


    On Thursday, September 20, 2012 4:24:21 PM UTC-7, chittaranjan reddy
    wrote:

    Hi,

    I am installing cloudera mabager on RHEL 5.7 (64 bit). and while
    installing CM I am getting the following error. please help me on this
    issue.

    Package cloudera-manager-server-db.x86_64 0:4.0.4-1.cm404.p0.79 set to
    be
    updated
    --> Processing Dependency: postgresql-server >= 8.0 for package:
    cloudera-manager-server-db
    --> Finished Dependency Resolution
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 from
    cloudera-manager has depsolving problems
    --> Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    Error: Missing Dependency: postgresql-server >= 8.0 is needed by
    package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    You could try using --skip-broken to work around the problem

    Thanks a lot in advance.

    Regards,
    Chittaranjan


    --
    Joey Echeverria
    Principal Solutions Architect
    Cloudera, Inc.
  • Chittu546 at Sep 26, 2012 at 5:33 pm
    Please let me know the standard yum repo for RHEL 5.7 (64 bit) version
    OS distribution. appreciate your help on this.

    Thanks,
    Chittaranjan
    On Wed, Sep 26, 2012 at 10:27 AM, wrote:
    Thank you Joey.

    Cloudera manager created the following repositories on my machine. and
    I am seeing all other packages were installing. and it is failing
    while installing "hue". pls let me know if I need to channge anything
    here.

    [root@cmrnode yum.repos.d]# cat cloudera-cdh4.repo
    [cloudera-cdh4]
    name = Cloudera CDH, Version 4.0.0
    baseurl = http://archive.cloudera.com/cdh4/redhat/5/x86_64/cdh/4.0.0/
    gpgkey = http://archive.cloudera.com/redhat/cdh/RPM-GPG-KEY-cloudera
    gpgcheck = 1

    [root@cmrnode yum.repos.d]# cat cloudera-manager.repo
    [cloudera-manager]
    name = Cloudera Manager, Version 4.0.4
    baseurl = http://archive.cloudera.com/cm4/redhat/5/x86_64/cm/4.0.4/
    gpgkey = http://archive.cloudera.com/redhat/cdh/RPM-GPG-KEY-cloudera
    gpgcheck = 1


    Regards,
    Chittaranjan
    On Wed, Sep 26, 2012 at 7:20 AM, Joey Echeverria wrote:
    It looks like it can't install a dependency:

    cyrus-sasl-gssapi

    Do you have your distributions standard yum repositories configured?

    -Joey
    On Tue, Sep 25, 2012 at 8:03 PM, wrote:
    Hi Philip,

    while installing CDH4. my installation was stalled due to the below
    error, Pls help me on this.

    BEGIN yum list installed hue-common
    Loaded plugins: product-id, security, subscription-manager
    Updating Red Hat repositories.
    END (1)
    BEGIN yum -y install hue-common.x86_64
    Error: No matching Packages to list
    Loaded plugins: product-id, security, subscription-manager
    Updating Red Hat repositories.
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package hue-common.x86_64 0:2.0.0+59-1.cdh4.0.1.p0.1.el5 set to be updated
    --> Processing Dependency: cyrus-sasl-gssapi for package: hue-common
    --> Finished Dependency Resolution
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 from cloudera-cdh4 has
    depsolving problems
    --> Missing Dependency: cyrus-sasl-gssapi is needed by package
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 (cloudera-cdh4)
    Error: Missing Dependency: cyrus-sasl-gssapi is needed by package
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 (cloudera-cdh4)
    You could try using --skip-broken to work around the problem
    You could try running: package-cleanup --problems
    package-cleanup --dupes
    rpm -Va --nofiles --nodigest
    The program package-cleanup is found in the yum-utils package.
    END (1)
    remote package hue-common could not be installed, giving up
    Reverting changes...

    Thanks,
    Chittaranjan
    On Mon, Sep 24, 2012 at 12:52 PM, wrote:
    No..I am trying to run the installer bin file like as below.

    ./cloudera-manager-installer.bin

    and after runnng this installer giving me the following error.

    [root@cmrnode cloudera-manager-installer]# cat 5.init-embedded-db.log
    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.UTF-8.

    fixing permissions on existing directory
    /var/lib/cloudera-scm-server-db/data ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/global ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_xlog ... ok
    creating directory
    /var/lib/cloudera-scm-server-db/data/pg_xlog/archive_status ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_clog ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_subtrans ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/base ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/base/1 ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_tblspc ... ok
    selecting default max_connections ... 100
    selecting default shared_buffers ... 1000
    creating configuration files ... ok
    creating template1 database in
    /var/lib/cloudera-scm-server-db/data/base/1 ... ok
    initializing pg_shadow ... ok
    setting password ... ok
    enabling unlimited row size for system tables ... ok
    initializing pg_depend ... ok
    creating system views ... ok
    loading pg_description ... ok
    creating conversions ... ok
    setting privileges on built-in objects ... ok
    creating information schema ... ok
    vacuuming database template1 ... ok
    copying template1 to template0 ... ok

    Success. You can now start the database server using:

    postmaster -D /var/lib/cloudera-scm-server-db/data
    or
    pg_ctl -D /var/lib/cloudera-scm-server-db/data -l logfile start

    waiting for postmaster to start...... done
    postmaster started
    psql: FATAL: database "postgres" does not exist
    Unable to create database role scm, giving up

    On Mon, Sep 24, 2012 at 12:45 PM, Philip Zeyliger wrote:
    What parts of the installer have you run? You might run "service
    cloudera-scm-server-db initdb" followed by "service cloudera-scm-server-db
    start"; the installer should have done that. It's tricky to figure out what
    parts have and haven't run so far.

    -- Philip

    On Mon, Sep 24, 2012 at 12:14 PM, wrote:

    Thanks philip.

    I have configured yum repositiry and installed the following packages.

    root@cmrnode cloudera-manager-installer]# yum list | grep postgres
    postgresql.x86_64 8.0.26-1PGDG.rhel5
    installed
    postgresql-jdbc-debuginfo.x86_64 8.1.407-1jpp.4
    installed
    postgresql-libs.i386 8.1.23-1.el5_6.1
    installed
    postgresql-libs.x86_64 8.1.23-1.el5_6.1
    installed
    postgresql-odbc-debuginfo.x86_64 08.01.0200-3.1
    installed
    postgresql-odbc64-debuginfo.x86_64 09.00.0200-1.el5
    installed
    postgresql-server.x86_64 8.0.26-1PGDG.rhel5
    installed
    postgresql84-debuginfo.x86_64 8.4.13-1.el5_8
    installed


    But still I am seeing the following errors while configuring Cloudera
    manager.

    Success. You can now start the database server using:

    postmaster -D /var/lib/cloudera-scm-server-db/data
    or
    pg_ctl -D /var/lib/cloudera-scm-server-db/data -l logfile start

    waiting for postmaster to start...... done
    postmaster started
    psql: FATAL: database "postgres" does not exist
    Unable to create database role scm, giving up

    Pls help me here

    Thanks,
    Chittaranjan
    On Mon, Sep 24, 2012 at 12:03 PM, Romit Singhai wrote:
    It seems like your yum repository is not configured configured
    correctly.
    You need to check the repo file for redhat.



    Thanks,
    Romit.


    On Thursday, September 20, 2012 4:24:21 PM UTC-7, chittaranjan reddy
    wrote:

    Hi,

    I am installing cloudera mabager on RHEL 5.7 (64 bit). and while
    installing CM I am getting the following error. please help me on this
    issue.

    Package cloudera-manager-server-db.x86_64 0:4.0.4-1.cm404.p0.79 set to
    be
    updated
    --> Processing Dependency: postgresql-server >= 8.0 for package:
    cloudera-manager-server-db
    --> Finished Dependency Resolution
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 from
    cloudera-manager has depsolving problems
    --> Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    Error: Missing Dependency: postgresql-server >= 8.0 is needed by
    package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    You could try using --skip-broken to work around the problem

    Thanks a lot in advance.

    Regards,
    Chittaranjan


    --
    Joey Echeverria
    Principal Solutions Architect
    Cloudera, Inc.
  • Joey Echeverria at Sep 26, 2012 at 7:13 pm
    What other files do you have in your /etc/yum.repos.d folder?

    I think for RHEL you need access to the Redhat Network (RHN) to get packages.

    -Joey
    On Wed, Sep 26, 2012 at 1:33 PM, wrote:
    Please let me know the standard yum repo for RHEL 5.7 (64 bit) version
    OS distribution. appreciate your help on this.

    Thanks,
    Chittaranjan
    On Wed, Sep 26, 2012 at 10:27 AM, wrote:
    Thank you Joey.

    Cloudera manager created the following repositories on my machine. and
    I am seeing all other packages were installing. and it is failing
    while installing "hue". pls let me know if I need to channge anything
    here.

    [root@cmrnode yum.repos.d]# cat cloudera-cdh4.repo
    [cloudera-cdh4]
    name = Cloudera CDH, Version 4.0.0
    baseurl = http://archive.cloudera.com/cdh4/redhat/5/x86_64/cdh/4.0.0/
    gpgkey = http://archive.cloudera.com/redhat/cdh/RPM-GPG-KEY-cloudera
    gpgcheck = 1

    [root@cmrnode yum.repos.d]# cat cloudera-manager.repo
    [cloudera-manager]
    name = Cloudera Manager, Version 4.0.4
    baseurl = http://archive.cloudera.com/cm4/redhat/5/x86_64/cm/4.0.4/
    gpgkey = http://archive.cloudera.com/redhat/cdh/RPM-GPG-KEY-cloudera
    gpgcheck = 1


    Regards,
    Chittaranjan
    On Wed, Sep 26, 2012 at 7:20 AM, Joey Echeverria wrote:
    It looks like it can't install a dependency:

    cyrus-sasl-gssapi

    Do you have your distributions standard yum repositories configured?

    -Joey
    On Tue, Sep 25, 2012 at 8:03 PM, wrote:
    Hi Philip,

    while installing CDH4. my installation was stalled due to the below
    error, Pls help me on this.

    BEGIN yum list installed hue-common
    Loaded plugins: product-id, security, subscription-manager
    Updating Red Hat repositories.
    END (1)
    BEGIN yum -y install hue-common.x86_64
    Error: No matching Packages to list
    Loaded plugins: product-id, security, subscription-manager
    Updating Red Hat repositories.
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package hue-common.x86_64 0:2.0.0+59-1.cdh4.0.1.p0.1.el5 set to be updated
    --> Processing Dependency: cyrus-sasl-gssapi for package: hue-common
    --> Finished Dependency Resolution
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 from cloudera-cdh4 has
    depsolving problems
    --> Missing Dependency: cyrus-sasl-gssapi is needed by package
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 (cloudera-cdh4)
    Error: Missing Dependency: cyrus-sasl-gssapi is needed by package
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 (cloudera-cdh4)
    You could try using --skip-broken to work around the problem
    You could try running: package-cleanup --problems
    package-cleanup --dupes
    rpm -Va --nofiles --nodigest
    The program package-cleanup is found in the yum-utils package.
    END (1)
    remote package hue-common could not be installed, giving up
    Reverting changes...

    Thanks,
    Chittaranjan
    On Mon, Sep 24, 2012 at 12:52 PM, wrote:
    No..I am trying to run the installer bin file like as below.

    ./cloudera-manager-installer.bin

    and after runnng this installer giving me the following error.

    [root@cmrnode cloudera-manager-installer]# cat 5.init-embedded-db.log
    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.UTF-8.

    fixing permissions on existing directory
    /var/lib/cloudera-scm-server-db/data ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/global ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_xlog ... ok
    creating directory
    /var/lib/cloudera-scm-server-db/data/pg_xlog/archive_status ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_clog ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_subtrans ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/base ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/base/1 ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_tblspc ... ok
    selecting default max_connections ... 100
    selecting default shared_buffers ... 1000
    creating configuration files ... ok
    creating template1 database in
    /var/lib/cloudera-scm-server-db/data/base/1 ... ok
    initializing pg_shadow ... ok
    setting password ... ok
    enabling unlimited row size for system tables ... ok
    initializing pg_depend ... ok
    creating system views ... ok
    loading pg_description ... ok
    creating conversions ... ok
    setting privileges on built-in objects ... ok
    creating information schema ... ok
    vacuuming database template1 ... ok
    copying template1 to template0 ... ok

    Success. You can now start the database server using:

    postmaster -D /var/lib/cloudera-scm-server-db/data
    or
    pg_ctl -D /var/lib/cloudera-scm-server-db/data -l logfile start

    waiting for postmaster to start...... done
    postmaster started
    psql: FATAL: database "postgres" does not exist
    Unable to create database role scm, giving up

    On Mon, Sep 24, 2012 at 12:45 PM, Philip Zeyliger wrote:
    What parts of the installer have you run? You might run "service
    cloudera-scm-server-db initdb" followed by "service cloudera-scm-server-db
    start"; the installer should have done that. It's tricky to figure out what
    parts have and haven't run so far.

    -- Philip

    On Mon, Sep 24, 2012 at 12:14 PM, wrote:

    Thanks philip.

    I have configured yum repositiry and installed the following packages.

    root@cmrnode cloudera-manager-installer]# yum list | grep postgres
    postgresql.x86_64 8.0.26-1PGDG.rhel5
    installed
    postgresql-jdbc-debuginfo.x86_64 8.1.407-1jpp.4
    installed
    postgresql-libs.i386 8.1.23-1.el5_6.1
    installed
    postgresql-libs.x86_64 8.1.23-1.el5_6.1
    installed
    postgresql-odbc-debuginfo.x86_64 08.01.0200-3.1
    installed
    postgresql-odbc64-debuginfo.x86_64 09.00.0200-1.el5
    installed
    postgresql-server.x86_64 8.0.26-1PGDG.rhel5
    installed
    postgresql84-debuginfo.x86_64 8.4.13-1.el5_8
    installed


    But still I am seeing the following errors while configuring Cloudera
    manager.

    Success. You can now start the database server using:

    postmaster -D /var/lib/cloudera-scm-server-db/data
    or
    pg_ctl -D /var/lib/cloudera-scm-server-db/data -l logfile start

    waiting for postmaster to start...... done
    postmaster started
    psql: FATAL: database "postgres" does not exist
    Unable to create database role scm, giving up

    Pls help me here

    Thanks,
    Chittaranjan
    On Mon, Sep 24, 2012 at 12:03 PM, Romit Singhai wrote:
    It seems like your yum repository is not configured configured
    correctly.
    You need to check the repo file for redhat.



    Thanks,
    Romit.


    On Thursday, September 20, 2012 4:24:21 PM UTC-7, chittaranjan reddy
    wrote:

    Hi,

    I am installing cloudera mabager on RHEL 5.7 (64 bit). and while
    installing CM I am getting the following error. please help me on this
    issue.

    Package cloudera-manager-server-db.x86_64 0:4.0.4-1.cm404.p0.79 set to
    be
    updated
    --> Processing Dependency: postgresql-server >= 8.0 for package:
    cloudera-manager-server-db
    --> Finished Dependency Resolution
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 from
    cloudera-manager has depsolving problems
    --> Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    Error: Missing Dependency: postgresql-server >= 8.0 is needed by
    package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    You could try using --skip-broken to work around the problem

    Thanks a lot in advance.

    Regards,
    Chittaranjan


    --
    Joey Echeverria
    Principal Solutions Architect
    Cloudera, Inc.


    --
    Joey Echeverria
    Principal Solutions Architect
    Cloudera, Inc.
  • Chittu546 at Sep 26, 2012 at 7:27 pm
    HI Joey,

    These all I have in /etc/yum.repos.d

    [root@cmrnode yum.repos.d]# cat redhat.repo
    #
    # Red Hat Repositories
    # Managed by (rhsm) subscription-manager
    #[root@cmrnode yum.repos.d]# cat pgdg-84-redhat.repo
    [pgdg84]
    name=PostgreSQL 8.4 $releasever - $basearch
    baseurl=http://yum.postgresql.org/8.4/redhat/rhel-$releasever-$basearch
    enabled=1
    gpgcheck=0
    [root@cmrnode yum.repos.d]# cat rhel-debuginfo.repo
    [rhel-debuginfo]
    name=Red Hat Enterprise Linux $releasever - $basearch - Debug
    baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

    [rhel-debuginfo-beta]
    name=Red Hat Enterprise Linux $releasever Beta - $basearch - Debug
    baseurl=ftp://ftp.redhat.com/pub/redhat/linux/beta/$releasever/en/os/$basearch/Debuginfo/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    [root@cmrnode yum.repos.d]# cat rhel-source.repo
    [rhel-source]
    name=Red Hat Enterprise Linux $releasever - Source
    baseurl=ftp://ftp.redhat.com/redhat/linux/enterprise/$releasever/en/os/SRPMS/
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

    On Wed, Sep 26, 2012 at 12:12 PM, Joey Echeverria wrote:
    What other files do you have in your /etc/yum.repos.d folder?

    I think for RHEL you need access to the Redhat Network (RHN) to get packages.

    -Joey
    On Wed, Sep 26, 2012 at 1:33 PM, wrote:
    Please let me know the standard yum repo for RHEL 5.7 (64 bit) version
    OS distribution. appreciate your help on this.

    Thanks,
    Chittaranjan
    On Wed, Sep 26, 2012 at 10:27 AM, wrote:
    Thank you Joey.

    Cloudera manager created the following repositories on my machine. and
    I am seeing all other packages were installing. and it is failing
    while installing "hue". pls let me know if I need to channge anything
    here.

    [root@cmrnode yum.repos.d]# cat cloudera-cdh4.repo
    [cloudera-cdh4]
    name = Cloudera CDH, Version 4.0.0
    baseurl = http://archive.cloudera.com/cdh4/redhat/5/x86_64/cdh/4.0.0/
    gpgkey = http://archive.cloudera.com/redhat/cdh/RPM-GPG-KEY-cloudera
    gpgcheck = 1

    [root@cmrnode yum.repos.d]# cat cloudera-manager.repo
    [cloudera-manager]
    name = Cloudera Manager, Version 4.0.4
    baseurl = http://archive.cloudera.com/cm4/redhat/5/x86_64/cm/4.0.4/
    gpgkey = http://archive.cloudera.com/redhat/cdh/RPM-GPG-KEY-cloudera
    gpgcheck = 1


    Regards,
    Chittaranjan
    On Wed, Sep 26, 2012 at 7:20 AM, Joey Echeverria wrote:
    It looks like it can't install a dependency:

    cyrus-sasl-gssapi

    Do you have your distributions standard yum repositories configured?

    -Joey
    On Tue, Sep 25, 2012 at 8:03 PM, wrote:
    Hi Philip,

    while installing CDH4. my installation was stalled due to the below
    error, Pls help me on this.

    BEGIN yum list installed hue-common
    Loaded plugins: product-id, security, subscription-manager
    Updating Red Hat repositories.
    END (1)
    BEGIN yum -y install hue-common.x86_64
    Error: No matching Packages to list
    Loaded plugins: product-id, security, subscription-manager
    Updating Red Hat repositories.
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package hue-common.x86_64 0:2.0.0+59-1.cdh4.0.1.p0.1.el5 set to be updated
    --> Processing Dependency: cyrus-sasl-gssapi for package: hue-common
    --> Finished Dependency Resolution
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 from cloudera-cdh4 has
    depsolving problems
    --> Missing Dependency: cyrus-sasl-gssapi is needed by package
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 (cloudera-cdh4)
    Error: Missing Dependency: cyrus-sasl-gssapi is needed by package
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 (cloudera-cdh4)
    You could try using --skip-broken to work around the problem
    You could try running: package-cleanup --problems
    package-cleanup --dupes
    rpm -Va --nofiles --nodigest
    The program package-cleanup is found in the yum-utils package.
    END (1)
    remote package hue-common could not be installed, giving up
    Reverting changes...

    Thanks,
    Chittaranjan
    On Mon, Sep 24, 2012 at 12:52 PM, wrote:
    No..I am trying to run the installer bin file like as below.

    ./cloudera-manager-installer.bin

    and after runnng this installer giving me the following error.

    [root@cmrnode cloudera-manager-installer]# cat 5.init-embedded-db.log
    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.UTF-8.

    fixing permissions on existing directory
    /var/lib/cloudera-scm-server-db/data ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/global ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_xlog ... ok
    creating directory
    /var/lib/cloudera-scm-server-db/data/pg_xlog/archive_status ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_clog ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_subtrans ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/base ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/base/1 ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_tblspc ... ok
    selecting default max_connections ... 100
    selecting default shared_buffers ... 1000
    creating configuration files ... ok
    creating template1 database in
    /var/lib/cloudera-scm-server-db/data/base/1 ... ok
    initializing pg_shadow ... ok
    setting password ... ok
    enabling unlimited row size for system tables ... ok
    initializing pg_depend ... ok
    creating system views ... ok
    loading pg_description ... ok
    creating conversions ... ok
    setting privileges on built-in objects ... ok
    creating information schema ... ok
    vacuuming database template1 ... ok
    copying template1 to template0 ... ok

    Success. You can now start the database server using:

    postmaster -D /var/lib/cloudera-scm-server-db/data
    or
    pg_ctl -D /var/lib/cloudera-scm-server-db/data -l logfile start

    waiting for postmaster to start...... done
    postmaster started
    psql: FATAL: database "postgres" does not exist
    Unable to create database role scm, giving up

    On Mon, Sep 24, 2012 at 12:45 PM, Philip Zeyliger wrote:
    What parts of the installer have you run? You might run "service
    cloudera-scm-server-db initdb" followed by "service cloudera-scm-server-db
    start"; the installer should have done that. It's tricky to figure out what
    parts have and haven't run so far.

    -- Philip

    On Mon, Sep 24, 2012 at 12:14 PM, wrote:

    Thanks philip.

    I have configured yum repositiry and installed the following packages.

    root@cmrnode cloudera-manager-installer]# yum list | grep postgres
    postgresql.x86_64 8.0.26-1PGDG.rhel5
    installed
    postgresql-jdbc-debuginfo.x86_64 8.1.407-1jpp.4
    installed
    postgresql-libs.i386 8.1.23-1.el5_6.1
    installed
    postgresql-libs.x86_64 8.1.23-1.el5_6.1
    installed
    postgresql-odbc-debuginfo.x86_64 08.01.0200-3.1
    installed
    postgresql-odbc64-debuginfo.x86_64 09.00.0200-1.el5
    installed
    postgresql-server.x86_64 8.0.26-1PGDG.rhel5
    installed
    postgresql84-debuginfo.x86_64 8.4.13-1.el5_8
    installed


    But still I am seeing the following errors while configuring Cloudera
    manager.

    Success. You can now start the database server using:

    postmaster -D /var/lib/cloudera-scm-server-db/data
    or
    pg_ctl -D /var/lib/cloudera-scm-server-db/data -l logfile start

    waiting for postmaster to start...... done
    postmaster started
    psql: FATAL: database "postgres" does not exist
    Unable to create database role scm, giving up

    Pls help me here

    Thanks,
    Chittaranjan
    On Mon, Sep 24, 2012 at 12:03 PM, Romit Singhai wrote:
    It seems like your yum repository is not configured configured
    correctly.
    You need to check the repo file for redhat.



    Thanks,
    Romit.


    On Thursday, September 20, 2012 4:24:21 PM UTC-7, chittaranjan reddy
    wrote:

    Hi,

    I am installing cloudera mabager on RHEL 5.7 (64 bit). and while
    installing CM I am getting the following error. please help me on this
    issue.

    Package cloudera-manager-server-db.x86_64 0:4.0.4-1.cm404.p0.79 set to
    be
    updated
    --> Processing Dependency: postgresql-server >= 8.0 for package:
    cloudera-manager-server-db
    --> Finished Dependency Resolution
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 from
    cloudera-manager has depsolving problems
    --> Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    Error: Missing Dependency: postgresql-server >= 8.0 is needed by
    package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    You could try using --skip-broken to work around the problem

    Thanks a lot in advance.

    Regards,
    Chittaranjan


    --
    Joey Echeverria
    Principal Solutions Architect
    Cloudera, Inc.


    --
    Joey Echeverria
    Principal Solutions Architect
    Cloudera, Inc.
  • Joey Echeverria at Sep 26, 2012 at 7:30 pm

    [root@cmrnode yum.repos.d]# cat redhat.repo
    #
    # Red Hat Repositories
    # Managed by (rhsm) subscription-manager
    And this is probably where you problem comes from. It looks like
    you're not configured with any official RHEL repos.

    I think you need to configure that using the GUI:

    https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/launching-ents-tools.html

    but I could be wrong.

    -Joey
    On Wed, Sep 26, 2012 at 3:27 PM, wrote:
    HI Joey,

    These all I have in /etc/yum.repos.d

    [root@cmrnode yum.repos.d]# cat redhat.repo
    #
    # Red Hat Repositories
    # Managed by (rhsm) subscription-manager
    #[root@cmrnode yum.repos.d]# cat pgdg-84-redhat.repo
    [pgdg84]
    name=PostgreSQL 8.4 $releasever - $basearch
    baseurl=http://yum.postgresql.org/8.4/redhat/rhel-$releasever-$basearch
    enabled=1
    gpgcheck=0
    [root@cmrnode yum.repos.d]# cat rhel-debuginfo.repo
    [rhel-debuginfo]
    name=Red Hat Enterprise Linux $releasever - $basearch - Debug
    baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

    [rhel-debuginfo-beta]
    name=Red Hat Enterprise Linux $releasever Beta - $basearch - Debug
    baseurl=ftp://ftp.redhat.com/pub/redhat/linux/beta/$releasever/en/os/$basearch/Debuginfo/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    [root@cmrnode yum.repos.d]# cat rhel-source.repo
    [rhel-source]
    name=Red Hat Enterprise Linux $releasever - Source
    baseurl=ftp://ftp.redhat.com/redhat/linux/enterprise/$releasever/en/os/SRPMS/
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

    On Wed, Sep 26, 2012 at 12:12 PM, Joey Echeverria wrote:
    What other files do you have in your /etc/yum.repos.d folder?

    I think for RHEL you need access to the Redhat Network (RHN) to get packages.

    -Joey
    On Wed, Sep 26, 2012 at 1:33 PM, wrote:
    Please let me know the standard yum repo for RHEL 5.7 (64 bit) version
    OS distribution. appreciate your help on this.

    Thanks,
    Chittaranjan
    On Wed, Sep 26, 2012 at 10:27 AM, wrote:
    Thank you Joey.

    Cloudera manager created the following repositories on my machine. and
    I am seeing all other packages were installing. and it is failing
    while installing "hue". pls let me know if I need to channge anything
    here.

    [root@cmrnode yum.repos.d]# cat cloudera-cdh4.repo
    [cloudera-cdh4]
    name = Cloudera CDH, Version 4.0.0
    baseurl = http://archive.cloudera.com/cdh4/redhat/5/x86_64/cdh/4.0.0/
    gpgkey = http://archive.cloudera.com/redhat/cdh/RPM-GPG-KEY-cloudera
    gpgcheck = 1

    [root@cmrnode yum.repos.d]# cat cloudera-manager.repo
    [cloudera-manager]
    name = Cloudera Manager, Version 4.0.4
    baseurl = http://archive.cloudera.com/cm4/redhat/5/x86_64/cm/4.0.4/
    gpgkey = http://archive.cloudera.com/redhat/cdh/RPM-GPG-KEY-cloudera
    gpgcheck = 1


    Regards,
    Chittaranjan
    On Wed, Sep 26, 2012 at 7:20 AM, Joey Echeverria wrote:
    It looks like it can't install a dependency:

    cyrus-sasl-gssapi

    Do you have your distributions standard yum repositories configured?

    -Joey
    On Tue, Sep 25, 2012 at 8:03 PM, wrote:
    Hi Philip,

    while installing CDH4. my installation was stalled due to the below
    error, Pls help me on this.

    BEGIN yum list installed hue-common
    Loaded plugins: product-id, security, subscription-manager
    Updating Red Hat repositories.
    END (1)
    BEGIN yum -y install hue-common.x86_64
    Error: No matching Packages to list
    Loaded plugins: product-id, security, subscription-manager
    Updating Red Hat repositories.
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package hue-common.x86_64 0:2.0.0+59-1.cdh4.0.1.p0.1.el5 set to be updated
    --> Processing Dependency: cyrus-sasl-gssapi for package: hue-common
    --> Finished Dependency Resolution
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 from cloudera-cdh4 has
    depsolving problems
    --> Missing Dependency: cyrus-sasl-gssapi is needed by package
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 (cloudera-cdh4)
    Error: Missing Dependency: cyrus-sasl-gssapi is needed by package
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 (cloudera-cdh4)
    You could try using --skip-broken to work around the problem
    You could try running: package-cleanup --problems
    package-cleanup --dupes
    rpm -Va --nofiles --nodigest
    The program package-cleanup is found in the yum-utils package.
    END (1)
    remote package hue-common could not be installed, giving up
    Reverting changes...

    Thanks,
    Chittaranjan
    On Mon, Sep 24, 2012 at 12:52 PM, wrote:
    No..I am trying to run the installer bin file like as below.

    ./cloudera-manager-installer.bin

    and after runnng this installer giving me the following error.

    [root@cmrnode cloudera-manager-installer]# cat 5.init-embedded-db.log
    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.UTF-8.

    fixing permissions on existing directory
    /var/lib/cloudera-scm-server-db/data ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/global ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_xlog ... ok
    creating directory
    /var/lib/cloudera-scm-server-db/data/pg_xlog/archive_status ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_clog ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_subtrans ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/base ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/base/1 ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_tblspc ... ok
    selecting default max_connections ... 100
    selecting default shared_buffers ... 1000
    creating configuration files ... ok
    creating template1 database in
    /var/lib/cloudera-scm-server-db/data/base/1 ... ok
    initializing pg_shadow ... ok
    setting password ... ok
    enabling unlimited row size for system tables ... ok
    initializing pg_depend ... ok
    creating system views ... ok
    loading pg_description ... ok
    creating conversions ... ok
    setting privileges on built-in objects ... ok
    creating information schema ... ok
    vacuuming database template1 ... ok
    copying template1 to template0 ... ok

    Success. You can now start the database server using:

    postmaster -D /var/lib/cloudera-scm-server-db/data
    or
    pg_ctl -D /var/lib/cloudera-scm-server-db/data -l logfile start

    waiting for postmaster to start...... done
    postmaster started
    psql: FATAL: database "postgres" does not exist
    Unable to create database role scm, giving up

    On Mon, Sep 24, 2012 at 12:45 PM, Philip Zeyliger wrote:
    What parts of the installer have you run? You might run "service
    cloudera-scm-server-db initdb" followed by "service cloudera-scm-server-db
    start"; the installer should have done that. It's tricky to figure out what
    parts have and haven't run so far.

    -- Philip

    On Mon, Sep 24, 2012 at 12:14 PM, wrote:

    Thanks philip.

    I have configured yum repositiry and installed the following packages.

    root@cmrnode cloudera-manager-installer]# yum list | grep postgres
    postgresql.x86_64 8.0.26-1PGDG.rhel5
    installed
    postgresql-jdbc-debuginfo.x86_64 8.1.407-1jpp.4
    installed
    postgresql-libs.i386 8.1.23-1.el5_6.1
    installed
    postgresql-libs.x86_64 8.1.23-1.el5_6.1
    installed
    postgresql-odbc-debuginfo.x86_64 08.01.0200-3.1
    installed
    postgresql-odbc64-debuginfo.x86_64 09.00.0200-1.el5
    installed
    postgresql-server.x86_64 8.0.26-1PGDG.rhel5
    installed
    postgresql84-debuginfo.x86_64 8.4.13-1.el5_8
    installed


    But still I am seeing the following errors while configuring Cloudera
    manager.

    Success. You can now start the database server using:

    postmaster -D /var/lib/cloudera-scm-server-db/data
    or
    pg_ctl -D /var/lib/cloudera-scm-server-db/data -l logfile start

    waiting for postmaster to start...... done
    postmaster started
    psql: FATAL: database "postgres" does not exist
    Unable to create database role scm, giving up

    Pls help me here

    Thanks,
    Chittaranjan
    On Mon, Sep 24, 2012 at 12:03 PM, Romit Singhai wrote:
    It seems like your yum repository is not configured configured
    correctly.
    You need to check the repo file for redhat.



    Thanks,
    Romit.


    On Thursday, September 20, 2012 4:24:21 PM UTC-7, chittaranjan reddy
    wrote:

    Hi,

    I am installing cloudera mabager on RHEL 5.7 (64 bit). and while
    installing CM I am getting the following error. please help me on this
    issue.

    Package cloudera-manager-server-db.x86_64 0:4.0.4-1.cm404.p0.79 set to
    be
    updated
    --> Processing Dependency: postgresql-server >= 8.0 for package:
    cloudera-manager-server-db
    --> Finished Dependency Resolution
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 from
    cloudera-manager has depsolving problems
    --> Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    Error: Missing Dependency: postgresql-server >= 8.0 is needed by
    package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    You could try using --skip-broken to work around the problem

    Thanks a lot in advance.

    Regards,
    Chittaranjan


    --
    Joey Echeverria
    Principal Solutions Architect
    Cloudera, Inc.


    --
    Joey Echeverria
    Principal Solutions Architect
    Cloudera, Inc.


    --
    Joey Echeverria
    Principal Solutions Architect
    Cloudera, Inc.
  • Chittu546 at Oct 11, 2012 at 12:37 am
    Hi,

    After succefully launching CDH4 cluster. I did some simulation, like
    after bringing up namenode (at this time cloudera manager node kept
    down). I am not seeing any hadoop daemons running on namenode..but
    once I started cloudera manager node I will be seeing all
    daemons/services are running on namenode.

    Now I want to have control on all these services on namenode
    itself..how do I stop/start cluster services from namenode. is there
    any way that I can place any scripts (on namenode) to start these
    services.

    I am trying to see if cloudera manager node is dead, I want my cluster
    up and running.

    Please advise me.

    Thanks
    Chittaranjan
    On Wed, Sep 26, 2012 at 12:30 PM, Joey Echeverria wrote:
    [root@cmrnode yum.repos.d]# cat redhat.repo
    #
    # Red Hat Repositories
    # Managed by (rhsm) subscription-manager
    And this is probably where you problem comes from. It looks like
    you're not configured with any official RHEL repos.

    I think you need to configure that using the GUI:

    https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/launching-ents-tools.html

    but I could be wrong.

    -Joey
    On Wed, Sep 26, 2012 at 3:27 PM, wrote:
    HI Joey,

    These all I have in /etc/yum.repos.d

    [root@cmrnode yum.repos.d]# cat redhat.repo
    #
    # Red Hat Repositories
    # Managed by (rhsm) subscription-manager
    #[root@cmrnode yum.repos.d]# cat pgdg-84-redhat.repo
    [pgdg84]
    name=PostgreSQL 8.4 $releasever - $basearch
    baseurl=http://yum.postgresql.org/8.4/redhat/rhel-$releasever-$basearch
    enabled=1
    gpgcheck=0
    [root@cmrnode yum.repos.d]# cat rhel-debuginfo.repo
    [rhel-debuginfo]
    name=Red Hat Enterprise Linux $releasever - $basearch - Debug
    baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

    [rhel-debuginfo-beta]
    name=Red Hat Enterprise Linux $releasever Beta - $basearch - Debug
    baseurl=ftp://ftp.redhat.com/pub/redhat/linux/beta/$releasever/en/os/$basearch/Debuginfo/
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    [root@cmrnode yum.repos.d]# cat rhel-source.repo
    [rhel-source]
    name=Red Hat Enterprise Linux $releasever - Source
    baseurl=ftp://ftp.redhat.com/redhat/linux/enterprise/$releasever/en/os/SRPMS/
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

    On Wed, Sep 26, 2012 at 12:12 PM, Joey Echeverria wrote:
    What other files do you have in your /etc/yum.repos.d folder?

    I think for RHEL you need access to the Redhat Network (RHN) to get packages.

    -Joey
    On Wed, Sep 26, 2012 at 1:33 PM, wrote:
    Please let me know the standard yum repo for RHEL 5.7 (64 bit) version
    OS distribution. appreciate your help on this.

    Thanks,
    Chittaranjan
    On Wed, Sep 26, 2012 at 10:27 AM, wrote:
    Thank you Joey.

    Cloudera manager created the following repositories on my machine. and
    I am seeing all other packages were installing. and it is failing
    while installing "hue". pls let me know if I need to channge anything
    here.

    [root@cmrnode yum.repos.d]# cat cloudera-cdh4.repo
    [cloudera-cdh4]
    name = Cloudera CDH, Version 4.0.0
    baseurl = http://archive.cloudera.com/cdh4/redhat/5/x86_64/cdh/4.0.0/
    gpgkey = http://archive.cloudera.com/redhat/cdh/RPM-GPG-KEY-cloudera
    gpgcheck = 1

    [root@cmrnode yum.repos.d]# cat cloudera-manager.repo
    [cloudera-manager]
    name = Cloudera Manager, Version 4.0.4
    baseurl = http://archive.cloudera.com/cm4/redhat/5/x86_64/cm/4.0.4/
    gpgkey = http://archive.cloudera.com/redhat/cdh/RPM-GPG-KEY-cloudera
    gpgcheck = 1


    Regards,
    Chittaranjan
    On Wed, Sep 26, 2012 at 7:20 AM, Joey Echeverria wrote:
    It looks like it can't install a dependency:

    cyrus-sasl-gssapi

    Do you have your distributions standard yum repositories configured?

    -Joey
    On Tue, Sep 25, 2012 at 8:03 PM, wrote:
    Hi Philip,

    while installing CDH4. my installation was stalled due to the below
    error, Pls help me on this.

    BEGIN yum list installed hue-common
    Loaded plugins: product-id, security, subscription-manager
    Updating Red Hat repositories.
    END (1)
    BEGIN yum -y install hue-common.x86_64
    Error: No matching Packages to list
    Loaded plugins: product-id, security, subscription-manager
    Updating Red Hat repositories.
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package hue-common.x86_64 0:2.0.0+59-1.cdh4.0.1.p0.1.el5 set to be updated
    --> Processing Dependency: cyrus-sasl-gssapi for package: hue-common
    --> Finished Dependency Resolution
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 from cloudera-cdh4 has
    depsolving problems
    --> Missing Dependency: cyrus-sasl-gssapi is needed by package
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 (cloudera-cdh4)
    Error: Missing Dependency: cyrus-sasl-gssapi is needed by package
    hue-common-2.0.0+59-1.cdh4.0.1.p0.1.el5.x86_64 (cloudera-cdh4)
    You could try using --skip-broken to work around the problem
    You could try running: package-cleanup --problems
    package-cleanup --dupes
    rpm -Va --nofiles --nodigest
    The program package-cleanup is found in the yum-utils package.
    END (1)
    remote package hue-common could not be installed, giving up
    Reverting changes...

    Thanks,
    Chittaranjan
    On Mon, Sep 24, 2012 at 12:52 PM, wrote:
    No..I am trying to run the installer bin file like as below.

    ./cloudera-manager-installer.bin

    and after runnng this installer giving me the following error.

    [root@cmrnode cloudera-manager-installer]# cat 5.init-embedded-db.log
    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.UTF-8.

    fixing permissions on existing directory
    /var/lib/cloudera-scm-server-db/data ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/global ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_xlog ... ok
    creating directory
    /var/lib/cloudera-scm-server-db/data/pg_xlog/archive_status ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_clog ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_subtrans ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/base ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/base/1 ... ok
    creating directory /var/lib/cloudera-scm-server-db/data/pg_tblspc ... ok
    selecting default max_connections ... 100
    selecting default shared_buffers ... 1000
    creating configuration files ... ok
    creating template1 database in
    /var/lib/cloudera-scm-server-db/data/base/1 ... ok
    initializing pg_shadow ... ok
    setting password ... ok
    enabling unlimited row size for system tables ... ok
    initializing pg_depend ... ok
    creating system views ... ok
    loading pg_description ... ok
    creating conversions ... ok
    setting privileges on built-in objects ... ok
    creating information schema ... ok
    vacuuming database template1 ... ok
    copying template1 to template0 ... ok

    Success. You can now start the database server using:

    postmaster -D /var/lib/cloudera-scm-server-db/data
    or
    pg_ctl -D /var/lib/cloudera-scm-server-db/data -l logfile start

    waiting for postmaster to start...... done
    postmaster started
    psql: FATAL: database "postgres" does not exist
    Unable to create database role scm, giving up

    On Mon, Sep 24, 2012 at 12:45 PM, Philip Zeyliger wrote:
    What parts of the installer have you run? You might run "service
    cloudera-scm-server-db initdb" followed by "service cloudera-scm-server-db
    start"; the installer should have done that. It's tricky to figure out what
    parts have and haven't run so far.

    -- Philip

    On Mon, Sep 24, 2012 at 12:14 PM, wrote:

    Thanks philip.

    I have configured yum repositiry and installed the following packages.

    root@cmrnode cloudera-manager-installer]# yum list | grep postgres
    postgresql.x86_64 8.0.26-1PGDG.rhel5
    installed
    postgresql-jdbc-debuginfo.x86_64 8.1.407-1jpp.4
    installed
    postgresql-libs.i386 8.1.23-1.el5_6.1
    installed
    postgresql-libs.x86_64 8.1.23-1.el5_6.1
    installed
    postgresql-odbc-debuginfo.x86_64 08.01.0200-3.1
    installed
    postgresql-odbc64-debuginfo.x86_64 09.00.0200-1.el5
    installed
    postgresql-server.x86_64 8.0.26-1PGDG.rhel5
    installed
    postgresql84-debuginfo.x86_64 8.4.13-1.el5_8
    installed


    But still I am seeing the following errors while configuring Cloudera
    manager.

    Success. You can now start the database server using:

    postmaster -D /var/lib/cloudera-scm-server-db/data
    or
    pg_ctl -D /var/lib/cloudera-scm-server-db/data -l logfile start

    waiting for postmaster to start...... done
    postmaster started
    psql: FATAL: database "postgres" does not exist
    Unable to create database role scm, giving up

    Pls help me here

    Thanks,
    Chittaranjan
    On Mon, Sep 24, 2012 at 12:03 PM, Romit Singhai wrote:
    It seems like your yum repository is not configured configured
    correctly.
    You need to check the repo file for redhat.



    Thanks,
    Romit.


    On Thursday, September 20, 2012 4:24:21 PM UTC-7, chittaranjan reddy
    wrote:

    Hi,

    I am installing cloudera mabager on RHEL 5.7 (64 bit). and while
    installing CM I am getting the following error. please help me on this
    issue.

    Package cloudera-manager-server-db.x86_64 0:4.0.4-1.cm404.p0.79 set to
    be
    updated
    --> Processing Dependency: postgresql-server >= 8.0 for package:
    cloudera-manager-server-db
    --> Finished Dependency Resolution
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64 from
    cloudera-manager has depsolving problems
    --> Missing Dependency: postgresql-server >= 8.0 is needed by package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    Error: Missing Dependency: postgresql-server >= 8.0 is needed by
    package
    cloudera-manager-server-db-4.0.4-1.cm404.p0.79.x86_64
    (cloudera-manager)
    You could try using --skip-broken to work around the problem

    Thanks a lot in advance.

    Regards,
    Chittaranjan


    --
    Joey Echeverria
    Principal Solutions Architect
    Cloudera, Inc.


    --
    Joey Echeverria
    Principal Solutions Architect
    Cloudera, Inc.


    --
    Joey Echeverria
    Principal Solutions Architect
    Cloudera, Inc.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedSep 20, '12 at 11:24p
activeOct 11, '12 at 12:37a
posts18
users4
websitecloudera.com
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase