Also, FreeRADIUS compiles fine on Mac OS X 10.3.x without the --disabled-shared configuration option.
On Tue, 22 Feb 2005 17:41:42 -0600, Justin Guidroz <[EMAIL PROTECTED]> wrote: > Andreas, > > Edit rc.radiusd to have it include the "-s" argument and see if the > server starts. There is a patch from Andreas Wolf to allow running > radiusd without the -s argument on Mac OS X, but I haven't updated it > to work with 1.0.2. > > Justin > > > On Wed, 23 Feb 2005 00:29:47 +0100, Andreas Fink <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I made a fresh install on a machine running MacOS X 10.3.8 which didn't > > had freeradius before. > > I configured this way: > > ./configure --with-mysql --with-large-files=yes --disable-shared > > after the make install, I modified /usr/local/etc/radius/clients.conf > > to include my Access Point in the following way: > > > > client 1.1.1.1 { > > secret = xxx > > shortname = some-name > > } > > > > I also copied over my own sql.conf from another machine. > > I then started radius by doing: > > > > mini:/usr/local/etc/raddb root# /usr/local/sbin/rc.radiusd start > > Starting FreeRADIUS:Mon Feb 21 12:24:56 2005 : Info: Starting - reading > > configuration files ... > > radiusd > > mini:/usr/local/etc/raddb root# > > > > but radiusd wasnt running anymore. So I looked at the logfile and I > > only see this: > > > > Wed Feb 16 02:25:36 2005 : Error: FATAL: Failed to initialize > > semaphore: Function not implemented > > Wed Feb 16 02:39:56 2005 : Info: Using deprecated naslist file. > > Support for this will go away soon. > > Wed Feb 16 02:39:56 2005 : Info: rlm_exec: Wait=yes but no output > > defined. Did you mean output=none? > > Wed Feb 16 02:39:56 2005 : Info: rlm_sql (sql): Driver rlm_sql_mysql > > (module rlm_sql_mysql) loaded and linked > > Wed Feb 16 02:39:56 2005 : Info: rlm_sql (sql): Attempting to connect > > to [EMAIL PROTECTED]:/radius > > Wed Feb 16 02:39:56 2005 : Info: rlm_sql_mysql: Starting connect to > > MySQL server for #0 > > Wed Feb 16 02:39:56 2005 : Info: rlm_sql_mysql: Starting connect to > > MySQL server for #1 > > Wed Feb 16 02:39:56 2005 : Info: rlm_sql_mysql: Starting connect to > > MySQL server for #2 > > Wed Feb 16 02:39:56 2005 : Info: rlm_sql_mysql: Starting connect to > > MySQL server for #3 > > Wed Feb 16 02:39:56 2005 : Info: rlm_sql_mysql: Starting connect to > > MySQL server for #4 > > Wed Feb 16 02:39:56 2005 : Error: FATAL: Failed to initialize > > semaphore: Function not implemented > > Mon Feb 21 12:24:56 2005 : Info: Using deprecated naslist file. > > Support for this will go away soon. > > Mon Feb 21 12:24:57 2005 : Info: rlm_exec: Wait=yes but no output > > defined. Did you mean output=none? > > Mon Feb 21 12:24:57 2005 : Error: FATAL: Failed to initialize > > semaphore: Function not implemented > > > > I've seen this error once before with some other package but I couldnt > > remember what was the fix for it. There's some semaphore initialisation > > function which actually returns not implemented. > > > > in src/main/threads.c I find the code which fails: > > > > /* > > * Initialize the queue of requests. > > */ > > rcode = sem_init(&thread_pool.semaphore, 0, SEMAPHORE_LOCKED); > > if (rcode != 0) { > > radlog(L_ERR|L_CONS, "FATAL: Failed to initialize > > semaphore: %s", > > strerror(errno)); > > exit(1); > > } > > > > by the way there is a file /usr/include/semaphore.h > > > > Anyway having a hint? > > > > Andreas Fink > > Fink Consulting GmbH > > > > --------------------------------------------------------------- > > Tel: +41-61-6666332 Fax: +41-61-6666331 Mobile: +41-79-2457333 > > Address: Clarastrasse 3, 4058 Basel, Switzerland > > E-Mail: [EMAIL PROTECTED] > > Homepage: http://www.finkconsulting.com > > --------------------------------------------------------------- > > > > - > > List info/subscribe/unsubscribe? See > > http://www.freeradius.org/list/users.html > > > > -- > Justin Guidroz > -- Justin Guidroz - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html