Tuesday, February 7, 2012

HP Data Protector new notification not triggered

If you've added a new notification in the Data Protector Reporting module, and it seems that your new notification never fires. You have to verify 2 things:


1) Don't forget to do a omnisv -stop / omnisv -start on the command prompt after adding a notifiation.

2) Check your global config file to make sure that the daily check isn't set to 'None'. You can find the global file in ..\omniback\config\server\options and then do a search for 'DailyCheckTime'. Default it runs at 12:30 (24 hour clock notation)


Wednesday, February 1, 2012

Visual Studio 2010 SP1 install hangs, VS2010-KB983509, Warning 1909.Could not create Shortcut

Last week I was upgrading the Visual Studio 2010 on multiple workstations to SP1. On one workstation the update kept running and running for more than an hour and got stuck on installing "VS2010-KB983509" . Cancelling and reapplying the update didn't help. After some googling I tried to remove and reinstall the Microsoft Visual C++ 2010 redist and runtime. This also didn't help. 


After doing some more research I found you can monitor the log file of the SP1 install in %TEMP% folder
look for a file with the following pattern  HFI*.tmp.html and a recent date.


In my case this log file kept growing and growing so I opened it and pretty soon it was obvious that the installer was stuck in a loop trying to create a .lnk file


This was the exact error: "Warning 1909.Could not create Shortcut Visual Studio Itanium Cross Tools Command Prompt (2010).lnk. Verify that the destination folder exists and that you can access it.  Are you sure you want to cancel?"


If you read this error you would expect to see a popup window asking to cancel the install but no popup was displayed. So by doing some more research I decided to look at the %comspec% environment variable. You can do this by running the set command in a cmd window or win + r and run sysdm.cpl and go to the advanced tab and click on the button "Environment Variables" 


The %comspec% variable should like %SystemRoot%\system32\cmd.exe but in my case, some previous installer left /blabla/blaa.bat after the cmd.exe part. So after changing the variable back to %SystemRoot%\system32\cmd.exe the SP1 installer finished his job in about 20 minutes 

HP Data Protector - omnisnmp - Cannot configure the SNMP service...

When trying to start omnisnmp on your HP Data Protector cell manager you may receive the following error:


"Cannot configure the SNMP service, it is not installed on the system. Install the SNMP service from the Control Panel's Network icon."






First of all, make sure the SNMP service is installed and running. But this is usually the case when you want to start omnisnmp :-)


The problem is that omnisnmp can't run when other HP Insight utilities are running, so open your services.msc and stop all HP Insight xxxxx agents which are running. 



After stopping the services execute the omnisnmp command again and it should run fine and don't forget to restart the services you stopped

Extra info from HP