i wasn't able to get oracle to start after a reboot.
1. after reading the scripts, found that dbstart had
hardcoded a path variable:
to fix, set ORACLE_HOME_LISTNER to $ORACLE_HOME .
2. noticed that /opt/var/oracle/oratab was not
created.
executed the $ORACLE_HOME/root.sh
edited the oratab file, to change the "N" at the
end of the line, to "Y".
dbstart checks for lines with "Y" for databases
to start.
3. when running dbstart on the command line, the
system complained that oracle did not permissions
to start the processes.
saw that the oracle directories were owned by
me. suspect that because i killed runInstaller
after it hang'ed, it didn't get around to changing the
ownerships ..
cd(1) to $ORACLE_HOME/../..
which for me is the directory 10.2.0 (under product).
chown -R oracle:dba .
set the directories for oracle accesses.
4. this time, at the command line, dbstart ran okay,
but ps(1) did not show the listener processes.
network/logs/listener.log shows that the listener
process was still having permission problems.
didn't say what resources were involved ...
after running truss over the process, saw that the
listener process was getting EPERMs when accessing
/var/tmp/.oracle
the dir belonged to root, and the 2 files created in
that dir belonged to me.
suspect that these were created when i ran the scripts
under different user accounts, when i was debugging the
problem.
shutdown the oracle related processes, removed
the /var/tmp/.oracle
5. rebooted the system, now the processes are started.
not sure if all the required processes are there,
don't know enough about oracle arch ...
going through the oracle admin guides and concept
doc now ..
hopefully, somebody else who is installing oracle on
opensolaris (2009.06), will find this info of some help.
Bookmarks