How to enable auto start/shutdown for Oracle Database 18c Express Edition on Linux

Oracle Database 18c Express Edition can be enabled for automatic startup and shutdown with the Linux operating system. This will not only allow you not to worry about starting and stopping the database but it will also ensure that the database is properly shutdown before the machine is powered off. Enabling auto startup/shutdown is done via two simple commands:

  1. systemctl daemon-reload
  2. systemctl enable oracle-xe-18c

These commands will have to be executed either via the root user or with root privileges:

[root@localhost ~]# systemctl daemon-reload
[root@localhost ~]# systemctl enable oracle-xe-18c
oracle-xe-18c.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig oracle-xe-18c on

For more information about starting and stopping Oracle Database XE, have a look at the documentation.

Author: Gerald

Developer, Oracle expert, performance enthusiast and genuine technology geek.

2 thoughts on “How to enable auto start/shutdown for Oracle Database 18c Express Edition on Linux”

  1. Thanks.

    How about the windows platform, dont see any details in the above product documentation link .
    in windows dont we need to do any special setting for automatic startup/shutdown of database.
    will that be taken care by the OS by default.

    Like

    1. Very good point, Rajeshwaran!

      Oracle Database 18c XE is not yet out for Windows, hence why it isn’t mentioned here.
      Once it is released we will see what the options for automatic startup/shutdown are.

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.