Showing posts with label troubleshoot. Show all posts
Showing posts with label troubleshoot. Show all posts

Thursday, August 16, 2012

Evolution Of Blue Screen

The blue screen often referred as the blue screen of death occurs when a critical error occurs. We often pull our hair when we see this screen. What I have experienced after a blue screen comes is that it starts to come more often. The error is normally a non recoverable one. Once i tried reading what the blue screen conveys and it never gave what exactly the problem was. Below is a typical blue screen message:
The windows 8 blue screen is kinda cute though :)

Wednesday, July 4, 2012

cPanel Fantastico Install Error : Solved (Warning: mysql_connect() [function.mysql-connect]: Access denied for user @'localhost' (using password: YES) in /tmp/cpanel_phpengine)

I encountered with this error while trying to install Drupal via fantastico in cPanel. This error replicates for wordpress or any other 3rd party application which you try to install via fantastico.

The reason for this error is the password mismatch of cpanel and mysql. To fix this error login to cPanel and take change password under Preferences and change your password to a new one. Make sure that you check the box "Allow MySQL password change" as shown below:
Now retry the installation and this will work. :)

Wednesday, May 30, 2012

Revocation information for the security certificate for this site is not available. Do you want to proceed?

When i installed Java with windows XP a pop up notification started to come at regular intervals saying "Revocation information for the security certificate for this site is not available. Do you want to proceed?" as shown below :
After searching internet i found many solutions and the best solution is just a few clicks away. Go to this link and click fix this problem. You will be prompted to download a file. Proceed by downloading this file and running it. After the file is run restart your system for the effect to take place.

Friday, May 25, 2012

OpenVZ main node error

I rebooted VPS main node and when i give the vps listing command its giving me errors. Please see below for the exact error message:
[hari][$] vzlist -a
Unable to open /proc/vz/veinfo: No such file or directory
Unable to open /proc/user_beancounters: No such file or directory

After googling for a few minutes i found that i rebooted the server to wrong kernel. I made the change in grub.conf and rebooted the server to fix this error. Please see below the exact steps to resolve this issue. 

[hari][$] cat /etc/grub/grub.conf | grep stab
title CentOS (2.6.32-042stab053.5)
kernel /vmlinuz-2.6.32-042stab053.5 ro root=/dev/mapper/vg_179-lv_root nomodeset rd_NO_LUKS rd_MD_UUID=90d05456:5cf49c55:aa2da9fc:f4b9ed2b LANG=en_US.UTF-8 rd_LVM_LV=vg_179/lv_swap quiet SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto rd_LVM_LV=vg_179/lv_root rd_NO_DM KEYBOARDTYPE=pc KEYTABLE=us rd_MD_UUID=7283aea2:e08d4c5d:93ee888c:eaa32978
initrd /initramfs-2.6.32-042stab053.5.img

Select this Kernal from grub when the system reboots if you have KVM else open  /etc/grub/grub.conf and give default as this kernal.

In my case i had 3 kernels:
-----------
 kernel /vmlinuz-2.6.32-220.7.1.el6.x86_64 ro root=/dev/mapper/vg_179-lv
 kernel /vmlinuz-2.6.32-042stab053.5 ro root=/dev/mapper/vg_179-lv
 kernel /vmlinuz-2.6.32-220.el6.x86_64 ro root=/dev/mapper/vg_179-lv
-----------
The kernel with stab is 2nd one. Hence i gave
default=1
timeout=5
in grub.conf file. default=1 because the numbering goes like 0,1,2..

[hari][$] reboot
or
[hari][$] init 6


While the server goes for reboot pray to god ;) When the server is up thank god :D 

Wednesday, May 23, 2012

Failed to load Inline module


Today while going through the error log of a server. The logs were flooding with this error. Actually its not an error its just a warning.
# tail -f /var/log/httpd/error_log
[Tue May 22 21:00:16 2012] [error] [client 78.50.114.80] Failed to load Inline module for best performance. at ./split_dyn.pl line 11., referer: http://domain.com/sblogin/login.shtml/members/

On searching found that  Inline module is a perl module. We can install the Inline module by logging into the server as root and giving the following command.
# perl -MCPAN -e 'install Inline'
The installation will stop a few times for us to manually enter y / yes for a few questions. We can confim that the module is installed when we finally see this line.

Writing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Inline/.packlist
Appending installation info to /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
/usr/bin/make install  -- OK

Tuesday, March 20, 2012

Repairing Database and Tables

MyISAM was the default storage engine for the MySQL. It is based on the older ISAM code but has many useful extensions. The major deficiency of MyISAM is the absence of transactions support. Versions of MySQL 5.5 and greater have switched to the InnoDB engine to ensure referential integrity constraints, and higher concurrency.

Each MyISAM table is stored on disk in three files. The files have names that begin with the table name and have an extension to indicate the file type. MySQL uses a .frm file to store the definition of the table, but this file is not a part of the MyISAM engine; instead it is a part of the server. The data file has a .MYD (MYData) extension. The index file has a .MYI (MYIndex) extension.

I will now show how to repair the corrupted databases and tables. Usually the mysql files are stored in /var/lib/mysql. Hence navigate your way to the this location.


$ cd /var/lib/mysql
You can find all the databases in the server as folders in this location and enter the folder of the corrupted database.
$ cd db_name
To check and automatically repair all tables
$  myisamchk --silent --force --fast --update-state *.MYI.

If you only want to repair a specific table give the command below:
$ myisamchk -r table_name.MYI

Thursday, December 22, 2011

Fix wampserver when the icon stays on orange

Below is the solution on how to fix wampserver when the icon stays on orange

1. Open Control Panel then Network Connections.
2. Right click on Local Area Connection and select Properties
3. Double click on the Internet Protocol (TCP/IP) line to open the Properties
4. On the General tab, click the Advanced button
5. Click the wins tab and uncheck the Enable LMHOSTS Lookup box

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews