Cpanel issues: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m 9 revisions |
||
(5 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
== UPCP Errors == | == UPCP Errors == | ||
=== wrong | === wrong distro version === | ||
If you see this error: | If you see this error: | ||
[20131116.234306] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1384663384.log` failed, exited with code 25 (signal = 0) | [20131116.234306] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1384663384.log` failed, exited with code 25 (signal = 0) | ||
=> Log closed Sat No | => Log closed Sat No | ||
then you run the command out of it and get the following error: | then you run the command out of it and get the following error: | ||
Line 32: | Line 32: | ||
Should be simular to the following: | Should be simular to the following: | ||
[root@host] ~ >> cat /var/cpanel/sysinfo.config | [root@host] ~ >> cat /var/cpanel/sysinfo.config | ||
# This values in this file are calculated and updated if necessary nightly. If you wish to override | # This values in this file are calculated and updated if necessary nightly. If you wish to override | ||
# these values, populate lock= with a comma delimited list of keys you don't want updated. | # these values, populate lock= with a comma delimited list of keys you don't want updated. | ||
Line 48: | Line 48: | ||
once that file has been corrected it should solve the issue. | once that file has been corrected it should solve the issue. | ||
=== git stoping the system update causing the upcp to fail === | |||
cd /usr/local/src | |||
wget ftp://fr2.rpmfind.net/linux/centos/6.4/updates/x86_64/Packages/git-1.7.1-3.el6_4.1.x86_64.rpm | |||
wget ftp://fr2.rpmfind.net/linux/centos/6.4/updates/x86_64/Packages/perl-Git-1.7.1-3.el6_4.1.noarch.rpm | |||
rpm -Uvh git-1.7.1-3.el6_4.1.x86_64.rpm perl-Git-1.7.1-3.el6_4.1.noarch.rpm |
Latest revision as of 23:51, 23 October 2014
The failboat we call CPANEL
LOGS LOCATIONS
vim /usr/local/cpanel/logs/error_log
Cpanel gives this error
[a fatal error or timeout occurred while processing this directive]
This should help you out, move the following file to a different location and or check permissions on the /home/(username)/.cpanel folder should be user:user
mv /home/(username)/.cpanel/*cache
http://ipaddress/~username/
Provides the following error.
Warning: Unknown: open_basedir restriction in effect. File(/home/hilariou/public_html/index.php) is not within the allowed path(s): (/usr/local/lp:/proc:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0
Edit this:
vim /usr/local/apache/conf/httpd.conf
And move this to the post section of the conf.
Include "/usr/local/lp/configs/httpd/vhost.conf
UPCP Errors
wrong distro version
If you see this error:
[20131116.234306] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1384663384.log` failed, exited with code 25 (signal = 0) => Log closed Sat No
then you run the command out of it and get the following error:
/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.13846621122.log Only Distro versions 5 and 6 supported in this version of cPanel & WHM at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 20033.
You need to check the /var/cpanel/sysinfo.config and make sure all of the info is correct. Should be simular to the following:
[root@host] ~ >> cat /var/cpanel/sysinfo.config # This values in this file are calculated and updated if necessary nightly. If you wish to override # these values, populate lock= with a comma delimited list of keys you don't want updated. # This will allow you to change those values to suit your needs. # # Example: if you set lock like this, then rpm_dist and rpm_arch will not be updated nightly: # lock=rpm_dist,rpm_arch # ises=2 lock= release=5.9 rpm_arch=x86_64 rpm_dist=centos rpm_dist_ver=5
once that file has been corrected it should solve the issue.
git stoping the system update causing the upcp to fail
cd /usr/local/src wget ftp://fr2.rpmfind.net/linux/centos/6.4/updates/x86_64/Packages/git-1.7.1-3.el6_4.1.x86_64.rpm wget ftp://fr2.rpmfind.net/linux/centos/6.4/updates/x86_64/Packages/perl-Git-1.7.1-3.el6_4.1.noarch.rpm rpm -Uvh git-1.7.1-3.el6_4.1.x86_64.rpm perl-Git-1.7.1-3.el6_4.1.noarch.rpm