en root > gunzip ship.db.lnx32.cpio.gz > cpio -idmv < ship.db.lnx32.cpio > dd if=/dev/zero of=/extraswap bs=1024 count=524288 524288+0 enregistrements lus. 524288+0 enregistrements écrits. 536870912 bytes transferred in 44,975234 seconds (11937034 bytes/sec) > mkswap /extraswap > swapon /extraswap > xhost + ( > apt-get install wajig wajig - Simplified command line administrator for Debian > wajig install gcc make binutils libmotif3 lesstif2 rpm ) id nobody uid=65534(nobody) gid=65534(nogroup) groupes=65534(nogroup) groupadd oinstall groupadd dba mkdir /home/oracle useradd -g oinstall -G dba -p oracle -d /home/oracle/ oracle userdel nobody groupadd nobody useradd -g nobody nobody mkdir -p /u01/app/oracle mkdir -p /u02/oradata chown -R oracle:oinstall /u01 /u02 chmod -R 775 /u01 /u02 --------------- # /etc/sysctl.conf kernel.sem = 250 32000 100 128 kernel.shmmni= 4096 kernel.shmall = 2097152 kernel.shmmax = 2147483648 fs.file-max = 65536 net.ipv4.ip_local_port_range = 1024 65000 ---------------- >sysctl -p ---------------- #/etc/security/limits.conf * soft nproc 2047 * hard nproc 16384 * soft nofile 1024 * hard nofile 65536 --------------- --------------- #/etc/pam.d/login session required /lib/security/pam_limits.so --------------- Running Oracle10 root.sh script... \nThe following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /home/oracle/product/10.1.0/Db_1 Enter the full pathname of the local bin directory: [/usr/local/bin]: Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ... \nCreating /etc/oratab file... Adding entry to /etc/oratab file... Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root.sh script. Now product-specific root actions will be performed. /var/opt/oracle does not exist. Creating it now. /etc/oracle does not exist. Creating it now. Successfully accumulated necessary OCR keys. Creating OCR keys for user 'root', privgrp 'root'.. Operation successful. Oracle Cluster Registry for cluster has been initialized Adding to inittab Checking the status of Oracle init process... Expecting the CRS daemons to be up within 600 seconds. Giving up: Oracle CSS stack appears NOT to be running. Oracle CSS service would not start as installed Automatic Storage Management(ASM) cannot be used until Oracle CSS service is started The following J2EE Applications have been deployed and are accessible at the URLs listed below. Ultra Search URL: http://localhost.localdomain:5620/ultrasearch Ultra Search Administration Tool URL: http://localhost.localdomain:5620/ultrasearch/admin iSQL*Plus URL: http://localhost.localdomain:5560/isqlplus iSQL*Plus DBA URL: http://localhost.localdomain:5560/isqlplus/dba Enteprise Manager 10g Database Control URL: http://localhost.localdomain:5500/em Checking Temp space: must be greater than 80 MB. Actual 4740 MB Passed Checking swap space: must be greater than 150 MB. Actual 996MB Passed Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed Preparing to launch Oracle Universal Installer from /tmp/OraInstall2004-11-28_04-26-51PM. Please wait ...oracle@evoportable1:/mnt/part2/Disk1$ Oracle Universal Installer, Version 10.1.0.3.0 Production Copyright (C) 1999, 2004, Oracle. All rights reserved. rpm: To install rpm packages on Debian systems, use alien. See README.Debian. error: cannot open Packages index using db3 - No such file or directory (2) ------------------- oracle@evoportable1:~$ dbstart Database "test" already started. Database "test" possibly left running when system went down (system crash?). Notify Database Administrator. SQL*Plus: Release 10.1.0.3.0 - Production on Sun Nov 28 18:19:36 2004 Copyright (c) 1982, 2004, Oracle. All rights reserved. SQL> Connected. SQL> ORACLE instance shut down. SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production With the Partitioning, OLAP and Data Mining options SQL*Plus: Release 10.1.0.3.0 - Production on Sun Nov 28 18:19:40 2004 Copyright (c) 1982, 2004, Oracle. All rights reserved. SQL> Connected to an idle instance. SQL> ORACLE instance started. Total System Global Area 167772160 bytes Fixed Size 778212 bytes Variable Size 66068508 bytes Database Buffers 100663296 bytes Redo Buffers 262144 bytes Database mounted. Database opened. SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production With the Partitioning, OLAP and Data Mining options Database "test" warm started. --------------------- oracle@evoportable1:~$ wajig start oracle Starting Oracle: -su: line 25: ulimit: open files: cannot modify limit: Operation not permitted LSNRCTL for Linux: Version 10.1.0.3.0 - Production on 28-NOV-2004 18:26:14 Copyright (c) 1991, 2004, Oracle. All rights reserved. Starting /home/oracle/product/10.1.0/Db_1/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 10.1.0.3.0 - Production System parameter file is /home/oracle/product/10.1.0/Db_1/network/admin/listener.ora Log messages written to /home/oracle/product/10.1.0/Db_1/network/log/listener.log Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521))) Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 10.1.0.3.0 - Production Start Date 28-NOV-2004 18:26:14 Uptime 0 days 0 hr. 0 min. 0 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /home/oracle/product/10.1.0/Db_1/network/admin/listener.ora Listener Log File /home/oracle/product/10.1.0/Db_1/network/log/listener.log Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521))) Services Summary... Service "PLSExtProc" has 1 instance(s). Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully -su: line 25: ulimit: open files: cannot modify limit: Operation not permitted Database "test" already started. Database "test" possibly left running when system went down (system crash?). Notify Database Administrator. SQL*Plus: Release 10.1.0.3.0 - Production on Sun Nov 28 18:26:19 2004 Copyright (c) 1982, 2004, Oracle. All rights reserved. SQL> Connected. SQL> ORACLE instance shut down. SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production With the Partitioning, OLAP and Data Mining options SQL*Plus: Release 10.1.0.3.0 - Production on Sun Nov 28 18:26:22 2004 Copyright (c) 1982, 2004, Oracle. All rights reserved. SQL> Connected to an idle instance. SQL> ORACLE instance started. Total System Global Area 167772160 bytes Fixed Size 778212 bytes Variable Size 66068508 bytes Database Buffers 100663296 bytes Redo Buffers 262144 bytes Database mounted. Database opened. SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production With the Partitioning, OLAP and Data Mining options Database "test" warm started. touch: cannot touch `/var/lock/subsys/oracle': No such file or directory OK --------------------- oracle@evoportable1:~$ sqlplus /nolog SQL*Plus: Release 10.1.0.3.0 - Production on Sun Nov 28 18:37:42 2004 Copyright (c) 1982, 2004, Oracle. All rights reserved. SQL> connect system/test as SYSDBA Connected to an idle instance. SQL> startup ORA-00371: not enough shared pool memory, should be atleast 52132659 bytes SQL> startup ORA-01078: failure in processing system parameters LRM-00109: could not open parameter file '/home/oracle/product/10.1.0/Db_1/dbs/initorcl.ora' http://www.freenix.fr/unix/linux/HOWTO/Oracle-HOWTO.html#toc3