While upgrading NFA Harvester from 9.3.3 to 9.3.6, the migration phase fails.
Error in migrator logs:
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. message: Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
FATAL TheSet::migrate() - Unhandled exception
com.ca.im.migrator.exceptions.MigratorException: Cannot determine whether prop exists
at com.ca.im.migrator.business.SqlPropInspector.exists(Unknown Source)
at com.ca.im.migrator.business.Prop.exists(Unknown Source)
at com.ca.im.migrator.business.Director.getProductionScript(Unknown Source)
at com.ca.im.migrator.TheSet.makeMovie(Unknown Source)
at com.ca.im.migrator.TheSet.migrate(Unknown Source)
at com.ca.im.migrator.MigratorApp.main(Unknown Source)
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
.Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
... 26 more
07:43:19 INFO MigratorApp::main() - Exiting with code 1
Migration of database fails because of Mysql Service crash during ahtflows table creation.
Errors in Mysql logs:
mysqld got exception 0xc0000005 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
Attempting to collect some information that could help diagnose the problem.
As this is a crash and something is definitely wrong, the information
collection process might fail.
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 731519 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x2cc07900f0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
Opening NFA CSE log at Local time 12/01/2016 05:13:11
Error in LoadNFAEngine( LoadLibrary() failed trying to load E:\CA\NFA\Netflow\bin\NFAStorageEngine64.dll )
leaving the dynamic load section
NFA 9.3.x for Windows.
The root cause of this issue is figured out to be a VC++ Package on OS.
This time the upgrade should go good with out any errors.