OSWatcher BB does not automatically start after reboot on a linux machine

Hello
I configured the OSW on my 2 node RAC on linux.
When I start to startOSWbb.sh as the user oracle, it works ok.
I installed the osw-service - 0.0.6 - 1.noarch.rpm rpm to add it to the service of linux, and indeed, he created the etc/init.d/osw.
but after restarting the service of the OSW does not work. I see that everything has begun and has created a new folder to archive, a new vmstat.header, new vtop.tmp/tmp. but that's all.
It is not running and it do right files in archive folder / file.
also ps - ef | grep-i osw returns nothing
where can I find its newspapers (saw nothing to NS)

Thank you
Yaron



install oswatcher for RAC
============================

mkdir/users/oracle/osw Pei
CD/users/oracle/osw /.
mkdir lxodsdb1tst
mkdir lxodsdb2tst
CP oswbb511_512.tar/users/oracle/osw/lxodsdb1tst
tar - xvf oswbb511_512.tar
CD oswbb

lxodsdb1tst {oracle} / users/oracle/osw/lxodsdb1tst/oswbb > ls
analysis gif lock OSWatcherFM.sh oswib.sh oswsub.sh tarupfiles.sh vmstat.header xtop.sh src
docs headers mpsub.sh OSWatcher.sh oswnet.sh profile startOSWbb.sh tmp vmsub.sh
Exampleprivate.NET iosub.sh nfssub.sh oswbba.jar oswrds.sh pssub.sh stopOSWbb.sh topaix.sh vtop.sh


CP Exampleprivate.net private.net
chmod 775 private.net
VI private.net

######################################################################
# This file contains examples of how to monitor private networks. TO
# monitor your private networks create an executable file in the same
# directory named private.net. Use the example for your host below operating system.
# Make sure that you do not delete the last line in this file. Your file
# private.net MUST contain the line rm lock.file.
######################################################################
#Linux example
######################################################################
echo "zzz * '' date'.
Traceroute - r f lxodsdb2tst-priv
Traceroute - r f lxodsdb1tst-priv
######################################################################
# DO NOT DELETE THE NEXT LINE!
#
######################################################################
Locks/lock.file RM


./startOSWbb.sh


lxodsdb1tst {oracle} / users/oracle/osw/lxodsdb1tst/oswbb >./startOSWbb.sh
lxodsdb1tst {oracle} / users/oracle/osw/lxodsdb1tst/oswbb >
Info... You don't have a value for snapshotInterval.
Info... Using the default value = 30
Info... You don't have a value for archiveInterval.
Info... Using the default value = 48
Defining archive log directory to/users/oracle/osw/lxodsdb1tst/oswbb/archive

Test for the discovery of the utilities...
VMSTAT found on your system.
IOSTAT found on your system.
MPSTAT found on your system.
NETSTAT found on your system.
TOP found on your system.

Testing for the discovery of the OS CPU COUNT
OSWbb is looking for the NUMBER of CPUS on your system
NUMBER of CPUS will be used by oswbba to automatically search for cpu problems

NUMBER of CPU found on your system.
UC = 24

Discovery completed.






=================================================== on lxodsdb2tst =================================

lxodsdb2tst {oracle} / users/oracle/osw/lxodsdb2tst > tar - xvf oswbb511_512.tar
CD oswbb

lxodsdb2tst {oracle} / users/oracle/osw/lxodsdb2tst/oswbb > ls
analysis gif lock OSWatcherFM.sh oswib.sh oswsub.sh tarupfiles.sh vmstat.header xtop.sh src
docs headers mpsub.sh OSWatcher.sh oswnet.sh profile startOSWbb.sh tmp vmsub.sh
Exampleprivate.NET iosub.sh nfssub.sh oswbba.jar oswrds.sh pssub.sh stopOSWbb.sh topaix.sh vtop.sh



xodsdb2tst {oracle} / users/oracle/osw/lxodsdb2tst/oswbb >./startOSWbb.sh
lxodsdb2tst {oracle} / users/oracle/osw/lxodsdb2tst/oswbb >
Info... You don't have a value for snapshotInterval.
Info... Using the default value = 30
Info... You don't have a value for archiveInterval.
Info... Using the default value = 48
Defining archive log directory to/users/oracle/osw/lxodsdb2tst/oswbb/archive

