troubleshooting Question

Linux - Oracle : how to change port 1522 to 1521 listener-db-em

Avatar of Arrismog
Arrismog asked on
Oracle DatabaseLinux
14 Comments1 Solution4034 ViewsLast Modified:
Hello experts!

I currently have Oracle 11gR2 running on a SuSE 10 SP3.

Checking the listener.ora and tnsnames, as well as with the lsnrctl status command, it seems that the listening port is 1522. I would like to change it to the default (1521), so I don't need to add the port parameter in my php programs via the oci_connect function.

I've been searching on oracle's docs, and found this:

I followed all steps under the "Changing the Listener Port Number for Database Connection Requests" section, but now, the em console wouldn't even connect to the database instance nor the listener. The problem seems that em still waits to the 1522 port. From what I understand, listener and instance are now communicating between each other because the lsnrctl status now shows a ready connection at 1521, but em's still trying on 1522

Is there any additional config that is needed to be done at the em console's side? :( I'm kind of new with Oracle Admin.

Join our community to see this answer!
Unlock 1 Answer and 14 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 14 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros