Monday, October 18, 2010

cvs update failed to create lock #cvs.lock

Though there are lot of options available if you google for the same that says change ownership permission for cvs directory etc., but if your problem is not solved even after trying all the other methods do this, it may save your day.

chmod -R 777 <cvs path>/<project directory>

e.g., chmod -R 777 /cvs/myproject

Thursday, August 12, 2010

macro `AM_PATH_CPPUNIT' not found in library

If you happen to get this error just install the following programs

cppunit
cppunit-devel

rerun your program and it should run without any problems.

Friday, May 07, 2010

Catastrophic: event fd doesn't match conn fd!

Install libevent greater than 1.4.x
Compile memcached and use --with-libevent=[ place where libevent is insalled ]
before you start memcached create link in /usr/lib for all the libevent library files.
You are good to go.

Saturday, April 10, 2010

Command to list directories/folders in linux

To list directories under current path use the following command

[root@192.168.1.1]$ ls -l | grep ^d

This lists all the directories under the current directory.