Installing Oracle 11g On Ubuntu 10 32 bit
??? start)
??????? # Oracle listener and instance startup
??????? echo -n "Starting Oracle: "
??????? su $ORACLE_OWNR -c "$ORACLE_HOME/bin/lsnrctl start"
??????? su $ORACLE_OWNR -c "$ORACLE_HOME/bin/dbstart $ORACLE_HOME"
??????? touch /var/lock/oracle
??????? echo "OK"
??????? ;;
??? stop)
??????? # Oracle listener and instance shutdown
??????? echo -n "Shutdown Oracle: "
??????? su $ORACLE_OWNR -c "$ORACLE_HOME/bin/lsnrctl stop"
??????? su $ORACLE_OWNR -c "$ORACLE_HOME/bin/dbshut $ORACLE_HOME"
??????? rm -f /var/lock/oracle
??????? echo "OK"
??????? ;;
??? reload|restart)
??????? $0 stop
??????? $0 start
??????? ;;
??? \*)
??????? echo "Usage: `basename $0` start|stop|restart|reload"
??????? exit 1
esac
exit 0
Execute :
cd /etc/init.d
update-rc.d oracledb defaults 99
The above will create links within the rc\*.d directories.
jdbc:oracle:thin:@oracle11gdb:1521/ORCL
This should connect and allow you access to the database.