Google 网上论坛不再支持新的 Usenet 帖子或订阅项。历史内容仍可供查看。

dbca not working in Linux

已查看 2 次
跳至第一个未读帖子

linuxq...@yahoo.com

未读,
2003年11月7日 01:50:422003/11/7
收件人
Hi all,

I've installed oracle 9.2 on Suse Linux Personal 8.2.
The database didn't install correctly when I installed
the oracle software.

And now the database configuration assistant doesn't work
either.

I did the following in a console window. However, it
also didn't run, in the "run" window. I'm sure this
is some kind of setup issue.

I tried adding some paths to CLASSPATH, but no luck.
This was run as the oracle user.

Any ideas?

Thanks


dbca

SIGSEGV 11* segmentation violation
stackbase=0x453d9000, stackpointer=0x453d8d5c

Full thread dump:
"stderr reader pid=4840" (TID:0x411d5248, sys_thread_t:0x45495e0c,
state:R) prio=5
"stdout reader pid=4840" (TID:0x411d51f8, sys_thread_t:0x45474e0c,
state:R) prio=5
"process reaper" (TID:0x411d5388, sys_thread_t:0x45453e0c,
state:R) prio=5
"AWT-Motif" (TID:0x411dd570, sys_thread_t:0x45432e0c, state:R)
prio=5
"AWT-Input" (TID:0x411dd550, sys_thread_t:0x45411e0c, state:R)
prio=5
"AWT-EventQueue-0" (TID:0x411dd538, sys_thread_t:0x453d8e0c,
state:R) prio=5 *current thread*
"Finalizer thread" (TID:0x411b4210, sys_thread_t:0x444d5e0c,
state:R) prio=1
"Async Garbage Collector" (TID:0x411b4258,
sys_thread_t:0x444b4e0c, state:R) prio=1
"Idle thread" (TID:0x411b42a0, sys_thread_t:0x44493e0c, state:R)
prio=0
"Clock" (TID:0x411b4088, sys_thread_t:0x44472e0c, state:CW)
prio=12
"main" (TID:0x411b40b0, sys_thread_t:0x8231238, state:CW) prio=5
java.io.PipedInputStream.read(PipedInputStream.java)
java.lang.ProcessInputStream.read(UNIXProcess.java)
java.io.PipedInputStream.read(PipedInputStream.java)
java.io.InputStream.read(InputStream.java)
java.io.InputStreamReader.fill(InputStreamReader.java)
java.io.InputStreamReader.read(InputStreamReader.java)
java.io.BufferedReader.fill(BufferedReader.java)
java.io.BufferedReader.readLine(BufferedReader.java)
oracle.ops.mgmt.nativesystem.sQueryCluster.<init>(sQueryCluster.java:78)
oracle.ops.mgmt.cluster.Cluster.isCluster(Cluster.java:113)
oracle.sysman.assistants.util.ClusterUtils.<clinit>(ClusterUtils.java:61)
oracle.sysman.assistants.dbca.backend.Host.checkOPS(Host.java:1815)
oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:469)
oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:185)
oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:141)
oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:85)
oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:161)
Monitor Cache Dump:
java.io.InputStreamReader@1092440760/1093032288: owner "main"
(0x8231238, 1 entry)
java.lang.ProcessInputStream@1092441240/1093029728: <unowned>
Waiting to be notified:
"main" (0x8231238)
Registered Monitor Dump:
Thread queue lock: <unowned>
Name and type hash table lock: <unowned>
String intern lock: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class loading lock: <unowned>
Java stack lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Has finalization queue lock: <unowned>
Finalize me queue lock: <unowned>
Dynamic loading lock: <unowned>
Monitor IO lock: <unowned>
Child death monitor: <unowned>
Event monitor: <unowned>
I/O monitor: <unowned>
Alarm monitor: <unowned>
Waiting to be notified:
"Clock" (0x44472e0c)
Monitor registry: owner "AWT-EventQueue-0" (0x453d8e0c, 1 entry)
Thread Alarm Q:
sys_thread_t 0x8231238 [Timeout in 994 ms]
/oracle/ora92/bin/dbca: line 124: 4830 Killed
$JRE_DIR/bin/jre -DORACLE_HOME=$OH -DJDBC_PROTOCOL=thin -mx64m
-classpath $CLASSPATH ora cle.sysman.assistants.dbca.Dbca
$ARGUMENTS
oracle92@linux:~>


------------------------

env

