The installation process detected that the server was in runlevel 5 cPanel

The server must be in runlevel 3 before the installation can continue.

This tutorial will help you in solving the above error which cPANEL installation by changing your OS runlevel 5 to runlevel 3.

#systemctl get-default 
runlevel5.target

Let’s check the current runlevel for our centos OS based server by running following command

#systemctl get-default
runlevel5.target

P.S : You might get multi-user.target but still continue with the guide to solve your issue.

We will now change the default runlevel to 3 (it’s a mutli.user.target)

#systemctl set-default multi-user.target

Now confirm the current default runlevel

# systemctl get-default 
multi-user.target

Reboot and run the installation again

# reboot

You should be now able to complete the cPanel installation without the above error.

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Run OPTIMIZE TABLE to defragment tables for better performance

For this suggestion:Run OPTIMIZE TABLE to defragment tables for better performanceRun this...

How to clear Error Log of a cPanel Account.

User the below code to clear Error Log:Replace User with Username:Code:for i in `find...

What is php.ini ?

The php.ini file and changing PHP Settings The php.ini file is a special file for PHP and...

How to fix ini_set() has been disabled for security reasons

1. Create php.ini file inside your public_html folder, OR the folder in which you have...

How to fix Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone:

1: Create .htaccess file inside your public_html folder, OR the folder in which you have...