Debian apt-get upgrade fails for package linux-image-2.6.18-5-686

Was working on a Linux server today in the datacenter that we use for monitoring our Cisco gear and decided to upgrade all the Debian packages. I came across the following error and was able to resolve the issue.

Searching for GRUB installation directory … found: /boot/grub
Searching for default file … found: /boot/grub/default
Testing for an existing GRUB menu.lst file … found: /boot/grub/menu.lst
Searching for splash image … none found, skipping …
Found kernel: /vmlinuz-2.6.20.1.intel
Found kernel: /vmlinuz-2.6.18-5-686
Updating /boot/grub/menu.lst … /usr/sbin/update-grub: line 1154: /boot/grub/menu.lst: Permission denied
User postinst hook script [/sbin/update-grub] exited with value 1
dpkg: error processing linux-image-2.6.18-5-686 (–configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
linux-image-2.6.18-5-686
E: Sub-process /usr/bin/dpkg returned an error code (1)
Continue reading »

Linux , , Leave a comment

Windows 7 RTM Available August 6th on MSDN and TechNet

When will Windows 7 RTM be available for download?

For Business Customers:

If you are a Volume License (VL) customer with an existing Software Assurance (SA) license you will be able to download Windows 7 RTM in English starting August 7th via the Volume License Service Center (VLSC). The rest of the languages for Windows 7 RTM should be available within a couple of weeks after that.

Volume License customers without a SA license will be able to purchase Windows 7 through Volume Licensing on September 1st as we announced last week at WPC09. Mark these dates on your calendar and start making your deployment plans!

For IT Professionals:

There are a few ways you can get Windows 7 RTM. IT Professionals with TechNet Subscriptions will be able to download Windows 7 RTM in English on August 6th and remaining languages by October 1st. IT Professionals at companies with Volume Licensing see above on how you can get Windows 7 RTM. Microsoft Action Pack Subscribers will be able to download Windows 7 RTM in English on August 23rd.

We have quite a bit of resources for IT Professionals to use to become experts on Windows 7 and to aid in their deployments. Those resources can be found at the Springboard Series.

For Developers:

Developers with MSDN Subscriptions will be able to download Windows 7 RTM in English on August 6th and remaining languages by October 1st.

To help developers who are developing applications for Windows 7 or updating existing applications to take advantage of new Windows 7 features, check out the Windows 7 for Developers Blog. Also, be sure to check out the Windows 7 Developers Guide on MSDN. Oh and there are also some fantastic videos on Channel 9 too!

Read here for more information:

http://windowsteamblog.com/blogs/windows7/archive/2009/07/21/when-will-you-get-windows-7-rtm.aspx

Microsoft Leave a comment

HP Insight Control Environment – Windows 2008 SP2 iSCSI Driver Incompatibility

I decided to ensure all my firmware, drivers and Windows updates including Windows 2008 SP2 were installed before installing HP Insight Control Environment 5.10. It turns out they have this nifty prerequisite checker before the installation to ensure all your stuff is compatible. After installing SP2 the iSCSI msiscsi.sys driver will be updated to 6.0.6002.18005. The expected driver by the “Insight Software Advisor” is 6.0.6001.18000 if you are running Windows 2008. I did not want to roll back the SP2 installation so here is what I have done:
Continue reading »

Microsoft Leave a comment

LDAP Query to find all Windows Servers in a Domain

Here a quick tutorial on how to grab all the Windows Servers out of your domain:

1 ) Open Active Directory Users and Computers MMC.
2 ) Expand AD Users and Computers.
3 ) Expand the domain you want to create the query in.
4 ) Right click on Saved Queries, Select New->Query.
5 ) Name the query “Windows Servers”.
6 ) Click Define Query button.
7 ) From the Find drop down menu select Custom Search.
8 ) Click on the Advanced tab.
9 ) Paste the following into the “Enter LDAP query:” text box (without the quotes), “(&(objectCategory=computer)(|(operatingSystem=Windows Server*)(operatingSystem=Windows 2000 Server))))))”
10 ) Click OK.
11 ) Click OK.
12 ) Press F5 to refresh query and it will show all the windows servers in your domain, everything from Windows 2000 through 2008.

You can find other examples of queries at: http://www.petri.co.il/software/saved_queries_samples_xml.zip

Microsoft , Leave a comment

Because of an error in data encryption, this session will end

Because of an error in data encryption, this session will end

An aggravating situation with a simple solution. I have a brand new out-of-the-box Windows 2008 server that will not maintain a terminal services RDP session for a lousy two minutes without a “Because of an error in data encryption, this session will end.” error. Rather annoying however I did find a solution to the problem so follow along:
Continue reading »

Microsoft , , 5 Comments

Script to fix duplicate SMS/SCCM GUID’s

I recently had an interesting issue come about with a bunch of old school legacy machines scattered around several offices that contained identical disk images and SMS/SCCM agent GUID’s. The unintended consequences of this situation are computers improperly referenced in a collection plan. In addition machines were improperly re-imaged and applications inadvertently deployed. Our in-house solution was to create a script to parse a CSV (comma delimited) file including all machine names with duplicate GUID’s and run the following tasks:
Continue reading »

Microsoft , , , 5 Comments

Disaster recovery restore with Archive IQ

Of course you have all of your valuable data safely backed up just in case the inevitable happens, that’s just good practice. When disaster does indeed strike you are faced with having to restore this vital data and get things back up and running asap. You can try booting your dead-in-the-water system with a handy BartPE CD and then run the (Archive IQ) \\\AIQRemote$\aiqRemote.exe utility.
Continue reading »

Backup , , , , Leave a comment

Migrate your desktops with Archive IQ

We are in the process of consolidating three active directory forests into one and a large part of this tedious task is migrating desktops into the new domain as well. To lower the risk of data loss we were sure to backup ALL client machines before migrating them. I was concerned about the enormous amount of valuable disk space on our SAN that was being consumed by the myriad of ghost images and NTBackups. Naturally I’m thinking that there must be a more efficient and less time consuming method to accomplish this effort.
Continue reading »

Backup , , , Leave a comment

Managing the mail queue for forums and blogs

I administrate several forum and blog sites and was in need of a quick and reliable method to monitor and manage the mail queue. My desire was to implement a system that would keep me up to date on the status of my server’s mail queue via a daily cron job. This is something that can easily be forgotten about if one is as busy as I am and this very simple script lets me know if I have any e-mails jammed up in the local mail queue.

Continue reading »

Linux , Leave a comment

GPO Template for Read Write SNMP community

I’m am in the process of deploying Dell’s OpenManage System Management solution to manage the hardware, firmware and drivers on all of our Dell servers and SNMP read/write communities are required. In addition my plan calls for rolling out HP’s System Insight Manager (SIM) which also requires the SNMP communities. Since I would rather not have to configure these SNMP communities on each individual server I have utilized Windows Server Group Policy to “push” these SNMP communities out to these servers. Unfortunately the default system.adm group policy does not support read/write communities, it is limited to ‘read only’ communities and I suspect this might be for security reasons. That leaves me with one solution, at least that I can think of, and that is to create a custom GPO template. Thinking that I cannot be the only administrator in this predicament I decided to search some websites to see if I might be able to dig up some helpful information. Fortunately I came across a forum discussion that touched on exactly what I was looking for.

Continue reading »

Microsoft , , , , , 2 Comments