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 Oracle server is running in windows In my tnsnames.ora, the listener. Ora are the hosts 'localhost'. Is this a problem? Or else how to fix it? Is your Oracle listener running?
CDbConnection Tried to fail to open the DB connection p> I have oci8 installed in Linux machine (RHEL6)
listener = (DESCRIPTION_LIST = (Description = (ADDRESS = (Protocol = IPC) (key = EXTPROC1521)) (ADDRESS = (Protocol = TCP) (Host's Like = * * localhost **) (port = 1521)))
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
Post a Comment