Tuesday, December 22, 2009

Debian apache2 php5 mysql with nagios and open-audit

ok I threw this box together this morning and to get everything working all together I had to add a few packages. Here is the break down on what got installed.

apt-get install apache2 - if you don't already have it

apt-get install openssh-server
apt-get install build-essential mc vim ntpdate smbfs
apt-get install nagios3
apt-get install libsnmp-perl libsnmp-session-perl


a quick fix after that was

chmod -R g+s /etc/nagios3
dpkg-statoverride --update --add nagios www-data 2710 /var/lib/nagios3/rw
dpkg-statoverride --update --add nagios nagios 751 /var/lib/nagios3


that was enough to get nagios up.. Next php and mysql

apt-get install php5 mysql-server-5.0 mysql-client-5.0 libapache2-mod-php5 php5-mysql php5-curl php5-cli php5-dev make gcc libc6-dev automake

apt-get install libapache2-mod-perl2 php5-common php5-dev php5-gd php5-imap php5-ldap php5-mhash php5-odbc

from there I copied over openaudit to my /var/www directory

/etc/init.d/apache2 restart

pointed browser to http://serveraddress/openaudit/setup.php

I think that is it. hope I didnt miss anything. Of course you have to do some configuration now

Wednesday, December 16, 2009

nagios setup on debian

Well I just got finished installing nagios on debian. This was my second attempt as I couldn't find a good document on the install. Basically there is a package that will install everything for you. just type apt-get install nagios3

Now after that was done I had a little trouble finding the correct folders. basically here is the breakdown on the folders.

/etc/nagios3 - config files also in /etc/nagios3/conf.d

/usr/share/nagios3 - htdocs, images, etc..

/etc/nagios-plugins - plugin directory

/var/lib/nagios3 - command directories

/usr/lib/nagios/plugins - check command files (can put custom perl scripts here)

I'm pretty sure those are the major folders used.

Tuesday, November 10, 2009

Java Install Error 25099

Trying to install java through sccm i was getting install errors. I had to delete the java directories from my hard drive. they are

%ProgramFiles%\Java\jre6\ and %APPDATA%\Sun\Java\jre1.6.0.x

I removed the entire java directories. The numbers may be different depending on the java version.

%programfiles% = c:\program files

%appdata% = c:\documents and settings\Username\Application data (hidden folder)

Wednesday, September 30, 2009

Check who is remoted into computer

Was browsing around and was trying to find a way to see which users were remoted into the server I was on. Found this command and it helped me out. Try it out.

at a cmd prompt type: qwinsta

Wednesday, September 16, 2009

windows dvd maker says file is corrupted

When trying to add avi files and or other types of files to my movie maker I was getting windows dvd maker saying that the file is corrupted or wrong format. I basically reloaded a laptop and didn't try to use dvd maker in a few months. ok enough yapping. The fix is the codec's I've downloaded the below and then it worked.

Vista 32 bit codec pack - Install first

Vista 64 bit codec - Needs 32 bit installed first

For 64 bit version install both files. 32 bit first and then the 64 bit. Those that are just 32 bit just need the 32 bit version. I tried installing the second without the first and it didn't work. bahh

Wednesday, September 9, 2009

Windows Update wuweb_site.cab Unknown Publisher

I had a machine that kept giving me errors when trying to do windows updates. Would mention wuweb_site.cab?random_numbers Unknown Publisher. Windows has found a problem with this file.

To fix it I had to do the following: re-register the Softpub.dll, Wintrust.dll,
Initpki.dll, Dssenh.dll, Rsaenh.dll, Gpkcsp.dll, Sccbase.dll, Slbcsp.dll,
Mssip32.dll, and Cryptdlg.dll files. To do so, follow these steps:

1. Click Start then click Run.
2. In the Open box type cmd and then click OK.
3. At the command prompt type regsvr32 softpub.dll and then press ENTER.
4. Click OK when you receive the message that DllRegisterServer in
Softpub.dll succeeded.
5. Repeat steps 1 through 4 for the following files: Wintrust.dll,
Initpki.dll, Dssenh.dll, Rsaenh.dll, Gpkcsp.dll, Sccbase.dll, Slbcsp.dll,
Mssip32.dll, and Cryptdlg.dll.
6. Type exit and then press ENTER to quit Command Prompt.
7. Close all browser windows and try to do updates again.


