Saturday, January 5, 2013

HTTP Status 417 Error

Sometimes your applications shows "HTTP Status 417 Error".
The reason is Http use the “Expect: 100- continue” Header.
Firewall or proxy blocks this header when you use those applications.
If you are using squid enabled proxy or firewall, do the below steps to enable this header in proxy.
1. Open Terminal
2. Type the below steps in terminal
  • Login as root user ( By type "su root" command in terminal. Give root password then press enter)
  • vi /etc/squid/squid.conf ( To edit the squid.conf file )
  • If you don't know the location of squid.conf file type the below command in terminal.
  • "find / -name squid.conf ". It will show the location of squid.conf file. Then do the second step to edit the squid.conf file.
  • Add this line " ignore_expect_100 on " in squid.conf file.
  • Then Press esc :wq then press enter ( To save and quit the file )
  • Then restart the service using the below command
  • service squid restart (or)
  • /etc/init.d/squid restart
3. Now your application works fine

Cannot Open dndlog.conf file

In Vmware Workstation, sometimes the dndlog.conf file will be deleted automatically.
The reason for deletion is, you may close the virtual machine abrubtly when the Operating System is in process.
It's not a big issue.
The following steps are used to solve this issue.

In Windows XP : 

Error :  
Cannot open file "C:\Users\All Users\Application Data\VMware\dndlogs\dndlog.conf": The system cannot find the path specified.

Solution :
1. Open Command Prompt (Press winkey+r and type cmd then press enter) 
2. After that type the below two steps in command prompt
  • mkdir "C:\Users\All Users\Application Data\VMware\dndlogs"
  • echo > "C:\Users\All Users\Application Data\VMware\dndlogs\dndlog.conf"
3. Now open Vmware Workstation and run the OS. It will be working fine.

In Windows 7 : 

Error : 
Cannot open file "C:\ProgramData\VMware\dndlogs\dndlog.conf": The system cannot find the path specified.

Solution :
1. Open Command Prompt (Press winkey+r and type cmd then press enter)
2. After that type the below two steps in command prompt
  • mkdir C:\ProgramData\VMware\dndlogs
  • echo > C:\ProgramData\VMware\dndlogs\dndlog.conf 
3. Now open Vmware Workstation and run the OS. It will be working fine.

In Linux OS :

Error :  
Cannot open file "~/.vmware/dndlogs/dndlog.conf": The system cannot find the path specified.

Solution : 
1. Open the terminal
2. After that type the below two steps in terminal
  • mkdir ~/.vmware/dndlogs
  • touch ~/.vmware/dndlogs/dndlog.conf
3. Now open Vmware Workstation and run the OS. It will be working fine.