Error closing main::stdin: Postfix amavisd-new errors on 10.3.9 server

December 8, 2007 – 11:05 pm
If you're suddenly getting errors like this, just download and replace your old version of amavisd with the latest version. You can download it from http://www.ijs.si/software/amavisd/ mail amavis[16728]: (16717-06) run_command: child process [16728]: Error closing main::stdin: Bad file descriptor at /usr/bin/amavisd line 1872, line 97.\nNov 19 21:07:20 mail amavis[16717]: (16717-06) TROUBLE in check_mail: parts_decode_ext FAILED: parsing file(1) results - missing last 2 results at (eval 42) line 154.Nov 19 21:07:20 mail amavis[16717]: (16717-06) PRESERVING EVIDENCE in /var/amavis/tmp/amavis-20071119T210720-16717Nov 20 05:07:20 mail postfix/smtp[16700]: E176CCAA12A: to=, relay=127.0.0.1[127.0.0.1], delay=16317, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=16717-05, parts_decode_ext FAILED: parsing file(1) results - missing last 1 results at (eval 42) line 154. (in reply to end of DATA command))

MDS Error messages in Mac OS X server

March 27, 2007 – 11:01 am
If you're not able to log in to server admin and you have a bunch of these messages in the system log, here one potential fix. Mar 26 14:36:02 mail /Applications/Server/Server Admin.app/Contents/MacOS/Server Admin: MDS Error: unable to create user DBs in /private/var/tmp/mds/501 Mar 26 14:36:02 mail /Applications/Server/Server Admin.app/Contents/MacOS/Server Admin: MDS Error: unable to create user DBs in /private/var/tmp/mds/501 From the terminal, enter sudo security install-mds and hit return. You should now be able to log in using server manager. Unfortunately this error will come back the next time the weekly script is run so to get around that I've created the following cron job to take care of this. If anyone can tell me why this happens I'd love to know. 3 6 * * 0 ...

Invalid serial number error in Mac OS X server 10.4

January 6, 2007 – 9:46 am
You may see a few of these in /var/log/system.log servermgrd: servermgr_info: [45] SNCheck("xsvr-104-000-x-xxx-xxx-fhv-xxx-jyp-xxx-x") failed with 2 (: )\n You'll also have an invalid serial number error when you look at server admin. If you're sure you haven't installed OS X server using the same serial number anywhere else, delete the last letter or number of your serial number from server admin and enter it back in and save the change. Next, repair permissions on the server and reboot.

Compile ClamAV for Intel with support for digital signatures.

December 27, 2006 – 5:58 pm
Getting this error when trying to compile GMP on an Intel Mac? C -o .libs/dive_1.o tmp-dive_1.s:98:junk `@GOT' after expression make[2]: *** [dive_1.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Here's the fix. For ClamAV you'll actually need version 4.1.4 of GMP as 4.2.1 doesn't currently work with ClamAV. Use the following- ./configure --host=none-apple-darwin and then make CFLAGS="-arch i386 -pipe -no-cpp-precomp" MPFR_CFLAGS="-arch i386 -pipe -no-cpp-precomp" ** Warning: linker path does not have real file for library -lbz2. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libbz2 and none of the candidates passed a file format test *** using a file magic. Last file checked: /usr/lib/libbz2.a *** The inter-library dependencies that have ...

VPN connections from Windows XP to Mac OS X server not working

December 2, 2006 – 12:34 pm
Mac OS 10.4 server /var/log/ppp/vpnd.log Fri Dec 1 15:33:52 2006 : DSAuth plugin: Could not authenticate key agent for encryption key retrieval. Fri Dec 1 15:33:52 2006 : sent [CHAP Success id=0x84 "S=BC3824FC91AE5D8761245FBC6313C56C265954EE M=Access granted"] Fri Dec 1 15:33:52 2006 : DSAccessControl plugin: User 'hrowan' authorized for access Fri Dec 1 15:33:52 2006 : MPPE required, but keys are not available. Possible plugin problem? Fri Dec 1 15:33:53 2006 : sent [LCP TermReq id=0x3 "MPPE required but not available"] Fri Dec 1 15:33:53 2006 : rcvd [IPCP ConfReq id=0x4 ] Fri Dec 1 15:33:53 2006 : rcvd [LCP TermAck id=0x3 "MPPE required but not available"] Fri Dec 1 15:33:53 2006 : Connection terminated. Fri Dec 1 15:33:53 2006 : Connect time 0.1 minutes. Fri Dec 1 15:33:53 2006 : Sent 0 bytes, received 0 bytes. Fri Dec 1 15:33:53 2006 : PPTP disconnecting... Fri Dec ...

Can’t propagate ACL’s in Mac OS X server? Check this.

November 22, 2006 – 8:38 am
If you're modifying access control lists in Mac OS X server but can't propagate the changes or the propagate button is greyed out then make sure that root isn't an owner. Change the owner to something more reasonable and propagation will work as expected.

About

January 29, 2006 – 9:07 pm
What the hell are you doing here? This isn't really intended to be a very useful blog. I basically set it up just to see how to configure Word Press. If for some strange reason you need to get in touch with me you can reach me at ccooper at mac dot com. 

Slow DNS queries using BIND and Mac OS X server

January 29, 2006 – 8:50 pm
I had been fighting a problem with some local DNS servers where lookups would take a very long time to resolve uncached queries. Average response times were shortly over 4000ms. I had originally implemented forwarding but I was never completely satisfied with the solution. I ran across this web page which seemed to offer a possible solution. The version of BIND that ships with 10.4 server is 9.2.2. I decided to install 9.2.6 on a dev box and sure enough, uncached query response times went from >4000ms to about 300ms. Now that's more like it! The key in the installation is to make sure you replace not only the supplied version of named but make it use the existing configuration. All you need to do is ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var

Life Poster

January 21, 2006 – 9:42 pm
Posterino is very cool software that allows you to create a life poster that looks amazing. Get it here. Here's my first attempt-

Some of my favorite links

January 21, 2006 – 7:12 pm
Rocketboom NY Times Treehugger Fark The Offside Mac OS X Hints StumbleUpon