Archive for July, 2008

apache startup fail

Monday, July 21st, 2008

You may sometimes encounter the following problem while starting apache server
====
[root@epsilon root]# /etc/init.d/httpd start
Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs
[FAILED]
====
To fix this run the following commands
fuser -k -n tcp 443

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 [...]

Apache mod_proxy

Saturday, July 19th, 2008

Imagine your domain has ROR ( Ruby On Rails ) installed and it connects on port 1200
eg :- http://gnusys.net:1200 and you want to change the way it appears on the address bar as simply http://gnusys.net. Normally Apache won’t allow this as it is configured to work on port 80 as you all know. But [...]

Semaphore Arrays

Friday, July 18th, 2008

Semaphore, it is a lot like a locking mechanism. In any server there is an order of precedence in which tasks must be accomplished. The semaphore is used to maintain that precedence order; more to the point, the precedence order is maintained by the semaphores. A succeeding task may not start until it has received [...]

Plesk Control Panel icons missing!

Friday, July 18th, 2008

Scenario:- Add Application icon missing or grayed out
“Add New Application” icon can be missing if “Hide all greyed out buttons by default” is enabled on the Server -> Interface management page in Plesk CP.
“Add New Application” can be greyed out if some application is already installed in the domains’ DocumentRoot folder (httpdocs or httpsdocs). It [...]

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

Howto manage qmail queue in Plesk linux

Saturday, July 12th, 2008

You can use third party programs like qmail-remove http://www.linuxmagic.com/opensource/qmail/qmail-remove to accomplish queue management in plesk control panel managed qmail
The Plesk control panel itself provides a modified version od qmHandle ( http://qmhandle.sourceforge.net/ )along with it that can be used with ease to manage the queue
To see the statistics of the queue:

/usr/local/psa/admin/bin/mailqueuemng -s
Messages in local queue:  0
Messages [...]

howto install ffmpeg-php

Saturday, July 12th, 2008

According to the official ffmpeg-php website: ffmpeg-php is an extension for PHP that adds an easy to use, object-oriented API for accessing and retrieving information from video and audio files. It has methods for returning frames from movie files as images that can be manipulated using PHP’s image functions
Inodder to use this extension;you [...]

Install ffmpeg with amr-nb and amr-wb support

Friday, July 11th, 2008

ffmpeg is a popular audio/video encoder and decoder . If you are planning to roll out a website that does video conversion like the popular youtube this document is for you . Now if you allow your users to upload content shot using mobile phones inoder to decode the same you may need AMR codec [...]

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 [...]