Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Versions available for this page: CUBRID 8.2.1 |  CUBRID 8.3.0 |  CUBRID 8.3.1 |  CUBRID 8.4.0 |  CUBRID 8.4.1 |  CUBRID 8.4.3 |  CUBRID 9.0.0 | 

Starting and Stopping Services

Starting Services

In Linux environment, you can enter the code below to start CUBRID after installation. If no server is registered in the configuration file, only master process (cub_master) runs by default. In the Windows environment, the code below is normally executed only in case that a user with system permission has logged in. An administrator or general user can start or stop the CUBRID server by clicking its icon on the taskbar tray.

% cubrid service start

@ cubrid master start

++ cubrid master start: success

The following message is returned if master process is already running.

% cubrid service start

@ cubrid master start

++ cubrid master is running.

The following message is returned if master process fails to run. The example shows that service fails to start due to conflicts of the cubrid_port_id parameter value specified in the cubrid.conf file. In a such case, you can resolve the problem by changing the port. If it fails to start even though no port is occupied by process, delete /tmp/CUBRID1523 file and then restart the process.

% cubrid service start

@ cubrid master start

cub_master: '/tmp/CUBRID1523' file for UNIX domain socket exist.... Operation not permitted

++ cubrid master start: fail

After registering service as explained in Registering Services, enter the code below to start the service. You can verify that database server process and broker as well as registered demodb and testdb are starting at once.

% cubrid service start

@ cubrid master start

++ cubrid master start: success

@ cubrid server start: demodb

 

This may take a long time depending on the amount of restore works to do.

 

CUBRID 2008 R4.1……

++ cubrid server start: success

@ cubrid server start: testdb

 

This may take a long time depending on the amount of recovery works to do.

 

CUBRID 2008 R4.1……

 

++ cubrid server start: success

@ cubrid broker start

++ cubrid broker start: success

Stopping Services

Enter code below to stop CUBRID service. If no services are registered by a user, only master process stops and then restarts.

% cubrid service stop

@ cubrid master stop

++ cubrid master stop: success

Enter code below to stop registered CUBRID service. You can verify that server process, broker process, and master process as well as demodb and testdb stop at once.

% cubrid service stop

@ cubrid server stop: demodb

Server demodb notified of shutdown.

This may take several minutes. Please wait.

++ cubrid server stop: success

@ cubrid server stop: testdb

Server testdb notified of shutdown.

This may take several minutes. Please wait.

++ cubrid server stop: success

@ cubrid broker stop

++ cubrid broker stop: success

@ cubrid master stop

++ cubrid master stop: success

Restarting Services

Enter code below to restart CUBRID service. If no services are registered by a user, only master process stops and then restarts.

% cubrid service restart

@ cubrid master stop

++ cubrid master stop: success

@ cubrid master start

++ cubrid master start: success

Enter code below to restart registered CUBRID service. You can verify that server process, broker process, and master process as well as demodb and testdb stop and then restart at once.

% cubrid service restart

@ cubrid server stop: demodb

Server demodb notified of shutdown.

This may take several minutes. Please wait.

++ cubrid server stop: success

@ cubrid server stop: testdb

Server testdb notified of shutdown.

This may take several minutes. Please wait.

++ cubrid server stop: success

@ cubrid broker stop

++ cubrid broker stop: success

@ cubrid master stop

++ cubrid master stop: success

@ cubrid master start

++ cubrid master start: success

@ cubrid server start: demodb

 

This may take a long time depending on the amount of recovery works to do.

 

CUBRID 2008 R4.1……

 

++ cubrid server start: success

@ cubrid server start: testdb

 

This may take a long time depending on the amount of recovery works to do.

 

CUBRID 2008 R4.1……

 

++ cubrid server start: success

@ cubrid broker start

++ cubrid broker start: success