Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Error in relinking executables after Upgrade Unix OS from 2.6 TO

Re: Error in relinking executables after Upgrade Unix OS from 2.6 TO

From: <hemantchitale_at_charteredsemi.com>
Date: Sun, 03 Mar 2002 19:28:22 -0800
Message-ID: <F001.0041DDA5.20020303192822@fatcity.com>


The relink expects to use the linker from /usr/ccs/bin.

/usr/ucb and /usr/ccs/bin are different.

/usr/ccs* contains the SVR4 distribution.
/usr/ucb* contain the BSD distribution.

In fact, /usr/ucb/ld [on my machine] is a shell-script which sets the LD_RUN_PATH and defines /usr/ucblib first, ie it changes the order of the libraries.

If you have copied /usr/ucb/ld over to /usr/ccs/bin/ld you will see that the program is calling itself --- it would be forking multiple processes
till it runs out of swap space.

You should be using /usr/ccs/bin/ld. Oracle requires the SVR4 linker. Ask your Solaris vendor to install it.

Hemant K Chitale
Principal DBA
Chartered Semiconductor Manufacturing Ltd

"CHAN Chor Ling Catherine (CSC)" <clchan_at_nie.edu.sg> 04/03/2002 10:48 AM Sent by: root_at_fatcity.com

Please respond to ORACLE-L

                                                                                                               
             To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>                                   
             cc: (bcc: CHITALE Hemant Krishnarao/IT/CHRT/ST Group)                                             
             Subject: Error in relinking executables after Upgrade Unix OS from 2.6 TO                         
                                                                                                               
                                                                                                               
                                                                                                               





Hi Gurus,

I upgraded my UNIX OS from 2.6 to 5.8 for our HRMS 11I V11.5.1 and now encountered problem when I relink my executables.

The instructions from Oracle support for Upgrade is => run the environment file ($ . $APPL_TOP/APPSORA.env) => OK => relink adadmin using adrelink ($ adrelink.sh force=y "ad adadmin") => ERROR ENCOUNTERED
=> use adadmin to relink all executables ($ adadmin->Relink Applications Programs) => ERROR ENCOUNTERED

1st error encountered Adrelink: the directory containing the "make"
command must be
in your path.
Solution For Solaris 2.6, the default directory for ld and make is in
"/usr/ccs/bin". Since the OS has been upgraded to 5.8, the ld program is only found in "/usr/ucb" directory and make program in "/usr/local/bin" directory.
I've copied the make and ld programs to the directory "/usr/ccs/bin".

2nd error encountered /usr/ccs/bin/ld: cannot fork: no swap space See error messages above (also recorded in log file) for possible reasons for the failure. Also, please check that the Unix userid running adrelink has read, write, and execute permissions on the directory /dg5/app/oracle/testappl/ad/11.5.0/bin, and that there is sufficient space remaining on the disk partition containing your Oracle Applications installation.

I've 1.5GB swap space and I've read,write and execute permission on the directory /dg5/app/oracle/testappl/ad/11.5.0/bin My physical memory is $ df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t1d0s0 1302231 929196 320946 75% /
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
/dev/dsk/c0t1d0s6 1326439 88963 1184419 7% /var
/dev/dsk/c0t0d0s0 26255015 23017221 2975244 89% /dg1
/dev/dsk/c1t0d0s0 1322803 53282 1216609 5% /opt
/dev/dsk/c1t0d0s1 30122920 3018192 26803499 11% /dg4
/dev/dsk/c1t1d0s0 35292880 15626245 19313707 45% /dg5
/dev/dsk/c1t2d0s0 35292880 24654450 10285502 71% /dg6
/dev/dsk/c1t3d0s0 35292880 19057633 15882319 55% /dg7
swap 1517552 24 1517528 1% /tmp
/dev/dsk/c0t1d0s7 9975 46 8932 1% /export/home

Qn: Has anyone upgraded his/her OS from 2.6 to 5.8 before for HRMS V11.5.1 ?
How much swap space is needed for the program to compile ? I am really at my wits' end. Please help. Oracle support has not given me any solution yet. Thanks.

Regds,
New Bee

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: CHAN Chor Ling Catherine (CSC)
  INET: clchan_at_nie.edu.sg

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).





-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: hemantchitale_at_charteredsemi.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Sun Mar 03 2002 - 21:28:22 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US