Wednesday, December 15, 2010

Toronto Subway 2.0.1

Version 2.0.1 of "Toronto Subway" is now available in the Palm App Catalog. In addition to providing a map of the metro system, 2.0.1 now uses your GPS to find and display information about the closest station. Please submit any feedback to b3itapps@gmail.com!

Friday, December 3, 2010

"The program can't start because BCSRuntime.dll is missing from your computer" when Office 2003 & Office 2010 Pro are installed.

We haven't migrated from Office 2003 yet, but a user of mine has a client that is using Microsoft Office 2007/2010's .docx format. They often share files, so they need to be 100% compatible. (And the Office 2003 Compatiblity Pack wasn't getting the job done) Because we are still standardized on Outlook 2003, I installed Office 2010 on their machines but did not install Outlook 2010. After install, the user kept getting an odd message when starting Outlook 2003:

"The program can't start because BCSRuntime.dll is missing from your computer. Try reinstalling the program to fix this problem."

Odd, since none of Office 2003's files were removed. After some digging, I found this post and it did the trick. Summary of the steps:

- Go to Control Panel, Programs and Features (Windows 7) or Add/Remove Programs (Windows XP)
- Select "Microsoft Office 2010" and select "Change"
- Select "Add or Remove Features", click "Continue"
- Under "Office Shared Features", there is an entry for "Business Connectivity Services".
- Click and select "Not Available"
- Click "Continue"

Tuesday, November 23, 2010

Metro de Montreal 2.0

Version 2.0 of "Metro de Montreal" has been submitted to the Palm App Catalog. In addition to providing a map of the metro system, 2.0 now uses your GPS to find and display information about the closest station. The update should become available in the next few days. Please submit any feedback to b3itapps@gmail.com!

http://developer.palm.com/appredirect/?packageid=com.b3it.metrodemontreal

Wednesday, November 17, 2010

Avoid forced boot-time disk check (fsck) with RHEL or CentOS 5

- Power on machine
- While GRUB is up, highlight the kernel that you would normally boot
- Press the "a" key to append additional parameters
- Type "fastboot" and press enter

The system will boot without performing the fsck disk check. To disable disk checks going forward, use the tune2fs command (ex. tune2fs -i 0 /dev/hda1)

Thursday, September 9, 2010

OpenVPN & SELinux - Denied Read

Setting up a new server and I'm finally starting to use SELinux. I know I should have done this years ago, but what can I say...

Anyway, I installed the OpenVPN rpm (v2.09) from Dag Wieers. I copied my config files over my desktop machine and then copied to /etc/openvpn. I attempted to start the service, but it kept failing. I looked in my audit log in /var/log/audit/audit.log and saw this error:

type=AVC msg=audit(1284047743.108:34): avc: denied { read } for pid=3895 comm="openvpn" name="client.conf" dev=dm-0 ino=65543 scontext=user_u:system_r:openvpn_t:s0 tcontext=user_u:object_r:user_home_t:s0 tclass=file

type=SYSCALL msg=audit(1284047743.108:34): arch=40000003 syscall=5 success=no exit=-13 a0=bfab9c18 a1=0 a2=1b6 a3=9084298 items=0 ppid=3887 pid=3895 auid=501 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts1 ses=2 comm="openvpn" exe="/usr/sbin/openvpn" subj=user_u:system_r:openvpn_t:s0 key=(null)

Why would the OpenVPN SELinux policy deny access to the /etc/openvpn directory? Because I copied them to my home directory before moving them to /etc/openvpn! I was able to restore the correct selinux security context on the files by running this command:

/sbin/restorecon -R -v /etc/openvpn

(Thanks Daniel @ Redhat Bugzilla!)

Thursday, July 29, 2010

Wednesday, July 14, 2010

"SM Bus Controller" drivers for Dell Latitude e6410, e5510, e4310 & e6510.

I recently did a fresh install of Windows XP on a Dell Latitude e6410 laptop. I installed all the drivers from Dell's website, but could not find the drivers for "SM Bus Controller". Turns out that Dell's driver installation utility is broken, so you must manually install the drivers. This will work on the e6410 as well as the e5510, e4310 & e6510.

- Go to support.dell.com
- Select your laptop model
- Select "Windows XP" as your operating system
- Expand the "Chipset" section
- Download "Intel - Driver" - "Chipset Software Installation Utility" (link)
- Run the file, it will expand files to C:\dell\drivers\R257446. (You might get lucky here and the driver will install, if not...continue with the steps below)
- Open the "Device Manager" on your computer (right-click "My Computer", select" Properties", "Hardware" tab, click "Device Manager")
- Right-click "SM Bus Controller" and click "Update Driver"
- Tell it not to contact Windows Update, then select "Install from a list of specific location"
- Select any of the .inf files from C:\dell\drivers\R257446\All
- Make your selection and the driver should install