Grupos de Google ya no admite nuevas publicaciones ni suscripciones de Usenet. El contenido anterior sigue siendo visible.

Error while installing 8.1.7 on Linux

Visto 125 veces
Saltar al primer mensaje no leído

Alexander Skwar

no leída,
4 jul 2003, 12:25:274/7/03
a
Hello.

I'm trying to install 8.1.7 on Mandrake Linux 9.1.

After setting LD_ASSUME_KERNEL=2.2.5, I was able to run the installer.
However, after selecting what and where to install to, I get the following
error message:


Fehler beim Aufruf des Ziels relink von makefile
/opt/oracle/product/8.1.7/precomp/lib/ins_precomp.mk.

As you can see, I'm installing it in german. The message should mean
something like:


Error while calling target relink of makefile
/opt/oracle/product/8.1.7/precomp/lib/ins_precomp.mk


In the main window of Oracle Universal Installer, I see that it got to 65%
and "Installation erfolgreich" (Installation successfull) and "Verknüpfen
von Oracle8i Enterprise Edition 8.1.7.0.1" (Relinking of Oracle8i
Enterprise Edition 8.1.7.0.1).

What's the error that I'm getting and how can I make it go away?

Thanks,

Alexander Skwar
--
die_if_kernel("Kernel gets FloatingPenguinUnit disabled trap", regs);
2.2.16 /usr/src/linux/arch/sparc/kernel/traps.c

Alexander Skwar

no leída,
4 jul 2003, 12:55:064/7/03
a
On Fri, 4 Jul 2003 18:25:27 +0200, Alexander Skwar wrote:

> What's the error that I'm getting and how can I make it go away?

I just noticed, that there's an install log. It contains:

Starten der InstallationVerknüpfungsphase von Komponente Oracle8i Enterprise Edition
Aufruf von Aktion unixActions1.7.1.5.0 make
installMakePath = /usr/bin/make
installMakeFileName = /opt/oracle/product/8.1.7/network/lib/ins_net_client.mk
installTarget = mkldflags
undoMakeFileName =
installArguments = ORACLE_HOME=/opt/oracle/product/8.1.7,
logFile = /opt/oracle/product/8.1.7/install/make.log
undoTarget =

Aufruf von Aktion unixActions1.7.1.5.0 make
installMakePath = /usr/bin/make
installMakeFileName = /opt/oracle/product/8.1.7/network/lib/ins_net_client.mk
installTarget = client_sharedlib
undoMakeFileName =
installArguments = ORACLE_HOME=/opt/oracle/product/8.1.7,
logFile = /opt/oracle/product/8.1.7/install/make.log
undoTarget =

Aufruf von Aktion unixActions1.7.1.5.0 make
installMakePath = /usr/bin/make
installMakeFileName = /opt/oracle/product/8.1.7/precomp/lib/ins_precomp.mk
installTarget = relink
undoMakeFileName =
installArguments = ORACLE_HOME=/opt/oracle/product/8.1.7,EXENAME=ott,
logFile = /opt/oracle/product/8.1.7/install/make.log
undoTarget =

Ausnahme von Aktion: make
Name der Ausnahme: MakefileException
Zeichenkette der Ausnahme: Fehler beim Aufruf des Ziels relink von makefile /opt/oracle/product/8.1.7/precomp/lib/ins_precomp.mk.

Hm, still doesn't tell me much about what to do...

Alexander Skwar
--
danke dir du sprichst mir aus der seele ich dachte schohn
ich waer zu doff fuer diese kominiti aber auch ich bin hier
schohn seit einpar tagen unterwegs ...
"cetdsl" in microsoft.public.de.german.win98.allgemein

Sybrand Bakker

no leída,
4 jul 2003, 14:40:354/7/03
a
On Fri, 4 Jul 2003 18:55:06 +0200, Alexander Skwar
<use...@alexander.skwar.name> wrote:

> logFile = /opt/oracle/product/8.1.7/install/make.log
> undoTarget =
>
>Ausnahme von Aktion: make
>Name der Ausnahme: MakefileException
>Zeichenkette der Ausnahme: Fehler beim Aufruf des Ziels relink von makefile /opt/oracle/product/8.1.7/precomp/lib/ins_precomp.mk.
>
>Hm, still doesn't tell me much about what to do...


Did you look at the logfile ($ORACLE_HOME/install/make.log) ?


