Linux成功安装Oracle10G后切换到Oracle用户后,直接使用rdquo;dbstartrdquo;($ORACLE_HOME/bin中)启动oracle数据库报错ldquo;
问题一:
启动dbstart 报错 Failed to auto-start Oracle Net Listene using /ade/vikrkuma_new/oracle/bin/tnslsnr
Linux成功安装Oracle10G后切换到Oracle用户后,直接使用”dbstart”($ORACLE_HOME/bin中)启动oracle数据库报错“Failed to auto-start Oracle Net Listene using /ade/vikrkuma_new/oracle/bin/tnslsnr“。原因是dbstart调用的tnslsnr脚本位置有错。解决办法:
打开该脚本:vim $ORACLE_HOME/bin/dbstart,,
查找“ORACLE_HOME_LISTENER”变量的定义处,
修改“ORACLE_HOME_LISTENER=/ade/vikrkuma_new/oracle”--〉“ORACLE_HOME_LISTENER=$ORACLE_HOME”
问题二:
启动dbstart 没有反应,即不报错也不显示启动信息
原因是oracle的配置需要修改才能使用dbstart启动对应的数据实例。解决办法:
su - root
vim /etc/oratab
将类似“orcl:/opt/oracle/product/9.2.0.4:N”-->“orcl:/opt/oracle/product/9.2.0.4:Y”即“N”改为“Y”
问题三
>dbstart
Can't find init file for Database "orcl".
Database "orcl" NOT started.
原因就是没有找到init文件 我的数据库实例是orcl
这个文件在$ORACLE_HOME/dbs/目录下
>cd $ORACLE_HOME/dbs
解决办法就是建立一个initorcl.ora的软连接就可以了
> ln -s spfileego.ora initorcl.ora
问题四:自启动
Linux启动时,会运行一个init程序,然后由init来启动后面的任务,包括多用户环境(inittab中设定)和网络等。运行级就是当前程序运行的功能级别,这个级别从1到6,具有不同的功能。这些级别在/etc/inittab中指定,该文件就是init程序寻找的主要文件。最先运行的服务放在/etc/rc.d目录下。
文件以S开头,代表start(启动),后面的数字是启动顺序;文件以K开头,代表kill(结束),同样,后面的数字代表结束顺序。
例如/etc/rc2.d/S10network代表它与运行级别2有关,10就是他的启动顺序。
目录介绍:
init.d
这个目录中存放了一些服务启动脚本,系统安装时的多个rpm包,这些脚本在执行时可以用来启动,停止和重启这些服务。
rcx.d(x为0~6)
这个目录是启动级别的执行程序链接目录,里面的文件都是指向init.d目录中文件的一些软连接。
更多详情请继续阅读第2页的内容:
相关阅读:
Oracle数据库在Linux中dbstart没有反应的解决
利用dbstart和dbshut脚本自动启动和停止数据库的问题
Linux 下Oracle 开机自启动 与 oratab, dbstart 脚本 说明
Oracle 9中dbstart命令没有反应和报错的问题解决
Oracle 10g配置dbstart实现开机自启动
RedHat AS4下Oracle 10g配置dbstart实现开机自启动

This article explores optimizing MySQL memory usage in Docker. It discusses monitoring techniques (Docker stats, Performance Schema, external tools) and configuration strategies. These include Docker memory limits, swapping, and cgroups, alongside

This article addresses MySQL's "unable to open shared library" error. The issue stems from MySQL's inability to locate necessary shared libraries (.so/.dll files). Solutions involve verifying library installation via the system's package m

The article discusses using MySQL's ALTER TABLE statement to modify tables, including adding/dropping columns, renaming tables/columns, and changing column data types.

This article compares installing MySQL on Linux directly versus using Podman containers, with/without phpMyAdmin. It details installation steps for each method, emphasizing Podman's advantages in isolation, portability, and reproducibility, but also

This article provides a comprehensive overview of SQLite, a self-contained, serverless relational database. It details SQLite's advantages (simplicity, portability, ease of use) and disadvantages (concurrency limitations, scalability challenges). C

Article discusses configuring SSL/TLS encryption for MySQL, including certificate generation and verification. Main issue is using self-signed certificates' security implications.[Character count: 159]

This guide demonstrates installing and managing multiple MySQL versions on macOS using Homebrew. It emphasizes using Homebrew to isolate installations, preventing conflicts. The article details installation, starting/stopping services, and best pra

Article discusses popular MySQL GUI tools like MySQL Workbench and phpMyAdmin, comparing their features and suitability for beginners and advanced users.[159 characters]


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SublimeText3 Linux new version
SublimeText3 Linux latest version

Notepad++7.3.1
Easy-to-use and free code editor

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

Dreamweaver CS6
Visual web development tools
