/etc/cron.weekly/geoipupdate  
 2020年2月8日 午前 10:06:23
Received an unexpected HTTP status code of 401 from https://updates.maxmind.com/app/update_secure?db_md5=edb82339b28f9b51ce528dc438cf6098&challenge_md5=ad1e53d2fd245283077e39cb344292b5&user_id=0&edition_id=GeoLite2-Country: Invalid account ID ----------------------------------- バージョンを確認 [root@falcon21 ~]# geoipupdate -V geoipupdate 2.5.0 状態・内容確認 [root@falcon21 ~]# geoipupdate -v geoipupdate 2.5.0 Opened License file /etc/GeoIP.conf AccountID 0 LicenseKey 000000000000 Insert edition_id GeoLite2-Country Insert edition_id GeoLite2-City Read in license key /etc/GeoIP.conf Number of edition IDs 2 url: https://updates.maxmind.com/app/update_getfilename?product_id=GeoLite2-Country md5hex_digest: edb82339b28f9b51ce528dc438cf6098 url: https://updates.maxmind.com/app/update_getipaddr Client IP address: 203.181.3.94 md5hex_digest2 (challenge): ad1e53d2fd245283077e39cb344292b5 url: https://updates.maxmind.com/app/update_secure?db_md5=edb82339b28f9b51ce528dc438cf6098&challenge_md5=ad1e53d2fd245283077e39cb344292b5&user_id=0&edition_id=GeoLite2-Country Received an unexpected HTTP status code of 401 from https://updates.maxmind.com/app/update_secure?db_md5=edb82339b28f9b51ce528dc438cf6098&challenge_md5=ad1e53d2fd245283077e39cb344292b5&user_id=0&edition_id=GeoLite2-Country: Invalid account ID HTTP 401 Unauthorized は、有効な認証資格が不足していることによりリクエストが適用されないことを示す [root@falcon21 ~]# vi /etc/GeoIP.conf 1 # Please see http://dev.maxmind.com/geoip/geoipupdate/ for instructions 2 # on setting up geoipupdate, including information on how to download a 3 # pre-filled GeoIP.conf file. 4 5 # Enter your account ID and license key below. These are available from 6 # https://www.maxmind.com/en/my_license_key. If you are only using free 7 # GeoLite databases, you may leave the 0 values. 8 AccountID 0 9 LicenseKey 000000000000 10 有料アカウントが要るらしい。 ------------------------------------------ 2019年 12月30日に、ダウンロードはGeoLite2の公開ページ、geolite.maxmind.com / download / geoip / database / *、 または他の公開URLから提供されなくなります。 GeoLite2データベースの使用を継続するには: 1 . 新しいGeoLite2 EULAを確認します。 2. MaxMindアカウントにサインアップします。 起動状態確認 [root@falcon21 ~]# systemctl restart crond [root@falcon21 ~]# systemctl status crond crond.service - Command Scheduler Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled; vendor preset: enabled) Active: active (running) since 土 2020-02-08 09:09:58 JST; 12s ago Main PID: 20992 (crond) Tasks: 1 CGroup: /system.slice/crond.service └─20992 /usr/sbin/crond -n 2月 08 09:09:58 falcon21.space systemd[1]: Started Command Scheduler. 2月 08 09:09:58 falcon21.space crond[20992]: (CRON) INFO (RANDOM_DELAY will be scaled with factor 52% if used.) 2月 08 09:09:58 falcon21.space crond[20992]: (CRON) INFO (running with inotify support) 2月 08 09:09:58 falcon21.space crond[20992]: (CRON) INFO (@reboot jobs will be run at computer's startup.) しばらく、/etc/cron.weekly/geoipupdateをリネーム・停止して、様子見。 [root@falcon21 ~]# mv /etc/cron.weekly/geoipupdate /etc/cron.weekly/geoipupdate_back
投票数:0 平均点:0.00

 
Back to Top