oracle - Ubuntu oracle-xe 不会在系统启动时启动

标签 oracle ubuntu oracle11g linux-mint oracle-xe

我已经在 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/

相关文章:

git - 如何从 Github 安装 MegaFuse?在 Ubuntu 上

javascript - Node 与 Nodejs 版本不同

database - 用于在开发数据库上创建类似 "test"环境的工具

c# - 标识符必须声明为 ORA-06550 和 PLS-00201

oracle - 删除记录时的性能问题

sql - 使用 ROWNUM 在 Oracle 中获取质数记录

database - 自动创建数据库表的脚本

sql - Oracle 记录(行)元数据包括时间戳

bash - 如何使用多个变量构建路径

python - sqlalchemy 选择 to_date