Also browsing around the above seems to fix the 0x800B0001 error as well when doing updates.

Tuesday, July 21, 2009

persistwndname.exe at shutdown or restart

Well been working on this this new laptop and every time I reboot or shutdown I get this window that needs to be end tasked and the title bar states End Program - Persistwndname.exe

Seems it has to do with Intel Graphics Card and the fix is to:

click start menu > run > type msconfig in the run box and hit ok. from there click the startup tab and uncheck igfxpers if it is checked. reboot and error should go away.

It doesn't seem to effect the video in anyway but it did stop the error. This is a brand new laptop with the latest drivers installed.





Tuesday, June 30, 2009

Symantec Ghost Console 2.5 PreOS Driver Error

error message

"Drivers could not be found in the PreOS for the following devices:\x0D\x0A\x0D\x0AManufacturer: \"Intel\", Description: \"Intel(R) ICH9 SATA AHCI Controller\", PCI Vendor: 0x8086, PCI Device: 0x2922, PCI Subsystem: 0x2111028\x0D\x0D\x0A"

I added the drivers but that didn't seem to do the trick. The fix is as follows

add this to the to the pci.manifest.txt file located in C:\Documents and Settings\All Users\Application Data\Symantec\Ghost\Template\common\winpe or
winpe512 if thats the PE your using.

} {
0x8086 = {
0x2922 = (0x2111028\x0D\x0D\x0A)
}
}


more info can be found Here in Symantec Forum




Thursday, June 25, 2009

Windows Genuine Advantage Notification

Windows Genuine Advantage Notification Seems to be stuck installing on some machine right now.. So as I've been going back and forth to machines I did some research. Seems there is a much better and faster way to check your machine to make sure its genuine. Just goto:

Microsofts Genuine Verify Site


Accept the active X's and click verify windows and verify office if you use office. That took about 30 seconds and the other machine is still running the dang update.

Monday, June 22, 2009

Number=9 Description=Subscript out of range Source=SMSComponent

Was getting the following error in smsreporting.log on my sccm 2007 server.

Number=9 Description=Subscript out of range Source=SMSComponent

From there I found a few answeres but it seems to be ASP Buffer Limit in IIS. The default is 4mb and changing that seems to be the fix for that error.

I'm going a little further as I'm turning off the buffering and going to keep an eye on things. Yikes! Plus if I just fix things there will be nothing to post here. :)

Friday, June 19, 2009

SCCM 2007 Advertisements Do Not Show In Run Advertised Programs

OK now maybe I missed something in the manual (wait I skipped the whole thing) but for the last couple hours I've been creating packages and advertisements and they do not show up in the control panel under run advertised programs..

I came across a post that said ''By default, mandatory programs don't appear in Run Advertised Programs.''

HAH that was it. I was setting mine all to mandatory so they would install and I could read the logs to see if it worked.. Silly me



Wednesday, June 17, 2009

Support Onclick SCAM!

Well at home we got a phone call from some guy telling us that he knows everything about our computer cause we have lots of cookies and spyware. He asked how old our computer was in which we replied with, I thought you knew everything about it? Our computer is about a week old and after stating that he replied with do we have an older computer? At that point we asked to speak to his manager which caused him to hang up. Now I've looked up and seems some people have been scammed into buying subscriptions. They are asked to install software which allows remote access to your computer. Also the software was hard or wouldn't install. I'm not sure if there is a legit site that actually does help solve problems but I'd stay away.

Basically if you have Antivirus and even windows defender that is enough to keep things out. If anything get ad-aware from lavasoft as I've used them since day one and they seem to be the best. They have a free version. Check it out HERE

Tuesday, June 16, 2009

SCCM 2007 Unable to locate Remote Assistance files

