Reaching out to others! Free & Open Source Software, Kannada, L10n, L18n Data Science, Cloud Computing & more…

r1soft-cki throws “relocation error”

After installing CDP agent on a debian server, I started getting following error while I tried installing kernel modules using r1soft-cki . Error is as follows: relocation error: /lib/ symbol \__rawmemchr, version GLIBC_2.2.5 \ not defined in file with link time reference Cause: This is caused by a GLIBC version mis-match. The version of […]

Fix:Unable to ping veth device on proxmox

Virtual Ethernet devices of the OpenVZ VM’s inside ProxMox is connected to a bridge. After installing ProxMox and creating virtual nodes, I found that public ips allocated inside VM’s were not reachable to world.

A quick fix for this issue is to ensure that Proxy ARP and IP Forwarding is configured fine.

Check these lines:

# ifconfig vzbr0 0
# echo 1 > /proc/sys/net/ipv4/conf/vzbr0/forwarding
# echo 1 > /proc/sys/net/ipv4/conf/vzbr0/proxy_arp

You can read more information about OpenVZ Virtual Ethernet devices in bridge mode configuration check this link.

Fix: Mediawiki – Error creating thumbnail

I was getting lots of errors while uploading and creating thumbnails on Mediawiki. While following through mediawiki support pages found that I have to disable the following line in LocalSettings.php

#$wgUseImageMagick = true;

And yes, that did the trick. Thumbnails started working fine.
Hmm.. good for now.

Fix: MediaWiki Internal error

We were (myself and hpn) hit by a strange error (atleast for us ;) ) while we started putting up sampada media wiki onboard from backup. Wiki didn’t load for which we were using MySQL InnoDB tables. Dumping some other old database backup also didn’t help.

Here is what we were greeted with on the browser:

MediaWiki internal error.
Original exception: exception ‘DBQueryError’ with message ‘A database error has occurred Query: SELECT value,exptime FROM `wiki_objectcache` WHERE keyname=’techfizn_wiki1-wiki_:messages-hash’ Function: MediaWikiBagOStuff::_doquery Error: 1146 Table ‘techfizn_wiki1.wiki_objectcache’ doesn’t exist (localhost) ‘ in /home/techfizn/public_html/projects/wiki/includes/Database.php:824 Stack trace:
0 /home/techfizn/public_html/projects/wiki/includes/Database.php(779): Database->reportQueryError(‘Table ‘techfizn…’, 1146, ‘SELECT value,ex…’, ‘MediaWikiBagOSt…’, false)
1 /home/techfizn/public_html/projects/wiki/includes/BagOStuff.php(405): Database->query(‘SELECT value,ex…’, ‘MediaWikiBagOSt…’)
2 /home/techfizn/public_html/projects/wiki/includes/BagOStuff.php(300): MediaWikiBagOStuff->_doquery(‘SELECT value,ex…’)
3 /home/techfizn/public_html/projects/wiki/includes/BagOStuff.php(234): SqlBagOStuff->_query(‘SELECT value,ex…’, ‘techfizn_wiki1-…’)
4 /home/techfizn/public_html/projects/wiki/includes/MessageCache.php(205): SqlBagOStuff->get(‘techfizn_wiki1-…’)
5 /home/techfizn/public_html/projects/wiki/includes/MessageCache.php(441): MessageCache->load()
6 /home/techfizn/public_html/projects/wiki/includes/GlobalFunctions.php(467): MessageCache->get(‘mainpage’, true, true)
7 /home/techfizn/public_html/projects/wiki/includes/GlobalFunctions.php(421): wfMsgGetKey(‘mainpage’, true, true, true)
8 /home/techfizn/public_html/projects/wiki/includes/GlobalFunctions.php(368): wfMsgReal(‘mainpage’, Array, true, true)
9 /home/techfizn/public_html/projects/wiki/includes/Title.php(268): wfMsgForContent(‘mainpage’)
10 /home/techfizn/public_html/projects/wiki/includes/Wiki.php(92): Title::newMainPage()
11 /home/techfizn/public_html/projects/wiki/index.php(58): MediaWiki->checkInitialQueries(NULL, ‘view’, Object(StubObject), Object(WebRequest), Object(StubContLang))
12 {main}
Exception caught inside exception handler: exception ‘DBUnexpectedError’ with message ‘Error in fetchObject(): Table ‘techfizn_wiki1.wiki_page’ doesn’t exist (localhost)’ in /home/techfizn/public_html/projects/wiki/includes/Database.php:953 Stack trace:
0 /home/techfizn/public_html/projects/wiki/includes/MessageCache.php(314): Database->fetchObject(false)
1 /home/techfizn/public_html/projects/wiki/includes/MessageCache.php(251): MessageCache->loadFromDB()
2 /home/techfizn/public_html/projects/wiki/includes/MessageCache.php(441): MessageCache->load()
3 /home/techfizn/public_html/projects/wiki/includes/GlobalFunctions.php(467): MessageCache->get(‘databaseerror’, true, false)
4 /home/techfizn/public_html/projects/wiki/includes/GlobalFunctions.php(421): wfMsgGetKey(‘databaseerror’, true, false, true)
5 /home/techfizn/public_html/projects/wiki/includes/Exception.php(23): wfMsgReal(‘databaseerror’, Array)
6 /home/techfizn/public_html/projects/wiki/includes/Database.php(276): MWException->msg(‘databaseerror’, ‘Database error’)
7 /home/techfizn/public_html/projects/wiki/includes/Exception.php(125): DBQueryError->getPageTitle()
8 /home/techfizn/public_html/projects/wiki/includes/Exception.php(88): MWException->htmlHeader()
9 /home/techfizn/public_html/projects/wiki/includes/Exception.php(111): MWException->reportHTML()
10 /home/techfizn/public_html/projects/wiki/includes/Exception.php(191): MWException->report()
11 /home/techfizn/public_html/projects/wiki/includes/Exception.php(225): wfReportException(Object(DBQueryError))
12 [internal function]: wfExceptionHandler(Object(DBQueryError))
13 {main}

