Monitor based on PowerShell occasionally show ExitCode -1 when Launch a Process

good dat every one.
I have encounter some problem.
i need to monitor status of a programm (HP OM Agent). i write a ps script wich launch a process ovc.exe, then i parse output.
in ISE all is ok. bhut when i use this script in monitor(s) i occasionally got ExitCode -1 (but monitored program is fine).
here is my code
## <![CDATA[
# functions chapter
function KillChildProcs {
$CProcId = ([System.Diagnostics.Process]::GetCurrentProcess()).Id
$ChProcs = Get-WmiObject -Class Win32_Process -Filter "ParentProcessID=$CProcId"
if ($ChProcs){
foreach ($ChProc in $ChProcs ){
"Child Process PID is " + $ChProc.ProcessId + " and its name is " + $ChProc.path
"Killing this proc"
kill $ChProc.ProcessId -Force
}else {
"No child process"
# init SCOM vars
$Result = 0
$Description = $null
$msgaError = $null
$agtPath = $null
$strLBinDir=$null
$ProcessInfo=$null
$Process=$null
$msgaSts=$null
$api=$null
$bag=$null
$api = New-Object -comObject 'MOM.ScriptAPI'
$api.LogScriptEvent('ChkOMAgtBuffState.ps1', 47, 4, "chk OMAgtBuff started")
# run opcmsga.exe - status and check it output
try{
# getting agent path
try{
$agtPath = (Get-Item 'Registry::HKLM\SOFTWARE\Hewlett-Packard\HP OpenView').GetValue('InstallDir')
}catch{
$ErrorMessage = $_.Exception.Message
$FailedItem = $_.Exception.ItemName
$api.LogScriptEvent('chkOMAgt.ps1',48,4,"Cant get HP Agent Path from regestry, fallback to default "+$ErrorMessage)
$Description = $Description + "ERROR getting Agent Path from Regestry : "+$ErrorMessage + "`r`n"
}finally{
if (!$agtPath){ $agtPath = "DefPath"}
#try to launch opcmsga.exe
try{
$strLBinDir = $agtPath + "lbin\eaagt"
$ProcessInfo = New-Object System.Diagnostics.ProcessStartInfo
$ProcessInfo.FileName = $strLBinDir + "\opcmsga.exe"
$ProcessInfo.RedirectStandardError = $true
$ProcessInfo.RedirectStandardOutput = $true
$ProcessInfo.UseShellExecute = $false
$ProcessInfo.Arguments = "-status"
$Process = New-Object System.Diagnostics.Process
$Process.StartInfo = $ProcessInfo
$Process.Start() | Out-Null
if ($Process.WaitForExit(12000)){
"ExitCode = " + $Process.ExitCode
if ($Process.ExitCode -eq 0){
$msgaSts = $Process.StandardOutput.ReadToEnd()
if ($msgaSts -like '*Message Agent is not buffering*'){
$Result=0
$Description = $Description +$msgaSts +"`r`n"
}else{
$Result=1
$Description = $Description + $msgaSts +"`r`n"
}else{
$Result=1
$Description = $Description + "ERROR : opcmsga.exe return error Exit Code is "+$Process.ExitCode+ "Error Output is " + $Process.StandardError.ReadToEnd() + "`r`n"
} else{
$Result=1
$Description = $Description + "ERROR : opcmsga.exe Timeout" + $Process.StandardError.ReadToEnd() + "`r`n"
$Process.close()
}catch{
$ErrorMessage = $_.Exception.Message
$FailedItem = $_.Exception.ItemName
$Result=1
$Description = $Description + "ERROR launching opcmsga.exe " + $ErrorMessage + "`r`n"
}finally{
$api.LogScriptEvent('ChkOMAgtBuffState.ps1', 47, 4, "COM object created")
$bag = $api.CreatePropertyBag()
$api.LogScriptEvent('ChkOMAgtBuffState.ps1', 47, 4, "Bag created")
$bag.addvalue("Result", $Result)
$bag.addvalue("Description", $Description)
$api.LogScriptEvent('ChkOMAgtBuffState.ps1', 47, 4, "Bag set " + $bag)
$bag
}catch{
}finally{
$Result
$Description
#clearing Varibles
KillChildProcs
Remove-variable Result
Remove-variable Description
Remove-variable msgaError
Remove-variable agtPath
Remove-variable strLBinDir
Remove-variable ProcessInfo
Remove-variable Process
Remove-variable msgaSts
Remove-variable api
Remove-variable bag
## ]]>
and another one
##<![CDATA[
#function declaration
function KillChildProcs {
$CProcId = ([System.Diagnostics.Process]::GetCurrentProcess()).Id
$ChProcs = Get-WmiObject -Class Win32_Process -Filter "ParentProcessID=$CProcId"
if ($ChProcs){
foreach ($ChProc in $ChProcs ){
"Child Process PID is " + $ChProc.ProcessId + " and its name is " + $ChProc.path
"Killing this proc"
kill $ChProc.ProcessId -Force
}else {
"No child process"
$Process=$null
$matches=$null
$bag=$null
$Description=$null
$regexp = "(?<Process>^\w+)(?:\s+)(?<Description>(?:\w+)(?:(?:\s\w+){1,}))(?:\s+)(?<Type>\w\S+)(?:\s+)(?<PID>\S+)(?:\s+)(?<Status>\w+$)"
$ErrorMessage=$null
$FailedItem=$null
$agtPath =$null
$isRegexped=$null
$ovcError=$null
$api = New-Object -comObject 'MOM.ScriptAPI'
$api.LogScriptEvent('chkOMAgt.ps1',48,4,"Script Started")
try{
$agtPath = (Get-Item 'Registry::HKLM\SOFTWARE\Hewlett-Packard\HP OpenView').GetValue('InstallDir')
}catch{
$ErrorMessage = $_.Exception.Message
$FailedItem = $_.Exception.ItemName
$api.LogScriptEvent('chkOMAgt.ps1',48,4,"Cant get HP Agent Path from regestry, fallback to default "+$ErrorMessage)
$Description = $Description + "ERROR getting Agent Path from Regestry : "+$ErrorMessage + "`r`n"
$agtPath = "DefPath"
$ProcessInfo = New-Object System.Diagnostics.ProcessStartInfo
$ProcessInfo.FileName = "ovc.exe"
$ProcessInfo.RedirectStandardError = $true
$ProcessInfo.RedirectStandardOutput = $true
$ProcessInfo.StandardOutputEncoding=[System.Text.Encoding]::GetEncoding("windows-1252")
$ProcessInfo.UseShellExecute = $false
$ProcessInfo.Arguments = "-status"
$Process = New-Object System.Diagnostics.Process
$Process.StartInfo = $ProcessInfo
# Creating string builders to store stdout and stderr.
$StdOutBuilder = New-Object System.Text.StringBuilder
$StdErrBuilder = New-Object System.Text.StringBuilder
# Adding event handers for stdout and stderr.
$action = {
if (! [String]::IsNullOrEmpty($EventArgs.Data)) {
$Event.MessageData.AppendLine($EventArgs.Data)
#declare stdErr and stdOut Events
$StdOutEvent = Register-ObjectEvent -InputObject $Process -Action $action -EventName 'OutputDataReceived' -MessageData $StdOutBuilder
$StdErrEvent = Register-ObjectEvent -InputObject $Process -Action $action -EventName 'ErrorDataReceived' -MessageData $StdErrBuilder
try{
$Process.Start() | Out-Null
$api.LogScriptEvent('chkOMAgt.ps1',48,4,"ovc started ")
$Process.BeginOutputReadLine()
$Process.BeginErrorReadLine()
$Process.WaitForExit()
# Removing and unregistering events to retieve process output.
Remove-Event -SourceIdentifier $StdOutEvent.Name -EA SilentlyContinue
Remove-Event -SourceIdentifier $StdErrEvent.Name -EA SilentlyContinue
Unregister-Event -SourceIdentifier $StdOutEvent.Name
Unregister-Event -SourceIdentifier $StdErrEvent.Name
$api.LogScriptEvent('chkOMAgt.ps1',48,4,"StdOut is " +$StdOutBuilder.ToString())
$api.LogScriptEvent('chkOMAgt.ps1',48,4,"ErrOut " +$StdErrBuilde.ToString())
$api.LogScriptEvent('chkOMAgt.ps1',48,4,"ExitCode is " +$Process.ExitCode)
$StdOut = $StdOutBuilder.ToString().split("`r`n");
$StdErr = $StdErrBuilder.ToString().split("`r`n");
$ExitCode = $Process.ExitCode
if($ExitCode -eq 0){
foreach ($ab in $StdOut){
$isRegexped = $ab -match $regexp
if($isRegexped){
$api.LogScriptEvent('chkOMAgt.ps1',48,4,"got output line" +$line)
if ($matches['Status'] -ne "Running") {$Result=1}
$Description = $Description + $matches['Process']+"`t"+$matches['Status'] + "`r`n"
$matches=$null
}else{
$api.LogScriptEvent('chkOMAgt.ps1',88,4,"ExitCode is" +$ExitCode)
$api.LogScriptEvent('chkOMAgt.ps1',88,4,"StdOut is" +$StdOut)
$Description = $Description + 'ovc exited with errors'+ "`r`n" + $StdErr
$api.LogScriptEvent('chkOMAgt.ps1',48,4,"ovc exited with errors")
$Result=1
}catch{
$ErrorMessage = $_.Exception.Message
$FailedItem = $_.Exception.ItemName
$Result=1
$Description = $Description + "ERROR parsing ovc.exe " + $ErrorMessage + "`r`n"
$Process.close()
if ($Result -ne 1){$Result=0}
$Description
$Result
$bag = $api.CreatePropertyBag()
$bag.addvalue("Result" , $Result)
$bag.addvalue("Description" , $Description)
$bag
$api.LogScriptEvent('chkOMAgt.ps1',48,4,"Script Finished `r`nResult ="+$Result+"`r`nDescription is `r`n"+$Description)
#"cleaning child process and remove varibles"
KillChildProcs
Remove-Variable regexp
Remove-Variable Result
Remove-Variable Description
Remove-Variable ovcError
Remove-Variable isRegexped
Remove-Variable ProcessInfo
Remove-Variable Process
Remove-Variable matches
Remove-Variable bag
## ]]>

I have no data in stdOut nor in ErrOut.
when i simulate error i got ExitCode greater than 0 and error description
but in real life some times script work fine and ovc put in stdout some data but sometime inside the  monitor this script throw ExitCode -1 and no output at all.
in that time i call ovc in RDP session and it was work ok. 
i tried to change $ProcessInfo.FileName
=
"ovc.exe" to
cmd /c ovc.exe but all in vain

Similar Messages

  • Itunes shows Error code when launching

    "iTunes has encountered a problem and needs to close. We are sorry for the inconvenience."
    Every time I try to launch Itunes I get the window displaying the message above. When I try launching quicktime, nothing happens (No error message and nothing launches). I have tried unistalling and reinstalling both Itunes and quicktime together and separately and still have made no progress. Any ideas?
    -Thanks
    XP   Windows XP  

    Every time I try to launch Itunes I get the window displaying the message above. When I try launching quicktime, nothing happens (No error message and nothing launches).
    doublechecking a couple of additional things.
    try launching your QuickTime Control Panel. does it launch, or do you get an error message? if you get an error message, what does it say?
    can you uninstall QuickTime from your Add/Remove programs at the moment? or does the install give you a "fatal error" message?

  • How to create monitor based on the data collected by rule?

    I have an application which comes with a built-in command: GetBackLogNm.exe. Running this command can get the current backlog number in the system.
    Now I need to create a monitor which should trigger the alert if the backlog keeps increasing for 2 hours. I am thinking of creating a rule which run command GetBackLogNm.exe to get the number and save it into DW. Then create a monitor based on the collected
    data. Is it the correct way? If so, can anyone give me a outline how to do so? An example would be much appreciated if possible.
    Thanks!

    Hi Jonathan, thanks for the quick reply. But System.ConsolidatorCondition seems only available for SCOM 2012. I didn't find it in 2007 libraries.
    However the idea your and Vladimir showed in this
    post is really helping. I kind of solved the issue not using the exactly the components (since it is available in 2012 only) but following the same logic.
    In general I did this:
    1. create a script rule which execute the command to get backlog number; then save the log number in the DW and the registry.
    2. just like System.Performance.DeltaValueCondition, when the second time the rule triggered by schedule, it will compare the current backlog number and the last known number stored in the registry. If the value is exceeding given threshold AND bigger than
    the last known back log number, the rule increase an counter which is also stored in the registry
    3. create an unit monitor to monitor the counter stored in the registry and will trigger the alert if the counter exceeding a given value.
    This solved the issue. But I feel a little not comfortable to store data in the registry.
    So one quick question which might be out of the this topic: what is a good way to store the data generated by one workflow and then share it with another workflow or reuse sometime later? In my case here, I used the registry key. Cook down is one option
    to share data but it is very strict and can't solve the issue I have in this case.
    Thanks again!

  • Can we create a monitor based on an existing rule in SCOM?

    We see the built-in rule "Collect Buffer cache hit ratio" under "SQL 2008 DB Engine". And it is apparatently a collect type of rules and by default it doesn't generate any alert if the buffer cache hit ratio is lower than our threshold. Is there any way we can create a custom monitor based on this built-in rules so we can get alerts for the low ratio?

    Sure, you should be able to author a monitor that looks at this performance counter (assuming it's a performance counter in SQL) and generate an alert if it's above a particular threshold. Essentially the new monitor would look at the counter independently
    from the rule that's there already....
    This does not answer the question if the Collection rule is not based on a Perfmon counter.  One such example is Total messages in queue for the Microsoft Message Queuing management packs.  What I would like to do is set a static threshold based on
    the data already collected by the "Collect Total Messages in All Queues" rule.  This rule is based on a script, not a perf mon counter.
    Is there a way to monitor the data that has already been collected with a static threshold, without building a separate collection rule and monitor?
    dsloyer

  • Hello, I just bought a 2013 Mac mini and I cannot get the sound to output to my Dell U2713HM monitor.  I went to sound output but even though my Dell shows up there when I select it there is no sound output to it.  I am using a mini DP to DP cable...

    Hello, I just bought a 2013 Mac mini and I cannot get the sound to output to my Dell U2713HM monitor.  I went to sound output but even though my Dell shows up there when I select it there is no sound output to it.  I am using a mini DP to DP cable...Any ideas? Thanks

    Hi Alxx911, and John Hammer1. After reading John's reply - " You can plug something into it's headphone jack. though" . I thought i'd try out of curiosity. I plugged in some headphones. I didn't expect anything to happen  and nothing happened. The audio jack is for the Dell soundbar which is optional.
    Here's a direct copy and paste from the users manual: Section About Your Monitor.
    Attaching the Soundbar AX510 / AX510PA (Optional) CAUTION: Do not use with any device other than the Dell Soundbar. NOTE: The Soundbar power connector (+12 V DC output) is for the optional Dell Soundbar AX510/AX510PAonly. To attach the Soundbar: 1. Working from the back of the monitor, attach the Soundbar by aligning the two slots with the two tabs along the bottom of the monitor. 2. Slide the Soundbar to the left until it snaps into place. 3.  Connectthe Soundbar with the DC power connector. 4. Insert the mini stereo plug from the back of the Soundbar into the computerís audio output jack. For HDMI/DP, you can insert the mini stereo plug into the monitorís audio output port.  If there is no sound, check your PC if the Audio output is configured to HDMI/DP output.
    This monitor has no speakers. (Like John Hammer1 mentioned). The no speakers feature was one of the reasons I chose this monitor.
    Good Luck !

  • Event monitor cannot find PowerShell generated events

    I have a basic event monitor that only looks for an event ID and source. The event I am monitoring is generated via Powershell from a remote system rather than being locally created. I'm not sure if that matters, but it sure seems like it.
    If I change the event expression in the monitor to look for other events it will generate alerts, it just cant see my PS events. I've tried changing the ID number, the source, using different params, etc... I'm convinced that this is due to the event creation
    process and PS must be creating the event in a different manner than SCOM is looking for. Maybe its a bug where SCOM just ignores events created by proxy.
    I found this: http://www.systemcentercentral.com/monitoring-events-written-from-a-remote-server-with-scom/
    But that is for Rules. I still tried adding <AllowProxying>false</AllowProxying> to the XML of the MP...SCOM didn't like
    it.
    Has anyone ran into this before?
    We are using SCOM 2012R2 fully updated. 
    - Slow is smooth and smooth is fast.

    I guess I should have been more specific. I am using PowerShell to create an event, it isnt an actual PowerShell event.
    write-eventlog -computername Server -logname Application -source Orchestrator -eventID 1 -message "This is an example of the events created with PS that SCOM cannot detect."
    Maybe I should explain what I'm doing. I have an Orchestrator runbook that does stuff with things. If one of the runbook activities fails, it will send an event to the machine it was trying to run the activity on. SCOM is monitoring for that PowerShell generated
    event stating that the runbook failed. 
    - Slow is smooth and smooth is fast.
    I think you haven't native source "Orchestrator" in PoSh log.
    Vladimir Zelenov | http://systemcenter4all.wordpress.com
    I run a New-EventLog command first to create the Orchestrator source. Otherwise the Write-EventLog command would fail if the source wasn't there. I can see the event there in the logs.
    - Slow is smooth and smooth is fast.

  • TS3276 i have a macbook pro and need to send a password protected document to a pc based computer and it shows up at the other end as corrupted and they can't open it- any suggestions on how to make it work?

    i have a macbook pro and need to send a password protected document to a pc based computer and it shows up at the other end as corrupted and they can't open it- any suggestions on how to make it work?

    It was tricky sorting out the actual questions in your post. I think the other poster has one question in hand, here's the other:
    Post by Turingtest2: HowTo: Grouping Tracks Into Albums - http://discussions.apple.com/message.jspa?messageID=9910895

  • My iPod has been connecting to the Wifi connection at home oddly. It ran on and off, so I decided to restore it and see if it would fix. Instead, it stopped working altogether. It shows the bars when I find my connection, but never connects. Help?

    A message pops up saying no connection was found when boot up any internet-based app. It shows the bars and everything. We have laptops and iPhones at home as well, and they're running the web fine. (Well, one laptop is perfectly fine; the others are not, but that's to be figured out.)
    I have tried:
    *rebooting the iPod
    *restoring it (I've done it twice; once using a backup of the previous backup, and the other completely new)
    *turning the wifi on and off
    *doing the "forget this network"
    *clearing history/everything then rebooting
    I've pretty much done all I can. I have an appointment in two days, but I'm trying to find an answer. My iPod is no longer in warrenty (it's merely of how long I've had it, I never jailbroke) and I believe it costs to get a new one. I don't have the money to purchase a replacement, and I'm sure my parents wouldn't be pleased. My iPod is about a year and a half old. I used it very frequently, and would charge it every night. I used the Wifi all the time.
    At a recent Apple visit, the associate told me my iPod had a corrupted software and to restore. I did restore, but mentioned above: I did it when my Wifi was being odd and then backed up to a previous saved backup of the iPod. The next night, I completely restored it and made a new "iPod profile" thing instead of going for a backup file.
    Any ideas?

    If i understand what you are saying then you are seeing the WiFi indicator after connecting but Apps are saying that they are not connected to the internet?
    Your router may not have given your iPod a valid IP address. Go to Settings > Wifi > your network name and touch the ">" to the right to see the network details. If the IP address starts with 169 or is blank then your router didn't provide an IP address and you won't be able to access the Internet.
    Sometimes the fix can be to restart your router (remove power for 30 seconds and restart). Next, reset network settings on your iPod (Settings > General > Reset > Reset network settings) and then attempt to connect. In other cases it might be necessary to update the router's firmware with the latest from the manufacturer's support web pages.
    If you need more help please give more details on your network, i.e., your router make, model and version, the wifi security being used (WEP, WPA, WPA2), etc.

  • My macbook pro shows blank screen when I started..help me..

    My macbook pro shows blank screen when I started . (It's like in same state when power off. ) fan sound and hard disk is running. So i connected it Through external monitor via mini display to VGA cable. I can see everything on external monitor. My display of Mac needs to change? How much it cost ?? I found so many forum discussion said that if nvedia card is faulty then its happen...let me know suggestions...I given it to apple care service station n they r telling yr display needs to change its cost me a lot.. I can't afford. And can't spend that much for 3 yr old version as new versions of macbook pro is cost vice reasonable.. can I have any suggestion?

    If running 10.7 or later hold down Command-R at Startup.
    This should invoke recovery Mode.
    Choose Disk Utility.
    Select your Hard drive. Inspect the SMART Status in the lower right of the window for "Verified".
    Select the Mac OS X Volume (originally Macintosh HD) click (Repair Disk)
    If errors, run again until it comes clean or gets stuck.
    Report any error messages.

  • Display prefs showing extra display when none are connected

    I have a MacBook Pro and when I go to the display preferences it shows another display when no monitor is connected. I have searched the web extensively for a fix and haven't found anyone with the same problem. I'd prefer to just delete some obscure system file within OS X rather than reinstalling the whole OS just to fix the problem.
    Anyone know of an easy way to get rid of the mysterious extra display?
    Thanks,
    Adam

    I've just been reading this in the hope that my problem will be solved but realised that my problem is similar almost in reverse!
    I have a Pioneer tv which I connected to my MBP several months ago using the MPB>mini DVI>DVI>HDMI cable route ... and all worked fine.
    Today, when I connect the same items no luck. The only thing that happens is a brief flash of solid blue screen on MBP. I've tried all the resolution change tricks etc and no luck ... but here is the weird bit:
    Even though I cannot get it to work, my MBP always shows "Gather Displays" as an option ... even when no display/cable connected ... if you click the ? button it suggests this button should only be available when more than one display is connected. Clicking it (or Detect Displays) does nothing.
    So, my MBP seems convinced I have another display connected but won't let me see or use it. I don't even have the Arrangement tabs etc.
    Any ideas?
    Thanks in advance for any ideas!!

  • Dont show dim value when measure is zero

     When I'm connected to my cube via Xcel2007 to a SSAS2008R2 cube do dimensions(partnbr) show Measure(ShipLbs) when they have a
    0 value. Yet that same scenario connecting to the same cube but version SSAS2005 it suppresses (doesn't show partnbr) that has a 0
    for Shiplbs.
     Thanks. 

    Hi hart60,
    According to your description, you change a SSAS 2008 R2 cube into 2005, it returns different results based on condition. Right?
    Since SSAS is only backward compatible, when load a SSAS 2008 R2 cube in SSAS 2005, it might have some unexpected issue happen. In this scenario, I suggest you re-build the cube in SSAS 2005. Also if you have some CASE Statement for achieving
    the visible of partnbr, it might have some wrong calculation when using searched case expression. See:
    wrong calculation of measure when the value
    is zero
    If you have any question, please feel free to ask.
    Simon Hou
    TechNet Community Support

  • Retina Mac shows gray screen when waking up: what to do besides loosing work?

    (see also http://apple.stackexchange.com/questions/96188/retina-mac-shows-gray-screen-when -waking-up )
    This is the first time that my Retina MacBook Pro wakes up from sleep with a gray screen. After about 10-20 seconds, the MacBook falls asleep again.
    Some points that might be relevant:
    The only difference between power adapter and no power adapter is that with power adapter it does not go to sleep again.
    The battery is almost full (I closed the lid last night when it was about 90%)
    An external monitor was not attached when sleeping it, so I don't think How to fix a Macbook that does not always draw its internal screen after waking from sleep and having unplugged external display while asleep? applies.
    I've run gfxCardStatus, almost always in "force integrated mode" (to conserve battery). And normally it wakes up correctly.
    I run VMware Fusion 4.
    All software is up-to-date and fully patched.
    I tried to plugin an HDMI monitor and switch displays with Command-Fn-F1 and Command-Fn-F2, but that did not help (it would not switch displays).Before trying to:
    reboot (by force a power off),
    reset SMC
    and/or reset PRAM/NVRAM
    What options do I have that do not loose my work?
    sleep-wake retina-macbook-pro battery

    Those keys do not reinstall OS X. To do that:
    Reinstall Lion, Mountain Lion, or Mavericks without erasing drive
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu.
    Reinstall Mountain Lion or Mavericks
    OS X Mavericks- Reinstall OS X
    OS X Mountain Lion- Reinstall OS X
    OS X Lion- Reinstall Mac OS X
         Note: You will need an active Internet connection. I suggest using Ethernet
                     if possible because it is three times faster than wireless.
    COMMAND-OPTION-P-R keys resets the PRAM. OS X keyboard shortcuts.

  • My itunes will not open at all. it occasionally will open but when i plug my iphone into it the program freezes and crashes. please help as soon as possible

    my itunes will not open at all. it occasionally will open but when i plug my iphone into it the program freezes and crashes. please help as soon as possible

    i think i might have a solution... i have windows vista and after i installed to latest itunes update everytime i tried to open it it would freeze. I tried everything, including uninstalling itunes and all of its components and reinstalled it numerous times. So i went to the itunes folder in my folders, not on itunes, and i deleted my itunes library and playlists. After that it worked just fine, all of my music was deleted but luckily i had my files saved elsewhere.
    I hope this helped! I know its frustrating and APPLE/ITUNES NEED TO FIX THE PROBLEM!!!!

  • How do I get Firefox to display the information bar when a pop up is blocked I accidentally clicked on "Don't show this message when pop-ups are blocked" when a pop up was blocked. How do I get this message to reappear again when a pop up is blocked?

    I just updated Firefox but can't get it to display the message when a pop-up is blocked. Most times I want them blocked but sometimes I need them enabled.

    You can see a pop-up block icon in the right corner of the Status Bar if you have chosen to hide the information bar at the top.
    You can left-click that pop-up block icon on the Status Bar and remove the check mark from "Don't show info message when pop-ups are blocked"
    You can look at these prefs on the '''about:config''' page and reset them via the right-click context menu:
    Status bar icon: browser.popups.showPopupBlocker
    Info bar at the top: privacy.popups.showBrowserMessage
    To open the ''about:config'' page, type '''about:config''' in the location (address) bar and press the Enter key, just like you type the url of a website to open a website.
    If you see a warning then you can confirm that you want to access that page.

  • Why do Apps on my iPhone show updates but when I check there are no updates?

    Why do Apps on my iPhone show updates but when I check there are no updates?
    I check my Apps on my MacBook and it says there is 1 update but when I check that there are none.
    Then I sync my iPhone with my MacBook and my iPhone says there are 7 updates for my Apps.
    This is very confusing.  I wish someone could fix this and make it simple and accurate to use.

    Sometimes the update notification comes on but updates themselves do not appear if the iOS is not appropriate for the update.  For example, I have an original iPad, thus limited to iOS 5.1.1, but an app I use has an update that requires iOS 6.1.3.  So I have a consistent update notification but cannot get the update.  So, check your iOS and see if it is up to date.

Maybe you are looking for

  • After upgrade mail won't work or open at all

    Mail starts to open and says it is upgrading, then stops and fails. i need help quick. Please! Thanks ELLEN Rochester, NY MacbookPro (2009) 17" iOS YOSEMITE: 10.10.3 iphone 6+  iOS 8.3 ipad2 (os 8.1) AppleTV shuffle ipod

  • Storage location list during Confirmation

    Hi! I discovered during confirmation of the goods in SRM (SRM 4, extended classic) that when I choose to list the storage location for selection, although only the relevant storage locations are listed, there are gaps in between the storage locations

  • Reinstall of cs6 gives error report

    here's my machine : when I installed cs6 the first time Premiere didn't have all the sequence presets so i was uninstalling and reinstalling - same thing happened when i got cs5.5.  after uninstall and trying to reinstall i get this message: if I cli

  • Images shrunk in crystal 8.5

    Has anyone experienced an issue where images such as a bmp appear shrunk when displayed in a report, even though the bmp looks fine when opened with another application? The file name of the bmp is also displayed in the report. Edited by: McKRussell

  • 2nd CPU not recognized on Compaq Proliant 1500

    I have x86/2.6 running on a dual CPU Compaq Proliant 1500, but it's not recognizing the 2nd CPU. (verified with mpstat) Does anyone know how to convince x86 to initialize the 2nd CPU? Thanks in advance! David