9月24日数据库上频繁出现例如以下错误
Errors in file /u04/admin/njord/udump/njord_ora_25895.trc:
ORA-27300: OS system dependent operation:invalid_process_id failed with status: 0
ORA-27301: OS failure message: Error 0
ORA-27302: failure occurred at: skgpalive1
 
该错误将影响client的连接,经过查阅资料证明是Oracle 10.2.0.5的bug,下面是mos上面的说明
ORA-27300 ORA-27301 ORA-27302:
failure occurred at: skgpalive1 (文档 ID 1252265.1)
转究竟部  

In this Document

Symptoms
  Changes
  Cause
  Solution
 

_afrLoop=2819922508619434&id=1252265.1&_afrWindowMode=0&_adf.ctrl-state=17ytx259dg_78#REF" style="">References


APPLIES TO:

Oracle Database – Enterprise Edition – Version 10.2.0.5 and later

Information in this document applies to any platform.

SYMPTOMS

Database alert_<ORACLE_SID>.log shows following error and keeps running:

Errors in file /u04/admin/njord/udump/njord_ora_25895.trc:

ORA-27300: OS system dependent operation:invalid_process_id failed with status: 0

ORA-27301: OS failure message: Error 0

ORA-27302: failure occurred at: skgpalive1

CHANGES

Applied 10.2.0.5 patch set.

CAUSE

This is caused by bug 10010310

SOLUTION

bug 10010310 is fixed in 11.2.0.3, 12.1 and above. Please check patch
10010310
 for existing interim patches.

REFERENCES

id=10207340" style="">BUG:10207340 - ORA-27302 SKGPALIVE1 AFTER UPGRADE TO 10.2.0.5.0

id=10010310" style="">BUG:10010310 - ORA-27300: INVALID_PROCESS_ID FAILED WITH STATUS: 0; ORA-27302: SKGPALIVE1

id=10154137" style="">BUG:10154137 - ORA-27300: OS SYSTEM DEPENDENT OPERATION:INVALID_PROCESS_ID FAILED WITH STATUS 0

 
 
生产环境:
OS:IBM AIX power 7
Oracle Version:10.2.0.5
Storage:Raw device
Opatch Version:10.2.0.4.9
 
測试环境:

OS:redhat 5.8 x86-64
Oracle Version:10.2.0.5
Storage:Raw device
Opatch Version:10.2.0.4.9
 
操作步骤:

1、下载补丁、上传补丁、解压补丁
2、配置环境变量
3、关闭oracle数据库
4、停止crs
5、在一节点应用补丁
6、在二节点应用补丁
7、start crs
8、开启数据库
 
 
在My Support Oracle 上下载Bug 10010310
[oracle@rac1 ~]$ unzip p10010310_10205_Linux-x86-64.zip
 
配置opatch环境变量:
export OPatch=/u01/app/oracle/product/10.2.0/db_1/OPatch
export PATH=$HOME/bin:$ORACLE_HOME/bin:$OPatch:/sbin:$PATH
 
 
opatch 版本号
[oracle@rac1 10010310]$ opatch version
Invoking OPatch 10.2.0.4.9
 
OPatch Version: 10.2.0.4.9
 
OPatch succeeded.
 
 
停止数据库:
srvctl stop instance -d zhdb -i "zhdb1,zhdb2" -o immediate
 
停止 crs:
crsctl stop crs
 
 
 
一节点:
[oracle@rac1 10010310]$ opatch apply
Invoking OPatch 10.2.0.4.9
 
Oracle Interim Patch Installer version 10.2.0.4.9
Copyright (c) 2009, Oracle Corporation.  All rights reserved.
 
 
Oracle Home       : /u01/app/oracle/product/10.2.0/db_1
Central Inventory : /u01/app/oracle/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 10.2.0.4.9
OUI version       : 10.2.0.5.0
OUI location      : /u01/app/oracle/product/10.2.0/db_1/oui
Log file location : /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2014-09-29_05-05-15AM.log
 
Patch history file: /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt
 
ApplySession applying interim patch '10010310' to OH '/u01/app/oracle/product/10.2.0/db_1'
 
Running prerequisite checks…
 