Server 2008 - SCCM 2007 sp1

Right clicking on a system and picking the Remote Assistance option I got the message “Unable to locate Remote Assistance files.”

To fix:

Goto Server Manager and scroll down to Features. Click Add Feature. Look for Remote Assistance and check it to be installed. Clicking Next, install and finish

Should be it. Try to assist again.



Friday, June 12, 2009

MP has rejected a policy request

MP has rejected a policy request from GUID:12345-1234-1234-1234-123345678 because it was not approved. The operating system reported error 2147942405: Access is denied.

I was getting quite a few of the above errors. I didn't know where the machines were so I had to run a query to find the Names of the problem computers. Heres what I used:

select
resourceID, netbios_name0, SMS_Unique_Identifier0
from
dbo.v_R_System
where
(SMS_Unique_Identifier0 = 'GUID:YOUR GUID FROM THE ERROR')


this returns the name and you can follow up and fix the problem :)

Wednesday, June 10, 2009

Failed to install SMS client The error code is 80041002

ccmsetup.log showed

Setup failed due to unexpected circumstances. The error code is 80041002

also in client.msi.log the following error was there as well

Product: Configuration Manager Client -- Installation operation failed.

seems there are lots of different causes and fixes. Here is the one that fixed this for me.

1. Stop the "Windows Management Instrumentation" service.
2. Rename the %WinDir%\System32\Wbem\Repository folder to ”Oldrepository”.
3. Restart the “Windows Management Instrumentation service”.
4. Verify that the %WinDir%\System32\Wbem\Repository folder has been recreated.
5. Reinstall the SMS client software.


**Update**

Seems I randomly would get different message's so I checked my rights on the shared folder that the client is in. I gave everyone read and execute and so far so good on the installs



Thursday, June 4, 2009

Java Error 2753

While trying to unistall java I got "Internal Error 2753 RegUtils" and it wouldn't install the latest version. The below link will bring you to the windows installer clean up utility. Run that and find Java in the list and remove it.

http://support.microsoft.com/kb/290301

Monday, June 1, 2009

Input Box To Change SMS Site Name By Computer Name

Here is a little script that I put together by combining a few other scripts. When ran an Input box will pop up and ask for the computer name. It will then return the current Site name, then the new name that you specify by editing the file. If the computer is not on nothing will be returned.


Option Explicit
On Error Resume Next
Dim WSHShell, WSHNetwork, Input, smsClient, inparam, Newresult, Newsite, oCCMNamespace, strComputer, result

Set WSHShell = CreateObject("WScript.Shell")
Set WSHNetwork = CreateObject("WScript.Network")

Input = InputBox("Enter the Computer name","SMS Site Code Fix")
strComputer = Input

'get the current site code
set oCCMNamespace = GetObject("winmgmts://" & strComputer & "/root/ccm")
Set smsClient = oCCMNamespace.Get("SMS_Client")
Set result = smsClient.ExecMethod_("GetAssignedSite")
wscript.echo strComputer & " Current Assigned Site is: " & result.sSiteCode

'Reassign the site code
Set inParam =smsClient.Methods_.Item("SetAssignedSite").inParameters.SpawnInstance_()
inParam.sSiteCode = "XYZ"
Set Newresult = smsClient.ExecMethod_("SetAssignedSite", inParam)
Set NewSite = smsClient.ExecMethod_("GetAssignedSite")
wscript.echo strComputer & " New Assigned Site is : " & NewSite.sSiteCode



Make sure to change the site code to your site code.
inParam.sSiteCode = "XYZ"

Logon Script to change SMS Site Code

Found this script and it seems to do the job. I've added it to the logon script in AD

sSiteCode = "XYZ"
sMachine = "."
set oCCMNamespace = GetObject("winmgmts://" & sMachine & "/root/ccm")
Set oInstance = oCCMNamespace.Get("SMS_Client")
set oParams = oInstance.Methods_("SetAssignedSite").inParameters.SpawnInstance_()
oParams.sSiteCode = sSiteCode
oCCMNamespace.ExecMethod "SMS_Client", "SetAssignedSite", oParams