CLASSPATH=/oracle/ora92/assistants/dbca/jlib/dbca.jar:/oracle/ora92/assistants/dbma/jlib/dbma.jar
COLORTERM=
CPU=i686
DISPLAY=:0.0
GDK_USE_XFT=1
GNOME2_PATH=/opt/gnome2:/opt/gnome:/opt/kde3/share/icons/crystalsvg/48x48/apps:/opt/kde3/share/icons/hicolor/SuSE-48x48/apps:/opt/kde3/share/icons/crystalsvg/32x32/apps
GNOMEDIR=/opt/gnome
GNOMEPATH=/opt/gnome2
GNOME_PATH=:/opt/gnome:/usr
GTK2_RC_FILES=/home/oracle92/.gtk2rc-keramik:/etc/X11/gtk2rc-keramik
GTK_DATA_PREFIX=/opt/gnome2
GTK_RC_FILES=/home/oracle92/.gtkrc-keramik:/etc/X11/gtkrc-keramik:/home/oracle92/.gtkrc-kde
G_BROKEN_FILENAMES=1
HISTSIZE=1000
HOME=/home/oracle92
HOST=linux
HOSTNAME=linux
HOSTTYPE=i386
INFODIR=/usr/local/info:/usr/share/info:/usr/info
INFOPATH=/usr/local/info:/usr/share/info:/usr/info
INPUTRC=/etc/inputrc
JAVA_BINDIR=/usr/lib/java/jre/bin
JAVA_HOME=/usr/lib/java/jre
JAVA_ROOT=/usr/lib/java
JRE_HOME=/usr/lib/java/jre
KDEHOME=/home/oracle92/.kde
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
KONSOLE_DCOP=DCOPRef(konsole-4590,konsole)
KONSOLE_DCOP_SESSION=DCOPRef(konsole-4590,session-1)
LANG=en_US
LC_COLLATE=POSIX
LD_HWCAP_MASK=0x20000000
LESS=-M -I
LESSCLOSE=lessclose.sh %s %s
LESSKEY=/etc/lesskey.bin
LESSOPEN=lessopen.sh %s
LESS_ADVANCED_PREPROCESSOR=no
LIBPATH=/oracle/ora92/lib
LOGNAME=oracle92
LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31:ex=00;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=0
;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:
LS_OPTIONS=-N --color=tty -T 0
MACHTYPE=i686-suse-linux
MANPATH=/usr/local/man:/usr/share/man:/usr/X11R6/man:/opt/gnome2/man:/opt/gnome/man
MINICOM=-c on
NNTPSERVER=news
OPENWINHOME=/usr/openwin
ORACLE_BASE=/oracle
ORACLE_HOME=/oracle/ora92
OSTYPE=linux
PAGER=less
PATH=/oracle/ora92/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome2/bin:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin:/opt/gnome/bin:.:
PRINTER=lp
PROFILEREAD=true
PWD=/home/oracle92
SESSION_MANAGER=local/linux:/tmp/.ICE-unix/4498
SHELL=/bin/bash
SHLVL=2
TERM=xterm
TEXINPUTS=:/home/oracle92/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX
USER=oracle92
USE_FAM=no
WINDOWMANAGER=/usr/X11R6/bin/kde
XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd
XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
XNLSPATH=/usr/X11R6/lib/X11/nls
XSESSION_IS_UP=yes
_=/usr/bin/env

stephan beal

未读,
2003年11月7日 06:59:552003/11/7
收件人
linuxq...@yahoo.com wrote:

> Hi all,
>
> I've installed oracle 9.2 on Suse Linux Personal 8.2.
> The database didn't install correctly when I installed
> the oracle software.

www.suse.com/oracle/

Not all Suse versions support all versions of Oracle.

--
----- stephan beal
http://s11n.net/
Registered Linux User #71917 http://counter.li.org
I speak for myself, not my employer. Contents may
be hot. Slippery when wet. Reading disclaimers makes
you go blind. Writing them is worse. You have been Warned.

Dan Kirk

未读,
2003年11月7日 09:21:202003/11/7
收件人
linuxq...@yahoo.com wrote:

> Hi all,
>
> I've installed oracle 9.2 on Suse Linux Personal 8.2.
> The database didn't install correctly when I installed
> the oracle software.
>
> And now the database configuration assistant doesn't work
> either.
>
> I did the following in a console window. However, it
> also didn't run, in the "run" window. I'm sure this
> is some kind of setup issue.
>
> I tried adding some paths to CLASSPATH, but no luck.
> This was run as the oracle user.
>
> Any ideas?
>
> Thanks
>

Yep, got a few ideas, and I have Oracle 9.2 installed on a SuSE 8.1 OS.

First, if you have Oracle installed and cannot get a database installed,
this could be due to the pathing in those darned configuration files. If
you failed to get Oracle installed correctly, then the problem can be two
items of interest.

First, you need glibc-locale.rpm installed on the SuSE version. It's a must
have.

Next, when you start the install, you will get an error message (something
about plsql). When this happens, log on as root on another screen, and go
to $ORACLE_HOME/bin. Edit the file genclntsh, find the line beginning with
SYSLIBS.