OPatch detected the node list and the local node from the inventory.  OPatch will patch the local system then propagate the patch to the remote nodes.
 
 
This node is part of an Oracle Real Application Cluster.
Remote nodes: 'rac2' 
Local node: 'rac1'
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/oracle/product/10.2.0/db_1')
 
 
Is the local system ready for patching?

[y|n]

y
User Responded with: Y
Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '10010310' for restore. This might take a while…
Backing up files affected by the patch '10010310' for rollback. This might take a while…
 
Patching component oracle.rdbms, 10.2.0.5.0…
Updating archive file "/u01/app/oracle/product/10.2.0/db_1/lib/libserver10.a"  with "lib/libserver10.a/ksu.o"
Running make for target ioracle
ApplySession adding interim patch '10010310' to inventory
 
Verifying the update…
Inventory check OK: Patch ID 10010310 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 10010310 are present in Oracle Home.
 
The local system has been patched.  You can restart Oracle instances on it.
 
 
Patching in rolling mode.
 
 
The node 'rac2' will be patched next.
 
 
Please shutdown Oracle instances running out of this ORACLE_HOME on 'rac2'.
(Oracle Home = '/u01/app/oracle/product/10.2.0/db_1')
 
Is the node ready for patching? [y|n]
y
User Responded with: Y
Updating nodes 'rac2' 
   Apply-related files are:
     FP = "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/copy_files.txt"
     DP = "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/copy_dirs.txt"
     MP = "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/make_cmds.txt"
     RC = "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/remote_cmds.txt"
 
Instantiating the file "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/copy_files.txt.instantiated" by replacing $ORACLE_HOME in "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/copy_files.txt"
with actual path.
Propagating files to remote nodes…
Instantiating the file "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/copy_dirs.txt.instantiated" by replacing $ORACLE_HOME in "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/copy_dirs.txt"
with actual path.
Propagating directories to remote nodes…
Instantiating the file "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/make_cmds.txt.instantiated" by replacing $ORACLE_HOME in "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/make_cmds.txt"
with actual path.
Running command on remote node 'rac2': 
cd /u01/app/oracle/product/10.2.0/db_1/rdbms/lib; /usr/bin/make -f ins_rdbms.mk ioracle ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1 || echo REMOTE_MAKE_FAILED::>&2 
 
 
The node 'rac2' has been patched.  You can restart Oracle instances on it.
 
There were relinks on remote nodes.  Remember to check the binary size and timestamp on the nodes 'rac2' .
The following make commands were invoked on remote nodes:
'cd /u01/app/oracle/product/10.2.0/db_1/rdbms/lib; /usr/bin/make -f ins_rdbms.mk ioracle ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
'
 
 
OPatch succeeded.
[oracle@rac1 10010310]$ opatch lsinventory
Invoking OPatch 10.2.0.4.9
 
Oracle Interim Patch Installer version 10.2.0.4.9
Copyright (c) 2009, Oracle Corporation.  All rights reserved.
 
 
Oracle Home       : /u01/app/oracle/product/10.2.0/db_1
Central Inventory : /u01/app/oracle/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 10.2.0.4.9
OUI version       : 10.2.0.5.0
OUI location      : /u01/app/oracle/product/10.2.0/db_1/oui
Log file location : /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2014-09-29_05-08-40AM.log
 
Patch history file: /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt
 
Lsinventory Output file location : /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2014-09-29_05-08-40AM.txt
 
——————————————————————————–
Installed Top-level Products (2): 
 
Oracle Database 10g                                                  10.2.0.1.0
Oracle Database 10g Release 2 Patch Set 4                            10.2.0.5.0
There are 2 products installed in this Oracle Home.
 
 
Interim patches (1) :
 
Patch  10010310     : applied on Mon Sep 29 05:06:10 EDT 2014
Unique Patch ID:  13106370
   Created on 3 Nov 2010, 02:11:57 hrs PST8PDT
   Bugs fixed:
     10010310
 
 
 
Rac system comprising of multiple nodes
  Local node = rac1
  Remote node = rac2
 
——————————————————————————–
 
OPatch succeeded.
[oracle@rac1 10010310]$ 
 
 
 
节点二:
[oracle@rac2 10010310]$ opatch  apply
Invoking OPatch 10.2.0.4.9
 
