Knowledge Base » Linux Servers

Category > Linux Servers

AH01980: bad response from OCSP server: (none)

Friday, May 19th, 2017

If you see the errors below in Apache error log

tail -f /usr/local/apache/logs/error_log

AH01980: bad response from OCSP server: (none)
AH01941: stapling_renew_response: responder error

Browse to

WHM > Apache Configuration > Include Editor > Pre VirtualHost Include > ALL Versions

Paste the text below and click update, then restart Apache

SSLUseStapling off

Sites and servers affected by OCSP errors should work fine after that.

Enable htscanner for .htaccess to work with suPHP/FastCGI

Thursday, February 27th, 2014

First, install htscanner from WHM > Module Installers > PHP Pecl > htscanner

This will allow php_value and php_flag to work with php.

Next for it to also work with Apache without the need to use ifmodule

# cd /usr/src/
# wget http://pecl.php.net/get/htscanner-1.0.1.tgz
# tar -zxf htscanner-1.0.1.tgz
# cd htscanner-1.0.1

IMPORTANT: Make sure apache has mod_so and then proceed remaining steps

# /usr/local/apache/bin/httpd -l | grep mod_so.c
mod_so.c

Compile the module by

/usr/local/apache/bin/apxs -c -a -i mod_htscanner2.c

Restart apache

# /usr/local/apache/bin/apachectl configtest
# /usr/local/apache/bin/apachectl restart
# /usr/local/cpanel/bin/apache_conf_distiller –update

And a final check

# grep mod_htscanner2.so /usr/local/apache/conf/httpd.conf
LoadModule htscanner_module modules/mod_htscanner2.so

php_value and php_flag should now be working fine in .htaccess

Change ownership of (chown) a symlink

Saturday, March 3rd, 2012

The standard command to change ownership of any file on Linux is chown. However passing this normally with user.group does not change ownership of a symbolic link. To do that, pass the command with the -h flag like in the example below.

chown -h username.groupname symlinkname

Which are the available Linux distros?

Tuesday, August 23rd, 2011

We can presently (August, 2011) provide the following Linux distributions on Cloud Computing Instances or Dedicated servers:

CentOS 5 – LAMP (32 bit)
CentOS 5 – LAMP (64 bit)
CentOS 5 – Minimal (32 bit)
CentOS 5 – Minimal (64 bit)
CentOS 6.0 – LAMP (32 bit)
CentOS 6.0 – LAMP (64 bit)
CentOS 6.0 – Minimal (32 bit)
CentOS 6.0 – Minimal (64 bit)

Debian GNU/Linux 5.0 Lenny/Stable – LAMP (32 bit)
Debian GNU/Linux 5.0 Lenny/Stable – LAMP (64 bit)
Debian GNU/Linux 5.0 Lenny/Stable – Minimal (32 bit)
Debian GNU/Linux 5.0 Lenny/Stable – Minimal (64 bit)

Fedora Release 13 (32bit) – Minimal
Fedora Release 13 (64bit) – LAMP
Fedora Release 13 (64bit) – Minimal
Fedora Release 15 (32bit) – LAMP
Fedora Release 15 (32bit) – Minimal
Fedora Release 15 (64bit) – LAMP
Fedora Release 15 (64bit) – Minimal

Red Hat Enterprise Linux 5 – LAMP (32 bit)
Red Hat Enterprise Linux 5 – LAMP (64 bit)
Red Hat Enterprise Linux 5 – Minimal (64 bit)
Red Hat Enterprise Linux 6 – LAMP (32 bit)
Red Hat Enterprise Linux 6 – LAMP (64 bit)
Red Hat Enterprise Linux 6 – Minimal (32 bit)
Red Hat Enterprise Linux 6 – Minimal (64 bit)

Ubuntu Linux 8 LTS Hardy Heron – LAMP (32 bit)
Ubuntu Linux 8 LTS Hardy Heron – LAMP (64 bit)
Ubuntu Linux 8 LTS Hardy Heron – Minimal (32 bit)
Ubuntu Linux 8 LTS Hardy Heron – Minimal (64 bit)
Ubuntu Linux 10.04 LTS Lucid Lynx – LAMP (32 bit)
Ubuntu Linux 10.04 LTS Lucid Lynx – LAMP (64 bit)
Ubuntu Linux 10.04 LTS Lucid Lynx – Minimal (32 bit)
Ubuntu Linux 10.04 LTS Lucid Lynx – Minimal (64 bit)

How do I increase the maximum number of mails a particular domain can send in one hour in WHM?

Tuesday, January 23rd, 2007

This can be done directly from WHM.

1. Click the link “Modify an account in WHM”
2. Select the domain and click the Modify button
3. Scroll down to the option “Hourly Email by Domain Relayed”
4. Enter the allowed number of mails per hour for that domain
5. Click Save