Fulfillment status check failed
When I run the fulfillment status check page (or the admin/packaging pages), the HTTP server checks out OK, but I fail the check for the app server.
In the logs I get the following error message:
org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet Status as unavailable
org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Allocate exception for servlet Status
Any ideas on how I can fix this issue? I thought that it might somehow be getting hung up on the "Adobe Signing Server" step, since that step gets stuck on "Connecting..." and I have been unable to get the certificate, but I opened a separate discussion for that
Not sure exactly what is causing it but I doubt that this is an SAP problem.
The error message you are getting has only the word TEST in it and the message number starts with a Z. SAP doesn't start their message numbers with Z. It is used for customer objects. This tells me that the message you are seeing is a custom one someone in your company has created and is causing to display. Chances are it is being used in a user exit as part of development. If this is in your production system, I would say you have a problem as a TEST message like that shouldn't show up. It should either be a real message with additional information or it should have been removed before moving to production.
I would have a developer run this in debug. Chances are you'll find a user exit in use that is causing this.
FF
Similar Messages
-
I have tried everything I have found online to get my DigiCert to work.
I have exported the cert and imported it into my child domains and they look perfect.
It is just my parent domain having issues.
netsh winhttp show proxy
does show my correct proxy server for http and https and port 8080
I have tried name, FQDN and IP address.
In the Bypass-list I have tried none, *.domain.com, and a list of all domains and child domains in my forest.
I have flushed the cache
certutil -urlcache crl delete
certutil -urlcache ocsp delete
and rebooted the Exchange 2010 (Windows 2008 R2) server
No matter what, I still see in my Server Configuration for the parent domain's DigiCert cert the message
The certificate status could not be determined because the revocation check failed.
with a red X on the left hand icon. Again, Child domains all say "The certificate is valid for Exchange Server usage."
Note: In spite of having the red X, I was able to assign via EMS the services.
Webmail works fine. Outlook Anywhere fails... I suspect it is due to my red X problem.
Suggestions?
Thanks in Advance
Jim.
Jim.I have contacted DigiCert and they said the cert is working per their utility, hence the problem is outside the scope of their support.
I have followed, several times, http://support.microsoft.com/kb/979694
http://www.digicert.com/help/ reports all is well.
The DigiCertUtil.exe reports all is well and happy.
I have run
netsh winhttp set proxy proxy-server="http=myproxy:8080;https=myproxy:8080" bypass-list="*.mydomain.com"
Current WinHTTP proxy settings:
Proxy Server(s) : http=myproxy:8080;https=myproxy:8080
Bypass List : *.mydomain.com
I have flushed the cache using the commands
certutil -urlcache crl delete
certutil -urlcache ocsp delete
I still see in my Server Configuration for the parent domain's DigiCert cert the message
"The certificate status could not be determined because the revocation check failed."
with a red X on the left hand certificate icon.
To verify the cert via command line:
certutil -verify -urlfetch c:\mail_domain_com.cer
LoadCert(Cert) returned ASN1 bad tag value met. 0x8009310b (ASN: 267)
CertUtil: -verify command FAILED: 0x8009310b (ASN: 267)
CertUtil: ASN1 bad tag value met.
I suspect this is why I cannot get Outlook Anywhere to connect.
Child domains show a happy certificate icon. Parent domain does not.
Still scratching my head.
Thanks all!
Jim. -
EMC - Certificate status could not be determined because revocation check failed.
I've exhausted my resources on this issue and am reaching out for some assistance. I have setup Server 2008 R2 Enterprise SP1, running Exchange 2010 SP1. In EMC I have successfully imported a GoDaddy SSL certificate. Although I am receiving the message -
"The certificate status could not be determined because the revocation check failed."
Here are the steps I've taken to troubleshoot this so far:
[PS] C:\Users\Administrator\Desktop>netsh winhttp show proxy
Current WinHTTP proxy settings:
Direct access (no proxy server).
As you can see, direct access. Which is true, no proxy's on this network.
For good measure, I'll dump the urlcache.
certutil -urlcache ocsp delete
certutil -urlcache crl delete
Both return 0, reboot server.
Comes back up, same message in EMC.
From PS, I test exactly what its getting from GoDaddy.
[PS] C:\Users\Administrator\Desktop>certutil -f -urlfetch -verify mail.fluxlabs.net.crt
Issuer:
SERIALNUMBER=07969287
CN=Go Daddy Secure Certification Authority
OU=http://certificates.godaddy.com/repository
O=GoDaddy.com, Inc.
L=Scottsdale
S=Arizona
C=US
Subject:
CN=mail.fluxlabs.net
OU=Domain Control Validated
O=mail.fluxlabs.net
Cert Serial Number: 27b60918638e0d
dwFlags = CA_VERIFY_FLAGS_ALLOW_UNTRUSTED_ROOT (0x1)
dwFlags = CA_VERIFY_FLAGS_IGNORE_OFFLINE (0x2)
dwFlags = CA_VERIFY_FLAGS_FULL_CHAIN_REVOCATION (0x8)
dwFlags = CA_VERIFY_FLAGS_CONSOLE_TRACE (0x20000000)
dwFlags = CA_VERIFY_FLAGS_DUMP_CHAIN (0x40000000)
ChainFlags = CERT_CHAIN_REVOCATION_CHECK_CHAIN (0x20000000)
HCCE_LOCAL_MACHINE
CERT_CHAIN_POLICY_BASE
-------- CERT_CHAIN_CONTEXT --------
ChainContext.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
ChainContext.dwErrorStatus = CERT_TRUST_REVOCATION_STATUS_UNKNOWN (0x40)
ChainContext.dwErrorStatus = CERT_TRUST_IS_OFFLINE_REVOCATION (0x1000000)
SimpleChain.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
SimpleChain.dwErrorStatus = CERT_TRUST_REVOCATION_STATUS_UNKNOWN (0x40)
SimpleChain.dwErrorStatus = CERT_TRUST_IS_OFFLINE_REVOCATION (0x1000000)
CertContext[0][0]: dwInfoStatus=102 dwErrorStatus=1000040
Issuer: SERIALNUMBER=07969287, CN=Go Daddy Secure Certification Authority, OU=http://certificates.godaddy.com/repository, O="GoDaddy.com, Inc.", L=S
cottsdale, S=Arizona, C=US
NotBefore: 8/20/2011 7:49 PM
NotAfter: 8/20/2012 7:16 PM
Subject: CN=mail.fluxlabs.net, OU=Domain Control Validated, O=mail.fluxlabs.net
Serial: 27b60918638e0d
SubjectAltName: DNS Name=mail.fluxlabs.net, DNS Name=www.mail.fluxlabs.net
33 49 57 5d 6e d8 6b aa b9 61 73 95 44 07 c9 2e 55 6e 47 10
Element.dwInfoStatus = CERT_TRUST_HAS_KEY_MATCH_ISSUER (0x2)
Element.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
Element.dwErrorStatus = CERT_TRUST_REVOCATION_STATUS_UNKNOWN (0x40)
Element.dwErrorStatus = CERT_TRUST_IS_OFFLINE_REVOCATION (0x1000000)
---------------- Certificate AIA ----------------
Verified "Certificate (0)" Time: 4
[0.0] http://certificates.godaddy.com/repository/gd_intermediate.crt
---------------- Certificate CDP ----------------
Expired "Base CRL (05)" Time: 4
[0.0] http://crl.godaddy.com/gds1-55.crl
---------------- Base CRL CDP ----------------
No URLs "None" Time: 0
---------------- Certificate OCSP ----------------
Expired "OCSP" Time: 4
[0.0] http://ocsp.godaddy.com/
CRL (null):
Issuer: CN=Go Daddy Validation Authority, OU=http://certs.godaddy.com/repository/, O="GoDaddy.com, Inc.", L=Scottsdale, S=Arizona, C=US
e5 53 19 6c 54 87 8c 62 23 1b b9 11 e1 d8 3d 3f b2 04 77 3f
Issuance[0] = 2.16.840.1.114413.1.7.23.1
Application[0] = 1.3.6.1.5.5.7.3.1 Server Authentication
Application[1] = 1.3.6.1.5.5.7.3.2 Client Authentication
CertContext[0][1]: dwInfoStatus=102 dwErrorStatus=0
Issuer: OU=Go Daddy Class 2 Certification Authority, O="The Go Daddy Group, Inc.", C=US
NotBefore: 11/15/2006 8:54 PM
NotAfter: 11/15/2026 8:54 PM
Subject: SERIALNUMBER=07969287, CN=Go Daddy Secure Certification Authority, OU=http://certificates.godaddy.com/repository, O="GoDaddy.com, Inc.", L=
Scottsdale, S=Arizona, C=US
Serial: 0301
7c 46 56 c3 06 1f 7f 4c 0d 67 b3 19 a8 55 f6 0e bc 11 fc 44
Element.dwInfoStatus = CERT_TRUST_HAS_KEY_MATCH_ISSUER (0x2)
Element.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
---------------- Certificate AIA ----------------
No URLs "None" Time: 0
---------------- Certificate CDP ----------------
Verified "Base CRL" Time: 4
[0.0] http://certificates.godaddy.com/repository/gdroot.crl
---------------- Base CRL CDP ----------------
No URLs "None" Time: 0
---------------- Certificate OCSP ----------------
Expired "OCSP" Time: 4
[0.0] http://ocsp.godaddy.com
CRL (null):
Issuer: OU=Go Daddy Class 2 Certification Authority, O="The Go Daddy Group, Inc.", C=US
da 1e d5 63 5c 05 58 50 4e db d2 4e e8 9d 28 9d c4 36 b3 1e
Application[0] = 1.3.6.1.5.5.7.3.1 Server Authentication
Application[1] = 1.3.6.1.5.5.7.3.2 Client Authentication
Application[2] = 1.3.6.1.5.5.7.3.4 Secure Email
Application[3] = 1.3.6.1.5.5.7.3.3 Code Signing
CertContext[0][2]: dwInfoStatus=109 dwErrorStatus=0
Issuer: OU=Go Daddy Class 2 Certification Authority, O="The Go Daddy Group, Inc.", C=US
NotBefore: 6/29/2004 12:06 PM
NotAfter: 6/29/2034 12:06 PM
Subject: OU=Go Daddy Class 2 Certification Authority, O="The Go Daddy Group, Inc.", C=US
Serial: 00
27 96 ba e6 3f 18 01 e2 77 26 1b a0 d7 77 70 02 8f 20 ee e4
Element.dwInfoStatus = CERT_TRUST_HAS_EXACT_MATCH_ISSUER (0x1)
Element.dwInfoStatus = CERT_TRUST_IS_SELF_SIGNED (0x8)
Element.dwInfoStatus = CERT_TRUST_HAS_PREFERRED_ISSUER (0x100)
---------------- Certificate AIA ----------------
No URLs "None" Time: 0
---------------- Certificate CDP ----------------
No URLs "None" Time: 0
---------------- Certificate OCSP ----------------
No URLs "None" Time: 0
Application[0] = 1.3.6.1.5.5.7.3.1 Server Authentication
Application[1] = 1.3.6.1.5.5.7.3.2 Client Authentication
Application[2] = 1.3.6.1.5.5.7.3.4 Secure Email
Application[3] = 1.3.6.1.5.5.7.3.3 Code Signing
Exclude leaf cert:
b1 04 4b 90 a1 d3 48 de 46 bd d7 50 20 e3 44 b8 3f 68 39 f7
Full chain:
68 36 4d 37 2e 96 bd d2 aa 77 3f d0 e8 78 a9 e6 68 bd 7d 71
Verified Issuance Policies:
2.16.840.1.114413.1.7.23.1
Verified Application Policies:
1.3.6.1.5.5.7.3.1 Server Authentication
1.3.6.1.5.5.7.3.2 Client Authentication
Cert is an End Entity certificate
ERROR: Verifying leaf certificate revocation status returned The revocation function was unable to check revocation because the revocation server was
offline. 0x80092013 (-2146885613)
CertUtil: The revocation function was unable to check revocation because the revocation server was offline.
CertUtil: -verify command completed successfully.
As you can see, the "revocation server is offline."
So I run the same test from another server on the LAN.
Verified Issuance Policies:
2.16.840.1.114413.1.7.23.1
Verified Application Policies:
1.3.6.1.5.5.7.3.1 Server Authentication
1.3.6.1.5.5.7.3.2 Client Authentication
Cert is an End Entity certificate
Leaf certificate revocation check passed
CertUtil: -verify command completed successfully.
It passes. The server's firewall has been disabled. DNS cache has been cleared. I have verified everything I can, and still failing to verify.[PS] C:\Users\Administrator\Desktop>Get-ExchangeCertificate |fl
AccessRules : {System.Security.AccessControl.CryptoKeyAccessRule, System.Security.AccessControl.CryptoKeyAccessRule, System.Security.Acces
trol.CryptoKeyAccessRule}
CertificateDomains : {mail.fluxlabs.net, www.mail.fluxlabs.net}
HasPrivateKey : True
IsSelfSigned : False
Issuer : SERIALNUMBER=07969287, CN=Go Daddy Secure Certification Authority, OU=http://certificates.godaddy.com/repository, O="GoDaddy
, Inc.", L=Scottsdale, S=Arizona, C=US
NotAfter : 8/20/2012 7:16:57 PM
NotBefore : 8/20/2011 7:49:30 PM
PublicKeySize : 2048
RootCAType : ThirdParty
SerialNumber : 27B60918638E0D
Services : IMAP, POP, IIS, SMTP
Status : RevocationCheckFailure
Subject : CN=mail.fluxlabs.net, OU=Domain Control Validated, O=mail.fluxlabs.net
Thumbprint : 3349575D6ED86BAAB96173954407C92E556E4710
[PS] C:\Users\Administrator\Desktop>Enable-ExchangeCertificate -Thumbprint 3349575D6ED86BAAB96173954407C92E556E4710 -Services POP,IMAP,SMTP,IIS
The command has already been executed. Yes, I have seen those sites. Neither have worked. Like I said, it is directly connected; and no proxies are set.
-- Jeremy MCSpadden Flux Labs -
Revocation checked failed status in Certificate on Exchange 2013
Hi,
Got error in certificate that we have get from Godaddy for exchange 2013 which was earlier working fine, but now getting error on status that Revocation checked failed and because of that in outlook user getting certificate error.
please suggest to fix this issue.We've had this error before, and it was solved by configuring the proxy settings.
> via netsh winhttp set proxy
> set-exchangeserver InternetWebProxy setting (don't know if still
applicable in Exchange2013)
> iexplorer proxy settings
ps : You can also
check the crl location, when you take a look into the properties of the certificate. (crl distribution points) -
How can I stop a task sequence if a custom HTA preflight check fails?
In our currently deployment method, we launch an HTA program before initiating the OSD process. This is only when run from the RAP menu, not via PXE. When a user initiates OSD through that menu, they get a message prompting them to close Outlook, and
a countdown of 5 mins, then OSD starts. They also have the ability to click on an 'OK' button to proceed on their own.
I've created a new script which checks WMI if Outlook and/or OCS are open, and if the machine is running on battery, spit out a "Failed" response and stop the HTA. I've also added a "recheck" button to re-do the check, and an 'OK
button if people jsut want to continue.
I'm curious if there is a way to prevent the task sequence from continuing if any of those conditions arent met. Currently it just pops up and says "Failed, Cannot conitue", but if they close the window, the task sequence thinks the program
has run, and the OSD migration starts. I'd like to be able and get the script to cancel the OSD process if a check fails.
Has anyone had success with this, using WINXP? I'd use the MS pre-flight check but it's only for WIN7.Interesting. Thanks for the response. Is there anybody out there that can assist with VBS part of the solution?
Here's the code I'm working with. Currently the battery piece isnt working as it should but I can figure that our, eventually. I'd like to get Jason's proposed solution in the code. If this isn't the right place, I'll take this somewhere
else.
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>OSD Preflight checks</title>
<HTA:APPLICATION
APPLICATIONNAME="OSD Preflight checks"
ID="objOSDPreReqChecks"
SCROLL="no"
CONTEXTMENU="no"
SINGLEINSTANCE="no"
MAXIMIZEBUTTON="no"
MINIMIZEBUTTON="no"
WINDOWSTATE="normal"/>
<!-- #region STYLEs-->
<style type="text/css">
H1{color:Black;text-align:center;font-family: Arial, Helvetica, sans-serif;font-size: 26px;}
p{font-family:"Arial";font-size:10px;}
fail{color:Red;text-align:center;}
.Version {float:left; font-size:1.0em;font-style:italic;color:#888888;font-weight:bold;}
.Header1 {width: 180px; text-align: right;font-weight:bold;}<!-- '1st column heading -->
H2 {font-family: Arial, Helvetica, sans-serif; text-align: center;}
H3 {font-style: italic;}
.style2 {width: 180px; text-align: left;}
.Header2 {width: 150px; text-align: right;font-weight:bold;}<!-- '2nd column heading -->
.style4 {width: 410px; text-align: left;}
.StatusBar
font-family: Arial, Helvetica, sans-serif;
text-align: center;
.hidden {display: none; visibility: hidden;}
</style><!-- #endregion -->
</head>
<script language="VBScript" type="text/vbscript">
'======================================================================================
' Script
' Version
' Purpose To check a machine is suitable for taking an OS deployment
'======================================================================================
'Features
' Modular design
' Verbose "Debug Mode"
' In-built data validation
' Custom error handling
' Custom error codes - 90x0
' Generic WMI handler
'BUGfix: Change CLng to CDbl to avoid overflow (in GetRAM)
'fixed - moved head section to top to become head > script > body
'fixed - fCheckModel display with leading ,
'fixed - fgetmodels dictionary list
Option Explicit
' #region GLOBAL DECLARATIONS: Persistent fold region
'======================================================================================
'GLOBAL Vars
'Things to just display (in GUI)
Dim strRAM
Dim strCPUInfo
Dim strCPUName
Dim strCPUDesc
Dim iCPUCount
Dim iCPUCoreCount
Dim iRAM
Dim strBIOSver, strBIOSDate, strBIOSInfo
'Time related
Dim TimerInterval 'timer to refresh HTA at start
Dim iTimer 'abort timer
Const iAbortTimeout=300000 'delay before window closes (in milliseconds)
Dim pbTimerID
Dim pbHTML
Dim pbWaitTime
Dim pbHeight
Dim pbWidth
Dim pbBorder
Dim pbUnloadedColor
Dim pbLoadedColor
Dim pbStartTime
'Dictionary
Dim objModelsDict,colKeys,strKey 'models
Dim objApprovedMakesDict
'Misc GLOBAL vars
Dim blnDebug 'set TRUE to trigger debug mode
Dim bAbortBuild 'Boolean flag to abort or not abort
Dim strTemp 'throwaway/scratch
Dim strNamespace 'wmi default namespace for ANY machine
Dim strComputer 'wmi reference to current machine, just .
Dim strService 'WMI service
Dim strQuery 'custom WQL
Dim ErrMsg 'custom error messages
Dim iErrMode 'State machine for error mode
Dim lFlags 'WMI flag
Dim strDisks
'Pre-requisites - things that will cause build to abort if values do not meet spec
Dim strHTAVendor 'Make of hardware
Dim strHTAVendorState
Dim strHTAModel 'Model of hardware
Dim strHTAModelState 'Model state
Dim strHTARAM 'RAM
Dim strHTARAMState 'RAM state
Dim strHTACPUSpeed 'Processor speed
Dim strHTACPUCores 'Number of cores
Dim strHTACPUFullInfo 'CPU + cores
Dim strHTAHDD 'Disk info
Dim strHTAHDDState 'Disk state
Dim strHTACheckRAW 'NTFS check
Dim strHTAArchitecture 'Processor support
Dim strHTAProduct 'Product ID
Dim strHTAOutlook 'Outlook running
Dim strHTAOutlookState 'Outlook state
Dim strHTABattery 'Battery check
Dim strHTABatteryState 'Battery state
'for WQL filters
Dim strWQLPCInfo 'Pre-req - (1) for various inc. domain role (servers)
Dim strWQLRAM 'Pre-req - (2) RAM
Dim strWQLCPU 'Pre-req - CPU speed string (not int)
Dim strWQLBootOrder 'Pre-req - Boot order string
Dim strWQLSATAMode 'Pre-req - HDD mode
Dim strWQLGenericBIOS
Dim strWQLCPUCount 'Pre-req - how many CPUs
Dim strWQLCPUInfo
Dim strWQLFSType 'Pre-req - Check HDD not RAW (i.e. is NTFS)
Dim strWQLDisks 'Disks
Dim strWQLChassis 'Machine type
Dim strWQLID 'Unique code from OEM
Dim strWQLProc 'is Outlook running = False
Dim strWQLBattery 'is on Battery = False
'State
Const cProblem = " Problem!"
Const cRunAgain =" RunCheck: Run System Check Again"
Const cSuccess = " Success!"
Const cPassed=" Pass"
Const cFail=" Fail"
'Pre-requisite to check: SET VALUES HERE vvvvvvvvvvvvvvvv
Const cApprovedOEM="Hewlett-Packard"
Const LegacyOEM1="Dell Inc."
Const LegacyOEM2="IBM"
Const cMinimumMemoryMB = 1000 'RAM in MB
'Const cMinimumMemoryMB = 1000000 'force fail test data RAM in MB
Const cMinFS="NTFS"
' Const cMinFS="HPFS" 'force fail test data
Const iMinCores=1
'Const iMinCores=10099 'force fail cores test data
Const iMinCPUSpeed=2 '20 'in GHz
'Const iMinCPUSpeed=90000 'in GHz
Const iMinCPUArch=32
'Const iMinCPUArch=64
' #endregion
' To hide anything use ID.className = "hidden", to show set to "", e.g. NotFoundArea.className = "hidden"
Sub Window_Onload
Err.Clear
VersionSpan.InnerText = objOSDPreReqChecks.Version 'Get version
self.focus
self.moveTo 100,100 'Move window top left
StatusBar.InnerText="Validating machine..."
document.body.style.cursor = "wait" 'hourglass cursor
'Call PreflightChecks 'use for testing as a VBS only, otherwise HTA timer will call below
TimerInterval = window.setInterval("PreflightChecks",10)
End Sub
Function PreflightChecks
' #region HEADER NOTES: Persistent fold region
'Version history
'ver 5 OCTOBER 2011 - added error handler
'ver 3rd Nov - removed HPonly queries
'// Solution: Custom Script for use with MDT - Adapted from hardwareinfo.vbs Mikael Nystrom – http://deploymentbunny.com
'Typical BIOS content
'Processor Speed = 2133/1066 MHz
'Boot Order = Network Controller,ATAPI CD-ROM Drive,USB device,Hard Drive,Diskette Drive,PnP Device #2,PnP Device #3,PnP Device #4,PnP Device #5,PnP Device #6,PnP Device #7,PnPe #8,PnP Device #9,PnP Device #10,PnP Device #11
'SATA (disk) mode: *IDE,--,RAID,-- or IDE,*AHCI,RAID
'On Error Resume Next
' #endregion
' #region CONSTANTS: Persistent fold region
'======================================================================================
'Fields available in HP BIOS
Const sAsset = "Notebook Asset Tag"
Const sOwner = "Notebook Ownership Tag"
Const sMan = "Manufacturer"
Const sNoteModel = "Notebook Model"
Const sCPU = "Processor Type"
Const sCPUSpeed = "Processor Speed"
Const sRAM = "Memory Size"
Const sModel = "Product Name"
Const sBIOSName ="System BIOS"
Const sBIOSVer = "BIOS Version"
Const sBIOSDate = "BIOS Date"
'Other BIOS stuff you could use too
'Const sOwnerTag = "Enter Ownership Tag"
'Const sBIOS = "PCID"
'Const sBIOS = "Define Custom URL"
'Const sBIOS = "Set Alarm Time"
'Const sBIOS = "PCID Version"
Const TextMode="1" 'text case sensitive for dict obj
'WMI core constants
Const wbemFlagReturnImmediately = 16 'wmi - Causes the call to return immediately.
Const wbemFlagForwardOnly = 32 'wmi - Causes a forward-only enumerator to be returned.
'Forward-only enumerators are generally much faster and
'use less memory than conventional enumerators, but don't allow calls to SWbemObject.Clone_
'Advisory config values - as in "you want to the change these"
Dim strHTABootOrder
Dim strHTASATAMode
'Dim strHTACPU
' #endregion
'======================================================================================
' #region WQL: Persistent fold region
lFlags = wbemFlagReturnImmediately + wbemFlagForwardOnly
'Queries of things to check (HP)
strWQLBootOrder = "select Name, value from HP_BIOSSetting where Name='Boot order'"
strWQLSATAMode = "select Name, value from HP_BIOSSetting where (Name='SATA emulation' or name='SATA device mode')"
strWQLDisks ="SELECT * FROM Win32_DiskDrive where mediatype like 'Fixed%hard disk%'" 'win32_disk only avail after W7
strWQLFSType ="SELECT * from Win32_LogicalDisk where DriveType='3'" 'only bother with HDDs
'Generic WMI query strings
strWQLGenericBIOS="SELECT Manufacturer,SMBIOSBIOSVersion,ReleaseDate FROM Win32_BIOS WHERE PrimaryBIOS = True"
strWQLCPUCount= "SELECT NumberOfProcessors,NumberOfLogicalProcessors from Win32_ComputerSystem"
strWQLCPUInfo="SELECT Name,DataWidth,description,MaxClockSpeed,NumberofCores,NumberOfLogicalProcessors from Win32_Processor"
strWQLPCInfo="SELECT Domain,DomainRole,SystemType,Manufacturer,Model,TotalPhysicalMemory FROM Win32_ComputerSystem"
' strWQLPCInfo="SELECT Domain,DomainRole,SystemType,Manufacturer FROM Win32_ComputerSystem"
strWQLChassis="SELECT ChassisTypes from Win32_SystemEnclosure"
strWQLID="SELECT IdentifyingNumber,UUID from Win32_ComputerSystemProduct"
strWQLRAM="SELECT * FROM Win32_PhysicalMemory"
strWQLProc="SELECT * FROM Win32_Process"
strWQLBattery="SELECT * FROM BatteryStatus Where Voltage > 0"
' #endregion
' #region MAIN algorithm
'=====================================================================================================
' MAIN
'Algorithm
'1) Check make (vendor)
'2) Check model (in list)
'3) Check RAM >x
'4) Check HDD TYPE (HDD is not RAW)
'5) Check CPU architecture
'6) Check outlook
'7) Check battery
'=====================================================================================================
'Initialise
window.clearInterval(TimerInterval) 'Reset timer to 0
' blnDebug=True
blnDebug=False
bAbortBuild=False 'default to DON'T abort
' bAbortBuild=True
'Build list of approved vendors
Set objApprovedMakesDict = CreateObject("Scripting.Dictionary")
objApprovedMakesDict.comparemode=VBTextCompare
objApprovedMakesDict.add cApprovedOEM,"OK"
objApprovedMakesDict.add LegacyOEM1,"OK"
objApprovedMakesDict.add LegacyOEM2,"OK"
objApprovedMakesDict.add "Lenovo","Testdata"
If blnDebug Then Stop
'1) all machines check make
strHTAVendor=fCheckVendor(strWQLGenericBIOS) 'check vendor in BIOS - if vendor not approved ABORT without proceeding
If bAbortBuild=True Then
StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "FATAL ERROR - goodbye cruel world"
iTimer = window.setTimeout("Abort", iAbortTimeout, "VBScript")
Else
StatusBar.InnerText="Vendor: " & strHTAVendor & vbTab & " " & strHTAVendorState
'2) Discover current Model
strHTAModel=fGetModelName(strWQLPCInfo) 'get model name from WMI
strHTAModel=fUniversalCheckData(strHTAModel,"'Discover Model - fGetModelName'") 'validate
Call fGetModels 'get list of all valid models (from text file)
strHTAModel=fCheckModel(strHTAModel)
'2a) Model number (optional)
strHTAProduct=fGetComputerSystemProdIDNumber(strWQLID) 'manufacturer's product ID
strHTAProduct=fUniversalCheckData(strHTAProduct,"'Discover ID - fGetComputerSystemProdIDNumber'")
' StatusBar.InnerText=StatusBar.InnerText & VbCrLf & vbTab & "Product Code: " & vbTab & strHTAProduct
'3) Check installed Memory
strHTARAM=fGetRAM(strWQLRAM) 'find RAM size
strHTARAM=fUniversalCheckData(strHTARAM,"'Detect RAM - fCheckRAM'")
strHTARAM=fCheckRAM(strHTARAM) 'check RAM meets req
If strHTARAMState=cFail Then Exit Function
'4) Disk format IS NTFS
strDisks=fGetDrives(strWQLFSType) 'Get formatting info for all drives
strHTACheckRAW=fUniversalCheckData(strDisks,"'Detect filesystem - fCheckNTFS'") 'Validate data
strHTACheckRAW=fCheckNTFS(strDisks) 'Check FS format is acceptable (not RAW)
If strHTACheckRAW=cFail Then Exit Function
'Generic CPU calls
strHTACPUFullInfo="CPUs:" & fGetCPUInfo(strWQLCPUInfo) & " with CPU cores:" & iCPUCoreCount
strBIOSInfo="BIOS version: " & strBIOSver & ", dated " & strBIOSDate
'5a) CPU Speed check (info from http://www.robvanderwoude.com/wmiexamples.php)
strCPUInfo=WMI(strWQLCPUInfo,strNamespace) 'Get CPU details
strTemp=split(strCPUInfo,"@"): strHTACPUSpeed=strTemp(1)
strHTACPUSpeed=fUniversalCheckData(strHTACPUSpeed,"'Check processor - fCheckCPUSpeed'") 'Validate data
strHTACPUSpeed=fCheckCPUSpeed(strHTACPUSpeed) 'Check CPU clock speed
'5b) cores check
strHTACPUCores=fUniversalCheckData(iCPUCoreCount,"Check core count - fCheckCores") 'Validate data
iCPUCoreCount=fCheckCores(iCPUCoreCount) 'pass or fail?
'5c) CPU address width
strHTAArchitecture=fUniversalCheckData(strHTAArchitecture,"Check core count - fCheckCores") 'Validate data
strHTAArchitecture=fCheckCPUArch(strHTAArchitecture)
'6) Check outlook
strHTAOutlook=fCheckProcess(strWQLProc)
'7) Check Battery
strHTABattery=fCheckBattery(strWQLBattery)
'end checkss
document.body.style.cursor = "default"
'Display hardware values in GUI (in table)
Vendor.innerhtml = strHTAVendor 'Use str...var..STATE if you want Pass/fail text instead
Model.innerhtml = strHTAModel
Product.innerhtml = strHTAProduct
RAM.innerhtml = strHTARAM
CPUspeed.innerhtml = strHTACPUSpeed
CPUInfo.innerhtml = strHTACPUFullInfo
HDDFS.innerhtml = strHTACheckRAW
CapableArchitecture.innerhtml=strHTAArchitecture
BIOSversion.innerhtml = strBIOSver
BIOSDate.innerhtml = strBIOSDate' CPUName.innerhtml = strCPUDesc 'GetCPUName
End If
'======================================================================================
' #endregion
End Function
'generic WMI queries, by field and namespace
Function WMI(strQuery,strNameSpace)
'Aim: generic WMI calls
'return value of BIOS
On Error Resume Next
Dim colItems,objItem
Dim objWMI
Const strService = "winmgmts:{impersonationlevel=impersonate}//" 'binding to WMI
Const strComputer = "." 'this machine
Set objWMI = GetObject(strService & strComputer & strNamespace) 'GLOBAL wmi
Set colItems = objWMI.ExecQuery(strQuery,,lFlags)
For Each objItem In colItems
If Err Then
StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "WMI query: " & strQuery & " in " & strNamespace & objItem.Name
Call ErrHandler("WMI error " & strQuery,1)
Else
WMI=objItem.Name 'Return value
End If
Next
End Function
Function fGetModelName(strWQLPCInfo)
'Aim: Get model name from BIOS - WMI field sometimes varies if laptop, so try two
'Return STRING: Model string from BIOS or "UNKNOWN" if null
On Error Resume Next
Dim colPCInfo,objPCItem
Dim strModel
Set colPCInfo = GetObject("winmgmts:").ExecQuery(strWQLPCInfo,"WQL",lFlags)
If Err Then
Call ErrHandler("fGetModelName: Error querying WMI " & strWQLPCInfo,2)
Else
For Each objPCItem In colPCInfo
If Not IsNull(objPCItem.Model) Then
strModel=objPCItem.Model
' iRAM=objPCItem.TotalPhysicalMemory
Else
If (strHTAVendor=cApprovedOEM And IsLaptop = True) Then ' resort to HP specific query for older laptops
'Notebook
strModel=QueryHPBIOS(sNoteModel)
if strModel="" then strModel=QueryHPBIOS(sModel) 'try alt value
Else
strModel=QueryHPBIOS(sModel)
End If
End If
Next
End If
If strModel = "" Then
fGetModelName = "UNKNOWN"
Model.style.visibility="hidden"
Else
fGetModelName=strModel
End If
End Function
'====================================================
'====================================================
Function fGetRAM(strQuery)
'Aim: get RAM installed. NB Win32_ComputerSystem::TotalPhysicalMemory may not be accurate
'Return integer
On Error Resume Next 'equiv to Err.Clear
Dim colItems, item
Dim iTotalMemory
Set colItems = GetObject("winmgmts:").ExecQuery(strQuery,"WQL",lFlags)
If Err Then
Call ErrHandler("fGetRAM: Error querying " & strQuery,2)
Else
iTotalMemory = 0
For Each item In colItems
iTotalMemory = iTotalMemory + CDBL(item.Capacity)/(1024^2)
Next
End If
If iTotalMemory = "" Then
fGetRAM = "RAM UNKNOWN"
RAM.style.visibility="hidden"
Else
fGetRAM=iTotalMemory
End If
End Function
'====================================================
'====================================================
Function fGetCPUInfo(strQuery)
'Aim: query WMI for CPU info - number and number of cores
'Return: function=CPU count, var for the cores: iCPUCoreCount, strHTAArchitecture, strCPUDesc
On Error Resume Next
Dim colItems, objItem
Dim NumberOfProcessors
Set colItems = GetObject("winmgmts:").ExecQuery(strQuery,"WQL",lFlags)
If Err Then
Call ErrHandler("GetCPUInfo: Error querying " & strQuery,2)
Else
For Each objItem In colItems
If Err Then
Else
If Not IsNull(objItem.NumberOfCores) Then
NumberOfProcessors = Trim(objItem.NumberOfCores) 'NumberOfProcessors
End If
If Not IsNull(objItem.NumberOfLogicalProcessors) Then
iCPUCoreCount = Int(Trim(objItem.NumberOfLogicalProcessors))
End If
If Not IsNull(objItem.DataWidth) Then
strHTAArchitecture=Trim(objItem.DataWidth) & "-bit"
End If
If Not IsNull(objItem.description) Then
strCPUDesc = Trim(objItem.description) 'cpu name
End If
End If
Next
If NumberOfProcessors = "" Then
NumberOfProcessors = "UNKNOWN"
End If
fGetCPUInfo = Int(NumberOfProcessors)
' iCPUCoreCount = Int(NumberOfLogicalProcessors)
End If
End Function
'====================================================
'====================================================
Function fGetComputerSystemProdIDNumber(strWQLID)
'Aim: Get UUID from Win32_ComputerSystemProduct
'Return: great big integer
Dim colSys,objSys
Dim strUUID
On Error resume next
Set colSys = GetObject("winmgmts:").ExecQuery(strWQLID,"WQL",lFlags)
If Err then
Call ErrHandler("fGetComputerSystemProdIDNumber: Error querying " & strWQLID,2)
Else
For Each objSys In colSys
If Not IsNull(objSys.IdentifyingNumber) Then
strUUID = Trim(objSys.IdentifyingNumber)
End If
Next
If strUUID = "" Then
fGetComputerSystemProdIDNumber = "UNKNOWN"
Else
fGetComputerSystemProdIDNumber = strUUID
End If
End If
End Function
'=================================================================================
'=================================================================================
Function fGetDrives(strQuery)
Dim colDisks,objHDD
Dim strDriveType, strDiskSize, strDisk
Dim strDiskFSType
Dim iGBUnits
On Error Resume Next
iGBUnits=1073741824
Dim iRAW
iRAW=0
Set colDisks = GetObject("winmgmts:").ExecQuery(strQuery)
For Each objHDD In colDisks
Select Case objHDD.DriveType
Case 1 strDriveType = "Drive could not be determined."
Case 2 strDriveType = "Removable Drive"
Case 3 strDriveType = "Local hard disk."
Case 4 strDriveType = "Network disk."
Case 5 strDriveType = "Compact disk (CD)"
Case 6 strDriveType = "RAM disk."
Case Else strDriveType = "Drive type Problem."
End Select
strDiskFSType = objHDD.FileSystem
'Find C
If objHDD.Name="C:" Then
If isNull(objHDD.FreeSpace) Then
If blnDebug=True then Call ErrHandler("ALERT!! Volume " & objHDD.Name & "is RAW",1) 'Abort/clean
fCheckDrives="ALERT!! Volume " & objHDD.Name & "is RAW"
End If
End If
strDiskSize = Int(objHDD.Size /iGBUnits) & "GB" 'calc size of disk
strDisk = strDisk & VbCrLf & "Vol " & objHDD.Name & " (" & strDriveType & ") size: " & strDiskSize & " (free: " & Int(objHDD.FreeSpace /iGBUnits) & "GB), " & strDiskFSType
fGetDrives=strDisk
Next
If (Err.Number <>0) Then
Call ErrHandler("WMI Property Query Error: [" & Err.Number & "]",2)
fGetDrives = -1
Exit Function
End If
End Function
'=================================================================================
'=================================================================================
Function fUniversalCheckData(varData,strStage) 'template
'Aim: Check value passed...
'is not blank
'is in range x..y
'spelt OK
'is in a list
'format is text, numeric
'return: string: the original value
On Error Resume Next
Dim Err
if blnDebug Then StatusBar.InnerText = StatusBar.InnerText & VbCrLf & "Validating " & strStage & " data..."
If Err Then
Call ErrHandler("WARNING: Error discovering value in " & strStage,2) '1=Quit,2=Warn
strHTAModel="Unknown"
Else
Select Case varData
Case IsEmpty(varData) Or IsNull(varData)
Call ErrHandler("WARNING: Error in "& strStage,2) '1=Quit,2=Warn
fUniversalCheckData="Unknown"
Case IsNumeric(varData)
If varData<0 Then
Call ErrHandler("WARNING: Value negative"& strStage,2) '1=Quit,2=Warn
fUniversalCheckData="Unknown"
End if
' & varData &
Case IsDate(varData)
Case Else
fUniversalCheckData=varData 'Data OK - return value unchanged
End Select
End If
End Function
'=================================================================================
'Checks - follow if true DO, if false warn/abort
'=================================================================================
Function fCheckBattery(strQuery)
'Aim: Find if battery is running
'Return pass/fail
On Error Resume Next 'equiv to Err.Clear
Const wbemFlagReturnImmediately = &h10
Const wbemFlagForwardOnly = &h20
Dim colItems, item
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\WMI")
Set colItems = objWMIService.ExecQuery("SELECT * FROM BatteryStatus Where Voltage > 0", "WQL", _
wbemFlagReturnImmediately + wbemFlagForwardOnly)
For Each item In colItems
if objItem.PowerOnline = True Then
strHTABattery=objItem.PowerOnline
strHTABatteryState = cFail
Err.Raise 9010,"fCheckBattery",strHTABattery & " Laptop running on battery. OSD Cannot continue."
Call ErrHandler(ucase(strHTABatteryState) & ": " & Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1)
StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "FATAL ERROR - Laptop on Battery. Please plug into an outlet before proceeding."
iTimer = window.setTimeout("Abort", iAbortTimeout, "VBScript")
Else
strHTABatteryState = cPassed
End if
Next
fCheckBattery=strHTABattery
End Function
'====================================================
Function fCheckProcess(strQuery)
'Aim: Find if outlook is running
'Return pass/fail
On Error Resume Next 'equiv to Err.Clear
Dim colItems, item
Set colItems = GetObject("winmgmts:").ExecQuery(strQuery,"WQL",lFlags)
For Each item In colItems
if item.Name = "OUTLOOK.EXE" Then
strHTAOutlook=item.Name
strHTAOutlookState = cFail
Err.Raise 9010,"fCheckOutlook",strHTAOutlook & " running. OSD Cannot continue."
Call ErrHandler(ucase(strHTAOutlookState) & ": " & Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1)
StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "FATAL ERROR - Outlook Running, please close outlook before proceeding."
iTimer = window.setTimeout("Abort", iAbortTimeout, "VBScript")
Elseif item.Name = "communicator.exe" Then
strHTAOutlook=item.Name
strHTAOutlookState = cFail
Err.Raise 9010,"fCheckOutlook",strHTAOutlook & " running. OSD Cannot continue."
Call ErrHandler(ucase(strHTAOutlookState) & ": " & Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1)
StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "FATAL ERROR - Communicator Running, please close OCS before proceeding."
iTimer = window.setTimeout("Abort", iAbortTimeout, "VBScript")
Else
strHTAOutlookState = cPassed
End if
Next
fCheckProcess=strHTAOutlook
End Function
'====================================================
'1 - Make
Function fCheckVendor(strVendor)
'Aim: Check make is one the OS/build is designed For
'Return: STRINGS for "Make", BIOS version and BIOS date (generic): strHTAVendorState pass or fail
On Error Resume Next
Dim colItems,objItem
Set colItems = GetObject("winmgmts:").ExecQuery(strVendor, "WQL", lFlags)
For Each objItem In colItems
strHTAVendor=objItem.Manufacturer
if objApprovedMakesDict.exists(strHTAVendor) then
strBIOSver=objItem.SMBIOSBIOSVersion
strBIOSDate=Mid( objItem.ReleaseDate, 5, 2 ) & "/" & Mid( objItem.ReleaseDate, 7, 2 ) & "/" & Left( objItem.ReleaseDate, 4 )
strHTAVendorState=cPassed
Else
strHTAVendorState=cFail
Err.Raise 9010,"fCheckVendor",strHTAVendor & " found. The build will not work on this make of hardware"
Call ErrHandler(ucase(strHTAVendorState) & ": " & Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1)
bAbortBuild=True
end if
Next
fCheckVendor=strHTAVendor
End Function
'=================================================================================
'=================================================================================
'2 - Models check
Function fCheckModel(strThisModel)
'Aim Check target machine is in list of models
'Return string
On Error Resume Next
StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "Checking model..." & VbCrLf
If objModelsDict.exists(trim(strThisModel)) then ' if current model in objDict then huzzah
strHTAModelState=cPassed
StatusBar.InnerText=StatusBar.InnerText & vbTab & "Model detected: " & vbTab & strHTAModelState
Else
strHTAModelState=cFail
Err.Raise 9010,"fCheckModel",strThisModel & " found. The build will not work on this model of hardware"
Call ErrHandler(ucase(strHTAModelState) & ": " & Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1)
end if
fCheckModel=strHTAModel
End Function
'=================================================================================
'=================================================================================
'3 - RAM
Function fCheckRAM(strRAM)
'Aim: Check installed RAM > x
'Return string digits with units, e.g. 4GB
'use strHTARAM for value
'==================================================================
' Memory Preflight Check (from MDT2012)
'==================================================================
On Error Resume Next
StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "Checking RAM..."
If Err.Number <> 0 Then
Call ErrHandler("Error occurred while calculating computer's memory.",2)
End If
fCheckRAM = Int(strRAM/1024) & "GB" 'format in GB
If Int(strRAM) > cMinimumMemoryMB Then
strHTARAMState=cPassed 'Sufficient memory - show whole number in GB"
StatusBar.InnerText=StatusBar.InnerText & vbTab & "RAM installed: " & vbTab & strHTARAMState
Else
strHTARAMState=cFail
Err.Raise 9030 ,"fCheckRAM","Not enough memory in this machine!" & " Required physical memory is: " & cMinimumMemoryMB & " MB."
Call ErrHandler(ucase(strHTARAMState) & ": " & Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1) 'abort build
End If
End Function
'=================================================================================
'=================================================================================
'4 - NTFS disk
Function fCheckNTFS(strDiskFS)
'Aim: Check HDD is NTFS
'Return string
On Error Resume Next
StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "Checking file system is not RAW..."
If Instr(1,strDiskFS,cMinFS,VBTextCompare)<>0 Then
fCheckNTFS=cMinFS 'disk format is OK (NTFS)
StatusBar.InnerText=StatusBar.InnerText & vbTab & " File system: " & cPassed
Else
fCheckNTFS=cFail
Err.Raise 9040 ,"fCheckNTFS","WARNING: Disk not correct file-system. Type required is: " & cMinFS & "." & VbCrLf & _
"The deployment will fail unless you reformat the target disk immediately."
Call ErrHandler(Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",2) 'halt build
End If
End Function
'====================================================
'=================================================================================
'5 - CPU checks
'=================================================================================
Function fCheckCPUSpeed(strCPU) 'any HW
'Aim: Check CPU speed
'Return string = number + appropriate units, e.g. 5HGz (strCPU)
On Error Resume Next
StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "Checking CPU spec..."
Select Case Right(strCPU,3) 'check units
Case "MHz"
strCPU=Left(strCPU,4)/1000 'reformat to GHz
Case "GHz"
strCPU=strCPU 'unit already OK
Case Else
Call ErrHandler("CPU units are unknown",2)
End Select
'Check clock speed
If Int(Left(trim(strCPU),1))>=iMinCPUSpeed Then
fCheckCPUSpeed=strHTACPUSpeed 'CPU is fine i.e don't change value
StatusBar.InnerText=StatusBar.InnerText & vbTab & "CPU Speed: " & cPassed
Else
fCheckCPUSpeed=cFail 'already in GHz
Err.Raise 9050,"fCheckCPUSpeed","CPU speed pre-requisite failed. Minimum processor clock speed is: " & iMinCPUSpeed
Call ErrHandler(Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1) 'halt build
End If
End Function
'=================================================================================
'=================================================================================
Function fCheckCPUArch(strCPUArch) 'any HW
'Aim: Check CPU width
'Return string
On Error Resume Next
StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "Checking CPU bus width..."
'Check clock speed
If Int(Left(trim(strCPUArch),2))>=iMinCPUArch Then
fCheckCPUArch=strHTAArchitecture 'CPU is fine i.e don't change value
StatusBar.InnerText=StatusBar.InnerText & vbTab & "CPU width: " & cPassed
Else
fCheckCPUArch=cFail 'already in GHz
Err.Raise 9052,"fCheckCPUArch","CPU width pre-requisite failed. Minimum processor width required is: " & iMinCPUArch
Call ErrHandler(Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",1) 'abort build
End If
End Function
'=================================================================================
Function fCheckCores(iCores)
'Aim: Check hardware (CPU) has a minimum number of cores
'Return Integer
On Error Resume Next
StatusBar.InnerText=StatusBar.InnerText & VbCrLf & "Checking CPU cores..."
If iCores>=iMinCores Then
fCheckCores=iCores
StatusBar.InnerText=StatusBar.InnerText & vbTab & "Core count: " & vbTab & cPassed
'StatusBar.InnerText=StatusBar.InnerText & vbTab & "CPU cores: " & cPassed
Else
fCheckCores=cFail
Err.Raise 9051,"fCheckCores","WARNING: Not enough cores on the CPU to support the build. Minimum CPU cores is: " & iMinCores
Call ErrHandler(Err.Description & " (Code: " & Err.Number & " - " & Err.Source & ")",2) 'halt build
End If
End Function
'=================================================================================
'=================================================================================
Function fCheckHPCPUSpeed 'HP ONLY
'Aim: Check CPU speed
'return: string
'Check CPU speed
On Error Resume Next
strWQLCPU = "processor speed"
strTemp=QueryHPBIOS(strWQLCPU,"")
Select Case Right(strTemp,3)
Case "MHz"
strTemp=Left(strTemp,4)/1000 'reformat to GHz
Case "GHz"
strTemp 'is OK
Case Else
Call ErrHandler("CPU is unknown",2)
End Select
'Check clock speed
If strTemp>=iMinCPUSpeed Then
fCheckCPUSpeed= strTemp & "GHz"
Else
Err.Raise 9050,,"CPU speed pre-requisite failed"
Call ErrHandler("CPU is too slow",1)
fCheckCPUSpeed=cFail 'already in GHz
End If
End Function
'=================================================================================
'=================================================================================
Function fGetModels
'Aim: Read external text file
'return: dictionary object - models as key, integer as value e.g. Dell Optiplex,12
'On Error Resume Next
Dim objFSO
Dim objFile
Dim strFile
Dim strEntry
Dim n
Dim strfilepath
Dim iLineCount 'count lines to avoid listing first item with ,.
Set objModelsDict = CreateObject("Scripting.Dictionary")
set objFSO=CreateObject("Scripting.FileSystemObject")
Const ForReading=1
strfilepath = Left(window.location.pathname,InStrRev(window.location.pathname,"\"))
strFile=strfilepath & "Models.txt"
set objFile=objFSO.OpenTextFile(strFile,ForReading)
iLineCount=0
'read in each line of data until you reach the end of the file
do While objFile.AtEndOfStream<>True
strEntry=objFile.ReadLine
'you can now do what ever you want with the line as referenced with the strEntry variable such as
'echoing it back (e.g. wscript.Echo strEntry) or passing it as a variable to a function of subroutine (e.g. MyFunction strEntry)
objModelsDict.comparemode=VBTextCompare
objModelsDict.Add strEntry,iLineCount
iLineCount=iLineCount+1
If blnDebug then
If iLineCount=1 Then
StatusBar.InnerText=trim(strEntry)
Else
StatusBar.InnerText=StatusBar.InnerText & ", " & trim(strEntry) 'list models
End If
End If
Loop
objFile.Close
End Function
'=================================================================================
'=================================================================================
'====================================================
Function ErrHandler(strErrorMsg,iErrMode)
'Aim: to handle error states
' 1 = Abort
' 2 = Warn
'Return 'Appropriate text message explaining the error
'====================================================
Const msgTitle="SCCM Deployment Preflight Checklist"
'On Error Resume Next '< don't use that as we want to KEEP the error properties
'Abort=1
If iErrMode=1 Then
StatusBar.InnerText=strErrorMsg 'overwrite status with Error message
' StatusBar.InnerText=StatusBar.InnerText & VbCrLf & " " & strHTAOutlook & " " & strHTAVendor & " " & strHTAVendorState & _
' VbCrLf & " " & strHTAModel & strHTAModelState & _
' VbCrLf & " " & strHTARAM & strHTARAMState & _
' VbCrLf & " " & strHTAHDD & strHTAHDDState
iTimer = window.setTimeout("Abort", iAbortTimeout, "VBScript") 'Abort (close) after n seconds
'MsgBox strErrorMsg,vbExclamation,msgTitle
'ErrBar.class=""
ElseIf iErrMode=2 Then
'Warning
StatusBar.InnerText=StatusBar.InnerText & VbCrLf & strErrorMsg & " " '& "(" & Err.Description & " :" & Err.Number & ")"',vbExclamation,msgTitle
Err.Clear
End If
End Function
'====================================================
Sub Abort
'Aim: Quit gracefully
window.close()
End Sub
</script>
<!-- #region BODY -->
<body>
<br />
<div>
<span style="version"> <span id="VersionSpan"></span></div>
<div style="text-align: center;">
<H1 style="font-family: Arial, Helvetica, sans-serif; font-size: large; text-align: center; color: #000000; text-transform: capitalize">System information</H1>
<span>
<table border="1" cellspacing="0" cellpadding="0" style="width: 912px"
id="SysInfoTable">
<tr class="h1">
<td align="right" class="Header1" style="width: 76px; height: 18px">
</td>
<td align="right" class="Header1" style="height: 18px"><em id="VendorCaption">Vendor</em></td>
<td align="left" class="style2" style="height: 18px"><span id="Vendor"></span></td>
<td align="right" class="Header2" style="height: 18px"><em id="ModelCaption">Model</em></td>
<td align="center" class="style4" style="width: 400px; height: 18px"><span id="Model"></span></td>
</tr>
<tr>
<td align="right" class="Header1" style="width: 76px">
</td>
<td align="right" class="Header1"><em id="ProductCaption">Product ID</em></td>
<td align="left" class="style2"><span id="Product"></span></td>
<td align="right" class="Header2"><em id="RAMCaption">Memory(in MB)</em></td>
<td align="left" class="style4" style="width: 400px"><span id="RAM"></span></td>
</tr>`
<tr>
<td align="right" class="Header1" style="width: 76px">
</td>
<td align="right" class="Header1"><em id="CPUCaption">CPU speed (in GHz)</em></td>
<td align="left" class="style2"><span id="CPUspeed"></span></td>
<td align="right" class="Header2"><em id="CPUInfoCaption">No: CPU\Cores</em></td>
<td align="left" class="style4" style="width: 400px"><span id="CPUInfo"></span></td>
</tr>
<tr>
<td align="right" class="Header1" style="width: 76px">
</td>
<td align="right" class="Header1"><em id="DiskFSCaption">Filesystem info</em></td>
<td align="left" class="style2"><span id="HDDFS"></span></td>
<td align="right" class="Header2"><em id="CapableArchCaption">Architecture</em></td>
<td align="left" class="style4" style="width: 400px"><span id="CapableArchitecture"></span></td>
</tr>
<tr>
<td align="right" class="Header1" style="width: 76px">
</td>
<td align="right" class="Header1"><em id="BIOSVerCaption">BIOS version</em></td>
<td align="left" class="style2" ><span id="BIOSVERSION"></span></td>
<td align="right" class="Header2"><em id="BIOSDateCaption">BIOS Date</em></td>
<td align="left" class="style4" style="width: 400px"><span id="BIOSDate"></span></td>
</tr>
</table>
</span>
</div>
<div class="StatusBar">
<br />
<Span id="StatusBar">Loading...please wait.</Span>
</div> <br><br>
<div align="center">
<input type="button" name="btnStop" id="btnStop" value="Continue" onclick="Abort">
<input type="Button" value="Re-Scan Machine" name="button1" onClick="Window_Onload" class="button">
</div>
</body><!-- #endregion -->
</html> -
Post install checks failed for DBC file - Oracle App11.5.10.2 Linux 5.3
Hi everybody,
I tried Installing Oracle E-Business Suite 11.5.10.2 on Red Hat Enterprise Linux Server release 5.3
The Post install checks failed for DBC file, HTTP, JSP and PHP. Apparently the DBC hadn’t been created. I had verified the log file, while executing adgendbc.sh, it throwing below error.
Generating /jith/d01/oracle/appl/visappl/fnd/11.5.0/secure/prithvi.bangalore.bedford.local_vis.dbc
DBC generation failed with exit code 127
Generating /jith/d01/oracle/appl/visappl/fnd/11.5.0/secure/prithvi_vis.dbc
DBC generation failed with exit code 127
Updating Server Security Authentication
Updating Server Security Authentication failed with exit code 127
adgendbc.sh exiting with status 127
ERRORCODE = 127 ERRORCODE_END
.end std out.
touch: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
sqlplus: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
mkdir: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/jith/d01/oracle/appl/viscomn/util/java/1.4/j2sdk1.4.2_04/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
cp: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/jith/d01/oracle/appl/viscomn/util/java/1.4/j2sdk1.4.2_04/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
cp: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/jith/d01/oracle/appl/viscomn/util/java/1.4/j2sdk1.4.2_04/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
cp: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/jith/d01/oracle/appl/viscomn/util/java/1.4/j2sdk1.4.2_04/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
/jith/d01/oracle/appl/viscomn/util/java/1.4/j2sdk1.4.2_04/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
.end err out.
Thanks in advance.
sreejithWelcome to the forums !
Pl post EBS related question in the EBS forums at http://forums.oracle.com/forums/category.jspa?categoryID=3
HTH
Srini -
Seagate external drive: Partition map check failed because no slices were found
I have a 3TB Seagate Expansion external backup drive connected to my Retina Macbook Pro via USB. The disk will not eject from a regular Finder window - it will only eject from Disk Utility. Backups seem to otherwise be running fine. I tried to verify/repair the disk in Disk Utility, and I got the following error: "Partition map check failed because no slices were found." I am able to verify/repair the partition without any problem, and no errors are found.
I'm concerned about relying on a backup drive that may be heading south. Here is the output from diskutil info:
diskutil info disk3
Device Identifier: disk3
Device Node: /dev/disk3
Part of Whole: disk3
Device / Media Name: Seagate Expansion Desk Media
Volume Name: Not applicable (no file system)
Mounted: Not applicable (no file system)
File System: None
Content (IOContent): GUID_partition_scheme
OS Can Be Installed: No
Media Type: Generic
Protocol: USB
SMART Status: Not Supported
Total Size: 3.0 TB (3000592977920 Bytes) (exactly 5860533160 512-Byte-Units)
Volume Free Space: Not applicable (no file system)
Device Block Size: 4096 Bytes
Read-Only Media: No
Read-Only Volume: Not applicable (no file system)
Ejectable: Yes
Whole: Yes
Internal: No
OS 9 Drivers: No
Low Level Format: Not supported@ Allan Eckert: Unfortunately, reformatting is out of the question, I have 5 years of work on this!
@ Loner T: Yes, the firmware did successfully upgrade after router reboot and a bit of troubleshoot.
Thanks for the quick replies. Keep 'em coming! -
Hi,
It could be a coincidence, but ever since installing Update rollup 4 onto DPM 2012 R2, (which was at UR3 I believe) I haven't been able to complete an Exchange express full backup or consistency check with verification using Eseutil checked. If I have the
eseutil check enabled I get the following error:
Type: Consistency check
Status: Failed
Description: Data consistency verification check failed for LOGS of Exchange Mailbox Database Mailbox Database 2011112513 on SERVER.xxx. (ID 30146 Details: The process cannot access the file because it is being used by another process (0x80070020))
Disabling the eseutil verification allows it to succeed, but I'm not happy to continue with that for too long.
I've had this running for many years and this is the first real issue with exchange, its a single stand alone exchange database.
Any ideas?
Thanks,
AndreasAndreas,
the error is stating that something else has a handle to a file or files during the ESEUtil check. Typically this is AV. I have also seen where the Exchange limits are exceeded and that causes the issue.
Please ensure you have the DPM AV exclusions for the DPM server and I would advise the DPMRA.exe on the PS. You can also trying disabling or removing AV as a test.
DPM AV exclusions -
http://technet.microsoft.com/en-us/library/hh757911.aspx
You may also want to test using eseutil against the logs outside DPM and see if that fails with similar issue. Let us know. Thanks
Regards, A.Nadar, This posting is provided "AS IS" with no warranties, and confers no rights. -
Fileserver consistency checks failing 0x809909B0
I have a file server with approx. 1.7TB of files which became inconsistent on the 8<sup>th</sup> of November, and has been unable to complete a consistency check since then.
Consistency checks fail with the error:
The protection agent on <server> was temporarily unable to respond because it was in an unexpected state. (ID 60 Details: Internal error code: 0x809909B0)
I have removed and re-added the server, including deleting the protected data from DPM disk, and reinstalled the DPM agent on the file server, but I still receive the above error when consistency checking.
DPM is System Center 2012 R2 v4.2.1254.0 on Windows Server 2012 R2.
The file server is running Windows Server 2012 R2 also.
KB2919355 is installed on both systems.
I did have Dedup running on the file server, but have un-deduped the drive as part of troubleshooting this issue.
Other servers backed up by this DPM server are being backed up fine, including a HyperV cluster, 2 exchange servers and 2 sharepoint farms.
There are a large number of these errors in the DPMRA log around the time the job fails:
5288 4F48
11/28 22:49:56.601
29
radefaultsubtask.cpp(355)
[00000000013EE9D0] 50C1500F-0353-4D2A-8188-FC03612E2503
WARNING
Failed: Hr: = [0x809909b0] : CRADefaultSubTask: WorkitemID does not exist, {EB6F4726-E5C5-4958-B034-542518E5A931}
5288 4F48
11/28 22:49:56.601
05
defaultsubtask.cpp(546)
[00000000013EE9D0] 50C1500F-0353-4D2A-8188-FC03612E2503
WARNING
Failed: Hr: = [0x809909b0] : Encountered Failure: : lVal : CommandReceivedSpecific(pCommand, pOvl)
5288 4F48
11/28 22:49:56.601
05
defaultsubtask.cpp(751)
[00000000013EE9D0] 50C1500F-0353-4D2A-8188-FC03612E2503
WARNING
Failed: Hr: = [0x809909b0] : Encountered Failure: : lVal : CommandReceived(pAgentOvl)
5288 4F48
11/28 22:50:03.635
03
runtime.cpp(1376)
[00000000012F4850] 50C1500F-0353-4D2A-8188-FC03612E2503
FATAL Subtask failure, sending status response XML=[<?xml version="1.0"?>
5288 4F48
11/28 22:50:03.635
03
runtime.cpp(1376)
[00000000012F4850] 50C1500F-0353-4D2A-8188-FC03612E2503
FATAL <Status xmlns="http://schemas.microsoft.com/2003/dls/StatusMessages.xsd" StatusCode="-2137454160" Reason="Error" CommandID="RACancelAllSubTasks" CommandInstanceID="8a514c9b-6a62-42b4-a03b-0f938e3f20cc"
GuidWorkItem="eb6f4726-e5c5-4958-b034-542518e5a931" TETaskInstanceID="50c1500f-0353-4d2a-8188-fc03612e2503"><ErrorInfo xmlns="http://schemas.microsoft.com/2003/dls/GenericAgentStatus.xsd" ErrorCode="536872913"
DetailedCode="-2137454160" DetailedSource="2"><Parameter Name="AgentTargetServer" Value="DPM01.domain.com"/></ErrorInfo></Status>
5288 4F48
11/28 22:50:03.635
03
runtime.cpp(1376)
[00000000012F4850] 50C1500F-0353-4D2A-8188-FC03612E2503
FATAL ]
I have also tried the steps in this article with no change:
https://social.technet.microsoft.com/Forums/en-US/107bdce0-e13c-427a-9341-07d4b558f007/dpmra-crashing-after-update-to-dpm-2012-r2-ur2
Currently I have reduced the amount of shares being backed up to just ~400gb of data and I have it in a consistent state, but I need to get the remainder of the data backed up, and I can’t be in a situation where if it becomes inconsistent it can’t run a
successful consistency check again.Hi,
If you want to pursue this immediately, you can visit the following web site to open a support incident. The charge to your CC will not be processed until your case is resolved and closed, if it's a code defect in the DPM then we wave all charges.
http://support.microsoft.com/select/Default.aspx?target=assistance
In the Quick product finder, enter:System Center 2012 R2 - then select System Center 2012 R2 Data Protection Manager
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights. -
CRYPTO-4-PKT_REPLAY_ERR: decrypt: replay check failed
Center router is cisco 7300 :
Cisco IOS Software, 7301 Software (C7301-ADVIPSERVICESK9-M), Version 15.1(4)M2
branch router is cisco1900:
Cisco IOS Software, C1900 Software (C1900-UNIVERSALK9-M), Version 15.1(4)M4, RELEASE SOFTWARE (fc1)
one branch router use EZVPN to connect the Center router .
branch router logg :
%CRYPTO-4-PKT_REPLAY_ERR: decrypt: replay check failed
and 10% lose packets .
but other branch use EZVPN to connect the Center router , is OK :
Cisco IOS Software, C880 Software (C880DATA-UNIVERSALK9-M), Version 12.4(24)T5, RELEASE SOFTWARE (fc3)
What can do for this issue ?
Should I change the cisco1900 IOS to the 12.4 as the same as cisco880 ?Hi Anuj
Thanks for your reply.
Yes , the issue happens frequently , and lost packets . The log happand every 3 minutes.
As I am not in charge the router in branch , I can not change the hardware accelerator.
I have change the windows-size to 1024 in the branch router , but the issue is as befroe .
Here is the show crypto ipse sa and the whole error message:
sh crypto ipsec sa
interface: Virtual-Access1
Crypto map tag: Virtual-Access1-head-0, local addr
protected vrf: (none)
local ident (addr/mask/prot/port): (0.0.0.0/0.0.0.0/0/0)
remote ident (addr/mask/prot/port): (0.0.0.0/0.0.0.0/0/0)
current_peer port 500
PERMIT, flags={origin_is_acl,}
#pkts encaps: 519, #pkts encrypt: 519, #pkts digest: 519
#pkts decaps: 665, #pkts decrypt: 665, #pkts verify: 665
#pkts compressed: 0, #pkts decompressed: 0
#pkts not compressed: 0, #pkts compr. failed: 0
#pkts not decompressed: 0, #pkts decompress failed: 0
#send errors 0, #recv errors 0
local crypto endpt.: , remote crypto endpt.:
path mtu 1500, ip mtu 1500, ip mtu idb GigabitEthernet0/0
current outbound spi: 0x550C1C42(1426857026)
PFS (Y/N): N, DH group: none
inbound esp sas:
spi: 0x38F532D7(955593431)
transform: esp-aes esp-sha-hmac ,
in use settings ={Tunnel, }
conn id: 2091, flow_id: Onboard VPN:91, sibling_flags 80000046, crypto map: Virtual-Access1-head-0
sa timing: remaining key lifetime (k/sec): (4561181/3566)
IV size: 16 bytes
replay detection support: Y replay window size: 1024
Status: ACTIVE
inbound ah sas:
inbound pcp sas:
outbound esp sas:
spi: 0x550C1C42(1426857026)
transform: esp-aes esp-sha-hmac ,
in use settings ={Tunnel, }
conn id: 2092, flow_id: Onboard VPN:92, sibling_flags 80000046, crypto map: Virtual-Access1-head-0
sa timing: remaining key lifetime (k/sec): (4561911/3566)
IV size: 16 bytes
replay detection support: Y replay window size: 1024
Status: ACTIVE
outbound ah sas:
outbound pcp sas:
Dec 20 01:34:32.656: %CRYPTO-4-PKT_REPLAY_ERR: decrypt: replay check failed
connection id=91, sequence number=12353
Dec 20 01:39:06.552: %CRYPTO-4-PKT_REPLAY_ERR: decrypt: replay check failed
connection id=91, sequence number=18191
Dec 20 01:40:38.532: %CRYPTO-4-PKT_REPLAY_ERR: decrypt: replay check failed
connection id=91, sequence number=20363
Dec 20 01:43:05.856: %CRYPTO-4-PKT_REPLAY_ERR: decrypt: replay check failed
connection id=91, sequence number=23609 -
L4 Model : ACE20-MOD-K9
One Server Operational TCP Services
Other TCP Services OK but TCP 5050 Service Not OK
I Tested from my pc
telnet 172.17.1.235 5050 Success
but ACE20 Health Check Failed
probe : PROBE5050
type : TCP
state : ACTIVE
description :
port : 5050 address : 0.0.0.0 addr type : -
interval : 2 pass intvl : 2 pass count : 3
fail count: 3 recv timeout: 10
conn termination : GRACEFUL
expect offset : 0 , open timeout : 4
expect regex : -
send data : -
--------------------- probe results --------------------
probe association probed-address probes failed passed health
------------------- ---------------+----------+----------+----------+-------
real : 172-17-1-235[5050]
serverfarm: BKMWEB#5
172.17.1.235 491 486 5 FAILED
Socket state : CLOSED
No. Passed states : 0 No. Failed states : 1
No. Probes skipped : 441 Last status code : 0
No. Out of Sockets : 0 No. Internal error: 0
Last disconnect err : Connection refused by server
Last probe time : Wed Apr 2 20:04:44 2014
Last fail time : Wed Apr 2 19:33:30 2014
Last active time : Never
What is this Cause? Help meHi Tae,
The last disconnect error says "connection refused by server". I guess only way for us to know what exactly is going on is to take a packet capture on switch where server and ACE are connected and see what is going on. May be server is not replying to ACE. Why? I guess only packet capture can clear that since telnet from your pc worked. Also, your interval time is very less. Please increase it to at least 10-20 seconds.
Regards,
Kanwal -
Stopped, license check failed
Hi, after use NW about 2 month, now the proccess jcontrol.exe is stopped, in he status appear the error: "Stopped, license check failed". If i restar the computer, work, but only about one hour... What happend?
Thanks,Hi,
Follow these steps..
To generate the license key you need to follow this procedure.
Find out the hardware key of your instance.
For this go to the visual admin----
> licensing adapter
Visual admin has to be accessed from this path \usr\sap\SID\JCxx\j2ee\admin and run go.bat
You should also have a S-user ID to generate the license.
Go to service.sap.com/licensekey
Give the required credentials.
Then supply the required details like SID, hostname, Database etc..
You will get a license file after some time.
Then again go to Visual admin----
> licensing adapter
upload the license file, and the licensse will be applied.
revert back if you have any queries.
Do reward points if useful.
Regards,
Nayana -
I had to boot from the install disc today, and in trying to verify the disk I get this message:
Invalid node structure, Volume check failed, Error: Filesystem verify or repair failed. What should I do?
The reason I'm trying to boot from the disc is because my computer stopped booting up a few days ago -- it gets to the apple logo and a loading bar, then shuts off.Where is your install package that shipped with your Mac when new?
Always better to run Disk First Aid repair via Disk Utility when booted from your install disc with using fsck as an alternate only when your install package is not available.
If there is a directory issue with your boot volume that Disk First Aid repair or fsck cannot successfully repair after running it several times, the problem is substantial and your options at that point are using a more substantial disk repair utility such as DiskWarrior (with no guarantee but DW has been known to work miracles) or backup all data and reformat the hard drive with the install package that shipped with your Mac and then re-install OS X and all applications.
Hopefully you maintain a regular backup and updated your backup recently and if not, now is a good time to start for this very important reason and for other good reasons.
You can can also check the S.M.A.R.T. status of the drive via Disk Utility when booted from your Tiger install disc.
http://www.thexlab.com/faqs/repairprocess.html
http://www.thexlab.com/faqs/durepairfns.html -
[solved] Filesystem check fail - Cannot access LVM Logical Volumes
I am getting a "File System Check Failed"on startup, I recently did a full system upgrade but I'm not entirely sure that the cause of the issue as I don't reboot very often.
I get the error right before this line is echo'ed out:
/dev/mapper/Arch_LVM-Root:
The super block could not be read or does not describe a correct ext2 filesystem...
this is odd because the only ext2 filesystem I have is on an non-LVM boot partition...
I can log-in and mount / as read/write and I can activate LVM with
modprobe dm-mod
and
vgchange -ay Arch_LVM
and they show up in lvdisplay but their status is "NOT available"
I just need to mount these logical volumes so I can retrieve some personal data in my home directory, I am also hesitant to use LVM again if I can't retrieve my data.
any suggestions?
Last edited by action_owl (2010-08-15 02:15:58)I just popped in the install disk and was able to mount and access the LVM groups as expected, something must have been wonky with my filesystem
-
Hi.
I got two DAG nodes with CAS role installed. Sudently i get this failures on both nodes. This happens for all databases. I have tried do Seed the DB, with no luck
I run the The CheckDatabaseRedundancy.ps1 script and this seems OK.
Could somone please help me,
[PS] D:\Program Files\Microsoft\Exchange Server\V15\Scripts>.\CheckDatabaseRedundancy.ps1
DatabaseName : Users05
LastRedundancyCount : 0
CurrentRedundancyCount : 2
LastState : Unknown
CurrentState : Green
LastStateTransitionUtc : 05.07.2013 05:49:10
LastGreenTransitionUtc : 05.07.2013 05:49:10
LastRedTransitionUtc :
LastGreenReportedUtc : 05.07.2013 05:49:10
HasReportedGreenEvent : True
LastRedReportedUtc :
PreviousTotalRedDuration : 00:00:00
TotalRedDuration : 00:00:00
IsTransitioningState : True
HasErrorsInHistory : False
CurrentErrorMessages :
ErrorHistory :
IsOneDatacenter : False
CurrentRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
CurrentSearchRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
Event:4376
Database one datacenter available copy health check failed.
Database copy: Users05
Redundancy count: 2
Error:
================
Full Copy Status
================
Database Copy : Users05\casmbx02
VolumeInfoLastError :
LogPathIsOnMountedFolder : False
LogVolumeName : \\?\Volume{beecae05-53ca-444d-ab5f-dd98510b4776}\
LogVolumeMountPoint : E:\
DatabasePathIsOnMountedFolder : False
DatabaseVolumeName : \\?\Volume{b92c9520-905f-4ee4-902d-1e73c26b1717}\
DatabaseVolumeMountPoint : F:\
ExchangeVolumeMountPoint :
LastDatabaseVolumeNameTransitionTime : 01.01.1601 00:00:00
LastDatabaseVolumeName :
DiskFreeSpacePercent : 90
DiskTotalSpaceBytes : 107237863424
DiskFreeSpaceBytes : 97164902400
SeedingSource : False
ActivationPreference : 2
LogsCopiedSinceInstanceStart : 45
LogsReplayedSinceInstanceStart : 86
ExtendedErrorInfo :
ErrorEventId : 0
ErrorMessage :
ReplayQueueNotKeepingUp : False
CopyQueueNotKeepingUp : False
SnapshotLatestCopyBackup : False
SnapshotLatestDifferentialBackup : False
SnapshotLatestIncrementalBackup : False
SnapshotLatestFullBackup : True
LatestCopyBackupTime : 01.01.1601 00:00:00
LatestDifferentialBackupTime : 01.01.1601 00:00:00
LatestIncrementalBackupTime : 01.01.1601 00:00:00
LatestFullBackupTime : 04.07.2013 19:31:34
LastLogCopyNotified : 4100
CurrentReplayLogTime : 05.07.2013 05:24:26
LastReplayedLogTime : 05.07.2013 05:39:26
LastInspectedLogTime : 05.07.2013 05:39:26
LastCopiedLogTime : 05.07.2013 05:39:26
LastLogInfoFromClusterGen : 4100
LastLogInfoFromClusterTime : 05.07.2013 05:44:01
LastLogInfoFromCopierTime : 05.07.2013 05:44:00
LastLogInfoIsStale : False
LastCopyNotifiedLogTime : 05.07.2013 05:39:26
LatestAvailableLogTime : 05.07.2013 05:39:26
DumpsterEndTime : 01.01.0001 00:00:00
DumpsterStartTime : 01.01.0001 00:00:00
DumpsterRequired : False
DumpsterServers :
ActionInitiator : Service
SuspendComment :
SinglePageRestoreNumber : 0
SinglePageRestore : False
ReplayLagPercentage : 0
ReplayLagPlayDownReason : None
ReplayLagEnabled : Disabled
ReplayLagDisabledReason :
ActualReplayLagTime : 00:04:40.1554322
ConfiguredReplayLagTime : 00:00:00
NodeStatus : Up
WorkerProcessId : 8740
ReseedBlocked : False
ResumeBlocked : False
ReplaySuspended : False
LostWrite : False
Viable : True
ActivationSuspended : False
DbSeedingKBytesWrittenPerSec : 0
DbSeedingKBytesReadPerSec : 0
DbSeedingKBytesWritten : 0
DbSeedingKBytesRead : 0
DbSeedingPercent : 0
ContentIndexSeedingSource :
ContentIndexSeedingPercent :
ContentIndexMailboxesToCrawl :
ContentIndexBacklog : 0
ContentIndexRetryQueueSize : 0
ContentIndexErrorMessage :
ContentIndexStatus : Healthy
LastStatusTransitionTime : 04.07.2013 17:46:02
InstanceStartTime : 04.07.2013 17:45:59
CICurrentness : Current
CopyStatus : Healthy
ServerVersion : 1941996140
LastLogReplayed : 4100
LastLogInspected : 4100
LastLogCopied : 4100
LastLogGenerated : 4100
DataAvailabilityTime : 05.07.2013 05:39:26
DataProtectionTime : 05.07.2013 05:39:26
LastLogGeneratedTime : 05.07.2013 05:44:06
StatusRetrievedTime : 05.07.2013 05:44:06
ActiveDatabaseCopy : CASMBX01
MailboxServer : CASMBX02
DBName : Users05
DBGuid : 57da90db-bc6d-4bf3-b508-64d3bff41377
Database Copy : Users05\casmbx01
VolumeInfoLastError :
LogPathIsOnMountedFolder : False
LogVolumeName : \\?\Volume{94937623-3da4-49ab-825e-49c982ec79f1}\
LogVolumeMountPoint : E:\
DatabasePathIsOnMountedFolder : False
DatabaseVolumeName : \\?\Volume{73a9913d-1660-487b-8a8b-b53cb017728e}\
DatabaseVolumeMountPoint : F:\
ExchangeVolumeMountPoint :
LastDatabaseVolumeNameTransitionTime : 01.01.1601 00:00:00
LastDatabaseVolumeName :
DiskFreeSpacePercent : 90
DiskTotalSpaceBytes : 107237863424
DiskFreeSpaceBytes : 96646443008
SeedingSource : False
ActivationPreference : 1
LogsCopiedSinceInstanceStart : 0
LogsReplayedSinceInstanceStart : 0
ExtendedErrorInfo :
ErrorEventId : 0
ErrorMessage :
ReplayQueueNotKeepingUp : False
CopyQueueNotKeepingUp : False
SnapshotLatestCopyBackup : False
SnapshotLatestDifferentialBackup : False
SnapshotLatestIncrementalBackup : False
SnapshotLatestFullBackup : True
LatestCopyBackupTime : 01.01.1601 00:00:00
LatestDifferentialBackupTime : 01.01.1601 00:00:00
LatestIncrementalBackupTime : 01.01.1601 00:00:00
LatestFullBackupTime : 03.07.2013 19:30:53
LastLogCopyNotified : 4100
CurrentReplayLogTime : 01.01.0001 00:00:00
LastReplayedLogTime : 01.01.0001 00:00:00
LastInspectedLogTime : 01.01.0001 00:00:00
LastCopiedLogTime : 01.01.0001 00:00:00
LastLogInfoFromClusterGen : 4100
LastLogInfoFromClusterTime : 05.07.2013 05:44:01
LastLogInfoFromCopierTime : 05.07.2013 05:44:06
LastLogInfoIsStale : False
LastCopyNotifiedLogTime : 05.07.2013 05:39:26
LatestAvailableLogTime : 01.01.0001 00:00:00
DumpsterEndTime : 01.01.0001 00:00:00
DumpsterStartTime : 01.01.0001 00:00:00
DumpsterRequired : False
DumpsterServers :
ActionInitiator : Unknown
SuspendComment :
SinglePageRestoreNumber : 0
SinglePageRestore : False
ReplayLagPercentage : 0
ReplayLagPlayDownReason : None
ReplayLagEnabled : Disabled
ReplayLagDisabledReason :
ActualReplayLagTime : 00:00:00
ConfiguredReplayLagTime : 00:00:00
NodeStatus : Up
WorkerProcessId : 7624
ReseedBlocked : False
ResumeBlocked : False
ReplaySuspended : False
LostWrite : False
Viable : False
ActivationSuspended : False
DbSeedingKBytesWrittenPerSec : 0
DbSeedingKBytesReadPerSec : 0
DbSeedingKBytesWritten : 0
DbSeedingKBytesRead : 0
DbSeedingPercent : 0
ContentIndexSeedingSource :
ContentIndexSeedingPercent :
ContentIndexMailboxesToCrawl :
ContentIndexBacklog : 0
ContentIndexRetryQueueSize : 0
ContentIndexErrorMessage :
ContentIndexStatus : Healthy
LastStatusTransitionTime : 01.01.0001 00:00:00
InstanceStartTime : 04.07.2013 17:45:58
CICurrentness : Current
CopyStatus : Mounted
ServerVersion : 1941996140
LastLogReplayed : 0
LastLogInspected : 0
LastLogCopied : 0
LastLogGenerated : 4100
DataAvailabilityTime : 01.01.0001 00:00:00
DataProtectionTime : 01.01.0001 00:00:00
LastLogGeneratedTime : 01.01.0001 00:00:00
StatusRetrievedTime : 05.07.2013 05:44:06
ActiveDatabaseCopy : CASMBX01
MailboxServer : CASMBX01
DBName : Users05
DBGuid : 57da90db-bc6d-4bf3-b508-64d3bff41377
Event:4133
Database one datacenter health check failed.
Database copy: Users05
Redundancy count: 2
Error:
================
Full Copy Status
================
Database Copy : Users05\casmbx02
VolumeInfoLastError :
LogPathIsOnMountedFolder : False
LogVolumeName : \\?\Volume{beecae05-53ca-444d-ab5f-dd98510b4776}\
LogVolumeMountPoint : E:\
DatabasePathIsOnMountedFolder : False
DatabaseVolumeName : \\?\Volume{b92c9520-905f-4ee4-902d-1e73c26b1717}\
DatabaseVolumeMountPoint : F:\
ExchangeVolumeMountPoint :
LastDatabaseVolumeNameTransitionTime : 01.01.1601 00:00:00
LastDatabaseVolumeName :
DiskFreeSpacePercent : 90
DiskTotalSpaceBytes : 107237863424
DiskFreeSpaceBytes : 97164902400
SeedingSource : False
ActivationPreference : 2
LogsCopiedSinceInstanceStart : 45
LogsReplayedSinceInstanceStart : 86
ExtendedErrorInfo :
ErrorEventId : 0
ErrorMessage :
ReplayQueueNotKeepingUp : False
CopyQueueNotKeepingUp : False
SnapshotLatestCopyBackup : False
SnapshotLatestDifferentialBackup : False
SnapshotLatestIncrementalBackup : False
SnapshotLatestFullBackup : True
LatestCopyBackupTime : 01.01.1601 00:00:00
LatestDifferentialBackupTime : 01.01.1601 00:00:00
LatestIncrementalBackupTime : 01.01.1601 00:00:00
LatestFullBackupTime : 04.07.2013 19:31:34
LastLogCopyNotified : 4100
CurrentReplayLogTime : 05.07.2013 05:24:26
LastReplayedLogTime : 05.07.2013 05:39:26
LastInspectedLogTime : 05.07.2013 05:39:26
LastCopiedLogTime : 05.07.2013 05:39:26
LastLogInfoFromClusterGen : 4100
LastLogInfoFromClusterTime : 05.07.2013 05:44:01
LastLogInfoFromCopierTime : 05.07.2013 05:44:00
LastLogInfoIsStale : False
LastCopyNotifiedLogTime : 05.07.2013 05:39:26
LatestAvailableLogTime : 05.07.2013 05:39:26
DumpsterEndTime : 01.01.0001 00:00:00
DumpsterStartTime : 01.01.0001 00:00:00
DumpsterRequired : False
DumpsterServers :
ActionInitiator : Service
SuspendComment :
SinglePageRestoreNumber : 0
SinglePageRestore : False
ReplayLagPercentage : 0
ReplayLagPlayDownReason : None
ReplayLagEnabled : Disabled
ReplayLagDisabledReason :
ActualReplayLagTime : 00:04:40.1554322
ConfiguredReplayLagTime : 00:00:00
NodeStatus : Up
WorkerProcessId : 8740
ReseedBlocked : False
ResumeBlocked : False
ReplaySuspended : False
LostWrite : False
Viable : True
ActivationSuspended : False
DbSeedingKBytesWrittenPerSec : 0
DbSeedingKBytesReadPerSec : 0
DbSeedingKBytesWritten : 0
DbSeedingKBytesRead : 0
DbSeedingPercent : 0
ContentIndexSeedingSource :
ContentIndexSeedingPercent :
ContentIndexMailboxesToCrawl :
ContentIndexBacklog : 0
ContentIndexRetryQueueSize : 0
ContentIndexErrorMessage :
ContentIndexStatus : Healthy
LastStatusTransitionTime : 04.07.2013 17:46:02
InstanceStartTime : 04.07.2013 17:45:59
CICurrentness : Current
CopyStatus : Healthy
ServerVersion : 1941996140
LastLogReplayed : 4100
LastLogInspected : 4100
LastLogCopied : 4100
LastLogGenerated : 4100
DataAvailabilityTime : 05.07.2013 05:39:26
DataProtectionTime : 05.07.2013 05:39:26
LastLogGeneratedTime : 05.07.2013 05:44:06
StatusRetrievedTime : 05.07.2013 05:44:06
ActiveDatabaseCopy : CASMBX01
MailboxServer : CASMBX02
DBName : Users05
DBGuid : 57da90db-bc6d-4bf3-b508-64d3bff41377
Database Copy : Users05\casmbx01
VolumeInfoLastError :
LogPathIsOnMountedFolder : False
LogVolumeName : \\?\Volume{94937623-3da4-49ab-825e-49c982ec79f1}\
LogVolumeMountPoint : E:\
DatabasePathIsOnMountedFolder : False
DatabaseVolumeName : \\?\Volume{73a9913d-1660-487b-8a8b-b53cb017728e}\
DatabaseVolumeMountPoint : F:\
ExchangeVolumeMountPoint :
LastDatabaseVolumeNameTransitionTime : 01.01.1601 00:00:00
LastDatabaseVolumeName :
DiskFreeSpacePercent : 90
DiskTotalSpaceBytes : 107237863424
DiskFreeSpaceBytes : 96646443008
SeedingSource : False
ActivationPreference : 1
LogsCopiedSinceInstanceStart : 0
LogsReplayedSinceInstanceStart : 0
ExtendedErrorInfo :
ErrorEventId : 0
ErrorMessage :
ReplayQueueNotKeepingUp : False
CopyQueueNotKeepingUp : False
SnapshotLatestCopyBackup : False
SnapshotLatestDifferentialBackup : False
SnapshotLatestIncrementalBackup : False
SnapshotLatestFullBackup : True
LatestCopyBackupTime : 01.01.1601 00:00:00
LatestDifferentialBackupTime : 01.01.1601 00:00:00
LatestIncrementalBackupTime : 01.01.1601 00:00:00
LatestFullBackupTime : 03.07.2013 19:30:53
LastLogCopyNotified : 4100
CurrentReplayLogTime : 01.01.0001 00:00:00
LastReplayedLogTime : 01.01.0001 00:00:00
LastInspectedLogTime : 01.01.0001 00:00:00
LastCopiedLogTime : 01.01.0001 00:00:00
LastLogInfoFromClusterGen : 4100
LastLogInfoFromClusterTime : 05.07.2013 05:44:01
LastLogInfoFromCopierTime : 05.07.2013 05:44:06
LastLogInfoIsStale : False
LastCopyNotifiedLogTime : 05.07.2013 05:39:26
LatestAvailableLogTime : 01.01.0001 00:00:00
DumpsterEndTime : 01.01.0001 00:00:00
DumpsterStartTime : 01.01.0001 00:00:00
DumpsterRequired : False
DumpsterServers :
ActionInitiator : Unknown
SuspendComment :
SinglePageRestoreNumber : 0
SinglePageRestore : False
ReplayLagPercentage : 0
ReplayLagPlayDownReason : None
ReplayLagEnabled : Disabled
ReplayLagDisabledReason :
ActualReplayLagTime : 00:00:00
ConfiguredReplayLagTime : 00:00:00
NodeStatus : Up
WorkerProcessId : 7624
ReseedBlocked : False
ResumeBlocked : False
ReplaySuspended : False
LostWrite : False
Viable : False
ActivationSuspended : False
DbSeedingKBytesWrittenPerSec : 0
DbSeedingKBytesReadPerSec : 0
DbSeedingKBytesWritten : 0
DbSeedingKBytesRead : 0
DbSeedingPercent : 0
ContentIndexSeedingSource :
ContentIndexSeedingPercent :
ContentIndexMailboxesToCrawl :
ContentIndexBacklog : 0
ContentIndexRetryQueueSize : 0
ContentIndexErrorMessage :
ContentIndexStatus : Healthy
LastStatusTransitionTime : 01.01.0001 00:00:00
InstanceStartTime : 04.07.2013 17:45:58
CICurrentness : Current
CopyStatus : Mounted
ServerVersion : 1941996140
LastLogReplayed : 0
LastLogInspected : 0
LastLogCopied : 0
LastLogGenerated : 4100
DataAvailabilityTime : 01.01.0001 00:00:00
DataProtectionTime : 01.01.0001 00:00:00
LastLogGeneratedTime : 01.01.0001 00:00:00
StatusRetrievedTime : 05.07.2013 05:44:06
ActiveDatabaseCopy : CASMBX01
MailboxServer : CASMBX01
DBName : Users05
DBGuid : 57da90db-bc6d-4bf3-b508-64d3bff41377
RinkenHi.
I also ran the CheckDatabaseRedundancy.ps1 script. the output was:
DatabaseName : Users05
LastRedundancyCount : 0
CurrentRedundancyCount : 2
LastState : Unknown
CurrentState : Green
LastStateTransitionUtc : 11.07.2013 07:34:16
LastGreenTransitionUtc : 11.07.2013 07:34:16
LastRedTransitionUtc :
LastGreenReportedUtc : 11.07.2013 07:34:16
HasReportedGreenEvent : True
LastRedReportedUtc :
PreviousTotalRedDuration : 00:00:00
TotalRedDuration : 00:00:00
IsTransitioningState : True
HasErrorsInHistory : False
CurrentErrorMessages :
ErrorHistory :
IsOneDatacenter : False
CurrentRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
CurrentSearchRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
DatabaseName : Users04
LastRedundancyCount : 0
CurrentRedundancyCount : 2
LastState : Unknown
CurrentState : Green
LastStateTransitionUtc : 11.07.2013 07:34:16
LastGreenTransitionUtc : 11.07.2013 07:34:16
LastRedTransitionUtc :
LastGreenReportedUtc : 11.07.2013 07:34:16
HasReportedGreenEvent : True
LastRedReportedUtc :
PreviousTotalRedDuration : 00:00:00
TotalRedDuration : 00:00:00
IsTransitioningState : True
HasErrorsInHistory : False
CurrentErrorMessages :
ErrorHistory :
IsOneDatacenter : False
CurrentRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
CurrentSearchRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
DatabaseName : Users02
LastRedundancyCount : 0
CurrentRedundancyCount : 2
LastState : Unknown
CurrentState : Green
LastStateTransitionUtc : 11.07.2013 07:34:17
LastGreenTransitionUtc : 11.07.2013 07:34:17
LastRedTransitionUtc :
LastGreenReportedUtc : 11.07.2013 07:34:17
HasReportedGreenEvent : True
LastRedReportedUtc :
PreviousTotalRedDuration : 00:00:00
TotalRedDuration : 00:00:00
IsTransitioningState : True
HasErrorsInHistory : False
CurrentErrorMessages :
ErrorHistory :
IsOneDatacenter : False
CurrentRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
CurrentSearchRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
DatabaseName : Users03
LastRedundancyCount : 0
CurrentRedundancyCount : 2
LastState : Unknown
CurrentState : Green
LastStateTransitionUtc : 11.07.2013 07:34:17
LastGreenTransitionUtc : 11.07.2013 07:34:17
LastRedTransitionUtc :
LastGreenReportedUtc : 11.07.2013 07:34:17
HasReportedGreenEvent : True
LastRedReportedUtc :
PreviousTotalRedDuration : 00:00:00
TotalRedDuration : 00:00:00
IsTransitioningState : True
HasErrorsInHistory : False
CurrentErrorMessages :
ErrorHistory :
IsOneDatacenter : False
CurrentRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
CurrentSearchRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
DatabaseName : Users01
LastRedundancyCount : 0
CurrentRedundancyCount : 2
LastState : Unknown
CurrentState : Green
LastStateTransitionUtc : 11.07.2013 07:34:17
LastGreenTransitionUtc : 11.07.2013 07:34:17
LastRedTransitionUtc :
LastGreenReportedUtc : 11.07.2013 07:34:17
HasReportedGreenEvent : True
LastRedReportedUtc :
PreviousTotalRedDuration : 00:00:00
TotalRedDuration : 00:00:00
IsTransitioningState : True
HasErrorsInHistory : False
CurrentErrorMessages :
ErrorHistory :
IsOneDatacenter : False
CurrentRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
CurrentSearchRedundancyCountPerSite : {[Default-First-Site-Name, 2]}
Rinken
Maybe you are looking for
-
BI content installation of 0IC_C03
Hi, I tried to install the 0IC_C03 cube. I installed first with "only necessary objects" after success then i tried "data flow before" and "data flow afterwards", in both of these case i received few errors. But when i looked in RSA1--->Modeling--->I
-
Cannot display Adobe form as Callable object in GP
Hi all, I'm trying to display an adobe form as an Interactive Form Callable object. I've created a process -> block -> action -> callable object. But the form doesnt display. When I launch the GP runtime and initiate the process, I get the message "T
-
How to add field value to the standard table
Hi, How to add field value to the standard table? for example: when we go to TCODE SE16-> VBAK table -> on the selection screen if we press F4 against VBTYP we get all the available values for that field. How to add a new document Category value to t
-
Dividing incoming train of pulse signals into individual pulse signals
Hello, I am acquiring the pulse signals using DAQ with sample rate of 500Hz.In the attached image the first signal corresponds to 1 second duration samples of pulse signal and second with 10 second duration collected using collector.Now I want to div
-
Configuring AAA network client on ACS v5.1 using the same atributes from AC
Hello, Actualy i'm new to use ACS v5.1 and i wanted to do the same AAA client configuration as it was configured on my old ACS V3.3 server. My old ACS v3.3 AAA clients type are WLC, LAP and Autonomous AP (using RADIUS (Cisco Aironet)) authentication