TechFiz on November 15th, 2009

Still running some old boxes on Redhat 9? Here is a way to get it upgraded.
Caution: Try this at your own risk
Before proceeding, make sure all your hardware is supported by your chosen target OS
Upgrade Red Hat 9 to CentOS 3.x:

1. Make a full backup of all your data
2. Import GPG Keys: rpm –import http://mirror.centos.org/centos/3.4/os/i386/RPM-GPG-KEY-CentOS-3. Install/Upgrade [...]

Continue reading about Upgrading Redhat 9 to CentOS 3.x/CentOS 4.x

TechFiz on October 24th, 2009

Here is an update on BIND for cPanel server admin’s
Recent versions of Bind distributed by RedHat and?CentOS enable strict zone checking at startup time. This setting can potentially cause problems for Bind users with a large number of zone files or syntax errors in individual zone files. In these circumstances, users may experience an inability [...]

Continue reading about [cPanel-News] Tech Advisory: BIND: Red Hat and CentOS

TechFiz on May 29th, 2009

To install default Kannada font (lohit_kn.ttf) on CentOS we need to install fonts-kannada package via yum as follows.
# yum install fonts-kannada
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
–> Running transaction check
—> Package fonts-kannada.noarch 0:2.3.1-1.el5 set to be updated
–> Finished Dependency Resolution
Dependencies Resolved
==========================================
Package                 Arch       Version          Repository        Size
==========================================
Installing:
fonts-kannada           noarch     2.3.1-1.el5      base               62 k
Transaction Summary
==========================================
Install      1 Package(s)
Update       0 [...]

Continue reading about Kannada fonts on CentOS

TechFiz on March 3rd, 2009

While working on Redhat based operating systems, its common to face few issues related to RPM. Rpm database gets corrupted. It might segfault, it might cause lots of issues while installing or updating packages.
First step to resolve RPM related issues is to rebuild the rpm database. This can be done by removing the __db files [...]

Continue reading about Troubleshooting RPM issues

TechFiz on February 24th, 2009

Are you troubled with “too many open files” error on your server?  Unable to run the services?
warning: cannot open <filename>: Too many open files
Here are few fixes which you can use to get the issue resolved.

Making sure /proc/sys/fs/file-max was big enough
Adding “fs.file-max = 2048″ to /etc/sysctl.conf
Adding “* – nofile 2048″ to /etc/security/limits.conf
Adding [...]

Continue reading about QuickFix: Too many open files

TechFiz on December 27th, 2008

If you don’t want any one to access your system without permission, you should confirm that you don’t have recovery mode enabled in GRUB boot loader or it must be password protected. Otherwise any one can get into root console as and change the password to own the box.
Here is how you add password to [...]

Continue reading about Setting GRUB password