Results 1 to 2 of 2

Thread: Monit problems

  1. #1
    Join Date
    Jul 2008
    Beans
    129

    Monit problems

    Hi all,

    Getting towards the end of configuring my myth backend, I'm trying to set up monitoring using monit according to the wiki guide.

    I can get monit to run and start its webserver correctly, but when I try to start monitoring mythbackend, I get stuck at initializing for mythbackend and Execution failed for mysql on the web interface. I'm using exactly the config from the howto for these two monitoring processes, started manually by me with both services working fully.

    Looking at /var/run, there isn't a directory mythtv, and I can't find mythbackend.pid anywhere. There is a directory called mysqld, but it only contains mysqld.sock. I'm thinking this might be the cause of the problem?

    I'm running Ubuntu 11.04 with everything installed from standard repos in the past couple of days.

    Any ideas what's going wrong here and what I can do to solve it?

    Tim

  2. #2
    Join Date
    Jun 2006
    Location
    Neither here nor there
    Beans
    3,283
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: Monit problems

    I forgot what version it happened, but since ubuntu moved to using upstart it no long writes a PID file for mythbackend. Do you need monit with upstart for mysql and mythbackend? If so, for mythbackend you'll want to do something like modify the /etc/init/mythtv-backend.conf upstart configuration to write a PID file and give the PID file proper permissions.
    Linux & MythTV 4 Life
    Running ubuntu on an Atom 330, Atom D525, Turion 64 X2 TL-56, X2 3800, X2 4200, X2 4600, E2180, Core i5 450M, and a Core i7-2600
    My Hardware

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •