Installing Oracle XE 11g, on Opesuse 12.1

If any one has installed Oracle XE 11g on 12.1, please posy instruction!
Thanking you

Am 16.01.2012 01:26, schrieb kujirasan:
>
> If any one has installed Oracle XE 11g on 12.1, please posy instruction!
>
> Thanking you
>
>
I think if you post the details what exactly you do not understand from
oracles description will result in better answers.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.4 |
nVidia ION | 3GB Ram

Am 16.01.2012 02:05, schrieb Martin Helm:
> I think if you post the details what exactly you do not understand from
> oracles description will result in better answers.
>
In case you did not find it
http://docs.oracle.com/cd/E17781_01/install.112/e18802/toc.htm


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.4 |
nVidia ION | 3GB Ram

Thanks Martin!
The procedure out lined there works for Red Hat and the crew: Fedora, Centos, Sicietific Linux, etc , it is not straightforward for other ones! The RPM package intsalls on opensues, but getting to work in tough job!

Am 16.01.2012 10:46, schrieb kujirasan:
>
> Thanks Martin! The procedure out lined there works for Red Hat and
> the crew: Fedora, Centos, Sicietific Linux, etc , it is not
> straightforward for other ones! The RPM package intsalls on opensues,
> but getting to work in tough job!
>
What does not work for you? I have a oracle 11 xe running on a openSUSE
11.4 as well as a full oracle 11 for development on another virtual
machine with openSUSE 11.4. I’ld say there is no difference to 12.1 from
the point of view of installation, but have not yet done it.

If you already have the rpm installed then run the following


sudo /etc/init.d/oracle-xe configure

after you answered the questions (automatic startup, password …) the
database is created and the services (listener, web interface) started.
Open your browser and go to localhost:8080/apex and administrate your
instance.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.4 |
nVidia ION | 3GB Ram

Am 16.01.2012 12:06, schrieb Martin Helm:
> If you already have the rpm installed then run the following
>


> sudo /etc/init.d/oracle-xe configure
> 

> after you answered the questions (automatic startup, password …) the
> database is created and the services (listener, web interface) started.
> Open your browser and go to localhost:8080/apex and administrate your
> instance.
>
Quickly tested now on a virtual openSUSE 12.1 64 bit (minimal server
installation) and it works the same.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.4 |
nVidia ION | 3GB Ram

I have done that few times, here is the result :

/etc/init.d/oracle-xe configure

Oracle Database 11g Express Edition Configuration

This will configure on-boot properties of Oracle Database 11g Express
Edition. The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts. Press <Enter> to accept the defaults.
Ctrl-C will abort.

Specify the HTTP port that will be used for Oracle Application Express [8080]:

Specify a port that will be used for the database listener [1521]:

Specify a password to be used for database accounts. Note that the same
password will be used for SYS and SYSTEM. Oracle recommends the use of
different passwords for each database account. This can be done after
initial configuration:
Confirm the password:

Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:y

Starting Oracle Net Listener…touch: cannot touch `/var/lock/subsys/listener’: No such file or directory
Done
Configuring database…
Database Configuration failed. Look into /u01/app/oracle/product/11.2.0/xe/config/log for details

/u01/app/oracle/product/11.2.0/xe/config/log # dir
total 16
-rw-r–r-- 1 oracle dba 2479 Jan 17 02:41 cloneDBCreation.log
-rw-r–r-- 1 oracle dba 575 Jan 17 02:41 CloneRmanRestore.log
-rw-r–r-- 1 oracle dba 875 Jan 17 02:41 postDBCreation.log
-rw-r–r-- 1 oracle dba 1299 Jan 17 02:41 postScripts.log

Am 17.01.2012 03:56, schrieb kujirasan:
> Database Configuration failed. Look into
> /u01/app/oracle/product/11.2.0/xe/config/log for details

And what is the content of this file?
Did you inspect it?


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.4 |
nVidia ION | 3GB Ram

Am 17.01.2012 11:35, schrieb Martin Helm:
> Am 17.01.2012 03:56, schrieb kujirasan:
>> Database Configuration failed. Look into
>> /u01/app/oracle/product/11.2.0/xe/config/log for details
>
> And what is the content of this file?
> Did you inspect it?
>
/u01/app/oracle/product/11.2.0/xe/config/log is a directory, inspect all
the files in it for error messages. You can also post the content here,
if it is a lot (in my case the files are short since everything
succeeded on both systems) paste it to susepaste.org and give us the links.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.4 |
nVidia ION | 3GB Ram

The problem is with Listerner :
Starting Oracle Net Listener…touch: cannot touch `/var/lock/subsys/listener’: No such file or directory
Done
Configuring database…
Database Configuration failed. Look into /u01/app/oracle/product/11.2.0/xe/config/log for details

The files are empty

