View Full Version : [ubuntu] Oracle 10g xe installation on Jaunty server problem
deepakdeshp
August 27th, 2009, 04:56 AM
Hi,
My architecture is AMD and I installed the Oracle 10g Xe 386 .deb package with dpkg -i --force-architecture command.
Then I did oracle-xe configure to for configuring Oracl.
Oracle does not start and gives error 27. What am I doing wrong?
Where can I see the installation log?
Waappu
August 28th, 2009, 11:04 AM
Hi
Maybe you did not install all needed packages.
Check this guide if it helps you
http://littlebrain.org/2008/05/12/how-to-install-oracle-xe-in-ubuntu-64-bit/
deepakdeshp
August 28th, 2009, 05:17 PM
I will check it.
Thanks,
Deepak
deepakdeshp
August 31st, 2009, 10:16 AM
Hi,
I have followed the instructions as per the link given by you. The error remains as:-
oracleXE: error while loading shared libraries: libaio.so.1:
Installed the following packages.
l
ibc6-i386
libaio_0.3.104-1_i386.deb
bc
oracle-xe-universal_10.2.0.1-1.1_i386.deb.
The Oracle processes do not start . I am also not able to connect to localhost:8081/apex (8081 is the configured port instead of the default 8080).
When I run sqlplus the error is
oracleXE: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
ERROR:
ORA-12547: TNS:lost contact
I am able to connect to the listener at port 1521 with tnsping.
dpkg -l |grep libaio gives the following:
ii libaio1 0.3.107-3ubuntu1 Linux kernel AIO access library - shared lib
isparkes
October 8th, 2009, 03:42 PM
I have just done this for Oracle 10 on Ubuntu server 64 bit.
I wrote extensive instructions here
http://blog.open-bss.com/?p=23
deepakdeshp
October 8th, 2009, 06:41 PM
Hi all,
I have found out the problem. I had edited the /etc/hosts file and I was not getting output for the following commands:-
$hostname --fqdn
$hostname -a
$hostname -f
I fixed the hosts file so that I can get output for the 3 commands. After this I am able to start Orcale
But again /etc/init.d/oracle-xe stop does not stop Oracle .
/etc/init.d/oracle-xe start doesnt start Oracle.
Only /etc/init.d/oracle-xe restart works and Oracle starts runnig after the restart command. Any ideas why this may be happening?
Regards,
Deepak
PHR
November 20th, 2009, 06:02 PM
I found out that de variable "$ORACLE_DBENABLED" blocks the start en stop function.
This variable will only be set to true in case you have choosen to startup the database at boot-time.
Excerpt from the oracle-xe shell script reveals:
if test "$ORACLE_DBENABLED" != "true"
then
exit 0
fi
I replaced this for both stop and start function:
if [ 1 = 2 ] #test "$ORACLE_DBENABLED" != "true"
then
exit 0
fi
Works fine for me now.
Waappu
November 21st, 2009, 12:51 AM
Hi,
http://ubuntuforums.org/showpost.php?p=7838671&postcount=4
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.