Oracle Interim Patch Installer version 10.2.0.4.9
Copyright (c) 2009, Oracle Corporation.  All rights reserved.
 
 
Oracle Home       : /u01/app/oracle/product/10.2.0/db_1
Central Inventory : /u01/app/oracle/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 10.2.0.4.9
OUI version       : 10.2.0.5.0
OUI location      : /u01/app/oracle/product/10.2.0/db_1/oui
Log file location : /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2014-09-29_05-10-16AM.log
 
Patch history file: /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt
 
ApplySession applying interim patch '10010310' to OH '/u01/app/oracle/product/10.2.0/db_1'
Interim patch 10010310 is a superset of the patch(es) [  10010310 ] in the Oracle Home
OPatch will rollback the subset patches and apply the given patch.
 
Running prerequisite checks…
 
OPatch detected the node list and the local node from the inventory.  OPatch will patch the local system then propagate the patch to the remote nodes.
 
 
This node is part of an Oracle Real Application Cluster.
Remote nodes: 'rac1' 
Local node: 'rac2'
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/oracle/product/10.2.0/db_1')
 
 
Is the local system ready for patching?

[y|n]

y
User Responded with: Y
Backing up files and inventory (not for auto-rollback) for the Oracle Home
Backing up files affected by the patch '10010310' for restore. This might take a while…
Backing up files affected by the patch '10010310' for restore. This might take a while…
ApplySession rolling back interim patch '10010310' from OH '/u01/app/oracle/product/10.2.0/db_1'
 
Patching component oracle.rdbms, 10.2.0.5.0…
Updating archive file "/u01/app/oracle/product/10.2.0/db_1/lib/libserver10.a"  with "lib/libserver10.a/ksu.o"
RollbackSession removing interim patch '10010310' from inventory
 
 
OPatch back to application of the patch '10010310' after auto-rollback.
 
Backing up files affected by the patch '10010310' for rollback. This might take a while…
 
Patching component oracle.rdbms, 10.2.0.5.0…
Updating archive file "/u01/app/oracle/product/10.2.0/db_1/lib/libserver10.a"  with "lib/libserver10.a/ksu.o"
Running make for target ioracle
ApplySession adding interim patch '10010310' to inventory
 
Verifying the update…
Inventory check OK: Patch ID 10010310 is registered in Oracle Home inventory with proper meta-data.
Files check OK: Files from Patch ID 10010310 are present in Oracle Home.
 
The local system has been patched.  You can restart Oracle instances on it.
 
 
Patching in rolling mode.
 
 
The node 'rac1' will be patched next.
 
 
Please shutdown Oracle instances running out of this ORACLE_HOME on 'rac1'.
(Oracle Home = '/u01/app/oracle/product/10.2.0/db_1')
 
Is the node ready for patching? [y|n]
y
User Responded with: Y
Updating nodes 'rac1' 
   Apply-related files are:
     FP = "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/copy_files.txt"
     DP = "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/copy_dirs.txt"
     MP = "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/make_cmds.txt"
     RC = "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/remote_cmds.txt"
 
   Auto-Rollback-related files are:
     FR = "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/remove_files.txt"
     DR = "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/remove_dirs.txt"
 
Instantiating the file "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/remove_dirs.txt.instantiated" by replacing $ORACLE_HOME in "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/remove_dirs.txt"
with actual path.
Removing directories on remote nodes…
Instantiating the file "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/copy_files.txt.instantiated" by replacing $ORACLE_HOME in "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/copy_files.txt"
with actual path.
Propagating files to remote nodes…
Instantiating the file "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/copy_dirs.txt.instantiated" by replacing $ORACLE_HOME in "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/copy_dirs.txt"
with actual path.
Propagating directories to remote nodes…
Instantiating the file "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/make_cmds.txt.instantiated" by replacing $ORACLE_HOME in "/u01/app/oracle/product/10.2.0/db_1/.patch_storage/10010310_Nov_3_2010_02_11_57/rac/make_cmds.txt"
with actual path.
Running command on remote node 'rac1': 
cd /u01/app/oracle/product/10.2.0/db_1/rdbms/lib; /usr/bin/make -f ins_rdbms.mk ioracle ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1 || echo REMOTE_MAKE_FAILED::>&2 
 
 
The node 'rac1' has been patched.  You can restart Oracle instances on it.
 
