ccmsrv create

This topic contains information about the ccmsrv create command.

Synopsis

ccmsrv create [-f|-file config_file] [-s|-server servername] [-y]

Description and uses

Use the ccmsrv create command to create a database server.

You must run this command on the database server, as user informix.

Note: When prompted for a server number, type a server number in the range 1 - 255. Ensure that this server number is not used by any other server on the same machine. If ccmsrv create fails, you might see a message like this one in the log file:

shmget: [EEXIST][17]: key 52574801: shared memory already exists

Either a previous attempt to create this server failed, but did not remove the shared memory. Or another Informix® server with the same server number exists on this machine. The server might be from an earlier release of Rational® Synergy, or for your own use of Informix.

If you are certain there is no other Informix server with the same number, delete the shared memory with the specific key using ipcrm. If there is another server using the same number, retry ccmsrv create with a different (unique) server number 1 - 255.

Also, if you need to increase the size of your shared memory kernel parameters, you might see a similar error in the log file:

16:53:12  shmat: [EMFILE][24]: out of shared memory
segments, check system SHMSEG
16:53:12  mt_shm_init: can't create resident segment
Note: See Shared memory and semaphore kernel parameters for shared memory kernel parameter values.

For more information, see Modifying database server parameter values.

Options and arguments

-f|-file config_file

Specifies the path to the configuration file, described in Creating database servers using configuration files for UNIX. If you do not specify a configuration file, you are prompted for the:

-s|-server servername

Specifies the name of the database server. The default is the name of the current machine.

The server name is restricted as follows:

-y

Executes the command without displaying confirmation messages.

Example

Create a database server named hydra1.

$ ccmsrv create -s hydra1


Feedback