HDP on Linux – Installation Forum

Nagios Service startup failed

  • #11716
    kalyanreddy
    Member

    Hi
    I am trying to install HDP on a single node cluster
    I am able to start all the services except Nagios using the HMC GUI.

    Please find the below log with error details

    thanks in advance

    puppet log

    Wed Oct 31 07:33:15 -0400 2012 /Stage[12]/Hdp-nagios::Server::Services/Service[nagios]/ensure (err): change from stopped to running failed: Could not start Service[nagios]: Execution of ‘/sbin/service nagios start’ returned 1: at /etc/puppet/agent/modules/hdp-nagios/manifests/server.pp:86

    deploy log

    “\”Wed Oct 31 07:33:15 -0400 2012 /Stage[12]/Hdp-nagios::Server::Services/Service[nagios]/ensure (err): change from stopped to running failed: Could not start Service[nagios]: Execution of ‘/sbin/service nagios start’ returned 1: at /etc/puppet/agent/modules/hdp-nagios/manifests/server.pp:86\””,
    “\”Wed Oct 31 07:33:15 -0400 2012 Service[nagios](provider=redhat) (debug): Executing ‘/sbin/service nagios status’\””,
    “\”Wed Oct 31 07:33:16 -0400 2012 /Stage[12]/Hdp-nagios::Server::Services/Service[nagios] (debug): Skipping restart; service is not running\””,
    “\”Wed Oct 31 07:33:16 -0400 2012 /Stage[12]/Hdp-nagios::Server::Services/Service[nagios] (notice): Triggered ‘refresh’ from 1 events\””,
    “\”Wed Oct 31 07:33:16 -0400 2012 /Stage[12]/Hdp-nagios::Server::Services/Service[nagios] (debug): The container Class[Hdp-nagios::Server::Services] will propagate my refresh event\””,
    “\”Wed Oct 31 07:33:16 -0400 2012 /Stage[12]/Hdp-nagios::Server::Services/Anchor[hdp-nagios::server::services::end] (notice): Dependency Service[nagios] has failures: true\””,
    “\”Wed Oct 31 07:33:16 -0400 2012 /Stage[12]/Hdp-nagios::Server::Services/Anchor[hdp-nagios::server::services::end] (warning): Skipping because of failed dependencies\””,
    “\”Wed Oct 31 07:33:16 -0400 2012 Class[Hdp-nagios::Server::Services] (debug): The container Stage[12] will propagate my refresh event\””,
    “\”Wed Oct 31 07:33:16 -0400 2012 /Stage[13]/Hdp-nagios::Nagios::Service_check/Anchor[hdp-nagios::nagios::service_check::begin] (notice): Dependency Service[nagios] has failures: true\””,
    “\”Wed Oct 31 07:33:16 -0400 2012 /Stage[13]/Hdp-nagios::Nagios::Service_check/Anchor[hdp-nagios::nagios::service_check::begin] (warning): Skipping because of failed dependencies\””,
    “\”Wed Oct 31 07:33:16 -0400 2012 /Stage[13]/Hdp-nagios::Nagios::Service_check/Exec[nagios] (notice): Dependency Service[nagios] has failures: true\””,
    “\”Wed Oct 31 07:33:16 -0400 2012 /Stage[13]/Hdp-nagios::Nagios::Service_check/Exec[nagios] (warning): Skipping because of failed dependencies\””,
    “\”Wed Oct 31 07:33:16 -0400 2012 /Stage[13]/Hdp-nagios::Nagios::Service_check/

to create new topics or reply. | New User Registration

  • Author
    Replies
  • #11721
    tedr
    Member

    Hi,

    Does the Nagios log in /var/log/nagios/nagios.log contain any hint as to why Nagios failed to start?

    Ted

    #11729
    kalyanreddy
    Member

    Hi Ted
    Thanks for reply.
    The /var/log/nagios does not have any log details.
    regards

    #11731
    tedr
    Member

    Hi,

    Did you have Nagios installed prior to running the HMC installer? If so, while doing the uninstall to fix the mysql problem you are also having, also uninstall the version of Nagios you have installed.

    Ted.

    #11758
    Jinsong Yin
    Member

    hi kalyanreddy
    Do u have find the solution ,i got the same problem. All of the services started up successfully except nagios.

    Jinsong Yin

    #11840
    tedr
    Member

    Jinsong,

    Can you follow the instructions here: http://hortonworks.com/community/forums/topic/hmc-installation-support-help-us-help-you/ once we have this information we can dig deeper into your specific problem.

    Ted.

You must be to reply to this topic. | Create Account

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.