Summary for Patch 409 (Verified)

Version 5.1.0.1

Full summary
Summary Fixes archiver issue with ignored files in incoming
Platform Unix
Category bugfix
Requires
Client Required Patch/es
Supersedes 345, 343
Superseded by 455 : Verified / Not hidden
414 : Verified / Not hidden
Affects Server: License Analyzer
Last Updated September 30, 2009

Download now

Download_red patch409.tar.gz

Description

This patch fixes archiver so that it properly moves corrupt
files from incoming to /var/opt/openit/temp/garbage/

It also fixed an issue which could cause archiver to skip handling
some files in database/incoming/

Supersedes Patch Description

Expand all

Patch 345 — Fix loading of recorder data (with recover option)
This patch fixes a problem with loading recorder data.
Archiver failed to accept that last field in line
could have an empty value.

This patch also include a recover option to help
with reprocessing previously failed recorder data.

To do this, manually run the following command
as the "openit" user:

  /opt/openit/bin/archiver -c /var/opt/openit/etc/daft.conf --recover

This will scan the files in the gargabe directory
(usually /var/opt/openit/temp/gargage), check if 
files "failed" with empty last field values and 
if so, insert the missing lines into the archive
and delete the processed file from gargage.

In addition to inserting the data into the archive
you will need to regenerate the recorder data
into the database. Run

  /opt/openit/bin/regenerate_data --archtype recorderevents <start> <end>

and

  /opt/openit/bin/regenerate_data --archtype recorderperiod <start> <end>

(where <start> and <end> are dates on YYYY-MM-DD format).

To void blocking normal archiver operations, it's possible to limit 
the running time of the recover operation by adding the parameter

  --timelimit <time>

where time is given using the P<period> format, e.g

	P2H		2 hours
	P90M		90 minutes 
	P900S		900 seconds
Patch 343 — Fix loading of recorder data
This patch fixes a problem with loading recorder data.
Archiver failed to accept that last field in line
could have an empty value.

Installation

Unpack tar file in e.g /tmp/patch on the Open iT host. Do the 
following as root:

  cd /tmp/patch
  ./patch.pl

Corresponding Windows Patches

No corresponding Patches available.



Back to Version 5.1.0.1