Hi,
I found the solution.It was giving the error as entry was missing in the /etc/hosts file:-
I made the entries as follows:-
[root@dms ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
10.129.151.171 dms.test.com
Thanks,
Soumya