Friday, August 9, 2013

Windows could not start because the following file is missing or corrupt : SOLVED

Many time we start Windows XP & got a black screen with some error like 

Windows could not start because the following file is missing or corrupt
\WINDOWS\SYSTEM32\CONFIG\SYSTEM
\WINDOWS\SYSTEM32\CONFIG\SOFTWARE
\WINDOWS\System32\HAL.dll
\WINDOWS\System32\Ntoskrnl.exe
NTLDR IS MISSING
INVALID BOOT.INI
OR may be any other file is missing

SOLUTION
Solution is very simple
Just insert the Windows XP CD & boot the computer with it
On "Welcome to Setup" just press the R button to start Recovery Console
Select your OS (Generaly 1 if you don't have dual boot OS)
When prompted for password type Administrator password (Press enter if you didn't set any password)
At the Recovery console type these commands
C: CD ..
C: ATTRIB –H C:boot.ini
C: ATTRIB –S C:boot.ini
C: ATTRIB –R C:boot.ini
C: del boot.ini
C: BOOTCFG /Rebuild

After Rebuild type below command to fix any error with HDD
C: CHKDSK /R /F 
C: FIXBOOT
“Sure you want to write a new boot sector to the partition C: ?” press “Y”
C: EXIT
Enter

& It's Done.. Your Windows is now started

Enable Restrictions on iPhone/iPad/iPod to stop App-Purchases

You got a SMS that this amount has credited from your credit card no. in App purchase & later known that your brother/cousin or any other family member had spend money from your credit card on Apple App-store.

Solution

You need to enable Restrictions also known as Parental Controls, to stop this

Tap on Setting App
Go to General & tap on Restrictions
Enable & it will ask you to set a passcode
Just enter any passcode twice to set it (Don't share this passcode with people you don't want making in-app puchase)
Once the passcode is set, Slide the In-App Purchase slider to off

Now don't worry about misuse of your credit card. Let your cousins play games or watch movies on your IOS device

But remember don't share the restrictions password with anyone.

Thursday, August 8, 2013

How to Solve “The program can’t start because MSVCR71.dll is missing” Error in SQL Developer




Oracle SQLDeveloper on Windows 7 is not working after upgrading it to 3.2. 
When I am trying to run, it shows "This application failed to start because MSVCR71.dll was not found. Re-Installing the application may fix this problem."


SOLUTION
Fixing this problem is very simple, just copy the file “sqldeveloper\jdk\jre\bin\msvcr71.dll” to folder “%WinDir%\System32\″

 Suppose the windows installed at C drive then copy the MSVCR71.dll file to "C:\Windows\System32" folder

& It start working again...:)

Friday, April 19, 2013

SSH Login without Password

You can login to a remote Linux server without entering password.

Run ssh-keygen commands to creates the public and private keys on the client machine

[bhagwat@it .ssh]$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/bhagwat/.ssh/id_rsa): PRESS ENTER
Enter passphrase (empty for no passphrase): PRESS ENTER
Enter same passphrase again: PRESS ENTER
Your identification has been saved in /home/bhagwat/.ssh/id_rsa.
Your public key has been saved in /home/bhagwat/.ssh/id_rsa.pub.
The key fingerprint is:
5a:ac:52:83:fc:03:d9:d9:d3:cb:d7:41:66:c5:1c:d8 bhagwat@it
The key's randomart image is:


[bhagwat@it .ssh]$ 




Now you have ssh keys stored at .ssh folder of user
Just copy the key inside the id_rsa.pub file 

Go to Server & open ~/.ssh/authorized_keys file
Paste the copied key from client & It's done 

If you are still trouble in login Just change the permission on authorized_keys file of server to below :
chmod 640 authorized_keys


* To allow root access with SSH Keys only please change the below setting  in/etc/ssh/sshd_config
PermitRootLogin without-password


* To Disable root access for all users 

PermitRootLogin no



 

Tuesday, April 16, 2013

How to Install phpmyadmin in Centos - Manually

I always prefer to install it manually

First install apache, php & php-mysql

yum install  httpd php php-mysql

Download phpMyAdmin & extract it at /var/www/html location

cd /var/www/html
wget http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/3.5.8/phpMyAdmin-3.5.8-all-languages.zip

unzip  phpMyAdmin-3.5.8-all-languages.zip

Now RENAME the folder 

mv phpMyAdmin-3.5.8-all-languages/ phpmyadmin

Change Permission
chmod -R 755 phpmyadmin


Rename the Config File
cd phpmyadmin

mv config.sample.inc.php config.inc.php

Restart Apache
/etc/init.d/httpd restart

Open your browser & type

http://<Your IP address>/phpmyadmin/index.php



It's Done




Tuesday, March 26, 2013

"Error 638: The remote server is not responding in a timely fashion."

 

Error 638: The remote server is not responding in a timely fashion", when I try to connect TATA Photon+
OR
TATA Photon+ is just showing freeze at connecting only
SOLUTION

On the computer go to 
  • Windows XP - Start > Control Panel > Network Connections
  • Windows Vista - Start > Control Panel > Network and Sharing Center > Manage Network Connections
  • Windows 7 - Start > Control Panel > Network and Sharing Center > Change Adapter Settings
At the top click the Advanced menu
Uncheck Operator-Assisted Dialing if it is checked (Click it to uncheck)

It start Working now......:)