linux - CDbConnection failed to open the DB connection: ORA-12541: TNS:no listener -


Then I'm trying to connect to db Oracle using oci8 from php application. It works fine in Windows Ora-12,541: TNS: Any listener

  CDbConnection Tried to fail to open the DB connection p> I have oci8 installed in Linux machine (RHEL6)  

Oracle server is running in windows

In my tnsnames.ora, the listener. Ora are the hosts 'localhost'.

  listener = (DESCRIPTION_LIST = (Description = (ADDRESS = (Protocol = IPC) (key = EXTPROC1521)) (ADDRESS = (Protocol = TCP) (Host's Like = * * localhost **) (port = 1521)))   

Is this a problem? Or else how to fix it?

Is your Oracle listener running? The most common cause of a listener error is not due to the Oracle listener running in the background You can do this in Linux by ntsysv Areas can be configured via

Comments

Popular posts from this blog

c# - Roxy file manager in MVC doesn't accept session path -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

java - Ajax call to jsp and jsp redirecting to further jsp -