The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

HDP on Linux – Installation Forum

Error starting nagios

  • #13208
    Trang Nguyen
    Member

    Hi,

    During hmc installation, I am getting the following error during starting nagios services. The nagios logs indicate:

    357363206] SERVICE ALERT: xdc-tst-mapre-002.openmarket.com;GANGLIA::Ganglia [gmetad] Process down;CRITICAL;SOFT;1;Connection refused
    [1357363216] SERVICE ALERT: xdc-tst-mapre-002.openmarket.com;GANGLIA::Ganglia [gmetad] Process down;CRITICAL;SOFT;2;Connection refused
    [1357363236] SERVICE ALERT: xdc-tst-mapre-002.openmarket.com;GANGLIA::Ganglia [gmetad] Process down;CRITICAL;SOFT;3;Connection refused
    [1357363246] SERVICE ALERT: xdc-tst-mapre-002.openmarket.com;GANGLIA::Ganglia [gmetad] Process down;CRITICAL;HARD;4;Connection refused
    [1357363246] SERVICE NOTIFICATION: nagiosadmin;xdc-tst-mapre-002.openmarket.com;GANGLIA::Ganglia [gmetad] Process down;CRITICAL;notify-service-by-email;Connection refused

    Ganglia processes did install and started up successfully:’
    nobody 31241 1 0 00:17 ? 00:00:00 /usr/sbin/gmond –conf=/etc/ganglia/hdp/HDPNameNode/gmond.core.conf –pid-file=/var/run/ganglia/hdp/HDPNameNode/gmond.pid
    nobody 31258 1 0 00:17 ? 00:00:00 /usr/sbin/gmond –conf=/etc/ganglia/hdp/HDPHBaseMaster/gmond.core.conf –pid-file=/var/run/ganglia/hdp/HDPHBaseMaster/gmond.pid
    nobody 31275 1 0 00:17 ? 00:00:03 /usr/sbin/gmond –conf=/etc/ganglia/hdp/HDPSlaves/gmond.core.conf –pid-file=/var/run/ganglia/hdp/HDPSlaves/gmond.pid
    nobody 31292 1 0 00:17 ? 00:00:00 /usr/sbin/gmond –conf=/etc/ganglia/hdp/HDPJobTracker/gmond.core.conf –pid-file=/var/run/ganglia/hdp/HDPJobTracker/gmond.pid

    ~
    Could someone assist?

    Thanks,
    Trang

  • Author
    Replies
  • #13213
    Trang Nguyen
    Member

    Just an update…

    I was able to resolve this issue by:
    -uninstalling httpd, nagios and puppet on the nagios box
    -uninstalling hmc and puppet
    -rerunning HMC

    Trang

    #13226
    tedr
    Member

    Hi Trang,

    Thanks for letting us know that you figured out the solution.

    Thanks,
    Ted.

    #16114
    27p 92g
    Participant

    I had a similar problem, I was seeing these messages:

    Service 	Status 	Last Check 	Duration 	Attempt 	Status Information
    GANGLIA::Ganglia collector [gmond] Process down alert for hbasemaster CRITICAL	02-15-2013 12:37:18	 0d 20h 30m 58s	4/4	Connection refused
    GANGLIA::Ganglia collector [gmond] Process down alert for jobtracker CRITICAL	02-15-2013 12:37:25	 0d 20h 30m 53s	4/4	Connection refused
    GANGLIA::Ganglia collector [gmond] Process down alert for namenode CRITICAL	02-15-2013 12:37:17	 0d 20h 30m 47s	4/4	Connection refused
    GANGLIA::Ganglia collector [gmond] Process down alert for slaves CRITICAL	02-15-2013 12:37:24	 0d 20h 30m 42s	4/4	Connection refused
    

    On the Nagios host, this seemed to make the errors go away:

    sudo service hdp-gmond start
    

    On the Nagios host, to permanently fix, add to the header of the init script /etc/init.d/hdp-gmond:

    # chkconfig: 345 20 80
    # description: Starts and stops the agent
    

    Then add it to the system startup:

    sudo chkconfig --add hdp-gmond
    sudo chkconfig --levels 345 hdp-gmond on
    
    #16118
    Larry Liu
    Moderator

    Can you please reinstall HDP using Ambari 1.2?

    Larry

The forum ‘HDP on Linux – Installation’ is closed to new topics and replies.

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.