Jump to content

Cannot start nexpose after installation on kali linux


Skorpinok Rover

Recommended Posts

Hello,

Has anyone installed nexpose on kali ? I have installed Nexpose on kali linux 32 bit, first time when i start nexpose & log in, its in Maintenance Mode & gives me this error,

Critical error during initialization: Failed to init login module: com.rapid7.nexpose.datastore.DataStoreUninitializedException: Datastore has not been initialized, anybody know how to fix this ?

Here is how i installed nexpose..

service postgresql stop
chmod +x NeXposeSetup-Linux32.bin
./NeXposeSetup-Linux32.bin

Before i ran nexpose for first time i had to stop postgresql...

Below is the Error.(nsc.log located on the /opt/rapid7/nexpose/nsc/logs directory)

2013-04-01T15:43:40 [iNFO] [Thread: main] Current directory: /opt/rapid7/nexpose/nsc

2013-04-01T15:43:40 [iNFO] [Thread: main] User name: root

2013-04-01T15:43:40 [iNFO] [Thread: main] Computer name: kalinux

2013-04-01T15:43:40 [iNFO] [Thread: main] Operating system: Debian Linux Kali Linux 1.0

2013-04-01T15:43:40 [iNFO] [Thread: main] Total memory: 3041460 KBytes

2013-04-01T15:43:40 [iNFO] [Thread: main] Available memory: 2327360 KBytes

2013-04-01T15:43:40 [iNFO] [Thread: main] CPU speed: 2174MHz

2013-04-01T15:43:40 [iNFO] [Thread: main] Number of CPUs: 1

2013-04-01T15:43:40 [iNFO] [Thread: main] Super user: true

2013-04-01T15:43:40 [iNFO] [Thread: main] JVM started: Mon Apr 01 11:43:38 EDT 2013

2013-04-01T15:43:40 [iNFO] [Thread: main] JVM uptime: 0 seconds

2013-04-01T15:43:41 [iNFO] [Thread: main] Logging initialized. [Name = default] [Level = INFO] [Timezone = US/Eastern (Eastern Standard Time, GMT-4:00)]

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] Product Version: 5.5.15

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] Current directory: /opt/rapid7/nexpose/nsc

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] User name: root

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] Super user: Yes

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] Computer name: kalinux

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] Host Address: 127.0.1.1

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] Host FQDN: kalinux

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] Operating system: Debian Linux Kali Linux 1.0

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] CPU speed: 2174MHz

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] Number of CPUs: 1

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] Total memory: 2.9 GB

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] Available memory: 2.2 GB

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] Total disk space: 148.1 GB

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] Available disk space: 135 GB

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] Disk space used by installation: 585 MB

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] Disk space used by scans: 0 bytes

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] Disk space used by database: 61.6 MB

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] Disk space used by reports: 5.1 MB

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] Disk space used by backups: 0 bytes

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] JVM name: Java HotSpot Server VM

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] JVM vendor: Oracle Corporation

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] JVM version: 22.1-b02

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] JVM started: 2013-04-01 15:43 GMT

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] Running interactively under super-user: root.

2013-04-01T15:43:42 [iNFO] [Thread: Security Console] Initializing JDBC drivers.

2013-04-01T15:43:42 [WARN] [Thread: Security Console] No valid licenses were found. This will prevent site modification and the running of scans.

2013-04-01T15:43:43 [iNFO] [Thread: Security Console] Configuring web server.

2013-04-01T15:43:44 [iNFO] [Thread: Security Console] Generating skin: /opt/rapid7/nexpose/nsc/htroot/scripts/nexpose-skin.js

2013-04-01T15:43:44 [iNFO] [Thread: Security Console] Generating feature set: /opt/rapid7/nexpose/nsc/htroot/scripts/nexpose-features.js

2013-04-01T15:43:45 [iNFO] [Thread: Security Console] Starting tomcat server

2013-04-01T15:43:45 [iNFO] [Thread: Security Console] Starting Servlet Engine: Apache Tomcat/6.0.35

2013-04-01T15:43:45 [iNFO] [Thread: Security Console] Set JAAS app name NeXpose-Web-Engine

2013-04-01T15:43:46 [iNFO] [Thread: Security Console] Initializing Spring root WebApplicationContext

2013-04-01T15:43:49 [iNFO] [Thread: Security Console] Initializing extension manager from dir /opt/rapid7/nexpose/plugins.

2013-04-01T15:43:49 [iNFO] [Thread: Security Console] Initializing extension manager...

2013-04-01T15:43:49 [iNFO] [Thread: Security Console] Initialization successful

2013-04-01T15:44:16 [iNFO] [Thread: Security Console] Initializing Spring FrameworkServlet 'MVC Dispatcher Servlet'

2013-04-01T15:44:21 [iNFO] [Thread: Security Console] Using a shared selector for servlet write/read

