enter image description here- this is the error code shown when i run ./nsc.sh in a root terminal, nexpose worked properly on first install and i was able to acess localhost:3780 with no issues but after a system reboot it did not work, i already tried restarting services including nexpseconsole and disabling postgresql on start up aswell as disabling nexposeconsole on start up
2023-07-04T21:07:27 [INFO] Product Version: 6.6.2022023-07-04T21:07:27 [INFO] Current directory: /opt/rapid7/nexpose/nsc2023-07-04T21:07:27 [INFO] User name: root2023-07-04T21:07:27 [INFO] Super user: Yes2023-07-04T21:07:27 [INFO] Computer name: 2603-7081-233c-0100-6e88-14ff-feb6-b7282023-07-04T21:07:27 [INFO] Host Address: 127.0.1.12023-07-04T21:07:27 [INFO] Host FQDN: 2603-7081-233c-0100-6e88-14ff-feb6-b728.res6.spectrum.com2023-07-04T21:07:27 [INFO] Operating system: Debian Linux kali-rolling2023-07-04T21:07:27 [INFO] CPU speed: 1395MHz2023-07-04T21:07:27 [INFO] Number of CPUs: 42023-07-04T21:07:27 [INFO] Total memory: 7.6 GB2023-07-04T21:07:27 [INFO] Available memory: 630.8 MB2023-07-04T21:07:27 [INFO] Total disk space: 290.4 GB2023-07-04T21:07:27 [INFO] Available disk space: 102.5 GB2023-07-04T21:07:27 [INFO] Disk space used by installation: 3.3 GB2023-07-04T21:07:27 [INFO] Disk space used by scans: 0 bytes2023-07-04T21:07:27 [INFO] Disk space used by database: 109.9 MB2023-07-04T21:07:27 [INFO] Disk space used by reports: 0 bytes2023-07-04T21:07:27 [INFO] Disk space used by backups: 0 bytes2023-07-04T21:07:27 [INFO] JVM name: OpenJDK 64-Bit Server VM2023-07-04T21:07:27 [INFO] JVM vendor: Azul Systems, Inc.2023-07-04T21:07:27 [INFO] JVM version: 25.372-b072023-07-04T21:07:27 [INFO] JVM started: 2023-07-05 01:07 GMT2023-07-04T21:07:27 [INFO] Running interactively under super-user: root.2023-07-04T21:07:27 [WARN] System is running low on memory: 7814MB total (629MB free)2023-07-04T21:07:27 [INFO] Initializing JDBC drivers.2023-07-04T21:07:28 [INFO] Loading configuration...2023-07-04T21:07:29 [INFO] Initializing license manager...2023-07-04T21:07:29 [WARN] No valid licenses were found. This will prevent site modification and the running of scans.2023-07-04T21:07:29 [INFO] Initializing maintenance manager...2023-07-04T21:07:29 [INFO] Initializing crypto subsystem...2023-07-04T21:07:29 [INFO] Initializing plugins...2023-07-04T21:07:29 [INFO] Initializing authentication services...2023-07-04T21:07:29 [INFO] Initializing web server...2023-07-04T21:07:29 [INFO] Configuring web server.2023-07-04T21:07:30 [INFO] Generating skin: /opt/rapid7/nexpose/nsc/htroot/scripts/nexpose-skin.js2023-07-04T21:07:30 [INFO] Generating feature set: /opt/rapid7/nexpose/nsc/htroot/scripts/nexpose-features.js2023-07-04T21:07:30 [INFO] Context loader config file is jar:file:/opt/rapid7/nexpose/nsc/lib/nsc.jar!/META-INF/context.xml2023-07-04T21:07:32 [INFO] Initializing ProtocolHandler ["http-nio-3780"]2023-07-04T21:07:32 [ERROR] Failed to initialize end point associated with ProtocolHandler ["http-nio-3780"]2023-07-04T21:07:32 [ERROR] Failed to initialize connector [Connector[HTTP/1.1-3780]]2023-07-04T21:07:32 [ERROR] A critical error occurred during initialization2023-07-04T21:07:32 [INFO] Adding maintenance task NexposeRecovery2023-07-04T21:07:32 [INFO] Reinitializing web server for maintenance mode...2023-07-04T21:07:32 [INFO] Stopping ProtocolHandler ["http-nio-3780"]2023-07-04T21:07:32 [INFO] Destroying ProtocolHandler ["http-nio-3780"]2023-07-04T21:07:32 [INFO] Accepting web server logins.2023-07-04T21:07:32 [INFO] Found a pending maintenance task: NexposeRecovery2023-07-04T21:07:32 [INFO] Entering maintenance mode, only administrator logins permitted.2023-07-04T21:07:32 [INFO] Maintenance Task Started2023-07-04T21:07:32 [INFO] Accepting console commands.2023-07-04T21:07:32 [ERROR] Error during server initialization.2023-07-04T21:07:32 [INFO] Shutting down immediately2023-07-04T21:07:32 [WARN] Error stopping quartz schedulers.2023-07-04T21:07:32 [INFO] Shutting down web server...2023-07-04T21:07:32 [INFO] Pausing ProtocolHandler ["http-nio-3780"]2023-07-04T21:07:32 [INFO] Stopping service Tomcat2023-07-04T21:07:32 [ERROR] Problem shutting down Tomcat2023-07-04T21:07:32 [INFO] Web server stopped2023-07-04T21:07:32 [INFO] removing scheduled risk and history updater jobs2023-07-04T21:07:32 [INFO] Shutting down extension manager2023-07-04T21:07:32 [INFO] Extension manager shutdown successful.2023-07-04T21:07:32 [INFO] Shutting down config manager2023-07-04T21:07:32 [INFO] Shutting down crypto system2023-07-04T21:07:32 [WARN] Error stopping connection scheduler.2023-07-04T21:07:32 [INFO] Shutting down daemon manager2023-07-04T21:07:32 [WARN] Error shutting down database.2023-07-04T21:07:32 [INFO] Shutting down command console2023-07-04T21:07:32 [INFO] Shutting down web server...NeXpose security console exited with code 0`i already reinstalled nexpose my kali is up to date, i disabled pstgresql the second install. i ran every command with sudo, i got nexpose to open up the first install and work but after i shut my machine down it never worked again.` i cant seem to find any documentation online towards this issue and ive already tried most things i can find any help wuld2023-07-04T21:07:27 [INFO] Product Version: 6.6.2022023-07-04T21:07:27 [INFO] Current directory: /opt/rapid7/nexpose/nsc2023-07-04T21:07:27 [INFO] User name: root2023-07-04T21:07:27 [INFO] Super user: Yes2023-07-04T21:07:27 [INFO] Computer name: 2603-7081-233c-0100-6e88-14ff-feb6-b7282023-07-04T21:07:27 [INFO] Host Address: 127.0.1.12023-07-04T21:07:27 [INFO] Host FQDN: 2603-7081-233c-0100-6e88-14ff-feb6-b728.res6.spectrum.com2023-07-04T21:07:27 [INFO] Operating system: Debian Linux kali-rolling2023-07-04T21:07:27 [INFO] CPU speed: 1395MHz2023-07-04T21:07:27 [INFO] Number of CPUs: 42023-07-04T21:07:27 [INFO] Total memory: 7.6 GB2023-07-04T21:07:27 [INFO] Available memory: 630.8 MB2023-07-04T21:07:27 [INFO] Total disk space: 290.4 GB2023-07-04T21:07:27 [INFO] Available disk space: 102.5 GB2023-07-04T21:07:27 [INFO] Disk space used by installation: 3.3 GB2023-07-04T21:07:27 [INFO] Disk space used by scans: 0 bytes2023-07-04T21:07:27 [INFO] Disk space used by database: 109.9 MB2023-07-04T21:07:27 [INFO] Disk space used by reports: 0 bytes2023-07-04T21:07:27 [INFO] Disk space used by backups: 0 bytes2023-07-04T21:07:27 [INFO] JVM name: OpenJDK 64-Bit Server VM2023-07-04T21:07:27 [INFO] JVM vendor: Azul Systems, Inc.2023-07-04T21:07:27 [INFO] JVM version: 25.372-b072023-07-04T21:07:27 [INFO] JVM started: 2023-07-05 01:07 GMT2023-07-04T21:07:27 [INFO] Running interactively under super-user: root.2023-07-04T21:07:27 [WARN] System is running low on memory: 7814MB total (629MB free)2023-07-04T21:07:27 [INFO] Initializing JDBC drivers.2023-07-04T21:07:28 [INFO] Loading configuration...2023-07-04T21:07:29 [INFO] Initializing license manager...2023-07-04T21:07:29 [WARN] No valid licenses were found. This will prevent site modification and the running of scans.2023-07-04T21:07:29 [INFO] Initializing maintenance manager...2023-07-04T21:07:29 [INFO] Initializing crypto subsystem...2023-07-04T21:07:29 [INFO] Initializing plugins...2023-07-04T21:07:29 [INFO] Initializing authentication services...2023-07-04T21:07:29 [INFO] Initializing web server...2023-07-04T21:07:29 [INFO] Configuring web server.2023-07-04T21:07:30 [INFO] Generating skin: /opt/rapid7/nexpose/nsc/htroot/scripts/nexpose-skin.js2023-07-04T21:07:30 [INFO] Generating feature set: /opt/rapid7/nexpose/nsc/htroot/scripts/nexpose-features.js2023-07-04T21:07:30 [INFO] Context loader config file is jar:file:/opt/rapid7/nexpose/nsc/lib/nsc.jar!/META-INF/context.xml2023-07-04T21:07:32 [INFO] Initializing ProtocolHandler ["http-nio-3780"]2023-07-04T21:07:32 [ERROR] Failed to initialize end point associated with ProtocolHandler ["http-nio-3780"]2023-07-04T21:07:32 [ERROR] Failed to initialize connector [Connector[HTTP/1.1-3780]]2023-07-04T21:07:32 [ERROR] A critical error occurred during initialization2023-07-04T21:07:32 [INFO] Adding maintenance task NexposeRecovery2023-07-04T21:07:32 [INFO] Reinitializing web server for maintenance mode...2023-07-04T21:07:32 [INFO] Stopping ProtocolHandler ["http-nio-3780"]2023-07-04T21:07:32 [INFO] Destroying ProtocolHandler ["http-nio-3780"]2023-07-04T21:07:32 [INFO] Accepting web server logins.2023-07-04T21:07:32 [INFO] Found a pending maintenance task: NexposeRecovery2023-07-04T21:07:32 [INFO] Entering maintenance mode, only administrator logins permitted.2023-07-04T21:07:32 [INFO] Maintenance Task Started2023-07-04T21:07:32 [INFO] Accepting console commands.2023-07-04T21:07:32 [ERROR] Error during server initialization.2023-07-04T21:07:32 [INFO] Shutting down immediately2023-07-04T21:07:32 [WARN] Error stopping quartz schedulers.2023-07-04T21:07:32 [INFO] Shutting down web server...2023-07-04T21:07:32 [INFO] Pausing ProtocolHandler ["http-nio-3780"]2023-07-04T21:07:32 [INFO] Stopping service Tomcat2023-07-04T21:07:32 [ERROR] Problem shutting down Tomcat2023-07-04T21:07:32 [INFO] Web server stopped2023-07-04T21:07:32 [INFO] removing scheduled risk and history updater jobs2023-07-04T21:07:32 [INFO] Shutting down extension manager2023-07-04T21:07:32 [INFO] Extension manager shutdown successful.2023-07-04T21:07:32 [INFO] Shutting down config manager2023-07-04T21:07:32 [INFO] Shutting down crypto system2023-07-04T21:07:32 [WARN] Error stopping connection scheduler.2023-07-04T21:07:32 [INFO] Shutting down daemon manager2023-07-04T21:07:32 [WARN] Error shutting down database.2023-07-04T21:07:32 [INFO] Shutting down command console2023-07-04T21:07:32 [INFO] Shutting down web server...NeXpose security console exited with code 0`i already reinstalled nexpose my kali is up to date, i disabled pstgresql the second install. i ran every command with sudo, i got nexpose to open up the first install and work but after i shut my machine down it never worked again.`
i reinstalled already while disabling pstgresql before the install, nexpose worked fine once and then never worked again
I had the same issue on my Kali Linux.
Turns out I was out of storage. I believe creating/freeing up storage space will fix this error. Run the nsc.sh script once you have created storage space (30gb should do).
Ultimately, make sure your system has enough resources as suggested by Nexpose.