[nexpose-users] NeXpose Problem

muhammad belill muhammad_belill at live.com
Tue Jun 29 06:12:38 PDT 2010


Dear All,

I install NeXpose in backtrack 4 final and it's installed very good but when i
start it it's give me this:

______________________________________________________________________________________
root at skull:/opt/rapid7/nexpose/nsc# ./nsc.sh

Checking for available jvms

Validating jre in directory _jvm



OS information

------------------------------------------------------------

Current directory: /opt/rapid7/nexpose/nsc

User name: root

Computer name: skull

Operating system: Ubuntu Linux 8.10

Total memory: 3101268 KBytes

Available memory: 2458192 KBytes

CPU speed: 1000MHz

Number of CPUs: 2

Super user: true

JVM started: Sat Jun 26 20:16:06 CEST 2010

JVM uptime: 2 seconds

Checking graphics environment...

OK

PATH:
/opt/kde3/bin:/opt/kde3/games:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/game

s:/opt/oracle/instantclient_10_2:/opt/oracle/instantclient_10_2

The Java virtual machine is exiting with code 0

Using jre at _jvm

PATH:
/opt/kde3/bin:/opt/kde3/games:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/game

s:/opt/oracle/instantclient_10_2:/opt/oracle/instantclient_10_2

Logging to file /opt/rapid7/nexpose/update.log

Checking for available jvms

Validating jre in directory _jvm



OS information

------------------------------------------------------------

Current directory: /opt/rapid7/nexpose/nsc

User name: root

Computer name: skull

Operating system: Ubuntu Linux 8.10

Total memory: 3101268 KBytes

Available memory: 2455768 KBytes

CPU speed: 1000MHz

Number of CPUs: 2

Super user: true

JVM started: Sat Jun 26 20:16:09 CEST 2010

JVM uptime: 0 seconds

Checking graphics environment...

OK

PATH: /opt/kde3/bin:/opt/kde3/games:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/game
s:/opt/oracle/instantclient_10_2:/opt/oracle/instantclient_10_2

The Java virtual machine is exiting with code 0

Using jre at _jvm

PATH: /opt/kde3/bin:/opt/kde3/games:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/game
s:/opt/oracle/instantclient_10_2:/opt/oracle/instantclient_10_2

NSC 2010-06-26T18:16:12 Logging initialized (system time zone is Europe/Rome)

NSC 2010-06-26T18:16:12 initializing JDBC drivers

NSC 2010-06-26T18:16:12 NeXpose is running interactively under super-user: root

NSC 2010-06-26T18:16:12 System memory: 3028MB total (2372MB free)

NSC 2010-06-26T18:16:12 System speed: 2000MHz (x2)

NSC 2010-06-26T18:16:13 Running first-time configuration

Server 2010-06-26T18:16:13 r7lic35288.lic: invalid license file.

Nexpose 2010-06-26T18:16:13 Configuring PostgreSQL installation in
/opt/rapid7/nexpose/nsc/nxpgsql

PostgresInst2010-06-26T18:16:13 Verifying permissions on /opt/rapid7/nexpose/nsc/nxpgsql

PostgresInst2010-06-26T18:16:13 Verifying disk space on
/opt/rapid7/nexpose/nsc/nxpgsql

PostgresInst2010-06-26T18:16:13 Could not determine nxpgsql daemon status.
Continuing installation....

PostgresInst2010-06-26T18:16:13 Adding service user nxpgsql

PostgresInst2010-06-26T18:16:13 Added service user.

PostgresInst2010-06-26T18:16:13 Recursively changing ownership of
/opt/rapid7/nexpose/nsc/nxpgsql to nxpgsql

PostgresInst2010-06-26T18:16:14 Setting file permissions

PostgresInst2010-06-26T18:16:14 Changing permissions of directory
'/opt/rapid7/nexpose/nsc/nxpgsql' to go+x

PostgresInst2010-06-26T18:16:14 Changing permissions of directory
'/opt/rapid7/nexpose/nsc' to go+x

PostgresInst2010-06-26T18:16:14 Changing permissions of directory
'/opt/rapid7/nexpose' to go+x

PostgresInst2010-06-26T18:16:14 Changing permissions of directory '/opt/rapid7'
to go+x

PostgresInst2010-06-26T18:16:15 Changing permissions of directory '/opt' to
go+x

PostgresInst2010-06-26T18:16:15 Changing permissions of directory '/' to go+x

PostgresInst2010-06-26T18:16:15 Successfully set file permissions

PostgresInst2010-06-26T18:16:15 Changing permissions of directory
'/opt/rapid7/nexpose/nsc/db' to go+x

PostgresInst2010-06-26T18:16:15 Postgres data directory already exists.
Cleaning up. /opt/rapid7/nexpose/nsc/nxpgsql/nxpdata

PostgresInst2010-06-26T18:16:15 Creating data directory in
/opt/rapid7/nexpose/nsc/nxpgsql/nxpdata

PostgresInst2010-06-26T18:16:15 Setting permissions on data directory
/opt/rapid7/nexpose/nsc/nxpgsql/nxpdata

