2017-02-01 25 views
0

geoipupdaterを使用してGeoIPデータベースを更新しようとしています。Maximind geoipupdate mmdb.gzは有効なgzipファイルではありません

私はCityCountryデータベースのダウンロード/更新なっているgeoipupdateを実行すると、以下のProductIds

ProductIds GeoIP2-City GeoIP2-Connection-Type GeoIP2-Country GeoIP2-ISP 

Geoipupdateバージョン2.3.1を使用すると、

geoipupdate -V 
geoipupdate 2.3.1 

がインストールされています。しかし、ISPConnection-Typeアップデートの場合、私はアップデータから次の出力を得ました。

url: https://updates.maxmind.com/app/update_secure?db_md5=00000000000000000000000000000000&challenge_md5=0926a7ab0bf38eafe43622a25fd6e7e2&user_id=*****&edition_id=GeoIP2-Connection-Type 
/usr/share/GeoIP/GeoIP2-Connection-Type.mmdb.gz is not a valid gzip file 

url: https://updates.maxmind.com/app/update_secure?db_md5=00000000000000000000000000000000&challenge_md5=0926a7ab0bf38eafe43622a25fd6e7e2&user_id=*****&edition_id=GeoIP2-ISP 
/usr/share/GeoIP/GeoIP2-ISP.mmdb.gz is not a valid gzip file 

ダウンロードした.gzファイルが有効ではないのはなぜですか?

ありがとうございます!

+0

私は[email protected]に連絡することをお勧めします –

答えて

0

同じエラーが発生しましたが、期限切れのサブスクリプションが原因でした。

/my_path/data/GeoIP2-City.mmdb.gz is not a valid gzip file 

私はあなたが「本当のエラー」を参照してくださいgeoipupdateによって生成されたURLを呼び出すことをお勧めしたいです。

curl -i "https://updates.maxmind.com/app/update_secure?db_md5=00000000000000000000000000000000&challenge_md5=f2d60fa3afdaa26b18dd94457a999999&user_id=******&edition_id=GeoIP2-City" 

HTTP/1.1 200 OK 
Date: Tue, 21 Feb 2017 08:38:13 GMT 
Content-Length: 59 
Content-Type: text/plain; charset=utf-8 

Invalid product ID or subscription expired for GeoIP2-City 
関連する問題