At last i have successfully installed Oracle EBS 12.1 on Linux.
The previous error was just because of improper /etc/hosts setup, so i changed some entries in the file and started all over again.
And i was very happy to see the login page of the software. All efforts since last one month have finally given results. right now am trying to shutdown and start the system using some commands. Will update this blog soon.