Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph
    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. /etc/init.d/exlibris stop script: "TNS:no listener", etc.

    /etc/init.d/exlibris stop script: "TNS:no listener", etc.

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Description:
    I tried to shutdown both our PROD and TEST servers before the time change.
    As root, /etc/init.d/exlibris stop

    aleph stop


    apache stop

    /exlibris/aleph/u20_2/alephe/apache/bin/apachectl stop: httpd stopped


    apache stop

    /exlibris/aleph/u20_2/alephe/apache/bin/apachectl stop: httpd (no pid file) not running
    rm: cannot remove `/exlibris/aleph/u20_2/alephe/apache/logs/httpd.pid': No such file or directory


    Oracle stop

    Processing Database instance "aleph20": log file /exlibris/app/oracle/product/11 /shutdown.log

    LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 10-MAR-2012 23:50:11

    Copyright (c) 1991, 2008, Oracle. All rights reserved.

    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=serfas)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 111: Connection refused
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 2: No such file or directory

    ------------------------------

    I believe the Apache issue is because we're using HTTPSD, and the shutdown script is attempting to shutdown HTTPD instead of HTTPSD.

    Not sure on the Oracle, as the server's names are valid in /etc/hosts I'm guessing that the Oracle init/shutdown scripts need a FQDN for the server?

    Apache did appear to shutdown, but Oracle is still running.

    As I'll need to restart at least the PROD server after the time change, I'll have to shutdown ORACLE some way, I guess by doing a server software restart. I'll see if you have a doc on manually shutting down Oracle first before I try that.

    Resolution:
    Please note that the startup/shutdown mechanism was working properly, but, the error message was due to a second unnecessary shutdown - which could not occur after the first time,

    We've erased the unnecessary line from the script and no errors will be displayed,


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • /etc/init.d/exlibris script doesn't start (or stop) Aleph processes
      • ETL (p_arc_01): locking or not locking?
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 20
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved