If you come across this error when trying to do a “yum update” on your Virtuozzo Virtual Dedicated Server
–> Processing Dependency: glibc-common = 2.3.4-2.25 for package: glibc-dummy-centos-4–> Finished Dependency ResolutionError: Missing Dependency: glibc-common = 2.3.4-2.25 is needed by package glibc-dummy-centos-4
You can make use of the following steps to fix the problem. First you need to remove the package that is causing the problem.
yum remove glibc-dummy-centos-4
After you have removed that package you need to reinstall gcc with all the extras. You can do that simply by running the following command.
yum install gcc & yum install gcc*
If everything installed correctly you should now be able to run a yum update and it should not error out at all.
What is SLM, “Virtuozzo Service Level Management (SLM) is a system that maintains and allows administrators to configure and control the levels of service (i.e., the set of ‘promises’) provided to VPS owners.”I came across some different ways of enabling SLM on the Virtuozzo Node, by far the best was the information about how to enable it with out a Node reboot. run the following commands. Edit the following files and make said changes
/etc/sysconfig/vz and change the SLM entry to slm=yes/etc/sysconfig/vzagent/vzagent.conf Locate the SLM entry, change it to 1.
After you modified configuration file you need to restart VZAgent, use the following command on a hardware node:
cPanel installs a little bit differently in a VPS that it does on your traditional server.
Install cPanel in CentOS / Fedora VPS:
You will need yum installed on the VPS
rpm -q yum centos-yumconf
CentOS 5 :
rpm –import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
rpm -Uvh http://mirror.centos.org/centos/5.0/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm
rpm -Uvh http://mirror.centos.org/centos/5.0/os/i386/CentOS/m2crypto-0.16-6.el5.1.i386.rpm
rpm -Uvh http://mirror.centos.org/centos/5.0/os/i386/CentOS/python-urlgrabber-3.1.0-2.noarch.rpm
rpm -Uvh http://mirror.centos.org/centos/5.0/os/i386/CentOS/sqlite-3.3.6-2.i386.rpm
rpm -Uvh http://mirror.centos.org/centos/5.0/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm
rpm -ivh http://mirror.centos.org/centos/5.0/os/i386/CentOS/rpm-python-4.4.2-37.el5.i386.rpm
rpm -ivh http://mirror.centos.org/centos/5.0/os/i386/CentOS/libxml2-2.6.26-2.1.2.i386.rpm
rpm -ivh http://mirror.centos.org/centos/5.0/os/i386/CentOS/libxml2-python-2.6.26-2.1.2.i386.rpm
rpm -Uvh http://mirror.centos.org/centos/5.0/os/i386/CentOS/yum-3.0.5-1.el5.centos.2.noarch.rpm
rpm -Uvh http://mirrors.kernel.org/fedora/core/6/i386/os/Fedora/RPMS/python-elementtree-1.2.6-5.i386.rpm
rpm -Uvh http://mirrors.kernel.org/fedora/core/6/i386/os/Fedora/RPMS/python-sqlite-1.1.7-1.2.1.i386.rpm
rpm -Uvh http://mirrors.kernel.org/fedora/core/6/i386/os/Fedora/RPMS/rpm-python-4.4.2-32.i386.rpm
rpm -Uvh http://mirrors.kernel.org/fedora/core/6/i386/os/Fedora/RPMS/python-urlgrabber-2.9.9-2.noarch.rpm
rpm -Uvh http://mirrors.kernel.org/fedora/core/6/i386/os/Fedora/RPMS/yum-metadata-parser-1.0-8.fc6.i386.rpm
rpm -Uvh http://mirrors.kernel.org/fedora/core/6/i386/os/Fedora/RPMS/yum-3.0-6.noarch.rpm
Install cPanel :
rm -Rf fantastico*
wget -N http://netenberg.com/files/free/fantasticoinstaller.tgz
tar xzpf fantasticoinstaller.tgz
rm -f fantasticoinstaller.tgz
Change ‘disable = no’ to ‘disable = yes’
Php is setup is to limit memory usage per process. If you require more, this limit can be increased.
If you are unsure about the php.ini path, You can find your server php.ini using command :
php -i | grep php.ini
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
to a higher value, like 20M. Save, exit, then restart apache.
Apache won’t restart: [crit] (98)Address already in use: make_sock: could not bind to port 8090
[crit] (98)Address already in use: make_sock: could not bind to port 8090
[crit] (98)Address already in use: make_sock: could not bind to port 443
[crit] (98)Address already in use: make_sock: could not bind to port 80
If you see this error in your /var/log/httpd/error_log, it would mean that apache isn’t shutting down completely before trying to restart. This means that the new process won’t be able to bind to the given ports because they’re still being used by the old copy of apache that wasn’t completely shut down.
To solve this, use a different boot script that will wait for all apache processes to stop before starting the new one:
rm -f httpd*
Once you have the new scripts downloaded, you need to install them:
cp httpd /etc/init.d/httpd
chmod 755 /etc/init.d/httpd
chkconfig httpd reset
cp httpd_freebsd /usr/local/etc/rc.d/httpd
chmod 755 /usr/local/etc/rc.d/httpd
If you keep getting the ‘License is not yet active’ error message when logging into direct admin even though the license is active.
Setting the system date to the current date and time should clear it up.
Click on the “Tweak Settings” link under “Server Setup”. Within the “Stats and Logs” section is a text box with the heading:
“Chmod value for raw apache log files (0640 is the default):”
Change the value to suit your needs and apply the changes by clicking on the “Save” button at the bottom of the page.
Most programs only need read permissions on the log files so setting this to 0644 should suffice.
The iconv API is the standard programming interface for converting character strings from one character encoding to another in Unix-like operating systems. Initially appearing on the HP-UX operating system, it was standardized within XPG4 and is part of the Single UNIX Specification (SUS).
All recent Linux distributions contain a free implementation of iconv() as part of the GNU C Library which is the C library for current Linux systems. To use it, the GNU glibc locales need to be installed, which are provided as a separate package (usually named glibc-locale) normally installed by default.
…. source : wikipedia.org
From WHM you can compile Apache with iconv :
WHM Main >> Software >> EasyApache (Apache Update)
Follow the wizard and slect “Iconv (experimental)” under PHP Exhaustive Settings and start the Apache build by using “Start Build”.