Stopping and starting the database server
Various configuration tasks require you to stop and then start the database server. Shared memory is initialized every time that the database server starts.
The database server has various Database server operating modes.
- You can use the onstat - command to determine the database server mode.
- You can use the onmode utility to switch the database server from one mode to another.
Use the procedure for your operating system:
Stopping and starting the database server (UNIX, Linux®, Mac OS X)
You run the onmode utility to stop the database server, and the oninit utility to start the database server.
For a standard installation, log in as user root or
user informix. For a non-root installation, log in as the owner
of the database server.
- To stop the database server, run the onmode -ku command.
-
To start the database server, run the oninit command.
You can include options to the oninit command. For example, you suppress verification prompts by running the oninit -y command.
Stopping and starting the database server (Windows)
You stop and start the database server with the Services application.
Log in a member of the Administrators group.
- To stop the database server, in the server properties dialog box from the Services application, click Stop.
-
To start the database server, in the database server properties
dialog box from the Services application, type optional oninit options
in the Start Parameters box, and then click Start.
Alternatively, you can start the database server by running the starts command from a command prompt. You can also include options for the oninit command in the starts command.