Results 1 to 5 of 5

Thread: NeXpose on Backtrack 4 beta vmware

  1. #1
    Just burned his ISO
    Join Date
    Apr 2010
    Posts
    3

    Question NeXpose on Backtrack 4 beta vmware

    Hi folks

    I tried yesterday to install the NeXpose community version on my Backtrack 4 beta vmware installation. I sweated a lot of tears but I just couldn’t get it runnin!
    I used the video tutorials from Archangel (Archangel Amael's BT Tutorials: Installing NeXpose in Back Track 4). The installation just worked fine but after I ran ./nsc.sh --> it says “[…]Could not start the nxpgsql daemon[…]” (see the logfile).
    I tried to fix that problem with google but all workarounds didn’t solve my problem.

    Here is what I already tried:
    - Reinstall nexpose without an instance of the PostgreSQL process (checking with ps aux | grep post --> kill if existed, it actually didn’t)
    - Manually stop the postgres service /etc/init.d/postgres 8.3 stop
    - Gave my vmware more RAM (now --> 1.5GB) but there was no warning of insufficient RAM (I know that min reqs are 2GB but I think 1.5GB should be fine if there is no warning, right?)
    - Edited the port in /opt/rapid7/nexpose/nsc/conf/nsc.xml to 5433
    - Uncomment and edited the port in /opt/rapid7/nexpose/nsc/nxpgsql/nxpdata/postgresql.conf
    - Deleted nsc.xml and restarted nexpose server
    - Installed nexpose as a deamon (don’t know why but I desperately tried it…)

    Well the only good article about this error was found on: Noah's Randomness But as I already said, it didn’t solve my problem.

    There is a warning that my lincence is not valid. Could that cause the problem? But during the installation process it says my lincence key is valid.

    Any help would be lovely!
    Cheers,
    blacktR

    My configuration:
    Backtrack 4 beta
    NeXpose community version 32bit Linux

    NeXpose Log:

    Code:
    Checking for available jvms
    Validating jre in directory  _jvm
    
    OS information
    ------------------------------------------------------------
    Current directory: /opt/rapid7/nexpose/nsc
    User name:         root
    Computer name:     bt
    Operating system:  Ubuntu Linux 8.10
    Total memory:      1530252 KBytes
    Available memory:  553328 KBytes
    CPU speed:         2493MHz
    Number of CPUs:    1
    Super user:        true
    JVM started:       Mon Apr 12 06:34:20 EDT 2010
    JVM uptime:        1 second
    Checking graphics environment...
    OK
    PATH: /usr/kde3/bin:/usr/kde3/bin:/usr/kde3/games:/usr/kde3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
    The Java virtual machine is exiting with code 0
    Using jre at  _jvm
    PATH: /usr/kde3/bin:/usr/kde3/bin:/usr/kde3/games:/usr/kde3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
    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:     bt
    Operating system:  Ubuntu Linux 8.10
    Total memory:      1530252 KBytes
    Available memory:  553148 KBytes
    CPU speed:         2493MHz
    Number of CPUs:    1
    Super user:        true
    JVM started:       Mon Apr 12 06:34:22 EDT 2010
    JVM uptime:        1 second
    Checking graphics environment...
    OK
    PATH: /usr/kde3/bin:/usr/kde3/bin:/usr/kde3/games:/usr/kde3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
    The Java virtual machine is exiting with code 0
    Using jre at  _jvm
    PATH: /usr/kde3/bin:/usr/kde3/bin:/usr/kde3/games:/usr/kde3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
    NSC         4/12/10 6:34 AM: Logging initialized (system time zone is America/New_York)
    NSC         4/12/10 6:34 AM: initializing JDBC drivers
    NSC         4/12/10 6:34 AM: NeXpose is running interactively under super-user: root
    NSC         4/12/10 6:34 AM: System memory: 1494MB total (533MB free)
    NSC         4/12/10 6:34 AM: System speed: 2493MHz (x1)
    NSC         4/12/10 6:34 AM: WARNING: No valid licenses were found. This will prevent site modification and the running of scans.
    MaintenanceM4/12/10 6:34 AM: Renamed /opt/rapid7/nexpose/nsc/maintenance.xml to /opt/rapid7/nexpose/nsc/maintenance.bak
    NSC         4/12/10 6:34 AM: Custom SSL certificate not available. Using default NSC certificate for web server.
    httpd       4/12/10 6:34 AM: configuring web server...
    Api12Context4/12/10 6:34 AM: Searching for JAXB context classes
    httpd       4/12/10 6:34 AM: registering shutdown hook...
    httpd       4/12/10 6:34 AM: Generating skin: /opt/rapid7/nexpose/nsc/htroot/scripts/nexpose-skin.js
    httpd       4/12/10 6:34 AM: Generating feature set: /opt/rapid7/nexpose/nsc/htroot/scripts/nexpose-features.js
    DaemonMgr   4/12/10 6:34 AM: Starting WebServer
    httpd       4/12/10 6:34 AM: bringing up SSL and initializing components...
    NSC         4/12/10 6:34 AM: Web server subsystem initialized
    Scheduler   4/12/10 6:34 AM: initializing...
    DaemonMgr   4/12/10 6:34 AM: Starting NexposeScheduler
    NSC         4/12/10 6:34 AM: Scheduler subsystem initialized
    NSC         4/12/10 6:34 AM: Initializing administrative alerters
    NSC         4/12/10 6:34 AM: initializing log rotation
    NSC         4/12/10 6:34 AM: Cleaning up temporary NeXpose files
    NSC         4/12/10 6:34 AM: Initializing update engine
    AU-C8FB8DEF64/12/10 6:34 AM: initializing update engine for C8FB8DEF6D3986595D37A877F5F7B5C03435D61D...
    httpd       4/12/10 6:34 AM: NSC/0.6.4 (JVM) bound to port 3780 and running...
    AU-C8FB8DEF64/12/10 6:34 AM: Checking for approved updates...
    AU-C8FB8DEF64/12/10 6:34 AM: No approved updates found for processing
    AU-C8FB8DEF64/12/10 6:34 AM: Started auto-update...
    AU-C8FB8DEF64/12/10 6:34 AM: Establishing HTTP connection with updates.rapid7.com via proxy (updates.rapid7.com:80)...
    AU-C8FB8DEF64/12/10 6:34 AM: Checking for approved updates...
    AU-C8FB8DEF64/12/10 6:34 AM: No approved updates found for processing
    NSC         4/12/10 6:34 AM: Initializing postgresql database manager for //127.0.0.1:5432/nexpose...
    postgresql  4/12/10 6:34 AM: Starting up postgresql DB system
    postgresql  4/12/10 6:34 AM: Nexpose PostgreSQL service status: 0
    postgresql  4/12/10 6:34 AM:    Nexpose PostgreSQL service status: 1
    NSC         4/12/10 6:34 AM: Database initialization failed : 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.NSC.U(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)
            ... 9 more
      SQLState=null, errorCode=0
    
    
    > httpd       4/12/10 6:34 AM: Shutting down socket...
    httpd       4/12/10 6:34 AM: I/O problem fetching client socket: Socket closed
    httpd       4/12/10 6:34 AM: Shutting down thread pool...
    httpd       4/12/10 6:34 AM: Reinitializing web server...
    httpd       4/12/10 6:34 AM: NSC/0.6.4 (JVM) bound to port 3780 and running...
    NSC         4/12/10 6:34 AM: Accepting web server logins
    NSC         4/12/10 6:34 AM: Found a pending maintenance task: DBConfig
    NSC         4/12/10 6:34 AM: Entering maintenance mode, only NeXpose administrator logins permitted.
    DBConfig    4/12/10 6:34 AM: Maintenance Task Started
    NSC         4/12/10 6:34 AM: Secure web interface ready.
    NSC         4/12/10 6:34 AM: Browse to https://localhost:3780/
    NSC         4/12/10 6:34 AM: Server started in 17 seconds

  2. #2
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default Re: NeXpose on Backtrack 4 beta vmware

    We do not support BT 4 beta you will need to upgrade to 4 final.

    Also I highly recommend you join the nexpose community mailing list. Turn around time on problems generally is less than a day.

  3. #3
    Just burned his ISO
    Join Date
    Apr 2010
    Posts
    3

    Default Re: NeXpose on Backtrack 4 beta vmware

    During writing this thread it popped in my head that the problem maybe is that i use BT4 Beta. Well it was...
    Thanks Archangel Amael for your answer anyway!

    I'll join the nexpose community mailing list.

    Thanks for your help.
    Keep it up!
    Cheers

  4. #4
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default Re: NeXpose on Backtrack 4 beta vmware

    Yeah no problem. Again get the latest BT4 Final and follow the guide again. It should work out just fine.
    The license issue is something that can cause problems but that is nothing more than an email (to Nexpose) away from being fixed.

  5. #5
    Just burned his ISO
    Join Date
    Apr 2010
    Posts
    3

    Default Re: NeXpose on Backtrack 4 beta vmware

    Yes, the license thing was a problem indeed.
    But they gave me a new licencse and everything worked like a charm.
    I'll search now some good tuts for metasploit & nexpose.

    Thanks for your help again. Have a nice one.
    Cheers

Similar Threads

  1. Vmware image of BackTrack 4 beta Release
    By bourne in forum OLD Newbie Area
    Replies: 7
    Last Post: 11-11-2009, 05:57 PM
  2. Run Backtrack 4 Beta in Windows with VmWare Workstation
    By purehate in forum OLD BT4 Videos
    Replies: 0
    Last Post: 10-02-2009, 12:02 AM
  3. Backtrack 4 beta su VMWare
    By AlphaWriter in forum Supporto Hardware
    Replies: 1
    Last Post: 08-12-2009, 09:24 PM
  4. BackTrack 4 Beta VMware Virtual Machine
    By digrev in forum OLD BT4beta Software Related Issues
    Replies: 12
    Last Post: 04-14-2009, 05:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •