Re: dbstart with wrong shell / wrong systax

From: Michel Cadot <micadot{at}altern{dot}org>
Date: Sun, 31 Jan 2010 15:38:44 +0100
Message-ID: <4b6595f4$0$23017$426a34cc_at_news.free.fr>


"Sven Hilmer" <shilmer_at_invalid.invalid> a écrit dans le message de news: 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.ch

Change it to a syntax it accepts.
It has been long since I used sh but it is valid for Korn shell.

Regards
Michel Received on Sun Jan 31 2010 - 08:38:44 CST

Original text of this message