• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Health Monitor installed, but "unable to load configuration file"

dieselpower44

Basic Pleskian
Hi, just installed the Health Monitor add-on in a brand new Plesk 11.5.30 on CentOS 6.4 but all that it's area in Plesk displays is this funky looking error:

{"status":"error","statusMessages":[{"status":"error","class":"","content":"Unable to load configuration file.

I uninstalled it and reinstalled it again but sadly this didn't fix it.

I've Googled but nobody else seems to have this issue!

Any ideas?
 
Try this command for fix:

# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/setup-health-monitor.php
 
Hi Igor,

Unfortunately it ran unsuccessfully with output:

Error: Execution failed.
Command: /bin/df
Arguments: Array
(
[0] => -Pl
)

Details: /bin/df: ` (deleted)/var/named/chroot/etc/named.rfc1912.zones': No such file or directory
/bin/df: ` (deleted)/var/named/chroot/etc/named.iscdlv.key': No such file or directory

Any ideas how to proceed?

Thanks.
 
What is your OS?

On my test Plesk 11.5 installation I see:

# cat /etc/*issue*
CentOS release 6.4 (Final

# cat /var/named/chroot/etc/named.rfc1912.zones
// named.rfc1912.zones:
//
// Provided by Red Hat caching-nameserver package
//
// ISC BIND named zone configuration for zones recommended by
// RFC 1912 section 4.1 : localhost TLDs and address zones
// and http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt
// (c)2007 R W Franks
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//

zone "localhost.localdomain" IN {
type master;
file "named.localhost";
allow-update { none; };
};

zone "localhost" IN {
type master;
file "named.localhost";
allow-update { none; };
};

zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
type master;
file "named.loopback";
allow-update { none; };
};

zone "1.0.0.127.in-addr.arpa" IN {
type master;
file "named.loopback";
allow-update { none; };
};

zone "0.in-addr.arpa" IN {
type master;
file "named.empty";
allow-update { none; };
};
 
Mine is identical, Igor. I'm running CentOS 6.4 (final) and my output of /var/named/chroot/etc/named.rfc1912.zones is the same (although I have no idea what any of it means..)
 
Yes I just tested it. However running it also produced the two errors:

/bin/df: ` (deleted)/var/named/chroot/etc/named.rfc1912.zones': No such file or directory
/bin/df: ` (deleted)/var/named/chroot/etc/named.iscdlv.key': No such file or directory
 
Sorry to bump this but I'm getting really frustrated that I can't get this working. Is there anything else I can try here?
 
I can't say what is this problem. I never seen it before. Detailed investigation directly on your server is required. Therefore I suggest you contact Support Team.
 
Same problem here!

Plesk in Virtuozzo container.


Plesk:
"Error: Execution failed. Command: /bin/df Arguments: Array ( [0] => -Pl ) Details: /bin/df: ` (deleted)/var/named/chroot/etc/named.rfc1912.zones': No such file or directory /bin/df: ` (deleted)/var/named/chroot/etc/named.iscdlv.key': No such file or directory /bin/df: ` (deleted)/var/named/chroot/etc/named.root.key': No such file or directory"


Shell:
[root@st2 /]# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/setup-health-monitor.php
Error: Execution failed.
Command: /bin/df
Arguments: Array
(
[0] => -Pl
)

Details: /bin/df: „ (deleted)/var/named/chroot/etc/named.rfc1912.zones“: Datei oder Verzeichnis nicht gefunden
/bin/df: „ (deleted)/var/named/chroot/etc/named.iscdlv.key“: Datei oder Verzeichnis nicht gefunden
/bin/df: „ (deleted)/var/named/chroot/etc/named.root.key“: Datei oder Verzeichnis nicht gefunden

CentOS 6.4 (Final) with Plesk 11.5.30 Update #17

Health Monitor shows NOTHING.
 
Sorry for the late reply - I did get it fixed but had to send a support request to Parallels through my server provider. I don't know what they did to resolve it: they never tell me haha.

Same problem here!

Plesk in Virtuozzo container.

Plesk:
"Error: Execution failed. Command: /bin/df....
 
This is kinda late, but this may help someone in the future.

I encountered the same error.
Running PPA (Parallels Plesk Automation) inside an OpenVZ container with ID 101.

Here's how it was solved.
. we stopped container 101
. on the hardware node, we ran this, which indicated that there are some directories still mounted by the container

root@shn02:~# cat /proc/mounts |grep 101
/var/lib/vz/private/101 /var/lib/vz/root/101 simfs ro,relatime 0 0
/var/lib/vz/private/101 \040(deleted)/var/lib/vz/root/101/var/named/run-root/etc/named.rfc1912.zones simfs ro,relatime 0 0
/var/lib/vz/private/101 \040(deleted)/var/lib/vz/root/101/var/named/run-root/etc/named.iscdlv.key simfs ro,relatime 0 0
/var/lib/vz/private/101 \040(deleted)/var/lib/vz/root/101/var/named/run-root/etc/named.root.key simfs ro,relatime 0 0

. we ran this command to unmount them:

umount -l /var/lib/vz/root/101

. we restarted the container, and the error was gone.
 
Try this command for fix:

# /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/setup-health-monitor.php
Worked perfectly! Using Plesk 12.0.18

P.S. If got any df error, this command will fail.
If you run 'df' and get this errors (on VZ):
Code:
/bin/df: ` (deleted)/var/named/chroot/etc/named.rfc1912.zones': No such file or directory
/bin/df: ` (deleted)/var/named/chroot/etc/named.iscdlv.key': No such file or directory
/bin/df: ` (deleted)/var/named/chroot/etc/named.root.key': No such file or directory
Just unmount those paths:
Code:
sudo umount /var/named/chroot/etc/named.rfc1912.zones
sudo umount /var/named/chroot/etc/named.iscdlv.key
sudo umount /var/named/chroot/etc/named.root.key
 
Worked perfectly! Using Plesk 12.0.18

P.S. If got any df error, this command will fail.
If you run 'df' and get this errors (on VZ):
Code:
/bin/df: ` (deleted)/var/named/chroot/etc/named.rfc1912.zones': No such file or directory
/bin/df: ` (deleted)/var/named/chroot/etc/named.iscdlv.key': No such file or directory
/bin/df: ` (deleted)/var/named/chroot/etc/named.root.key': No such file or directory
Just unmount those paths:
Code:
sudo umount /var/named/chroot/etc/named.rfc1912.zones
sudo umount /var/named/chroot/etc/named.iscdlv.key
sudo umount /var/named/chroot/etc/named.root.key

Thanks! Unmounting those deleted directories as you described, and then reinstalling the Health Monitor component resolved this issue for me as well.
 
Back
Top