1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Health monitor broken for debian 5 x86

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by Atari8, Nov 13, 2010.

  1. Atari8

    Atari8 Guest

    0
     
    Hello,

    On both 10.0.0 and 10.0.1 the Health monitor plugin will mess up your plesk installation.
    The package sw-rrdtool is broken for Debian 5 x86, dpkg cannot unpack it and will fail.
    Had to restore 2 servers from backup to get them back online again.

    Hopefully paralells will fix the package ASAP.

    Just a heads up...

    Will update this post with the log files later.

    Found the logs in another post, same issue and it seems it's also failing with the x64 version... :

    Ciao
     
    Last edited by a moderator: Nov 13, 2010
  2. LoïcA

    LoïcA Guest

    0
     
    Package is indeed broken.
    I have tried to install Health Monitor but it screwed my plesk installation up.

    apt-get -f install returns :

    apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following extra packages will be installed:
    sw-rrdtool
    The following NEW packages will be installed:
    sw-rrdtool
    0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
    3 not fully installed or removed.
    Need to get 0B/598kB of archives.
    After this operation, 2126kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    WARNING: The following packages cannot be authenticated!
    sw-rrdtool
    Install these packages without verification [y/N]? y

    [...]

    Unpacking sw-rrdtool (from .../sw-rrdtool_1.4.2-10102011_amd64.deb) ...
    dpkg: error processing /var/cache/apt/archives/sw-rrdtool_1.4.2-10102011_amd64.deb (--unpack):
    trying to overwrite `/usr/share/man/man1/rrdgraph_examples.1.gz', which is also in package rrdtool
    dpkg-deb: subprocess paste killed by signal (Broken pipe)

    [...]

    Errors were encountered while processing:
    /var/cache/apt/archives/sw-rrdtool_1.4.2-10102011_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
     
    Last edited by a moderator: Nov 13, 2010
  3. Atari8

    Atari8 Guest

    0
     
    Unstable

    From what I read the package is still in unstable/testing phase
    Don't really understand why they added it to the 'production' package.
    Fine for beta testers but it cost me afew hours to get 2 servers back online after it screwed up my plesk installation...
     
  4. LoïcA

    LoïcA Guest

    0
     
    This broken package is still on the depository.
    Could you please contact the devs and let them know about that (critical) issue?
     
  5. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Try to remove rrdtool package before installation.
     
  6. LoïcA

    LoïcA Guest

    0
     
    I need rrdtool for munin, I can't remove it without breaking it.
    Munin is used on my server by the customers (displays nice stuff on charts!)

    Any other workarround?
     
  7. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Your system rrdtool will be replaced with our sw-rrdtool. It is the same rrdtool but with newer version.
    Just create symlinks for

    /usr/bin/sw-rrdcached
    /usr/bin/sw-rrdtool
    /usr/bin/sw-rrdupdate

    to

    /usr/bin/rrdcached
    /usr/bin/rrdtool
    /usr/bin/rrdupdate
     
  8. LoïcA

    LoïcA Guest

    0
     
    Hello,
    Thanks again for your answer.

    I only have to create these three symlinks?
    for example : ln -s /usr/bin/rrdcached /usr/bin/sw-rrdcached

    Is this going to let me install health monitor?
    Could you describe the different steps?
     
  9. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Yes, you are correct.
    Just remove rrdtool, install health monitor and create symlinks.
     
  10. LoïcA

    LoïcA Guest

    0
     
    Hello,

    I managed to install health monitor by uninstalling rrdtool (and munin).
    How can I install munin without rrdtool. "Apt-get install munin" won't let me install it without rrdtool (which can't be installed : conflict with sw-rrdtool).

    There is a nonsense here: why would plesk use a different package for the same thing, or at least which uses the same file location?
     
  11. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Install munin before rrdtool replacing.
     
  12. LoïcA

    LoïcA Guest

    0
     
    How can you install munin without its dependencies?
    Munin won't install without rrdtool. Apt-get will unpack it, but won't install it.

    dpkg -l munin returns
    iU munin 1.2.6-10~lenny network-wide graphing framework
     
  13. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    As you wrote before you can't install HM due to rrdtool dependences. I have suggested to remove it. I thought that you have already installed munin there. Now you can remove HM, return original rrdtool back, install munin, remove rrdtool and install HM with symlinking.
     
  14. webhilfe

    webhilfe New Pleskian

    22
    70%
    Joined:
    Mar 7, 2009
    Messages:
    8
    Likes Received:
    0
    Location:
    Hamburg
    I have deinstall the rrdtool and the sw-rrdtool and sw-librrd. Then i install the sw packages (sw-rrdtool, sw-librrd, psa-health-monitor) new. I use webmin with the Webminstats.
    I change the configuration from webminstats to use the sw-rrdtool. Then webminstats work fine. Then the psa-health-monitor don´t work correctly.

    I have download the debian rrdtool.deb from the Debian site. I use the midnight commander and copy the files inside the rrdtool.deb in the correct locations by hand. I change the config in webminstats to use the debian rrdtool. Now all works fine.

    May, the munin work with the same way? Install munin and rrdtool. Deinstall the rrdtool incl. the sw-rrdtool, sw-librrd, psa-health-monitor. Then install sw-rrdtool, sw-librrd, psa-health-monitor. Copy the debian rrdtool by hand with the midnight commander by my way.

    Test it, good luck
     
Loading...