2013-04-01T15:44:21 [iNFO] [Thread: Security Console] Initializing Coyote HTTP/1.1 on http-3780

2013-04-01T15:44:21 [iNFO] [Thread: Security Console] Starting Coyote HTTP/1.1 on http-3780

2013-04-01T15:44:21 [iNFO] [Thread: Security Console] Web server subsystem initialized.

2013-04-01T15:44:21 [iNFO] [Thread: Security Console] Initializing scheduler...

2013-04-01T15:44:21 [iNFO] [Thread: Security Console] Starting Scheduler

2013-04-01T15:44:21 [iNFO] [Thread: Security Console] Scheduler subsystem initialized.

2013-04-01T15:44:21 [iNFO] [Thread: Security Console] Initializing administrative alerters.

2013-04-01T15:44:21 [iNFO] [Thread: Security Console] Initializing postgresql database manager for //127.0.0.1:5432/nexpose.

2013-04-01T15:44:21 [iNFO] [Thread: Security Console] Starting up postgresql DB system

2013-04-01T15:44:21 [iNFO] [Thread: Security Console] PostgreSQL service status: 0

2013-04-01T15:44:21 [iNFO] [Thread: Security Console] PostgreSQL service status: 1

2013-04-01T15:44:22 [ERROR] [Thread: Security Console] Database initialization failed

java.sql.SQLException: Error starting PostgreSQL: com.rapid7.os.OSException: Could not start the nxpgsql daemon

at com.rapid7.nexpose.datastore.impl.PostgresqlDB.startupDBSystem(Unknown Source) ~[nxshared.jar:na]

at com.rapid7.nexpose.datastore.DBManager.getDB(Unknown Source) ~[nxshared.jar:na]

at com.rapid7.nexpose.datastore.DBManager.getDB(Unknown Source) ~[nxshared.jar:na]

at com.rapid7.nexpose.datastore.DBManager.initialize(Unknown Source) ~[nxshared.jar:na]

at com.rapid7.nexpose.nsc.NSC.initDatabase(Unknown Source) [nsc.jar:na]

at com.rapid7.nexpose.nsc.NSC.initCriticalSubsystems(Unknown Source) [nsc.jar:na]

at com.rapid7.nexpose.nsc.NSC.initSubsystems(Unknown Source) [nsc.jar:na]

at com.rapid7.nexpose.nsc.NSC.run(Unknown Source) [nsc.jar:na]

at com.rapid7.nexpose.nsc.NSC.main(Unknown Source) [nsc.jar:na]

Caused by: com.rapid7.os.OSException: Could not start the nxpgsql daemon

at com.rapid7.nexpose.datastore.impl.PostgresqlDB.startDBService(Unknown Source) ~[nxshared.jar:na]

... 9 common frames omitted

2013-04-01T15:44:22 [iNFO] [Thread: Security Console] Initializing update processor.

2013-04-01T15:44:23 [iNFO] [Thread: Security Console] Security Console is launching in Maintenance Mode. Disabling update processing.

2013-04-01T15:44:23 [iNFO] [Thread: Security Console] Update processing disabled, skipping approved update check.

2013-04-01T15:44:23 [iNFO] [Thread: Security Console] Update processing is disabled, skipping pending update check.

2013-04-01T15:44:23 [iNFO] [Thread: Security Console] Current DB_VERSION = 99, current DB_REINDEX = 35

2013-04-01T15:44:23 [iNFO] [Thread: Security Console] Verifying database version...

2013-04-01T15:44:23 [WARN] [Thread: Security Console] Failed to upgrade db. This may prevent product operation.

2013-04-01T15:44:23 [ERROR] [Thread: Security Console] Failed to initialize db queue manager

com.rapid7.nexpose.datastore.DataStoreUninitializedException: Datastore has not been initialized

at com.rapid7.nexpose.datastore.DataStoreManager.loadNamedQueryFile(Unknown Source) ~[nxshared.jar:na]

at com.rapid7.nexpose.datastore.DataStoreManager.initializeDSM(Unknown Source) ~[nxshared.jar:na]

at com.rapid7.nexpose.datastore.DataStoreManager.<init>(Unknown Source) ~[nxshared.jar:na]

at com.rapid7.nexpose.datastore.DataStoreManager.getInstance(Unknown Source) ~[nxshared.jar:na]

at com.rapid7.nexpose.nsc.NSC.updateDatabase(Unknown Source) [nsc.jar:na]

at com.rapid7.nexpose.nsc.NSC.initCriticalSubsystems(Unknown Source) [nsc.jar:na]

at com.rapid7.nexpose.nsc.NSC.initSubsystems(Unknown Source) [nsc.jar:na]

at com.rapid7.nexpose.nsc.NSC.run(Unknown Source) [nsc.jar:na]

