(deleted)/var/named/chroot/etc/named.XXX': No such file or directory

Created:

2016-12-12 03:41:10 UTC

Modified:

2017-08-16 17:12:33 UTC

0

Was this article helpful?


Have more questions?

Submit a request

(deleted)/var/named/chroot/etc/named.XXX': No such file or directory

Applicable to:

  • Plesk for Linux

Symptoms

Execution of df utility inside of an Virtuozzo container returns the following output:

  # df -h
df: ` (deleted)/var/named/chroot/etc/named.rfc1912.zones': No such file or directory
df: ` (deleted)/var/named/chroot/etc/named.iscdlv.key': No such file or directory
df: ` (deleted)/var/named/chroot/etc/named.root.key': No such file or directory
...

Health Monitor extension shows the following error on pressing Detect Hardware Changes button:

Fehler: 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

{"status":"error","statusMessages":[{"status":"error","class":"","content":"rrdtool execution failed: ERROR: No DS called 'value' in '\/usr\/local\/psa\/var\/health\/data\/localhost\/df\/df-root.rrd'

Health Monitor upgrade error can be found in /tmp/autoinstaller3.log :

Updating: psa-health-monitor-17.5.3-cos6.build1705170314.14.noarch [74/205]
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

Cause

Bind-mount directory was removed manually or during bind package update inside the container. It resulted in deleted submounts remnants.

Resolution

Unmount the directories mentioned in the error message:

  1. Login to the server over SSH
  2. Execute the following command inside of the container:

    # grep deleted /proc/mounts | awk '{print $2}' | sed 's~\\\\040(deleted)~~g' | while read mp; do umount $mp; done
  3. Restart 'bind' service using Plesk utility:

    # /usr/local/psa/admin/bin/dnsmng --stop
    # /usr/local/psa/admin/bin/dnsmng --start

If the command above did not help, use the following commands to unmount the directories:

# umount /var/named/chroot/etc/named.rfc1912.zones
# umount /var/named/chroot/etc/named.iscdlv.key
# umount /var/named/chroot/etc/named.root.key 

Additional information

Container migration fails: unsupported deleted submount

Have more questions? Submit a request
Please sign in to leave a comment.