Test for the discovery of the utilities...
VMSTAT found on your system.
IOSTAT found on your system.
MPSTAT found on your system.
NETSTAT found on your system.
TOP found on your system.

Testing for the discovery of the OS CPU COUNT
OSWbb is looking for the NUMBER of CPUS on your system
NUMBER of CPUS will be used by oswbba to automatically search for cpu problems

NUMBER of CPU found on your system.
UC = 24

Discovery completed.

From black box OSWatcher v5.1.1 Sun Nov 11 10:18:09 IST 2012
With SnapshotInterval = 30
With ArchiveInterval = 48

OSWatcher Black Box - written by Carl Davis, Centre of Expertise,
Oracle Corporation
For questions about installation and use, please go to MOS (Note: 301137.1()
If you need assistance or have any comments or improvements
queries, you can email me [email protected]


Data are stored in the directory: / users/oracle/osw/lxodsdb2tst/oswbb/archive

From the collection of data...




==========================================install osw rpm===========================================

quo
CD/users/oracle/osw /.

[root@lxodsdb1tst osw] # rpm - ihv osw-service - 0.0.6 - 1.noarch.rpm
Preparing... ########################################### [100%]
1:OSW - service # [100%]

VI/etc/sysconfig/osw

# Put OSWHOME in the directory where you have unpacked OSW or OSWbba
#OSWHOME = / opt/oswbb
OSWHOME = / users/oracle/osw/lxodsdb1tst/oswbb
# OSWINTERVAL set the number of seconds between collections
OSWINTERVAL = 30
# OSRETENTION set the number of hours logs must be kept
OSWRETENTION = 168
# Put OSUSER to the owner of the directory OSWHOME
OSWUSER = oracle




[root@lxodsdb1tst osw] # / sbin/chkconfig osw on
[root@lxodsdb1tst osw] # / sbin/service osw start

Here's what worked for me (I had the same problem):

I uninstalled the osw-service RPM.

I've added in /etc/rc.local the following command:

~Oracle/bin/oswbb CD & / bin/su oracle-c ' source ~oracle/.osw_profile & nohup./startOSWbb.sh 60 240 > / dev/null 2 > & 1 & ".

Where:

~Oracle/bin/oswbb is where I untarred archive oswbb520.tar

~Oracle/.osw_profile looks like this (it has the same content as the old/etc/sysconfig/osw):

# Put OSWHOME in the directory where you have unpacked OSW or OSWbba
OSWHOME = / home/oracle/bin/oswbb / ${HOSTNAME}
# OSWINTERVAL set the number of seconds between collections
OSWINTERVAL = 60
# OSRETENTION set the number of hours logs must be kept
OSWRETENTION = 240
# Put OSUSER to the owner of the directory OSWHOME
OSWUSER = oracle
# Set the correct destination folder
Export OSWBB_ARCHIVE_DEST = / home/oracle/log/oswbb / ${HOSTNAME}

Published by: user13134683 on November 24, 2012 10:01

Tags: Database

Similar Questions

  • ESXi 5 managing network not automatically start after reboot, or when the output of the mode standby

    vSphere 5.

    ESXi5.

    HI all 5 ESXi installed on HP BL460c G7. HP C7000 Enclouser system connected to the NAC (switch HP series A5800) via the Module HP FlexFabric 10 Gbs. The server has 6 vmcins:

    (1) management network - 2 NIC (1 GB per nic)

    (2) vMotion Network - 2 NIC (1 GB per nic)

    (3) Vitual Machine networks - 2 NIC (2 GB per nic)

    (4) zFCP - 2 network cards (6 GB per nic)

    After you restart or when the output of the mode standby, the management network starts does not automatically, you need to restart manually from the console directly. Hypervisor ISO downloaded directly from the vmware Download Center and all the recommended HP drivers downloaded and installed from HP Download Center.

    OK, another thing you could try is this change that HP recommended for my situation. The CLI performs: esxcfg-module - s "heap_max = 20971520" be2net

    and reboot. The memory default chunk size is not large enough and will change to this size in the next version of the driver.

    Also, have you tried yet 5.0 U1? There are a lot of bugs in U1.

  • Bluetooth does not automatically start after start

    Hello

    I have a SONY VAIO with built in Toshiba Bluetooth. My bluetooth in the taskbar icon no longer appears when Windows starts. That's happened? I always start the Bluetooth manually in Control Panel... Help, please. How can I activate Bluetooth on starting again? Thank you very much.

    I don't know how it works on Sony laptop computers, but on my Toshiba BT application automatically starts when the BT module is enabled. In any case, try to define as suggested by the creation of shortcuts.

  • Creative cloud does not automatically start more

    My creative cloud application does not automatically start more. It worked fine for a year and a half.
    But although the box in preferences to start automatically is checked that it does not automatically start more.
    It does not appear in the system tray I must maualy double click the CC (which i put my office op) to start.

    I also had a solution ad put a CC shortcut in the windows startup plan but he strangely disappears each time.

    After I dubble click on the strats of application up normally and everything works fine, so no problems with programs or the application of cc
    It was simply not possible box Autostart to highest upward. I use windows 8.1

    Unfortunately this did not help either. What I did then, I unchecked the box run at startup and put a shortcut in the Windows startup folder. Since then, (3 days ago), he continues to work. Hope it stays like that.

  • My usb ports and cd/dvd drive will be does not automatically start when everything is connected on the

    My usb ports and cd/dvd player will not automatically start when something is plugged on them have to start manually.

    Hello

    · Do you remember all the recent changes on the computer before the show?

    · What is the service pack installed?

    Follow method 2 in the link below and check if AutoPlay is enabled, a link: AutoRun feature or the AutoPlay feature does not work when you insert a CD-ROM into the CD drive: http://support.microsoft.com/kb/330135

    I suggest to fix the AutoPlay parameter by downloading the file below and check the results: AutoPlay Repair Wizard: http://www.microsoft.com/downloads/en/details.aspx?familyid=C680A7B6-E8FA-45C4-A171-1B389CFACDAD&displaylang=en

  • LL780 - Media does not automatically starting from tray 2

    I have a L7780 using Vista, XP and MAC OS. When Tray 1 is empty, the printer does not automatically draw/pull out tray 2. I get a condition "on paper." I have reset the printer to set up factory and have re-installed the latest drivers from the computer. This feature is published on page 40 of the operating manual. According to HP, this feature does not exist, however, I find that hard to believe since the manual stipulates that to this and I think at one time my printer did move to tray 2 when Tray 1 is empty. I use the LL780 in a network environment with multiple computers. The driver and the latest firmware is installed. I find the following link that deals with a "condition of paper output. I tried all the suggestions and it still does not work. I use plain white paper for all trays.

    http://support.HP.com/us-en/document/c00786157

    My first quesiton is, if somebody has got the LL7780 to automatically select tray 2 when Tray 1 is empty?

    Second, if so, it only worked when Tray 1 is empty at first or did the printer run out all the paper on tray 1 and then automatically move to tray 2.

    Thank you!

    HP released an update of firmware for this particular issue.

    Click here

  • Portege R30 does not SSD start after upgrade SSD and HDD

    Hello

    I have improved my Portege R30 - A to add a second SSD (Crucial M550) replace the optical with the new SSD drive with caddy.

    But now the system does not start automatically from the original SSD.

    I could press F12 while turning on my laptop and make it appear the start guide. Here I can see my original SSD and I can boot from it properly.

    In order to boot in the BIOS, I see only the HDD/SSD, USB, ODD memory... It doesn't gives me the possibility to choose between SSDS.

    In any case when I boot in this way than getting blue screens after awhile in win7.

    I tried to install a HARD drive as the second drive instead os SSD and her resut is the same.

    Is that what I can do to solve this, now I have to use the second drive as an external USB drive.

    Thank you

    Hello

    This ODD of SSD/HDD replacement is not always possible and in many cases, the BIOS will not handle and will not recognize the new HARD disk correctly.

    That I can remember some old laptops Toshiba Tecra and Portege that supported the functionality of Slim Select Bay were able to manage the 2nd HARD drive instead of driving WEIRD, but this was not possible due to the available selection slim Bay.

    In your case it looks like the laptop so that the BIOS does not support this function and, therefore, the additional SSD/HDD isn't recognised correctly.

  • RT VI does not source distribution after reboot

    Here is a strange...

    I have a very complex application.  It runs great development environment.  It also runs great as a Starter (no GUI) rtexe.  When I build a source distribution and deploy a path of RT controller...

    VI Server invoke the method shows NO errors but the VI does not seem to be running. If I open a project, right-click on the target and click 'Connect', suddenly the invoke begins to work.  I think there must be a way to configure the settings of VI for the RT controller sur-boot server, but I don't know how it's done, or why I would not get an error before selecting the connection in a project.  Any ideas?

    Thank you

    XL600


  • VMWare Server 2 does not automatically start on the Linux host

    Hello

    My problem:

    When I start my computer (Linux Suse 11 (64-bit), then VMWare Server is not running. So I have to open a terminal, get root, and then /etc/init.d/vmware start.

    I would like to have this done automatically.

    I have an entry in /etc/init.d/rc5.d/ called S19vmware, but it seems that it doesn't matter, and I can't find an entry in dmesg or var.

    I have a few entries in /etc/init.d/: vmware, vmware autostart, hearts vmware, vmware-mgmt, the link in /etc/init.d/rc5.d/S19vmware tip vmware_start to... /VMware is that correct?

    Any help appreciated.

    Thank you

    Dirk TheSheep

    I had the same problem on my openSUSE 10.3 x 64 host and found that setting RUN_PARALLEL "no" in/etc/sysconfig/boot ensured that vmware services launched at startup.

  • Page composed by email does not automatically close after hitting the Send button.

    Composed of mail window must be closed manually after sending.  This allows to close automatically.  Using Windows Vista Home Premium 32 bit.

    Thank you

    According to t-4-2, your antivirus software may interfere. See point 3 here: www.oehelp.com/OETips.aspx#3
     
    Steve
     
    "ldb55066" wrote in message News: 9674c63d-5a06-4375-b1a3-70aeffd27493...

    Composed of mail window must be closed manually after sending.  This allows to close automatically.  Using Windows Vista Home Premium 32 bit.

    Thank you

  • HP-15r205Tu: laptop does not completely start after a few seconds, there is white screen

    My new laptop after 1 month all of a sudden when I start it up it crashes after a few seconds and screen looks white black n empty... no keys of the keyboard have been Woking and... power button it freezes also as hell... den I remove the battery and den only judgments... what happens to my new pc

    Hey @priya_17,

    A system restore would return the laptop to an earlier time when things worked ok. An update can sometimes what you see. A hiccup in the system so to speak.

    So, if restore you it, it will cancel the hiccups.

    I hope this helps.

    Thank you.

  • Database service starts does not automatically

    I've set up a new service of database on a cluster of 3 nodes running 11.1.0.6 and I can start service manually without any problem, but if I bounce the database, the database service does not automatically start even if the database is running - what is the procedure to make sure that the service starts automatically with the database?

    Thank you

    short answer - service_name parameter. Longer answer as well as a very useful document is at http://www.ardentperf.com/pub/services-schneider07.pdf

    illustration

    SYS @ DB10G >SHOW PARAMETER SERVICE_NAMES
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    service_names                        string      db10g
    SYS @ DB10G >HOST LSNRCTL SERVICES
    
    LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 10-SEP-2008 13:41:18
    
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    Services Summary...
    Service "db10g" has 1 instance(s).
      Instance "db10g", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "db10gXDB" has 1 instance(s).
      Instance "db10g", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER 
             (ADDRESS=(PROTOCOL=tcp)(HOST=XXXX)(PORT=4370))
    Service "db10g_XPT" has 1 instance(s).
      Instance "db10g", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    The command completed successfully
    
    SYS @ DB10G >ALTER SYSTEM SET SERVICE_NAMES=DB10G,MY_SERVICE
      2  ;
    
    System altered.
    
    SYS @ DB10G >ALTER SYSTEM REGISTER
      2  ;
    
    System altered.
    
    SYS @ DB10G >HOST LSNRCTL SERVICES
    
    LSNRCTL for 32-bit Windows: Version 11.1.0.6.0 - Production on 10-SEP-2008 13:41:48
    
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    Services Summary...
    Service "MY_SERVICE" has 1 instance(s).
      Instance "db10g", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "db10g" has 1 instance(s).
      Instance "db10g", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service "db10gXDB" has 1 instance(s).
      Instance "db10g", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1002 state:ready
             DISPATCHER 
             (ADDRESS=(PROTOCOL=tcp)(HOST=XXXX)(PORT=4370))
    Service "db10g_XPT" has 1 instance(s).
      Instance "db10g", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    The command completed successfully
    
    SYS @ DB10G >
    

    Niall Litchfield
    http://www.orawin.info/

    Published by: Niall Litchfield Sep 10, 2008 12:42 TO REMOVE the server name.

  • After upgrade to El Capitan Time Machine does not automatically

    Recently, I upgraded my Macbook Pro and iMac 24 to El Capitan.  Time Machine does not automatically work on the iMac.   I now use the backup to get a backup to run.  MacBook Pro is very well.

    Thinking that this might be the associated time Capsule, I removed the disc from the Capsule and ran Spinrite on it.  Car is very good.  Then I deleted all the files on the Time Capsule and created new Time machine backups on two computers.  No problem, except the iMac not run automatically Time machine.

    And yes the selection for Time Machine is configured to run automatically.

    A bug in OS X 10.11.1 prevents automatic backups that happens when a desktop Mac (iMac, Mac mini or Mac Pro) is connected to a UPS (UPS) with the USB feature.

    Please, back up all data before proceeding.

    First, check the App Store for a later update to OS X. If it is available when you read this review, install it and see if the problem is resolved. I speak not beta versions.

    Otherwise, you can work around the bug as follows.

    These must be run as administrator. If you have only one user account, you are the administrator.

    Please triple - click anywhere in the line below on this page to select:

    sudo defaults write /Library/Preferences/com.apple.TimeMachine RequiresACPower 0

    Copy the selected text in the Clipboard by pressing Control-C key combination.

    Launch the Terminal application integrated in one of the following ways:

    ☞ Enter the first letters of his name in a Spotlight search. Select from the results (it should be at the top).

    ☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    Paste in the Terminal window by pressing the command-V key combination. I tested these instructions only with the Safari browser. If you use another browser, you may need to press the return key after pasting. You will be asked for your login password. Nothing displayed when you type. Type carefully, and then press return. If you do not have a password, you will need to configure one before you can run the command. You can get a warning to be careful. Confirm. You don't need to display the warning.

    If you see a message that your user name "is not in the sudoers file", then you have not logged as an administrator. Log in as one and start over.

    Wait for a new line ending with a dollar sign ($) below what you entered. You can then quit Terminal.

    Restart the computer and test.

    (Credit for this solution for chrfr of logicielmac.com).

  • information store service Exchange starts does not automatically

    information store service Exchange starts does not automatically

    Post in the Forums of Exchange Server:
    http://social.technet.Microsoft.com/forums/Exchange/en-us/home?category=exchangeserve

  • MS Money 2005 - I rebooted the software, but it does not automatically download the update needed to read my existing data files

    Due to a hard drive crash, I had to reformat my hard drive,
    therefore lost my copy previous update of MS Money.
    I reloaded the software from the CD, but it does not automatically download the update needed to read my existing data files.
    Can someone help me read my old data files?

    Microsoft or anyone have made available as a patch to download?

    Hi Derek,.

    Since the problem is related to Microsoft Money, I suggest you post your question on the Forums of money from Microsoft.

    Microsoft Money Forum

Maybe you are looking for

  • MainStage 3.2.3 hangs after reclassification of the 3.2.2

    I learned Mainstage and have implemented several concerts...  Everything was cool with 3.2.2 and the latest OS update 10.11.2.  Then I upgraded to 10.11.3 and Mainstage 3.2.3 and Mainstage crashes when loading... (attempts to load the concert).  Man,

  • How to send data then other more via tcp

    Well guys, I am having some problems with it I have a program to labview that record and show for me in a chart, the voltages and currents now, I want to do a software... that I can follow the datas of my company... so I do a server/client via tcp an

  • 8E5E0147 error code appears whenever I try to load updates

    There are 4, apparently important microsoft updates which I can't load error repeated, code 8E5E0147. How can this be overcome?

  • I want to find my product key for my lenovo r61

    I want to find my product key for my lenovo r61

  • WRT610N - PLEASE HELP!

    I run 5 PCs on my LAN, 2 workstations & 3 laptops. For tech purposes to desktops 2 'D1 and D2' name, and we'll call 3 computers laptops "L1, L2 and L3. L1 being. than I'll have network problems. I also have an external hard drive connected to the USB