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:
systemctl enable oracle-xe-18c
These commands will have to be executed either via the
root user or with
[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.
3 thoughts on “How to enable auto start/shutdown for Oracle Database 18c Express Edition on Linux”
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.
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.