change xyz to your sitecode

Tuesday, May 12, 2009

This task sequence cannot be run because the program files for "package" are inaccessible on the distribution point

For me my password was spelled wrong and It couldn't connect to the SCCM server. To resolve this issue, you must correctly configure the System Center Configuration Manager 2007 client network access account. To do this, follow these steps:

1.Use an account that has administrative permissions to log on to a computer that has the System Center Configuration Manager 2007 Administrator Console installed.
2.Click Start, click All Programs, click Systems Management Server, and then click SMS Administrator Console.
3.Expand ServerName, expand Site Management, expand SiteName, and then expand Site Settings.
4.Click Client Agents, right-click Computer Client Agent, and then click Properties.
5.In the Computer Client Agent Properties dialog box, next to the network access account that you want to configure, click Set.
6.In the Windows User Account dialog box, enter the user name and the password that you want to use for the network access account, and then click OK two times.

Friday, May 8, 2009

Windows 7 RC Review

After the install of Windows 7 RC I began to install random programs that I use. I've been using since release and actually been remoting in to my other boxes and servers from it. I must say I haven't had any BSOD's or any errors really besides the few I posted in my blog. So far I've loaded Symantec Endpoint and its managed to a SEPM Server. I put on office 2007 Pro, Acrobat Reader, Quick time, Flash, Shockwave, SCCM 2007 Management Console, and java. I also put some software used here called Waterford. No problems as of yet. No IE lock ups or crashes. So I must say that as of right now I'm pretty impressed. My CPU usage is very low as well. I've been running the weather gadget as well and still no hangs.

Well I'll keep everyone posted on when I get my first crash!. I've read a few where people have had BSOD and other issues but so far Im lucky. They way it is looking now as soon as this is release I'll be tossing Vista out and never looking back. I'm going to check on how it manages from AD next. I'm still running 2003 Enviroment so should be fun.

Thursday, May 7, 2009

SQL Moving Tempdb

Moving Tempdb

I used MS SQL Server Manager Studio and ran this under Database Engine Query.

use master
go
Alter database tempdb modify file (name = tempdev, filename = 'd:\newfolder\tempdb.mdf')
go
Alter database tempdb modify file (name = templog, filename = 'd:\newfolder\templog.ldf')
Go

Wednesday, May 6, 2009

SQL databse suspect

Well a power outage today killed my SQL database. Seems the database was in suspect mode. I got tons of errors. Logs pointed towards SQL so I tried the following:

EXEC sp_resetstatus ‘DBname’;
go
ALTER DATABASE DBname SET EMERGENCY
go
DBCC checkdb(’DBname’)
go
ALTER DATABASE DBname SET SINGLE_USER WITH ROLLBACK IMMEDIATE
go
DBCC CheckDB (’DBname’, REPAIR_ALLOW_DATA_LOSS)
go
ALTER DATABASE DBname SET MULTI_USER
go

I ran that in sql server management studio as a query. It fixed alot of errors but still had alot. I ended up running the SCCM 2007 disk again and picked to reconfigure the SQL section. Now my console is back up and running. Must warn you that the above can lose data if it can't be recovered.

Internet Explorer has restricted this webpage from running scripts or ActiveX controls

Well we have an intranet site going and we were getting this block error for some animation when changing pages. The following fixed it! The bottom link has more ways as well and that is where the info came from.

Follow the steps below to allow ActiveX content.

1. Open Internet Explorer , go to Tools >> Internet Options

2. Click on Advanced Tab and scroll down to find the Security section.

3. Enable the checkbox labeled “Allow active content to run in files on My Computer” and “Allow Active Content from CDs to run on My Computer”.

4. Click Ok, close Internet Explorer and restart it, after restart you will not see any ActiveX warning when you play any active content like flash animations, JavaScript menus on web pages etc.

Read more: "ActiveX Warning in Internet Explorer | Internet Explorer has restricted this webpage from running scripts or ActiveX controls"

Windows 7 RC with SCCM console, Endpoint

