While executing Run analysis, the process fails with the below fatal error at "Run Analysis on the current analysis unit's group"
2022-02-24 09:53:12.436354 Information MODULMSG ; Job execution Connection Profiles read from 'C:\ProgramData\CAST\CAST\8.3\CWProfileConnection.INI'.
2022-02-24 09:53:12.608226 Information MODULMSG ; Job execution Connection profile "hostname:port on CastStorageService.schema_name_local" not found
2022-02-24 09:53:12.608226 Fatal Error MODULMSG ; Job execution Failed to connect on local database - connection profile may be badly configured anaman\amexecute.cpp
Release | Yes/No |
---|---|
8.3.x |
RDBMS | Yes/No |
---|---|
CSS3 | |
CSS4 |
- Package and deliver the source code
- Accept the delivery, set as the current version, and launch the analysis
While executing Run analysis, the process fails with the below fatal error at "Run Analysis on the current analysis unit's group"
2022-02-24 09:53:12.436354 Information MODULMSG ; Job execution Connection Profiles read from 'C:\ProgramData\CAST\CAST\8.3\CWProfileConnection.INI'.
2022-02-24 09:53:12.608226 FatalError MODULMSG ; Job execution Failed to connect on local database - connection profile may be badly configured anaman\amexecute.cpp
2022-02-24 09:53:12.608226 Information MODULMSG ; Job execution Connection profile "hostname:port on CastStorageService.schema_name_local" not found
- Open the log for the step "Run Analysis on the current analysis unit's group" where the Run analysis fails: e.g AUTO-UA-SQL_44895-20220224-095248.castlog
- Search for the error message:
Failed to connect on local database - connection profile may be badly configured
Check whether the following lines appear in the log file :
2022-02-24 09:53:12.436354 Information MODULMSG ; Job execution Connection Profiles read from 'C:\ProgramData\CAST\CAST\8.3\CWProfileConnection.INI'. 2022-02-24 09:53:12.608226 Information MODULMSG ; Job execution Connection profile "hostname:port on CastStorageService.schema_name_local" not found 2022-02-24 09:53:12.608226 FatalError MODULMSG ; Job execution Failed to connect on local database - connection profile may be badly configured anaman\amexecute.cpp
If you are running an AIP console, then:
- Stop AIP Console
- Stop AIP node
- Make sure all CAST processes are no longer running
- Edit file <Cast AIP installation folder>\8.3\CWProfileConnection.INI
- The issue occurs here due to the corruption of this file or if we have duplicated (and incomplete)entries in <Cast AIP installation folder>\8.3\CWProfileConnection.INI,
- Remove the duplicate entries and incomplete lines.
- Retry from CAST-MS and see if the AU analysis now works.
- If so, restart the node and console and see if it works now in the console fine
- If the above points do not help you to resolve the issue, contact CAST Technical Support with relevant input
Impact of issue: While executing Run analysis, the process fails with a below fatal error at "Run Analysis on the current analysis unit's group"
2022-02-24 09:53:12.436354 Information MODULMSG ; Job execution Connection Profiles read from 'C:\ProgramData\CAST\CAST\8.3\CWProfileConnection.INI'.
2022-02-24 09:53:12.608226 Information MODULMSG ; Job execution Connection profile "hostname:port on CastStorageService.schema_name_local" not found
2022-02-24 09:53:12.608226 FatalError MODULMSG ; Job execution Failed to connect on local database - connection profile may be badly configured anaman\amexecute.cpp
Impact after applying solution: Analysis runs fine.
Ticket # 34650