Archive for April, 2005

reinstalling internet explorer on xp sp2

April 29, 2005

I removed a bunch of spyware from a machine, but it had corrupted IE. Script errors opening Norton Internet Security, couldn’t type in some text boxes e.g., Yahoo! mail logon, and some pages would not display images.
I came across IEFix, but it requires a slipstreamed XP SP2 CD to restore the files. I didn’t have one handy, so I copied the files one by one as it prompted for them from a clean XP SP2 machine. The fix worked like a charm and I will keep these files on a USB key for the future. Here is the list…
Read the rest of this entry »

centos4 httpd fails to start

April 26, 2005

As far as I remember, I did a basic install of CentOS on a test machine. I couldn’t start the web server though.
# service httpd start
Starting httpd: /usr/sbin/httpd: error while loading shared libraries: failed to map segment from shared object: Permission denied

In /var/log/messages I caught this message:
kernel: audit(1114555474.049:0): avc: denied { execute } for pid=2643 path=/usr/lib/ dev=dm-0 ino=379590 scontext=root:system_r:httpd_t tcontext=root:object_r:lib_t tclass=file

Apparently, SELinux was blocking access to the file. Since I am not terribly concerned with having SELinux on the box, I disabled it by changing SELINUX=enforced to SELINUX=disabled in /etc/selinux/config

share outlook pst without exchange

April 26, 2005

I’ve OLFolders around for a while, but never had a chance to test it out. I set it up to share a calendar between two machines the other day. It took about 30 minutes to get working.
-It works.
-Relatively quick setup
-Whole process is invisible to end-user.

-It runs in userland instead of as a service. The ‘server’ must have someone logged in for the program to run.
-Setup is far from polished. Some buttons are still in German.
-The server requires Outlook installed to run. I wanted to have it run on a standalone server, but didn’t want to install Outlook on it.

bypass outlook security warnings

April 26, 2005

I came across this one for a client that uses ACT! 6.0 with Outlook 2003 to bypass the “A program is trying to automatically send e-mail on your behalf. Do you want to allow this?” Haven’t tried it yet, but it promises to bypass the annoyance:

local printers in terminal server sessions

April 6, 2005

Did you know that you can only connect printers on a local port (no network/shared) to use in a terminal server session? You can get around it with a network printer by sharing it and mapping it to a local port. Do you remember how to map a shared printer to an LPT port?
Create a batch file containing:
net use \host\printer LPT2: /Persistant:YES
Now manually add a local printer on LPT2: and Bob’s your Uncle.
Drop the bat file in: C:\Documents and Settings\All Users\Start Menu\Programs\Startup.