MBA Verbose Error

I am getting a random error during boot in verbose mode and am unsure if it's normal. Please could someone give me some advice?
Boot log from terminal (sudo dmesg | more):
[quote]
Last login: Wed Apr 15 14:24:14 on ttys000
Kyle-MacBook:~ kyle$ sudo dmesg | more
Longterm timer threshold: 1000 ms
PMAP: PCID enabled
PMAP: Supervisor Mode Execute Protection enabled
Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64
vm_page_bootstrap: 869190 free pages and 171194 wired pages
kext submap [0xffffff7f80a00000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff8000a00000]
zone leak detection enabled
"vm_compressor_mode" is 4
multiq scheduler config: deep-drain 0, urgent first 1, depth limit 4, band limit 127, sanity check 0
standard timeslicing quantum is 10000 us
standard background quantum is 2500 us
mig_table_max_displ = 13
TSC Deadline Timer supported and enabled
AppleACPICPU: ProcessorId=1 LocalApicId=0 Enabled
AppleACPICPU: ProcessorId=2 LocalApicId=2 Enabled
AppleACPICPU: ProcessorId=3 LocalApicId=1 Enabled
AppleACPICPU: ProcessorId=4 LocalApicId=3 Enabled
AppleACPICPU: ProcessorId=5 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=6 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=7 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=8 LocalApicId=255 Disabled
calling mpo_policy_init for TMSafetyNet
Security policy loaded: Safety net for Time Machine (TMSafetyNet)
calling mpo_policy_init for AMFI
Security policy loaded: Apple Mobile File Integrity (AMFI)
calling mpo_policy_init for Sandbox
Security policy loaded: Seatbelt sandbox policy (Sandbox)
calling mpo_policy_init for Quarantine
Security policy loaded: Quarantine policy (Quarantine)
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
MAC Framework successfully initialized
using 16384 buffer headers and 10240 cluster IO buffer headers
AppleKeyStore starting (BUILT: Mar 23 2015 11:37:46)
IOAPIC: Version 0x20 Vectors 64:103
ACPI: sleep states S0 S3 S4 S5
pci (build 11:38:56 Mar 23 2015), flags 0xe3400, pfm64 (39 cpu) 0x7f80000000, 0x80000000
[ PCI configuration begin ]
console relocated to 0x7f90000000
[ PCI configuration end, bridges 12, devices 14 ]
AppleIntelLpssGspi1::initFixedDMA: FixedDMA not found in _CRS
AppleThunderboltNHIType2::setupPowerSavings - GPE based runtime power management
AppleHSSPIController::start Start Succeeded
mcache: 4 CPU(s), 64 bytes CPU cache line size
mbinit: done [64 MB total pool size, (42/21) split]
AppleHSSPIController::HandleMessage Device Wake by Keyboard
rooting via boot-uuid from /chosen: 53AA9A5E-4726-362A-8867-A09BA8A81A26
com.apple.AppleFSCompressionTypeZlib kmod start
com.apple.AppleFSCompressionTypeDataless kmod start
com.apple.AppleFSCompressionTypeZlib load succeeded
com.apple.AppleFSCompressionTypeDataless load succeeded
Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/RP06@1C,5/IOPP/SSD0@0/Ap pleAHCI/PRT0@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlo ckStorageDriver/APPLE SSD SD0128F Media/IOGUIDPartitionScheme/Customer@2
BSD root: disk0s2, major 1, minor 2
[AppleMultitouchDevice::start] entered
Apple Internal Keyboard / Trackpad::start Start Succeeded
ARPT: 1.622660: srom rev:11
ARPT: 1.623262: ChangeVCO => vco:960, xtalF:40, frac: 98, ndivMode: 3, ndivint: 24
ARPT: 1.623267: Data written into the PLL_CNTRL_ADDR2: 00000c31
ARPT: 1.623284: Data written into the PLL_CNTRL_ADDR3 (Fractional): 0000100e
ARPT: 1.633409: BRCM tunables:
...skipping...
PMAP: PCID enabled
PMAP: Supervisor Mode Execute Protection enabled
Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64
vm_page_bootstrap: 869190 free pages and 171194 wired pages
kext submap [0xffffff7f80a00000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff8000a00000]
zone leak detection enabled
"vm_compressor_mode" is 4
multiq scheduler config: deep-drain 0, urgent first 1, depth limit 4, band limit 127, sanity check 0
standard timeslicing quantum is 10000 us
standard background quantum is 2500 us
mig_table_max_displ = 13
TSC Deadline Timer supported and enabled
AppleACPICPU: ProcessorId=1 LocalApicId=0 Enabled
AppleACPICPU: ProcessorId=2 LocalApicId=2 Enabled
AppleACPICPU: ProcessorId=3 LocalApicId=1 Enabled
AppleACPICPU: ProcessorId=4 LocalApicId=3 Enabled
AppleACPICPU: ProcessorId=5 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=6 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=7 LocalApicId=255 Disabled
AppleACPICPU: ProcessorId=8 LocalApicId=255 Disabled
calling mpo_policy_init for TMSafetyNet
Security policy loaded: Safety net for Time Machine (TMSafetyNet)
calling mpo_policy_init for AMFI
Security policy loaded: Apple Mobile File Integrity (AMFI)
calling mpo_policy_init for Sandbox
Security policy loaded: Seatbelt sandbox policy (Sandbox)
calling mpo_policy_init for Quarantine
Security policy loaded: Quarantine policy (Quarantine)
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
MAC Framework successfully initialized
using 16384 buffer headers and 10240 cluster IO buffer headers
AppleKeyStore starting (BUILT: Mar 23 2015 11:37:46)
IOAPIC: Version 0x20 Vectors 64:103
ACPI: sleep states S0 S3 S4 S5
pci (build 11:38:56 Mar 23 2015), flags 0xe3400, pfm64 (39 cpu) 0x7f80000000, 0x80000000
[ PCI configuration begin ]
console relocated to 0x7f90000000
[ PCI configuration end, bridges 12, devices 14 ]
AppleIntelLpssGspi1::initFixedDMA: FixedDMA not found in _CRS
AppleThunderboltNHIType2::setupPowerSavings - GPE based runtime power management
AppleHSSPIController::start Start Succeeded
mcache: 4 CPU(s), 64 bytes CPU cache line size
mbinit: done [64 MB total pool size, (42/21) split]
AppleHSSPIController::HandleMessage Device Wake by Keyboard
rooting via boot-uuid from /chosen: 53AA9A5E-4726-362A-8867-A09BA8A81A26
com.apple.AppleFSCompressionTypeZlib kmod start
com.apple.AppleFSCompressionTypeDataless kmod start
com.apple.AppleFSCompressionTypeZlib load succeeded
com.apple.AppleFSCompressionTypeDataless load succeeded
Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/RP06@1C,5/IOPP/SSD0@0/Ap pleAHCI/PRT0@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlo ckStorageDriver/APPLE SSD SD0128F Media/IOGUIDPartitionScheme/Customer@2
BSD root: disk0s2, major 1, minor 2
[AppleMultitouchDevice::start] entered
Apple Internal Keyboard / Trackpad::start Start Succeeded
ARPT: 1.622660: srom rev:11
ARPT: 1.623262: ChangeVCO => vco:960, xtalF:40, frac: 98, ndivMode: 3, ndivint: 24
ARPT: 1.623267: Data written into the PLL_CNTRL_ADDR2: 00000c31
ARPT: 1.623284: Data written into the PLL_CNTRL_ADDR3 (Fractional): 0000100e
ARPT: 1.633409: BRCM tunables:
ARPT: 1.633413:   pullmode[1] txringsize[  256] txsendqsize[1024] reapmin[   32] reapcount[  128]
ARPT: 1.633980: wl0: Broadcom BCM43a0, vendorID[0x14e4] BAR0[0xb0600004]
7.15.166.24 (r541488)
USB (XHCI Root Hub USB 2.0 Simulation):Port 3 on bus 0xa connected or disconnected: portSC(0xe0206e1)
hfs: mounted Macintosh HD on device root_device
XCPM: registered
VM Swap Subsystem is ON
USBMSC Identifier (non-unique): 000000000820 0x5ac 0x8406 0x820, 3
IO80211Controller::dataLinkLayerAttachComplete():  adding AppleEFINVRAM notification
IO80211Interface::efiNVRAMPublished():
bpfAttach len 64 dlt 12
IOGraphics flags 0x43
AppleCamIn::init
IOBluetoothUSBDFU::probe
IOBluetoothUSBDFU::probe ProductID - 0x828F FirmwareVersion - 0x0103
**** [IOBluetoothHostControllerUSBTransport][start] -- completed -- result = TRUE -- 0x7000 ****
**** [BroadcomBluetoothHostControllerUSBTransport][start] -- Completed (matched on Device) -- 0x7000 ****
[IOBluetoothHCIController][staticBluetoothTransportShowsUp] -- Received Bluetooth Controller register service notification -- 0x7000
[IOBluetoothHCIController][start] -- completed
[IOBluetoothHCIController::setConfigState] calling registerService
**** [IOBluetoothHCIController][ProcessBluetoothTransportShowsUpActionWL] -- Connected to the transport successfully -- 0xd700 -- 0x5000 -- 0x7000 ****
AppleCamIn::probe
AppleCamIn::start
virtual bool AppleCamIn::start(IOService *): about to configure DDR
AppleCamIn::start - S2 DDR Frequency set to 450 MHz (default)
Unrecognized reportID 0x02
Previous shutdown cause: 5
DSMOS has arrivedhmm.. mismatch sizes: 3100 vs 20
PPGTT is enabled
IOPPF - IODeviceTree:/efi/platform/StartupPowerEvents: 0x0
save_ddr_phy_regs: saving 127 DDR PHY shmoo-calibrated registers
AppleCamIn::start - link control offset in PCI bridge = 0x50
AppleCamIn::start - pmcsr offset in PCI bridge = 0xa4
AppleCamIn::power_off_hardware
AppleCamIn::initForPM
AppleCamIn::systemWakeCall - messageType = 0xE0000340
IOPPF: XCPM mode
X86PlatformShim::sendPStates - Success!
X86PlatformShim::sendPStates - Success!
X86PlatformShim::sendPStates - Success!
X86PlatformShim::sendPStates - Success!
en1: promiscuous mode enable succeeded
ARPT: 4.682217: createVirtIf(): ifRole = 1
AirPort_Brcm4360_P2PInterface::init name <p2p0> role 1
AirPort_Brcm4360_P2PInterface::init <p2p> role 1
setVIRTUAL_IF_CREATE: AWDL interface role (4)
ARPT: 4.682825: createVirtIf(): ifRole = 1
ARPT: 4.682827: Create AWDL virtif(AWDL): unit = 2, ifRole = 4
AirPort_Brcm4360_P2PInterface::init name <awdl0> role 4
AirPort_Brcm4360_P2PInterface::attachToBpf name <awdl0> role 4 successful attach to bpf type 147
AirPort_Brcm4360_P2PInterface::init <awdl> role 4
AirPort: Link Down on en0. Reason 8 (Disassociated because station leaving).
en0::IO80211Interface::postMessage bssid changed
IO80211AWDLPeerManager::updateLocalRequests Deletion of all services requested (discoveryd crash)
nspace-handler-set-snapshot-time: 1429104183
awdl0: promiscuous mode enable succeeded
awdl0: promiscuous mode disable succeeded
awdl0: promiscuous mode enable succeeded
IO80211AWDLPeerManager::configure  Unable to set BSSID ret 52
hfs: mounted Recovery HD on device disk0s3
hfs: unmount initiated on Recovery HD on device disk0s3
bpfAttach len 94 dlt 163
bpfAttach len 30 dlt 105
bpfAttach len 52 dlt 127
bpfAttach len 38 dlt 192
AirPort: Link Up on awdl0
IO80211AWDLPeerManager::configure Dynamic country code not supported on this device
en0: channel changed to 1
en0: channel changed to 1
en0: channel changed to 1
IO80211AWDLPeerManager::setAwdlOperatingMode Setting the AWDL operation mode from AUTO to SUSPENDED
IO80211AWDLPeerManager::setAwdlSuspendedMode() Suspending AWDL, enterQuietMode(true)
en0: channel changed to 1
en0: 802.11d country code set to 'GB'.
en0: Supported channels 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140 149 153 157 161 165
ARPT: 7.874997: MacAuthEvent en0   Auth result for: 00:84:b0:e0:85:5a  MAC AUTH succeeded
AirPort: Link Up on en0
en0: BSSID changed to 00:84:b0:e0:85:5a
en0: channel changed to 1
en0::IO80211Interface::postMessage bssid changed
ARPT: 7.901805: AWDL Sync Enabled 0
AirPort: RSN handshake complete on en0
IO80211AWDLPeerManager::setAwdlOperatingMode Setting the AWDL operation mode from SUSPENDED to AUTO
IO80211AWDLPeerManager::setAwdlAutoMode Resuming AWDL
en0: BSSID changed to 00:84:b0:e0:85:5a
en0: channel changed to 1
utun_ctl_connect: creating interface utun0
utun_start: ifnet_disable_output returned error 12
AppleKeyStore:Sending lock change 0 for handle -501
IO80211AWDLPeerManager::setAwdlPeerTrafficRegistration Clearing AirPlay peer 00:00:00:00:00:00
AppleCamIn::ISP_LoadFirmware_gated: fw len=0
AppleCamIn::power_on_hardware
save_ddr_phy_regs: saving 127 DDR PHY shmoo-calibrated registers
AppleCamIn::ISP_Init - No set-file loaded for camera
AppleCamIn::ISP_InitialSensorDetection - found sensor on chan 0: 0x9770
AppleCamIn::ISP_LoadSetfile_gated (camChan=0)
AppleCamIn::power_off_hardware
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny file-read-metadata /Library
Sandbox: appleeventsd(51) deny mach-lookup com.apple.ocspd
Sandbox: appleeventsd(51) deny mach-lookup com.apple.ocspd
Sandbox: appleeventsd(51) deny mach-lookup com.apple.ocspd
Sandbox: appleeventsd(51) deny mach-lookup com.apple.ocspd
Sandbox: appleeventsd(51) deny mach-lookup com.apple.ocspd
Sandbox: appleeventsd(51) deny mach-lookup com.apple.ocspd
Sandbox: appleeventsd(51) deny mach-lookup com.apple.ocspd
         0 [Level 7] [Facility com.apple.sandbox.telemetry] [com.apple.sandbox.event com.apple.sandbox.event.get-task] [com.apple.sandbox.path /Applications/Utilities/Adobe Creative Cloud/CoreSyncExtension/ACCFinderBundleLoader_64.app/Contents/MacOS/ACCFinderBu ndleLoader_64] [com.apple.sandbox.path2 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder]
         0 [Level 7] [Facility messagetracer] [com.apple.message.domain com.apple.kernel.external_modification] [com.apple.message.signature ACCFinderBundleL(82E2B90D-DF1A-3995-AC63-02934DBFD6FA)] [com.apple.message.signature2 Finder(55C0DBA2-3FC5-3747-A7FF-ACE05500E4AB)] [com.apple.message.result noop] [com.apple.message.summarize YES]