Well I'm trying to load most of the stuff I have on my xp box. So far I have loaded the SCCM 2007 console without any problems and also symantec Endpoint. Now Endpoint windows 7 didn't like very much. I bypassed or accepted all the errors and are you sure windows by choosing yes or ok. It has installed fine and I've actually managed it to my SEPM Server. It grabbed the updates from it as well. It doesn't report to Windows 7 very well as it states my definitions are wrong yet they are one day old. More Screenshots yay!!!



Seems Endpoint reports to Windows Security is no longer supported. They recommend Some of the other brands. Norton's is listed so this is probably too early as Endpoint is newer then Nortons as far as I know. I would think they'd use the same technology but who knows.

Tuesday, May 5, 2009

windows 7 IE tabs while minimized

Now this was a pretty cool feature. When you have multiple tabs open and you minimize IE, when you click your mouse on the IE icon the tabs pop up in a mini bar just above the task bar. Then when your mouse is moved over the tabs it opens that tab up above and if you move your mouse across them it changes. Also apps do the same thing. Pretty neat

Windows 7 RC states no internet access

Is it a trick question? As you can see from the pic that I do have internet and I'm actually added to the domain. I've loaded it on a laptop and used the onboard nic. If I add the wireless network the error goes away. I'm not sure if its a bug or what but its kind of funny if you ask me..

Windows 7 RC Screenshots

Here are some of the basic apps that you'll probably be using. They are themes, paint, start bar, and control panel, gadgets, advanced tools, and color options. I didn't play much but didn't see a classic view for control panel. Might be a way to change it but I only just loaded it and took some pics.

First Windows 7 RC Theme Pictures

These are the 7 built in themes that you can choose. ohh so pretty!!

Monday, May 4, 2009

Assigning Advanced Clients from the Command Prompt

I've found this and it may useful to some people.

Assigning Advanced Clients from the Command Prompt
You can assign Advanced Clients to SMS sites by running a script at the command prompt. The Advanced Client has a scripting object (Microsoft.SMS.Client) that you can use to do this. This object is installed with the Advanced Client software. For more information, see the Microsoft Systems Management Server 2003 Software Development Kit.

The following example demonstrates several of the Advanced Client scripting methods.

Set smsclient = CreateObject("Microsoft.SMS.Client")
oldsite = smsclient.GetAssignedSite
wscript.echo oldsite
smsclient.EnableAutoAssignment(True)
'or:
smsclient.SetAssignedSite("NES")
Adjust the script as necessary for your specific requirements.

Windows 7 Release Candidate Announcement

Windows 7 Release Candidate Announcement

Thank you very much for your help in testing the Windows 7 Beta. Your feedback is invaluable in helping make Windows 7 a high quality operating system. With your help, we have reached the next major milestone on the journey to Windows 7: the Release Candidate (RC).

- On April 30th, the RC became available to MSDN subscribers and TechNet Plus subscribers.
- On Tuesday, May 5 (PST), the RC will be available to everyone via our Customer Preview Program. As with the Beta, the Windows 7 RC Customer Preview Program is a broad public program that offers the RC free to anyone who wants to download it. It will be available at least through June 30, 2009, with no limits on the number of downloads or product keys available.



So you don’t need rush to make sure you get your copy. When you’re ready to download the RC, it’ll be waiting for you.

Wednesday, April 29, 2009

WSUS Still No Status **Fixed**

Windowsupdate.log file I had several of the following errors:

WARNING: SyncUpdates failure, error = 0x8024400D, soap client error = 7, soap error code = 300, HTTP status code = 200

WARNING: SOAP Fault: 0x00012c
WARNING: faultstring:Fault occurred
WARNING: ErrorCode:ConfigChanged(2)
WARNING: Message:(null)


With some research I stumbled across this having to do with SCCM being setup with SUP. Now if you've gone through my older posts you'd see that I had that role at one point and removed it. Well it apparently set the WSUS reporting to none so here is a link to the tool that will fix it.

WSUS Reporting Level

Basically run it at command prompt and select 1 for All. After I did this