Am 17.01.2012 13:16, schrieb kujirasan:
>
> The problem is with Listerner :
> -Starting Oracle Net Listener…touch: cannot touch
> `/var/lock/subsys/listener’: No such file or directory-

No there is no problem, this is just a warning which I also got on a
12.1 system (it does not happen on 11.4).
It has absolutely no effect.

Done
Configuring database…
Database Configuration failed. Look into
/u01/app/oracle/product/11.2.0/xe/config/log for details

The files are empty

Do you have enough disk space, do you have enough RAM, do you have a
large enough swap space?


df -h
free -m

Check your system if it meets the requirements given by oracle.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.4 |
nVidia ION | 3GB Ram

I tried now on a second machine with 12.1 to install it and there it
failed, my log files contain useful information and are not empty. I
will not look today to solve it but tomorrow and report back here how to
solve it.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.4 |
nVidia ION | 3GB Ram

Am 17.01.2012 17:25, schrieb Martin Helm:
> I tried now on a second machine with 12.1 to install it and there it
> failed, my log files contain useful information and are not empty. I
> will not look today to solve it but tomorrow and report back here how to
> solve it.
>
Ok you do not need to wait so long, that looked like a a race condition
so my easy “solution” was now to reboot the machine press F5 in the grub
screen an switch for one time to sysvinit.
After that the configuration step succeeds and the database is created.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.4 |
nVidia ION | 3GB Ram

Hi martin, thanks for the help, I have 26.8 GB swap , I do Finite Element, this why I made it big:

swapon -s
Filename Type Size Used Priority
/dev/mapper/system-swap partition 26214396 0 0

Everything is in order, the best bet is people from Opensuse, or Novel, step in and do a package, though MySql is available, most educational establishment use Oracle for teaching, and XE is widely used, otherwise people spend lot of time in the forum,
I was at my friend’s house he use Red Hat derivatives , we installed it on Fedora and Centos, in few minutes!

Boot with sysvinit instead of systemd and you should also be done within
minutes.


PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
4.6.0 | GeForce GT 420 | 16GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.4 |
nVidia ION | 3GB Ram

Hello Martin Helm,
I followed all the steps you had outlined but I still ended up with the same error. I’m running openSUSE 12.2 64bit, KDE 4.8.5, 2GB RAM, 2.3GB SWAP, orarun-1.9-172.20.21.54.x86_64.rpm, oracle-xe-11.2.0-1.0.x86_64.rpm:

**linux-nozl:/home/antony # /etc/init.d/oracle-xe configure

Oracle Database 11g Express Edition Configuration

This will configure on-boot properties of Oracle Database 11g Express
Edition. The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts. Press <Enter> to accept the defaults.
Ctrl-C will abort.

Specify the HTTP port that will be used for Oracle Application Express [8080]:

Specify a port that will be used for the database listener [1521]:

Specify a password to be used for database accounts. Note that the same
password will be used for SYS and SYSTEM. Oracle recommends the use of
different passwords for each database account. This can be done after
initial configuration:
Confirm the password:

Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:y

Starting Oracle Net Listener…touch: cannot touch ‘/var/lock/subsys/listener’: No such file or directory
Done
Configuring database…
Database Configuration failed. Look into /u01/app/oracle/product/11.2.0/xe/config/log for details**

After many tries with no success, I decided to try and start Apache and then I stumbled onto another error:

**linux-nozl:/home/antony # rcapache2 start
redirecting to systemctl
Job failed. See system journal and ‘systemctl status’ for details.
linux-nozl:/home/antony # rcapache2 status
redirecting to systemctl
apache2.service - apache
Loaded: loaded (/lib/systemd/system/apache2.service; disabled)
Active: failed (Result: exit-code) since Fri, 05 Jul 2013 22:30:05 +0300; 5s ago
Process: 4654 ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -k start (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/apache2.service

Jul 05 22:30:05 linux-nozl start_apache2[4654]: Syntax error on line 14 of /etc/apache2/conf.d/mod_qos.conf:
Jul 05 22:30:05 linux-nozl start_apache2[4654]: Invalid command ‘QSC_WorkingDirectory’, perhaps misspelled or defined by a module not included in the server configuration
**
I’m not sure if they are related but I ran out of ideas to try out.

Please help:)

Hello,
I would like to inform everyone that I successfully installed oracle database in both opensuse and centos 6.4. I was also able to fix the Apache issue that I faced a while back reported here in my previous post. The problem was the Apache modules I had installed from another repository. Once I removed all the conflicting modules/packages, Apache was working once again.

Thanks guys for your support.

Hello people. I had the same problem.


kyb@linux-mqpy:~> sudo /etc/init.d/oracle-xe configure

Oracle Database 11g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 11g Express 
Edition.  The following questions will determine whether the database should 
be starting upon system boot, the ports it will use, and the passwords that 
will be used for database accounts.  Press <Enter> to accept the defaults. 
Ctrl-C will abort.

Specify the HTTP port that will be used for Oracle Application Express [8080]:

Specify a port that will be used for the database listener [1521]:

Specify a password to be used for database accounts.  Note that the same
password will be used for SYS and SYSTEM.  Oracle recommends the use of 
different passwords for each database account.  This can be done after 
initial configuration:
Confirm the password:

Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:

Starting Oracle Net Listener...touch: cannot touch '/var/lock/subsys/listener': No such file or directory
Done
Configuring database...
Database Configuration failed.  Look into /u01/app/oracle/product/11.2.0/xe/config/log for details

Here is my decision.

  1. I had installed apache2. But I don’t know was there any effect or not. Because I got the same result.
  2. sudo mkdir /var/lock/subsys/ WARMER
  3. Then i made some manipulations with oracle-shm. I don’t know what for. Despair. May be it was useful. https://community.oracle.com/message/9950220 h2.7
    sudo vim /etc/init.d/oracle-shm …
  4. I was going to edit /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora & …/original-ora/tnsnames.ora. STOP
    sudo vim /etc/hosts
    add
192.168.0.1 localhost
192.168.0.101   linux-mqpy.site

linux-mqpy - hostname
http://odba.ru/showthread.php?t=653

Now it’s working!!!
Thank you a lot.