fsevents: watcher dbfseventsd (pid: 412) - Using /dev/fsevents directly is unsupported.  Migrate to FSEventsFramework
Sandbox: com.apple.photom(448) deny mach-lookup com.apple.CrashReporterSupportHelper
Sandbox: com.apple.geod(450) deny mach-lookup com.apple.CrashReporterSupportHelper
Kyle-MacBook:~ kyle$
[/quote]

Deleting com.apple.finder.plist  and com.apple.systempreferences.plist from the user prefs did the trick.

Similar Messages

  • J2ee -verbose error

    Hi,
    I have download the j2se and j2ee versions for petstore and created the required env variables. When the start the Cloudscape, it is fine. But when I executed J2EE - Verbose from the cmd prompt, I get the following error and the execution stops.
    [i]Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/corba/se/inte
    rnal/util/IdentityHashtable
    at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.<clinit>(Util.java:87)
    at com.sun.corba.ee.internal.POA.POAImpl.activate(POAImpl.java:935)
    at com.sun.corba.ee.internal.POA.POAImpl.activate_object(POAImpl.java:89
    5)
    at com.sun.corba.ee.internal.CosNaming.TransientNameService.initialize(T
    ransientNameService.java:117)
    at com.sun.corba.ee.internal.CosNaming.TransientNameService.<init>(Trans
    ientNameService.java:70)
    at com.sun.enterprise.iiop.POAProtocolMgr.initializeNaming(POAProtocolMg
    r.java:103)
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:226)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
    Any suggestions?

    Hi,
    Which version of Java Pet Store are you using?
    I would encourage you to use the new Java Pet Store 2.0:
    https://blueprints.dev.java.net/petstore/
    I would also confirm that your classpath variable is set correctly. What is your current classpath?
    -Larry

  • J2ee -verbose errors

    I have tried to start j2ee version 1.4 and I get the following error:
    INFO: Starting JMS service...
    INFO: Starting JMS via Resource Adapter
    INFO: Deploying jmsra.rar in C:\j2sdkee1.4\lib\system_apps\jmsra.rar
    INFO: ResourceAdapter jmsra.rar started...
    INFO: Initializing Coyote HTTP/1.1 on port 8000
    INFO: Initializing Coyote HTTP/1.1 on port 7000
    INFO: Loaded registry information 801 ms
    SEVERE: Missing application web.xml, using defaults only StandardEngine[Standard-Engine].StandardHost[localhost].StandardContext[]
    SEVERE: Added certificates -> request attribute Valve
    INFO: Starting Coyote HTTP/1.1 on port 8000
    INFO: Starting Coyote HTTP/1.1 on port 7000
    INFO: JACC:Policy Repository set to C:\j2sdkee1.4\repository\policy
    SEVERE: Added certificates -> request attribute Valve
    INFO: Configured an authenticator for method FORM
    INFO: J2EE Web Admin Tool started
    INFO: JAXR:Installing JAXR RA
    INFO: Deploying jaxr-ra.rar in C:\j2sdkee1.4\lib\system_apps\jaxr-ra.rar
    INFO: Binding Connection Factory, name = QueueConnectionFactory
    INFO: Binding Connection Factory, name = eis/JAXR
    INFO: Binding Connection Factory, name = jms/TopicConnectionFactory
    INFO: Binding Connection Factory, name = jms/QueueConnectionFactory
    INFO: Binding Connection Factory, name = TopicConnectionFactory
    INFO: Binding Administered Object, name = jms/Topic
    INFO: Binding Administered Object, name = jms/Queue
    INFO: Starting EJB Timer Service...
    INFO: J2EE server startup complete.
    Which means I can not run the web-admin tools.
    Phil

    after a number of re-installs this appears to go away?
    sorry to have wasted anyones time

  • Error verbosity when page causes a 404?  (APEX 2.2.0)

    Hi all,
    I have a select list. That select list has an SQL expression that is evaluated to determine if the item will be rendered as "read only". I have a PL/SQL region that assigns a value to that page item earlier. If the query returns integers for the return value, but I attempt to assign the page item to a string, I get a 404 when the page loads.
    Obviously, the answer is not to set the page item to a string. Here's the question: is there a way to get a more verbose error out of APEX than a 404? (I get 404s from time to time and I have to go searching around to figure out why.)
    Thanks,
    Don

    Hi Don,
    If you'd like to display more information in the page then you can add the line -
    PlsqlErrorStyle  DebugStyleto your DADs file.
    Note however that this is only really for development, you almost certainly wouldn't want to do this in your production environment (for obviously reasons, it's much better to use the Apache logs etc in your production system).
    John.
    http://jes.blogs.shellprompt.net
    http://www.apex-evangelists.com

  • Berkeley db fatal region error detected run recovery

    Hi,
    I have initiated d Berkeley DB object.
    Then, I am using multithreading to put data into the DB.
    Here is how I open the one data handler.
    ret = dbp->open(dbp, /* Pointer to the database */
    NULL, /* Txn pointer */
    db_file_name, /* File name */
    db_logical_name , /* Logical db name (unneeded) */
    DB_BTREE, /* Database type (using btree) */
    DB_CREATE, /* Open flags */
    0644); /* File mode. Using defaults */
    each threads would put data into the same handler when it needs to.
    I am getting "berkeley db fatal region error detected run recovery".
    What is the problem? Does it have anything to do with the way the handler is created or whether multiple threads can put data into the DB?
    jb

    Hi jb,
    user8712854 wrote:
    I am getting "berkeley db fatal region error detected run recovery".This is a generic Berkeley DB panic message that means something went wrong. When do you get this error? Did you enable the verbose error messages? Are there any other warning/error messages reported? By just posting the way you open the database doesn't help much at all. I reviewed the other questions you asked on the forum, and it seems that you are not following the advices and consult the documentation, but you prefer to open new threads. I advice you to first work on configuring Berkeley DB for your needs and read the following pages in order to understand which Berkeley DB Product best suits your application and how it should be configured for a multithreaded application:
    [The Berkeley DB products|http://www.oracle.com/technology/documentation/berkeley-db/db/ref/intro/products.html]
    [Concurrent Data Store introduction|http://www.oracle.com/technology/documentation/berkeley-db/db/ref/cam/intro.html]
    [Multithreaded applications|http://www.oracle.com/technology/documentation/berkeley-db/db/ref/program/mt.html]
    [Berkeley DB handles|http://www.oracle.com/technology/documentation/berkeley-db/db/ref/program/scope.html]
    On the other hand, if the code that's calling the Berkeley DB APIs is not too big and is not private, you can post it here so we can review it for you and let you know what's wrong with it.
    The procedures you should follow in order to fix a "run recovery" error are described here:
    [Recovery procedures|http://www.oracle.com/technology/documentation/berkeley-db/db/ref/transapp/recovery.html]
    Thanks,
    Bogdan Coman

  • Orace 11g CRS installation ( windows server 2008 64 bit )  Error

    Hi ,
    Installing Orace 11g R1 Clusterware on two nodes RAC1,RAC2 on windows environment . Configured the Public , Private , VIP connections on both of the nodes by updating the host.txt file with . Following the network configurations settigs ..
    C:\windows\system32\drivers\etc\host.txt
    *127.0.0.1 localhost.localdomain localhost*
    *# Public*
    *192.168.2.101 rac1.localdomain rac1*
    *192.168.2.102 rac2.localdomain rac2*
    *#Private*
    *192.168.0.101 rac1-priv.localdomain rac1-priv*
    *192.168.0.102 rac2-priv.localdomain rac2-priv*
    *#Virtual*
    *192.168.2.111 rac1-vip.localdomain rac1-vip*
    *192.168.2.112 rac2-vip.localdomain rac2-vip*
    Hence , Following commands are successfully executed from both RAC1 and RAC 2 .
    From RAC 1:
    Ping rac2
    Ping rac2-priv
    Ping rac1
    ping rac1-priv
    From RAC 2 :
    Ping RAC1
    Ping RAC1-priv
    Ping rac2
    Ping Rac-priv
    Above listed commands are successfully executed . But while running the following command from RAC1 , getting the error ;
    From RAC1 :
    c:\Oracle11g\clusterware\runcluvfy.bat stage -pre crsinst -n RAC2 -verbose
    ERROR : Node Reachability from node  " RAC1" , Unable to reach any of the nodes...Verification can not proceed.
    Can any one please suggest what could be the issue ......
    Thank You
    Aravind

    FIxed

  • Error when using Toplink Ant tasks - Several [3] SessionLoaderExceptions

    Hi,
    I'm trying to integrate toplink's session exports with my build process (Apache Ant). I've been working from the example here:
    http://download.oracle.com/docs/cd/E14571_01/web.1111/b32441/mw.htm
    My Ant init target and the session validation target are shown below:
    <!-- =====================================================================================
         init Target
         ==================================================================================== -->
    <target name="init">
         <property name = "toplink.home" value = "C:/APPS/OC4J/toplink"/>     
         <property name = "oracle.home" value = "C:/APPS/OC4J"/>
         <property name = "toplink.log.dir" value = "${basedir}/../toplinklogs"/>
         <property name = "toplink.mwp.dir" value = "${basedir}/../java/mwb"/>
         <property name = "toplink.sessions.dir" value = "${basedir}/config"/>
         <property name = " myProject.classes" value = "${basedir}/../java/classes "/>
         <path id = "database.classpath">
              <pathelement path = "${oracle.home}/lib/dms.jar"/>
         </path>
         <path id = "toplink.classpath">
              <pathelement path = "${toplink.home}/jlib/toplink.jar"/>
              <pathelement path = "${oracle.home}/j2ee/home/lib/ejb.jar"/>
              <pathelement path = "${oracle.home}/lib/xmlparserv2.jar"/>
              <pathelement path = "${toplink.home}/jlib/antlr.jar"/>
         </path>
         <path id = "mw.classpath">
              <pathelement path = "${toplink.home}/jlib/tlmwcore.jar"/>
              <pathelement path = "${toplink.home}/jlib/toplinkmw.jar"/>
         </path>
         <path id = "mwplatforms.classpath">
              <pathelement path = "${toplink.home}/config"/>
         </path>
         <typedef file = "${basedir}/toplink-ant-lib.xml" classpathref = "mw.classpath" uri = "toplinklib" />
    </target>
    <!-- =====================================================================================
         validate session Target
         ==================================================================================== -->     
    <target name="validate.session" depends="export.project" if="export-completed">
         <toplink:session.validate
              sessionsfile = "${basedir}/../java/src/aquila/administrator/accounting/config/toplink/AccountingMapping.xml"
         sessionname = "AccountingMapping"
         property = "session-valid"
         classpathref = "toplink.classpath"
         classpath = "${myProject.classes}" >
              <toplink:classpath refid = "mw.classpath" />
         <toplink:classpath refid = "database.classpath" />
         <toplink:loginspec refid = "loginSpec" />
         </toplink:session.validate>
    </target>
    <!-- =====================================================================================
         Error
         ==================================================================================== -->
    validate.session:
    [toplink:session.validate] An error occured while validating project:
    [toplink:session.validate] Exception Description: Several [3] SessionLoaderExceptions were thrown:
    BUILD FAILED
    C:\Eclipse\Administrator\ant\example.xml:105: An error occured while validating project:
    Exception Description: Several [3] SessionLoaderExceptions were thrown:
    <!-- =====================================================================================
    Verbose Errors      ==================================================================================== -->
    When I turn on verbose mode in ant I can see more details of the error:
    Local Exception Stack:
    Exception [TOPLINK-9001] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException
    Exception Description: Unknown tag name: [toplink:login] in XML node: [toplink:object-persistence].
    Internal Exception: java.lang.NoSuchMethodException: oracle.toplink.tools.sessionconfiguration.XMLLoader.process_toplink:login_Tag(org.w3c.dom.Node, oracle.toplink.tools.sessionconfiguration.XMLLoader$ObjectHolder)
    Local Exception Stack:
    Exception [TOPLINK-9001] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException
    Exception Description: Unknown tag name: [opm:class-mapping-descriptors] in XML node: [toplink:object-persistence].
    Internal Exception: java.lang.NoSuchMethodException: oracle.toplink.tools.sessionconfiguration.XMLLoader.process_opm:class_mapping_descriptors_Tag(org.w3c.dom.Node, oracle.toplink.tools.sessionconfiguration.XMLLoader$ObjectHolder)
    Local Exception Stack:
    Exception [TOPLINK-9001] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException
    Exception Description: Unknown tag name: [opm:name] in XML node: [toplink:object-persistence].
    Internal Exception: java.lang.NoSuchMethodException: oracle.toplink.tools.sessionconfiguration.XMLLoader.process_opm:name_Tag(org.w3c.dom.Node, oracle.toplink.tools.sessionconfiguration.XMLLoader$ObjectHolder)
    <!-- =====================================================================================
    Help
    ==================================================================================== -->
    The 3 errors shown above correspond to the 3 tags at the same level in the session.xml file. I have tested this validation process with a session.xml file generated from the workbench and that failed too. Since its a NoSuchMethodException it looks like my ant process isn't finding the oracle.toplink.tools.sessionconfiguration.XMLLoader class, but that is in toplink.jar which is in the class path.
    Any help appreciated

    Dear Arun,
    The WLS server is the same for (integrated WLS and Production) . For JRF template I'm sure it is the same. I have deploy another application that used BC, and it work fine in production.
    Regards
    Faizul

  • How to display the error message during the web dynpro application runtime

    hi,
        I'm a java developer,During i 'deploy and run ' a web dynpro application on server-1,if the application have some runtime errors. there are displayed many infomation about the runtime error,such as exception track,etc.
        But when i do the same on server-2,there just show something like:
                500   Internal Server Error
                                    SAP NetWeaver Application Server 7.00/Java AS 7.00
                Failed to process request. Please contact your system administrator.
    but the server-1 will stop the j2ee engine. 
    how can do i make server-2 show detail error message as server-1. when i debug web dynpro application need these infomation.
    Appreciate your inputs...
    (Note:server-1 and server-2 have same software version)
    Edited by: BingLin Zhong on Feb 18, 2008 2:13 AM

    The Sap-Notes 962319:
    1. Check in the Visual Administrator, "Licensing Adapter" -> "General" -> "SystemType" !
    If it is set to "DEVELOPMENT_MODE", verbose error messages are shown.
    If it is undefined, proceed with the next step.
    If it is set to something else, only exception IDs are shown. In this case the only chance is to search for this exception ID in the default traces.
    2. If the system type is undefined, then in the Config Tool "Configurations" -> "webdynpro" -> "sap.com" -> "tcwddispwda" -> "Propertysheet default" -> "DevelopmentMode" is evaluated. If it is "true", verbose error messages are shown.
    3. If verbose error messages are required but still the short version is shown, you probably face an error message that is not raised by Web Dynpro but by other components of the NetWeaver. In the Visual Administrator set "Properties" -> "HTTP Provider" -> "DetailedErrorResponse" to "true".
    4. In addition to the error page shown in the browser or client, important messages - including error messages and stack traces - are written to the log and trace files, e.g. to the default traces usr\sap\<SID>\<instance>\j2ee\cluster\server<number>\log\defaulttrace.trc.<number>.
    a) In some cases, when an exception ID is included in the error message, the detailed error message can easily be retrieved in the log file.
    b) When no exception ID is given, you have to search for the detailed error message in the log specifying time stamp and/or user ID.
    Always consider restarting the system after making changes on the settings.
    It is not recommended to switch the "SystemType" to an inappropriate value just for viewing verbose error messages. The system type potentially affects framework, applications and licensing in an perhaps unintended way.
    In the past there was no distinction between different system types regarding error messages. For security reasons this distiction has been introduced. It is not intended to show stack traces in non-development systems in the future. SAP does not provide workarounds or patches to enable such a behaviour again.

  • Error message when using Spry Data set with XML

    Hi,
    I have what i see as a big problem, might just be me being
    dumm, but here we go.
    When I try to use the feature of spry XML Data Set and insert
    spry table I get error message when trying it in IE 7.
    There are even a problem when I use fireworks automated slide
    show function, where you can choose to use the Spry/XML gallery
    feature.
    The error message I get everytime (incl the auto gallery in
    fireworks) is:
    The tag: "html" doesn't have an attribute: "xmlns:spry" in
    currently active versions.[XHTML 1.0 transitional]
    The tag: "div" doesn't have an attribute: "spry:region" in
    currently active versions.[XHTML 1.0 transitional]
    The tag: "th" doesn't have an attribute: "spry:sort" in
    currently active versions.[XHTML 1.0 transitional]
    and so on.
    What´s wrong?!

    Hello barvid,
    Ok, let's take each problem step by step:
    1. The first error you see in the browser: " Exception while
    loading ..." normally appears when you try to load files that are
    not permitted by the browser security model. This means the XML
    file you try to load is located on a different server than your
    HTML which is not allowed. The browser is not permitting to load
    any files that are not in the same domain as the current page
    because of the complex security risks. You'll have to either get
    the XML file from its original location and save it in your website
    or use a proxy on your web server that should request that file
    from the external server and send it to the browser as an XML from
    the same domain as the HTML origin.
    1.2 The "Exception while loading ..." error you see is a
    generic error and my previous advise is based on my experience. In
    case this is not your scenario you'll have to open the SpryData.js
    and around line 112 you'll see the following code:
    Spry.Debug.reportError("Exception caught while loading " +
    url + ": " + e);
    Please change this line with the following line of code:
    Spry.Debug.reportError("Exception caught while loading " +
    url + ": " + (e.message?e.message:e));
    to obtain a more verbose error message that may clarify the
    reasons of your errors.
    2. The problems you describe are not browser errors but they
    are w3c validation errors. At this point the XHTML standard allows
    every application that define custom namespace attributes to also
    link a DTD to the page so the page to continue to be valid.
    Unfortunately at this point this feature is not correctly supported
    by the FF and IE so we wrote an articles about how you should
    link
    the Spry DTD to your page so the validator understand the
    custom attributes Spry use. You'll find inside the full description
    of the problems and all the technical details you'll need to know
    to solve this issue.
    Regards,
    Cristian

  • Db- open is giving error no 22 with C and 4.4.20 version

    Here is my simple code which create and tyr to open a database. i am using vc++ 2005 version. and the error is "Invalid arguments".Could any one suggest possiblities of this kind of error.
    #include <sys/types.h>
    #include <stdio.h>
    #include <db.h>
    #include<memory.h>
    #include<string.h>
    #define     DATABASE "access.db"
    int
    main()
         DB *dbp;
         DB_TXN *one = NULL;
         DBT key, data;
         int ret, t_ret;
         u_int32_t open_flags;
         if ((ret = db_create(&dbp, NULL,0)) != 0)
              fprintf(stderr, "db_create: %s\n", db_strerror(ret));
              return (1);
         open_flags = DB_CREATE;
         ret = dbp->open
              (dbp,NULL,DATABASE,NULL,DB_BTREE,open_flags,0);
         if (ret != 0)
         //dbp->err(dbp, ret, "%s", "access.db");
              fprintf(stderr, "db_open: %s\n", db_strerror(ret));
              if ((t_ret = dbp->close(dbp, 0)) != 0 && ret == 0664)
              ret = t_ret;
         return(ret);
    Thanks in advance.

    Hello,
    Are verbose error messages turned on? If so what verbose
    messages are you receiving? If not please turn them on
    see what verbose messages are produced. Those messages
    should point you in the direction of the problem. In
    order to turn on verbose error message configue the Berkeley
    DB error stream as:
    DbEnv::set_errfile http://www.oracle.com/technology/documentation/berkeley-db/db/api_cxx/env_set_errfile.html
    Or if you don't have a database environment handle, use:
    Db::set_errfile http://www.oracle.com/technology/documentation/berkeley-db/db/api_cxx/db_set_errfile.html
    Thanks,
    Sandra

  • How can I resolve installation errors DF024 & DF037 for CS5.5 on Mac?

    Please help. I've gone through the forum posts, as well as searched the Internet, and find the matter daunting. Have tried to implement a solution and may have caused more problems. Assistance would be greatly appreciated.
    PROBLEM:
    I am unable to uninstall or reinstall both Dreamweaver 5.5 and CS 5.5.
    Continually get extensive number of the following errors:
    ERROR DF024 Unable to preserve original file...
    ERROR DF024 Unable to move file…
    ERROR DF037 Unable to delete directory…
    SYSTEM CONFIG:
    Adobe CS 5.5
    Mac OS 10.7.4
    MacBook Pro 2.5 GHz
    Intel Core 2 Duo with 4 GB Ram
    BACKGROUND (History appears chronologically in 4 parts.):
    CS 5.5 was already installed and functioning fine, then upgraded from OS 10.6 to 10.7. Noticed issues with elements not appearing in DISPLAY VIEW of Dreamweaver, but was correct in CODE VIEW and BROWSER PREVIEW.
    Tried to reinstall and uninstall Dreamweaver 5.5 several times using the CS 5.5 installation disk. Consistently got DF024 errors. NOTE: After first attempt. installer marked Dreamweaver as already installed, but not the others. Using the Finder, the Dreamweaver directory appears to be empty unless the files are now hidden. Nothing regarding the application can be seen in the Trash. Also unable to launch any other Adobe CS apps.
    Exit Code: 7
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 19 error(s), 15 warning(s)
    ----------- Payload: {ED28819E-310F-4F17-925C-C69B0A1C1F7F} Suite Shared Configuration CS5.5 2.5.0.0 -----------
    ERROR: DF024: Unable to preserve original file at "/Library/Application Support/Adobe/ssc/DesignSuitePremium-CS5-Win-GM/SLConfig.xml" Error 0(Seq 15)
    ERROR: DW063: Command ARKDeleteFileCommand failed.(Seq 15)
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    SLConfig.xml appeared to be an alias pointing to a file of the same name in the Mac version. Went to original file, made a new alias and replaced the corrupted file.
    Then rebooted system and relaunched CSS5.5 Installer with all apps selected. Program started and ran for about 15 min before reporting more errors, now with error DF037 as well. Did this again with the same results except the DF037 error did not reappear. It appears the the problems are mostly in two directories:
    /Library/Application Support/Adobe/CameraRaw/CameraProfiles/
    and
    /Library/Application Support/Adobe/ssc/DesignSuitePremium-CS5.5-Win-GM/
    but I am not sure how to best resolve this.
    Below are selected portions of the most recent (and VERY verbose) error log. To conserve space, log entries in which the same error is repeated are truncated. (Only the first one and last repetitions are copied here; the others have been omitted and are replaced with highlighted ellipses [i.e., "..."].) Please let me know if you would like the complete log report.
    Exit Code: 7
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 238 error(s), 98 warning(s)
    WARNING: DW031: Payload:{0D96CFE6-376D-44B8-808A-16F3BEB73263} Adobe Media Encoder CS5.5 5.5.0.0 has been updated and has been selected for repair. The patch {41BFF2C7-9F45-4CF3-A257-E80E14802157} Adobe Media Encoder CS5.5_5.5.1_AMECore5.5All 5.5.1.0 will be uninstalled now.
    WARNING: DW031: Payload:{37AB3C65-E02C-4DCF-B0E0-4C2E253D8FA3} Photoshop Camera Raw 6.0.0.0 has been updated and has been selected for repair. The patch {4E1B59A1-029E-4C16-BBB3-F10D40EBB6EE} Photoshop Camera Raw_6.7_AdobeCameraRaw6.0All 6.7.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{6A2E619B-E4AC-433B-A648-D458CE543A96} Adobe XMP Panels CS5 3.0.0.0 has been updated and has been selected for repair. The patch {5C0FEBDA-5A0E-4FC8-91CB-229A4C1561E9} Adobe XMP Panels CS5_3.1_AdobeXMPPanelsAll 3.1.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{F313167E-5172-11E0-ACE7-30C2E3AB3DC5} Adobe InDesign CS5.5 Common Base Files 7.5.0.0 has been updated and has been selected for repair. The patch {6AFE0576-7A2C-11E1-88D2-74AAF24106A5} Adobe InDesign CS5.5 Common Base Files_7.5.3.333_AdobeInDesign7xCommonBase-mul 7.5.3.333 will be uninstalled now.
    WARNING: DW031: Payload:{0CCF0458-5171-11E0-BC45-DC59E3AB3DC5} Adobe InDesign CS5.5 Application Base Files 7.5.0.0 has been updated and has been selected for repair. The patch {848BF4CC-7A2B-11E1-8A90-3F8CF24106A5} Adobe InDesign CS5.5 Application Base Files_7.5.3.333_AdobeInDesign7xAppBase-mul 7.5.3.333 will be uninstalled now.
    WARNING: DW031: Payload:{3F023875-4A52-4605-9DB6-A88D4A813E8D} Camera Profiles Installer 6.0.0.0 has been updated and has been selected for repair. The patch {A189C479-C7CD-4E08-8CCF-D999B68C0C71} Camera Profiles Installer_6.3_AdobeCameraRawProfile6.0All 6.3.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{ED9DC850-516E-11E0-9096-1FE5E2AB3DC5} Adobe InDesign CS5.5 Application Language Files_AdobeInDesign7xAppLang-en_US 7.5.0.0 has been updated and has been selected for repair. The patch {C68C3E1A-7A29-11E1-A9D9-0F55F24106A5} Adobe InDesign CS5.5 Application Language Files_7.5.3.333_AdobeInDesign7xAppLang-en_US 7.5.3.333 will be uninstalled now.
    WARNING: DW031: Payload:{D97AF04B-B70A-4862-BC25-31E6D9C4A529} Adobe Flash CS5.5 11.5.0.0 has been updated and has been selected for repair. The patch {D9F625C8-FD5B-4C13-9B3C-5B9F09BA0DC0} Adobe Flash CS5.5_11.5.1_AdobeFlash11.5-mul 11.5.1.0 will be uninstalled now.
    WARNING: DW031: Payload:{03FB981A-5170-11E0-A90E-3CEDE2AB3DC5} Adobe InDesign CS5.5 Application Base Files2 7.5.0.0 has been updated and has been selected for repair. The patch {FE75A95E-7A2B-11E1-8037-B59BF24106A5} Adobe InDesign CS5.5 Application Base Files2_7.5.3.333_AdobeInDesign7xAppBase2-mul 7.5.3.333 will be uninstalled now.
    WARNING: DW031: Payload:{0D96CFE6-376D-44B8-808A-16F3BEB73263} Adobe Media Encoder CS5.5 5.5.0.0 has been updated and has been selected for repair. The patch {41BFF2C7-9F45-4CF3-A257-E80E14802157} Adobe Media Encoder CS5.5_5.5.1_AMECore5.5All 5.5.1.0 will be uninstalled now.
    WARNING: DW031: Payload:{37AB3C65-E02C-4DCF-B0E0-4C2E253D8FA3} Photoshop Camera Raw 6.0.0.0 has been updated and has been selected for repair. The patch {4E1B59A1-029E-4C16-BBB3-F10D40EBB6EE} Photoshop Camera Raw_6.7_AdobeCameraRaw6.0All 6.7.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{6A2E619B-E4AC-433B-A648-D458CE543A96} Adobe XMP Panels CS5 3.0.0.0 has been updated and has been selected for repair. The patch {5C0FEBDA-5A0E-4FC8-91CB-229A4C1561E9} Adobe XMP Panels CS5_3.1_AdobeXMPPanelsAll 3.1.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{F313167E-5172-11E0-ACE7-30C2E3AB3DC5} Adobe InDesign CS5.5 Common Base Files 7.5.0.0 has been updated and has been selected for repair. The patch {6AFE0576-7A2C-11E1-88D2-74AAF24106A5} Adobe InDesign CS5.5 Common Base Files_7.5.3.333_AdobeInDesign7xCommonBase-mul 7.5.3.333 will be uninstalled now.
    WARNING: DW031: Payload:{0CCF0458-5171-11E0-BC45-DC59E3AB3DC5} Adobe InDesign CS5.5 Application Base Files 7.5.0.0 has been updated and has been selected for repair. The patch {848BF4CC-7A2B-11E1-8A90-3F8CF24106A5} Adobe InDesign CS5.5 Application Base Files_7.5.3.333_AdobeInDesign7xAppBase-mul 7.5.3.333 will be uninstalled now.
    WARNING: DW031: Payload:{3F023875-4A52-4605-9DB6-A88D4A813E8D} Camera Profiles Installer 6.0.0.0 has been updated and has been selected for repair. The patch {A189C479-C7CD-4E08-8CCF-D999B68C0C71} Camera Profiles Installer_6.3_AdobeCameraRawProfile6.0All 6.3.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{ED9DC850-516E-11E0-9096-1FE5E2AB3DC5} Adobe InDesign CS5.5 Application Language Files_AdobeInDesign7xAppLang-en_US 7.5.0.0 has been updated and has been selected for repair. The patch {C68C3E1A-7A29-11E1-A9D9-0F55F24106A5} Adobe InDesign CS5.5 Application Language Files_7.5.3.333_AdobeInDesign7xAppLang-en_US 7.5.3.333 will be uninstalled now.
    WARNING: DW031: Payload:{D97AF04B-B70A-4862-BC25-31E6D9C4A529} Adobe Flash CS5.5 11.5.0.0 has been updated and has been selected for repair. The patch {D9F625C8-FD5B-4C13-9B3C-5B9F09BA0DC0} Adobe Flash CS5.5_11.5.1_AdobeFlash11.5-mul 11.5.1.0 will be uninstalled now.
    WARNING: DW031: Payload:{03FB981A-5170-11E0-A90E-3CEDE2AB3DC5} Adobe InDesign CS5.5 Application Base Files2 7.5.0.0 has been updated and has been selected for repair. The patch {FE75A95E-7A2B-11E1-8037-B59BF24106A5} Adobe InDesign CS5.5 Application Base Files2_7.5.3.333_AdobeInDesign7xAppBase2-mul 7.5.3.333 will be uninstalled now.
    ----------- Payload: {ED28819E-310F-4F17-925C-C69B0A1C1F7F} Suite Shared Configuration CS5.5 2.5.0.0 -----------
    ERROR: DF024: Unable to preserve original file at "/Library/Application Support/Adobe/ssc/DesignSuitePremium-CS5.5-Win-GM/aul.xml" Error 0(Seq 26)
    ERROR: DW063: Command ARKDeleteFileCommand failed.(Seq 26)
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - Adobe WinSoft Linguistics Plugin CS5: Install failed
    ERROR: DW050:  - AdobeHelp: Install failed
    ERROR: DW050:  - Adobe InDesign CS5.5 Application Base Files2: Install failed
    ERROR: DW050:  - Creative Suite 5.5 Design Premium: Install failed
    ERROR: DW050:  - Adobe Photoshop CS5.1 Core: Failed due to Language Pack installation failure
    ERROR: DW050:  - Adobe InDesign CS5.5 Application Base Files: Failed due to Language Pack installation failure
    ERROR: DW050:  - Adobe Media Encoder CS5.5: Install failed
    ERROR: DW050:  - AdobeColorNA CS5.5: Install failed
    ERROR: DW050:  - DynamiclinkSupport: Install failed
    ERROR: DW050:  - Adobe Device Central CS5.5_DeviceCentral3.5LP-en_US: Install failed
    ERROR: DW050:  - HIL Help Search: Install failed
    ERROR: DW050:  - Adobe Flash CS5.5_AdobeMobileExtension_Flash11.5-en_US: Install failed
    ERROR: DW050:  - CSXS Story Extension: Install failed
    ERROR: DW050:  - Photoshop Camera Raw: Install failed
    ERROR: DW050:  - Adobe Player for Embedding 3.2: Install failed
    ERROR: DW050:  - Adobe Extension Manager CS5.5: Install failed
    ERROR: DW050:  - Adobe WinSoft Linguistics Plugin CS5.5: Install failed
    ERROR: DW050:  - Adobe Media Encoder CS5.5_5.5.1_AMECore5.5All: Install failed
    ERROR: DW050:  - AdobeColorCommonSetRGB: Install failed
    ERROR: DW050:  - AdobeColorPhotoshop CS5.5: Install failed
    ERROR: DW050:  - Adobe Device Central CS5.5: Failed due to Language Pack installation failure
    ERROR: DW050:  - Adobe Mini Bridge CS5.1: Install failed
    ERROR: DW050:  - Adobe ReviewPanel CS5.5: Install failed
    ERROR: DW050:  - Adobe Fireworks CS5.1: Failed due to Language Pack installation failure
    ERROR: DW050:  - Adobe SING CS5: Install failed
    ERROR: DW050:  - Photoshop Camera Raw_6.7_AdobeCameraRaw6.0All: Install failed
    ERROR: DW050:  - Adobe SwitchBoard 2.0: Install failed
    ERROR: DW050:  - Adobe Flash Catalyst CS5.5: Install failed
    ERROR: DW050:  - AdobeColorCommonSetCMYK: Install failed
    ERROR: DW050:  - Adobe XMP Panels CS5_3.1_AdobeXMPPanelsAll: Install failed
    ERROR: DW050:  - Adobe Hunspell Linguistics Plugin CS5.5: Install failed
    ERROR: DW050:  - Adobe XMP Panels CS5: Install failed
    ERROR: DW050:  - Adobe InDesign CS5.5 Common Base Files_7.5.3.333_AdobeInDesign7xCommonBase-mul: Install failed
    ERROR: DW050:  - AIR for APPLE IOS Support (FP): Install failed
    ERROR: DW050:  - AdobeTypeSupport CS5: Install failed
    ERROR: DW050:  - Adobe CSXS Infrastructure CS5.5: Install failed
    ERROR: DW050:  - Adobe InDesign CS5.5 Common Language Files_AdobeInDesign7xCommonLang-en_US: Install failed
    ERROR: DW050:  - Adobe Flash Fonts1: Install failed
    ERROR: DW050:  - Adobe Content Viewer: Install failed
    ERROR: DW050:  - Adobe InDesign CS5.5 Application Base Files_7.5.3.333_AdobeInDesign7xAppBase-mul: Install failed
    ERROR: DW050:  - Adobe Fireworks CS5.1_AdobeFireworks11.1.0en_USLanguagePack: Install failed
    ERROR: DW050:  - Adobe Flash CS5.5_AdobeFlash11.5-en_USLanguagePack: Install failed
    ERROR: DW050:  - Digital Publishing: Failed due to Language Pack installation failure
    ERROR: DW050:  - Adobe Dreamweaver CS5.5: Failed due to Language Pack installation failure
    ERROR: DW050:  - Adobe ExtendScript Toolkit CS5.5: Install failed
    ERROR: DW050:  - Adobe Illustrator CS5.1_AdobeIllustrator15_1en_USLanguagePack: Install failed
    ERROR: DW050:  - Pixel Bender Toolkit: Install failed
    ERROR: DW050:  - Adobe Dreamweaver Widget Browser: Install failed
    ERROR: DW050:  - Adobe Toolhints CS5.5: Install failed
    ERROR: DW050:  - PDF Settings CS5: Install failed
    ERROR: DW050:  - Adobe Linguistics CS5: Install failed
    ERROR: DW050:  - Adobe Illustrator CS5.1: Failed due to Language Pack installation failure
    ERROR: DW050:  - AdobeColorJA CS5.5: Install failed
    ERROR: DW050:  - AdobeOutputModule: Install failed
    ERROR: DW050:  - Acrobat Professional: Install failed
    ERROR: DW050:  - Adobe Dreamweaver CS5.5_AdobeDreamweaver11.5en_USLanguagePack: Install failed
    ERROR: DW050:  - AdobePDFL CS5: Install failed
    ERROR: DW050:  - AdobeCMaps CS5: Install failed
    ERROR: DW050:  - Adobe CSXS Extensions CS5.5: Install failed
    ERROR: DW050:  - Adobe Digital Publishing Application Language Files_AdobeDigitalPublishingAppLang-en_US: Install failed
    ERROR: DW050:  - Adobe InDesign CS5.5 Application Language Files_7.5.3.333_AdobeInDesign7xAppLang-en_US: Install failed
    ERROR: DW050:  - Required Common Fonts Installation: Install failed
    ERROR: DW050:  - Adobe InDesign CS5.5 Application Feature Set Files: Install failed
    ERROR: DW050:  - Adobe Buzzword CS5.5: Install failed
    ERROR: DW050:  - Adobe Flash CS5.5: Failed due to Language Pack installation failure
    ERROR: DW050:  - Adobe Flash CS5.5_11.5.1_AdobeFlash11.5-mul: Install failed
    ERROR: DW050:  - SiteCatalyst NetAverages CS5.5: Install failed
    ERROR: DW050:  - Flash Player: Install failed
    ERROR: DW050:  - Adobe Flash CS5.5_AdobeMobileExtension_Flash11.5-mul: Install failed
    ERROR: DW050:  - Recommended Common Fonts Installation: Install failed
    ERROR: DW050:  - AdobeColorVideoProfilesCS CS5.5: Install failed
    ERROR: DW050:  - Suite Shared Configuration CS5.5: Install failed
    ERROR: DW050:  - Adobe InDesign CS5.5 Application Language Files_AdobeInDesign7xAppLang-en_US: Install failed
    ERROR: DW050:  - Adobe Photoshop CS5.1 English Language Pack_AdobePhotoshop12-en_US: Install failed
    ERROR: DW050:  - Adobe Bridge CS5.1: Install failed
    ERROR: DW050:  - Adobe Photoshop CS5.1 Support: Install failed
    ERROR: DW050:  - Adobe InDesign CS5.5 Common Base Files: Install failed
    ERROR: DW050:  - Adobe Linguistics CS5.5: Install failed
    ERROR: DW050:  - Photoshop Camera Raw_6.3_AdobeCameraRaw6.0All: Install failed
    ERROR: DW050:  - Adobe InDesign CS5.5 Application Base Files2_7.5.3.333_AdobeInDesign7xAppBase2-mul: Install failed
    ERROR: DW050:  - AdobeColorEU CS5.5: Install failed

    Hi Sharad,
    Thank you for your reply.
    Since my initial posting here, I've attempted a few more installations. Each time a file from /Library/Application Support/Adobe/ssc/ would appear with the same error DF024, and it was always an alias. So each time I would replace the old alias with a new manually created alias pointing to the same original as the old alias. Sure enough, when I relaunched the installer,  error DF024 with the old alias no longer appeared, but a new error DF042 with another alias from the same directory did appear. Then I manually replaced  all aliases found in the /Library/Application Support/Adobe/ssc/ directory with new ones I created.
    Upon rebooting and relaunching the installer program, the program did not stop at around 12% as consistently it did up until now. Instead, it progressed to 80% before it stopped and reported a huge number of new errors. Most of them pertain to the inability to roll back the installation it had attempted. No files from /Library/Application Support/Adobe/ssc/ appeared in the new log report.
    To gain a better understanding of the logs, I downloaded AdobeSupportAdvisor and tried using it, but it referred me to online solutions that weren't relevant to my situation (i.e., one mentions Photoshop CS4 and I've never installed CS4).
    I also tried following the articles from the Adobe knowledgebase:
    cspid_84451: Troubleshoot with install logs | CS5, CS5.5, CS6
    which is fine if you only have a few errors, and
    cspid_83481: Installation, launch log errors | CS5, CS5.5, CS6, CCM
    which doesn't list error DF024.
    At this point I've decided to not not make anymore attempts without some expert guidance.
    The log file seem too large to post here. If you would like review the log, I can perhaps post it on www.pastebin.com unless you can suggest a better way. Please let me know.

  • PS script errors at 'Begin {}'

    I found a
    script on blog.powershell.no, and am trying to adjust it to fit my needs. I've pasted my revisions below. 
    When I run the script (.\script.ps1 -ToCheck All), I should get a list of the run-as accounts for all services and scheduled tasks on localhost. Instead, I'm getting the error: 
    Begin : The term 'Begin' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At C:\shared\test.ps1:184 char:1
    + Begin {
    + ~~~~~
    + CategoryInfo : ObjectNotFound: (Begin:String) [],
    CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
    Get-Process : Cannot evaluate parameter 'Name' because its argument is specified as a script block and there is no input. A script block cannot be evaluated without input.
    At C:\shared\test.ps1:190 char:9
    + Process {
    + ~
    + CategoryInfo : MetadataError: (:) [Get-Process], ParameterBindingException
    + FullyQualifiedErrorId : ScriptBlockArgumentNoInput,Microsoft.PowerShell.Commands.GetProcessCommand
    End : The term 'End' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At C:\shared\test.ps1:224 char:1
    + End {
    + ~~~
    + CategoryInfo : ObjectNotFound: (End:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    I don't understand why it doesn't like the Begin/Process/End blocks. Here is the entire script:
    <#
    .SYNOPSIS
    Get 'Run As'' value for services and/or scheduled tasks on a user-specified list of computers.
    .DESCRIPTION
    Users WMI and schtasks.exe to get the 'Run As' value for services and/or scheduled tasks on a user-specified list of computers. The script requires PowerShell version 2.
    .NOTES
    Author: Jan Egil Ring
    Blog: http://blog.powershell.no
    LastEdit: 22.11.2011
    .LINK
    .PARAMETER ComputerName
    Default value: localhost. The computer to perform action against. Accepts ValueFromPipeline and ValueFromPipelineByPropertyName.
    .PARAMETER RunAsUser
    Filters returned objects based on user or domain name.
    .PARAMETER ToCheck
    .PARAMETER Logfile
    Path to log-file (only errors are logged).
    .EXAMPLE
    .\getRunAsAccounts-Parameterized.ps1 -ComputerName srv01 -RunAsUser managed
    This example checks srv01 for services and scheduled tasks that have a "Run As" account with 'managed' in the name.
    .EXAMPLE
    .\getRunAsAccounts-Parameterized.ps1 -ComputerName srv01 -RunAsUser srvc
    This example checks srv01 for services and scheduled tasks that have a "Run As" account with 'srvc' in the name.
    .EXAMPLE
    .\getRunAsAccounts-Parameterized.ps1 -ComputerName (Get-Content c:\computernames.txt)
    This example get's a list of computer names from c:\computernames.txt and returns the run-as accounts for all services.
    .EXAMPLE
    Get-ADComputer -filter * | .\getRunAsAccounts-Parameterized.ps1 | Out-File c:\output.csv -NoTypeInformation
    This example get's a list of all computers in Active Directory and returns the run-as accounts for all services to a CSV file.
    #>
    #Requires -Version 2.0
    [CmdletBinding()]
    param(
    [Parameter(ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$True)]
    [string[]]$ComputerName = "localhost",
    [string]$RunAsUser,
    [ValidateSet("Services","Tasks","All")]
    [string]$ToCheck,
    [string]$Logfile
    Function Get-RunAsAccountWorker {
    param($ComputerName)
    Try {
    If ((Test-Connection -ComputerName $ComputerName -Quiet) -and ($ComputerSystem = Get-WmiObject -Class win32_ComputerSystem -Computername $ComputerName -ErrorAction Stop)) {
    Write-Verbose "Connected to computer $ComputerName"
    #$services = Get-WmiObject Win32_Service -filter "(StartName Like '[^NT Authority]%') AND (StartName <> 'localsystem')" -ComputerName $ComputerName -ErrorAction Stop | Select name,Startname,startmode
    $services = Get-WmiObject Win32_Service -Filter "(StartName Like '%$runAsUser%')" -ComputerName $ComputerName -ErrorAction Stop | Select-Object name,startname,startmode
    $output = @()
    If ($services) {
    Foreach ($service in $services) {
    Write-Verbose "Processing NIC $($service.name)"
    $outputService = @{}
    $outputService.Computername = $computerSystem.name
    $outputService.Connectivity = "Success"
    $outputService.Type = "Service"
    $outputService.Name = $service.name
    $outputService.RunAsAccount = $service.startName
    $outputService.StartupType = $service.startMode
    $outputService.Status = $null
    $output += $outputService
    Else {
    $outputinfo = @{}
    $outputinfo.Computername = $($ComputerName)
    $outputinfo.Connectivity = "Failed (ping)"
    $outputinfo.Type = $null
    $outputinfo.Name = $null
    $outputinfo.RunAsAccount = $null
    $outputinfo.StartupType = $null
    $outputinfo.Status = $null
    $output += $outputinfo
    Catch {
    Write-Verbose "An error occured connecting to computer $ComputerName"
    Write-Verbose $error[0].exception
    $outputinfo = @{}
    $outputinfo.Computername = $($ComputerName)
    $outputinfo.Connectivity = "Failed (RPC)"
    $outputinfo.Type = $null
    $outputinfo.Name = $null
    $outputinfo.RunAsAccount = $null
    $outputinfo.StartupType = $null
    $outputinfo.Status = $null
    $output += $outputinfo
    If ($logfile) {
    $ComputerName | Out-File -FilePath $Logfile -Append
    $error[0].exception | Out-File -FilePath $Logfile -Append
    Write-Verbose "Writing output object"
    If ($output) {
    Foreach ($ht in $output) {
    New-Object -TypeName PSObject -Property $ht
    Else {
    $outputinfo = @{}
    $outputinfo.Computername = $($ComputerName)
    $outputinfo.Connectivity = "Success"
    $outputinfo.Type = $null
    $outputinfo.Name = $null
    $outputinfo.RunAsAccount = $null
    $outputinfo.StartupType = $null
    $outputinfo.Status = $null
    New-Object -TypeName PSObject -Property $outputinfo
    Function Get-ScheduledTask {
    # Helper function by Claus Nielsen
    # http://www.powershellmagazine.com/2011/11/21/managing-scheduled-tasks-in-your-environment-part-i
    [CmdletBinding()]
    param(
    [Parameter(Mandatory=$true,ValueFromPipeline=$true,ValueFromPipelineByPropertyName=$true)]
    [String[]]$ComputerName,
    [Parameter(Mandatory=$false)]
    [String[]]$RunAsUser,
    [Parameter(Mandatory=$false)]
    [String[]]$TaskName,
    [parameter(Mandatory=$false)]
    [alias("WS")]
    [switch]$WithSpace
    BEGIN {
    $Script:Tasks = @()
    PROCESS {
    $schtasks = schtasks.exe /query /s $ComputerName /V /FO CSV | ConvertFrom-Csv
    Write-Verbose "Getting scheduled tasks from: $ComputerName"
    If ($schtasks) {
    Foreach ($task in $schtasks) {
    If ($task."Run As User" -match "$($RunAsUser)" -and $task.TaskName -match "$($TaskName)") {
    Write-Verbose "$ComputerName ($task.TaskName).replace('\','') $task.'Run As User' $task.Status"
    $task | Get-Member -MemberType Properties | ForEach -BEGIN {$hash=@{}} -PROCESS {
    If ($WithSpace) {
    ($hash.($_.Name)) = $task.($_.Name)
    Else {
    ($hash.($($_.Name).replace(" ",""))) = $task.($_.Name)
    } -END {
    $script:Tasks += (New-Object -TypeName PSObject -Property $hash)
    END {
    $Script:Tasks
    Begin {
    If ($LogFile) {
    New-Item -Path $Logfile -ItemType File -Force | Out-Null
    Process {
    If (($ToCheck -eq 'Services') -OR ($ToCheck -eq 'Both')) {
    Foreach ($computer in $ComputerName) {
    Get-RunAsAccountWorker -ComputerName $computer
    If (($ToCheck -eq 'Tasks') -OR ($ToCheck -eq 'Both')) {
    If ($RunAsUser) {
    $tasks = Get-ScheduledTask -ComputerName $ComputerName -RunAsUser $RunAsUser | Select-Object taskname,runasuser,status
    Else {
    $tasks = Get-ScheduledTask -ComputerName $ComputerName | Select-Object taskname,runasuser,status
    If ($tasks) {
    Foreach ($task in $tasks) {
    Write-Verbose "Processing task $($task.TaskName)"
    $outputtask = @{}
    $outputtask.Computername = $computerSystem.Name
    $outputtask.Connectivity = "Success"
    $outputtask.Type = "ScheduledTask"
    $outputtask.Name = $task.TaskName
    $outputtask.RunAsAccount = $task.RunAsUser
    $outputtask.StartupType = $null
    $outputTask.Status = $task.Status
    $output += $outputtask
    End {
    Write-Host 'end'

    Here is a fix for some but the script itself has coding errors.
    to test the blocking run with the -Verbose and no other selections. YOu will see each process/begin/end block called as required.
    <#
    .SYNOPSIS
    Get 'Run As'' value for services and/or scheduled tasks on a user-specified list of computers.
    .DESCRIPTION
    Users WMI and schtasks.exe to get the 'Run As' value for services and/or scheduled tasks on a user-specified list of computers. The script requires PowerShell version 2.
    .NOTES
    Author: Jan Egil Ring
    Blog: http://blog.powershell.no
    LastEdit: 22.11.2011
    .LINK
    .PARAMETER ComputerName
    Default value: localhost. The computer to perform action against. Accepts ValueFromPipeline and ValueFromPipelineByPropertyName.
    .PARAMETER RunAsUser
    Filters returned objects based on user or domain name.
    .PARAMETER ToCheck
    .PARAMETER Logfile
    Path to log-file (only errors are logged).
    .EXAMPLE
    .\getRunAsAccounts-Parameterized.ps1 -ComputerName srv01 -RunAsUser managed
    This example checks srv01 for services and scheduled tasks that have a "Run As" account with 'managed' in the name.
    .EXAMPLE
    .\getRunAsAccounts-Parameterized.ps1 -ComputerName srv01 -RunAsUser srvc
    This example checks srv01 for services and scheduled tasks that have a "Run As" account with 'srvc' in the name.
    .EXAMPLE
    .\getRunAsAccounts-Parameterized.ps1 -ComputerName (Get-Content c:\computernames.txt)
    This example get's a list of computer names from c:\computernames.txt and returns the run-as accounts for all services.
    .EXAMPLE
    Get-ADComputer -filter * | .\getRunAsAccounts-Parameterized.ps1 | Out-File c:\output.csv -NoTypeInformation
    This example get's a list of all computers in Active Directory and returns the run-as accounts for all services to a CSV file.
    #>
    #Requires -Version 2.0
    [CmdletBinding()]
    param(
    [Parameter(ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$True)]
    [string[]]$ComputerName = "localhost",
    [string]$RunAsUser,
    [ValidateSet("Services","Tasks","All")]
    [string]$ToCheck,
    [string]$Logfile
    Begin{
    Write-Host 'Begin called'
    Function Get-RunAsAccountWorker {
    param($ComputerName)
    Try {
    If ((Test-Connection -ComputerName $ComputerName -Quiet) -and ($ComputerSystem = Get-WmiObject -Class win32_ComputerSystem -Computername $ComputerName -ErrorAction Stop)) {
    Write-Verbose "Connected to computer $ComputerName"
    #$services = Get-WmiObject Win32_Service -filter "(StartName Like '[^NT Authority]%') AND (StartName <> 'localsystem')" -ComputerName $ComputerName -ErrorAction Stop | Select name,Startname,startmode
    $services = Get-WmiObject Win32_Service -Filter "(StartName Like '%$runAsUser%')" -ComputerName $ComputerName -ErrorAction Stop | Select-Object name,startname,startmode
    $output = @()
    If ($services) {
    Foreach ($service in $services) {
    Write-Verbose "Processing NIC $($service.name)"
    $outputService = @{}
    $outputService.Computername = $computerSystem.name
    $outputService.Connectivity = "Success"
    $outputService.Type = "Service"
    $outputService.Name = $service.name
    $outputService.RunAsAccount = $service.startName
    $outputService.StartupType = $service.startMode
    $outputService.Status = $null
    $output += $outputService
    Else {
    $outputinfo = @{}
    $outputinfo.Computername = $($ComputerName)
    $outputinfo.Connectivity = "Failed (ping)"
    $outputinfo.Type = $null
    $outputinfo.Name = $null
    $outputinfo.RunAsAccount = $null
    $outputinfo.StartupType = $null
    $outputinfo.Status = $null
    $output += $outputinfo
    Catch {
    Write-Verbose "An error occured connecting to computer $ComputerName"
    Write-Verbose $error[0].exception
    $outputinfo = @{}
    $outputinfo.Computername = $($ComputerName)
    $outputinfo.Connectivity = "Failed (RPC)"
    $outputinfo.Type = $null
    $outputinfo.Name = $null
    $outputinfo.RunAsAccount = $null
    $outputinfo.StartupType = $null
    $outputinfo.Status = $null
    $output += $outputinfo
    If ($logfile) {
    $ComputerName | Out-File -FilePath $Logfile -Append
    $error[0].exception | Out-File -FilePath $Logfile -Append
    Write-Verbose "Writing output object"
    If ($output) {
    Foreach ($ht in $output) {
    New-Object -TypeName PSObject -Property $ht
    Else {
    $outputinfo = @{}
    $outputinfo.Computername = $($ComputerName)
    $outputinfo.Connectivity = "Success"
    $outputinfo.Type = $null
    $outputinfo.Name = $null
    $outputinfo.RunAsAccount = $null
    $outputinfo.StartupType = $null
    $outputinfo.Status = $null
    New-Object -TypeName PSObject -Property $outputinfo
    Function Get-ScheduledTask {
    # Helper function by Claus Nielsen
    # http://www.powershellmagazine.com/2011/11/21/managing-scheduled-tasks-in-your-environment-part-i
    [CmdletBinding()]
    param(
    [Parameter(Mandatory=$true,ValueFromPipeline=$true,ValueFromPipelineByPropertyName=$true)]
    [String[]]$ComputerName,
    [Parameter(Mandatory=$false)]
    [String[]]$RunAsUser,
    [Parameter(Mandatory=$false)]
    [String[]]$TaskName,
    [parameter(Mandatory=$false)]
    [alias("WS")]
    [switch]$WithSpace
    BEGIN {
    $Script:Tasks = @()
    PROCESS {
    $schtasks = schtasks.exe /query /s $ComputerName /V /FO CSV | ConvertFrom-Csv
    Write-Verbose "Getting scheduled tasks from: $ComputerName"
    If ($schtasks) {
    Foreach ($task in $schtasks) {
    If ($task."Run As User" -match "$($RunAsUser)" -and $task.TaskName -match "$($TaskName)") {
    Write-Verbose "$ComputerName ($task.TaskName).replace('\','') $task.'Run As User' $task.Status"
    $task | Get-Member -MemberType Properties | ForEach -BEGIN {$hash=@{}} -PROCESS {
    If ($WithSpace) {
    ($hash.($_.Name)) = $task.($_.Name)
    Else {
    ($hash.($($_.Name).replace(" ",""))) = $task.($_.Name)
    } -END {
    $script:Tasks += (New-Object -TypeName PSObject -Property $hash)
    END {
    $Script:Tasks
    If ($LogFile) {
    New-Item -Path $Logfile -ItemType File -Force | Out-Null
    Process {
    Write-Verbose 'Process block executing'
    If (($ToCheck -eq 'Services') -OR ($ToCheck -eq 'Both')) {
    Foreach ($computer in $ComputerName) {
    Get-RunAsAccountWorker -ComputerName $computer
    If (($ToCheck -eq 'Tasks') -OR ($ToCheck -eq 'Both')) {
    If ($RunAsUser) {
    $tasks = Get-ScheduledTask -ComputerName $ComputerName -RunAsUser $RunAsUser | Select-Object taskname,runasuser,status
    Else {
    $tasks = Get-ScheduledTask -ComputerName $ComputerName | Select-Object taskname,runasuser,status
    If ($tasks) {
    Foreach ($task in $tasks) {
    Write-Verbose "Processing task $($task.TaskName)"
    $outputtask = @{}
    $outputtask.Computername = $computerSystem.Name
    $outputtask.Connectivity = "Success"
    $outputtask.Type = "ScheduledTask"
    $outputtask.Name = $task.TaskName
    $outputtask.RunAsAccount = $task.RunAsUser
    $outputtask.StartupType = $null
    $outputTask.Status = $task.Status
    $output += $outputtask
    End {
    Write-Verbose 'end called'
    We frequently write scripts that are advanced and use all of the elements defined for an advanced function.  Tisi has always been available since PowerShell V1.
    The issue is that ALL code must be contained in one of the three block types if nany one is used.  If none are used than all are assumed to be in the "Process" block. This is also true of functions.
    ¯\_(ツ)_/¯

  • Cannot optimize volume - Receive error "The specified extrinsic Method does not exist"

    When I try to optimize a volume on a server running Windows Server 2012 (R1). I receive the below error. This volume is an ISCSI target to our Compellent SAN. Other Servers don't have an issue with volumes created on the same SAN and I have already ran ChkDsk
    and it returned no errors. Oddly enough I can run a "Defrag T: /D" but a "Defrag T: /O" returns
    "Incorrect Function. (0x80070001)" (Incidentally an "Optimze-Volume T -Defrag" also works) 
    Any Ideas? I'm stumped!
    Command:
    Optimize-Volume -DriveLetter T -Verbose
    Error:
    VERBOSE: Invoking slab consolidation on iSCSI_SAN01_ExchLogFiles (T:)...
    VERBOSE: Slab Analysis:  100% complete.
    optimize-volume : The specified extrinsic Method does not exist.
    At line:1 char:1
    + optimize-volume -DriveLetter T -Verbose
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : MetadataError: (MSFT_Volume (Ob...2-a802-ba7e...):ROOT/Microsoft/...age/MSFT_Volume) [Optimize-Volume], CimException
        + FullyQualifiedErrorId : MI RESULT 17,Optimize-Volume

    I did stumble upon that article as well and working through it didn't help. This is an Exchange 2013 server but I wouldn't think that that would exclusively cause a problem like this (unless there is something under the hood that Exchange 2013 is secretly
    doing). The C drive is for the OS, the M drive is for the Exchange DB, and the
    T drive is for the Logs.  The C drive is "directly" connected and the M and T drives are on the same SAN (different LUNs) via iSCSI. This is running as a virtual guest on VMWare ESXi v5.5.  I have other servers setup the
    same way (not Exchange servers though) with drives on the iSCSI SAN and there are no issues when I run those Optimize-Volume commands. Here is some more output from the console:
    PS C:\Users\administrator> Optimize-Volume -DriveLetter T -Analyze -Verbose
    VERBOSE: Invoking slab consolidation on iSCSI_SAN01_ExchLogFiles (T:)...
    VERBOSE: Slab Analysis: 0% complete...
    Optimize-Volume : The specified extrinsic Method does not exist.
    At line:1 char:1
    + Optimize-Volume -DriveLetter T -Analyze -Verbose
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : MetadataError: (MSFT_Volume (Ob...2-a802-ba7e...):ROOT/Microsoft/...age/MSFT_Volume) [Optimize-Volume], CimException
    + FullyQualifiedErrorId : MI RESULT 17,Optimize-Volume
    PS C:\Users\administrator> Optimize-Volume -DriveLetter M -Analyze -Verbose
    VERBOSE: Invoking slab consolidation on iSCSI_SAN01_ExchMailStoreDB (M:)...
    VERBOSE: Slab Analysis: 0% complete...
    Optimize-Volume : The specified extrinsic Method does not exist.
    At line:1 char:1
    + Optimize-Volume -DriveLetter M -Analyze -Verbose
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : MetadataError: (MSFT_Volume (Ob...2-93f1-0050...):ROOT/Microsoft/...age/MSFT_Volume) [Optimize-Volume], CimException
    + FullyQualifiedErrorId : MI RESULT 17,Optimize-Volume
    PS C:\Users\administrator> Optimize-Volume -DriveLetter C -Analyze -Verbose
    VERBOSE: Invoking analysis on (C:)...
    VERBOSE: Analysis: 0% complete...
    VERBOSE: Analysis: 22% complete...
    # ... Repeated ...
    VERBOSE: Analysis: 94% complete...
    VERBOSE: Analysis: 99% complete...
    VERBOSE: Analysis: 100% complete...
    VERBOSE: Analysis: 100% complete.
    VERBOSE:
    Post Defragmentation Report:
    VERBOSE:
    Volume Information:
    VERBOSE: Volume size = 84.48 GB
    VERBOSE: Cluster size = 4 KB
    VERBOSE: Used space = 63.18 GB
    VERBOSE: Free space = 21.29 GB
    VERBOSE:
    Fragmentation:
    VERBOSE: Total fragmented space = 4%
    VERBOSE: Average fragments per file = 1.23
    VERBOSE: Movable files and folders = 153593
    VERBOSE: Unmovable files and folders = 6
    VERBOSE:
    Files:
    VERBOSE: Fragmented files = 2745
    VERBOSE: Total file fragments = 35394
    VERBOSE:
    Folders:
    VERBOSE: Total folders = 4819
    VERBOSE: Fragmented folders = 2
    VERBOSE: Total folder fragments = 2
    VERBOSE:
    Free space:
    VERBOSE: Free space count = 74005
    VERBOSE: Average free space size = 296.00 KB
    VERBOSE: Largest free space size = 409.42 MB
    VERBOSE:
    Master File Table (MFT):
    VERBOSE: MFT size = 308.00 MB
    VERBOSE: MFT record count = 315391
    VERBOSE: MFT usage = 100%
    VERBOSE: Total MFT fragments = 4
    VERBOSE: Note: File fragments larger than 64MB are not included in the fragmentation statistics.
    VERBOSE:
    You do not need to defragment this volume.

  • CVU ERROR:Unable to retrieve database release version

    Hi all, I want to install RAC on three nodes,but when I run "cluvfy" as ORACLE user, I got errors:
    ./runcluvfy.sh stage -pre crsinst -n nrac1,nrac2,nrac3 -verbose
    ERROR:
    Unable to retrieve database release version.
    Verification cannot proceed.
    but the ROOT user can run it with few errors , why?
    how can I do ?

    I was getting this same mysterious error immediately after a successful CRS install. The command I was running was "runcluvfy.sh stage -pre dbinst -n node1" from my stage directory. All previous executions worked correctly. My thought now is that the CRS install added JRE files that interrupt its paths; still not sure though.
    The MetaLink article referenced above was very helpful in the end but only after I paid special attention to the wording at the very bottom. Originally, I dismissed the article because it is primarily for Solaris; while we are using Red Hat AS 4 update 5. However, in the very last sentence it states the following:
    "Note: If you encounter same error for cluvfy stage -pre crsinst -n node on Linux x86-64 platform before CRS installation, please check if jdk 1.5 is installed. cluvfy works with jdk 1.4. Please install jdk 1.4 or install CRS and run cluvfy from CRS installation."
    Ah, we had also installed JSE 6. And sure enough executing 'java -version' showed that it was picking up the path to JSE 6 not the 1.4.
    So, following the note in the above article, I did two things. First, I changed the CV_HOME variable to $ORACLE_HOME/bin and ran 'which cluvfy' to verify the correct location. Second, I executed "cluvfy.sh stage -pre dbinst -n node1". It worked!

  • DB_RUNRECOVERY: Fatal error, run database recovery

    I am getting this error when trying to add data to QUEUE. But after I restart my app, this error does not happen anymore.
    2009-08-16 10:27:12.558990 [ERR] mod_cdr_bdb.c:370 Unable to add cdr to Queue. Error=DB_RUNRECOVERY: Fatal error, run database recovery
    Does anyone know what could be the cause of the error?

    Hi,
    Do you know the steps that lead up to this error? Can you reproduce it?
    Were there any error messages sent to the error log file? Can you confirm that you have verbose error messages turned on by always initializing one of the error callback interfaces in your environment. This will provide verbose error messages:
    DB_ENV->set_errcall, DB_ENV->set_errfile, DB_ENV->set_errpfx, and DB_ENV->set_verbose.
    What flags are you using when opening the environment and the database?
    The procedure you have to follow when you receive this error is described here: [DB_RUNRECOVERY|http://www.oracle.com/technology/documentation/berkeley-db/db/ref/program/errorret.html#DB_RUNRECOVERY]
    DB_RUNRECOVERY:
    There exists a class of errors that Berkeley DB considers fatal to an entire Berkeley DB environment. An example of this type of error is a corrupted database page. The only way to recover from these failures is to have all threads of control exit the Berkeley DB environment, run recovery of the environment, and re-enter Berkeley DB. (It is not strictly necessary that the processes exit, although that is the only way to recover system resources, such as file descriptors and memory, allocated by Berkeley DB.)
    When this type of error is encountered, the error value DB_RUNRECOVERY is returned. This error can be returned by any Berkeley DB interface. Once DB_RUNRECOVERY is returned by any interface, it will be returned from all subsequent Berkeley DB calls made by any threads of control participating in the environment.
    Applications can handle such fatal errors in one of two ways: first, by checking for DB_RUNRECOVERY as part of their normal Berkeley DB error return checking, similarly to DB_LOCK_DEADLOCK or any other error. Alternatively, applications can specify a fatal-error callback function using the DB_ENV->set_event_notify method. Applications with no cleanup processing of their own should simply exit from the callback function.Thanks,
    Bogdan Coman

Maybe you are looking for

  • E71 wifi connection works in browser, but not with...

    I need help badly. On my Nokia E71 I can easily connect to a wireless network and browse the web from the browser. But when I try to read my Gmail from the mail client on the phone I get an error message "Unable to connect to e-mail server". The sett

  • Search with multiple values in only one field

    Hello there, I have this query to get the results when the user make a search query: select * from ( select "ID", "ID" ID_DISPLAY, "SHIFT_DATE", "SHIFT", "OFFENSE_ID", "DESCRIPTION", "ANALYST", "STATUS", "SUBSTATUS" from "#OWNER#"."IDSIEM_OFFENSES")

  • Cannot uninstall Exchange 2007

    When I try to uninstall Exchange 2007 I get the following error under the Mailbox Role. The virtual directory 'ExchWeb' already exists under 'server.domain.com/Default Web Site' Parameter Name: VirtualDirectoryName. I actually tried removing the Exch

  • Cannot view any picture

    i cant view any of my pic in my photos gallary....i had facing dis problem frequently...and its work simply when i restart it and some days latter its happen again...i cant understand why is this.....can anybody know this??plz help

  • Fiori  web service  GetEntity single record show multiple times

    Hi Guys I have created Purchase Order GetEntity Web Service. In single Purchase order there are multiple Products. I have show that products in Line Item. In that line item a single records show multiple times. From Netweaver Geteway  GetEntity  serv