ORA-12541: TNS: no listener

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
LD
Premium Member
Premium Member
Posts: 32
Joined: Thu Oct 21, 2010 9:03 am

ORA-12541: TNS: no listener

Post by LD »

Hi

I getting below error while running my PX job that connects to Oracle,

main_program: (aptoci.C:89). Message: ORA-12541: TNS:no listener

It was running fine sometime back. Not sure what caused this issue. Server jobs that connect to Oracle are running fine.

Please advice.

Thanks,

Shashank
lstsaur
Participant
Posts: 1139
Joined: Thu Oct 21, 2004 9:59 pm

Post by lstsaur »

That's really interesting. No problem with server jobs; PX job worked before and now you get a TNS - No Listener error. Please do the following:
1. From the command line, issue a TNSPING xxx (service name). What do you get?
2. Go to your server and try to connect to your Oracle server via SQL prompt. Can you connect to your Oracle?
3. If above 2 tests are OK, then double check your PX job's connection statement.
Bongo51
Participant
Posts: 25
Joined: Fri Jun 25, 2010 7:41 am

Re: ORA-12541: TNS: no listener

Post by Bongo51 »

Hi,

Are you using an Oracle or ODBC stage?
If Oracle are you using wired or non wired protocol drivers?
wired would use direct connectivity to oracle, non-wired would utilise Oracle clients.
rberman
Premium Member
Premium Member
Posts: 31
Joined: Wed Oct 01, 2008 6:18 pm

Post by rberman »

Reinstalled Datastage (clearing out registry etc) and made sure the Remote Server was correct. It now works. Thanks!
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

:?: Are you sure you replied to the correct post? Wondering if it should be here: viewtopic.php?t=149931
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply