我已经在 linux Mint 17.3 上成功安装了 oracle-xe 11g2,在配置过程中 (/etc/init.d/oracle-xe configure) 我选择在系统启动时加载数据库。 当我检查 /etc/default/oracle-xe 文件时,我有以下内容:
#This is a configuration file for automatic starting of the Oracle
#Database and listener at system startup.It is generated By running
#'/etc/init.d/oracle-xe configure'.Please use that method to modify this
#file
# ORACLE_DBENABLED:'true' means to load the Database at system boot.
ORACLE_DBENABLED=true
# LISTENER_PORT: Database listener
LISTENER_PORT=1521
# HTTP_PORT : HTTP port for Oracle Application Express
HTTP_PORT=8080
# Configuration : Check whether configure has been done or not
CONFIGURE_RUN=true
但它不会在启动时启动,我必须通过 sudo service oracle-xe start 手动启动它
有什么我可以做的吗?
谢谢。
最佳答案
好的,找到了。
我必须将用户添加到 dba 组。
sudo usermod -a -G <groupname> username
关于oracle - Ubuntu oracle-xe 不会在系统启动时启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35406486/