Sybrand Bakker, Senior Oracle DBA

To reply remove -verwijderdit from my e-mail address

Alexander Skwar

no leída,
4 jul 2003, 16:03:374/7/03
a
On Fri, 04 Jul 2003 20:40:35 +0200, Sybrand Bakker wrote:

> Did you look at the logfile ($ORACLE_HOME/install/make.log) ?

I just did. Seems like Oracle is broken:


(if [ "compile" = "binary" ] ; then \
/opt/oracle/product/8.1.7/bin/genautab "KERBEROS5 IDENTIX SECURID RADIUS " > nautab.c ;\
TARGET_BINARY_INTERFACE= ;\
export TARGET_BINARY_INTERFACE ;\
-c nautab.c ;\
-rm -f /opt/oracle/product/8.1.7/lib/nautab.o ;\
-mv nautab.o /opt/oracle/product/8.1.7/lib ; fi)
/usr/bin/make -f ins_rdbms.mk part_on ORACLE_HOME=/opt/oracle/product/8.1.7
/usr/bin/ar d /opt/oracle/product/8.1.7/rdbms/lib/libknlopt.a ksnkkpo.o
/usr/bin/ar cr /opt/oracle/product/8.1.7/rdbms/lib/libknlopt.a /opt/oracle/product/8.1.7/rdbms/lib/kkpoban.o
/usr/bin/make -f ins_rdbms.mk sdo_on ORACLE_HOME=/opt/oracle/product/8.1.7
/usr/bin/ar d /opt/oracle/product/8.1.7/rdbms/lib/libknlopt.a kxmnsd.o
/usr/bin/ar cr /opt/oracle/product/8.1.7/rdbms/lib/libknlopt.a /opt/oracle/product/8.1.7/rdbms/lib/kxmwsd.o
/usr/bin/make -f ins_rdbms.mk ctx_on ORACLE_HOME=/opt/oracle/product/8.1.7
/usr/bin/ar cr /opt/oracle/product/8.1.7/rdbms/lib/libknlopt.a /opt/oracle/product/8.1.7/rdbms/lib/kciwcx.o
/usr/bin/make -f ins_net_client.mk mkldflags ORACLE_HOME=/opt/oracle/product/8.1.7
/usr/bin/make -f ins_net_client.mk client_sharedlib ORACLE_HOME=/opt/oracle/product/8.1.7
/opt/oracle/product/8.1.7/bin/genclntsh
/opt/oracle/product/8.1.7/lib/libgeneric8.a(skgm.o)(.text+0x1bed): In function `skgmckareas':
: undefined reference to `__umoddi3'
/opt/oracle/product/8.1.7/lib/libgeneric8.a(skgm.o)(.text+0x1c3f): In function `skgmckareas':
: undefined reference to `__udivdi3'
/opt/oracle/product/8.1.7/lib/libgeneric8.a(skgm.o)(.text+0x2aa7): In function `skgmcrone':
: undefined reference to `__umoddi3'
/opt/oracle/product/8.1.7/lib/libgeneric8.a(skgm.o)(.text+0x48a9): In function `skgmround':
: undefined reference to `__udivdi3'
/opt/oracle/product/8.1.7/lib/libgeneric8.a(skgm.o)(.text+0x4909): In function `skgmtrunc':
: undefined reference to `__udivdi3'
/opt/oracle/product/8.1.7/lib/libgeneric8.a(sskgm.o)(.text+0xba5): In function `sskgmqstable':
: undefined reference to `__udivdi3'
/opt/oracle/product/8.1.7/lib/libgeneric8.a(skgfr.o)(.text+0x555): In function `skgfrcre':
: undefined reference to `__udivdi3'
/opt/oracle/product/8.1.7/lib/libgeneric8.a(skgfr.o)(.text+0xdb4): In function `skgfofi':
: undefined reference to `__udivdi3'
/opt/oracle/product/8.1.7/lib/libgeneric8.a(skgfr.o)(.text+0x1eba): more undefined references to `__udivdi3' follow
/opt/oracle/product/8.1.7/lib/libcore8.a(lnxmin.o)(.text+0x717): In function `lnxmin':
: undefined reference to `__umoddi3'
/opt/oracle/product/8.1.7/lib/libcore8.a(slfisk.o)(.text+0x98): In function `slfisk':
: undefined reference to `__udivdi3'
/opt/oracle/product/8.1.7/lib/libcore8.a(slfisk.o)(.text+0xec): In function `slfisk':
: undefined reference to `__umoddi3'
Created /opt/oracle/product/8.1.7/lib/libclntst8.a
/opt/oracle/product/8.1.7/bin/genagtsh /opt/oracle/product/8.1.7/lib/libagtsh.so 1.0
/usr/bin/make -f ins_precomp.mk relink ORACLE_HOME=/opt/oracle/product/8.1.7 EXENAME=ott
Linking ott
/usr/bin/ld: cannot find -lclntsh
collect2: ld returned 1 exit status
/bin/chmod: konnte Attribute von »ott« nicht holen: No such file or directory
make: *** [ott] Fehler 1
/usr/bin/make -f ins_precomp.mk relink ORACLE_HOME=/opt/oracle/product/8.1.7 EXENAME=ott
Linking ott
/usr/bin/ld: cannot find -lclntsh
collect2: ld returned 1 exit status
/bin/chmod: konnte Attribute von »ott« nicht holen: No such file or directory
make: *** [ott] Fehler 1

Well, looks rather broken, doesn't it? What can I do?

Thanks a lot,

Alexander Skwar
--
printk(KERN_WARNING "Warning: defective CD-ROM (volume sequence
number). Enabling \"cruft\" mount option.\n");
2.2.16 /usr/src/linux/fs/isofs/inode.c

Alexander Skwar

no leída,
4 jul 2003, 16:10:054/7/03
a
On Fri, 4 Jul 2003 22:03:37 +0200, Alexander Skwar wrote:

>: undefined reference to `__umoddi3'

