Reaching out to others! Free & Open Source Software, Kannada, L10n, L18n Data Science, Cloud Computing & more…

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

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 to restart Bind after a shutdown.?cPanel has produced and distributed an autofixer for this condition. This repair will run automatically on all systems with updates enabled. However, cPanel checks only occur at specific times and depending upon update schedules, users experiencing issues restarting Bind may benefit from manually executing the code to disable strict zone checking. You may safely execute the autofixer at your discretion by running the following command:

/scripts/autorepairbind_disable_checkzone

Source: cPanel Blog

apf fix: unable to load iptables module (ip_tables)

While working with APF on servers, you might normally get to see the following error,

# apf -r
apf(2042): {glob} flushing & zeroing chain policies
apf(2042): {glob} firewall offline
apf(3179): {glob} activating firewall
apf(3284): {glob} unable to load iptables module (ip_tables), aborting.
apf(3179): {glob} firewall initalized
apf(3179): {glob} fast load snapshot saved

Your kernel is compiled with iptables statically instead of as a module, to resolve this you will need to change a small configuration in /etc/apf/conf.apf

SET_MONOKERN=”0″ Set it to “1″

Once this is done, restart apf to see the error vanishing.

SET_MONOKERN
# This allows the firewall to work around modular kernel issues by assuming
# that the system has all required firewall modules compiled directly into
# kernel. This mode of operation is not generally recommended but can be used
# scale APF to unique situations.

LxLabs Ligesh commits suicide

ligeshA brilliant software engineer, Founder of LxLabs.com, creator of HyperVM – optimized virtualization technology which runs on both Xen and OpenVZ, “Host In a Box” solution LxAdmin/Kloxo for Web hosting companies, server owners, resellers – K.T Ligesh(32) commited suicide last night (8th June,2009) at his residence located in H.S.R Layout, Bangalore.

Yesterday night I was discussing with few of my colleagues about the recent vulnerability report logged on the net and the fixes released to patch it. Sadly I get to read this news in  papers on returning home. His innovative products have made a very good name in industry in a very short span of time. A very hardworking talent, free and open source enthusiast and a guitarist. He always thrived provide a best and an optimized web hosting tool to hosting industry. Its a great loss to all of us.

I recall interacting with this genius engineer prior to his product  launch and commenting on few initial glitches that I had noticed here at Instacarma. He has been such a great help during our further interactions on LxLabs forum etc. Instacarma family offers its deep condolences to his family and friends.

He puts a question mark in-front of us and LxAdmin’s future is unknown. There are more questions to be answered while his soul rests in peace.

News Source: TOI

Image Source: Kannada Prabha

cPanel DNS Only: UPDATED to 11.24.4

From cPanel Blog:

Today cPanel has released a new DNS Only product which is based on the core of cPanel/WHM 11.24.4. This updated version adds support for cPanel’s Service Manager, enhanced service monitoring, brute force protection, as well as many of the other new features and optimizations found in cPanel/WHM 11.24.4.

cPanel strongly recommends upgrading to this new version as soon as possible. Anyone who has a significant number of DNS updates each day will find improved performance and scalability with DNS Only version 11.24.4.

https://www.cpanel.net/

cPanel 11.24 Enters STABLE!

From cPanel blog:

Previous postings have discussed at greater length the benefits and enhancements introduced in 11.24.  Now, server administrators that prefer to use our STABLE build can experience all these important new optimizations and performance increases.

If your server is set to automatically update no intervention on your part is needed and your server will automatically update at its normal time.  If you are set to manual updates, updating through WHM or via the shell will realize the performance increases present in 11.24.

More information regarding 11.24 can be found here:

https://www.cpanel.net/products/cpwhm/cpanel11/new-features.htm

Script to regenerate /etc/vmail files for cPanel

If you’re using cPanel 11.24+ you might find that the files under /etc/vmail folder vanishes at times. Horde and other webmail authentication issues are caused due to this bug. This folder content is required even for email account verification. I wrote a small script to regenerate the files as /scripts/updateuserdomains script failed to create the same.

This script create uid.domainname.com, gid.domainname.com, vhost.domainname.com passwd.domainname.com and shadow.domainname.com files for each domain which is hosted on the server.

#/bin/sh

for i in `ls -l /home | awk ‘{print $9}’`
do
if [ -d /home/$i ]
then
for j in `ls -ld /home/$i/etc/* | awk ‘{print $9}’`
do
if [ -d $j ];
then
echo $j;
g=`echo $j | awk -F\/ ‘{print $5}’`
echo $g;
uid=`grep $g /etc/userdomains | awk ‘{print $2}’`
id -u $uid > /etc/vmail/uid.$g;
id -g $uid > /etc/vmail/gid.$g;
echo ""> /etc/vmail/vhost.$g;
ln -s $j/passwd /etc/vmail/passwd.$g
ln -s $j/shadow /etc/vmail/shadow.$g

fi
done
fi
done