You are not logged in.

#1 2013-05-03 22:40:41

MyuFox
Member
Registered: 2013-05-03
Posts: 3

Throw me a bone here. Oracle Express issue.

My over all goal is to start learning SQL. Found this site with soem tutorials to follow. http://www.sqlzerotopro.com/ He is using Oracle express g10 to teach SQL. I would install it in windows but the download for it says in bold that it will not work in windows 64 bit. http://www.oracle.com/technetwork/produ … index.html
So in my infinite  wisdom I thought I would install a 64 bit version of Arch. I have two installs, one in VMWare workstation and other in VirtualBox (desktop, laptop). Install when well and I am at the point where I have lxde vim and things like that.

I go to install Oracle Express using these steps:
download tarball from https://aur.archlinux.org/packages.php?ID=12643
download the linux version from http://www.oracle.com/technetwork/produ … index.html
run sudo tar -zxf <downloaded tarball>
moved the oracle download in to the folder made by the tarball
Use makepkg -s in the tarball folder
Use sudo pacman -U <made package>
changed my group for my user with usermod -a -G dba <username>
Reboot
I got an error when logging in saying:

locale: Cannot set LC_CTYPE to default locale: no such file or directory
locale: Cannot set LC_MESSAGES to default locale: no such file or directory
locale: Cannot set LC_ALL to default locale: no such file or directory

Checked /etc/locale.gen    "en_US.UTF-8 UTF-8" and "en_US ISO-8859-1" are not commented.

Run sudo /etc/rc.d/oracle-ex configure     All default
Open Firefox and tried http://localhost:8080 and nothing happens
Rebooted
Run sudo /etc/rc.d/oracle-ex start    it starts
try again in the webrowser nothing happens.

Thinking it might be something with the locale errors I look into it. Found a lot of post asking for help, but not many having an answer that seemed to do the trick.

Running "locale" gives:
locale: Cannot set LC_CTYPE to default locale: no such file or directory
locale: Cannot set LC_MESSAGES to default locale: no such file or directory
locale: Cannot set LC_ALL to default locale: no such file or directory
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Now I am at the point where I do not know what to do. I don't know how to stop the locale errors, and the rc.conf seems to be missing. I do not know how to get to the point so I can start following long with the tutorials to start learning SQL using Oracle express. I'm so lost I do not know what to even search for anymore. I can find lots of info for things like Ubuntu and when I look into those steps Arch is missing half of the things it mentions or does have the commands that are used. I can't even find how to start Oracle Express in the command line for Arch. Any help would be appreciated.

Edit:
Found a log in /usr/lib/oracle/product/11.2.0/xe/log/<hostname>/client/clsc.log
[    CLSE][1390900992]clse_get_crs_home: Error retrieving OLR configuration [0] [Error opening olr.loc file. No such file directory]

Not sure if this brings any more light to my issue.

Last edited by MyuFox (2013-05-03 23:18:34)

Offline

#2 2013-05-04 02:00:40

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Throw me a bone here. Oracle Express issue.

What's the output of

locale -a
cat /etc/locale.conf

Re-run 'locale-gen' as root and reboot.

Offline

#3 2013-05-04 04:56:49

MyuFox
Member
Registered: 2013-05-03
Posts: 3

Re: Throw me a bone here. Oracle Express issue.

okay so I rebooted without saving the before. But basically locale -a output
locale: Cannot set LC_CTYPE to default locale: no such file or directory
locale: Cannot set LC_MESSAGES to default locale: no such file or directory
locale: Cannot set LC_ALL to default locale: no such file or directory

Now after running

sudo locale-gen

the output for

locale -a output

changed to.

C
en_US
en_US.iso88591
en_US.utf8
POSIX

The output for

cat /etc/locale.conf

before and after is.

LANG=en_US.UTF-8

When rebooting the cannot set issue seemed to have gone. Thank you for that.

However I still can not get to the point where I can start using Oracle 11g express. From other tutorial the config file was suppose to give an ip address that the https side can be accessed. When following the steps I was never given that address at the end of the configuration, which I left at defualts. I have tried localhost:8080/apex and http://172.0.0.1:8080/apex (ends in error The connection to the server was reset while the page was loading)I can't find where to confirm what the correct address is or how to access the program through commandline. At this point I am not sure if the program is not running correctly or if I am making a misstake somewhere.

Offline

Board footer

Powered by FluxBB