Hmm, is that what the glibc-2.1.3-stubs.tar.gz "patch" is for? If so, then
it's (as was to be expected *G*) my fault.

We'll see - I'm now reinstalling without creating a database.

Alexander Skwar
--
/* After several hours of tedious analysis, the following hash
* function won. Do not mess with it... -DaveM
*/
2.2.16 /usr/src/linux/fs/buffer.c

Alexander Skwar

no leída,
5 jul 2003, 3:36:495/7/03
a
On Fri, 4 Jul 2003 22:10:05 +0200, Alexander Skwar wrote:

> Hmm, is that what the glibc-2.1.3-stubs.tar.gz "patch" is for? If so, then
> it's (as was to be expected *G*) my fault.

Hmm again, the glibc stubs documentation says:

| Install Oracle8i as usual, but choose not to create a database during install.

Where can I de-select that a database is created during install?

Thanks,

Alexander Skwar
--
/* Am I fucking pedantic or what? */
2.2.16 /usr/src/linux/drivers/scsi/qlogicpti.h

Alexander Skwar

no leída,
5 jul 2003, 3:41:245/7/03
a
On Sat, 5 Jul 2003 09:36:49 +0200, Alexander Skwar wrote:

> Where can I de-select that a database is created during install?

You can do so, by doing a "Custom" install. OUI will then ask if you want
to create a database or not.

Alexander Skwar
--
HARDFAIL("Not enough magic.");
2.4.0-test2 /usr/src/linux/drivers/block/nbd.c

Alexander Skwar

no leída,
5 jul 2003, 4:25:155/7/03
a
On Sat, 5 Jul 2003 09:41:24 +0200, Alexander Skwar wrote:

> You can do so, by doing a "Custom" install. OUI will then ask if you want
> to create a database or not.

No, this doesn't seem to be it. Even after setting that no database is to
be created during install, I get the linker errors.

How can I get Oracle 8i to install?

Thanks,

Alexander Skwar
--
panic("aha1740.c"); /* Goodbye */
2.2.16 /usr/src/linux/drivers/scsi/aha1740.c

Peter Vos

no leída,
7 jul 2003, 2:45:197/7/03
a
On Sat, 05 Jul 2003 10:25:15 +0200, Alexander Skwar wrote:

> No, this doesn't seem to be it. Even after setting that no database is to
> be created during install, I get the linker errors.
>
> How can I get Oracle 8i to install?

