I had my installation upgraded to 10.1.0.5 while running Tiger. After the leopard installation (I installed on a new volume and imported the users from the old volume) I only had to create the dba group like it was in tiger and assign it to my dba account.
$>sudo dscl . -create /Groups/dba
$>sudo dscl . -create /Groups/dba gid 504
$>sudo dscl . append /Groups/dba GroupMembership ronr
After this I could start the database as before:
$>uname -a
Darwin ronald-roods-power-mac-g4.local 9.0.0 Darwin Kernel Version 9.0.0: Tue Oct 9 21:37:58 PDT 2007; root:xnu-1228~1/RELEASE_PPC Power Macintosh
test10 ronr@ronald-roods-power-mac-g4:/Users/oracle/oradata
$>sqlplus "/ as sysdba"
SQL*Plus: Release 10.1.0.5.0 - Production on Mon Oct 29 20:52:17 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 612368384 bytes
Fixed Size 780656 bytes
Variable Size 300684944 bytes
Database Buffers 310378496 bytes
Redo Buffers 524288 bytes
Database mounted.
Database opened.
SQL> select * from v$instance;
INSTANCE_NUMBER INSTANCE_NAME
--------------- ----------------
HOST_NAME
----------------------------------------------------------------
VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_
----------------- --------- ------------ --- ---------- ------- -----------
LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST
---------- --- ----------------- ------------------ ---------
1 test10
ronald-roods-power-mac-g4.local
10.1.0.5.0 29-OCT-07 OPEN NO 1 STOPPED
ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.5.0 - Production
installation
Since many people had problems getting there leopard to run oracle 10gR1 I decided to create a new installation on my system. For the installation we need gcc 3.3. In tiger Apple had a nice little script /usr/sbin/gcc_select that enabled us to easily switch back to the gcc 3.3 compiler. In leopard this compiler version has to be installed separately and the gcc_select script of tiger can still be used for this goal. For the rest the installation is as straightforward as it was in tiger ... (not very). Ignore all link errors and repeat the trick with
sudo gcc_select 3.3
cd $ORACLE_HOME/lib
mv libnnz10.dylib libnnz10.dylib.ori
relink all
mv libnnz10.dylib.ori libnnz10.dylib
After this I made symlinks from the old ORACLE_HOME/dbs/ passwdORACLE_SID.ora and spfileORACLE_SID.ora to the current ORACLE_HOME and was able to start the database without any problems.
problems
It appeared that the problem others ran into had to do with the processes parameter and the os limits kern.maxproc (default 532) and kern.maxprocperuid (default 266). Despite the fact that those parameters were set to good values a kernal panic came when the instance started. A bug has been filed by Apple so let's hope a quick patch is available soon.