Oracle error 6401

Dear All,
In my adapter configuration when i am configuring 4.2 the oracle intellegent adapter at test it shows me
[Adapter] (085) The adapter process could not be start up.
(300) Could not connect to oracle. see oracle product documentation for the error code : 6401.
where as i have modified the tnsnames.ora file to reflect the new sid and tnsping is connecting to that sid.

Can anyone please help me resolving this issue.

You can find may be useful this link:

http://dco-proxima.dco.pima.edu/oracle/bb/c0011/bb00044.htm