There were relinks on remote nodes.  Remember to check the binary size and timestamp on the nodes 'rac1' .
The following make commands were invoked on remote nodes:
'cd /u01/app/oracle/product/10.2.0/db_1/rdbms/lib; /usr/bin/make -f ins_rdbms.mk ioracle ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
'
 
——————————————————————————–
The following warnings have occurred during OPatch execution:
1) OUI-67620:Interim patch 10010310 is a superset of the patch(es) [  10010310 ] in the Oracle Home
——————————————————————————–
OPatch Session completed with warnings.
 
OPatch completed with warnings.
[oracle@rac2 10010310]$ 
[oracle@rac2 10010310]$ 
[oracle@rac2 10010310]$ opatch lsinventory
Invoking OPatch 10.2.0.4.9
 
Oracle Interim Patch Installer version 10.2.0.4.9
Copyright (c) 2009, Oracle Corporation.  All rights reserved.
 
 
Oracle Home       : /u01/app/oracle/product/10.2.0/db_1
Central Inventory : /u01/app/oracle/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 10.2.0.4.9
OUI version       : 10.2.0.5.0
OUI location      : /u01/app/oracle/product/10.2.0/db_1/oui
Log file location : /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2014-09-29_05-13-18AM.log
 
Patch history file: /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt
 
Lsinventory Output file location : /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2014-09-29_05-13-18AM.txt
 
——————————————————————————–
Installed Top-level Products (2): 
 
Oracle Database 10g                                                  10.2.0.1.0
Oracle Database 10g Release 2 Patch Set 4                            10.2.0.5.0
There are 2 products installed in this Oracle Home.
 
 
Interim patches (1) :
 
Patch  10010310     : applied on Mon Sep 29 05:11:58 EDT 2014
Unique Patch ID:  13106370
   Created on 3 Nov 2010, 02:11:57 hrs PST8PDT
   Bugs fixed:
     10010310
 
 
 
Rac system comprising of multiple nodes
  Local node = rac2
  Remote node = rac1
 
——————————————————————————–
 
OPatch succeeded.
[oracle@rac2 10010310]$ 
 
 
 
[root@rac1 oracle]# crsctl start crs
Attempting to start CRS stack 
The CRS stack will be started shortly
[root@rac1 oracle]# crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.
 
[root@rac1 oracle]# crs_stat -t
Name           Type           Target    State     Host        
————————————————————
ora….C1.lsnr application    ONLINE    ONLINE    rac1        
ora.rac1.gsd   application    ONLINE    ONLINE    rac1        
ora.rac1.ons   application    ONLINE    ONLINE    rac1        
ora.rac1.vip   application    ONLINE    ONLINE    rac1        
ora….C2.lsnr application    ONLINE    ONLINE    rac2        
ora.rac2.gsd   application    ONLINE    ONLINE    rac2        
ora.rac2.ons   application    ONLINE    ONLINE    rac2        
ora.rac2.vip   application    ONLINE    ONLINE    rac2        
ora.zhdb.db    application    ONLINE    ONLINE    rac1        
ora….b1.inst application    ONLINE    ONLINE    rac1        
ora….b2.inst application    OFFLINE   OFFLINE               
 
 
 
測试环境须要宕机时间大概为10分钟。生产环境保守预计30分钟

