LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-12-2005, 03:24 AM   #1
dbaxps
LQ Newbie
 
Registered: Nov 2005
Posts: 12

Rep: Reputation: 0
Installing TOra 1.3.18 & Qt 3.3.5 on CentOS 4.1 (RHEL 4 U1) box running Oracle 10g R2


Perform free download from available mirrors
1.qt-x11-free-3.3.5.tar.gz
2.tora-1.3.18.tar.gz

Configuring tora-1.3.18 with original version of Qt crashes due to absence
of qt-mt library

1. Unpack the Qt archive :

# cd /usr/local
# gunzip qt-x11-free-3.3.5.tar.gz
# tar xvf qt-x11-free-3.3.5.tar

This creates the directory /usr/local/qt-x11-free-3.3.5 containing the
files from the main archive.
Rename qt-x11-free-3.3.5 to qt (or make a symlink):


# mv qt-x11-free-3.3.5 qt

The rest of this file assumes that Qt is installed in /usr/local/qt.

Source in root's bash environment:
QTDIR=/usr/local/qt
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/doc/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDIR PATH MANPATH LD_LIBRARY_PATH

# cd /usr/local/qt
# ./configure -thread
# make


At this point Qt Library has been built

Perform Instant Client Install:-

# rpm -Uvh oracle-instantclient-basic-10.2.0.1-1.i386.rpm
# rpm -Uvh oracle-instantclient-devel-10.2.0.1-1.i386.rpm
# rpm -Uvh oracle-instantclient-sqlplus-10.2.0.1-1.i386.rpm

Create orauser:-

# useradd -g oinstall -G dba orauser
# passwd orauser

Login as orauser:-

Orauser's profile

PATH=$PATH:$HOME/bin
export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.1/client/lib
export TNS_ADMIN=/u01/app/oracle/product/10.2.0/db_1/network/admin
LD_LIBRARY_PATH=/usr/lib:/usr/X11R6/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
export DISPLAY=:0.0
unset USERNAME

Next:-

[orauser@ServerORCL ~]$ tar xvf tora-1.3.18.tar
[orauser@ServerORCL ~]$ cd tora-1.3.18
[orauser@ServerORCL ~]$./configure --with-qt-dir=/usr/local/qt --with-instant-client
[orauser@ServerORCL ~]$ make

As root:-

# cd ~orauser/tora-1.3.18
# make install

As orauser:-

Add export MALLOC_CHECK_=0 to .bash_profile and relogin.
to avoid crashing like :-

*** glibc detected *** double free or corruption (!prev): 0x09acad08 ***

when running binary /usr/local/tora/bin/tora

Regarding glibc issue :-

The version of glibc provided with CentOS 4.1 performs additional internal sanity checks to prevent and detect data corruption as early as possible. By default, should corruption be detected, a message similar to the following will be displayed on standard error (or logged via syslog if stderr is not open):

*** glibc detected *** double free or corruption: 0x0937d008 ***

By default, the program that generated this error will also be killed; however, this (and whether or not an error message is generated) can be controlled via the MALLOC_CHECK_ environment variable. The following settings are supported:

0 Do not generate an error message, and do not kill the program
1 Generate an error message, but do not kill the program
2 Do not generate an error message, but kill the program
3 Generate an error message and kill the program

Note:

If MALLOC_CHECK_ is explicitly set a value other than 0, this causes glibc to perform more tests that are more extensive than the default, and may impact performance.Should you have a program from a third party ISV that triggers these corruption checks and displays a message, you should file a defect report with the application's vendor, since this indicates a serious bug.
 
Old 02-22-2007, 08:39 AM   #2
jjpizarro
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Rep: Reputation: 0
Tora on Linux Red Hat Enterprise 4 running Oracle 10g R2

[QUOTE=dbaxps]Perform free download from available mirrors
1.qt-x11-free-3.3.5.tar.gz
2.tora-1.3.18.tar.gz

Configuring tora-1.3.18 with original version of Qt crashes due to absence
of qt-mt library

1. Unpack the Qt archive :

# cd /usr/local
# gunzip qt-x11-free-3.3.5.tar.gz
# tar xvf qt-x11-free-3.3.5.tar

This creates the directory /usr/local/qt-x11-free-3.3.5 containing the
files from the main archive.
Rename qt-x11-free-3.3.5 to qt (or make a symlink):


# mv qt-x11-free-3.3.5 qt

The rest of this file assumes that Qt is installed in /usr/local/qt.

Source in root's bash environment:
QTDIR=/usr/local/qt
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/doc/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDIR PATH MANPATH LD_LIBRARY_PATH

# cd /usr/local/qt
# ./configure -thread
# make
for configure wait forn long time and make too

