Need help to understand an issue that resulted in AutoSys shutdown. Many DB related errors are noted in the event_demon log.
[10/01/2025 01:44:12] CAUAJM_E_18600 Database function call <SQLPrepare> failed in <parseInternal> with return code: -1[10/01/2025 01:44:03] CAUAJM_E_18802 Error from SQLExecute() Failed with SQL_ERROR.[10/01/2025 01:44:03] CAUAJM_E_18601 SQLSTATE: 08S01, Native error: 10,060, Message: [Microsoft][ODBC Driver 18 for SQL Server]TCP Provider: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
[10/01/2025 02:51:18] CAUAJM_I_40315 Cross Platform Interface processing terminated.[10/01/2025 02:51:18] CAUAJM_I_40247 AutoSys scheduler processing of events complete.[10/01/2025 02:51:18] CAUAJM_I_40248 AutoSys scheduler shutdown complete. Exiting.
Noted, in event_demon logs, the initial error that led up to the above noted errors and of most significance is
[10/01/2025 01:44:01] CAUAJM_E_18601 SQLSTATE: 08S01, Native error: 10,060, Message: [Microsoft][ODBC Driver 18 for SQL Server]TCP Provider: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
This error indicates a network connectivity problem between an AutoSys component and the SQL Server database. This is the root of the problem. Following this error, is where the CAUAJM_E_18600, CAUAJM_E_18802 errors are noted.
Shifting focus to the as_server logs, around the same time, the following errors are thrown, which; again, are supportive of a communications related issue.
[10/01/2025 01:44:03] CAUAJM_E_18802 Error from SQLExecute() Failed with SQL_ERROR.[10/01/2025 01:44:03] CAUAJM_E_18601 SQLSTATE: 08S01, Native error: 10,060, Message: [Microsoft][ODBC Driver 18 for SQL Server]TCP Provider: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
[10/01/2025 01:44:03] CAUAJM_E_18611 Event Server: <AUTOSYS-EVENT-SERVER,5150:AEDB> Failed Query: <SELECT int_val FROM ujo_alamode WHERE type='SEC'>[10/01/2025 01:44:03] CAUAJM_W_10900 The database monitoring system has detected a potential problem with the database.[10/01/2025 01:44:03] CAUAJM_I_10901 The database monitoring system is beginning validation of database connections.[10/01/2025 01:44:03] CAUAJM_I_10902 The database monitoring system has completed validation of database connections.[10/01/2025 01:44:03] CAUAJM_I_10903 The database monitoring system will resume monitoring for database problems.
Error Breakdown
This error can be broken down into the following components:
Significance of the Error
This error signifies that the AutoSys application (such as the Application Server or Scheduler) is unable to communicate with its database. This is a critical error that can lead to various issues, including:
Common Causes
The primary cause of this error is network-related issues. These can include:
Related Errors
You may also see other related error messages in the AutoSys logs that point towards a network or database connectivity problem:
CAUAJM_E_18600 Database function call <SQLDriverConnect> failed.CAUAJM_E_10649 Server <hostname> was not available during connection operation.[Microsoft][SQL Server Native Client 11.0]TCP Provider: An existing connection was forcibly closed by the remote host.[Microsoft][SQL Server Native Client 11.0]TCP Provider: The semaphore timeout period has expired.[Microsoft][SQL Server Native Client 11.0]Communication link failure.
To resolve this issue, you should investigate the network connectivity between the AutoSys server and the database server. It is recommended to involve your network administration team.
Here are some steps to consider:
DB_CONNECTIONS value in the configuration.
DB_CONNECTIONS environment variable for Linux/UNIX occurs in the autosys $AUTOUSER/autosys.<shell>.<hostname> file in the format DB_CONNECTIONS=max_number. SCHED_SCALE=limit
Example:
export DB_CONNECTIONS=45export SCHED_SCALE=10SCHED_SCALE and DB_CONNECTIONS parameters are registry keys.