æŸ¥çœ‹äº¤æ¢æ–‡äšgåQˆè¦æ±?G以上åQ?br />? /usr/sbin/swap -l swapfile            dev swaplo blocks  free /dev/dsk/c0t0d0s1  55,65     8 4192952 4192952
临时文äšg½Iºé—´åQˆè¦æ±?00M以上åQ?br />? df -h /tmp Filesystem            size  used avail capacity Mounted on swap                  3.1G    8K  3.1G    1%   /tmp
æ·ÕdŠ åˆšåˆ›å»ºçš„äº¤æ¢æ–‡äšgåQ?br /># swap -a /export/home/swapone
‹‚€æŸ¥ä¸€ä¸‹ï¼š # swap -l swapfile            dev swaplo blocks  free /dev/dsk/c0d0s1    102,1      8 1056376 1056376 /export/home/swapone -       8 1048568 1048568
下é¢è®„¡½®äº¤æ¢æ–‡äšg在é‡å¯åŽè‡ªåŠ¨åŠ è²ä½¿ç”¨åQ?br /># vi /etc/vfstab /export/home/swapone   -      -      swap   -      no     -
查看¼‹¬ç›˜½Iºé—´åQˆè¦æ±?.7G以上åQ?br /> df -h Filesystem            size  used avail capacity Mounted on /dev/dsk/c0t0d0s0      29G  3.1G   25G   12%   / ...... swap                  3.1G  636K  3.1G    1%   /etc/svc/volatile ...... /dev/dsk/c0t0d0s7      27G  6.3G   20G   24%   /export/home
查看以下软äšg包是å¦å˜åœ?br />? pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt system     SUNWarc  Lint Libraries (usr) system     SUNWbtool CCS tools bundled with SunOS system     SUNWhea  SunOS Header Files system     SUNWi1of ISO-8859-1 (Latin-1) Optional Fonts system     SUNWlibm Math & Microtasking Library Headers & Lint Files (Usr) system     SUNWlibms Math & Microtasking Libraries (Usr) system     SUNWsprot Solaris Bundled tools system     SUNWtoo  Programming Tools system     SUNWxwfnt X Window System platform required fonts ERROR: information for "SUNWi1cs" was not found ERROR: information for "SUNWi15cs" was not found
先查看是å¦å·²å˜åœ¨ ? grep oinstall /etc/group ? grep dba /etc/group ? id -a oracle ? id -a nobody uid=60001(nobody) gid=60001(nobody) groups=60001(nobody)
修改é…置文äšgåQŒæ·»åŠ å¦‚ä¸‹å‡ è¡?br />? vi /etc/system * for install oracle 10g set noexec_user_stack=1 set semsys:seminfo_semmni=100 set semsys:seminfo_semmns=1024 set semsys:seminfo_semmsl=256 set semsys:seminfo_semvmx=32767 set shmsys:shminfo_shmmax=4294967295 set shmsys:shminfo_shmmin=1 set shmsys:shminfo_shmmni=100 set shmsys:shminfo_shmseg=10
Select Installation Method  Advanced Installation
Specify Inventory directory and credentials  /opt/oracle/oraInventory  oinstall
Select Installation Type  Enterprise Edition
Sepcify Home Details  Name: OraDb10g_home1  Path: /opt/oracle/oracle/product/10.2.0/db_1
Product-Specific Prerequisite Checks  全部通过å›_¯åQ?br /> Select Configuration Option  Create a database
Select Database Configuration  General Purpose
Specify Database Configuration Options Global Database Name:cdtdb   SID:cdtdb Select Database Character set: Simplified Chinese ZHS16GBK 选ä¸Create database with sample schemas
Select Database Management Option 选ä¸Use Database Control for Database Management    Enable Email Notification       61.144.43.235       chenliqun@pyp.edu.cn
Specify Database Storage Option 选ä¸File System    location:/export/home/oradata
Specify Backup and Recovery Options 选ä¸Do not enable Automated backups
æ£ç¡®é…置数æ®åº“实例入å?br />? vi /var/opt/oracle/oratab cdtdb:/opt/oracle/oracle/product/10.2.0/db_1:Y
创å¾è‡ªåЍ˜q行脚本 ? vi /etc/init.d/oracle #!/bin/sh ORA_HOME=/opt/oracle/oracle/product/10.2.0/db_1 ORA_OWNER=oracle if [ ! -f $ORA_HOME/bin/dbstart ] then  echo "Oracle startup: cannot start"  exit fi case "$1" in   'start') # Start the Oracle databases and listeners            su - $ORA_OWNER -c "$ORA_HOME/bin/dbstart"            su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl start"            su - $ORA_OWNER -c "$ORA_HOME/bin/emctl start dbconsole"            su - $ORA_OWNER -c "$ORA_HOME/bin/isqlplusctl start"            ;;   'stop') # Stop the Oracle databases and listeners            su - $ORA_OWNER -c "$ORA_HOME/bin/isqlplusctl stop"            su - $ORA_OWNER -c "$ORA_HOME/bin/emctl stop dbconsole"            su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl stop"            su - $ORA_OWNER -c "$ORA_HOME/bin/dbshut"            ;; esac
清除¾~“å˜çš„æ–‡ä»?br /># cd $ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs # rm *.*
# cd $ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/isqlplus/isqlplus/cabo/images/cache/zhs # rm *.*
排除tnslsnrå¯åŠ¨é”™è¯¯åQ?br />错误信æ¯åQšFailed to auto-start Oracle Net Listene using /ade/vikrkuma_new/oracle/bin/tnslsnr ˜q™é‡Œçš„Listene应该是Listenerå§ï¼
# vi $ORACLE_HOME/bin/dbstart ž®?ORACLE_HOME_LISTNER=/ade/vikrkuma_new/oracle æ”¹äØ“ ORACLE_HOME_LISTNER=$ORACLE_HOME