Friday, September 6, 2013

Juniper VPN: sysdeps.error Failed to open /etc/resolv.conf with error 2 (sysdeps.cpp:715)



In my work we use a Juniper client for the VPN connection. Suddenly, I started getting problems to connect. It was like it was going to connect normally but at the end it was exiting like if I was doing it, showing the message that connection was closed successfully. 

Checking the logs I realized of this error:

ncsvc[p10461.t10461] sysdeps.error Failed to open /etc/resolv.conf with error 2 (sysdeps.cpp:715)

I went to check, and effectively this file  /etc/resolv.conf didn't exist. So I created an empty one (in my case it was a broken symlink). And voilĂ ! Problem solved.




No comments:

Post a Comment