Jump to content

Login failed: Connection has failed with state 'Not connected'

Recommended Posts

I've got an ERA 6.5 VA running for some time. Some days ago I enabled webmin and found out that there were some software packages updates. I did them but did not try to login to ERA again.

Today, I was trying to login and was greeted with the error message in the title. Read https://support.eset.com/kb5852/?locale=en_US&viewlocale=en_US

From what I can see, the eraserver service was down. Starting it up with systemctl start eraserver seems to start it ok, but afterwards it exits:

	[root@esetav Server]# systemctl status eraserver
● eraserver.service - ESET Remote Administrator Server
   Loaded: loaded (/etc/systemd/system/eraserver.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2018-10-08 12:19:13 EEST; 22min ago
  Process: 4328 ExecStart=/opt/eset/RemoteAdministrator/Server/ERAServer --daemon --pidfile /var/run/eraserver.pid (code=exited, status=0/SUCCESS)
 Main PID: 4329 (code=exited, status=70)
	Oct 08 12:17:23 esetav.pieria.pkm.gov.gr systemd[1]: Starting ESET Remote Administrator Server...
Oct 08 12:17:23 esetav.pieria.pkm.gov.gr systemd[1]: Started ESET Remote Administrator Server.
Oct 08 12:19:13 esetav.pieria.pkm.gov.gr systemd[1]: eraserver.service: main process exited, code=exited, status=70/n/a
Oct 08 12:19:13 esetav.pieria.pkm.gov.gr systemd[1]: Unit eraserver.service entered failed state.
Oct 08 12:19:13 esetav.pieria.pkm.gov.gr systemd[1]: eraserver.service failed.

Now, I don't recall which daemon keeps ports 2222/2223 open, that is if it is eraserver or eraagent. Examining /var/log/eset/RemoteAdministrator/Server/last-error.html shows a bunch of errors thrown about the MySQL ODBC 5.3 Unicode Driver not being found:

	2018-Oct-08 09:17:33 Probing database connection failed. Next connection attempt will be in 10 seconds. 10 more attempts will be made. The database access layer reported: [unixODBC][Driver Manager]Can't open lib 'MySQL ODBC 5.3 Unicode Driver' : file not found (0)

Can I somehow reinstall that thing by command on my ERA 6.5 VA? I would prefer to avoid restoring an older VM backup and resetting there.


Link to comment
Share on other sites

  • 1 month later...
  • ESET Staff
2 hours ago, carmik said:

Sorry mate, I restored a previous snapshot to get this done. Will try your suggestion next time this occurs.

Please check last section "Prevent MySQL from updating" in referenced KB article. Even if your environment works not, it will break once OS is updated next time without this fix.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...