Skip to main content
cmaheu
Staff
Staff
February 11, 2022

Technical Tip: Nessus process keeps restarting after configuring captive network assistant

  • February 11, 2022
  • 0 replies
  • 421 views
Description

This article discusses a behavior where the appliance's Nessus process constantly restarts.  Behavior occurs after configuring the Captive Network Assistant.

 

The following (or similar) error message is printed in /bsc/logs/output.nessus:

 

yams INFO :: 2022-01-05 14:01:49:540 :: loaderReady WebServiceDefinitionManager 1.0
yams.WebServiceDefinitionManager INFO :: 2022-01-05 14:01:49:547 :: Current Version is 3
yams SEVERE :: 2022-01-05 14:01:49:587 :: java.lang.IllegalArgumentException: Whitespaces may not be used in a LiteralDeclaration. They define multiple declarations and a MultipartDeclaration should be used.
yams SEVERE :: 2022-01-05 14:01:49:587 :: at com.bsc.portal.apache.decl.LiteralDeclaration.setContents(LiteralDeclaration.java:21)
yams SEVERE :: 2022-01-05 14:01:49:587 :: at com.bsc.portal.apache.decl.LiteralDeclaration.(LiteralDeclaration.java:9)
yams SEVERE :: 2022-01-05 14:01:49:587 :: at com.bsc.portal.apache.stmt.DeclarationStatement.addArgument(DeclarationStatement.java:39)
yams SEVERE :: 2022-01-05 14:01:49:587 :: at com.bsc.portal.apache.stmt.DeclarationStatement.(DeclarationStatement.java:28)
yams SEVERE :: 2022-01-05 14:01:49:587 :: at com.bsc.plugin.portal.WebServiceDefinitionManager.buildApacheConfiguration(WebServiceDefinitionManager.java:189)
yams SEVERE :: 2022-01-05 14:01:49:587 :: at com.bsc.plugin.portal.WebServiceDefinitionManager.deployWebServices(WebServiceDefinitionManager.java:105)
yams SEVERE :: 2022-01-05 14:01:49:587 :: at com.bsc.plugin.portal.WebServiceDefinitionManager.loaderReady(WebServiceDefinitionManager.java:63)
yams SEVERE :: 2022-01-05 14:01:49:587 :: at com.bsc.server.Yams.readyPlugins(Yams.java:1131)
yams SEVERE :: 2022-01-05 14:01:49:587 :: at com.bsc.server.Yams.start(Yams.java:673)
yams SEVERE :: 2022-01-05 14:01:49:588 :: at com.bsc.server.Yams.main(Yams.java:4689)

 

This is an indication that there is an error in the Web Service Definition setting.

Scope  
Solution

1)  Review the Web Service Definition settings.

For instructions, see section 'Enable CNA (iOS/macOS/Samsung Android)' in the following KBarticle.


https://fortinetweb.s3.amazonaws.com/docs.fortinet.com/v2/attachments/b0560ae0-08a9-11eb-96b9-00505692583a/Enable_Captive_Network_Assistant.pdf

 

2)  Ensure there are no errors in the URLs or extra spaces.

3)  Once edit are complete, select 'OK' to save and press Publish to write the changes.