Archive for the ‘Server’ Category

SCCM State Migration Point Errors

I was installing SMP on a 2008 r2 (X64) and I was getting these errors

 

SMS_STATE_MIGRATION_POINT received START notification.    SMS_STATE_MIGRATION_POINT    22/12/2011 10:22:45    7128 (0x1BD8)
SMPPeriodicActivityInterval = 1440 minutes
Failed to find the certificate in the store, retry 1.
Failed to find the certificate in the store, retry 2.
Failed to find the certificate in the store, retry 3.
CCMRetrieveCertificateContext failed : 0×80004005
RetrieveCertificateContext() failed. SMP Cert does not exist. Creating a SelfSignedEncryptionCert.
Creating Encryption Certificate…
Failed to create certificate hr=0×80070005
CreateSelfSignedEncryptionCert() failed.
GetSMPSerializedKey failed : 0×80070005
GetSMPSerializedKey failed.
SMPManager failed to start, Error = (0×80070005).
SMS_EXECUTIVE started SMS_STATE_MIGRATION_POINT as thread ID 3496 (0xDA8).

It was related to READ permissions on the MachineKey folder C:\Users\All Users\Microsoft\Crypto\RSA

I basically had to enable the LOCALSYSTEM access to this folder and restarted the service, All is well now :)

 

Disable startup repair (7/2008)

So one of my servers was rebooted and never came back up. It was stuck on the startup repair screen. I would rather it boot loop then never retry. So to disable the startup repair run this command.

bcdedit /set {default} bootstatuspolicy ignoreallfailures

And to re-enable it

bcdedit /set {default} bootstatuspolicy displayallfailures

Forefront – Remove old computer records

I was checking out the Forefront console ( I have been deploying many virtual servers/clients) for my studying, I came across alot of old stale computer records (see image1), I wanted to quickly remove old records that have not made contact for a few days, as they are messing with the reports etc. (see link: http://support.microsoft.com/kb/2272146 )
Basically run the tool on the FCS Server, you can choose the date/time to delete from, I would check the log before actually applying the /doremove switch.

Get the tool here: http://support.microsoft.com/kb/2272146 (you need to request it to be sent)

DPM – Thoughts

I have been using DPM 2007 for a few months now and here are a collection of thoughts and annoyances.

Automaticly resolve alerts

Basically, when you get an alert such as “Replica Inconsistant” due to any number of issues you will be sent an alert and also one is logged in the Alerts tab, This is fine and very useful although if the issue is fixed (server back online, service running again etc) the alert will just sit there, gathering dust. Should it not just go away into some other (closed/repaired) area or filter? I mean its getting silly. (see image)

Windows 2003 System States

This has been the biggest problem for me, I have yet to workout what is going on (fully) but it seems that if for any reason you get an error/warning related to the backup of system_state (in event log) it will cause a failed backup. In my case the error is related to Certificate Services, its a warning and using NTbackup it will backup fine, but with DPM all I get is errors and failures. I will it would just do a Competed backup (dirty mabey)

Agent Installation

The agent installation is seamless and quick, but it would be good if it enabled firewall exceptions on install.

On a good note, It is miles better than anything else. I feel very confident with the backups and so far have had no issues that require a large recovery or a loss of critical data. I highly recommend this for admins that do not have endless time to manage backups and monitor for issues. It is a simple but very effective solution to a nessicary requirement.

J

sccm 0×00002024 CCMCertFix

I got this,

Simple answer:

just run (as admin) on the client machine and boom, it works! CCMCertFix.exe

http://support.microsoft.com/?kbid=977203

FCS Removal – How to remove forefront manually with BAT

I needed to quickly remove and reinstal forefront accross my test domain.

 

Here it is (replace “FCS_PATH” with the path the the FCS source)

msiexec.exe /x “FCS_PATH”\mp_ambits.msi /qn
msiexec.exe /x “FCS_PATH”\momagent.msi /qn
msiexec.exe /x “FCS_PATH”\fcsssa.msi /qn
MsiExec.exe /X{2DF2E496-D3B7-4A6F-A341-6DE48FDFEF0A} /qn
“FCS_PATH”\fcsinstallscript.vbs
“FCS_PATH”\mpam-fe.exe /qn

 

What is all this?

The above will

  1. Remove FCS & MOM agents
  2. Install FCS & MOM
  3. Install latest complete update for FCS
  4. Silently

J

ZoneMinder & Ubuntu & Logitech Webcam & mjpg_streamer & authentication

 

I got zoneminder working with my logitech 9000 camera, only by using mjpg_streamer.. the problem is that zoneminder cannot authenticate to the mjpg_streamer (not really) unless you trick it.

MJPG_STREAMER

mjpg_streamer -i "input_uvc.so -r 640x480 -f 6" -o "output_http.so -p 8080 -c username:password"  -b

 

ZoneMinder

In remote host enter the details

username:password@remoteip

simple enough..

I got firewalls etc but when it comes to cameras.. i like to have at least a simple fallback.

 

J

Return top