I recently set up a new Mac Pro. I installed Office 2004 and copied the user's files over. Entourage started fine, and the user's Exchange mailbox seemed to open correctly.
I patched the installation of office, and Entourage started crashing shortly after launching it. I then removed Office 2004, and reinstalled it. This time, Entourage said that it could not open this version of the database. I patched 10.5.2 to 10.5.8, to no avail.
I tried various fixes other people suggested on the web. In the end, I patched 2004 with the latest patch, killed the Microsoft Database process. Since the user did not keep a PST, I simply moved the user's Entourage data in documents (In a Microsoft folder) to another location - and then reconfigured the entourage client for exchange.
Entourage opened with no issues.
Saturday, August 29, 2009
Sunday, August 9, 2009
Exchange 2003 Not Starting - EventID 5197
We recently had a problem with an Exchange server running Windows 2003 server standard and enterprise exchange. We recabled the entire network, but did not perform any address changes. However, the exchange server would not boot correctly after restart. The Windows Server would hang on "applying settings" - unless you unplugged the NIC. If you unplugged the NIC, the box would use your cached local account and allow you to log in.
At any rate, I checked the two domain controllers for signs of problems - but could not find any. The error in the event log on the exchange server was event 9157. There was an MS article vaguely relating to it (http://support.microsoft.com/kb/297295) - but the exchange server's account was definitely present in AD users and computers. In spite of that, I did use ADSI Edit to make the suggested changes in that article, but it did not help.
As it turned out, someone had remove the Exchange security groups out of the default users OU a month before this happened. It just so happened that the exchange server had not been rebooted since then. I'm guessing that one of the group policies didn't apply - as it was probably hardcoded to an entry in ad users and computers
I moved both of those groups back to the users OU, and restarted the exchange server; it came back up after reboot. What I guess happened was that
At any rate, I checked the two domain controllers for signs of problems - but could not find any. The error in the event log on the exchange server was event 9157. There was an MS article vaguely relating to it (http://support.microsoft.com/kb/297295) - but the exchange server's account was definitely present in AD users and computers. In spite of that, I did use ADSI Edit to make the suggested changes in that article, but it did not help.
As it turned out, someone had remove the Exchange security groups out of the default users OU a month before this happened. It just so happened that the exchange server had not been rebooted since then. I'm guessing that one of the group policies didn't apply - as it was probably hardcoded to an entry in ad users and computers
I moved both of those groups back to the users OU, and restarted the exchange server; it came back up after reboot. What I guess happened was that
Monday, July 6, 2009
1-Wire Temperature Sensors...
I recently bought a 1-Wire serial interface (Link45) and two T-sensors from iButtonlink as well as a power injector and power adapter. The power adapter was back-ordered, but arrived today. Using a USB serial adapter and Digitemp, I get results like:
user@testmachine$ sudo digitemp_DS9097U -s /dev/ttyUSB0 -a
DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
Jul 06 22:26:20 Sensor 0 C: 22.81 F: 73.06
Jul 06 22:26:21 Sensor 1 C: 22.56 F: 72.61
One of the nice things is that you can add more sensors and also things like humidity sensors.
It's pretty useful. I discovered that someone had written a little plugin/wrapper for Nagios here.
user@testmachine$ sudo digitemp_DS9097U -s /dev/ttyUSB0 -a
DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
Jul 06 22:26:20 Sensor 0 C: 22.81 F: 73.06
Jul 06 22:26:21 Sensor 1 C: 22.56 F: 72.61
One of the nice things is that you can add more sensors and also things like humidity sensors.
It's pretty useful. I discovered that someone had written a little plugin/wrapper for Nagios here.
Sunday, June 14, 2009
Windows Vista Displays the Wrong CPU Device
I recently upgraded a laptop's CPU to a higher clocked model. The bios recognized the new CPU immediately, of course, but the device manager in Vista (Ultimate 64bit) still showed the old dual cores (T6570 @2.1GHz.) Running scans for hardware changes did not help, nor did updating the performance tool.
I did some web searches (though none too thorough) and didn't find any real answers. I felt brave (don't try this at home!) and went into device manager and "uninstalled" one of the cores of the processor and rebooted.
When the box came back up, one of the cores was labeled T6570 @2.1Ghz, but the other core was now labeled correctly: T9300 @2.5Ghz. I repeated the procedure with the second core and rebooted. Voila! Both cores show the correct name and speed.
If you try to do this yourself, you do so at your own risk, of course. It'd probably be smart to do a backup, but I was too impatient.
I did some web searches (though none too thorough) and didn't find any real answers. I felt brave (don't try this at home!) and went into device manager and "uninstalled" one of the cores of the processor and rebooted.
When the box came back up, one of the cores was labeled T6570 @2.1Ghz, but the other core was now labeled correctly: T9300 @2.5Ghz. I repeated the procedure with the second core and rebooted. Voila! Both cores show the correct name and speed.
If you try to do this yourself, you do so at your own risk, of course. It'd probably be smart to do a backup, but I was too impatient.
DB9 - RJ45 Serial Pinouts
I frequently use serial connections for access to network devices. I find it a hassle to carry around the old serial cables... especially with limited space in my bag. On the other hand, I always have a few cat 5/5e cables handy. I decided years ago to just start using the DB9 to CAT5 adapters you can get at places like Radio Shack.
I labeled these pinouts A and B, but those names are arbitrary. You'll find that layout B is most commonly used in the blue cisco cables... particularly the older cables that had a separate connector. In both cases, the green wire is optional (and is soldered to the red wire, at least in the Cisco version) - at least with all the network gear I've worked with in the last few years. Also, pins 1 and 9 aren't used in either version.
The advantage of these two are that you need only two of these adapters (one of each) and a cat 5 or cat 5e cable.
If you need to connect to a piece of Cisco gear (they typically use the RJ45 serial port,) just use the type A connector and a cat5 cable direct to the Cisco box.
If you need to connect to a piece of gear that uses DB9, place one connector on each end of the cat 5 cable.
I labeled these pinouts A and B, but those names are arbitrary. You'll find that layout B is most commonly used in the blue cisco cables... particularly the older cables that had a separate connector. In both cases, the green wire is optional (and is soldered to the red wire, at least in the Cisco version) - at least with all the network gear I've worked with in the last few years. Also, pins 1 and 9 aren't used in either version.
The advantage of these two are that you need only two of these adapters (one of each) and a cat 5 or cat 5e cable.
If you need to connect to a piece of Cisco gear (they typically use the RJ45 serial port,) just use the type A connector and a cat5 cable direct to the Cisco box.
If you need to connect to a piece of gear that uses DB9, place one connector on each end of the cat 5 cable.
| type | Pin 1 | Pin 2 | Pin 3 | Pin 4 | Pin 5 | Pin 6 | Pin 7 | Pin 8 | Pin 9 |
|---|---|---|---|---|---|---|---|---|---|
| A | x | black | yellow | brown | red (+green) | orange | white | blue | x |
| B | x | yellow | black | orange | red (+green) | brown | blue | white | x |
Tuesday, May 12, 2009
Nagios, FreeBSD, and Lilac
In the earlier post, I talked about setting up nconf on FreeBSD. I decided to give Fruity/Lilac a try. It's been around longer, anyway, and it supports imports of existing configs. It also can use nmap to generate a basic configuration.
Anyway, the rough steps are:
1. install mysql50-server
2. install apache22
3. install php5
4. install php5-extensions with the following modules enabled:
json, pcntl, posix, mysql, curl
5. install php5-pdo_mysql
6. install nmap
7. untar the lilac source to /usr/local/www/apache22/data/lilac
8. sudo chown www:www /usr/local/www/apache22/data/lilac/includes
9. restart apache.
Note: in order to get apache to work with php, I created a php config file in /usr/local/etc/apache22/Includes/php.conf:
DirectoryIndex index.php index.html index.htm
AddType application/x-httpd-php .php .htm .html
AddType application/x-httpd-php-source .phps
Anyway, the rough steps are:
1. install mysql50-server
2. install apache22
3. install php5
4. install php5-extensions with the following modules enabled:
json, pcntl, posix, mysql, curl
5. install php5-pdo_mysql
6. install nmap
7. untar the lilac source to /usr/local/www/apache22/data/lilac
8. sudo chown www:www /usr/local/www/apache22/data/lilac/includes
9. restart apache.
Note: in order to get apache to work with php, I created a php config file in /usr/local/etc/apache22/Includes/php.conf:
DirectoryIndex index.php index.html index.htm
AddType application/x-httpd-php .php .htm .html
AddType application/x-httpd-php-source .phps
Thursday, May 7, 2009
Netgear Switches (FSM7352S) and Disabling Stackports
These are decent switches. The FSM7352S is a 48 port layer 3 10/100 switch with 4 copper/fiber combo ports. The last two ports are set to be stacking ports by default, and cannot be used for normal purposes.
To disable stacking from the command line:
enable (if you aren't there already)
configure
stack
stack-port 1/0/51 ethernet
stack-port 1/0/52 ethernet
To revert them back to stack ports:
configure
stack
stack-port 1/0/51 stack
stack-port 1/0/52 stack
To disable stacking from the command line:
enable (if you aren't there already)
configure
stack
stack-port 1/0/51 ethernet
stack-port 1/0/52 ethernet
To revert them back to stack ports:
configure
stack
stack-port 1/0/51 stack
stack-port 1/0/52 stack
Subscribe to:
Posts (Atom)