http://bugzilla.opensuse.org/show_bug.cgi?id=906900
--- Comment #72 from Achim Klausmann ---
Thank you gentlemen.
this is the funtion, that starts the database (from the original file):
##############################################
start() {
if [ "$CONFIGURE_RUN" != "true" ]
then
echo "Oracle Database 11g Express Edition is not configured. You must run
'/etc/init.d/oracle-xe configure' as the root user to configure the database."
exit 0
fi
status=`ps -ef | grep tns | grep oracle`
if [ "$status" == "" ]
then
if [ -f $ORACLE_HOME/bin/tnslsnr ]
then
echo "Starting Oracle Net Listener."
$SU -s /bin/bash $ORACLE_OWNER -c "$LSNR start" > /dev/null
2>&1
touch /var/lock/subsys/listener
fi
fi
pmon=`ps -ef | egrep pmon_$ORACLE_SID'\>' | grep -v grep`
if [ "$pmon" = "" ];
then
echo "Starting Oracle Database 11g Express Edition instance."
$SU -s /bin/bash $ORACLE_OWNER -c "$SQLPLUS -s /nolog
@$ORACLE_HOME/config/scripts/startdb.sql" > /dev/null 2>&1
else
echo "Oracle Database 11g Express Edition instance is already
started"
fi
RETVAL=$?
if [ $RETVAL -eq 0 ]
then
echo
touch /var/lock/subsys/oracle-xe
else
echo Failed to start Oracle Net Listener using
$ORACLE_HOME/bin/tnslsnr\
and Oracle Express Database using $ORACLE_HOME/bin/sqlplus.
RETVAL=1
fi
return $RETVAL
}
##############################################
After starting the listener and the database as user oracle,
the files
touch /var/lock/subsys/listener
touch /var/lock/subsys/oracle-xe
will be created as user root.
But let me say: i will create a little website after work,
which will describe the problem and show the full files,
also for the fedora guys.
Best regards
--
You are receiving this mail because:
You are on the CC list for the bug.