1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Server Error

Discussion in 'Programming' started by dalt, Feb 5, 2013.

  1. #1
    Hi, I keep getting this server error. My host technical support aren't any help. My hosting site is Linux and it has been crashing recently. I did do a RPM restore recently via my WHM, but I keep getting this error message. Any advice would be appreciated.

    "Problems were detected with cPanel-provided files which are RPM controlled.
    If you did not make these changes intentionally, you can correct them by running:

    > /usr/local/cpanel/check_cpanel_rpms --fix

    The following RPMs are found to be altered from their original install state:
    cpanel-perl-514-munin,1.4.7,3.cp1136,/etc/init.d/munin-node
    cpanel-perl-514-munin,1.4.7,3.cp1136,/usr/local/cpanel/3rdparty/perl/514/bin/munin-check
    cpanel-perl-514-munin,1.4.7,3.cp1136,/usr/local/cpanel/3rdparty/perl/514/bin/munin-cron
    cpanel-perl-514-munin,1.4.7,3.cp1136,/usr/local/cpanel/3rdparty/perl/514/bin/munindoc
    cpanel-perl-514-munin,1.4.7,3.cp1136,/usr/local/cpanel/3rdparty/perl/514/sbin/munin-node
    cpanel-perl-514-munin,1.4.7,3.cp1136,/usr/local/cpanel/3rdparty/perl/514/sbin/munin-node-configure
    cpanel-perl-514-munin,1.4.7,3.cp1136,/usr/local/cpanel/3rdparty/perl/514/sbin/munin-run
    cpanel-perl-514-munin,1.4.7,3.cp1136,/usr/local/cpanel/whostmgr/docroot/munin
    cpanel-perl-514-munin,1.4.7,3.cp1136,/var/lib/munin
    cpanel-perl-514-munin,1.4.7,3.cp1136,/var/lib/munin/plugin-state
    cpanel-perl-514-munin,1.4.7,3.cp1136,/var/log/munin
    cpanel-perl-514-munin,1.4.7,3.cp1136,/var/opt/munin
    cpanel-perl-514-munin,1.4.7,3.cp1136,/var/run/munin"
     
    dalt, Feb 5, 2013 IP
  2. sahabcse

    sahabcse Well-Known Member

    Messages:
    272
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    140
    #2
    1. The problem seems to be a permission error with the files munin-node uses to store data and generate graphs. If you have munin installed by Cpanel, those files will be located in:

    /usr/local/cpanel/whostmgr/docroot/munin/DomainName.com/ServerName.DomainName.com

    2. SSH to your box, change to the directory at the DomainName level and check the file/directory permissions:


    cd /usr/local/cpanel/whostmgr/docroot/munin/DomainName.com
    ls -al

    3. If the file permissions are numbers, you will see a listing like this (your numbers will be different):


    -rw-r--r-- 1 31010 31012 13K Jan 31 14:20 index.html

    You want to change that to work for Munin, so run this command as root to change all permissions to Munin (make sure you are in the DomainName.com level directory!!):

    chown -R munin:munin *
    Now if you run the ls command, you will get this:

    -rw-r--r-- 1 munin munin 13K Feb 5 14:20 index.html

    4. Go in to WHM. We will need to reinstall Munin via the plugin menu. This did not result in any data loss for me, but be warned, it could result in data loss for you, so as I said earlier, make a backup. Also, this worked on my problem, which was a permission issue from earlier Cpanel/Munin versions. It may not work if your issue is that you have Munin from your distro RPM or something else!!

    In WHM, look for Home >> CPanel >> Manage Plugins. On the Munin tab, click "Uninstall Munin". This uninstalls the Munin plugin. Once uninstalled, go back to Home >> CPanel >> Manage Plugins, click the checkbox "Install Munin" and then click "Save" at the bottom of the Plugin page. This will install and update Munin.
     
    sahabcse, Feb 7, 2013 IP
  3. ezprint2008

    ezprint2008 Well-Known Member

    Messages:
    611
    Likes Received:
    15
    Best Answers:
    2
    Trophy Points:
    140
    Digital Goods:
    1
    #3
    What host do you use that won't fix it?
     
    ezprint2008, Feb 12, 2013 IP
    Rukbat likes this.