How to resolve Failed to open a session for the virtual machine Error code :0x80004005 with Pictures




In the Windows operating system try to open Linux machines so will try with Virtual Machines, Virtual Box. But some times I opened Virtual Box got this type of Error code: 0x80004005 on Windows.

Here are simple steps to resolve this error code with screenshots.

Step 1: Open Virtual Box with Run as administrator. Then it showing below snapshot error: 0x80004005 belongs to Failed to open a session for the virtual machine. Check with this error correct or not.

Step 2:  After the check, this type of error on top of the left showing options are like New, Settings, Start button. Now, go with Start button then choose options from Strat button.




Step 3: After clicks on Select button options go with the Headless Start option. Click on Headless start button simply.

Step 4: After click on Headless start button. It will automatically redirect to again Start button. So now click on Start button simply. Now, start button acts like a Headless start button.

Step 5: Now, the issue may be solved. If an issue is still pending then close it Virtual Box. Then open with Headless start option. It means that Restart the Virtual Box.

Note: If successfully done with above steps then login with your Virtual Box credentials. If an error is still pending failed to open a session for the virtual machine Error code: 0x80004005 then first restart Virtual Box after that restart Windows operating system also.



Summary: Nowadays VirtualBox usages are rapidly increasing due to needs to another machine along with other operating systems. Everyone wants to Windows and Linux machine in Computer so Virtual Boxes are needy. Sometimes Virtual Box gets some issues like Network issue with error code. Here is Virtual Box starting problem with Error code: 0x80004005. So provided resolutions with pictures for easily solve to the issue.

How to Install Ubuntu\Linux on VirtualBox

Virtual Box is a open source hosted hyper visor for PCs developed Oracle it handles running multiple operating systems simultaneously.

You have Windows operating system but you want to Ubuntu but you don’t need along side with your windows so first install Virtual box after that will go with Ubuntu iso installation.


How to Install Ubuntu on Virtual Box Simple Steps for beginners

Step 1: Open Virtual Box and Click on New button.

 

Step 2: Enter your operating System Name dependents upon Ubuntu/Linux or Fedora  your operating system

 

 

Step 3: Select your Memory size depends on your machine Hard Disk.

 

 

Step 4:  After that Click on Create a Virtual hard disk

 

 

Step 5: Choose your option whether your file belongs whether Image file or Disk file

 

 

Step 6 : Storage on Physical hard disk select Dynamically allocated because some times Fixed size is not comfortable

 

 

Step 7: Select File location and Size for per your requirement

 

 

Step 8: Right click on your Ubuntu/Linux image then will go with start

 

 

Step 9: After that start button click on Normal Start

 

 

Step 10: Browse your Ubuntu iso file

 

Step 11: If you need any changes press F12 boot device other wise leave it

 

 


Step 13: Loading ISO file

 

 

Step 14: Click on Install Ubuntu will go with next steps

 

 

Step 15: Check the “Erase disk and Install Ubuntu in Virtual Box.

 

 

Step 16: Create User name and Password

 

 

Step 17: After Installation Complete Restart Now 

 

 

Step 18: Enter your Password

 

 

Step 19: Successfully completed Ubuntu\Linux on Virtual Box

 

 

Step 20: If you want to close your Virtual Machine click on Power off the machine

 

 

In this video explain how to install Ubuntu along side Windows on Virtual Box simple steps :

 

 

Virtual Box now a days more popular because it is open source software and installed many hosts depends upon your machine and it uses without any risk and incredible reliable and run it simple.

How to Install SpringToolSuite(STS) with Scala on Windows 7/8/10




Java is an open source programming language for software developers and coming to Spring Boot is an advanced framework in Spring. So how to develop in using Spring Tool Suite IDE in a simple way. Here is how to install STS simple steps and how to install SCALA on Spring Tool Suite IDE. Mainly how to integrate Scala with STS for Scala developers without Scala IDE.

In this STS both using Java developers as well as Scala developers.

Prerequisites: Java (JDK 1.7) is mandatory to install STS along with SCALA.

How to Install STS with SCALA on Windows:

Step 1: Download STS  zip file from spring official website

https://spring.io/tools/sts/all

Step 2: After downloading Spring Tool Suite zip file then extract that then Open STS directory file click on STS icon below like this.

Step 3:  Run that file then Select a directory as a workspace and browse your directory.

Step 4: After that open workspace spring Dashboard for more information.

Step 5: Go to Top menu bar and click on Help option then click on Eclipse Marketplace.



Step 6: After open Eclipse Market Place then search Scala IDE and click on Install option.

Step 6: Click on I Accept Apache License & agreement then Click on Finish button.

Step 7: After that Restart Spring Tool Suite IDE then start with SCALA simply.

Above steps are simple to integrate SCALA in Eclipse or Spring Tool Suite for developers. If you don’t need this type SCALA installation then go with SCALA IDE from Scala official website.

How to Install Hadoop in Ubuntu/Linux in Single Node Cluster

