décembre 03, 2009
By: Christopher Keyaert
Category: Scom 2007
Here the error message :
1 2 3 4 5 6 7 8 9 10
| Generating certificate with hostname="xxxxxxxx"
[/home/serviceb/TfsCoreWrkSpcLinux_REDHAT_5.0_x86_64/source/code/tools/scx_ssl_config/scxsslcert.cpp:198]
Failed to allocate resource of type random data: Failed to get random data - not enough entropy
error: %post(scx-1.0.4-248.x86_64) scriptlet failed, exit status 1
<DataItem type="Microsoft.SSH.SSHCommandData" time="2009-12-03T12:08:30.6908778+01:00" sourceHealthServiceId="91A3B596-F820-6A90-305C-6974DA25966D"><SSHCommandData><stdout>Generating certificate with hostname="xxxxxxx"
[/home/serviceb/TfsCoreWrkSpcLinux_REDHAT_5.0_x86_64/source/code/tools/scx_ssl_config/scxsslcert.cpp:198]
Failed to allocate resource of type random data: Failed to get random data - not enough entropy
error: %post(scx-1.0.4-248.x86_64) scriptlet failed, exit status 1 |
There are two ways to solve this problem, you can recreate the /dev/random file or do a manual agent install.
For both fixes, clean off the partially installed agent using the commands
- rpm -e scx
- rm -rf /etc/opt/microsoft/scx
Then if you want to make it so that discovery will work from the wizard use the commands
- rm /dev/random
- mknod -m 644 /dev/random c 1 9
- chown root:root /dev/random
A manual install requires copying the appropriate package from %Program Files%\System Center Operations Manager 2007\AgentManagement\UnixAgents to the Unix\Linux machine and installing it directly.
After fixing the install issue, switch the /dev/random file back to a signed random file using the commands:
- rm /dev/random
- mknod -m 644 /dev/random c 1 8
- chown root:root /dev/random
Source :
http://blog.xplatxperts.com/xplat-xperts/2009/08/opsmgr-cross-platform-discovery-errors.html
Comment (1)
décembre 01, 2009
By: Christopher Keyaert
Category: Non classé
Hello guys,
After one month offline due to my moving, my Internet connexion is back now :0)
Enjoy
Christopher
Comment (1)
octobre 14, 2009
By: Christopher Keyaert
Category: Serveur@Home, Windows
Installing Exchange 2007 Anti-spam system
- Close the EMC (Exchange Management Console).
- Open the PowerShell and navigate using the following path: « Program Files\Microsoft\Exchange Server\Scripts ».
- Run the « install-AntispamAgents.ps1″
- Restart the « Microsoft Exchange Transport » service in order to apply configuration changes.
- Open the Exchange Management Console, and on the Organization configuration list, select Hub Transport.
- The « Anti-Spam » tab has been added to the Hub Transport properties.
http://www.petri.co.il/install-anti-spam-exchange-2007.htm
No Comments →
août 14, 2009
By: Christopher Keyaert
Category: powershell
A new PowerShell for upload one file to a WebDav Server
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
| ########################################
#Webdav Access with PowerShell
########################################
#Put the complete path of your file
$file = "D:\test.txt"
#Put the url without the last "/"
$url = "http://mywebSite/webdav"
#Provide User and Pwd for Webdav Access
$user = "user"
$pass = "pwd"
########################################
#Script
#######################################
#Adding the name of the file at the end of the URL
$url += "/" + $file.split('\')[(($file.split("\")).count - 1)]
#Connecting to WebDav
Write-Host "File upload started"
# Set binary file type
Set-Variable -name adFileTypeBinary -value 1 -option Constant
$objADOStream = New-Object -ComObject ADODB.Stream
$objADOStream.Open()
$objADOStream.Type = $adFileTypeBinary
$objADOStream.LoadFromFile("$file")
$arrbuffer = $objADOStream.Read()
$objXMLHTTP = New-Object -ComObject MSXML2.ServerXMLHTTP
$objXMLHTTP.Open("PUT", $url, $False, $user, $pass)
$objXMLHTTP.send($arrbuffer)
Write-Host "File upload finished" |
Comments (2)
août 10, 2009
By: Christopher Keyaert
Category: General
No Comments →