首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Oracle 11g速成版:/etc/init.d/ function :没有这样的文件或函数

Oracle 11g速成版:/etc/init.d/ function :没有这样的文件或函数
EN

Stack Overflow用户
提问于 2015-09-14 19:26:27
回答 1查看 1.8K关注 0票数 0

我试图按照Ubuntu14.04上的链接安装Oracle11g:链接以安装Oracle 11g速成版.The问题出现在我开始配置之后,就在配置完成之后,over.It显示了“成功安装”,但随后显示了一个错误。

代码语言:javascript
复制
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.

有没有办法解决这个问题?

EN

回答 1

Stack Overflow用户

发布于 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"

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32572425

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档