Now a days most emerging technology Hadoop. Is a solution for Big data to store and processing large amount of data. For storage purpose HDFS and Processing in Map Reduce but now a days Map Reduce are not used. Will move to Apache Spark for processing and 100% better than Map Reduce because it is based on c

Step 1: First step we need to update the “System Software Repositories” using below command:



sudo apt-get update

Step 2: Next will Install java-1.8 version using below command.

sudo apt-get install openjdk-8-jdk

Step 3: After that check Java Version using below command:

java -version

Step 4: We must and should Install ssh using below command

sudo apt-get install ssh

Password Less SSH Communication, enter the below commands at any terminal:

ssh localhost

ssh-keygen -t rsa -P ” -f ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

 

STEP 5: Download Hadoop-2.6.0 version tar ball from Apache Mirrors from Apache official website

STEP 6: Extract the copied tar ball using below command:

tar -xzvf hadoop-2.6.0.tar.gz

Below are the Total Configuration files in ‘Hadoop’ directory

STEP 7: We must and should to do edit the below 8 configuration files as part of HADOOP Installation:
1. core-site.xml

2. mapred-site.xml

3. mapred-env.sh

4. yarn-site.xml

5. hdfs-site.xml

6. hadoop-env.sh

7. yarn-env.sh

8. slaves

 

STEP 8: Open  core-site.xml file, add the below  properties

STEP 9: Open “hadoop-env.sh” file and update JAVA_HOME path

 

STEP 10: Open mapred-env.sh and update JAVA_HOME

STEP 11: Open hdfs-site.xml  file and add the below properties:

STEP 12: Open mapred-site.xml and update the framework architecture details as “yarn”

STEP 13: Open yarn-env.sh and update JAVA_HOME path in that file

STEP 14: Open yarn-site.xml and add the below properties to configure “Resource Manager”.

STEP 15: Open slaves file and to check whether the hostname is localhost or not

STEP 16: Update and Set JAVA_HOME, HADOOP_HOME & PATH variables:

export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64

export HADOOP_HOME=/home/gopalkrishna/INSTALL/hadoop-2.6.0

export PATH=$PATH:$JAVA_HOME/bin:$HADOOP_HOME/sbin

STEP 17: To check the bashrc changes, open a new terminal and type the below command:

echo $HADOOP_HOME

STEP 18: Before starting Name Node, we must have to format the name node using below command:



hadoop namenode -format

STEP 19: To start all the daemons of hadoop in 2.X.X use “start-all.sh” command

Step 20: How to check Name node, Node manager, Data node running or not will use below command:

simply using:  jps

STEP 21: To Access the Name Node information in GUI using below link in your systerm

http://localhost:50070

STEP 22: To Start Job History Server in Hadoop Cluster using below command

mr-jobhistory-daemon.sh start historyserver

STEP 23: To Access Resource Manager in Hadoop cluster:

localhost:8088

STEP 24: To Access Job History Server in Hadoop Cluster

localhost:19888

STEP 25: To stop all the daemons of hadoop in 2.X.X use “stop-all.sh” command

STEP 26: To Stop Job History Server in 2.x.x.

mr-jobhistory-daemon.sh stop historyserve

How to Install Scala on Hadoop in Linux




Nowadays most familiar functional programming language is Scala. Scala likes a Java but little bit different. When Apache Spark enter into a picture SCALA is most scalable. Here some steps for Scala installation

Step 1: Download the Scala tarball from scala official website in your machine.

After downloading tarball will put into your Hadoop related path then will follow below step
Step 2: Extract the tar ball using below command:

tar -xzvf scala-2.11.8.tgz for extract the scala tarball

Get Scala file check whether files are there or not. Will go next step

Step 4: Update the SCALA_HOME & PATH variable in bashrc file

After an update, the SCALA_HOME and PATH will automatically environment variables are taken by the .bashrc file

Step 5: After bashrc changes, open a new terminal and check the bashrc changes using ‘ echo $SCALA_HOME  ‘ command

Open a new terminal and check above command whether scala home is updated or not

Step 6: After that Check Scala version    


How to Install Kafka on Ubuntu/Linux in Hadoop

Apache Kafka is a open source stream-processing software application developed by Apache Foundation. Here simple steps for Installation in Ubuntu\Linux operating system on Hadoop Eco system

Step 1: First step Download the Kafka tar ball from Apache Mirrors from apache official website

http://apache.mesi.com.ar/kafka/0.10.1.1/

Place If we need a specific hadoop directory  create and copy the Kafka tar ball into that directory.

Step 2: After download the kafka tar ball Extract the tar ball using below command:

tar -xzvf kafka_2.10-0.10.2.1.tgz

After extracting Apache Kafka you got Kafka Folder(Directory) including lib files and configuration files.



Step 3: After extraction Kafka tar ball we see Kafka directory 

Will need Apache kafka update the kafka home and path variables in .bashrc file follow below step simply.

