HostwareSupport-Linux Hosting technical support for cPanel, Plesk, Directadmin servers

Linux Hosting technical support for cPanel, Plesk, Directadmin and No control panel servers offers and listing
http://hostwaresupport.com/

May 18, 2010

Template Error: The template file must be given.

My site give me the following error when brows ..

(problem shows because of wrong httpd.con configuration for the domain it shows you the following error insted of default cpanel page )

Template Error: The template file must be given.

Following solution will be smile on your face ;)
Solution:

1. Problem should be with the wrong httpd.configuration for the domain
/scripts/rebuildhttpdconf should be resolve your problem if not

2. Then try
root@server[#] vi /etc/httpd/conf/httpd.conf


ServerName domain.com
ServerAlias www.domain.com
DocumentRoot /home/username/public_html/
ServerAdmin webmaster@domain.com
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/domain.com combined
CustomLog /usr/local/apache/domlogs/domain.com-bytes_log
ScriptAlias /cgi-bin/ /home/username/public_html//cgi-bin/
Include “/usr/local/apache/conf/userdata/std/2/domain.com/*.conf”

:wq!

3. /etc/init.d/httpd restart

This should be fixed the problem

May 14, 2010

openssl breaks Parallels Panel

The following errors are displayed in the /var/log/sw-cp-server/error_log file when Panel is trying to start:

2010-03-29 11:21:22: (log.c.75) server started
2010-03-29 11:21:22: (network.c.336) SSL: error:00000000:lib(0):func(0):reason(0)
2010-03-29 11:24:33: (log.c.75) server started
2010-03-29 11:24:33: (network.c.336) SSL: error:00000000:lib(0):func(0):reason(0)
2010-03-29 11:24:33: (log.c.75) server started
2010-03-29 11:24:33: (network.c.336) SSL: error:00000000:lib(0):func(0):reason(0)
2010-03-29 11:31:29: (log.c.75) server started
2010-03-29 11:31:29: (network.c.336) SSL: error:00000000:lib(0):func(0):reason(0)
2010-03-29 11:31:29: (log.c.75) server started
2010-03-29 11:31:29: (network.c.336) SSL: error:00000000:lib(0):func(0):reason(0)

Resolution
It is necessary to update Parallels Panel web-engine:

1. Download the appropriate package using the wget utility. Example for CentOS 5 x86:

#wget -c http://kb.parallels.com/Attachments/12669/Attachments/sw-cp-server-1.0-6.201004011105.centos5.i386.rpm

2. Install the downloaded package. Example for CentOS 5 x86:
#rpm -Uhv sw-cp-server-1.0-6.201004011105.centos5.i386.rpm

You need to get appropriate rpm as per your server architecture and distribution.

May 13, 2010

Disk Space for MySQL Databases in cPanel Show as 0MB

When you upgrade from cPanel 11.24 to 11.25, your users may notice that in cPanel, their MySQL databases show 0MB of disk space used, when they know their databases are much larger. This is due to an option in cPanel that you specifically have to enable. To enable MySQL disk usage tracking:

1) Edit /var/cpanel/cpanel.config

Change:

disk_usage_include_sqldbs=0

to

disk_usage_include_sqldbs=1

Then run the following:

/scripts/update_db_cache
This may take a few minutes if you have a ton of users with databases, but after this, you should see the database disk usage show up accurately in cPanel.