Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2003
    Posts
    2

    Angry Unanswered: TnsPing Segmentation fault (Help me)

    Hallo All!!
    I am use Oracle 9.2.0.1 on RedHat Linux 7.2.
    After installation Server(or client), all work but
    tnsping crash with segmentation fault.
    Thanks

  2. #2
    Join Date
    Jul 2003
    Location
    US
    Posts
    314

    Arrow Segmentation fault

    Hi
    What did u use to install Oracle. If it was RPMs, you could install TNSping back again.
    Give it a shot, because the reason why u are getting that is the libraries it would be using, or a corrupt binary.

    Thanx and Regards
    Aruneesh

  3. #3
    Join Date
    Jul 2003
    Posts
    2

    Re: Segmentation fault

    [QUOTE][SIZE=1]Originally posted by aruneeshsalhotr
    Hi
    What did u use to install Oracle. If it was RPMs, you could install TNSping back again.
    Give it a shot, because the reason why u are getting that is the libraries it would be using, or a corrupt binary.

    ltrace ./tnsping test
    ...
    ...
    ...
    nlfiini(0x40923b40, 0x0804aff8, 0xbfffe1ac, 0x08053e10, 1) = 0
    memcpy(0xbffff460, "test", 5) = 0xbffff460
    nnfsn2awanm(0x40923b40, 0xbffff460, 255, 0xbfffe190, 0xbfffe460 <unfinished ...>--- SIGSEGV (Segmentation fault) ---
    +++ killed by SIGSEGV +++

    nnfsn2awanm - contain in libclntsh.so.9.0
    tnsping linking installer from object modules and put log into $ORACLE_HOME/install/make.log:

    rm -f tnsping
    gcc -o tnsping -L/opt/oracle/product/9.2.0/network/lib/ -L/opt/oracle/product/9.2.0/lib/ -L/opt/oracle/product/9.2.0/lib/stubs/ /opt/oracle/product/9.2.0/network/lib/s0nsping.o /opt/oracle/product/9.2.0/network/lib/nsping.o -lclntsh `cat
    /opt/oracle/product/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /opt/oracle/product/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /opt/oracle/product/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /opt/oracle/product/9.2.0/lib/ldflags` -lnsslb9 -lncrypt9
    -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /opt/oracle/product/9.2.0/lib/sysliblist` -Wl,-rpath,/opt/oracle/product/9.2.0/lib:/lib:/usr/lib -lm `cat /opt/oracle/product/9.2.0/lib/sysliblist` -ldl -lm
    mv -f /opt/oracle/product/9.2.0/bin/tnsping /opt/oracle/product/9.2.0/bin/tnsping0
    mv tnsping /opt/oracle/product/9.2.0/bin/tnsping
    /bin/chmod 751 /opt/oracle/product/9.2.0/bin/tnsping

    Best regars

  4. #4
    Join Date
    Nov 2006
    Posts
    1

    Segmentation Error with tnsping

    Hello

    I have same problem when I execute tnsping. ( Oralce9i on SLES9)


    >nnfsn2awanm - contain in libclntsh.so.9.0
    >tnsping linking installer from object modules and put log into >$ORACLE_HOME/install/make.log:
    --> Would you please tell me how should I do this? Is this nothing but
    followng comands start with gcc-o ?

    In case, I tried following but still "Segmentation Fault" error comes up...

    rm -f tnsping
    gcc -o tnsping -L/app/oracle/product/9.2/network/lib/ -L/app/oracle/product/9.2/lib/ -L/app/oracle/product/9.2/lib/stubs/ /app/oracle/product/9.2/network/lib/s0nsping.o /app/oracle/product/9.2/network/lib/nsping.o -lclntsh `cat /app/oracle/product/9.2/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /app/oracle/product/9.2/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lwtc9 -lmm -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /app/oracle/product/9.2/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lnro9 `cat /app/oracle/product/9.2/lib/ldflags` -lnsslb9 -lncrypt9 -lnsgr9 -lnzjs9 -ln9 -lnl9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -ltrace9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 -lclient9 -lvsn9 -lwtc9 -lcommon9 -lgeneric9 -lnls9 -lcore9 -lnls9 -lcore9 -lnls9 -lxml9 -lcore9 -lunls9 -lnls9 `cat /app/oracle/product/9.2/lib/sysliblist` -Wl,-rpath,/app/oracle/product/9.2/lib:/lib:/usr/lib -lm `cat /app/oracle/product/9.2/lib/sysliblist` -ldl -lm
    mv -f /app/oracle/product/9.2/bin/tnsping /app/oracle/product/9.2/bin/tnsping0
    mv tnsping /app/oracle/product/9.2/bin/tnsping/bin/
    chmod 751 /app/oracle/product/9.2/bin/tnsping

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •