slapconfig -backupdb Error: Archive file path exists. (error = 73)

by

sudo slapconfig -backupdb /Users/localadmin/Documents/odbackup42117/

2017-04-21 17:00:43 +0000 slapconfig -backupdb
2017-04-21 17:00:43 +0000 Error: Archive file path exists. (error = 73)
2017-04-21 17:00:43 +0000 Removed file at path /var/run/slapconfig.lock.

If you’re getting this error and the man page for slapconfig is useless because there’s not enough detail, make sure you are also specifying the name of the disk image that the data will be saved to in your path.

sudo slapconfig -backupdb /Users/localadmin/Documents/odbackup42117/untitled.sparseimage

Migrate CalDAV data to Mac OS 10.8 server From A Different Server Running 10.5 or 10.6

by

I had a hell of a time getting CalDAV data to import properly on a Mountain Lion server that didn’t have CalDAV on it originally. Before the upgrade I had two different Xserves, one acting as the OD master running file services, FTP, DNS, Web and Wiki services and the other was a backup computer and iCal server. Here’s what I did in order to get the calendar server working on just one 10.8 server. I could have migrated the server running CalDAV first and configured the other server’s services afterwards but I was curious to know how to do it manually since Apple doesn’t seem to document this anywhere. I’m sure there is a better way but this method worked for me.

First I made a Time Machine backup of the server running the CalDAV server. Next I set up a fresh install of 10.8 and installed the Server.app but did not run it. I then ran the Migration Assistant and brought over the data from the Time Machine backup of the server. When it was done, I had a directory at /Library/Server/Previous containing the necessary configuration data from the old server. I’m not sure if this was necessary but I went into this folder and deleted everything that wasn’t related to CalDAV to prevent potential import problems.

Once I had my primary server migrated and ready to go I copied the /Library/Server/Previous folder to the same location on the primary server. From the terminal I went to /Applications/Server.app/Contents/ServerRoot/System/Library/ServerSetup/MigrationExtras/ and ran python 70_calendarmigrator.py –targetRoot / –sourceType System –language en –sourceRoot /Library/Server/Previous/ –sourceVersion 10.6.8 –purge 0

After launching the calender server, give it plenty of time to move the data to postgres before trying to connect in iCal. Once it finished I finally had all of my calendar data from the other server combined with the primary server.

One thing that I suppose might work is recreating the folder structure and populating directories with the appropriate configuration and data files in the same way that the Migration Utility does. It would certainly be much faster. You’d create a directory at /Library/Server/Previous/Library on the new server and copy the old server’s CalendarServer directory from /Library to it. Next would be to create a directory at /Library/Server/Previous/private/etc/caldavd and populate it with the caldavd.plist from /etc on the old server. You may also want to edit the original caldavd.plist prior to running the migration script so that the server name matches your new server.

I think that would do it. If I’m missing any other required files for the Caldav migration, let me know.

Cisco RVS4000 with IPSecuritas

by

For the main setup document, go here.

I couldn’t get this to work with an RVS4000 until I made some changes to the Phase 2 settings in IPSecuritas. By default, multiple encryption and authentication settings were checked and it wasn’t unitl I unchecked everything except for 3DES in encryption and HMAC SHA-1 in authentication that I was able to connect.

Outlook 2011 Moving Exchange Messages To On My Computer

by

I had a problem where Outlook 2011 was moving sent and inbox messages from the Exchange folders to the inbox under On My Computer. The solution was to go to Tools -> Mailing List Manager and turn off the rule that must have been set by accident.

If you simply open up the Mailing List Manager I noticed that it automatically creates a rule that matches your email address and then moves them to the Inbox On My Computer. I must have been going through the various menu options and hit return by mistake.

Bugzilla and MySql errors

by

First off, if you’re trying to install Bugzilla 4.x on 10.5 server, don’t. At least as of Bugzilla version 4.0, it just won’t complete the localconfig script properly. Go back to version 3.6.4 and try again.

If you’re seeing the following when trying to actually log in to Bugzilla try the solution below.

[error] [client 192.168.50.2] [Sun Mar 27 00:44:00 2011] config.cgi: install_driver(mysql) failed: Can’t load ‘/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bun
dle’ for module DBD::mysql: dlopen(/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle, 1): Library not loaded: libmysqlclient.18.dylib
[Sun Mar 27 00:44:00 2011] [error] [client 192.168.50.2] [Sun Mar 27 00:44:00 2011] config.cgi: Referenced from: /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle
[Sun Mar 27 00:44:00 2011] [error] [client 192.168.50.2] [Sun Mar 27 00:44:00 2011] config.cgi: Reason: image not found at /System/Library/Perl/5.8.8/darwin-thread-multi-2level/DynaLoader.pm line 230.
[Sun Mar 27 00:44:00 2011] [error] [client 192.168.50.2] [Sun Mar 27 00:44:00 2011] config.cgi: at (eval 42) line 3
[Sun Mar 27 00:44:00 2011] [error] [client 192.168.50.2] [Sun Mar 27 00:44:00 2011] config.cgi: Compilation failed in require at (eval 42) line 3.
[Sun Mar 27 00:44:00 2011] [error] [client 192.168.50.2] [Sun Mar 27 00:44:00 2011] config.cgi: Perhaps a required shared library or dll isn’t installed where expected
[Sun Mar 27 00:44:00 2011] [error] [client 192.168.50.2] [Sun Mar 27 00:44:00 2011] config.cgi: at Bugzilla/DB.pm line 1101

Try this- ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/local/lib/libmysqlclient.18.dylib

Using The ZyXEL WAP3205 Wireless Bridge With Airport

by

I recently bought a ZyXEL WAP3205 so that I could connect a TiVo series 1 to my wireless network. Now that every thing is working I’m very happy with this device. Getting things up and going wasn’t as simple as I hoped it would be so I wanted to add what I’ve learned about the process.

Configuring the WAP3205 in client mode would have been super easy except for one thing. I had forgotten about the Norton Firewall software that I had installed a few months ago. The firewall was detecting ARP cache poisoning and keeping the WAP3205 from communicating with my Airport Extreme. Once I disabled ARP cache poisoning on the firewall everything worked as it should.

Configuring the WAP3205 to operate in Universal Repeater mode was a bit trickier. It turns out that in order to get it to join the Airport network I had to turn off auto channel selection on the Airport base station and then go to the General tab and set the WAP3205 to use the same channel number that the Airport base station was using.

The documentation is the worst thing about the device but once you get it set up and going it’s pretty amazing how well it works. Especially for something so inexpensive.

4/3/10- Well crap. I’ve run into a strange problem where the wireless connection on my laptop stops working roughly every hour. It’s not the ZyXEL because turning airport off on the laptop and back on gets me up and going. This led me to believe that it had something to do with the group key time out setting but so far that hasn’t fixed things. I’ll be calling ZyXEL on Monday to see if we can figure this out.

So You Want To Watch Soccer In Europe Do You?

by

Recently I was given the opportunity of a lifetime. Thanks to the forward thinking owners at the company I work for, I was allowed to take a few months off from my incredibly stressful job in IT consulting and go to Europe in order to watch the beautiful game. As someone who loves nothing more than to go to matches in my hometown of Portland, Oregon to passionately support the team I love, I was overwhelmed with the possibilities. All my life I have had to watch the great clubs of Europe on television when what I really wanted was to be there in person. Could there be anything better than leaving the stress and anxiety of my job behind while traveling around Europe to watch footie live and in person? I don’t think that there is.

There are already seemingly millions of travel related blogs out there and I’m not going to try and kid myself into thinking I can come close to providing the kind of interesting and insightful journal that so many others publish on a daily basis. Instead, my whole purpose is to try and appeal to that rarest of Americans, the soccer fan. I haven’t even left for Europe yet but I’ve already run in to some stumbling blocks and the reality of what I want to accomplish is getting in the way of my dream. I hope to share what I learn along the way with other fans who might want to cross the pond and take in some real European football and hopefully make the experience easier and more enjoyable for them as a result of my struggles.

Planning Advice- Hook Up With An Insider

by

Another piece of advice that seems so simple and obvious to me now is to try and make contact with local fans. I was put in touch with two fan club presidents from two different clubs but unfortunately the only matches that I could make it to were all sold out. When this didn’t work out I sort of just forgot about it until the time came for the game in Stockholm.

This was near the end of my trip so I couldn’t practice what I’m going to preach to you. Having someone who cares about the club, knows the club inside and out and is willing to share that with you is a sure fire way to have the time of your life.

If you’ve joined a fan club, that would be a great place to start. One thing that will always translate no matter what the language is a passion for football. I’ve seen it first hand when the Portland Timbers have hosted teams from England. Fans from visiting teams are practically treated like rock stars and if you’re lucky you might experience the same thing.

If there is an English language message board, look it over and see how visiting fans have been treated in the past. If you can’t find anything to go on, go ahead and post and share your story. Even if you don’t get a place to stay or someone to show you around out of it, you’ll probably get some good insider information about where to eat and drink come match day.