at com.rapid7.nexpose.nsc.NSC.main(Unknown Source) [nsc.jar:na]

2013-04-01T15:44:23 [iNFO] [Thread: Security Console] Initializing datastore login module.

2013-04-01T15:44:23 [ERROR] [Thread: Security Console] A critical error occured during initialization

java.lang.RuntimeException: Failed to init login module: com.rapid7.nexpose.datastore.DataStoreUninitializedException: Datastore has not been initialized

at com.rapid7.nexpose.nsc.NSC.updateDatabase(Unknown Source) [nsc.jar:na]

at com.rapid7.nexpose.nsc.NSC.initCriticalSubsystems(Unknown Source) [nsc.jar:na]

at com.rapid7.nexpose.nsc.NSC.initSubsystems(Unknown Source) [nsc.jar:na]

at com.rapid7.nexpose.nsc.NSC.run(Unknown Source) [nsc.jar:na]

at com.rapid7.nexpose.nsc.NSC.main(Unknown Source) [nsc.jar:na]

Caused by: com.rapid7.nexpose.datastore.DataStoreUninitializedException: Datastore has not been initialized

at com.rapid7.nexpose.datastore.DataStoreManager.loadNamedQueryFile(Unknown Source) ~[nxshared.jar:na]

at com.rapid7.nexpose.datastore.DataStoreManager.initializeDSM(Unknown Source) ~[nxshared.jar:na]

at com.rapid7.nexpose.datastore.DataStoreManager.<init>(Unknown Source) ~[nxshared.jar:na]

at com.rapid7.nexpose.datastore.DataStoreManager.getInstance(Unknown Source) ~[nxshared.jar:na]

... 5 common frames omitted

2013-04-01T15:44:23 [WARN] [Thread: Security Console] Cannot add Nexpose connection pool JMX Bean

java.lang.IllegalArgumentException: Connection Pooling Driver cannot be null

at com.rapid7.nexpose.datastore.ConnectionPoolMXBean.<init>(Unknown Source) ~[nxshared.jar:na]

at com.rapid7.nexpose.nsc.NSC.registerConnectionPoolMBean(Unknown Source) [nsc.jar:na]

at com.rapid7.nexpose.nsc.NSC.initSubsystems(Unknown Source) [nsc.jar:na]

at com.rapid7.nexpose.nsc.NSC.run(Unknown Source) [nsc.jar:na]

at com.rapid7.nexpose.nsc.NSC.main(Unknown Source) [nsc.jar:na]

2013-04-01T15:44:23 [iNFO] [Thread: Security Console] Stopping Coyote HTTP/1.1 on http-3780

2013-04-01T15:44:24 [iNFO] [Thread: Security Console] Using a shared selector for servlet write/read

2013-04-01T15:44:24 [iNFO] [Thread: Security Console] Initializing Coyote HTTP/1.1 on http-3780

2013-04-01T15:44:24 [iNFO] [Thread: Security Console] Starting Coyote HTTP/1.1 on http-3780

2013-04-01T15:44:24 [iNFO] [Thread: Security Console] Accepting web server logins.

2013-04-01T15:44:24 [iNFO] [Thread: Security Console] Found a pending maintenance task: NexposeRecovery

2013-04-01T15:44:24 [iNFO] [Thread: Security Console] Entering maintenance mode, only administrator logins permitted.

2013-04-01T15:44:24 [iNFO] [Thread: Security Console] Maintenance Task Started

2013-04-01T15:44:25 [iNFO] [Thread: Security Console] [started: 2013-04-01T15:43:41] [Duration: 0:00:43.951] Security Console started.

2013-04-01T15:44:25 [iNFO] [Thread: Security Console] Security Console web interface ready. Browse to https://localhost:3780/

2013-04-01T15:49:24 [iNFO] [Thread: Web Server Manager] Shutting down web server...

2013-04-01T15:49:24 [iNFO] [Thread: Web Server Manager] Stopping Coyote HTTP/1.1 on http-3780

2013-04-01T15:49:25 [iNFO] [Thread: Web Server Manager] Destroying Spring FrameworkServlet 'MVC Dispatcher Servlet'

2013-04-01T15:49:25 [iNFO] [Thread: Web Server Manager] Closing Spring root WebApplicationContext

Edited by Mr-Protocol
added spoiler tags.
Link to comment
Share on other sites

Not 100% sure(because I've yet to have time to play with it), but before "installing" did you check to see if nexpose was already installed?

Link to comment
Share on other sites

now i know wat the hell is problem wid nexpose, after a persistent effort, finally rapid7 answered.. nexpose does not support kali. & we have to wait until issue will be resolved. ( but some are fitting extra mod's to their car to go faster :lol: ), well i installed nessus without any problem & works like a charm..

https://community.rapid7.com/thread/3034

Edited by Skorpinok W7PC
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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