Search

Resume and bio of the author Couple of articles related to my hobby - robotics
My impressions about immigration to Australia. In Russian only. Recipes for everyday problems solving
Linux-related posts Windows-related posts
Software-related posts A lot of info about hardware
Different tools you might find useful Posts about various web technologies
Everything that doesn't fit the rest of the menu RSS feed for this blog

Tag Cloud

Archives

Links

Andrey Mikhalchuk’s Blog

Technoblog about life

May 8, 2013 Installing Oracle XE 11g on OpenSuSE 12.2 and similar

Overall the installation is pretty smooth, just follow the instructions on Oracle website.

There are two minor hiccups though:
1. cannot touch `/var/lock/subsys/listener’: No such file or directory

This error is cause by the fact there is no /var/lock/subsys directory in some Linux distros, so you need to create one. Before you run “/etc/init.d/oracle-xe configure” run

mkdir /var/lock/subsys

2. The second one is trickier. When you run the configuration wizard it fails while configuring the database and the log files contain something like

==> cloneDBCreation.log <==
alter system disable restricted session
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0



This one is typically caused by listener not running (even though the previous line in the configuration log says it is running). Try this:

hostname
# this will display the hostname
ping

If that ping hangs (i.e. the host knows its own name, but can't ping itself) please go ahead and update the /etc/hosts file and add the hostname to the 127.0.0.1 entry. Restart the configuration and this time it will hopefully succeed.

This post is published in How To, Linux.

No comments

No comments so far

Leave a Reply

You must be logged in to post a comment.

Site Map (c) Andrey Mikhalchuk, 2005-2008