Archive for the ‘Uncategorized’ Category

nginx server_names_hash_bucket_size error

Monday, August 25th, 2008

The error:
Starting nginx daemon: nginx2008/08/25 00:29:09 [emerg] 4011#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32
The fix:
Within the http block of the nginx config file make sure you have the server_names_hash_bucket_size set higher than the minimum 32
something lik
http { server_names_hash_bucket_size 64;
}
explanation :
hash_max_size will control the
number of virtual host entries, while _hash_bucket_size will [...]

Howto install GeoIP C API in GNU/Linux

Saturday, August 23rd, 2008

MaxMind’s GeoIP C api is used by various programs to map IP address to locations .
Here is the procedure to install this :
Download the latest source from http://www.maxmind.com/download/geoip/api/c/
mkdir /usr/local/geoip
./configure –prefix=/usr/local/geoip –exec-prefix=/usr/local/geoip
make
make install
Now we have to make the system loader load the shared libraries
Add the following to /etc/ld.so.conf.d/geoip.conf
====
cat /etc/ld.so.conf.d/geoip.conf
/usr/local/geoip/lib
====
ldconfig
If all goes well , you should have [...]

gnusys is now powered by nginx

Sunday, July 20th, 2008

gnusys.net has changed its webserver to the Russian legend nginx (pronounced engineX )
I have also added APC for caching the php bytecode ( APC is used by Yahoo Inc ,Wikipedia.org etc among others). I will post the configuration shortly over here…  What i liked more about nginx is its simple and clean configuration which i [...]

plesk DBWebadmin Access denied for user error

Tuesday, July 15th, 2008

Sometimes you get the following error when accessing DBWebadmin (phpMyadmin ) in plesk
====
#1045 - Access denied for user ‘pma_tUuzljY3KmgS’@’localhost’ (using password: YES)
====
pma_tUuzljY3KmgS may vary according to your system
To fix this
vi /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/libraries/config.default.php
and change the values of controluser , controlpass , pmadb to null
thats it ;save the file and now everything should work fine
Ref: http://forum.swsoft.com/showthread.php?s=&postid=167179#post167179

GNU - explained

Tuesday, July 8th, 2008

GNU (GNU Not Unix) is a operating system build on the principles of the UNIX operating system.Combined with the Linux kernel GNU/Linux is the fastest growing operating system and is today widely used in almost all available computing platforms for a wide variety of tasks
GNU/Linux is a very good Desktop platform where it is fast [...]

Nagios installation and configuration

Thursday, June 5th, 2008

This tutorial aims to help the reader or sysadmin understand or visualize the seemingly intricate nagios configuration
As of installing nagios; you will get many documents on the Internet.So this document describes the configuration part mainly. It is better always to use the nagios packages available in your operating systems repository rather than installing from source;but [...]