While working on any server its always better to knew on which server enviornment we are working, is it a dedicated/cloud or vps because every enviornment having its own settings and parameters.
Run the following command from the shell and check the result.
cat /var/cpanel/envtype
You will receive the result like standard,virtuozzo etc,please check the following examples.
For Dedicated sever
root@ [~]# cat /var/cpanel/envtype
standardFor cloud server
root@ [~]# cat /var/cpanel/envtype
vmwarerFor VPS servers
virtuozzoroot@vps [~]# cat /var/cpanel/envtype
virtuozzo