An --**warning**-- occurred while installing profile “--**warning**--: failed to create directory /home/cPanel_username/.cagefs”.

While updating Easy Apache 3 to Easy Apache 4 on CloudLinux server using below command -

cd ~;
sh cloudlinux_ea3_to_ea4 --convert

I'd received below error message -

An --**warning**-- occurred while installing profile “--**warning**--: failed to create directory /home/cPanel_username/.cagefs”.
Please select from the following options:
1) Revert to EasyApache 3
2) Abort.
3) Install the cPanel Default profile.

Solution :-

Please make sure, if you've removed/deleted any user recently from server then there should not be any entry in below files -

1. Please check the user entry in /var/cpanel/users, if the user exist there then remove it.
2. Please check /etc/named.conf and the corresponding .db file from /var/named, there should not be any entry of user.
3. Check entry in /etc/httpd/conf/httpd.conf.
4. Check the entry in /etc/localdomains or /etc/remotedomains. If you'll find any entry then remove it from the file.
5. Remove the cPanel user entry from /etc/passwd

You can remove the entry using -
userdel username

It fixed my issue!

Was this answer helpful?

 Print this Article

Also Read

How to Re-arrange accounts in WHM?

Please go through the following steps on How to Re-arrange accounts in WHM 1. Go to WHM and...

The page isn’t working, site is currently unable to handle this request. HTTP ERROR 500

While accessing WordPress site's sub-links and back-end (WordPress admin dashboard ) I was...

How to disable the php mail() function on cPanel with CloudLinux?

If your server installed cPanel with CloudLinux along alt-php and you want to disable php mail()...

ERROR :Tablespace for table exist. Please DISCARD the tablespace before IMPORT.

// While creating the table from cPanel >> PHPMyAdmin>> SQL, I was getting...

How to get backup data recursively from the Amazon server?

There may be a situation where you do not have a zip utility on Amazon server so, the backup...

Powered by WHMCompleteSolution