dbstart with wrong shell / wrong systax
From: Sven Hilmer <shilmer_at_invalid.invalid>
Date: Sun, 31 Jan 2010 15:03:11 +0100
Message-ID: <hk42j0$nek$1_at_news.albasani.net>
hi all
Date: Sun, 31 Jan 2010 15:03:11 +0100
Message-ID: <hk42j0$nek$1_at_news.albasani.net>
hi all
After installing Oracle database 11.2 on Solaris 10 x86 the dbstart script doesn't work because of the interpreter is set to /bin/sh but the script uses syntax of ksh/bash .
dbstart:
line 1:#!/bin/sh
...
line 89:export ORACLE_HOME=$ORACLE_HOME_LISTNER
This export statement is illegal for bourne shell so the script exits with an error message and doesn't the database processes
How do you solve this problem?
Sven
-- Sven-Olaf Hilmer, Solaris System Engineer http://www.hilmer-informatik.chReceived on Sun Jan 31 2010 - 08:03:11 CST