SCCM 2007 Deploying Packages

Hmm now this is really starting to bug me. I've basically setup packages and advertisements just about every which way I can think of plus various ways from various sites. The packages never report to SCCM that it was a success. When logging into clients I'd get the New Programs Installed and the software does indeed work. On the clients in windows\system32\ccm\logs opening execmgr.log I see several messages. What I do notice is that my clients report with a status code of 0 and it states success.

So if your also having this issue make sure to check your logs on the client cause it actually may be installed. The programs I'm talking about mostly are Adobe flash, reader, shockwave, java. They all install successful but sccm reports program errors or failures.

Anyone that got successful returns in SCCM feel free to comment.

WSUS Can't connect to Server:Port

Well This post should be before the one below this but the way WSUS was setup here before me was to use port 80. After the crash and the reinstall I had to run the following Script from cmd or run.: cscript c:\Program Files\Update Services\InstallSelfUpdateOnPort80.vbs

After that I was able to connect to http://My-WSUS-Server/iuident.cab and download the file.

WSUS Clients status not yet reported

Well about two days ago our WSUS server had crashed and I pretty much had to reload it. Now the problem I'm having is that all of the clients show as not yet reported. I've checked a couple things and first problem I found was the Virtual Directory named Selfupdate was not in IIS. I had to create that myself and set the rights and paths as follows:

Directory: %ProgramFiles%Update Services\SelfUpdate

Security: Anonymous Access Enabled

Now that is all that I found and it seems there is more to it. You also have to set

Security: Like above but also set Integrated Windows Authentication.

Execute Permissions: Scripts Only

From a client Computer I ran the folowing command:

wuauclt /resetauthorization /detectnow

Before I did the above the log file c:\windows\windowsupdate.log had the following errors/warnings

Cached cookie has expired or a new PID is available

Once I set all the above my client had connected and downloaded new updates. A good link to follow is

IIS Settings For WSUS

Tuesday, April 21, 2009

SUP Role In SCCM 2007 Sync Error

Ok now maybe I over looked some steps but I have gone back and forth with tons of trys/fixes and I think I finally found the answer. My site is setup like this: Already in place WSUS and a new SCCM2007 server. Here is what I have found and it seems like that is how I was trying to set it up

Server 1 (SCCM) is the server server with WSUS admin console

Server 2 (WSUS) is the WSUS server

