Monday 10 November 2008

nls_lang.sh: 114: [[: not found (Oracle XE problem on ubuntu)

I installed Oracle Express edition on Kubuntu again, and I got a familiar error again after running:
. /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/nls_lang.sh: 114: [[: not found

the solution is to change (as root or sudo) the first line in the "nls_lang.sh" from
#! /bin/sh
to
#! /bin/bash

http://forums.oracle.com/forums/thread.jspa?messageID=2325040

4 comments: