Archive for May, 2008

neutron.gnusys.net

Thursday, May 8th, 2008

I am expecting good number of visitors for the blog in the near future.So i have to think of scaling up NEUTRON which is the smart boy hosting this site
NEUTRON is a XEN domU running 2.6.18-53.1.13.el5xen in the hood and on skin its Debian GNU/Linux Etch (4.0)
======
neutron:~# free -m
total [...]

pecl install -gcc error

Thursday, May 8th, 2008

If you get the following error while trying to install pecl packages
=============
pecl install xmlrpci-1.0
WARNING: channel “pear.php.net” has updated its protocols, use “channel-update pear.php.net” to update
downloading xmlrpci-1.0.tgz …
Starting to download xmlrpci-1.0.tgz (9,668 bytes)
…..done: 9,668 bytes
4 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: [...]

yum sqlite error

Wednesday, May 7th, 2008

Sometimes you may get the following error while working with yum:
root@server2 [~]# yum install kernel-smp
Setting up Install Process
Setting up repositories
update 100% |=========================| 951 B 00:00
base [...]

Custom Adobe ColdFusion 404 error page

Wednesday, May 7th, 2008

If you request a non existent page on a coldfusion site .It will not show up your normal Apache custom 404 page.
A trick to show a custom page ( eg: cferror.cfm ) when a non existant cfm page is accessed is:
Add the following entry to the .htaccess file in your DocumentRoot
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} [...]

Finding out the device file for newly added hardware

Thursday, May 1st, 2008

The following procedure may help find a device identifier or device file for a newly added hardware device in GNU/Linux . In the example I am connecting a USB pendrive
You can find the details from the Linux kernel log
hnlinux:~ # tail -f /var/log/messages
==================
May 2 01:38:24 hnlinux kernel: usb 1-7: new high speed USB device [...]