At the moment you get the linker error, keep the installer
running, and install the stubs-patch, then press the 'retry'
button in the installer. It then completed linking for me under
Redhat 9. (I only had some problems with the last part -
configuration - which seemed to hang (no window coming up),
but searching through the logfiles will find the exact command
that's being run, and I just repeated that manually until
JRE felt like displaying the window, then everything worked
fine.. (I did a custom client install of 8.1.7 on Redhat 9)

Regards,
Peter.

Jan Bols

no leída,
7 jul 2003, 3:19:427/7/03
a
Alexander,
just last week I was in the same position as you where.

If you want to install 8.1.7 you have to take care of the following
things. I followed the instructions of the page on the following link:
http://www.bioweircom.org/HotTopics/oracle-8.1.7.html

But with a few adaptations.

This is what I did to get it running:

1. First of all you have to specify LD_ASSUME_KERNEL=2.2.5 but I see you
figured that out already. Also make sure you put the following things in
your .bashrc or similar:
edit .bashrc
#---------ORALCE settings---------
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/8.1.7
NLS_LANG=AMERICAN_AMERICA.UTF8
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
PATH=$ORACLE_HOME/bin:$PATH
export ORACLE_BASE ORACLE_HOME NLS_LANG ORA_NLS33 PATH

2. Second, if you want to have apache for Oracle running I believe you
have to install jdk 1.1.8. It's available on the blackdown site
http://www.blackdown.com/. You have tot choose the glibc version.
Install it under /usr/local/java or similar.

3. When installing Oracle you must have booted from the vmlinuz kernel
and not the vmlinuz-secure kernel which is selected by default at
boottime. (This is the reason why I spent a day full of frustration when
installing oracle on my linux)

4. You can install oracle choosing the typical installation or the
minimal or the custom one.

5. The installer will install all the files and afterwards will start
linking. At 65% it will start complaining. Just click on the ignore
button at all of these warning.

6. Near the end of the installation, the installer will prompt you to
run $ORACLE_HOME/root.sh as root. This file has two errors in it, so
before you run it make the following changes:

Change line 102 from:
RMF=/bin/rm -f
to:
RMF="/bin/rm -f"

Change line 156 from:
RUID=`/usr/bin/id|$AWK -F\( '{print $2}'|$AWK -F\) '{print $1}`
to:
RUID=`/bin/id|$AWK -F\( '{print $2}'|$AWK -F\) '{print $1}'`
#NOTE: /usr/bin becomes /bin AND '{print $1} becomes '{print $1}'

7. At the end of the installation, the installer will try to run three
configuration wizards: the Net8 Configuration Assistant, the Oracle
Database Configuration Assistant, and the Apache Web Server
Configuration Assistant. You should stop all of them. You will run them
later. After this your installer is done and you should exit it.

8. Now copy the glibc-2.1.3-stubs.tar.gz patch to your $ORACLE_HOME dir,
untar it and run setup_stubs.sh

9. run the 2 patches on the install CD:
- Disk1/patch/bug1538440
export TOP_PATCH_DIR=/tmp/public/download/Disk1/patch/bug1538440
run ./README.1538440
run /u01/app/oracle/product/8.1.7/root.sh as root to complete
installation of the patch
- Disk1/patch/bug1542738
First edit README.1542738 to use #!/bin/bash
run ./README.1542738

10. Change your .bashrc or similar so that they include the following:

LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
ORACLE_SID=#your_SID
JRE_Location=$ORACLE_HOME/JRE
CLASSPATH1=$JRE_Location:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbm/jlib:
CLASSPATH2=$ORACLE_HOME/network/jlib:$ORACLE_HOME/plsql/jlib:
CLASSPATH3=$ORACLE_HOME/owm/jlib:$ORACLE_HOME/assistants/jlib:
CLASSPATH4=$ORACLE_HOME/assistants/dbma/jlib:$ORACLE_HOME/assistants/dbca/jlib:
CLASSPATH=$CLASSPATH1$CLASSPATH2$CLASSPATH3$CLASSPATH4$CLASSPATH
TNS_ADMIN=$ORACLE_HOME/network/admin
TWO_TASK=#net service name of the database
export ORACLE_BASE ORACLE_HOME NLS_LANG ORA_NLS33 PATH
export CLASSPATH JRE_Location ORACLE_SID LD_LIBRARY_PATH

11. run dbassist

12. restart the listener
lsnrctl stop
lsnrctl start

13. run netasst
edit $ORACLE_HOME/bin/netasst:
change from:
#$JRE -classpath $CLASSPATH oracle.net.asst....
to:
$JRE -nojit -classpath $CLASSPATH oracle.net.asst...


That should be it.

Hope this works.


Jan Bols

0 mensajes nuevos