Step 4: Update the KAFKA_HOME & PATH variable in bashrc file:

Step 5: After bashrc changes, open a new terminal and check the bashrc changes using ‘ echo $KAFKA_HOME  ‘ command

Apache Kafka majorly messaging system like Producers are process that publish data into Kafka topics to Consumers with the brokers. Consumer of  topics pulls the message off a topic.

After completed of Kafka Installation successfully will go to start and stop Kafka broker using below simple commands

Goto

Apache Kafka home directory and execute the command:

./bin/kafka-server-start.sh

How to stop Kafka broker through the below command :

./bin/kafkaserver-stop.sh

 

How to Fix Windows Defender(Micro Essential) Error Code : 0x80073b01

        Windows Defender (Micro Essential) :

In Windows operating system Windows Defender is a security essentials part to protect windows from Malware and Viruses. If viruses corrupt the file system like error code: 0x80073b01 of Windows Defender or Micro Essential.

In this error generally appears due to corrupted installation of Windows Defender or Micro Essential in Windows operating system.

How to Resolve Above Error code : 0x80073b01


Find below simple steps to solve the error in windows defender in windows XP /7/8/8.1/10 :

=> Edit Registry  and Repair Registry

Step 1: Open Windows Registry Editor: Press Windows Key+R to open Run

Step 2: Type : Regedit and hit Enter

Step 3HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\Current Version\Image                       File Execution Options\”

Step 4: After that delete the entry ” msseces.exe 

Step 5 “HKEY_CURRENT_USER\Software\Microsoft\Windows\Current                                              Version\Policies\Explorer\DisallowRun” 

Step6: And delete the entry “msseces.exe

Step7: After completion of above steps then simply Restart the Windows xp/7/8/8.1/10

Check whether error code remove or not . If in the case it is not remove use PC Repair tool 

Step 1: Download and Install PC Repair tool

Step 2: After that Click on “Scan” button  to diagnose the PC

Step 3: Click the “Fix Errors”, to the fix the errors in windows defender.

Finally Windows defender is Anti-Virus software that protects to your system from virus attacks. Windows Defender most powerful Anti-spyware to remove all Malware.

 
 

How to resolve Google Chrome Crashes

At present sometimes google chrome showing Aw, Snap! error so how to solve this errors simply

  1. Check in your chrome crashes in google chrome

2. Type in browser: chrome://crashes


If no crashes showing like this 

3. If Crashes in your  google chrome showing like this

 

Please check above if errors are there in your google chrome then start or stop automatically reporting errors and crashes following below steps:

  1. Open your Google Chrome
  2. At the top right, click more : > Settings
  3. After that at the bottom showing :> Show advanced settings
  4. Under “privacy”, check or un check the box for ” Automatically send usage statistics and crash reports to Google”

(OR)

  1. Using Chrome Cleanup Tool  simple way to stop the google chrome crashes

How To Access Blocked Websites




In some colleges, offices are not accessing needed content so we need to use that content page. But we get errors like a blocked website, error not found like this.

Below methods are used for open which website is blocked and which website is an error like restrict the page while browsing the internet.

 1. Use Proxy Websites:

Restricting your access to some particular websites. At the times, you need a way to access the blocked websites and in those situations, proxy websites act as a rescue method.

Below websites are used for proxy servers for unauthorized access for any website.

https://www.proxysite.com
Proxy
http://kproxy.com/

   2. Use IP Rather Than URL

The blocked website sometimes are stored as a list of URLs and using IP of the website might work in a few of the cases. To get the IP address for any website, you do a ping command in command prompt (In Linux using Terminal) for the website is accessing or not for all users type:

check simple website whether it is working or not type below command in your command prompt.

ping www.google.com
ping www.facebook.com

 3. Change Network Proxy In Google Chrome:

Above two options are not possible then will go with below option through browsers like Google Chrome or Firefox etc.

Will go with Google Chrome for change proxy.

1. Goto “Settings” Then Click on “Show Advanced Settings”

2.Click on “Change Proxy Settings” Then LAN Settings




3. Then Clickon “Use automatic configuration script and Use a proxy server”

 

Note: Above steps are worked for Mozilla Firefox also. In my perspective using google chrome.



Summary: Some of the colleges and offices are using Tor web browser but in India blocked that Tor browser due to insecurity issues. So will follow the above steps for simple access. Do not misuse while opening the blocked site.

How to remove Autorun.inf Virus in Windows

Now, a days most familiar virus attacking in Windows system Autorun.inf file so simply will remove from the system





Simple Method:

Step 1: right Click on Command Prompt then Run as Administrator

Step 2: Type cd\ then enter

Step3: Type attrib -s -h -r autorun.inf

If virus found(Autorun.inf or FAantivirus.vbs) file in the C drive then

Step 4: Tpye  del Autorun.inf file(FAantivirus.vbs)

(OR)

Using Autorun remove tool

Step 1: Download and Install Autorum remove tool

Step 2: Put USB into you system