問題 1:無法啟用乙太網路裝置。錯誤訊息為“Cannot activate network device eth0!Device eth0 has different MAC address than expected, ignoring.” 解決方案:“ifconfig”報告的 MAC 位址與 /etc/sysconfig/network-scripts/ifcfg-eth0 不匹配。您可以使用新的 MAC 位址更新檔案,或者只需通過 system-config-network 工具探測新的
參考:http://download.oracle.com/docs/pdf/B10812_02.pdf Use the dbstart and dbshut scripts to automate database startup and shutdown.Perform the following tasks to set up these scripts so that they are called at systemstartup and shutdown. Perform
設定步驟: 1.寫一個StartOracle.sql,假設放在/目錄下 vi /StartOracle.sql加入如下兩行儲存 startup exit 2.配置/etc/rc.local vi /etc/rc.local加入如下內容,儲存 su - oracle -c '$ORACLE_HOME/bin/lsnrctl start'
oracle分區表學習及應用-- Create table(建立分區表)create table BILL_MONTHFEE_ZERO( SERV_ID NUMBER(20) not null, BILLING_CYCLE_MONTH NUMBER(6) not null, DATE_TYPE NUMBER(1), ACC_NBR VARCHAR2(80)) partition by range
Oracle/PLSQL: WHERE CURRENT OF Statement --------------------------------------------------------------------------------If you plan on updating or deleting records that have been referenced by a Select For Update statement, you can use the Where
第一步:建立一張測試表如下create table KING( ID NUMBER(10), NAME NVARCHAR2(2000))第二步:建立序列create sequence KING_TB_SEQminvalue 1maxvalue 9999999999start with 21increment by 1cache 20;第三步:建立相應的觸發器create or replace trigger king_tb_tribefore insert on Kingfor
作者:eygle | English Version 【轉載時請以超連結形式標明文章出處和作者資訊及本聲明】連結:http://www.eygle.com/archives/2011/12/oracle_linux_rm_rf.html 前幾天提到的一則誤刪除案例:http://www.eygle.com/archives/2011/12/oracle_lsof_recovery_database.htmlKamus
How to use udev for Oracle ASM in Oracle Linux 6原文:http://www.dbform.com/html/2011/1708.html大部分在網上可以找到的文檔都是在RHEL5或者OEL5中設定udev,udev對於Linux而言最大的作用是防止作業系統重新啟動以後,作為ASM磁碟使用的盤符發生變化。比如說Tim Hall的文章:UDEV SCSI Rules Configuration for ASM in Oracle Linux