April 2013 archive

Apr 30

Disable Recursive DNS in cPanel server.

Edit the /etc/named.conf file After the “CONTROLS” section, add the following: acl “trusted” {; YOUR IP 1; YOUR IP2; }; options { directory “/var/named”; version “not currently available”; allow-recursion { trusted; }; allow-notify { trusted; }; allow-transfer { trusted; }; dump-file “data/cache_dump.db”; statistics-file “data/named_stats.txt”; memstatistics-file “data/named_mem_stats.txt”; }; Remove the other “OPTIONS” section in your …

Continue reading

Apr 17

How to Add SRV record?

The information provided to you for adding SRV record should be looking like as follows: My SRV record information ================== Record Type: SRV Service: _mytestingsrv Protocol: _tcp Port: 443 Weight: 0 Priority: 0 TTL: 300 Name: yourodmain.com Target: xyz.online.test.com =================== There is an order to add these records in zone file. Go to WHM >> …

Continue reading

Apr 17

Flush DNS cache in cPanel server

Just run the command ‘rndc flush’ via shell 🙂

Apr 16

Bug in PHP release version.

I came across the following error while “make” process during custom compilation of PHP. This is bug in its release which can rectified by applying a patch. ============ /usr/local/src/php_sources/php-5.4.5/ext/dom/node.c: In function dom_canonicalization: /usr/local/src/php_sources/php-5.4.5/ext/dom/node.c:1898: error: dereferencing pointer to incomplete ============ Download the patch “php1.patch” from the below URL. http://www.mediafire.com/?ii19zwu444z4o1z and execute the following command in the …

Continue reading

Apr 07

500 No response while loading cPanel

Sometimes the following would be the error generates when we try to load the cPanel of an account. ================== [2013-04-07 08:15:05 -0500] warn [cpanel] Failed to load cPanel user file for ‘cPanel_username’ at /usr/local/cpanel/Cpanel/Config/LoadCpUserFile.pm line 32 Internal Server Error: “GET /cpsess7952893738/frontend/x3/index.html?post_login=88039081253834 HTTP/1.1” 500 No response from subprocess ( (cpanel)) with exit signal: 255 ================== This …

Continue reading

Apr 02

HTTP not working, but HTTPS does in NGINX

Found an issue regarding with http url of site is not working, but sametime https does. Here the Nginx works as a Front End Proxy on port 80 for Apache. ——————- tcp 0 0 IP:80* LISTEN 2023/nginx tcp 0 0 IP:80* LISTEN 2023/nginx tcp 0 0 IP:80* LISTEN 2023/nginx tcp 0 0 …

Continue reading