Users are unable to login to the Enforce console and the localhost_access
log records an HTTP 500
status code.
In the course of troubleshooting this error, when attempting to log into SQL*Plus as a user other than sys
, the following error appears:
ORA-12528 TNS:listener: all appropriate instances are blocking new connections
The same error message is also captured in the localhost
log:
File: Enforce\logs\tomcat\localhost.2025-01-27.log
Date: 1/27/2025 8:35:24 AM
Thread: 18
Level: WARNING
Source: com.vontu.util.jdbc.JDBCTestConnection
Message: Cannot connect to database
Cause:
java.sql.SQLException: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12528, TNS:listener: all appropriate instances are blocking new connections
This condition may be temporary, such as at instance startup. To identify the current state of the database, follow this procedure:
Protect
database, open a command prompt run as administratorSQLPlus
sys AS sysdba
sys
accountSELECT * FROM v$instance;If successful, the script output should look similar to the following:
INSTANCE_NUMBER INSTANCE_NAMENote that the
--------------- ----------------
HOST_NAME
----------------------------------------------------------------
VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_WAIT
----------------- --------- ------------ --- ---------- ------- ---------------
LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO
---------- --- ----------------- ------------------ --------- ---
1 protect
L-018591-A
10.2.0.4.0 07-DEC-09 OPEN NO 1 STOPPED
ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
DATABASE_STATUS
is ACTIVE
. If the database isn't open, this is the cause of the errorSTARTUP
in SQL*Plus