Yes , tnsping also does not work.
I have checked tnsnames.ora file in the linux box. It has a
proper entry. i tried using sid=testdb instead of service name
but to no vail