GeoIP Databases will not install Errors

I’m trying to install GeoIP Databases in settings Geolocation.

Install runs for a good 10 mins and then shows
a fatal error occurred while downloading this file. There might be something wrong with your internet connection, with the GeoIP database you downloaded or Piwik. Try downloading and installing it manually.

When I click back to Geolocation I see these errors


WARNING UserCountry[2015-01-12 10:02:00] [88bff] /home/stats/public_html/core/Http.php(683): Warning - filesize(): stat failed for /home/stats/public_html/misc/GeoIPCity.dat.gz - Piwik 2.10.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING UserCountry[2015-01-12 10:02:00] [88bff] /home/stats/public_html/core/Http.php(679): Warning - fclose() expects parameter 1 to be resource, boolean given - Piwik 2.10.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING UserCountry[2015-01-12 10:02:00] [88bff] /home/stats/public_html/core/Http.php(678): Warning - fwrite() expects parameter 1 to be resource, boolean given - Piwik 2.10.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)
WARNING UserCountry[2015-01-12 10:02:00] [88bff] /home/stats/public_html/core/Http.php(677): Warning - fopen(/home/stats/public_html/misc/GeoIPCity.dat.gz): failed to open stream: Permission denied - Piwik 2.10.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)

Getting this error now
curl_exec: Couldn’t resolve host ‘geolite.maxmind.com’. Hostname requested was: geolite.maxmind.com