Ok..when I tried to remove apache..i found its not installed at all but postgreSQl is installed...anyhow I manually installed apache but for the final command I got "hostname :unknown host scritping failed "
and when I started apache ..its saying "apache couldnt determine the servers fully qualified domain name, using 127.0.0.1 for server name"
I guess some thing is wrong with the network settings..thanks for your time....
Babji