Glibc patch script failure

Is it just me or is any one else having trouble running the
glibc patch
i've extracted the patch and files to a directory called patch
and run sh glibcpatch.sh
ORACLE_HOME is set and this is the output i get
glibcpatch.sh: glibcpatch.sh: line 286: syntax error: unexpected
end of file
Why wont the script run ?
any ideas?
null

adam hawkins (guest) wrote:
: Is it just me or is any one else having trouble running the
: glibc patch
: i've extracted the patch and files to a directory called patch
: and run sh glibcpatch.sh
: ORACLE_HOME is set and this is the output i get
: glibcpatch.sh: glibcpatch.sh: line 286: syntax error:
unexpected
: end of file
: Why wont the script run ?
: any ideas?
Also after looking through the script that wont run i've noticed
that the first section of copying makefiles
mv -f $ORACLE_HOME/ctx/lib/env_ctx.mk ...etc..
ctx? what ctx? i dont have a ctx directory in oracle
also demo_proc.mk - found in the install files for oracle but
not in ORACLE_HOME - same with env_precomp.mk
i havent installed intelligent agent or unix installer - if
these are part of them then that would explain these however the
list goes on.
null

Similar Messages

  • Glibc-patched 8.1.7.0.1 has undefined references during link

    I am receiving the following errors when running 'make -f ins_rdbms install'
    after installing the glibc patch for 8.1.7.0.1:
    /lib/libnsl.so.1: undefined reference to `svc_getreq_poll@GLIBC_2.2'
    /lib/libnsl.so.1: undefined reference to `__strndup@GLIBC_2.2'
    /lib/libnsl.so.1: undefined reference to `svc_max_pollfd@GLIBC_2.2'
    /lib/libnsl.so.1: undefined reference to `svc_pollfd@GLIBC_2.2'
    collect2: ld returned 1 exit status
    I am running SuSE Linux 7.1 and have installed all pertinent updates from
    the SuSE ftp site. Installation
    of the Oracle 8.1.7.0.1 distribution ran flawlessly (after I unset LANG
    before running runInstaller).
    I downloaded the latest 'glibc-2.1.3-stubs.tar.gz' patch from
    technet.oracle.com and installed per the directions in the READMEglibc213.txt file. When
    I ran 'setup_stubs.sh', everything appeared to run fine (no visible errors).
    I even remembered to fix the root.sh file per the instructions from the SuSE
    web site.
    Yet when I attempted to build a database (via dbassist or manually), I got
    the following error when running svrmgrl:
    oracle@mars:~ > svrmgrl
    Oracle Server Manager Release 3.1.7.0.0 - Production
    Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
    ORA-12545: Connect failed because target host or object does not exist
    SVRMGR>
    I discovered that the reason for this was that the 'oracle' executable was
    not present in $ORACLE_HOME/bin (I later discovered that a number of other
    files were missing as well). Then I noticed that the 'setup_stubs.sh'
    script uses 'make -i', which ignores errors. When I ran 'make -f
    ins_rdbms.mk install' from $ORACLE_HOME/rdbms/lib, I got the link errors
    shown above. Of course, this explains why I don't have an 'oracle' file in
    $ORACLE_HOME/bin; it was never created during the patch install.
    I tried manually running all of the other relinks manually and all of them
    worked with the exception of ctx. When I ran 'make -f ins_ctx.mk' from
    $ORACLE_HOME/ctx/lib', I got this:
    gcc -o
    ctxhxx -L/u01/app/oracle/product/8.1.7/ctx/lib/ -L/u01/app/oracle/product
    /8.1.7/lib/ -L/u01/app/oracle/product/8.1.7/lib//stubs/
    /u01/app/oracle/produc
    t/8.1.7/ctx/lib/ctxhx.o -Wl,-rpath,/u01/app/oracle/product/8.1.7/ctx/lib/ -l
    m -l
    sc_fa -lsc_fi -lsc_ch -lsc_ut -lsc_ex -lsc_da -lctxhx -lm -lc -lnls8 -lcore
    8 -l
    nls8 -lcore8 -lnls8
    /lib/libdl.so.2: undefined reference to `_dl_vsym@GLIBC_2.2'
    /lib/libdl.so.2: undefined reference to `_dl_sym@GLIBC_2.2'
    collect2: ld returned 1 exit status
    make: *** [ctxhxx] Error 1
    I found that the /lib/libc.so.6 library contained the necessary definitions
    to these references. However, I am not sure if it is safe to add this to
    the list of libraries used during the link.
    What concerns me most is that I know a lot of folks have used the patch
    successfully, but I cannot think of what I've done wrong. Any ideas?
    null

    In case anyone else is having this problem, here is the answer:
    The problem only occurs if you include the Oracle Parallel Server option
    during installation. In order to get the oracle kernel to re-link after
    installing the glibc patch, you need to add -lnsl to the
    $ORACLE_HOME/lib/sysliblist like so:
    before: -ldl -lm -lpthread
    after : -ldl -lm -lnsl -lpthread
    Then relink the oracle kernel:
    cd $ORACLE_HOME/rdbms/lib
    make -f ins_rdbms.mk install
    null

  • 8i on SuSE 6.2 - Do I need to apply the glibc patch?

    According to the documentation, there is a glibc patch that must
    be applied. Does anyone know if this applies to the just
    released SuSE 6.2?
    null

    Hi,
    no glibc patch needed on Suse 6.2, just go ahead install it.
    But you should get this new patch which can be found on
    ftp.oracle.com/pub/www/otn/linux.
    That fixes indeed several problems but not all...
    Marcus
    Timothy Weaver (guest) wrote:
    : According to the documentation, there is a glibc patch that
    must
    : be applied. Does anyone know if this applies to the just
    : released SuSE 6.2?
    null

  • After installing glibc patch (oracle9i - red hat linux 8)

    My oracle9i was working fine on red hat linux 8. but after installation of a glibc patch
    "glibc-2.1..3-stubs.tar.gz" something has gone wrong. it has renamed executables by appending/suffixing
    zero '0' to the filenames. e.g sqlplus is sqlplus0
    i cannot find my sqlplus? i am afraid to restart the system?
    should i restart? what is the problem?

    Whenever you re-link Oracle, it makes backup copies of the executables (appending 0 to the filename). However, you should have a new SQLPLUS. I would suggest just doing a
    relink all
    from a command prompt as user Oracle and see if that helps.

  • Patches with pre and or post patch scripts not executable -- why?

    In my frustration with update manager hangs I have had to kill processes and restart and even manually unjar files and patchadd. Sometimes I run across the error that the pre or post patch scripts are not executable. I have in the past chmod 744 and patchadd then applies the patch. This has happened several times in my latest patch update. I also had a patch ( X11) that implied a lack of entitlement but the manual patchadd showed that the real problem was a missing prerequisite patch.
    My questions are:
    1. is this lack of executable permission on scripts ( pre and post) by design and am I missing the correct procedure?
    2. missing prerequisite scripts? why?
    3. out of frustration --- IS THIS PATCHING UTILITY THE BEST THAT SUN CAN DO?

    Update Manager is sometimes a little flaky, particularly on unpatched systems (as it uses many different utilities). I would suggest that if you are having problems then you should use smpatch instead - it's not really any more difficult to use and is often much quicker.
    If a patch has a script that is not executable that is not a fault of updatemanager, but a fault with the patch itself (being archived with incorrect settings) or possibly your umask setting, which should ideally be globaly set to 0022 prior to patching to prevent problems during extraction and application.
    If updatemanager has complained about a lack of entitlement I would tend to believe that this was the case, check the contents of your entitlement file:
    # cat /var/sadm/spool/cache/entitlement/*entitlement_clientYou may be missing SolarisAllUpdates or other entitlements - please post the output.
    Sun do offer other patching tools, but what is best for one person/company may not be the best for all. There is also the possibility that you don't have it setup correctly - I would ask that you run the attached script and upload the output file generated to our [Support Uploads|http://supportuploads.sun.com/] site.

  • OAS Patch Application Failure 10.1.2.0.2  to 10.1.2.3.0

    Hello,
    i am runnng RHEL 4.5 attempting to apply the 10.1.2.3.0 patch to my working installation of 10.1.2.0.2 standalone forms and reports services
    During the installation it comes up with the error
    Error invoking target 'frmweb_install frmcmp_install frmcmpb_install' of makefile /opt/oracle/forms/lib/ins_forms.mk
    This leaves the forms conponent broken and giving the 'FRM-92101 - failure on startup - maybe invalid configuration' message.
    I checked the installation log in my oraInventory/logs/installActions*DATE*.log as suggested. This shows an error during a make as implied.
    Having done some searching around this forum I found that attempting to compile the forms manually often solves this kind of problem.
    doing a 'make -f ins_forms.mk frmweb' gets most of the way and fails on
    /usr/bin/ld: skipping incompatible type /opt/oracle/libiplsn.a when searching for -liplsn
    /usr/bin/ld: skipping incompatible type /opt/oracle/libiplsn.a when searching for -liplsn
    /usr/bin/ld: cannot find -liblsn
    something linked wrong here?
    Thanks for the help

    ahh. Yes when I installed frs it complained that I needed to put bash into 32bit mode 'linux32 bash'. The 10.1.2.3 installer never did that.
    Please can you advise me how to fix this issue and do a make clean. I'm not the most linux savvy person.
    Am i going to have to reinstall OAS completely for 64bit? Is there a way to avoid having to do that?
    Thanks
    Edited by: user10695402 on 31-Mar-2009 03:42

  • Apply Patch Script - services

    I want to use the OEM to apply a patch to the database. On step 4 "Stage or Apply" it shows a DOS script with comments about stopping services and bringing them back up and performing post installation tasks.
    What do I need to put in here? Will it automatically stop the database if I leave it as is? or do I have to work out the DOS commands to stop the database, Application Server etc and put them in this file before scheduling it?

    user589812 wrote:
    Hi ALl,
    I try to apply patch 8350262 to build EM in Linux server 5.1. The read me advise as " Before applying this patch, do a clean shut down of all services running from the ORACLE_HOME".
    I understand to shutdown EM as emctl stop dbconsole.
    what other services does need be shutdown as do a clean shut down of all services running from the ORACLE_HOME
    Thanks
    Jin
    which document you are following? Patch 8350262 will not require database downtime
    refer the metalink note:- and read me document of patch 8350262
    ATTENTION - Enterprise Manager Database Control 10.2.0.4 Or 10.2.0.5 - Patch Required from 31-Dec-2010 onwards [ID 1217493.1]
    also,
    NOTE:1222603.1 - Enterprise Manager Database Control Configuration - Recovering From Errors Due to CA Expiry on Oracle Database 10.2.0.4 or 10.2.0.5 [Video]

  • After Effects patch update failure

    Hi,
    I´m trying to run After Effects CC on Mavericks. I downloaded the patch update (12.0.1) but I receive following alert upon installing "Update failure. You can not use updates. Please contact system manager". I have CC for teams, i´m an admin. Solutions anyone?

    I followed these steps but still get the same error:

  • Run External Script Failure

    How important is it to have the failure branch of a Run External Script node point to somewhere other than the success branch?
    We have quite a few scripts built by other people with the success and failure branch both pointed to the next node in the script regardless. Besides the call not recieving the prompts or announcements are there any other consequences to not fixing these?

    CVP here:
    Interesting technique. I would never do that. I connect the X node to an ICM script called something like SYS_F_RES (system failure run external script) and this sets a call type and returns END if the call comes from the PSTN and Release if the call comes from CUCM (this is CVP). Setting the call type allows a quick WebView/CUIC report check. Bringing all failures through a single script allows a quick check with Monitor.
    (PS: I also have similar little scripts/calltypes for Send 2 VRU failure, DN list failure, queue 2 skill group failure.  )
    Normally these things only fail in development, when you have the WAV file wrong/missing, the config params wrong. But in production there are the predictable failures (max no entry, max no match) you need to deal with correctly.
    I suggest you fix them.
    Regards,
    Geoff

  • Change manager script failure code

    Does anyone know where I can find a listing of possible exit values for Change Management scripts. I have a change management "Change Plan" script to copy objects from one instance into another. The script gets created with no ERRORS. However when I try to run it, it simply stops with the following in the Execution Log.
    > Exit Value: 129
    Script execution failed.Where can I find what 129 really means?
    Thanks in advance,
    Ed - Wasilla, Alaska

    Hi Gustavo Sabra,
    Kindly try to rename folder 1.0 to ~1.0
    User > Library > Application Support > Adobe > AAMUpdater > 1.0
    Initiate the installation again
    If you still get the same message, try to download and install manually from the patch.
    All Adobe CC 2014 Updates: The Direct Download Links for Windows | ProDesignTools
    All Adobe CC 2014 Updates: The Direct Download Links for Mac OS | ProDesignTools
    Thanks,
    Atul Saini

  • OIM 11g uploadresourcebundles.sh script failure

    Hello, I just installed OIM and it is working fine. Now I need to upload some properties files using this script. I run it and after I hit enter to accept the default context factory, I get:
    oracle.iam.platform.utils.NoSuchServiceException: java.lang.reflect.InvocationTargetException
    at oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:197)
    at oracle.iam.platform.OIMClient.getService(OIMClient.java:174)
    at oracle.iam.platform.OIMClient.loginSessionCreated(OIMClient.java:209)
    at oracle.iam.platform.OIMClient.login(OIMClient.java:136)
    at oracle.iam.platform.OIMClient.login(OIMClient.java:129)
    at oracle.iam.platformservice.utils.ResourceUploadUtility.main(ResourceUploadUtility.java:184)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at oracle.iam.platform.OIMClient.getServiceDelegate(OIMClient.java:193)
    ... 5 more
    Caused by: oracle.iam.platform.utils.NoSuchServiceException: javax.naming.NameNotFoundException: While trying to lookup 'ejb.stateless.ClientLoginSessionService#oracle.iam.platformservice.api.ClientLoginSessionServiceRemote' didn't find subcontext 'stateless'. Resolved 'ejb' [Root exception is javax.naming.NameNotFoundException: While trying to lookup 'ejb.stateless.ClientLoginSessionService#oracle.iam.platformservice.api.ClientLoginSessionServiceRemote' didn't find subcontext 'stateless'. Resolved 'ejb']; remaining name 'stateless/ClientLoginSessionService#oracle/iam/platformservice/api/ClientLoginSessionServiceRemote'
    at oracle.iam.platformservice.api.ClientLoginSessionServiceDelegate.<init>(Unknown Source)
    ... 10 more
    Environment is RHEL5, DB 11gr2, WL 10.3.3. Any thoughts? Thanks

    Make sure you use the address for the oim_server instance not the weblogic admin server instance.
    Instead of t3://weblogicadminsrv:7001
    Use:
    t3://oimserver:14000
    Eric

  • CSS11501 commit vip redundancy script failure

    Hi all,
    recently when i run the commit vip redundancy script, i encountered the following error. This script has never failed in the past. Upon checking the backup CSS, i did notice that my most recent changes were actually synced. The following is the debug i have captured while running the script. Can someone please help to look at it? Thanks!
    active-lb# script play commit_vip_redundancy "local 167.168.165.10 remote 167.168.165.9 -a -d"
    active-lb#
    Checking available disk space on systems ...
    Checking the disk space locally before continuing with the script.
    Verifying that another local session is not running the script.
    Creating script/vipr_config_sync_lock file.
    Verifying app and redundancy configs ...
    Verifying that app session is up with backup switch.
    Making sure app session is up.
    Seconds to wait before calling it quits:    60
    Checking the disk space remotely before continuing with the script.
    Checking local and remote switch versions ...
    Storing the running code versions of the local and remote switch.
    Storing the local switch's version.
    Retrieving the remote switch's version.
    Checking remote version for 4.0
    Checking if switch is BACKUP for any virtual routers and if
    the state is 'No Service'.
    Checking vip redundancy state....
    Checking if backup switch is Master for any VRIDs.
    If it is, either a local interface that once held redundant vips
    has been removed or the Backup is a Master for another vip-redundant
    relationship.
    Checking compatibility of systems......
    LOCAL switch is a  css11501,7
    REMOTE switch is a  css11501,7
    Mode: INTERFACE - Checking to see if interface Ethernet-Mgmt  exists on remote system.
    Mode: INTERFACE - Checking to see if interface e9  exists on remote system.
    Mode: INTERFACE - Checking to see if interface e8  exists on remote system.
    Mode: INTERFACE - Checking to see if interface e7  exists on remote system.
    Mode: INTERFACE - Checking to see if interface e6  exists on remote system.
    Mode: INTERFACE - Checking to see if interface e5  exists on remote system.
    Mode: INTERFACE - Checking to see if interface e4  exists on remote system.
    Mode: INTERFACE - Checking to see if interface e3  exists on remote system.
    Mode: INTERFACE - Checking to see if interface e2  exists on remote system.
    Mode: INTERFACE - Checking to see if interface e1  exists on remote system.
    Working
    Saving Master running-config to startup-config and archiving startup-config.
    Copying running-config to startup-config.
    Archiving startup-config.
    Swapping Master and Backup ip addresses in tmp.cfg for app
    and redundancy interface.
    Checking for multiple APP sessions between redundant peers.
    App Session IP: 167.168.165.9, Local IP address: 167.168.165.10
    Checking IP Address size differences : <167.168.165.9> <167.168.165.10>
    Adding APP session IP length difference to LOCALCONFIG byte size  : 1
    Adding APP session IP length difference to REMOTECONFIG byte size : 0
    Removing CIRCUIT and INTERFACE modes from tmp.cfg.
    Checking for ips with matching subnets for circuit sync.
    Checking IP Address size differences : <167.168.165.10> <167.168.165.9>
    Replacing local system VRID priorities and preempt settings with remote settings.
    Local IP: 167.168.165.10 VRID: 40 PRIORITY: 254 PREEMPT: True
    Remote IP: 167.168.165.9 VRID: 40 PRIORITY: 1 PREEMPT: False
    Checking Number length differences : <254> <1>
    Checking IP Address size differences : <167.168.165.132> <167.168.165.131>
    Replacing local system VRID priorities and preempt settings with remote settings.
    Local IP: 167.168.165.132 VRID: 41 PRIORITY: 254 PREEMPT: True
    Remote IP: 167.168.165.131 VRID: 41 PRIORITY: 1 PREEMPT: False
    Checking Number length differences : <254> <1>
    Checking IP Address size differences : <167.168.166.3> <167.168.166.2>
    Replacing local system VRID priorities and preempt settings with remote settings.
    Local IP: 167.168.166.3 VRID: 42 PRIORITY: 254 PREEMPT: True
    Remote IP: 167.168.166.2 VRID: 42 PRIORITY: 1 PREEMPT: False
    Checking Number length differences : <254> <1>
    IP addr bytes to add to LOCAL BYTE COUNT : 1
    IP addr bytes to add to REMOTE BYTE COUNT : 1
    Checking for SSL configuration ...
    Working
    Using rcmd to copy tmp.cfg to a file on Backup switch.
    Archiving copy to Backup's startup-config.
    Archiving Backup's current startup-config.
    Restoring startup-config (new copy) to startup-config.
    Clearing running-config.
    Script playing the copy script of the Master's running-config.
    Checking to make sure backup App goes down
    Making sure app session is down.
    Seconds to wait before calling it quits:    9168
    Copy success being verified by comparing byte sizes of archived running-
         configs of the Master switch and the Backup switch.
    Making sure app session is up.
    Seconds to wait before calling it quits:    9108
    Waiting for completion signal from remote switch ...
    Verifying running-config copy success ...
    Comparing the byte count now.
    Accounting for preempt configurations.
    Adding 0 bytes to LOCALCONFIG byte count
    Adding 24 bytes to REMOTECONFIG byte count
    Accounting for priority value length differences.
    Adding 0 bytes to LOCALCONFIG byte count
    Adding 6 bytes to REMOTECONFIG byte count
    Accounting for IP address size differences.
    Adding 1 bytes to LOCALCONFIG byte count
    Adding 1 bytes to REMOTECONFIG byte count
    File copy Vipr Config Sync Failed. Commit unsuccessful!
    localconfig: 218346 bytes
    remoteconfig : 218320    bytes

    Hi Daniel,
    According to this output, the synchronization process goes well, but it fails when it has to verify what it synchronized. If you look at the last two lines, you will see that the size of the original local configuration is slightly bigger than the remote one. That's causing the validation to fail.
    The first thing we need to confirm is whether the configuration really got properly replicated (you will have to check line by line to make sure it's the same). If so, we would just need to figure out why the file sizes are different.
    There were some cases in the past in which the hard drive on the secondary device was failing, and as a result, the file was getting corrupted, leading to the size mismatch, so that's a possibility we need to take into account. Anyway, it would probably be better to open a TAC case to have it investigated in more detail.
    Regards
    Daniel

  • LMS 4.1 Patch Distribution Failure

    I didn't have this problem in 4.0, and I've tried to upgrade 2 different model routers (891 and 2811) with the same error, anyone know what this means? Google was no help.
    SWIM0151: The device is not running IOS Modular image in Install mode. Hence patch images cannot be distributed.
    Thanks,
    Craig

    It sounds like you're trying to use the Pathc Distribution workflow for non-modular devices.  Do not select Patch Distribution.  Instead, select Software Distribution, and then follow the specific flow you want from there.

  • Patch update failure.. on mac!

    Hello!
    Im currently having an issue updating / patch all my CC 2014 programs.. I've tried to reinstall all the programs and as soon as the installation is done it says "installation succeeded but a patch failed u43m1d205"
    I have been searching for an answer in all the threads I could find without finding a solution.. this is not the first time im having HUGE problems with Creative Cloud but atleast the after awhile I have always been able to fix them but not this one..
    Im currently running it on a Mac 10.9.4 and all the programs works except for indesign that crashes after I have been using it for some minutes and it's very annoying..
    Anyone have any tip?
    these things have I tried already..
    Reinstalled ALL the applications including Creative Cloud
    Created new folders for AAMUpdater + OOBE without any help.
    Downloaded the patches one by one everyone failed except for one (illustrator)
    Tried to update it from the program without any progress...
    the only thing I have left now is to reinstall the hole computer but I don't see why that would solve the problem since the computer is only 2 weeks old...
    I would greatly appreciate any kind of help regarding this matter.
    Best Regards
    EDIT!
    Have now also updated Mac IOS to 10.10.1 still same error!

    Hi Mark,
    Are you getting any specific error while trying to install Acrobat DC? Could you please retry the installation after the system restart?
    If the problem does not get resolved even after system restart then please share these additional information :
    1. Which operating system are you using?
    2. Do you have any previous version of Acrobat installed?
    3. How are you installing Acrobat? Could you please share the link from which you have downloaded the Acrobat?
    4. Also could you please share the following logs (if available) :
         1. PDApp.log file from ~/Library/Logs.
         2. Acrobat Installer logs (Adobe Setup Error.log and Adobe Acrobat DC 15.007.20033 <Date>.log.gz) from /Library/Logs/Adobe/Installers.
         3. install.log from /var/log.
    Thanks,
    Tushark

  • Preupgrade script failure during DeveloperTools install(newbie alert!)

    I'm trying to install DeveloperTools. I get the following error:
    "Install Failed! The following install step failed: run preupgrade script for DeveloperTools. Contact the software manufacturer for assistance"
    Can anyone help me?
    Thanks

    Hi baltwo,
    Thanks for your reply. I was trying to install Dev Tools from the 10.5.1 cd.
    I have not upgraded using the 10.5.8 COMBO update, but that does not seem to have helped. I have reposted my query to the Developer Forum.
    My end goal is to get cvs to work with extssh - at the moment I seem to have cvs, but it won't work with extssh - I was hoping the Developer Tools would help this.

Maybe you are looking for