Category: cPanel/WHM

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 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

Feb 18

Mail Client Configuration shows incorrect server name

Sometimes it happen the Mail Client Configuration(cPanel > Email Accounts > any email account in list > More > Configure Email Client) option generates incorrect server name under “Secure SSL/TLS Settings” The server name can be corrected in the following files of cPanel. /var/cpanel/ssl/dovecot-CN /var/cpanel/ssl/exim-CN /var/cpanel/ssl/courier-imapd-CN /var/cpanel/ssl/courier-pop3d-CN

Feb 18

Slow downloading speed from server

This can be of many reasons, might be due to server load, firewall etc. Basically we check these areas when slow downloading speed occurs 🙂 But I have identified one uncommon and not easily notifiable thing on my server regarding with my public Ethernet interface. Please see the following result. ———————- # ethtool eth0 Settings …

Continue reading

Feb 18

ERROR : Can’t locate Net/SNMP.pm in @INC

Recently I met with an error in server while checking traffic in and traffic out plugin for monitoring system(Nagios). ———– Can’t locate Net/SNMP.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/local/nagios/libexec/check_bw_snmp_out line 16. BEGIN failed–compilation aborted at /usr/local/nagios/libexec/check_bw_snmp_out line 16. ———– This can be easily fixed by installing Net::SNMP Try, #cpan …

Continue reading

Feb 18

Warning: unable to lock IP traffic monitor on (null)

I got the following error when I tried to open “iptraf” tool to monitor by server traffic levels. Warning: unable to lock IP traffic monitor on (null) This can be fixed by doing #mkdir -p /var/lock/iptraf

Jan 18

SSI(Server Side Include) Not Working

SSI (Server Side Includes) are directives that are placed in HTML pages, and evaluated on the server while the pages are being served. SSI is to include the contents of one or more files into a web page on a web server. For example, a web page containing a daily quotation could include the quotation …

Continue reading

Jan 16

Install EAccelerator

eAccelerator is a free open-source PHP accelerator, optimizer, and dynamic content cache. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of …

Continue reading

Dec 24

Unable to SU to root

The error “ -bash: /bin/su: Permission denied ” you get while trying to su to root after logged as sudo because of the incorrect permission of “ /bin/su “. Make sure you have given correct permission as follows: —————– # chmod 4750 /bin/su # ll /bin/su -rwsr-x— 1 root wheel 24312 Mar 21 2012 /bin/su* …

Continue reading