On WSUS, add SCCM as a local admin (don't need to do anything else)

On SCCM, ADD a NEW server:

* Name is WSUS

* Specify the WSUS server FQDN

* The only role is SUP

* Make it an active SUP

* Sync with Microsoft Update

* Set the rest of the parameters as desired


So It seems I was trying to add the role to my site server instead of the WSUS server. I never thought to add another server under the site systems. ::Slaps face::
Anyway I'm checking my log file now and its at 96% synching!! woo hoo!

Friday, April 17, 2009

SCCM 2007 Tool Kit

I've found the link for the 2007 toolkit. You can download it from the following link:

SCCM 2007 Toolkit Download

Configuration Management Console Lacks All the Views

Well I was trying to configure a MMC with just certain objects such as just the computer management section. It runs a little wizard and you pick custom and you can select which options you want to show. That part worked but I tried to set it back and no matter what I picked it kept the same options with just the computer settings part.

I basically copied the adminconsole.msc from the install source in SMSSETUP\AdminUI\bin to Drive:\Program Files\Microsoft Configuration Manager\AdminUI\bin

Then I ran my Console and all the settings were back in place. Not sure why re-running the wizard and selecting all the tree didn't fix it.

Another fix is to make a new MMC and add the System Center Configuration Manager Snap-in.

Wednesday, April 15, 2009

Installing SCCM 2007

OK i've found a pretty good forum with help on installing and confiuguration of SCCM 2007 on Server 2008 / 2003. Also Has alot of Info on errors, other installs, and just about anything else you could think of to help. So check it out, wont be needing my help since this site has it all :( hehe

SMS, SMS 2007

Installing IIS on server 2003 for SMS

Well found a good link for the correct way to install IIS for SMS on windows server 2003. Follow the link.

Installing IIS

DMP not responding to http error 12152

the following error appeared after a reinstall pf my MP.

MP Control Manager detected DMP is not reponding to HTTP requests. The http error is 12152.

Well This error has to do with Devices. Seems I'm not using this to monitor mobile devices so I haven't found a fix yet and just unistalled the role. I did try and clear it up but no luck as of yet.

I did eventually run across this site with steps to install DMP but I haven't tried. here's the link for that incase you want to give it a whirl.

DMP Step By Step Guide

mp.msi exited with return code: 1603

While installing the MP role on SCCM 2007 my MPsetup.log file showed me the mp.msi exited with return code: 1603 error message. The following fixed that error and my MP installed successfully the next try.

BITS is not installed with IIS. Goto

add/remove programs > add/remove windows components > application Server (click details) > Internet Information Services (Click Details) > *CHECK* Background Intelligent Transfer Service[BITS] Server Extentions

Make sure it checks both options under the details of BITS. Click oks and after the install try installing the MP role again and it should be successful.

SCCM SMP 500 error

Just stumbled across the top solution. I'm going to try it now and see if my error goes away. Seems over night the error has happen 4 times. I'll post updates if it fixes my error

@@@@@@@@@@@@@@
@@@ SOLUTION 1 @@@@
@@@@@@@@@@@@@@

Issue: MP Control fails with HTTP test request failed, status code is 500, 'Internal Server Error' on a Management Point running a 64-bit OS hosting 32-bit (x86) based IIS. The MPControl log contains the following:

Call to HttpSendRequestSync failed for port 80 with status code 500, text: Internal Server Error SMS_MP_CONTROL_MANAGER 1/23/2008 5:53:30 PM 4792 (0x12B8)
Http test request failed, status code is 500, 'Internal Server Error'. SMS_MP_CONTROL_MANAGER 4792 (0x12B8)

The IIS Logs may also show the following:

W3SVC1 192.168.0.35 CCM_POST /ccm_system/request - 80 - 192.168.0.105 ccmhttp 500 0 193
W3SVC1 192.168.0.35 CCM_POST /ccm_system/request - 80 - 192.168.1.109 ccmhttp 500 0 193
W3SVC1 192.168.0.35 GET /SMS_MP/.sms_aut MPLIST 80 - 192.168.0.35 SMS_MP_CONTROL_MANAGER 500 0 193
W3SVC1 192.168.0.35 CCM_POST /ccm_system/request - 80 - 192.168.0.61 ccmhttp 500 0 193

Browsing to http://SiteServer/SMS_MP/.sms_aut?MPlist returns a 500 as well.

Cause: This problem occurs because the ASP.NET registry keys are missing. The ASP.NET registry keys are missing when you install ASP.NET after the Enable32bitAppOnWin64 Microsoft Internet Information Services (IIS) metabase setting is set to a value of 1. Because IIS is configured to run in 32-bit mode, the ASP.NET installation does not create the ASP.NET registry keys in the 64-bit registry. The ASP.NET installation creates the ASP.NET registry keys only in the 32-bit registry.

Resolution: To resolve this problem, follow these steps for 32-bit or 64-bit mode:

To enable 64-bit mode:

1. Click Start, click Run, type cmd, and then click OK.

2. To enable the 64-bit mode, type the following command, and then press ENTER:

cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0

3. Type the following command, and then press ENTER:

cd C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727

4. To install the 64-bit version of ASP.NET, type the following command, and then press ENTER:

aspnet_regiis -i

5. Type the following command, and then press ENTER:

iisreset

----

To enable the 32-bit mode:

1. Type the following command, and then press ENTER:

cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1

2. Type the following command, and then press ENTER:

cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

3. To install the 32-bit version of ASP.NET, type the following command, and then press ENTER:

aspnet_regiis -i

4. Type the following command, and then press ENTER:

iisreset


@@@@@@@@@@@@@@
@@@ SOLUTION 2 @@@@
@@@@@@@@@@@@@@

In management Console I just started getting the following error:

SMP Control Manager detected SMP is not responding to HTTP requests. The http status code and text is 500, Internal Server Error

So far the fix that works 99% of the time is as follows

1. Remove the MP role and reporting role by highlighting the roles on the server and deleting them. Check MPSetup.log to make sure it is fully uninstalled.

2. Remove IIS

3. Reboot

4. Delete the Inetpub folder (C:\inetpub) I renamed to inetpub_OLD for safety

5. Reinstall IIS - I used server management and added the application server role back. Make sure to enable WEBDAV in the IIS console under web service extentions. **ALSO** add remove windows component and make sure BITS gets installed. otherwise error 1603 will show in the MPsetup.log

6. Add back the reporting point.

7. Add back the MP role and check the box to allow clients to use the MP. Check The MPSetup.log to make sure it install is successful.

8. Watch the MPcontrol.log file. May take up to 20 minutes for the normal HTTP 200 messages to appear, but it should work and communications should resume with your clients.

So thats it. Main things to check are the logs to make sure the install and unisntalls are successful other wise other errors may occur. I usually do a search for the log files. Also make sure BITS and WEBDAV are setup correct. WEBDAV just needs to be allowed. BITS needs to be seleted



Tuesday, April 14, 2009

MMC cannot open the file drive:\SMS\bin\i386\sms.msc

Have you ever tried to run your SMS console and the following error appears?

MMC cannot open the file (drive):\SMS\bin\i386\sms.msc
This may be because the file does not exist, is not an MMC console, or was created by a later version of MMC. This may also be because you do not have sufficient rights to the file.

Happened to me twice so far and the fix is pretty simple. You must browse to C:\Documents and Settings\(username)\Application Data\Microsoft\MMC\SMS and rename the sms file in that folder. I usually do a _old to keep just incase. After the rename just run the console again and it will recreate the file..

Thats it. From a little research it seems to happen when remoted to the SMS server and having the server lock / lose connecting while the console is still running.

Sccm 2007

For those that don't now what sccm means it is System Center Configuration Manager. Its pretty much the upgrade from SMS 2003. Its just about the same pain in the neck to install and configure.. I found a few sites that had semi-walkthroughs on installing and configuration. I followed step by step and basically still was faced with many errors. SQL actually was piece of cake as I haven't had to touch it since I clicked finish...

So after about 2 and a half days I think I've finally got it fully installed and working. After the second day of researching errors and trying various fixes about 1/4 of my clients were accepted and installed. I've been trying to clear the error messages and worry about the warnings at another time. So far I've had to reinstall IIS about 2 - 3 times and make sure WEBDAV was allowed. I've also had to remove roles and reinstall them from the System Management Console. I think I redid the MP about 2 - 3 times as well. I was getting 500 and 501 errors about every hour and for the last 3 hours it hasn't come back yet ::crosses fingers::

Basically for anyone trying to get it installed and are seeing MP or SMP errors, those are your roles so you may just need to uninstall the role, check the log files to make sure it finishes successfully, then reinstall the role. Also I had my boundries setup for AD but it seemed to work better with IP subnet. Well I'll find out tomorrow if I'm all set to go on and try other tasks such as software updates and pushes. Remote management seems to be working. I'll try and get some reference links to the sites that did help me..

Good Luck!!

Tuesday, January 13, 2009

Thoughts on Windows 7

Well right from the start you can tell that its pretty much vista with a face lift. The taskbar seems to be bigger with larger icons. Start bar was pretty much the same as far as I could see. Some of the desktop features were pretty neat. I like the option to change desktop background after a certain interval. The backgrounds included are High Res and looked really good. Seems they changed the sticky notes or maybe I just never used them in vista. Besides the look I didn't find too many changes as of yet. Only tested for about a hour or so.

Windows 7 Screen Shots

Just Loaded Windows 7 Beta

Well just got a copy of the new Windows 7 beta and figured I'd snap a few shots of it. Loaded it with Virtual PC and must say its actually running pretty good on it. Well The more neat things I find out the more I'll post.