« Using puppet to configure users, groups, and passwords for Cloudera Manager | Main | Deploy Hadoop with Cloudera Manager »

11/18/2013

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Rajasekhar

Hi,
I followed the steps mentioned , but I am getting the following error related to Postgresql dependency for CM Database installation.
Could you please let me know how to avoid such errors...Thanks in advance.

Log:
Info: Applying configuration version '1392163961'
Notice: /Stage[main]/Cloudera::Cm::Repo/Yumrepo[cloudera-manager]/baseurl: baseurl changed 'http://archive.cloudera.com/cm4/redhat/6/x86_64/cm/4.1.2/' to 'http://archive.cloudera.com/cm4/redhat/6/x86_64/cm/4/'
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install cloudera-manager-server-db' returned 1: Error: Package: cloudera-manager-server-db-4.8.1-1.cm481.p0.74.el6.x86_64 (cloudera-manager)
Requires: postgresql-server >= 8.0
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Error: /Stage[main]/Cloudera::Cm::Server/Package[cloudera-manager-server-db]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install cloudera-manager-server-db' returned 1: Error: Package: cloudera-manager-server-db-4.8.1-1.cm481.p0.74.el6.x86_64 (cloudera-manager)
Requires: postgresql-server >= 8.0
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Notice: /Stage[main]/Cloudera::Cm::Server/Exec[cloudera-manager-server-db]: Dependency Package[cloudera-manager-server-db] has failures: true
Warning: /Stage[main]/Cloudera::Cm::Server/Exec[cloudera-manager-server-db]: Skipping because of failed dependencies
Notice: /Stage[main]/Cloudera::Cm::Server/Service[cloudera-scm-server-db]: Dependency Package[cloudera-manager-server-db] has failures: true
Warning: /Stage[main]/Cloudera::Cm::Server/Service[cloudera-scm-server-db]: Skipping because of failed dependencies
Notice: /Stage[main]/Cloudera::Cm::Server/Service[cloudera-scm-server]: Dependency Package[cloudera-manager-server-db] has failures: true
Warning: /Stage[main]/Cloudera::Cm::Server/Service[cloudera-scm-server]: Skipping because of failed dependencies
Notice: /Stage[main]/Cloudera::Cm/File[scm-config.ini]/content:
--- /etc/cloudera-scm-agent/config.ini 2014-02-12 05:20:58.462716050 +0530
+++ /tmp/puppet-file20140212-18731-4v27lr 2014-02-12 05:45:59.830409544 +0530
@@ -3,7 +3,7 @@
###
[General]
# Hostname of Cloudera SCM Server
-server_host=rhel6vm3.example.com
+server_host=rhel6vm2.example.com

# Port that server is listening on
server_port=7182

Info: /Stage[main]/Cloudera::Cm/File[scm-config.ini]: Filebucketed /etc/cloudera-scm-agent/config.ini to main with sum 2460dd84fcaebc8e213df68397a6e3ce
Notice: /Stage[main]/Cloudera::Cm/File[scm-config.ini]/content: content changed '{md5}2460dd84fcaebc8e213df68397a6e3ce' to '{md5}568cd2c5550424b8eb49e6d96329ff92'
Info: /Stage[main]/Cloudera::Cm/File[scm-config.ini]: Scheduling refresh of Service[cloudera-scm-agent]
Notice: /Stage[main]/Cloudera::Cm/Service[cloudera-scm-agent]: Triggered 'refresh' from 1 events
Notice: Finished catalog run in 227.08 seconds
[root@RHEL6VM2 manifests]#
[root@RHEL6VM2 manifests]#
[root@RHEL6VM2 manifests]#
[root@RHEL6VM2 manifests]# chkconfig --list | grep cloud
cloudera-scm-agent 0:off 1:off 2:off 3:on 4:on 5:on 6:off
cloudera-scm-server 0:off 1:off 2:off 3:on 4:on 5:on 6:off
[root@RHEL6VM2 manifests]#
[root@RHEL6VM2 manifests]# yum list | grep -i postgresql
pe-postgresql.x86_64 9.2.4-8.pe.el6 @puppet-enterprise-installer
pe-postgresql-server.x86_64 9.2.4-8.pe.el6 @puppet-enterprise-installer
[root@RHEL6VM2 manifests]#

jim

Raj,
I haven't seen this error before. Can you check that the correct repos are installed?
ls /etc/yum.repo/

Also post your site.pp
Thx
Jim

Karthikasundari

I followed automated Cloudera installation. It doesn't install the cloudera-manager-server-d package. i don't know why it is happening. can you please help me to solve this.

Log:

Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package cloudera-manager-server-db.x86_64 0:4.8.1-1.cm481.p0.74.el6 will be installed
--> Processing Dependency: postgresql-server >= 8.0 for package: cloudera-manager-server-db-4.8.1-1.cm481.p0.74.el6.x86_64
--> Finished Dependency Resolution
Error: Package: cloudera-manager-server-db-4.8.1-1.cm481.p0.74.el6.x86_64 (cloudera-manager)
Requires: postgresql-server >= 8.0
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

“The opinions expressed here are my personal opinions. Content published here is not read or approved in advance by EMC and does not Necessarily reflect EMC’s views and opinions, nor does it constitute an official communication by EMC. Any comments posted to this site (or otherwise provided to me via this site), and the intellectual property contained therein, is licensed to me to do whatever I want to with this intellectual property including the rights to make, use, sell, offer for sale, have made, import, and sublicense products containing this intellectual property" .

Blog powered by Typepad