Archive for the “IT issues” Category

This is a note from awhile ago, and I’m not sure what the original source for this solution is.

The Problem: The Service Pack 3 installation would start, but was unable to complete successfully.

The Solution involved registering a bunch of .DLL files by running the below commands. A popup appears after running each line.


net stop wuauserv
regsvr32 wuapi.dll
regsvr32 wuweb.dll
regsvr32 atl.dll
regsvr32 wups2.dll
regsvr32 wuaueng1.dll
regsvr32 wups.dll
regsvr32 MSXML3.dll
regsvr32 wucltui.dll
regsvr32 wuaueng.dll
net start wuauserv

Tags: ,

Comments No Comments »

I recently migrated an XP Virtual machine from VMWare to KVM. The process required doing a system repair using the XP install cd.

After doing this image attachments in Thunderbird were being opened by IE instead of the Windows Image Viewer. The image viewer wasn’t even an option to use.

I had to run the following from a command prompt to resolve the issue:

regsvr32 /i shimgvw.dll

Tags: ,

Comments No Comments »

I recently assisted someone on IRC with a network issue they were having with pfSense related to bogon networks. The cause was a stale bogons file which didn’t take the latest assignment into account.

[removed bogons file contents]

On pfSense this file is located at:
/etc/bogons

Update:
I did some further research into this and discovered that the bogons file is actually updated on the first of every month using a cron job. The script that is run uses a random delay to prevent hammering of the pfSense server. The file that is retrieved is located at http://files.pfsense.org/bogon-bn-nonagg.txt. I have verified that this file is up to date.

The update bogons script is located at: /etc/rc.update_bogons.sh

Running the script at the end of the build process is a good idea if you don’t want to update the bogons file directly. For immediate results you will want to create a copy of the script and edit out the parts that create a delay run the script with the ‘now’ argument.

/etc/rc.update_bogons.sh now

Tags: , ,

Comments No Comments »

Sometimes you need a quick and dirty way of resetting a MySQL root password. Typical scenario is when taking over Administrative duties on a server which has no documentation.

First we need stop MySQL and start it with the –skip-grant-tables option set:

sudo /etc/init.d/mysql stop
sudo mysqld --skip-grant-tables

Then we login to mysql as root:

mysql -u root mysql

Once logged in we can set the new password:

UPDATE user SET Password=PASSWORD('NewPassword') WHERE User='root';
FLUSH PRIVILEGES;
exit;

Warning: This is not the most secure way of doing this. I disconnect the server from the network before doing this, and reconnect after.

Tags: , ,

Comments No Comments »

I was deploying and testing an Outlook plugin for a client the other day. On one machine I came across an error message when launching Outlook 2003.
 

The message:

An extension failed to initialize: Can’t open EXTEND.DAT.

 
The Solution:

  • Rename the extend.dat file to something like extend.dat.backup.
  • The next time Outlook is launched the extend.dat file will be recreated.
Tags:

Comments No Comments »

I converted my main workstation at home to a virtual machine, and started connecting to it via RDP from a thin client machine. I found that images didn’t look quite right, and had banding instead of proper gradients. The color depth was set to 16-bit and couldn’t be raised, even when setting the depth higher using the RDP client.

Remote Desktop server on Windows XP, by default runs at a maximum 16-bit color depth. However up to 24-bit color is supported. Read the rest of this entry »

Tags: ,

Comments 1 Comment »

Every now and then I will be multitasking and will move the Show Desktop icon off the Quick Launch toolbar.  Sometimes clients will delete this icon not realizing how much they actually use it.

To replace it open Notepad and enter the following text:

[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop

Save the file as ‘Show Desktop.scf’ and place it in the ‘%userprofile%\Application Data\Microsoft\Internet Explorer\Quick Launch’ folder.

Tags: ,

Comments No Comments »

I was unable to add x64 print drivers (for distribution to 64bit clients) on a 32bit Windows Server 2008 install.  This is the workaround:

  1. On an x64 machine browse to \\servername, where servername is the x86 print server.  (Start -> Run…, type ‘\\servername’.
  2. In the list of shares, open the Printers folder.
  3. Right-click in the Printers folder and select Server Properties.
  4. Go to the drivers tab and add a new x64 driver.
Tags: , , ,

Comments No Comments »

I recently setup ISPConfig 3 RC2, on an Ubuntu 8.04 server following the install instructions provided on the ISPConfig site.  I did however experience an issue with inbound mail being rejected for valid mailboxes with the following error:

Action: failed
Status: 5.1.1
Diagnostic-Code: x-unix; ERR: authdaemon: s_connect() failed: Permission denied
Invalid user specified.

This was resolved by changing the ‘maildrop’ line in ‘/etc/postfix/master.cf’ to:

flags=R user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${domain} ${sender}

Additional:

The following may also be required to fix this error:

chmod 4755 /var/run/courier/authdaemon

Tags: ,

Comments 3 Comments »