-
Cpanel Package creation problem : Attempt to free unreferenced scalar
Posted on August 19th, 2009 No commentswhile creating packages for the reseller via reseller WHM we were getting blank page and it appears that the packages were not getting created. After looking into the CPanel error logs in /usr/local/cpanel/logs/error_log the following error was reported.
(internal warning while parsing [stdin]) Wed Aug 193 13:21:08 2009 [94568] warn: Attempt to free unreferenced scalar.
Solution
WHM -> Server Configuration -> Tweak Settings Choose the setting for:
The maximum memory a cPanel process can use before it is killed off (in megabytes). Values less than 128 megabytes can not be specified. A value of “0″ will disable the memory limits.
The settings had 256M there by default, and increasing the value to 1024 MB helped. The server Server had 4G RAM, so the value of 1024M was fine here.
-
Installing Yum on CentOS 5.3
Posted on May 31st, 2009 No commentsHere are the simple steps to install yum on plain centos 5.3 x86_64 bit server. login into the server with root user and execute the following commands.
rpm –import http://mirror.centos.org/centos-5/5.3/os/x86_64/RPM-GPG-KEY-CentOS-5
rpm -ihv http://mirror.centos.org/centos/5.3/os/x86_64/CentOS/libxml2-2.6.26-2.1.2.7.i386.rpm
rpm -ihv http://mirror.centos.org/centos/5.3/os/x86_64/CentOS/libxml2-python-2.6.26-2.1.2.7.x86_64.rpm
rpm -ihv http://mirror.centos.org/centos-5/5.3/os/x86_64/CentOS/python-elementtree-1.2.6-5.x86_64.rpm
rpm -ihv http://mirror.centos.org/centos-5/5.3/os/x86_64/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm
rpm -ihv http://mirror.centos.org/centos-5/5.3/os/x86_64/CentOS/python-sqlite-1.1.7-1.2.1.x86_64.rpm
rpm -ihv http://mirror.centos.org/centos-5/5.2/os/x86_64/CentOS/m2crypto-0.16-6.el5.2.x86_64.rpm
rpm -ihv http://mirror.centos.org/centos-5/5.2/os/x86_64/CentOS/python-urlgrabber-3.1.0-2.noarch.rpm
rpm -ihv http://mirror.centos.org/centos-5/5.2/os/x86_64/CentOS/sqlite-3.3.6-2.x86_64.rpm
rpm -ihv http://mirror.centos.org/centos-5/5.2/os/x86_64/CentOS/yum-metadata-parser-1.1.2-2.el5.x86_64.rpm
rpm -ihv http://mirror.centos.org/centos-5/5.2/os/x86_64/CentOS/yum-3.2.8-9.el5.centos.1.noarch.rpmThen finally you can execute yum update command to update the rpms.
-
Account Creation [an error occurred while processing this directive]
Posted on April 2nd, 2009 No commentsSometimes you may notice problem to create a new account on your VPS server
Create a new Account
[an error occurred while processing this directive] Notification => aa@bb.net via EMAIL [level => 3]
Account CreationThe Cpanel logs reports the following error
[root@server /]tail -f /usr/local/cpanel/logs/error_log
edquota: Cannot set quota for user 553 from kernel on /dev/vzfs: No such process
edquota: Can’t write quota for 553 on /dev/vzfs: No such processSolution.
You just need to raise the quotagidlimit from the resource tab on the hardware node. If you do not have access to the Node ask your provider to raise the limit for you.



Recent Comments