Edit this line by adding -lgcc -L /usr/lib/gcc-lib/i486-suse-linux/3.2/

write and quit.

If you install Oracle in anything other than the default directory, you got
all kinds of pathing issues. The same holds true for the databases you
create. If you are a Linux user, you can edit pathing in the genelntsh
file by changing the EXPORTed variable paths.

After you create the (if other than the default path), you need to copy the
init[dbname].ora from the database home directory to the [oraclehome]/dba
directory. When you edit the startup scripts to start the database, this
is where it will look for the initialization parameters for the db.

Good Luck,

dan kirk
PS: unless you are looking to get deep into Oracle and Linux, I suggest
just using the default install parameters. It was set up according to some
d*&%med group's 'ideal' of a universal database structure. Useless, and
worse than useless when you want your executable stuff on one drive and
your actual data files on another as with a data warehouse.


linuxq...@yahoo.com

未读,
2003年11月7日 12:34:302003/11/7
收件人
Not being certified with Oracle support does not mean that it
won't work. 8.2 was recommended by an Oracle and Linux guru.
Oracle database runs on XP, even though that is not certified.

Back to the question. How to get the GUI to work on the single
node? Is it the Display environment variable?

Thanks


stephan beal <ste...@s11n.net> wrote in message news:<bog18n$ln3$1...@ork.noris.net>...

Don Sleffel

未读,
2003年11月9日 11:34:042003/11/9
收件人
On Thu, 06 Nov 2003 22:50:42 -0800, linuxquestio wrote:

> Hi all,
>
> I've installed oracle 9.2 on Suse Linux Personal 8.2. The database
> didn't install correctly when I installed the oracle software.
>
> And now the database configuration assistant doesn't work either.
>
> I did the following in a console window. However, it also didn't run,
> in the "run" window. I'm sure this is some kind of setup issue.
>
> I tried adding some paths to CLASSPATH, but no luck. This was run as the
> oracle user.
>
> Any ideas?
>
> Thanks
>
>

I had this same problem (although mine was on debian ) and solved it by
using a newer java engine.I opened up $ORACLE_HOME/bin/dbca and changed
JRE_DIR to point to a local working copy of the JRE. Assuming that you
have a relatively recent copy of the JRE, you'll also need to change two
lines toward the bottom. $JRE_DIR/bin/jre will now become
$JRE_DIR/bin/java. Then I restarted dbca and everything ran fine.

-- DDS

Dave Hau

未读,
2003年11月9日 18:21:152003/11/9
收件人
Try:

unset CLASSPATH
LD_ASSUME_KERNEL=2.4.1
THREADS_FLAG=native
export LD_ASSUME_KERNEL THREADS_FLAG

HTH,
Dave


<linuxq...@yahoo.com> wrote in message
news:672ceaed.03110...@posting.google.com...

Sybrand Bakker

未读,
2003年11月10日 02:44:032003/11/10
收件人
On 7 Nov 2003 09:34:30 -0800, linuxq...@yahoo.com wrote:

>Back to the question. How to get the GUI to work on the single
>node? Is it the Display environment variable?

Of course not. SIGSEGV tells you have a pointer to a non-existing
memory location. Usually this points to lack of memory.

I'm not sure why you insist on being 'smart' by installing Oracle on a
platform for which it wasn't certified. You seem to be the adventurous
type, who really likes hacking around. Be aware, if you run into
trouble, because of your platform choice, you will be on your own.


--
Sybrand Bakker, Senior Oracle DBA

mike burke

未读,
2003年11月10日 03:53:332003/11/10
收件人
Hi,

Edit $ORACLE_HOME/bin/dbca and insert these comments (####):

#### if [ -f /etc/rac_on ];then
# RUN DBCA ...
$JRE_DIR/bin/jre -native -DORACLE_HOME ... Dbca $ARGUMENTS
#### else
# RUN DBCA
##### $JRE_DIR
##### fi

dbca should now work but you will have to kill the process after the
database or template has been created


hth

Mike

linuxq...@yahoo.com

未读,
2003年11月13日 02:40:522003/11/13
收件人
Thanks all for your responses. This is what I did:

backup, then edit the file:
/oracle/ora92/bin/dbca

At the tail end of the file, comment out all, but the line:
$JRE_DIR/bin...
Previously, all were set to run.

#if [ -f /etc/rac_on ]; then
# Run DBCA

$JRE_DIR/bin/jre -native -DORACLE_HOME=$OH -DJDBC_PROTOCOL=thin -mx64m
-classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS

#else
# Run DBCA
# $JRE_DIR/bin/jre -DORACLE_HOME=$OH -DJDBC_PROTOCOL=thin -mx64m
-classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS
#fi


It worked. If anyone else has the same problem, I hope this helps.

0 个新帖子