GeoIPのDatabaseの更新 2020年2月6日 午後 7:37:46 ----------------------------------- [root@falcon21 ~]# yum -y install geoipupdate [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 [root@falcon21 ~]# ls -l /usr/share/GeoIP/ 合計 153876 -rw-r--r-- 1 root root 1242574 8月 8 21:04 GeoIP-initial.dat -rw-r--r-- 1 root root 0 2月 6 18:50 GeoIP.dat -rw-r--r-- 1 root root 19 11月 1 16:35 GeoIP.dat.test lrwxrwxrwx 1 root root 17 11月 4 11:38 GeoIP.dat_org -> GeoIP-initial.dat -rw-r--r-- 1 root root 4638365 8月 8 21:04 GeoIPASNum-initial.dat -rw-r--r-- 1 root root 0 2月 6 18:50 GeoIPASNum.dat -rw-r--r-- 1 root root 5628114 8月 8 21:04 GeoIPASNumv6-initial.dat lrwxrwxrwx 1 root root 41 11月 23 2018 GeoIPASNumv6.dat -> /usr/share/GeoIP/GeoIPASNumv6-initial.dat -rw-r--r-- 1 root root 20539238 8月 8 21:04 GeoIPCity-initial.dat lrwxrwxrwx 1 root root 38 11月 23 2018 GeoIPCity.dat -> /usr/share/GeoIP/GeoIPCity-initial.dat -rw-r--r-- 1 root root 21684452 8月 8 21:04 GeoIPCityv6-initial.dat lrwxrwxrwx 1 root root 40 11月 23 2018 GeoIPCityv6.dat -> /usr/share/GeoIP/GeoIPCityv6-initial.dat -rw-r--r-- 1 root root 2322773 8月 8 21:04 GeoIPv6-initial.dat -rw-r--r-- 1 root root 0 2月 6 18:50 GeoIPv6.dat -rw-r--r-- 1 root root 3640181 10月 29 04:54 GeoLite2-ASN.tar.gz -rw-r--r-- 1 root root 61615395 12月 27 11:51 GeoLite2-City.mmdb -rw-r--r-- 1 root root 30175765 10月 29 06:49 GeoLite2-City.tar.gz -rw-r--r-- 1 root root 4033189 12月 27 11:51 GeoLite2-Country.mmdb -rw-r--r-- 1 root root 2018679 10月 29 06:43 GeoLite2-Country.tar.gz -rw-r--r-- 1 root root 0 2月 6 18:50 GeoLiteCity.dat [root@falcon21 ~]# crontab -e 0 12 * * 4 /bin/geoipupdate [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-06 19:09:31 JST; 16min ago Main PID: 24797 (crond) Tasks: 1 CGroup: /system.slice/crond.service └─24797 /usr/sbin/crond -n 2月 06 19:09:31 falcon21.space systemd[1]: Started Command Scheduler. 2月 06 19:09:31 falcon21.space crond[24797]: (CRON) INFO (RANDOM_DELAY will be scaled with factor 32% if used.) 2月 06 19:09:31 falcon21.space crond[24797]: (CRON) INFO (running with inotify support) 2月 06 19:09:31 falcon21.space crond[24797]: (CRON) INFO (@reboot jobs will be run at computer's startup.) ------------ |
投票数:14
平均点:10.00