At this point Qt Library has been built

Perform Instant Client Install:-

# rpm -Uvh oracle-instantclient-basic-10.2.0.1-1.i386.rpm
# rpm -Uvh oracle-instantclient-devel-10.2.0.1-1.i386.rpm
# rpm -Uvh oracle-instantclient-sqlplus-10.2.0.1-1.i386.rpm

Create orauser:-
# groupadd dba
# useradd -g dba torauser
# passwd torauser

Login as torauser:-

edit torauser's profile: vi .bash_profile

and add

PATH=$PATH:$HOME/bin

export PATH

LD_LIBRARY_PAT=H/usr/lib/oracle/10.1.0.3/client/lib
export ORACLE_HOME=/home/oracle10g/client_1
export TNS_ADMIN=/home/oracle10g/client_1/network/admin
LD_LIBRARY_PATH=/usr/lib:/usr/X11R6/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
export DISPLAY=:0.0


Next:-

[torauser@ServerORCL ~]$ tar xvf tora-1.3.18.tar
[torauser@ServerORCL ~]$ cd tora-1.3.18
[torauser@ServerORCL ~]$./configure --with-qt-dir=/usr/local/qt --with-instant-client --without-kde
[orauser@ServerORCL ~]$ make

for make wait for long time
As root:-

# cd /home/torauser/tora-1.3.18
# make install

Arunning binary:

cd /usr/local/tora/bin

and execute ./tora
 
Old 02-22-2007, 08:41 AM   #3
jjpizarro
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Rep: Reputation: 0
Installing TOra 1.3.18 & Qt 3.3.5 on CentOS 4.1 (RHEL 4 U1) box running Oracle 10g R2

[QUOTE=dbaxps]Perform free download from available mirrors
1.qt-x11-free-3.3.5.tar.gz
2.tora-1.3.18.tar.gz

Configuring tora-1.3.18 with original version of Qt crashes due to absence
of qt-mt library

1. Unpack the Qt archive :

# cd /usr/local
# gunzip qt-x11-free-3.3.5.tar.gz
i installed Tora on Linux Red Hat Enterprise 4 running Oracle 10g R2 folowing:

# tar xvf qt-x11-free-3.3.5.tar

This creates the directory /usr/local/qt-x11-free-3.3.5 containing the
files from the main archive.
Rename qt-x11-free-3.3.5 to qt (or make a symlink):


# mv qt-x11-free-3.3.5 qt

The rest of this file assumes that Qt is installed in /usr/local/qt.

Source in root's bash environment:
QTDIR=/usr/local/qt
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/doc/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDIR PATH MANPATH LD_LIBRARY_PATH

# cd /usr/local/qt
# ./configure -thread
# make
for configure wait forn long time and make too

At this point Qt Library has been built

Perform Instant Client Install:-

# rpm -Uvh oracle-instantclient-basic-10.2.0.1-1.i386.rpm
# rpm -Uvh oracle-instantclient-devel-10.2.0.1-1.i386.rpm
# rpm -Uvh oracle-instantclient-sqlplus-10.2.0.1-1.i386.rpm

Create orauser:-
# groupadd dba
# useradd -g dba torauser
# passwd torauser

Login as torauser:-

edit torauser's profile: vi .bash_profile

and add

PATH=$PATH:$HOME/bin

export PATH

LD_LIBRARY_PAT=H/usr/lib/oracle/10.1.0.3/client/lib
export ORACLE_HOME=/home/oracle10g/client_1
export TNS_ADMIN=/home/oracle10g/client_1/network/admin
LD_LIBRARY_PATH=/usr/lib:/usr/X11R6/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
export DISPLAY=:0.0


Next:-

[torauser@ServerORCL ~]$ tar xvf tora-1.3.18.tar
[torauser@ServerORCL ~]$ cd tora-1.3.18
[torauser@ServerORCL ~]$./configure --with-qt-dir=/usr/local/qt --with-instant-client --without-kde
[orauser@ServerORCL ~]$ make

for make wait for long time
As root:-

# cd /home/torauser/tora-1.3.18
# make install

Arunning binary:

cd /usr/local/tora/bin

and execute ./tora
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Oracle 10g kponenation Slackware 3 01-03-2009 08:57 AM
does rhel as/es/ws all versions all updates work on oracle 10g release 1 vasudha Linux - Software 1 10-18-2005 04:58 PM
Oracle 10g on RHEL 4 notcrazy Red Hat 0 06-22-2005 07:46 PM
O/S partitioning scheme for Oracle 10g on RHEL Linux AS3 lugnut Linux - Enterprise 0 01-03-2005 01:46 AM
Installing oracle 10g on FC 2 qmon2002 Fedora 6 10-05-2004 04:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration