5

I cleaned up my computer for all old Oracle stuff using Uninstall (OUI) and then later used regedit to delete all references to Oracle and then deleted all remains of Oracle directories.

I have HP ProBook with Windows 7 (64-bit) and I want to install a 32 bit Oracle client on it. I need to be connected to an Oracle 11gR2 database on a remote server by OCI, ODBC and OLEDB.

I have done this installation tens of times before, but this time I am stuck.

The command lsnrctl isn't present after the installation, and as expected then, the lsnrctl.exe binary is not present under the Oracle home directory (in BIN) as it should be.

This test shows the frightening situation:

C:\Oracle\product\11.2.0\client_1\BIN>lsnrctl status
'lsnrctl' is not recognized as an internal or external command,
operable program or batch file.

I did the same operations and installation on more time, but with the same result. Why does this happen and what can I do to straight it out, other than re-installing the whole Windows 7?

1
  • 6
    You don't need lsnrctl on a client - it's used to control the listener on the server.
    – Philᵀᴹ
    Commented May 21, 2014 at 15:59

2 Answers 2

3

There doesn't appear to be a problem.

The listener is a process that generally runs on the database server, not on the client machine. Doing a client-only install will not install a listener. If you want to have a listener on your machine, you'd need to do a database install (though you can do a software-only install rather than actually creating a database).

If you're just trying to connect to a remote database, however, you'd use the listener that is (presumably) running on the database server. It's theoretically possible to install a listener on one machine for a database running on another machine but that isn't particularly common. It would be extremely, extremely unusual to install a listener on the client machine that listens for connections to a database on a remote server.

2
  • 2
    You answer about the listener (tnslsnr) but OP asked about listener control (lsnrctl). The latter is quite a normal part of administrative client binaries.
    – kubanczyk
    Commented Jul 26, 2014 at 18:09
  • @kubanczyk: but the lsnrctl only makes sense on the server where the listener is running.
    – user1822
    Commented Oct 3, 2014 at 21:25
-1

I'm pretty inexperienced and still learning but I think the issue has to do with a dedicated server installation. Oracle net architecture

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.