Ticket #111 (closed issue: fixed)

Opened 1 year ago

Last modified 1 year ago

installation documentation around database

Reported by: christian.seifert@gmail.com Assigned to: kindlund
Priority: normal Milestone: 1.0
Component: Documentation Version: 0.99
Severity: minor Keywords: installation documentation db
Cc:

Description

I have used the UserDocumentation on the wiki to install HoneyClient. Nowhere is it mentioned that mysql needs to be installed (and running) and the honeyclient db install to be run. through the error msgs and searching the mitre site (in which I came across the http://www.honeyclient.org/trac/wiki/DB) I was able to piece it together, but I'd suggest adding this link/information to the UserDocumentation site.

Attachments

Change History

10/02/07 16:58:42 changed by kindlund

  • owner changed from knwang to kindlund.
  • status changed from new to assigned.

Database support is experimental. Yes, we have posted on the UserGuide that the Honeyclient::DB package is required for proper installation. HOWEVER, it's support should be disabled by default. If you try running the Manager and it's requiring MySQL, then you need to install v0.99 of the HC::Manager package (as this was a known bug in v0.98).

In short: The HC::DB package is required for proper installation on the host system, but does not need to be configured, currently.

— Darien

10/02/07 17:08:14 changed by kindlund

  • status changed from assigned to closed.
  • resolution set to fixed.

10/02/07 18:02:47 changed by Christian.Seifert@gmail.com

  • status changed from closed to reopened.
  • resolution deleted.

I was using the latest tar balls on the downloads page (of which only the Manager is 0.99 whereas all else are 0.98)

While I didnt get the request for mysql during the HoneyClient 0.99 installation, it was required by some of the perl DB packages that HoneyClient depends on. There are quite a few pacakages, so I dont exactly recall which one it was…some of the DB or DBM packages…

10/03/07 13:36:08 changed by anonymous

this is the error msg I get when runnign startmanager.pl without mysql…

2007-10-03 10:23:23 WARN [HoneyClient::DB::db_exists] (/usr/lib/perl5/site_perl/5.8.8/HoneyClient/DB.pm:1102) - Unable to connect to database: HoneyClient DBI connect('database=HoneyClient;host=127.0.0.1;port=3306','honeyclient_user',…) failed: Can't connect to MySQL server on '127.0.0.1' (111) at /usr/lib/perl5/site_perl/5.8.8/HoneyClient/DB.pm line 887 Died at /usr/lib/perl5/site_perl/5.8.8/HoneyClient/DB.pm line 391. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/HoneyClient/DB/Fingerprint.pm line 1. BEGIN failed—compilation aborted at /usr/lib/perl5/site_perl/5.8.8/HoneyClient/DB/Fingerprint.pm line 1. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/HoneyClient/Manager.pm line 172. Compilation failed in require at /usr/bin/StartManager.pl line 20. BEGIN failed—compilation aborted at /usr/bin/StartManager.pl line 20.

10/03/07 13:41:31 changed by kindlund

Okay, we can troubleshoot this, as well.

Verify that your etc/honeyclient.xml contains the following setting:

<HoneyClient>
  <DB>
    <enable>
      0
    </enable>
  </DB>
</HoneyClient>

If this is not the case, please change it accordingly and re-run StartManager.pl

If this setting has already been set to 0, then let me know and we'll proceed further.

— Darien

10/03/07 13:53:47 changed by anonymous

  • status changed from reopened to closed.
  • resolution set to fixed.

it was set to 1 (by default). changing it to 0 made it go away. Thanks


Add/Change #111 (installation documentation around database)




Change Properties
Action