Johnny C. Lam wrote: > Richard Valk wrote: >> >> Recently tried to upgrade to the latest version of the courier-auth >> daemon on my Mac OS X 10.4 and noticed a (I hope) small problem with the >> latest 2 releases. >> >> I compiled using: >> >> ./configure --with-authmysql --without-authpam >> --with-mysql-libs=/usr/local/mysql/lib/mysql >> --with-mysql-includes=/usr/local/mysql/include >> >> As I did always with previous version succesfully, but when trying to >> run I got the following error. >> >> richard$ sudo /usr/local/sbin/authdaemond start >> /usr/local/var/spool/authdaemon/pid.lock: Bad file descriptor >> ll_daemon_start: Resource temporarily unavailable >> >> I reverted to 0.59.3, compiled that with the same settings and >> everything works again. >> >> I'm unable to determine what has changed to cause this issue. >> >> Does someone have any ideas ? > > OPEN_MAX is the value used in ll_daemon_start() to figure out an > available file descriptor. I've heard that Mac OS X may have some > absurdly high value which may actually be larger than the actual file > descriptor table size. Can you try the attached patch? > > Cheers, > > -- Johnny C. Lam >
Johnny, The patch worked wonderfully. All issues solved and I've got a patched version of 0.6.0.1 running on my mailserver. I would like to thank you and Sam for the quick response and solution! Regards, Richard ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
