Virtfs mount causes Elevate failure Print

  • 0

The elevate-cpanel script fails in stage 3 with an entry similar to the following in the script output.

* 2024-06-01 00:26:57 (6581) [INFO] Actor xfs_info_scanner unexpectedly terminated with exit code: 1 - Please check the above details

An entry similar to the following may also be found in the leapp-upgrade.log file.

2023-08-25 22:40:06.700 DEBUG    PID: 8036 leapp.workflow.FactsCollection.xfs_info_scanner: External command has finished: ['/usr/sbin/xfs_info', '/home/virtfs/cpanelusername/var/log']

 

Description

This issue occurs when Jailed Apache VHosts are in use. Disabling Jailed Apache VHosts and clearing orphan virtfs mounts will allow the ELevate process to continue.

 

Workaround

  1. Log into WHM as the ‘root’ user.
  2. Navigate to "Home / Server Configuration / Tweak Settings."
  3. Click on the "Security" tab.
  4. Scroll down to the "EXPERIMENTAL: Jail Apache Virtual Hosts using mod_ruid2 and cPanel® jailshell." option.
  5. Set the "EXPERIMENTAL: Jail Apache Virtual Hosts using mod_ruid2 and cPanel® jailshell." option to "Off."
  6. Scroll to the bottom of the page.
  7. Click the "Save" button.
  8. Access the server's command line as the 'root' user via SSH or "Terminal" in WHM.
  9. Run the following command.
    /scripts/clear_orphaned_virtfs_mounts --clearall

 

Additional resources

How to turn off Jail Apache Virtual Hosts


Was this answer helpful?
Back

Send Message