PostgresInst2010-06-26T18:16:15 Initializing PostgreSQL database

PostgresInst2010-06-26T18:16:24 initdb was successful

PostgresInst2010-06-26T18:16:24 Setting Postgres to start automatically upon
system boot

Nexpose 2010-06-26T18:16:24 NSC DN is CN=NeXpose Security Console, O=MyCO

Nexpose 2010-06-26T18:16:24 Generating certificate for CN=NeXpose Security
Console, O=MyCO...

Self-signing certificate!

Marking self-signed certificate with CA attributes!

Nexpose 2010-06-26T18:16:29 Creating NSC config for database type postgresql

Nexpose 2010-06-26T18:16:29 Activating product for the first time...

AU-BDE60169D2010-06-26T18:16:29 initializing update engine for
BDE60169D41CCFCDECB11290EE8510928152E053...

AU-BDE60169D2010-06-26T18:16:29 Establishing HTTP connection with
updates.rapid7.com via proxy (updates.rapid7.com:80)...

Nexpose 2010-06-26T18:16:33 Failed to activate product.

Nexpose 2010-06-26T18:16:33 com.rapid7.updater.UpdateException: Product
activation failed (License cannot be activated. Please contact support.)

at com.rapid7.updater.A.activateLicense(Unknown Source)

at com.rapid7.updater.HttpProxyUpdateClient.activateL icense(Unknown Source)

at com.rapid7.updater.UpdatePackageProcessor.activate License(Unknown Source)

at com.rapid7.nexpose.nsc.FirstTimeConfigurator.C(Unk nown Source)

at com.rapid7.nexpose.nsc.FirstTimeConfigurator.confi gure(Unknown Source)

at com.rapid7.nexpose.nsc.NSC.?(Unknown Source)

at com.rapid7.nexpose.nsc.NSC.?(Unknown Source)

at com.rapid7.nexpose.nsc.NSC.?(Unknown Source)

at com.rapid7.nexpose.nsc.NSC.run(Unknown Source)

at com.rapid7.nexpose.nsc.NSC.main(Unknown Source)

Caused by: com.rapid7.updater.UpdateException: License cannot be activated.
Please contact support.

at com.rapid7.updater.A.A(Unknown Source)

at com.rapid7.updater.A.F(Unknown Source)

... 10 more



Nexpose 2010-06-26T18:16:33 NSC DN is CN=NeXpose Security Console, O=MyCO

postgresql 2010-06-26T18:16:33 Starting up postgresql DB system

postgresql 2010-06-26T18:16:34 Nexpose PostgreSQL service status: 0

postgresql 2010-06-26T18:16:34 Nexpose PostgreSQL service status: 1

NSC 2010-06-26T18:16:35 A critical error occured during initialization:
java.sql.SQLException: Error starting PostgreSQL: com.rapid7.os.OSException:
Could not start the nxpgsql daemon

at com.rapid7.nexpose.datastore.A.K.E(Unknown Source)

at com.rapid7.nexpose.datastore.n.H(Unknown Source)

at com.rapid7.nexpose.datastore.n.E(Unknown Source)

at com.rapid7.nexpose.datastore.n.E(Unknown Source)

at com.rapid7.nexpose.nsc.FirstTimeConfigurator.B(Unk nown Source)

at com.rapid7.nexpose.nsc.FirstTimeConfigurator.confi gureDB(Unknown Source)

at com.rapid7.nexpose.nsc.FirstTimeConfigurator.confi gure(Unknown Source)

at com.rapid7.nexpose.nsc.NSC.?(Unknown Source)

at com.rapid7.nexpose.nsc.NSC.?(Unknown Source)

at com.rapid7.nexpose.nsc.NSC.?(Unknown Source)

at com.rapid7.nexpose.nsc.NSC.run(Unknown Source)

at com.rapid7.nexpose.nsc.NSC.main(Unknown Source)

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

at com.rapid7.nexpose.datastore.A.K.A(Unknown Source)

... 12 more

SQLState=null, errorCode=0



NSC 2010-06-26T18:16:35 Error during server initialization:
java.lang.NullPointerException

NSC 2010-06-26T18:16:35 java.lang.NullPointerException

at com.rapid7.nexpose.nsc.NSC.?(Unknown Source)

at com.rapid7.nexpose.nsc.NSC.run(Unknown Source)

at com.rapid7.nexpose.nsc.NSC.main(Unknown Source)



NSC 2010-06-26T18:16:35 Shutting down immediately

NSC 2010-06-26T18:16:35 shutting down config manager

NSC 2010-06-26T18:16:35 Shutting down database

NSC 2010-06-26T18:16:35 shutting down logging

: shutting down console

NeXpose security console exited with code 0

root at skull:/opt/rapid7/nexpose/nsc# 



So could you help me.



Best Regards, 		 	   		  
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.metasploit.com/pipermail/nexpose-users/attachments/20100629/9083cdc8/attachment.html>


More information about the nexpose-users mailing list