From owner-freebsd-ports@FreeBSD.ORG Mon Mar 13 21:44:38 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 704C716A41F for ; Mon, 13 Mar 2006 21:44:38 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp102.rog.mail.re2.yahoo.com (smtp102.rog.mail.re2.yahoo.com [206.190.36.80]) by mx1.FreeBSD.org (Postfix) with SMTP id 75B7943D55 for ; Mon, 13 Mar 2006 21:44:37 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 76013 invoked from network); 13 Mar 2006 21:44:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=zRGRSy79aNvW4ZEQNiOzndn2PNqrgTES/T1cbuFmJZg7Ls9Z5CuQK9BOi/Z4R9HljtXAfYRV0dFptpf+ce/aHkHRavWzeYFGX2QmwCTC2iAFGRwWMc4kfuVkkR4hO1UR9pC+JpfR7IfR0mosTVPPbVN2VnA6t+TNl/PmuR3tAFk= ; Received: from unknown (HELO ?70.31.50.218?) (mikej@rogers.com@70.31.50.218 with plain) by smtp102.rog.mail.re2.yahoo.com with SMTP; 13 Mar 2006 21:44:36 -0000 Message-ID: <4415E7D2.3050508@rogers.com> Date: Mon, 13 Mar 2006 16:44:50 -0500 From: Mike Jakubik User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Paul Khavkine References: <20060309165932.G41589@srv15.mtlcnds.ext.distributel.net> <44149FA4.1070102@rogers.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: Problem with FreeRADIUS 1.1.0 port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Mar 2006 21:44:38 -0000 Paul Khavkine wrote: > When the port is compiled i see that radiusd binart is linked against > libpthread.so.1 AND libpthread.so.2 > Is that normal ? > > paul# ldd /usr/local/sbin/radiusd > /usr/local/sbin/radiusd: > libcrypt.so.3 => /lib/libcrypt.so.3 (0x2808c000) > libradius-1.1.0.so => /usr/local/lib/libradius-1.1.0.so (0x280a4000) > libltdl.so.4 => /usr/local/lib/libltdl.so.4 (0x280b8000) > libpthread.so.2 => /usr/lib/libpthread.so.2 (0x280bf000) <---- > libcrypto.so.4 => /lib/libcrypto.so.4 (0x280e4000) > libssl.so.4 => /usr/lib/libssl.so.4 (0x281d6000) > libc.so.6 => /lib/libc.so.6 (0x28204000) > libpthread.so.1 => /usr/lib/libpthread.so.1 (0x282db000) <--- > libcrypto.so.3 => /lib/libcrypto.so.3 (0x282ff000) > libssl.so.3 => /usr/lib/libssl.so.3 (0x283f6000) > libc.so.5 => /lib/libc.so.5 (0x28424000) > > It's fine here, looks like your system has a problem: --- # ldd /usr/local/sbin/radiusd /usr/local/sbin/radiusd: libcrypt.so.3 => /lib/libcrypt.so.3 (0x800644000) libssl.so.4 => /usr/lib/libssl.so.4 (0x80075d000) libcrypto.so.4 => /lib/libcrypto.so.4 (0x800895000) libpthread.so.2 => /usr/lib/libpthread.so.2 (0x800adb000) libradius-1.1.0.so => /usr/local/lib/libradius-1.1.0.so (0x800c06000) libltdl.so.4 => /usr/local/lib/libltdl.so.4 (0x800d1c000) libc.so.6 => /lib/libc.so.6 (0x800e24000) # radiusd -x Starting - reading configuration files ... Module: Loaded exec rlm_exec: Wait=yes but no output defined. Did you mean output=none? Module: Instantiated exec (exec) Module: Loaded expr Module: Instantiated expr (expr) Module: Loaded PAP Module: Instantiated pap (pap) Module: Loaded CHAP Module: Instantiated chap (chap) Module: Loaded MS-CHAP Module: Instantiated mschap (mschap) Module: Loaded preprocess Module: Instantiated preprocess (preprocess) Module: Loaded SQL rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked rlm_sql (sql): Attempting to connect to root@localhost:/radius rlm_sql (sql): starting 0 rlm_sql (sql): Attempting to connect rlm_sql_mysql #0 rlm_sql_mysql: Starting connect to MySQL server for #0 rlm_sql_mysql: Couldn't connect socket to MySQL server root@localhost:radius rlm_sql_mysql: Mysql error 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)' rlm_sql (sql): Failed to connect DB handle #0 rlm_sql (sql): starting 1 rlm_sql (sql): starting 2 rlm_sql (sql): starting 3 rlm_sql (sql): starting 4 rlm_sql (sql): Failed to connect to any SQL server. Module: Instantiated sql (sql) Module: Loaded Acct-Unique-Session-Id Module: Instantiated acct_unique (acct_unique) Initializing the thread pool... Listening on authentication *:1812 Listening on accounting *:1813 Ready to process requests.