我试图按照Ubuntu14.04上的链接安装Oracle11g:链接以安装Oracle 11g速成版.The问题出现在我开始配置之后,就在配置完成之后,over.It显示了“成功安装”,但随后显示了一个错误。
sourajyoti@:Disk1$ sudo /etc/init.d/oracle-xe configure
/etc/init.d/oracle-xe: line 69: /etc/init.d/functions: No such file or directory
Oracle Database 11g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 11g Express
Edition.The following questions will determine whether the database should be starting
upon system boot, the ports it will use, and the passwords that will be used for database accounts.
Press <Enter> to accept the defaults.Ctrl-C will abort.
Specify the HTTP port that will be used for Oracle Application Express[8080]:
Specify a port that will be used for the database listener [1521]:
Port 1521 appears to be in use by another application. Specify a different port.
Specify a port that will be used for the database listener [1521]:1522
Specify a password to be used for database accounts.Note that the same password will
be used for SYS and SYSTEM.Oracle recommends the use of different passwords
for each database account.This can be done after initial configuration:
Confirm the password:
Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:y
Starting Oracle Net Listener...Done
Configuring database...Done
Starting Oracle Database 11g Express Edition instance...Done
Installation completed successfully.
/etc/init.d/oracle-xe: line 177: /etc/sysconfig/oracle-xe: No such file or directory
sourajyoti@:Disk1$ sudo service oracle-xe start
/etc/init.d/oracle-xe: line 69: /etc/init.d/functions: No such file or directory
Oracle Database 11g Express Edition is not configured.You must run '/etc/init.d/
oracle-xe configure' as the root user to configure the database.有没有办法解决这个问题?
发布于 2016-01-08 14:47:11
解决这个问题
/etc/init.d/oracle-xe:第177行: /etc/sysconfig/oracle-xe:没有这样的文件或目录
在ubuntu中,转到文件/etc/init.d/oracle-xe并搜索行:CONFIGURATION="/etc/sysconfig/$CONFIG_NAME"将其更改为:CONFIGURATION="/etc/default/$CONFIG_NAME"
https://stackoverflow.com/questions/32572425
复制相似问题