Managing Connection Manager

Like other Net8 components, Connection Manager has a control utility—in this case, Connection Manager Control (the executable name is cmctl ). Use cmctl to start and stop Connection Manager, check status, examine current connections, and to perform the other tasks described in this section.

The command set implemented by cmctl is similar to, but more limited than, that implemented by namesctl and lsnrctl. As with the other two utilities, you can pass commands to cmctl on the command line, or you can enter them at the cmctl command prompt. While it’s not well documented, you can even use the @ command from within cmctl to execute commands from a text file.

Starting and Stopping Connection Manager

You start and stop Connection Manager using the Connection Manager Control utility’s START and STOP commands. The following example shows cmctl being invoked, and then the START command being used to start Connection Manager:

[oracle@donna oracle]$ cmctl

CMCTL for Linux: Version 8.1.6.0.0 - Production on 14-AUG-2000 09:57:26

(c) Copyright 1998, 1999, Oracle Corporation.  All rights reserved.

Welcome to CMCTL, type "help" for information.

CMCTL> START
ADMIN Status:
(STATUS=(VERSION=8.1.6.0.0)(STARTED=14-AUG-2000 09:57:28)(STATE=RUNNING))
CMAN Status:
(STATUS=(VERSION=8.1.6.0.0)(STARTED=14-AUG-2000 09:57:30)(STATE=running))
CMCTL>

In response to the START command, Connection Manager Control has started both the admin process and the gateway process. Then it displays ...

Get Oracle Net8 Configuration and Troubleshooting now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.