Hi,
Running the Security BPA on a newly installed stand alone system (10.4 installer, immediately upgraded to 10.5.12), fails with "No such host is known".
The system is not cloud connected yet, and is licenced with temporary licences (till we get the persistent ones)
Any ideas what is causing this error? I've tried both running from Cube and the stand alone BPA executor.
Thanks
System.Net.Sockets.SocketException (0x80004005): No such host is known
at System.Net.Dns.GetAddrInfo(String name)
at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
at System.Net.Dns.GetHostEntry(String hostNameOrAddress)
at SecurityAdvisoryBPA.Helpers.ADBHelper.ParseEndpointToIp(String endpoint)
at SecurityAdvisoryBPA.Helpers.ADBHelper.EndpointsToIpAddresses(String[] endpoints)
at SecurityAdvisoryBPA.Helpers.IndexingEngineHelper.GetDatabaseType()
at SecurityAdvisoryBPA.OS.FirewallTest.CheckElasticsearch()
at SecurityAdvisoryBPA.OS.FirewallTest.RunTest()
at SecurityAdvisoryBPA.ASecurityTest.RunTest()
at SecurityAdvisoryBPA.ASecurityTest.RunTest()
at SecurityAdvisoryBPA.SecurityAdvisoryBpa.GetBpaResult()
at SecurityAdvisoryBPA.SecurityAdvisoryBpa.Run(BpaExecuteContext context)
Hi Seppe, it doesn't actually include which host it was trying to resolve in the error
Hi Chris, the BPA is failing to resolve (one of) the hostname(s) of the configured indexing database in the db.xml config file. Can you verify the configured hostname(s) are valid?
more information on the db.xml indexing database settings: https://docs.dataminer.services/dataminer/Reference/Skyline_DataMiner_Folder/More_information_on_certain_files_and_folders/DB_xml.html#indexing-database-settings
Hi Seppe,
I'd just worked that out Myself, with a bit of help from Wireshark to see what it was trying to resolve.
The db.xml had a database server in it, that doesn't exist yet, as well as the other three hosts that do exist. So I've taken it out of the config for now.
Thanks
Hi Chris, does the BPA provide a stack trace when throwing the error?