OSWatcher – Installation and Usage


Start OSWatcher automatically on reboot

Download osw-service  RPMS from
  How To Start OSWatcher Black Box (OSWBB) Every System Boot (Doc ID 580513.1)

Install osw-service  RPMs
# rpm -iv /media/sf_mykits/oswbb-service-1.1.7-1.noarch.rpm
Preparing packages for installation...
oswbb-service-1.1.7-1

Modify  /etc/oswbb.conf as needed
# cat  /etc/oswbb.conf
# Set OSW_ARCHIVE where the logs should be stored
# OSW_ARCHIVE='archive'
# Set OSW_COMPRESSION to the desired compression scheme
# OSW_COMPRESSION='gzip'
# Set OSW_HOME to the directory where your OSWatcher tools are installed
# OSW_HOME='/u01/app/11204/grid/oswbb'
# Set OSW_INTERVAL to the number of seconds between collections
# OSW_INTERVAL='30'
# Set OSW_RETENTION to the number of hours logs are to be retained
# OSW_RETENTION='48'
# Set OSW_USER to the owner of the OSW_HOME directory
# OSW_USER='root'

Configure and start service 
# /sbin/chkconfig oswbb on
# /sbin/service oswbb start

Starting OSWatcher: //usr///libexec/oswbb-service/oswbb-helper: line 45: unexpected EOF while looking for matching `"'
                                                           [FAILED]
--> Change line in  //usr///libexec/oswbb-service/oswbb-helper from 
    >"${OSW_ARCHIVE}/heartbeat 2>&1 &
to 
    >"${OSW_ARCHIVE}"/heartbeat 2>&1 &

Now service startup should work
# /sbin/service oswbb start

2 thoughts on “OSWatcher – Installation and Usage”

  1. nice article, just i have a question, when i tried to run de OSwatcher on solaris, the next error is appearing:

    oswbb heartbeat:Tue Nov 24 11:13:14 CST 2015
    ld.so.1: expr: fatal: libgmp.so.3: open failed: No such file or directory
    ld.so.1: expr: fatal: libgmp.so.3: open failed: No such file or directory
    .
    .
    .

    do you know any about it ??

  2. Sorry I don’t have access to any Solaris box .
    libgmp seems to be GNU MP portable library written in C for arbitrary precision arithmetic

    Can you find libgmp.so on your system ?
    If yes does your LD_LIBRARY_PATH point to that directory ?
    Is this a Solaris 10 Sparc system ?

Leave a Reply

Your email address will not be published. Required fields are marked *