BenV's notes

Archive for June, 2012

Why I hate windows

by on Jun.14, 2012, under Software

Today at work our windows 2008 server is trying to be funny.
First it had updates so it required a reboot. After that reboot it didn’t come back, so my not so computer literate colleague rebooted the windows machine, but unfortunately he also rebooted the (linux) fileserver.
Oh well.

Now for some reason WSUS doesn’t work anymore.
When trying to start the WSUS management console it simply crashes with no explanation whatsoever:

WSUS Management Console crashes

WSUS Management Console crashes when started. Great.

So, I figured, let’s check the logs. Ahaha. So, after browsing through the eventviewer for about half an hour and reading tons of fascinating (but useless) descriptions of successful security things, application notices and other garbage I finally ran into the corresponding event.
Here goes:

De WSUS-beheerconsole heeft een onverwachte fout aangetroffen. Deze fout kan van tijdelijke aard zijn; probeer de fout te verhelpen door de beheerconsole opnieuw te starten. If Als het probleem blijft bestaan:

Probeer de ingestelde voorkeuren voor console te verwijderen door het bestand wsus onder %appdata%\Microsoft\MMC\ te verwijderen.

Microsoft.UpdateServices.Administration.WsusInvalidServerException — Er is een uitzondering opgetreden van het type Microsoft.UpdateServices.Administration.WsusInvalidServerException.


Stack Trace:
bij Microsoft.UpdateServices.Administration.AdminProxy.GetUpdateServer()
bij Microsoft.UpdateServices.UI.AdminApiAccess.AdminApiTools.GetUpdateServer()
bij Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.get_AdminApiTools()
bij Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.get_ServerState()
bij Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.SetNavigationItemEnabledStates()
bij Microsoft.UpdateServices.UI.SnapIn.Wizards.OOBE.OOBEWizard.OOBEWizardInitialize()

Suggestions 1 (restarting the console) and 2 (removing some file) obviously didn’t do shit.
Yeah, they reproduced the image above 😉
Suggestion 3 … oh wait, there is no suggestion 3. Fsck.

Just for the heck of it I clicked “Help Online”. What follows is a dailyWTF if you ask me, here’s the screenshot (click it to be able to read the details):

Windows "Help Online"

“Help Online”

Apparently when you click ‘Online Help’ they write a Visual Basic Script file to start a shell which launches a url FROM A FILE … and it fails (color me surprised).
Wonder who came up with this shit.
Oh yeah, the error message the script comes with basically says “Unspecified error”, or literally “Not further described error”.

Anyhow, I still have the WSUS issue. After trying to figure out how the heck IIS is supposed to function with WSUS (I thought the logs might give some insight, silly me) I gave up on that and decided to go with the solid “If it doesn’t work, just reinstall!” approach that normally fixes about every windows problem.

Here goes the uninstaller:

WSUS uninstaller

WSUS uninstaller

For those who don’t speak dutch, it says “Setup is not complete. Microsoft WSUS SP2 has not been removed because an error has occurred. Click Finish if you want to close the wizard.

Mind you, this problem didn’t exist last week. WSUS worked fine, computers received updates, everything was fine. My guess is that this morning’s updates included some .NET update that broke it.
However, due to the lack of useful error messages this is impossible to debug for now.
Thanks Micro~2, another swell piece of garbage you have there.

Leave a Comment :, , more...

Check_MK diskstats on Xen virtual hosts

by on Jun.14, 2012, under Software

Hej look! A new WordPress release…. 3.4…. and it automagically updates, nice going guys 🙂
What’s new? A bunch of stuff I don’t care about, a few more rounded corners … meh.
And apparently they’re green. Oh well. I can be green too, see? 😉

Back to stuff I do care about: Check MK released a new major version a few days ago – it’s now on version 1.2p1.
Among the new stuff some shiny interface updates (you know, rounded corners and the like), a ton of fixes and new agents/checks (postgresql is among them), a Logwatch Pattern Analyzer and tons more.
(continue reading…)

3 Comments :, , , more...