Fix: InnoDB engine works with 3 files in mysql data folder. ib_logfile0 and ib_logfile1 for logs and for data storage it uses ibdata1.

-rw-rw—- 1 mysql mysql 5242880 Oct 27 21:52 ib_logfile0
-rw-rw—- 1 mysql mysql 5242880 Oct 27 21:52 ib_logfile1
-rw-rw—- 1 mysql mysql 44040192 Oct 27 21:52 ibdata1

To resolve the above issue we removed the log files and restarted the MySQL to get going quickly with our mediawiki installation. Hope this saves few hours for others facing the same problem.


Resync IIS anonymous username and password on Plesk server

Many customers are prompted for passwords while accessing the sites hosted on Plesk windows servers. If you do not provide the password and cancel the password prompt, you will get the following error on browser:

HTTP Error 401.1 – Unauthorized: Access is denied due to invalid credentials.
Internet Information Services (IIS)

You get this error while your domains anonymous username and passwords are out of sync with IIS. This can be fixed by running a Plesk tool (You will find it only if your server is managed via Plesk Panel) as follows:

C:\Program Files\SWsoft\Plesk\admin\bin\websrvmng.exe —update-anon-password —domain-name=

Please replace with your domain name. The above command syncs IIS.

What if it turns out to be a server wide issue?

Right. Check out the following command to see how you can sync all the website’s anonymous users passwords with IIS.

C:\Program Files\SWsoft\Plesk\admin\bin\websrvmng.exe —update-anon-passwords-all


Upgrade to WordPress 2.8.4

There have been couple of security updates to WordPress recently and here comes an another one….

WordPress 2.8.4: Security Release

Posted August 12, 2009 by Matt. Filed under Releases, Security.

Yesterday a vulnerability was discovered: a specially crafted URL could be requested that would allow an attacker to bypass a security check to verify a user requested a password reset. As a result, the first account without a key in the database (usually the admin account) would have its password reset and a new password would be emailed to the account owner. This doesn’t allow remote access, but it is very annoying.

We fixed this problem last night and have been testing the fixes and looking for other problems since then. Version 2.8.4 which fixes all known problems is now available for download and is highly recommended for all users of WordPress.

This release also fixed the theme issue which I had with my admin interface. Entire wp-admin section used to display in white color and I was also unable to use the options ajax based option menus etc.

Thanks for the update guys!