Apply Bug10010310 On Oracle RAC 10.2.0.5的更多相关文章

  1. 【Oracle】RAC 10.2.0.1升级10.2.0.5

    环境: OS:OEL5.6 RAC:10.2.0.1.0 相关环境变量: CRS_HOME /u01/app/oracle/product/10.2.0/db_1 ORACLE_HOME   /u01 ...

  2. Oracle 10g 10.2.0.1 在Oracle Linux 5.4 32Bit RAC安装手冊(一抹曦阳)

    Oracle 10g 10.2.0.1 在Oracle Linux 5.4 32Bit RAC安装手冊(一抹曦阳).pdf下载地址 ,step by step http://download.csdn ...

  3. OEM无法启动:oracle/product/10.2.0/dbhome_1/oc4j/j2ee/OC4J_DBConsole_localhost.localdomain_orcl not found.

    配置OEM环境变量 ORACLE_UNQNAME=$ORACLE_SID 要想打开OEM的web管理程序,必须先启动Database listener,再启动Datebase Control端口监控程 ...

  4. ojdbc15-10.2.0.4.0.jar maven 引用报错 Dependency 'com.oracle:ojdbc15:10.2.0.4.0' not found

    ojdbc15-10.2.0.4.0.jar maven 引用报错 问题现象 在 Maven 工程中引用 ojdbc15-10.2.0.4.0.jar 报错,报错信息:Dependency 'com. ...

  5. 【Oracle】10.2.0.1升级到10.2.0.5

    升级数据库到10.2.0.5   因是测试环境,不需要备份:如是生产系统,建议进行全备份后再进行升级操作,预防数据丢失造成不必要的影响.   步骤: 上传并解压补丁,安装前准备,安装补丁,预升级检查, ...

  6. RAC 10.2.0.5,客户端登陆间断遭遇ORA-12545

    实验环境: 服务端:OEL 5.7 + Oracle 10.2.0.5 RAC  客户端:Windows 7 + Oracle 11.2.0.1 Client   1.客户端登陆间断遭遇ORA-125 ...

  7. Vmware Workstation实现CentOS6.10_x64 下ORACLE RAC 11.2.0.4的搭建

    想必大家在学习ORACLE 11g时,都想搭建一个RAC的实验环境.在搭建RAC实验环境时,会碰到诸如IP怎么规划.虚拟机环境下怎么共享磁盘.ASM磁盘创建,以及安装过程中会遇到这样那样的问题.搭建一 ...

  8. ORACLE RAC 11.2.0.4 CentOS release 6.9 静默安装1.0版本

    RAC11.2.0.4静默安装 1.0版本,20180613 #本文档IP地址使用X隐藏,个人可按照自己的当前环境IP进行适当修改 1. 清除原环境中的单实例软件 #清除原环境: 删除/etc/ora ...

  9. Oracle 10g 10.2.0.4的group by BUG |ORA-00979 not a GROUP BY expression|

    乍看 ORA-00979 not a GROUP BY expression 这个提示估计很快能将其定位为SQL语句写得有问题,实际上有可能你遇到了一个Oracle的BUG,这个BUG常见于10.2. ...

随机推荐

  1. Missing styles. Is the correct theme chosen for this layout? Use the Theme combo box above the layou

    android无法静态显示ui效果. Missing styles. Is the correct theme chosen for this layout? Use the Theme combo ...

  2. Discuz常见小问题-如何修改顶部导航

    1 除了主导航,我们还有一些其他的导航菜单需要设置,比如顶部导航栏,注意系统内置的最好不要修改,如果我不想显示系统内置的,则取消勾选即可.下面我自己做了两个新的顶部导航超链接,分别指向新的站外的地址. ...

  3. 如何使用FLASHGOT下载网页FLASH

    1 注意火狐的广告屏蔽插件可能将一些有用的东西屏蔽掉,从而无法得到广告FLASH, 2 随后即可在桌面上找到所需文件 你也可以按住A/T并单击FLASH文件(不论鼠标是否被替换为其他图形)迅雷会自动探 ...

  4. @QueryParam和@PathParam使用方法比较

    1 先来看@queryparam Path("/users") public class UserService { @GET @Path("/query") ...

  5. objective-c 字符串基本操作

    .定义一个字符串a, 截取a 的某一个部分,复制给b, b必须是int型 NSString *a = @"1.2.30"; ,)] intValue]; NSLog(@" ...

  6. ZH奶酪:Yii PHP sum SQL查询语句

    例子: $sql = 'SELECT SUM(o.price) as `sum` FROM `order` o WHERE o.customer_id ='.$profile->id; $ret ...

  7. The platform of the target `Pods` (iOS 4.3) is not compatible 错误

    一:使用 cocoaPod错误 The platform of the target `Pods` (iOS 4.3) is not compatible with `AFNetworking (1. ...

  8. Electron 调用系统Office软件

    通过打开本地空白文件的方式从而打开Office办公软件 const shell = require('electron').shell; const path = require('path'); s ...

  9. Linux Bash 脚本:自己定义延迟代码块(裸数据保存方案)

    结合 alias 和 read 使用方法.能够保存一些将要延迟执行的脚本,或者裸数据(字符串不被扩展)到一个变量中.以备后用. $ alias BEGIN='read -d "" ...

  10. Oracle 11g 更改字符集

    查看字符集: select * from v$nls_parameters where parameter = 'NLS_CHARACTERSET'; 修改字符集: sqlplus "/as ...