Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2005
    Posts
    9

    Unanswered: Error tnsping executed through inetd (SOLARIS)

    Error tnsping executed through inetd (SOLARIS)

    We have proved next command inside a shell-script

    /opt/dbms/oracle/product/9.2.0.1.0/bin/tnsping test

    That works ok when it's executed in prompt, but if it's executed through a sevice from inetd it fails and shows this message



    TNS Ping Utility for Solaris: Version 9.2.0.5.0 - Production on 05-JAN-2005 12:38:49

    Copyright (c) 1997 Oracle Corporation. All rights reserved.

    Message 3511 not found; No message file for product=network, facility=TNSTNS-03505: Message 3505 not found; No message file for prod
    uct=network, facility=TNS


    We have set ORACLE_HOME, ORACLE_SID. Any idea?
    Thanks

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    Quote Originally Posted by jjf
    We have set ORACLE_HOME, ORACLE_SID.
    You have set these variables - but where? I don't think inetd sets any environment variables when it forks a process for tnsping. You'll have to do it yourself: wrap a shell script around tnsping that sets Oracle-related variables and make inetd call that script instead of tnsping.

  3. #3
    Join Date
    Oct 2004
    Posts
    145
    If n_i's suggestion does not work check the following.

    Did you set the TNS_ADMIN as well?

    TNS_ADMIN sets the home for the tnsnames.ora or sqlnet.ora.

Posting Permissions

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