Error Reading File /usr/share/geoip/geoip.dat
not installed automatically when Webalizer is installed. The symptoms are that Webalizer statistics was not created and this error message is displayed when Webalizer is run: Error Opening file /usr/share/GeoIP/GeoIP.dat The solution is to install the missing package manually: apt-get install geoip-database Tagged on: apacheDebianwebalizer Till Controlpanels, ISPConfig 2, ISPConfig 3, Linux & Unix, Server, Webserver 3 Comments ← Send all outgoing email trough one IP address in postfix Messages, Loops and Pauses with Visual Basic Script → 3 thoughts on “Webalizer: Error Opening file /usr/share/GeoIP/GeoIP.dat on Debian Linux” pkSeptember 18, 2012 at 11:09 amPermalink thx 🙂 Solved problem with verlihub Reply ArnauMarch 5, 2013 at 6:44 pmPermalink I was crazy about a Froxlor task not working, just because GeoIP was not there! Thanks a lot! Reply JuanMay 22, 2013 at 1:06 pmPermalink Thanks a lot!. It solved the problem. Reply Leave a Reply Cancel reply Your email address will not be published. Required fields are marked *Comment Name * Email * Website CAPTCHA-Code Search Categories Basics CentOS Controlpanels Debian Distributions Email FTP iPad & iPhone ISPConfig 2 ISPConfig 3 Linux & Unix Mac OS X MySQL PostgreSQL Programming Server Ubuntu Uncategorized Virtualisation Vista Webserver Windows Windows 10 Windows 7 Windows 8 XP Tags7 apache boot change consumer Debian default delete desktop disable error files Firefox install ISPConfig 2 ISPConfig 3 key Linux & Unix Linux & Unix manager menu metro mint MySQL OpenVZ password postfix powershell preview registry remove screen script search Shell startup system Thunderbird Ubuntu virtualbox Vista Windows Windows 7 Windows 8 XP Pages Imprint Copyright © 2016 FAQforge. Powered by WordPress. Theme: Spacious by ThemeGrill. We use cookies to ensure that we give you the be
that make connections all over the world. Join today Community Community Home Getting Involved Chat Forum SupportPost installation Geo IP - not able to use MaxMinds GeoLiteCity.dat file Posted by Anonymous (not verified) on May 14, 2013 at 4:25pm Hello, I am trying to add Geo IP to a site im working on; i have used Context geo IP and Geo IP modules and am able to create a context based on a country. However i need to display content based on region/city. Im using MaxMinds' GeoIP.dat file (which i can get to work) but when http://www.faqforge.com/linux/webalizer-error-opening-file-usrsharegeoipgeoip-dat-on-debian-linux/ i try to use GeoLiteCity.dat file i get no region/city options - i cannot figure out how to use it. Has any one used this before and can perhaps point me in the right direction, e.g. tutorials, videos etc. Perhaps someone has used an alternative module that works 'out of the box'? Any advice would be greatly appreciated. Log in or register to post comments https://www.drupal.org/node/1994648 ⋅ Categories: Drupal 7.x Comments ... JamesOakley commented May 14, 2013 at 5:40pm I don't know about those two modules, but I've found I have most success putting the Apache module from MaxMind and/or the PHP Extension onto the server, then just using the server variables / PHP function library. What hosting are you on - do you have any control over such things? I could point you in the right direction for setting that up - if you have root access. Solid VPS providers that I've used and can recommend first-hand:  Managed VPS Providers  ||  Unmanaged VPS Providers Log in or register to post comments Doing some more digging JamesOakley commented May 15, 2013 at 9:49am Hi I've done a bit more digging First, I've found that installing GeoIP on a server (as PECL extension or Apache module), I need to rename GeoLiteCity.dat to GeoIPCity.dat for the relevant code to pick it up. It may be that you need to do this if you are using the City data file with the GeoIP API module. However: Second, I've looked at the code of the GeoIP context module, and it only uses the country level data. See http://drupalcode.or
Errors Exceptions Generators References Explained Predefined Variables Predefined Exceptions Predefined Interfaces and Classes Context options and parameters Supported Protocols and Wrappers Security Introduction http://php.net/manual/en/geoip.setup.php General considerations Installed as CGI binary Installed as an Apache http://www.cyberciti.biz/faq/linux-unix-nginx-geoip-module-configuration/ module Session Security Filesystem Security Database Security Error Reporting Using Register Globals User Submitted Data Magic Quotes Hiding PHP Keeping Current Features HTTP authentication with PHP Cookies Sessions Dealing with XForms Handling file uploads Using remote files Connection handling Persistent Database Connections error reading Safe Mode Command line usage Garbage Collection DTrace Dynamic Tracing Function Reference Affecting PHP's Behaviour Audio Formats Manipulation Authentication Services Command Line Specific Extensions Compression and Archive Extensions Credit Card Processing Cryptography Extensions Database Extensions Date and Time Related Extensions File System Related Extensions Human Language and Character Encoding Support Image Processing error reading file and Generation Mail Related Extensions Mathematical Extensions Non-Text MIME Output Process Control Extensions Other Basic Extensions Other Services Search Engine Extensions Server Specific Extensions Session Extensions Text Processing Variable and Type Related Extensions Web Services Windows Only Extensions XML Manipulation Keyboard Shortcuts? This help j Next menu item k Previous menu item g p Previous man page g n Next man page G Scroll to bottom g g Scroll to top g h Goto homepage g s Goto search(current page) / Focus search box Requirements » « Introduction PHP Manual Function Reference Other Basic Extensions GeoIP Change language: English Brazilian Portuguese Chinese (Simplified) French German Japanese Korean Romanian Russian Spanish Turkish Other Edit Report a Bug Installing/Configuring Table of ContentsRequirementsInstallationRuntime ConfigurationResource Types add a note User Contributed Notes 8 notes up down 31 bob at qww dot cz ¶7 years ago To install geoip on debian lenny: 5, 2010 in Nginx, UNIXHow do I install GeoIP nginx module for country and/or city level geo targeting? nginx server version 0.7.63 and 0.8.6 above comes with ngx_http_geoip_module. It will match the IP-address of the client the MaxMind GeoIP databases i.e. ip/location lookups.In this FAQ you will learn about deploying nginx based mod_geoip installation and php server side examples to determine visitors country under UNIX / Linux / *BSD like operating systems.
wget
# wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP.tar.gz
# tar -zxvf GeoIP.tar.gz
# cd GeoIP-1.4.6
# yum install zlib-devel
# ./configure
# make
# make install You need to configure dynamic linker run time bindings as follows: # echo '/usr/local/lib' > /etc/ld.so.conf.d/geoip.conf Run ldconfig to activate configuration: # ldconfig
# ldconfig -v | lessCompile nginx With GeoIP ModuleGet the latest source code: # cd /tmp
# wget http://nginx.org/download/nginx-0.8.52.tar.gz
# tar -zxvf nginx-0.8.52.tar.gz
# cd nginx-0.8.52
# yum install gcc pcre-devel.x86_64 openssl-devel.x86_64
# ./configure --without-http_empty_gif_module --with-poll_module --with-http_stub_status_module --with-http_ssl_module --with-ipv6 --with-http_geoip_module
# make
# make install Make sure you ./configure nginx with -with-http_geoip_module option.Grab MaxMind DatabasesType the following command to get the free database of geo_city: # wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz -O /usr/local/share/GeoIP/GeoLiteCity.dat.gz
# gunzip /usr/local/share/GeoIP/GeoLiteCity.dat.gz Get the free database of geo_country: # wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz -O /usr/local/share/GeoIP/GeoIP.dat.gz
# gunzip /usr/local/share/GeoIP/GeoIP.dat.gzA Note About MaxMind Paid VersionIf you need 99.8% accuracy about IP address use the paid version. Edit /usr/local/etc/GeoIP.conf, enter: # vi /usr/local/et