Skip to main content

OnlineSupport4u

Disable Ipv6 on Centos-5

By Prasad Naik
July 26, 2016

On up-to-date RHEL5 or CentOS5 (currently that means 5.10 aka 5U10) Add the following line to /etc/sysctl.conf: net.ipv6.conf.all.disable_ipv6 = 1 1 net.ipv6.conf.all.disable_ipv6 = 1 On a live system you can disable it with: echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6 1 echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6

Read More

Disable Strict Mode mysql mariadb

By Prasad Naik
July 20, 2016

While working on WHMCS I was not able to generate tickets I found out issue was due to mysql being in strict mode I tried disabling mysql strict mode  by adding entries in  /etc/my.cnf sql_mode=”” However it didnt work out. I have found that there is a /usr/my.cnf file that is enabling strict mode on  […]

Read More

mysqldump: Error: ‘Out of resources when opening file ‘/tmp/#sql_466b_2.MAI’

By Prasad Naik
July 15, 2016

While creating of backup of mysql I was getting below error mysqldump: Error: ‘Out of resources when opening file ‘/tmp/#sql_466b_2.MAI’ (Errcode: 24 “Too many open files”)’ The error is due to Mysql exceeding the limit of open files on mysql So I just went ahead and saw the open file limit MariaDB [(none)]> SHOW VARIABLES […]

Read More

SSL connect attempt failed error

By Prasad Naik
July 12, 2016

While working on one of clients server I was getting below error while updating cpanel license in server root@hoskb [~]# /usr/local/cpanel/cpkeyclt Updating cPanel license…Done. Update Failed! Error message: Transition to SSL failed: SSL connect attempt failed error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed also while debugging did try yum update however I got an error as well root@host113 […]

Read More

No route to host: AH00056: connect to listener on [::]:443

By Prasad Naik
July 8, 2016

While working on one of clients server I came across one of  the errors in Apache error logs root@hosting [/usr/local/apache/logs]# tail -n 10 error_log [Thu Jul 07 23:28:49.791175 2016] [core:warn] [pid 1845] (113)No route to host: AH00056: connect to listener on [::]:443 The error was due to basically iptables blocking I went ahead and flushed […]

Read More

Strict standard error in PHP

By Prasad Naik
July 4, 2016

While working on one of clients website after migration from PHP 5.3 to PHP 5.6 I would see the error on “[01-Jul-2016 02:18:54 America/Chicago] PHP Strict Standards:  Declaration of Countries::getAttribute() should be compatible with CActiveRecord” On googling around I could see the issue was fixed by making changing few settings in php.ini Add & ~E_STRICT […]

Read More

An installation already exists softacalous

By Prasad Naik
July 4, 2016

While working on one server with cpanel I was facing this error where I was getting “An installation already exists softacalous” while installing an application via softacalous Where as in Softacalous I could not see any application installed. While debugging I  found the error was occuring from  in file /home/username/ .softaculous/ installations.php I went ahead […]

Read More

How-To disable IPv6 on RHEL6 / CentOS 6 / etc

By Prasad Naik
July 4, 2016

Proper way of disabling IPv6 subsytem in RedHat Linux 6 / CentOS 6 (dont unload modules or so) in /etc/sysctl.conf  :  net.ipv6.conf.all.disable_ipv6 = 1 in /etc/sysconfig/network  : NETWORKING_IPV6=no in /etc/sysconfig/network-scripts/ifcfg-eth0 : IPV6INIT=”no” disable iptables6 – chkconfig –level 345 ip6tables off reboot done   Without reboot it can be done using below command to disable IPV6 root@host121 [~]# echo […]

Read More

Apache Issue

By Prasad Naik
March 25, 2016

“Secure Connection Failed An error occurred during a connection to realtrafficsource.com. The OCSP server suggests trying again later. Error code: SEC_ERROR_OCSP_TRY_SERVER_LATER The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. Please contact the website owners to inform them of this problem.” Solution: Login […]

Read More

Find GPU or Graphical processing Unit in Linux

By Prasad Naik
February 20, 2016

While working on one of the issue we need to check if GPU is installed We got it using below command which shows type of CPU installed in cli mode [root@localhost ~]# lspci -vnn | grep VGA -A 12 07:0b.0 VGA compatible controller [0300]: ASPEED Technology, Inc. ASPEED Graphics Family [1a03:2000] (rev 10) (prog-if 00 […]

Read More

Find the Model Number of Network Card in Linux

By Prasad Naik
February 20, 2016

To find the model number of Network Interface Card installed in your Machine, you can use the lspci command. lspci command will list all detected PCI or PCIe hardware devices installed on your machine. So in order to find only network cards, you can run following command: We got it using below command on our […]

Read More

Installing lspci on CentOS

By Prasad Naik
February 20, 2016

lspci module is not installed on linux os by default you need to use below steps to install it [root@localhost ~]# yum install pciutils Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: yum.tamu.edu * extras: mirrors.cmich.edu * openvz-kernel-rhel6: openvz.jetfire.io * openvz-utils: openvz.jetfire.io * updates: centos.mia.host-engine.com Resolving Dependencies –> […]

Read More
1 3 4 5 8