Usually you need to check perlmodules installed in the server /scripts/checkperlmodules
Then /scripts/upcp should fix the issue.
If this does not fix the issue, it may be issue with the perl.
Check whether there are two perl binaries in the server.
For eg :
/usr/bin/perl
/usr/local/bin/perl
Solution :
You need to remove /usr/bin/perl, and created a symlink for it to /usr/local/bin/perl via:
ln -s /usr/local/bin/perl /usr/bin/perl
This is the proper setup to allow for Perl to function properly with cPanel. Once this was fixed, You need to run the following command:
/scripts/checkperlmodules --full
Upon testing, you can see all Perl modules are now properly installed, and Queueprocd is up well.
ABHIONLINUX
Site useful for linux administration and web hosting
2010/07/01
2010/06/29
How to check the server is Suexec
Login into you server with the root login details and run following command
[root@server]# /usr/local/cpanel/bin/rebuild_phpconf --current
If server is Suexec then result would look like
DEFAULT PHP: 5
PHP4 SAPI: suphp
PHP5 SAPI: suphp
SUEXEC: enabled
If you are not sure about Shell then you can also check the SuExec is enabled or not? from your WHM.Lgin into your WHM and in the menu find Configure PHP and SuExec
Check the drop down box for "PHP 4/5 Handler" - and if beside that it says "suPHP" - Then your sever is SuExec enabled
If you are not having server root login details or WHM access.Then you can create a php file udner your account from cPanel >> File Manager and change the permissions on that file to 777 and open it in a browser. If it gives 500 Internal Server Error, your most probably running suPHP.
As well as you can also create the phpinfo page under your account from your cPanel >> File manager For ex. phpinfo.php with the following code
After creating phpinfo.php page browse it http://yourdomainname.com/phpinfo.php and if it shows
Server API = Apache then server is not running PHP in Suexec mode
And if
Server API = CGI the server is running PHP in Suexec mode
[root@server]# /usr/local/cpanel/bin/rebuild_phpconf --current
If server is Suexec then result would look like
DEFAULT PHP: 5
PHP4 SAPI: suphp
PHP5 SAPI: suphp
SUEXEC: enabled
If you are not sure about Shell then you can also check the SuExec is enabled or not? from your WHM.Lgin into your WHM and in the menu find Configure PHP and SuExec
Check the drop down box for "PHP 4/5 Handler" - and if beside that it says "suPHP" - Then your sever is SuExec enabled
If you are not having server root login details or WHM access.Then you can create a php file udner your account from cPanel >> File Manager and change the permissions on that file to 777 and open it in a browser. If it gives 500 Internal Server Error, your most probably running suPHP.
As well as you can also create the phpinfo page under your account from your cPanel >> File manager For ex. phpinfo.php with the following code
After creating phpinfo.php page browse it http://yourdomainname.com/phpinfo.php and if it shows
Server API = Apache then server is not running PHP in Suexec mode
And if
Server API = CGI the server is running PHP in Suexec mode
Subscribe to:
Posts (Atom)