DB13备份不成功,Oracle数据库不能启动

[root@bvqas ~]# su - qasadm
bvqas:qasadm 28> startsap all

Checking QAS Database
Database is not available via R3trans

Trying to start QAS database ...
Log file: /home/qasadm/startdb.log
/usr/sap/QAS/SYS/exe/run/startdb: Terminating with error code 12
DB startup failed

please send the tracefile /home/qasadm/startsap.trc to support

bvqas:qasadm 29> exit

logout
[root@bvqas ~]# su - oraqas
bvqas:oraqas 51> lsnrctl start

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 04-OCT-2014 21:13:03

Copyright (c) 1991, 2013, Oracle. All rights reserved.

TNS-01106: Listener using listener name LISTENER has already been started
bvqas:oraqas 52> lsnrctl stop

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 04-OCT-2014 21:13:11

Copyright (c) 1991, 2013, Oracle. All rights reserved.

Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=QAS.WORLD))
The command completed successfully
bvqas:oraqas 53> lsnrctl start

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 04-OCT-2014 21:13:23

Copyright (c) 1991, 2013, Oracle. All rights reserved.

Starting /oracle/QAS/112_64/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 11.2.0.4.0 - Production
System parameter file is /oracle/QAS/112_64/network/admin/listener.ora
Log messages written to /oracle/QAS/saptrace/diag/tnslsnr/bvqas/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=QAS.WORLD)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=QAS)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=bvqas.byvin.com)(PORT=1521)))

Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=QAS.WORLD))
STATUS of the LISTENER

Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start Date 04-OCT-2014 21:13:23
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/QAS/112_64/network/admin/listener.ora
Listener Log File /oracle/QAS/saptrace/diag/tnslsnr/bvqas/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=QAS.WORLD)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=QAS)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=bvqas.byvin.com)(PORT=1521)))
Services Summary...
Service "QAS" has 1 instance(s).
Instance "QAS", status UNKNOWN, has 2 handler(s) for this service...
The command completed successfully
bvqas:oraqas 54> sqlplus / as sydba

SQL*Plus: Release 11.2.0.4.0 Production

Copyright (c) 1982, 2013, Oracle. All rights reserved.

Use SQLPlus to execute SQL, PL/SQL and SQLPlus statements.

Usage 1: sqlplus -H | -V

-H         Displays the SQL*Plus version and the
       usage help.
-V         Displays the SQL*Plus version.

Usage 2: sqlplus [ [<option>] [{logon | /nolog}] [<start>] ]

<option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]

-C <version>   Sets the compatibility of affected commands to the
       version specified by <version>.  The version has
       the form "x.y[.z]".  For example, -C 10.2.0
-L         Attempts to log on just once, instead of
       reprompting on error.
-M "<options>" Sets automatic HTML markup of output.  The options
       have the form:
       HTML [ON|OFF] [HEAD text] [BODY text] [TABLE text]
       [ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] {ON|OFF}]
-R <level>     Sets restricted mode to disable SQL*Plus commands
       that interact with the file system.  The level can
       be 1, 2 or 3.  The most restrictive is -R 3 which
       disables all user commands interacting with the
       file system.
-S         Sets silent mode which suppresses the display of
       the SQL*Plus banner, prompts, and echoing of
       commands.

<logon> is: {<username>[/<password>][@<connect_identifier>] | / }
[AS {SYSDBA | SYSOPER | SYSASM}] [EDITION=value]

Specifies the database account username, password and connect
identifier for the database connection.  Without a connect
identifier, SQL*Plus connects to the default database.

The AS SYSDBA, AS SYSOPER and AS SYSASM  options are database
administration privileges.

<connect_identifier> can be in the form of Net Service Name
or Easy Connect.

  @[<net_service_name> | [//]Host[:Port]/<service_name>]

<net_service_name> is a simple name for a service that resolves
to a connect descriptor.

Example: Connect to database using Net Service Name and the
     database net service name is ORCL.

   sqlplus myusername/mypassword@ORCL

Host specifies the host name or IP address of the database
server computer.

Port specifies the listening port on the database server.

<service_name> specifies the service name of the database you
want to access.

Example: Connect to database using Easy Connect and the
     Service name is ORCL.

   sqlplus myusername/mypassword@Host/ORCL

The /NOLOG option starts SQL*Plus without connecting to a
database.

The EDITION specifies the value for Session Edition.
<start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]

Runs the specified SQL*Plus script from a web server (URL) or the
local file system (filename.ext) with specified parameters that
will be assigned to substitution variables in the script.

When SQLPlus starts, and after CONNECT commands, the site profile
(e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
(e.g. login.sql in the working directory) are run. The files may
contain SQL
Plus commands.

Refer to the SQL*Plus User's Guide and Reference for more information.
bvqas:oraqas 55> sqlplus / as sys

SQL*Plus: Release 11.2.0.4.0 Production on Sat Oct 4 21:13:41 2014

Copyright (c) 1982, 2013, Oracle. All rights reserved.

Connected to an idle instance.

SQL> startup
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORA-00845: MEMORY_TARGET not supported on this system

MEMORY_TARGET 这个参数SAP不支持,需要修改。

路径: /oracle/QAS/11204/dbs/initQAS.ora

cp initQAS.ora initQAS.ora.bak (做备份)

vim initQAS.ora,删除memory_max_target这一行。

SQL> exit
Disconnected
bvqas:oraqas 56> cd /oracle/QAS
bvqas:oraqas 57> cd 11204
bvqas:oraqas 59> cd dbs
bvqas:oraqas 61> create spfile from pfile='initQAS.ora';
create: Command not found.
bvqas:oraqas 62> sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Sat Oct 4 21:16:39 2014

Copyright (c) 1982, 2013, Oracle. All rights reserved.

Connected to an idle instance.

SQL> create spfile from pfile='initQAS.ora'; //这个是解决方法,要做好initQAS.ora的备份。

File created.

SQL> startup
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORACLE instance started.

Total System Global Area 1.8841E+10 bytes
Fixed Size 2261048 bytes
Variable Size 9596571592 bytes
Database Buffers 9193914368 bytes
Redo Buffers 48054272 bytes
Database mounted.
Database opened.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
bvqas:oraqas 63> exit

logout
[root@bvqas ~]# su - qasadm
bvqas:qasadm 28> startsap all

Checking QAS Database
Database is running

Starting Startup Agent sapstartsrv
OK
Instance Service on host bvqas started

starting SAP Instance ASCS01
Startup-Log is written to /home/qasadm/startsap_ASCS01.log

/usr/sap/QAS/ASCS01/exe/sapcontrol -prot NI_HTTP -nr 01 -function Start
Instance on host bvqas started
Starting Startup Agent sapstartsrv
OK
Instance Service on host bvqas started

starting SAP Instance DVEBMGS00
Startup-Log is written to /home/qasadm/startsap_DVEBMGS00.log

/usr/sap/QAS/DVEBMGS00/exe/sapcontrol -prot NI_HTTP -nr 00 -function Start
Instance on host bvqas started
bvqas:qasadm 29>

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 212,332评论 6 493
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 90,508评论 3 385
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 157,812评论 0 348
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 56,607评论 1 284
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 65,728评论 6 386
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 49,919评论 1 290
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 39,071评论 3 410
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 37,802评论 0 268
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 44,256评论 1 303
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 36,576评论 2 327
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 38,712评论 1 341
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 34,389评论 4 332
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 40,032评论 3 316
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 30,798评论 0 21
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 32,026评论 1 266
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 46,473评论 2 360
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 43,606评论 2 350

推荐阅读更多精彩内容