An another insight into the problem. After starting lammp, I did a ps -ef | grep httpd and found a process. When I tried to kill this process I got the following messages,
[FONT=courier new]
XAMPP: Error 137! Couldn't start Apache!
XAMPP: Starting diadnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://www.apachefriends.org/f/
XAMPP: XAMPP-MySQL is already running.
XAMPP: Starting ProFTPD...
XAMPP for Linux started
[/FONT]
Looks like Apache for some reason is not starting up. Any insights?