Freeradius-Users
Threads by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
December 2008
- 143 participants
- 223 discussions
02 Dec '08
hi,
quick hack/fix would be to either
1) set 'prefix' to be }
with this, anything before and including }
(which may never appear as a realm or username)
would be treated like a NT domain and be stripped
off logically
2) use attr_rewrite or unlang to remove
the {blah blah} stuff and set the output value
as Stripped-User-Name (safe!)
alan
1
0
Hello,
freeradius 1.1.3 on CentOS 5.2
I have problem with proxying.
In a normal proxying configuration
when the username contains a domain different from local defined one
the request is proxied to the DEFAULT proxy entry.
Here instead proxy does not happen
and I have this warning in the logs:
rlm_realm: Found DEFAULT, but skipping due to config.
I do not know why this happens.
to make proxy happen I have to force it on users file
DEFAULT Auth-Type = System
Fall-Through = 1
DEFAULT EAP-Type == EAP-TTLS, Proxy-To-Realm := DEFAULT
but after the proxying, the authentication always fails with login
incorrect, and this is really misterious.
thank you
Rick
2
1
Hello,
I have recently install freeradius 2.1.1 on our old RHEL (Red Hat
Enterprise Linux ES release 4 (Nahant Update 2), libc-2.3.4) server
which already runs multiple radiator instances. The last time I started
freeradius was Friday. Since then there are 66 freeradius processes,
among them 65 are locked:
# strace -p 7833
Process 7833 attached - interrupt to quit
futex(0x263ecc, FUTEX_WAIT, 2, NULL
I have googled the issue and investigated the gdb backtrace, however the
only idea I have right now is to upgrade a system to more recent one (I
know, running outdated system is stupid idea, however why we still run
it is a long story). As it's not an easy task, I'd like to be sure that
the reason is old libraries or stuff like that. I have attached a gdb
backtrace, ldd output, freeradius configuration. I am ready to debug a
system further and provide more information, if this isn't enough. Any
help is appreciated.
Thanks in advace
George Chelidze
# /usr/local/freeradius/etc/raddb/sites-enabled/default
preacct {
fillrealm
acct_unique
}
accounting {
sql
billing
detail
}
# /usr/local/freeradius/etc/raddb/modules/acct_unique
acct_unique {
key = "Calling-Station-Id, Acct-Session-Id, 3GPP2-Correlation-Id"
}
# /usr/local/freeradius/etc/raddb/modules/detail
detail {
detailfile = ${radacctdir}/%{Client-IP-Address}/detail-%Y%m%d
detailperm = 0600
}
# /usr/local/freeradius/etc/raddb/modules/exec
exec billing {
wait = no
program = "/usr/local/freeradius/scripts/billing.pl"
input_pairs = request
}
# /usr/local/freeradius/etc/raddb/modules/realm
realm fillrealm {
format = suffix
delimiter = "@"
}
# /usr/local/freeradius/etc/raddb/radiusd.conf
...
thread pool {
start_servers = 5
max_servers = 32
min_spare_servers = 3
max_spare_servers = 10
max_requests_per_server = 0
}
modules {
$INCLUDE ${confdir}/modules/
$INCLUDE sql.conf
}
$INCLUDE sites-enabled/
# /usr/local/freeradius/scripts/billing.pl
#!/usr/bin/perl
use strict;
use POSIX ':sys_wait_h';
require '/usr/local/freeradius/scripts/inc/common.pm';
require '/usr/local/freeradius/scripts/inc/mysql.pm';
require '/usr/local/freeradius/scripts/inc/tibrv.pm';
my $pid = fork();
unless (defined $pid) {
common::log("Error: top level fork() failed: $!");
exit(1);
}
# exit in parent, become child of init
exit(0) if ($pid);
# 2nd level fork in child
$pid = fork();
unless (defined $pid) {
common::log("Error: 2nd level fork() failed: $!");
exit(1);
}
if ($pid > 0) {
# wait for child exit code
waitpid($pid, 0);
exit(0);
}
# do the main job in 2nd level child
...
#0 0x0087a7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x002103ce in __lll_mutex_lock_wait () from /lib/tls/libc.so.6
#2 0x001b89c9 in _L_mutex_lock_1945 () from /lib/tls/libc.so.6
#3 0xb75f4c32 in ?? ()
#4 0xb75f4718 in ?? ()
#5 0x009017e9 in fr_hash_table_finddata (ht=0xfffffffc, data=0x261ff4) at hash.c:491
#6 0x001b69dd in localtime_r () from /lib/tls/libc.so.6
#7 0x00904647 in vp_prints_value (out=0xb75f4c30 "", outlen=1008, vp=0x2103ce, delimitst=1) at print.c:267
#8 0x08053a28 in radius_exec_program (cmd=0x8dcae28 "/usr/local/freeradius/scripts/billing.pl", request=0xb4c00768, exec_wait=0, user_msg=0x0, msg_len=0,
input_pairs=0xb4a03220, output_pairs=0x0, shell_escape=1) at exec.c:330
#9 0x003dae26 in exec_dispatch (instance=0x8dcae00, request=0xb4c00768) at rlm_exec.c:315
#10 0x0805bb8c in modcall (component=3, c=0xfffffffc, request=0xb4c00768) at modcall.c:285
#11 0x0805a91b in indexed_modcall (comp=3, idx=0, request=0xb4c00768) at modules.c:541
#12 0x0805b6b0 in module_accounting (acct_type=0, request=0xb4c00768) at modules.c:1221
#13 0x0804dda7 in rad_accounting (request=0xb4c00768) at acct.c:93
#14 0x08065f1f in radius_handle_request (request=0xb4c00768, fun=0x804dd0c <rad_accounting>) at event.c:3027
#15 0x0805fc3a in request_handler_thread (arg=0x8dd9060) at threads.c:490
#16 0x00a01341 in start_thread () from /lib/tls/libpthread.so.0
#17 0x002036fe in clone () from /lib/tls/libc.so.6
# ldd /usr/local/freeradius/sbin/radiusd
libfreeradius-radius-2.1.1.so => /usr/local/freeradius/lib/libfreeradius-radius-2.1.1.so (0x00ae6000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00845000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00709000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x009fc000)
libreadline.so.4 => /usr/lib/libreadline.so.4 (0x00111000)
libtermcap.so.2 => /lib/libtermcap.so.2 (0x009ea000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00c19000)
libltdl.so.3 => /usr/lib/libltdl.so.3 (0x00a10000)
libdl.so.2 => /lib/libdl.so.2 (0x009bf000)
libssl.so.4 => /lib/libssl.so.4 (0x005d2000)
libcrypto.so.4 => /lib/libcrypto.so.4 (0x0061e000)
libc.so.6 => /lib/tls/libc.so.6 (0x00893000)
/lib/ld-linux.so.2 (0x0087a000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00608000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00730000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x00dea000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x05eca000)
libz.so.1 => /usr/lib/libz.so.1 (0x0071e000)
2
6
Hi,
I am running Centos 5.2 with freeradius-2.1.1. Currently authenticating
against mysql, what would be the best way to add active directory as an
additional authentication source?
A guide or how to would be great...
2
1
I would like to dynamic assign vlan to switch 3com , and i would like to
mac based authentication.
In 3com terminology it is called RADA.
Every works fine, freeradius dynamically assign vlan for mac adresses
includes in users.conf,
But how to configure freeradius to work in this scenario:
- freeradius check if it has proper mac addres in its users.conf, if it
has it assign the proper vlan (it works !)
- if it doesnt find a mac in a file it assign vlan for examle 15 (I dont
know how to configure that in freeradius)
in users.conf I have something:
00-0d-61-1b-6f-15 User-Password == "00-0d-61-1b-6f-15"
Tunnel-Medium-Type = 6,
Tunnel-Private-Group-Id := 101,
Tunnel-Type = VLAN
Please help
Thanks in advance
3
3
Ok, now you've opened another can of worms...
First, run "rpm -qlp freeradius-server-2.1.1-0.i386.rpm" and see if the
missing files are listed as actually being in the package. Their either
not in there, or in there but not being deployed. It would be helpful to
know which. (adjust that name for your architecture) You could also
comment out the line in the %clean section. That will casue it to leave
the $RPM_BUILD_ROOT in place and then you can go in and examine the
structure to see if those files were put where they belong, or not. All
of that should narrow down where in the process the problem is happening.
Next, most of those warnings are caused by missing dependent libraries
or their -devel package. They will be happening no matter how you build.
rpmbuild will not magically fix them. rpmbuild and the .spec file is
just a wrapper around the basic build process and it can be as
elaborate, or not, as the developer chooses to make it. In the %prep
section you could go crazy and test for every possible build dependency,
but this one just makes the assumption that you know what you're
building for and that you have installed the prerequisites you need.
That said, if you don't need to talk to LDAP you can ignore:
configure: WARNING: silently not building rlm_ldap.
configure: WARNING: FAILURE: rlm_ldap requires: libldap_r ldap.h.
...if not, then you better go install openldap and openldap-devel. The
same goes for the rest of that mess. Also, you can create a copy of the
.spec file, change the header accordingly, and then change the
%configure section to only build the required modules.
-Ted-
J Santos wrote:
> I rebuilt the rpm from scratch with >> build.log and got an output of
> warnings only. I am not pasting the complete log but only the warnings.
>
> On the other hand in the /root/rpmbuild/BUILD/freeradius-server-2.1.1
> directory there is a config.log file. On it I could find the same readline
> complains that I got when trying to make from source. Shouldn't rpmbuild
> take care of this ?
>
> I will greatly appreciate if someone could kindly take a look. I am almost
> going back to 32 bits.
>
> I apologise for the big email.
>
> Thanks
>
> Jair Santos
>
>
>
>
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> gmake[6]: Leaving directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/src/modules/rlm_sql_log'
> Making install in rlm_unix...
> gmake[6]: Entering directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/src/modules/rlm_unix'
> if [ "xrlm_unix" != "x" ]; then \
> /usr/bin/libtool --mode=install
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -c \
> rlm_unix.la
> /var/tmp/freeradius-server-root/usr/lib64/rlm_unix.la || exit $?; \
> rm -f
> /var/tmp/freeradius-server-root/usr/lib64/rlm_unix-2.1.1.la; \
> ln -s rlm_unix.la
> /var/tmp/freeradius-server-root/usr/lib64/rlm_unix-2.1.1.la || exit $?; \
> fi
> libtool: install: warning: relinking `rlm_unix.la'
> (cd /root/rpmbuild/BUILD/freeradius-server-2.1.1/src/modules/rlm_unix;
> /bin/sh /usr/bin/libtool --mode=relink gcc -release 2.1.1 -module
> -export-dynamic -o rlm_unix.la -rpath /usr/lib64 rlm_unix.lo rlm_unix.c
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/src/lib/libfreeradius-radius.la
> -lnsl -lresolv -lpthread -inst-prefix-dir /var/tmp/freeradius-server-root)
> gcc -shared .libs/rlm_unix.o -L/var/tmp/freeradius-server-root/usr/lib64
> -L/usr/lib64 -lfreeradius-radius -lnsl -lresolv -lpthread -Wl,-soname
> -Wl,rlm_unix-2.1.1.so -o .libs/rlm_unix-2.1.1.so
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -c
> .libs/rlm_unix-2.1.1.soT
> /var/tmp/freeradius-server-root/usr/lib64/rlm_unix-2.1.1.so
> (cd /var/tmp/freeradius-server-root/usr/lib64 && { ln -s -f
> rlm_unix-2.1.1.so rlm_unix.so || { rm -f rlm_unix.so && ln -s
> rlm_unix-2.1.1.so rlm_unix.so; }; })
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -c
> .libs/rlm_unix.lai /var/tmp/freeradius-server-root/usr/lib64/rlm_unix.la
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -c
> .libs/rlm_unix.a /var/tmp/freeradius-server-root/usr/lib64/rlm_unix.a
> chmod 644 /var/tmp/freeradius-server-root/usr/lib64/rlm_unix.a
> ranlib /var/tmp/freeradius-server-root/usr/lib64/rlm_unix.a
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> gmake[6]: Leaving directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/src/modules/rlm_unix'
> Making install in rlm_policy...
> gmake[6]: Entering directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/src/modules/rlm_policy'
> if [ "xrlm_policy" != "x" ]; then \
> /usr/bin/libtool --mode=install
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -c \
> rlm_policy.la
> /var/tmp/freeradius-server-root/usr/lib64/rlm_policy.la || exit $?; \
> rm -f
> /var/tmp/freeradius-server-root/usr/lib64/rlm_policy-2.1.1.la; \
> ln -s rlm_policy.la
> /var/tmp/freeradius-server-root/usr/lib64/rlm_policy-2.1.1.la || exit $?; \
> fi
> libtool: install: warning: relinking `rlm_policy.la'
> (cd /root/rpmbuild/BUILD/freeradius-server-2.1.1/src/modules/rlm_policy;
> /bin/sh /usr/bin/libtool --mode=relink gcc -release 2.1.1 -module
> -export-dynamic -o rlm_policy.la -rpath /usr/lib64 rlm_policy.lo parse.lo
> evaluate.lo rlm_policy.c parse.c evaluate.c
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/src/lib/libfreeradius-radius.la
> -lnsl -lresolv -lpthread -inst-prefix-dir /var/tmp/freeradius-server-root)
> gcc -shared .libs/rlm_policy.o .libs/parse.o .libs/evaluate.o
> -L/var/tmp/freeradius-server-root/usr/lib64 -L/usr/lib64 -lfreeradius-radius
> -lnsl -lresolv -lpthread -Wl,-soname -Wl,rlm_policy-2.1.1.so -o
> .libs/rlm_policy-2.1.1.so
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -c
> .libs/rlm_policy-2.1.1.soT
> /var/tmp/freeradius-server-root/usr/lib64/rlm_policy-2.1.1.so
> (cd /var/tmp/freeradius-server-root/usr/lib64 && { ln -s -f
> rlm_policy-2.1.1.so rlm_policy.so || { rm -f rlm_policy.so && ln -s
> rlm_policy-2.1.1.so rlm_policy.so; }; })
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -c
> .libs/rlm_policy.lai /var/tmp/freeradius-server-root/usr/lib64/rlm_policy.la
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -c
> .libs/rlm_policy.a /var/tmp/freeradius-server-root/usr/lib64/rlm_policy.a
> chmod 644 /var/tmp/freeradius-server-root/usr/lib64/rlm_policy.a
> ranlib /var/tmp/freeradius-server-root/usr/lib64/rlm_policy.a
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> gmake[6]: Leaving directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/src/modules/rlm_policy'
> Making install in rlm_dynamic_clients...
> gmake[6]: Entering directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/src/modules/rlm_dynamic_client
> s'
> if [ "xrlm_dynamic_clients" != "x" ]; then \
> /usr/bin/libtool --mode=install
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -c \
> rlm_dynamic_clients.la
> /var/tmp/freeradius-server-root/usr/lib64/rlm_dynamic_clients.la || exit $?;
> \
> rm -f
> /var/tmp/freeradius-server-root/usr/lib64/rlm_dynamic_clients-2.1.1.la; \
> ln -s rlm_dynamic_clients.la
> /var/tmp/freeradius-server-root/usr/lib64/rlm_dynamic_clients-2.1.1.la ||
> exit $?; \
> fi
> libtool: install: warning: relinking `rlm_dynamic_clients.la'
> (cd
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/src/modules/rlm_dynamic_clients
> ; /bin/sh /usr/bin/libtool --mode=relink gcc -release 2.1.1 -module
> -export-dynamic -o rlm_dynamic_clients.la -rpath /usr/lib64
> rlm_dynamic_clients.lo rlm_dynamic_clients.c
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/src/lib/libfreeradius-radius.la
> -lnsl -lresolv -lpthread -inst-prefix-dir /var/tmp/freeradius-server-root)
> gcc -shared .libs/rlm_dynamic_clients.o
> -L/var/tmp/freeradius-server-root/usr/lib64 -L/usr/lib64 -lfreeradius-radius
> -lnsl -lresolv -lpthread -Wl,-soname -Wl,rlm_dynamic_clients-2.1.1.so -o
> .libs/rlm_dynamic_clients-2.1.1.so
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -c
> .libs/rlm_dynamic_clients-2.1.1.soT
> /var/tmp/freeradius-server-root/usr/lib64/rlm_dynamic_clients-2.1.1.so
> (cd /var/tmp/freeradius-server-root/usr/lib64 && { ln -s -f
> rlm_dynamic_clients-2.1.1.so rlm_dynamic_clients.so || { rm -f
> rlm_dynamic_clients.so && ln -s rlm_dynamic_clients-2.1.1.so
> rlm_dynamic_clients.so; }; })
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -c
> .libs/rlm_dynamic_clients.lai
> /var/tmp/freeradius-server-root/usr/lib64/rlm_dynamic_clients.la
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -c
> .libs/rlm_dynamic_clients.a
> /var/tmp/freeradius-server-root/usr/lib64/rlm_dynamic_clients.a
> chmod 644 /var/tmp/freeradius-server-root/usr/lib64/rlm_dynamic_clients.a
> ranlib /var/tmp/freeradius-server-root/usr/lib64/rlm_dynamic_clients.a
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> gmake[6]: Leaving directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/src/modules/rlm_dynamic_client
> s'
> gmake[5]: Leaving directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/src/modules'
> gmake[4]: Leaving directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/src/modules'
> Making install in main...
> gmake[4]: Entering directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/src/main'
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -d -m 755
> /var/tmp/freeradius-server-root/usr/sbin
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -d -m 755
> /var/tmp/freeradius-server-root/usr/bin
> /usr/bin/libtool --mode=install
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -m 755 radiusd
> /var/tmp/freeradius-server-root/usr/sbin
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -m 755
> .libs/radiusd /var/tmp/freeradius-server-root/usr/sbin/radiusd
> /usr/bin/libtool --mode=install
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -m 755 radmin
> /var/tmp/freeradius-server-root/usr/sbin
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -m 755
> .libs/radmin /var/tmp/freeradius-server-root/usr/sbin/radmin
> /usr/bin/libtool --mode=install
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -m 755 radclient
> /var/tmp/freeradius-server-root/usr/bin
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -m 755
> .libs/radclient /var/tmp/freeradius-server-root/usr/bin/radclient
> /usr/bin/libtool --mode=install
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -m 755 radwho
> /var/tmp/freeradius-server-root/usr/bin
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -m 755
> .libs/radwho /var/tmp/freeradius-server-root/usr/bin/radwho
> /usr/bin/libtool --mode=install
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -m 755
> radconf2xml /var/tmp/freeradius-server-root/usr/bin
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -m 755
> .libs/radconf2xml /var/tmp/freeradius-server-root/usr/bin/radconf2xml
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -m 755
> checkrad.pl /var/tmp/freeradius-server-root/usr/sbin/checkrad
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -m 755 radlast
> /var/tmp/freeradius-server-root/usr/bin
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -m 755 radtest
> /var/tmp/freeradius-server-root/usr/bin
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -m 755 radzap
> /var/tmp/freeradius-server-root/usr/bin
> gmake[4]: Leaving directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/src/main'
> gmake[3]: Leaving directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/src'
> gmake[2]: Leaving directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/src'
> Making install in raddb...
> gmake[2]: Entering directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/raddb'
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -d -m 750
> /var/tmp/freeradius-server-root/etc/raddb
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -d -m 750
> /var/tmp/freeradius-server-root/etc/raddb/sites-available
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -d -m 750
> /var/tmp/freeradius-server-root/etc/raddb/sites-enabled
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -d -m 750
> /var/tmp/freeradius-server-root/etc/raddb/modules
> Creating/updating files in /var/tmp/freeradius-server-root/etc/raddb
> chmod 640 /var/tmp/freeradius-server-root/etc/raddb/clients.conf
> if [ ! -d /var/tmp/freeradius-server-root/etc/raddb/certs ]; then \
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c
> -d -m 750 /var/tmp/freeradius-server-root/etc/raddb/certs; \
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c
> -m 750 certs/bootstrap /var/tmp/freeradius-server-root/etc/raddb/certs; \
> for i in Makefile README xpextensions ca.cnf server.cnf
> client.cnf; do \
>
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -m 640 certs/$i
> /var/tmp/freeradius-server-root/etc/raddb/certs; \
> done; \
> fi
> if [ ! -d /var/tmp/freeradius-server-root/etc/raddb/sql ]; then \
> find sql -name CVS -prune -o -print | \
> while read file; do \
> if [ -d "$file" ]; then \
>
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -d -m 750
> "/var/tmp/freeradius-server-root/etc/raddb/$file"; \
> else \
>
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -m 640 "$file"
> "/var/tmp/freeradius-server-root/etc/raddb/$file"; \
> fi; \
> done; \
> fi
> if [ ! -f /var/tmp/freeradius-server-root/etc/raddb/sites-enabled/default ];
> then \
> cd /var/tmp/freeradius-server-root/etc/raddb/sites-enabled/;
> \
> ln -s ../sites-available/default; \
> fi
> if [ ! -f
> /var/tmp/freeradius-server-root/etc/raddb/sites-enabled/inner-tunnel ]; then
> \
> cd /var/tmp/freeradius-server-root/etc/raddb/sites-enabled/;
> \
> ln -s ../sites-available/inner-tunnel; \
> fi
> gmake[2]: Leaving directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/raddb'
> Making install in scripts...
> gmake[2]: Entering directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/scripts'
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -m 755 rc.radiusd
> /var/tmp/freeradius-server-root/usr/sbin
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -m 755
> radsqlrelay /var/tmp/freeradius-server-root/usr/bin
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -m 755 radwatch
> /var/tmp/freeradius-server-root/usr/sbin
> gmake[2]: Leaving directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/scripts'
> Making install in doc...
> gmake[2]: Entering directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/doc'
> gmake[3]: Entering directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/doc'
> Making install in examples...
> gmake[4]: Entering directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/doc/examples'
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -d -m 755
> /var/tmp/freeradius-server-root/usr/share/doc/freeradius-server-2.1.1/exampl
> es
> for file in *[!~]; do \
> if [ -f $file -a $file != Makefile ]; then \
>
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -m 644 $file
> /var/tmp/freeradius-server-root/usr/share/doc/freeradius-server-2.1.1/exampl
> es; \
> fi; \
> done
> gmake[4]: Leaving directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/doc/examples'
> Making install in rfc...
> gmake[4]: Entering directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/doc/rfc'
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c -d -m 755
> /var/tmp/freeradius-server-root/usr/share/doc/freeradius-server-2.1.1/rfc
> for file in `ls -1 *.txt *.html`; do \
> /root/rpmbuild/BUILD/freeradius-server-2.1.1/install-sh -c
> -m 644 $file
> /var/tmp/freeradius-server-root/usr/share/doc/freeradius-server-2.1.1/rfc; \
> done
> gmake[4]: Leaving directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/doc/rfc'
> gmake[3]: Leaving directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/doc'
> gmake[2]: Leaving directory
> `/root/rpmbuild/BUILD/freeradius-server-2.1.1/doc'
> gmake[1]: Leaving directory `/root/rpmbuild/BUILD/freeradius-server-2.1.1'
> Installing dictionary files in
> /var/tmp/freeradius-server-root/usr/share/freeradius
> /usr/bin/libtool --finish /var/tmp/freeradius-server-root/usr/lib64
> PATH="$PATH:/sbin" ldconfig -n /var/tmp/freeradius-server-root/usr/lib64
> ----------------------------------------------------------------------
> Libraries have been installed in:
> /var/tmp/freeradius-server-root/usr/lib64
>
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use the `-LLIBDIR'
> flag during linking and do at least one of the following:
> - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
> during execution
> - add LIBDIR to the `LD_RUN_PATH' environment variable
> during linking
> - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
> - have your system administrator add LIBDIR to `/etc/ld.so.conf'
>
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
> + RADDB=/var/tmp/freeradius-server-root/etc/raddb
> + perl -i -pe 's/^#user =.*$/user = radiusd/'
> /var/tmp/freeradius-server-root/etc/raddb/radiusd.conf
> + perl -i -pe 's/^#group =.*$/group = radiusd/'
> /var/tmp/freeradius-server-root/etc/raddb/radiusd.conf
> + perl -i -pe 's/# shadow =/shadow =/'
> /var/tmp/freeradius-server-root/etc/raddb/radiusd.conf
> + rm -f /var/tmp/freeradius-server-root/usr/sbin/rc.radiusd
> + install -m 0644 CREDITS
> /var/tmp/freeradius-server-root/usr/share/doc/freeradius-server-2.1.1
> + install -m 0644 COPYRIGHT
> /var/tmp/freeradius-server-root/usr/share/doc/freeradius-server-2.1.1
> + install -m 0644 LICENSE
> /var/tmp/freeradius-server-root/usr/share/doc/freeradius-server-2.1.1
> + cd redhat
> + install -m 755 rc.radiusd-redhat
> /var/tmp/freeradius-server-root/etc/rc.d/init.d/radiusd
> + install -m 644 radiusd-logrotate
> /var/tmp/freeradius-server-root/etc/logrotate.d/radiusd
> + install -m 644 radiusd-pam
> /var/tmp/freeradius-server-root/etc/pam.d/radius
> + cd ..
> + /usr/lib/rpm/brp-compress
> + /usr/lib/rpm/brp-strip
> + /usr/lib/rpm/brp-strip-static-archive
> strip: Unable to recognise the format of the input file
> `/var/tmp/freeradius-server-root/usr/lib64/rlm_perl.a(DynaLoader.a)'
> strip: Unable to recognise the format of the input file
> `/var/tmp/freeradius-server-root/usr/lib64/rlm_perl.a(DynaLoader.a)'
> + /usr/lib/rpm/brp-strip-comment-note
> Processing files: freeradius-server-2.1.1-0
> Provides: config(freeradius-server) = 2.1.1-0
> libfreeradius-eap-2.1.1.so()(64bit) libfreeradius-radius-2.1.1.so()(64bit)
> radiusd rlm_acct_unique-2.1.1.so()(64bit) rlm_acctlog-2.1.1.so()(64bit)
> rlm_always-2.1.1.so()(64bit) rlm_attr_filter-2.1.1.so()(64bit)
> rlm_attr_rewrite-2.1.1.so()(64bit) rlm_chap-2.1.1.so()(64bit)
> rlm_checkval-2.1.1.so()(64bit) rlm_copy_packet-2.1.1.so()(64bit)
> rlm_detail-2.1.1.so()(64bit) rlm_digest-2.1.1.so()(64bit)
> rlm_dynamic_clients-2.1.1.so()(64bit) rlm_eap-2.1.1.so()(64bit)
> rlm_eap_gtc-2.1.1.so()(64bit) rlm_eap_leap-2.1.1.so()(64bit)
> rlm_eap_md5-2.1.1.so()(64bit) rlm_eap_mschapv2-2.1.1.so()(64bit)
> rlm_eap_peap-2.1.1.so()(64bit) rlm_eap_sim-2.1.1.so()(64bit)
> rlm_eap_tls-2.1.1.so()(64bit) rlm_eap_ttls-2.1.1.so()(64bit)
> rlm_exec-2.1.1.so()(64bit) rlm_expiration-2.1.1.so()(64bit)
> rlm_expr-2.1.1.so()(64bit) rlm_fastusers-2.1.1.so()(64bit)
> rlm_files-2.1.1.so()(64bit) rlm_krb5-2.1.1.so()(64bit)
> rlm_linelog-2.1.1.so()(64bit) rlm_logintime-2.1.1.so()(64bit)
> rlm_mschap-2.1.1.so()(64bit) rlm_otp-2.1.1.so()(64bit)
> rlm_pap-2.1.1.so()(64bit) rlm_passwd-2.1.1.so()(64bit)
> rlm_perl-2.1.1.so()(64bit) rlm_policy-2.1.1.so()(64bit)
> rlm_preprocess-2.1.1.so()(64bit) rlm_radutmp-2.1.1.so()(64bit)
> rlm_realm-2.1.1.so()(64bit) rlm_sql-2.1.1.so()(64bit)
> rlm_sql_log-2.1.1.so()(64bit) rlm_sql_mysql-2.1.1.so()(64bit)
> rlm_sqlcounter-2.1.1.so()(64bit) rlm_sqlippool-2.1.1.so()(64bit)
> rlm_unix-2.1.1.so()(64bit)
> Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Requires(pre): /bin/sh
> Requires(post): /bin/sh
> Requires(preun): /bin/sh
> Requires(postun): /bin/sh
> Requires: /bin/sh /usr/bin/perl config(freeradius-server) = 2.1.1-0
> ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit)
> libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit)
> libc.so.6(GLIBC_2.3.4)(64bit) libcom_err.so.2()(64bit)
> libcrypt.so.1()(64bit) libcrypt.so.1(GLIBC_2.2.5)(64bit)
> libcrypto.so.6()(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit)
> libfreeradius-eap-2.1.1.so()(64bit) libfreeradius-radius-2.1.1.so()(64bit)
> libk5crypto.so.3()(64bit) libkrb5.so.3()(64bit)
> libkrb5.so.3(krb5_3_MIT)(64bit) libltdl.so.3()(64bit) libm.so.6()(64bit)
> libmysqlclient_r.so.15()(64bit)
> libmysqlclient_r.so.15(libmysqlclient_15)(64bit) libnsl.so.1()(64bit)
> libperl.so()(64bit) libpthread.so.0()(64bit)
> libpthread.so.0(GLIBC_2.2.5)(64bit) libresolv.so.2()(64bit)
> libssl.so.6()(64bit) libutil.so.1()(64bit) libz.so.1()(64bit) perl(DBI)
> perl(Fcntl) perl(Getopt::Std) perl(POSIX) perl(strict) perl(warnings)
> rlm_acct_unique-2.1.1.so()(64bit) rlm_acctlog-2.1.1.so()(64bit)
> rlm_always-2.1.1.so()(64bit) rlm_attr_filter-2.1.1.so()(64bit)
> rlm_attr_rewrite-2.1.1.so()(64bit) rlm_chap-2.1.1.so()(64bit)
> rlm_checkval-2.1.1.so()(64bit) rlm_copy_packet-2.1.1.so()(64bit)
> rlm_detail-2.1.1.so()(64bit) rlm_digest-2.1.1.so()(64bit)
> rlm_dynamic_clients-2.1.1.so()(64bit) rlm_eap-2.1.1.so()(64bit)
> rlm_eap_gtc-2.1.1.so()(64bit) rlm_eap_leap-2.1.1.so()(64bit)
> rlm_eap_md5-2.1.1.so()(64bit) rlm_eap_mschapv2-2.1.1.so()(64bit)
> rlm_eap_peap-2.1.1.so()(64bit) rlm_eap_sim-2.1.1.so()(64bit)
> rlm_eap_tls-2.1.1.so()(64bit) rlm_eap_ttls-2.1.1.so()(64bit)
> rlm_exec-2.1.1.so()(64bit) rlm_expiration-2.1.1.so()(64bit)
> rlm_expr-2.1.1.so()(64bit) rlm_fastusers-2.1.1.so()(64bit)
> rlm_files-2.1.1.so()(64bit) rlm_krb5-2.1.1.so()(64bit)
> rlm_linelog-2.1.1.so()(64bit) rlm_logintime-2.1.1.so()(64bit)
> rlm_mschap-2.1.1.so()(64bit) rlm_otp-2.1.1.so()(64bit)
> rlm_pap-2.1.1.so()(64bit) rlm_passwd-2.1.1.so()(64bit)
> rlm_perl-2.1.1.so()(64bit) rlm_policy-2.1.1.so()(64bit)
> rlm_preprocess-2.1.1.so()(64bit) rlm_radutmp-2.1.1.so()(64bit)
> rlm_realm-2.1.1.so()(64bit) rlm_sql-2.1.1.so()(64bit)
> rlm_sql_log-2.1.1.so()(64bit) rlm_sql_mysql-2.1.1.so()(64bit)
> rlm_sqlcounter-2.1.1.so()(64bit) rlm_sqlippool-2.1.1.so()(64bit)
> rlm_unix-2.1.1.so()(64bit) rtld(GNU_HASH)
> Conflicts: cistron-radius
> Checking for unpackaged file(s): /usr/lib/rpm/check-files
> /var/tmp/freeradius-server-root
> Wrote: /root/rpmbuild/RPMS/x86_64/freeradius-server-2.1.1-0.x86_64.rpm
> Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.50908
> + umask 022
> + cd /root/rpmbuild/BUILD
> + cd freeradius-server-2.1.1
> + '[' /var/tmp/freeradius-server-root '!=' / ']'
> + rm -rf /var/tmp/freeradius-server-root
> + exit 0
> [root@maui SPECS]# rpmbuild -bb freeradius.spec >> build.log
> + umask 022
> + cd /root/rpmbuild/BUILD
> + cd /root/rpmbuild/BUILD
> + rm -rf freeradius-server-2.1.1
> + /bin/gzip -dc /root/rpmbuild/SOURCES/freeradius-server-2.1.1.tar.gz
> + tar -xvvf -
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd freeradius-server-2.1.1
> ++ /usr/bin/id -u
> + '[' 0 = 0 ']'
> + /bin/chown -Rhf root .
> ++ /usr/bin/id -u
> + '[' 0 = 0 ']'
> + /bin/chgrp -Rhf root .
> + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
> + exit 0
> + umask 022
> + cd /root/rpmbuild/BUILD
> + cd freeradius-server-2.1.1
> + CFLAGS='-O2 -g'
> + CFLAGS='-O2 -g'
> + export CFLAGS
> + CXXFLAGS='-O2 -g'
> + export CXXFLAGS
> + FFLAGS='-O2 -g'
> + export FFLAGS
> + ./configure --host=x86_64-redhat-linux-gnu --build=x86_64-redhat-linux-gnu
> --target=x86_64-redhat-linux --program-prefix= --prefix=/usr
> --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
> --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
> --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com
> --mandir=/usr/share/man --infodir=/usr/share/info --prefix=/usr
> --localstatedir=/var --sysconfdir=/etc --mandir=/usr/share/man
> --with-docdir=/usr/share/doc/freeradius-server-2.1.1 --with-system-libtool
> --disable-ltdl-install --with-ltdl-lib=/usr/lib
> --with-ltdl-include=/usr/include --with-large-files --with-udpfromto
> --with-edir --with-rlm-sql_postgresql-include-dir=/usr/include/pgsql
> --with-rlm-krb5-include-dir=/usr/kerberos/include
> --with-rlm-krb5-lib-dir=/usr/kerberos/lib
> configure: WARNING: pcap library not found, silently disabling the RADIUS
> sniffer.
> config.status: WARNING: ./Make.inc.in seems to ignore the --datarootdir
> setting
> config.status: WARNING: ./src/include/build-radpaths-h.in seems to ignore
> the --datarootdir setting
> configure: WARNING: silently not building rlm_counter.
> configure: WARNING: FAILURE: rlm_counter requires: libgdbm.
> configure: WARNING: FAILURE: rlm_dbm requires: (ndbm.h or gdbm/ndbm.h or
> gdbm-ndbm.h) (libndbm or libgdbm or libgdbm_compat).
> configure: WARNING: silently not building rlm_dbm.
> configure: WARNING: the TNCS library isn't found!
> configure: WARNING: silently not building rlm_eap_tnc.
> configure: WARNING: FAILURE: rlm_eap_tnc requires: -lTNCS.
> configure: WARNING: silently not building rlm_eap_ikev2.
> configure: WARNING: FAILURE: rlm_eap_ikev2 requires: libeap-ikev2
> EAPIKEv2/connector.h.
> configure: WARNING: silently not building rlm_ippool.
> configure: WARNING: FAILURE: rlm_ippool requires: libgdbm.
> configure: WARNING: silently not building rlm_ldap.
> configure: WARNING: FAILURE: rlm_ldap requires: libldap_r ldap.h.
> configure: WARNING: silently not building rlm_pam.
> configure: WARNING: FAILURE: rlm_pam requires: libpam.
> configure: WARNING: silently not building rlm_python.
> configure: WARNING: FAILURE: rlm_python requires: Python.h.
> configure: WARNING: silently not building rlm_sql_iodbc.
> configure: WARNING: FAILURE: rlm_sql_iodbc requires: libiodbc isql.h.
> configure: WARNING: silently not building rlm_sql_postgresql.
> configure: WARNING: FAILURE: rlm_sql_postgresql requires: libpq-fe.h libpq.
> configure: WARNING: oracle headers not found. Use
> --with-oracle-home-dir=<path>.
> configure: WARNING: silently not building rlm_sql_oracle.
> configure: WARNING: FAILURE: rlm_sql_oracle requires: oci.h.
> configure: WARNING: silently not building rlm_sql_unixodbc.
> configure: WARNING: FAILURE: rlm_sql_unixodbc requires: sql.h.
> + make
> radius.c: In function 'vp2data':
> radius.c:680: warning: passing argument 2 of 'make_passwd' from incompatible
> pointer type
> radius.c:706: warning: passing argument 2 of 'make_tunnel_passwd' from
> incompatible pointer type
> radius.c:713: warning: passing argument 2 of 'make_tunnel_passwd' from
> incompatible pointer type
> rlm_eap_gtc.c: In function 'gtc_authenticate':
> rlm_eap_gtc.c:203: warning: format '%d' expects type 'int', but argument 2
> has type 'size_t'
> rlm_eap_gtc.c:203: warning: format '%d' expects type 'int', but argument 3
> has type 'size_t'
> rlm_eap_sim.c: In function 'eap_sim_getchalans':
> rlm_eap_sim.c:159: warning: format '%d' expects type 'int', but argument 3
> has type 'size_t'
> rlm_eap_sim.c:172: warning: format '%d' expects type 'int', but argument 3
> has type 'size_t'
> rlm_eap_sim.c:185: warning: format '%d' expects type 'int', but argument 3
> has type 'size_t'
> rlm_eap_sim.c: In function 'process_eap_sim_start':
> rlm_eap_sim.c:471: warning: format '%d' expects type 'int', but argument 2
> has type 'size_t'
> radeapclient.c: In function 'process_eap_start':
> radeapclient.c:292: warning: format '%d' expects type 'int', but argument 3
> has type 'size_t'
> radeapclient.c:302: warning: format '%d' expects type 'int', but argument 4
> has type 'size_t'
> radeapclient.c: In function 'respond_eap_md5':
> radeapclient.c:759: warning: format '%d' expects type 'int', but argument 3
> has type 'size_t'
> radeapclient.c:759: warning: format '%d' expects type 'int', but argument 4
> has type 'size_t'
> rlm_krb5.c: In function 'verify_krb5_tgt':
> rlm_krb5.c:98: warning: passing argument 2 of 'krb5_kt_read_service_key'
> discards qualifiers from pointer target type
> rlm_mschap.c: In function 'mschap_detach':
> rlm_mschap.c:633: warning: passing argument 1 of 'free' discards qualifiers
> from pointer target type
> otp_rlm.c: In function 'otp_instantiate':
> otp_rlm.c:84: warning: pointer targets in passing argument 1 of
> 'otp_get_random' differ in signedness
> otp_rlm.c: In function 'otp_authorize':
> otp_rlm.c:247: warning: pointer targets in passing argument 3 of
> 'otp_gen_state' differ in signedness
> otp_rlm.c: In function 'otp_authenticate':
> otp_rlm.c:340: warning: pointer targets in passing argument 1 of 'otp_a2x'
> differ in signedness
> otp_rlm.c:375: warning: pointer targets in passing argument 3 of
> 'otp_pw_valid' differ in signedness
> otp_radstate.c: In function 'otp_gen_state':
> otp_radstate.c:145: warning: pointer targets in passing argument 1 of
> 'otp_x2a' differ in signedness
> otp_util.c: In function 'otp_async_challenge':
> otp_util.c:63: warning: pointer targets in passing argument 1 of
> 'otp_get_random' differ in signedness
> otp_mppe.c: In function 'otp_mppe':
> otp_mppe.c:419: warning: pointer targets in passing argument 1 of 'sprintf'
> differ in signedness
> otp_mppe.c:421: warning: pointer targets in passing argument 2 of 'pairmake'
> differ in signedness
> otp_mppe.c:461: warning: pointer targets in passing argument 1 of 'sprintf'
> differ in signedness
> otp_mppe.c:463: warning: pointer targets in passing argument 2 of 'pairmake'
> differ in signedness
> rlm_pap.c: In function 'pap_authenticate':
> rlm_pap.c:714: warning: pointer targets in passing argument 1 of
> 'radius_xlat' differ in signedness
> rlm_pap.c:719: warning: pointer targets in passing argument 1 of
> 'fr_hex2bin' differ in signedness
> rlm_pap.c:739: warning: pointer targets in passing argument 1 of
> 'radius_xlat' differ in signedness
> rlm_pap.c:744: warning: pointer targets in passing argument 1 of
> 'fr_hex2bin' differ in signedness
> rlm_pap.c:770: warning: pointer targets in passing argument 2 of
> 'fr_hex2bin' differ in signedness
> rlm_perl.c: In function 'perl_xlat':
> rlm_perl.c:639: warning: ISO C90 forbids mixed declarations and code
> rlm_perl.c:674: warning: value computed is not used
> rlm_perl.c:681: warning: format '%d' expects type 'int', but argument 3 has
> type 'size_t'
> rlm_perl.c:681: warning: format '%d' expects type 'int', but argument 5 has
> type 'size_t'
> rlm_perl.c: In function 'rlmperl_call':
> rlm_perl.c:1023: warning: value computed is not used
> rlm_policy.c: In function 'policy_instantiate':
> rlm_policy.c:103: warning: passing argument 2 of 'rbtree_create' from
> incompatible pointer type
> rlm_policy.c: In function 'rlm_policy_free_item':
> rlm_policy.c:265: warning: passing argument 1 of 'free' discards qualifiers
> from pointer target type
> rlm_policy.c:275: warning: passing argument 1 of 'free' discards qualifiers
> from pointer target type
> parse.c: In function 'parse_named_policy':
> parse.c:1535: warning: passing argument 1 of 'rlm_policy_print' from
> incompatible pointer type
> listen.c: In function 'client_listener_find':
> listen.c:141: warning: passing argument 1 of 'listener->print' discards
> qualifiers from pointer target type
> listen.c:220: warning: assignment discards qualifiers from pointer target
> type
> In file included from listen.c:1024:
> command.c: In function 'command_show_client_config':
> command.c:805: warning: passing argument 2 of 'cf_section2file' discards
> qualifiers from pointer target type
> listen.c: In function 'listen_bind':
> listen.c:1175: warning: implicit declaration of function 'udpfromto_init'
> log.c: In function 'radlog_request':
> log.c:386: warning: assignment discards qualifiers from pointer target type
> radiusd.c: In function 'main':
> radiusd.c:159: warning: passing argument 1 of 'free' discards qualifiers
> from pointer target type
> radiusd.c:441: warning: passing argument 1 of 'free' discards qualifiers
> from pointer target type
> xlat.c: In function 'xlat_packet':
> xlat.c:185: warning: format '%d' expects type 'int', but argument 4 has type
> 'size_t'
> xlat.c:185: warning: format '%d' expects type 'int', but argument 4 has type
> 'size_t'
> xlat.c: In function 'xlat_register':
> xlat.c:514: warning: passing argument 3 of 'xlat_register' discards
> qualifiers from pointer target type
> xlat.c:523: warning: passing argument 3 of 'xlat_register' discards
> qualifiers from pointer target type
> xlat.c:535: warning: passing argument 3 of 'xlat_register' discards
> qualifiers from pointer target type
> xlat.c:543: warning: passing argument 3 of 'xlat_register' discards
> qualifiers from pointer target type
> event.c: In function 'request_pre_handler':
> event.c:1247: warning: passing argument 4 of 'radius_evaluate_condition'
> from incompatible pointer type
> + exit 0
> + umask 022
> + cd /root/rpmbuild/BUILD
> + cd freeradius-server-2.1.1
> + '[' /var/tmp/freeradius-server-root '!=' / ']'
> + rm -rf /var/tmp/freeradius-server-root
> + mkdir -p /var/tmp/freeradius-server-root/etc/logrotate.d
> /var/tmp/freeradius-server-root/etc/pam.d
> /var/tmp/freeradius-server-root/etc/rc.d/init.d
> + make install R=/var/tmp/freeradius-server-root
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_acctlog.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_acct_unique.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_always.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_attr_filter.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_attr_rewrite.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_chap.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_checkval.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_copy_packet.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_detail.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_digest.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `libfreeradius-eap.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_eap_gtc.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_eap_leap.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_eap_md5.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_eap_mschapv2.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_eap_peap.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_eap_sim.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_eap_tls.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_eap_ttls.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_eap.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_exec.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_expiration.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_expr.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_fastusers.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_files.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_krb5.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_linelog.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_logintime.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_mschap.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_otp.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_pap.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_passwd.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_perl.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_preprocess.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_radutmp.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_realm.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_sql.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_sqlcounter.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_sqlippool.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_sql_log.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_unix.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_policy.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> libtool: install: warning: relinking `rlm_dynamic_clients.la'
> libtool: install: warning: remember to run `libtool --finish /usr/lib64'
> + RADDB=/var/tmp/freeradius-server-root/etc/raddb
> + perl -i -pe 's/^#user =.*$/user = radiusd/'
> /var/tmp/freeradius-server-root/etc/raddb/radiusd.conf
> + perl -i -pe 's/^#group =.*$/group = radiusd/'
> /var/tmp/freeradius-server-root/etc/raddb/radiusd.conf
> + perl -i -pe 's/# shadow =/shadow =/'
> /var/tmp/freeradius-server-root/etc/raddb/radiusd.conf
> + rm -f /var/tmp/freeradius-server-root/usr/sbin/rc.radiusd
> + install -m 0644 CREDITS
> /var/tmp/freeradius-server-root/usr/share/doc/freeradius-server-2.1.1
> + install -m 0644 COPYRIGHT
> /var/tmp/freeradius-server-root/usr/share/doc/freeradius-server-2.1.1
> + install -m 0644 LICENSE
> /var/tmp/freeradius-server-root/usr/share/doc/freeradius-server-2.1.1
> + cd redhat
> + install -m 755 rc.radiusd-redhat
> /var/tmp/freeradius-server-root/etc/rc.d/init.d/radiusd
> + install -m 644 radiusd-logrotate
> /var/tmp/freeradius-server-root/etc/logrotate.d/radiusd
> + install -m 644 radiusd-pam
> /var/tmp/freeradius-server-root/etc/pam.d/radius
> + cd ..
> + /usr/lib/rpm/brp-compress
> + /usr/lib/rpm/brp-strip
> + /usr/lib/rpm/brp-strip-static-archive
> strip: Unable to recognise the format of the input file
> `/var/tmp/freeradius-server-root/usr/lib64/rlm_perl.a(DynaLoader.a)'
> strip: Unable to recognise the format of the input file
> `/var/tmp/freeradius-server-root/usr/lib64/rlm_perl.a(DynaLoader.a)'
> + /usr/lib/rpm/brp-strip-comment-note
> + umask 022
> + cd /root/rpmbuild/BUILD
> + cd freeradius-server-2.1.1
> + '[' /var/tmp/freeradius-server-root '!=' / ']'
> + rm -rf /var/tmp/freeradius-server-root
> + exit 0
> [root@maui SPECS]#
>
>
>
>
>
>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
1
0
Hi
I have gone through the archives and either I am searching on the
wrong terms or there is not much on this topic. I am using
FreeRadius 1.1.3 on Debian with a database backend to FreeRadius and I
need to restrict some ADSL users to specific NAS Ports. I found that
adding an entry to radcheck like:
blah1(a)example.com NAS-Port-Id == abc
restricts the user to this port Now how do I add additional NAS ports
so that they still authenticate because the same useraccount needs to
be able to log in from multiple NAS ports.
I tried putting in multiple entries but it does not seem to work. I
get an authentication accepted response for the first port and then
additional ones always reject.
Any help or pointers would be greatly appreciated.
Regards
Sean
--
Sean Preston
5
10
No. /etc/init.d is a symlink.
lrwxrwxrwx 1 root root 11 Nov 11 09:12 init.d -> rc.d/init.d
It won't exist in $RPM_BUILD_ROOT since that is a temp structure that
will get packaged. It won't have symlinks so you can't reference them.
The actual directory structure is created at line 46.
You don't seem to have any of the items that are copied in by the
"install" command. Are you sure that coreutils package is there and that
"install" works?
I can't help wondering if there are any utilities in the x86_64 that
have not caught up with the i386 version that's causing this to fail.
I've never built any x86_64 packages so I can't personally say I've ever
seen it work.
-Ted-
J Santos wrote:
> Line 66 is
>
> install -m 755 rc.radiusd-redhat $RPM_BUILD_ROOT/etc/rc.d/init.d/radiusd
>
> Shouldn't it be
>
> install -m 755 rc.radiusd-redhat $RPM_BUILD_ROOT/etc/init.d/radiusd
> instead ?
>
>
> The init script is not on /etc/rc.d/init.d either
>
>
>
>
>
>> -----Original Message-----
>> From: Ted Lum [mailto:freeradius.org@tedworld.com]
>> Sent: Monday, December 01, 2008 10:13 AM
>> To: J Santos; FreeRadius users mailing list
>> Subject: Re: Make error - Solved (not yet)
>>
>>
>> Do you have the coreutils package installed? Is "install"
>> there? If not,
>> it will not build the rpm structure correctly, see .spec file
>> line 66.
>> That won't affect the base server operation but it will keep the
>> supplemental files from being added to the rpm... which means
>> you have
>> to set it all up manually and have lost some of the advantage of the
>> package.
>>
>> Personally, I build on a dedicated build machine that has all the
>> requirements and then simply deploy from a local repository to the
>> target... whether it be test or production. That saves having
>> to figure
>> out the build environment every time and keeps compilers out off
>> production boxes.
>>
>> -Ted-
>>
>>
>> J Santos wrote:
>>
>>> I had no errors other than the missing directories that I had to
>>> manually create.
>>>
>>> radiusd is uder /etc/logrotate.d
>>>
>>> -rw-r--r-- 1 root root 1106 Dec 1 09:15 radiusd
>>>
>>> and
>>>
>>> radius is under (not radiusd)
>>>
>>> /etc/pam.d
>>>
>>> -rw-r--r-- 1 root root 360 Dec 1 09:15 radius
>>>
>>>
>>> It looks like the missing directories is a permission issue
>>>
>> but I was
>>
>>> working as root.
>>>
>>> The server runs fine. Anything else I should check ?
>>>
>>> Thanks
>>>
>>> Jair Santos
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>> -----Original Message-----
>>>> From: Ted Lum [mailto:freeradius.org@tedworld.com]
>>>> Sent: Monday, December 01, 2008 9:46 AM
>>>> To: J Santos
>>>> Subject: Re: Make error - Solved
>>>>
>>>>
>>>> It sounds like something went wrong in the rpmbuild. That
>>>> script should
>>>> have been included. The base script is included in
>>>>
>>>>
>> "~/rpmbuild/BUILD/freeradius-server-2.1.1/redhat/rc.radiusd-redhat".
>>
>>>> That should have been installed @
>>>>
>> "/etc/rc.d/init.d/radiusd". It not,
>>
>>>> check that you got "radiusd" under "/etc/logrotate.d" and
>>>> "/etc/pam.d",
>>>> those might be missing too. Again, you should not have to
>>>>
>> create that
>>
>>>> stuff manually. That's part of the advantage of a package and
>>>> it should
>>>> be there if the package built correctly.
>>>>
>>>> -Ted-
>>>>
>>>> J Santos wrote:
>>>>
>>>>
>>>>> Hi all,
>>>>>
>>>>> I 've succesfully built the freeradius-server-2.1.1-0.x86_64.rpm.
>>>>>
>>>>> I only had to manually create the directories RPMS,
>>>>>
>>>>>
>>>> SOURCEs, SPECS
>>>>
>>>>
>>>>> and x86_64 during the process.
>>>>>
>>>>> When installing I had to uninstall version 1.1.3 because of
>>>>>
>>>>>
>>>> conflicts
>>>>
>>>>
>>>>> but once I did it the rpm worked smoothly.
>>>>>
>>>>> My only problem now is that I don't have the init script on
>>>>> /etc/init.d.
>>>>>
>>>>> Does anybody know where I can get it from ?
>>>>>
>>>>> And, I am just wondering if we could make this rpm
>>>>>
>>>>>
>>>> available for other
>>>>
>>>>
>>>>> people to use it.
>>>>>
>>>>> Thanks
>>>>>
>>>>> Jair Santos
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Ted Lum [mailto:freeradius.org@tedworld.com]
>>>>>> Sent: Saturday, November 29, 2008 7:19 PM
>>>>>> To: J Santos; 'FreeRadius users mailing list'
>>>>>> Subject: Re: Make error - Solved
>>>>>>
>>>>>>
>>>>>> Don't know. If you look in the .spec file you'll see what
>>>>>>
>>>>>>
>>>> additional
>>>>
>>>>
>>>>>> work is done in the package that isn't done otherwise. In
>>>>>>
>>>>>>
>>>> addition to
>>>>
>>>>
>>>>>> init.d you may need to deal with logrotate.d and pam.d,
>>>>>>
>>>>>>
>>>> ldconfig and
>>>>
>>>>
>>>>>> chkconfig, not to mention the users and groups it creates
>>>>>>
>>>>>>
>>>> or the log
>>>>
>>>>
>>>>>> files it customizes. You can do all this configuration by
>>>>>>
>>>>>>
>>>> hand if you
>>>>
>>>>
>>>>>> know what to do, but its a lot of extra work. This is why
>>>>>>
>>>>>>
>>>> its a good
>>>>
>>>>
>>>>>> idea to do an rpmbuild and install the package. It should
>>>>>> deal with the
>>>>>> existing version as well as enable a proper upgrade when a
>>>>>> new version
>>>>>> becomes available in the repository. Simply building from
>>>>>> source may not
>>>>>> be compatible with the previous version that's already there or
>>>>>> compatible with any upgrade because the package has
>>>>>>
>>>>>>
>>>> additional things
>>>>
>>>>
>>>>>> and sometimes has them in different places. Just my opinion but I
>>>>>> strongly discourage not using packages for applications
>>>>>> already in the
>>>>>> distros repository.
>>>>>>
>>>>>> J Santos wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Thank you.
>>>>>>>
>>>>>>> Actually the server is running very well now.
>>>>>>>
>> Investigating more I
>>
>>>>>>> realized that version 1.13 is still there but in different
>>>>>>> directories, so when I set to start on boot it will run
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> version 1.13.
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Does anybody know if it is only a matter of changing
>>>>>>>
>> the radiusd
>>
>>>>>>> script on /etc/init.d to point to version 2.1 daemon and
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> conf files ?
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Or there is anything elese that I have to do ?
>>>>>>>
>>>>>>> Jair Santos
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From:
>>>>>>>> freeradius-users-bounces+jsantos5954=gmail.com(a)lists.freeradiu
>>>>>>>> s.org
>>>>>>>> [mailto:freeradius-users-bounces+jsantos5954=gmail.com@lists.f
>>>>>>>> reeradius.org] On Behalf Of Ted Lum
>>>>>>>> Sent: Saturday, November 29, 2008 12:04 PM
>>>>>>>> To: FreeRadius users mailing list
>>>>>>>> Subject: Re: Make error - Solved
>>>>>>>>
>>>>>>>>
>>>>>>>> I assume that you are referring to a build from source
>>>>>>>>
>>>>>>>>
>>>> as opposed
>>>>
>>>>
>>>>>>>> to an rpmbuild from source?
>>>>>>>>
>>>>>>>> If that's the case you would want to review this:
>>>>>>>> http://wiki.freeradius.org/Build#Building_RedHat_packages
>>>>>>>>
>>>>>>>> -Ted-
>>>>>>>>
>>>>>>>> Olavo wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> Hi all,
>>>>>>>>>
>>>>>>>>> I am posting this so it can save some headaches for other
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> people in
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> the future.
>>>>>>>>>
>>>>>>>>> I've been trying to install FR on a 64 bits OS for a
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>> while. First I
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>> tried RH 5.2 and I got the following errors
>>>>>>>>>
>>>>>>>>> /usr/bin/libtool --mode=link gcc -o radmin
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>> radmin.lo /usr/lib/libreadline.so /usr/lib64/libtermcap.so
>>>>>>>>>>>
>>>>>>>>>>>
>> /usr/src/redhat/BUILD/freeradius-2.1.1/src/lib/libfreeradius-
>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>> radius.la
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> util.lo log.lo conffile.lo -lnsl -lresolv -lpthread
>>>>>>>>>>>
>>>>>>>>>>>
>>>> -lreadline
>>>>
>>>>
>>>>>>>>>>> -ltermcap gcc -o .libs/radmin .libs/radmin.o
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>> /usr/lib/libreadline.so
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> /usr/lib64/libtermcap.so .libs/util.o .libs/log.o
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>> .libs/conffile.o
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>> /usr/src/redhat/BUILD/freeradius-2.1.1/src/lib/.libs/libfreer
>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>> adius-radi
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>> us.s
>>>>>>>>>>> o -lnsl -lresolv -lpthread -lreadline -ltermcap
>>>>>>>>>>> /usr/lib/libreadline.so: could not read symbols: File in
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>> wrong format
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>>>>> gmake[4]: *** [radmin] Error 1
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>> Then I move on to CentOs since Greg Woods informed that he
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> is using it
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> without any grief.
>>>>>>>>>
>>>>>>>>> When I was making it on CentOS I got the exactly same
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>> errors above.
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>> Then I tried to install on Fedora 10 and it installed
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> smoothly. After
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> playing with Fedora for some time I realized that it is
>>>>>>>>>
>>>>>>>>>
>>>> too slow
>>>>
>>>>
>>>>>>>>> compared to CentOS or RH and I decided to move back to
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> CentOS and find
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> a way to properly install it.
>>>>>>>>>
>>>>>>>>> The clue to fix the problem was provided by Greg when he
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> said that the
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> FR included with CentOS was too old. When I installed the
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> first time I
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> didn't realized that there is a FR 1.13 version on CentOS
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> so I didn't
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> installed along with the OS.
>>>>>>>>>
>>>>>>>>> This time I selected 1.13 version and it was
>>>>>>>>>
>> installed normally.
>>
>>>>>>>>> Then I downloaded version FR 2.1 and it installed
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>> smoothly. Now I
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>> have
>>>>>>>>>
>>>>>>>>> radiusd -v
>>>>>>>>> radiusd: FreeRADIUS Version 2.1.1, for host
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> x86_64-unknown-linux-gnu,
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> built on Nov 28 2008 at 23:06:41
>>>>>>>>>
>>>>>>>>> I read somewhere in the site that this is not the
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> recommended way to
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> do it and that 2.1 should be installed in a different
>>>>>>>>>
>> location.
>>
>>>>>>>>> If someone could comment about any problems that can arise
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> it will be
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> appreciated.
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>> Jair Santos
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> -----Original Message-----
>>>>>>>>>> From:
>>>>>>>>>>
>>>>>>>>>>
>> freeradius-users-bounces+jsantos5954=gmail.com(a)lists.freeradiu
>>
>>>>>>>>>> s.org
>>>>>>>>>>
>>>>>>>>>>
>> [mailto:freeradius-users-bounces+jsantos5954=gmail.com@lists.f
>>
>>>>>>>>>> reeradius.org] On Behalf Of Greg Woods
>>>>>>>>>> Sent: Thursday, November 20, 2008 1:01 PM
>>>>>>>>>> To: FreeRadius users mailing list
>>>>>>>>>> Subject: RE: Make error
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Thu, 2008-11-20 at 12:38 -0800, Olavo wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> Does anybody know about any Linux distro 64 bits that
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>> Freeradius will
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> work for sure ?
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>> I am using it on CentOS 5.2 x86_64. The freeradius
>>>>>>>>>>
>> package that
>>
>>>>>>>>>> comes with CentOS 5 is old though, I compiled
>>>>>>>>>>
>> freeradius from
>>
>>>>>>>>>> source.
>>>>>>>>>>
>>>>>>>>>> --Greg
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> -
>>>>>>>>>> List info/subscribe/unsubscribe? See
>>>>>>>>>> http://www.freeradius.org/list/users.html
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> -
>>>>>>>>> List info/subscribe/unsubscribe? See
>>>>>>>>> http://www.freeradius.org/list/users.html
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> --
>>>>>>>> This message has been scanned for viruses and
>>>>>>>> dangerous content by MailScanner, and is
>>>>>>>> believed to be clean.
>>>>>>>>
>>>>>>>> -
>>>>>>>> List info/subscribe/unsubscribe? See
>>>>>>>> http://www.freeradius.org/list/users.html
>>>>>>>>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
1
0
Do you have the coreutils package installed? Is "install" there? If not,
it will not build the rpm structure correctly, see .spec file line 66.
That won't affect the base server operation but it will keep the
supplemental files from being added to the rpm... which means you have
to set it all up manually and have lost some of the advantage of the
package.
Personally, I build on a dedicated build machine that has all the
requirements and then simply deploy from a local repository to the
target... whether it be test or production. That saves having to figure
out the build environment every time and keeps compilers out off
production boxes.
-Ted-
J Santos wrote:
> I had no errors other than the missing directories that I had to manually
> create.
>
> radiusd is uder /etc/logrotate.d
>
> -rw-r--r-- 1 root root 1106 Dec 1 09:15 radiusd
>
> and
>
> radius is under (not radiusd)
>
> /etc/pam.d
>
> -rw-r--r-- 1 root root 360 Dec 1 09:15 radius
>
>
> It looks like the missing directories is a permission issue but I was
> working as root.
>
> The server runs fine. Anything else I should check ?
>
> Thanks
>
> Jair Santos
>
>
>
>
>
>
>
>
>> -----Original Message-----
>> From: Ted Lum [mailto:freeradius.org@tedworld.com]
>> Sent: Monday, December 01, 2008 9:46 AM
>> To: J Santos
>> Subject: Re: Make error - Solved
>>
>>
>> It sounds like something went wrong in the rpmbuild. That
>> script should
>> have been included. The base script is included in
>> "~/rpmbuild/BUILD/freeradius-server-2.1.1/redhat/rc.radiusd-redhat".
>> That should have been installed @ "/etc/rc.d/init.d/radiusd". It not,
>> check that you got "radiusd" under "/etc/logrotate.d" and
>> "/etc/pam.d",
>> those might be missing too. Again, you should not have to create that
>> stuff manually. That's part of the advantage of a package and
>> it should
>> be there if the package built correctly.
>>
>> -Ted-
>>
>> J Santos wrote:
>>
>>> Hi all,
>>>
>>> I 've succesfully built the freeradius-server-2.1.1-0.x86_64.rpm.
>>>
>>> I only had to manually create the directories RPMS,
>>>
>> SOURCEs, SPECS
>>
>>> and x86_64 during the process.
>>>
>>> When installing I had to uninstall version 1.1.3 because of
>>>
>> conflicts
>>
>>> but once I did it the rpm worked smoothly.
>>>
>>> My only problem now is that I don't have the init script on
>>> /etc/init.d.
>>>
>>> Does anybody know where I can get it from ?
>>>
>>> And, I am just wondering if we could make this rpm
>>>
>> available for other
>>
>>> people to use it.
>>>
>>> Thanks
>>>
>>> Jair Santos
>>>
>>>
>>>
>>>
>>>
>>>
>>>> -----Original Message-----
>>>> From: Ted Lum [mailto:freeradius.org@tedworld.com]
>>>> Sent: Saturday, November 29, 2008 7:19 PM
>>>> To: J Santos; 'FreeRadius users mailing list'
>>>> Subject: Re: Make error - Solved
>>>>
>>>>
>>>> Don't know. If you look in the .spec file you'll see what
>>>>
>> additional
>>
>>>> work is done in the package that isn't done otherwise. In
>>>>
>> addition to
>>
>>>> init.d you may need to deal with logrotate.d and pam.d,
>>>>
>> ldconfig and
>>
>>>> chkconfig, not to mention the users and groups it creates
>>>>
>> or the log
>>
>>>> files it customizes. You can do all this configuration by
>>>>
>> hand if you
>>
>>>> know what to do, but its a lot of extra work. This is why
>>>>
>> its a good
>>
>>>> idea to do an rpmbuild and install the package. It should
>>>> deal with the
>>>> existing version as well as enable a proper upgrade when a
>>>> new version
>>>> becomes available in the repository. Simply building from
>>>> source may not
>>>> be compatible with the previous version that's already there or
>>>> compatible with any upgrade because the package has
>>>>
>> additional things
>>
>>>> and sometimes has them in different places. Just my opinion but I
>>>> strongly discourage not using packages for applications
>>>> already in the
>>>> distros repository.
>>>>
>>>> J Santos wrote:
>>>>
>>>>
>>>>> Thank you.
>>>>>
>>>>> Actually the server is running very well now. Investigating more I
>>>>> realized that version 1.13 is still there but in different
>>>>> directories, so when I set to start on boot it will run
>>>>>
>>>>>
>>>> version 1.13.
>>>>
>>>>
>>>>> Does anybody know if it is only a matter of changing the radiusd
>>>>> script on /etc/init.d to point to version 2.1 daemon and
>>>>>
>>>>>
>>>> conf files ?
>>>>
>>>>
>>>>> Or there is anything elese that I have to do ?
>>>>>
>>>>> Jair Santos
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> -----Original Message-----
>>>>>> From:
>>>>>> freeradius-users-bounces+jsantos5954=gmail.com(a)lists.freeradiu
>>>>>> s.org
>>>>>> [mailto:freeradius-users-bounces+jsantos5954=gmail.com@lists.f
>>>>>> reeradius.org] On Behalf Of Ted Lum
>>>>>> Sent: Saturday, November 29, 2008 12:04 PM
>>>>>> To: FreeRadius users mailing list
>>>>>> Subject: Re: Make error - Solved
>>>>>>
>>>>>>
>>>>>> I assume that you are referring to a build from source
>>>>>>
>> as opposed
>>
>>>>>> to an rpmbuild from source?
>>>>>>
>>>>>> If that's the case you would want to review this:
>>>>>> http://wiki.freeradius.org/Build#Building_RedHat_packages
>>>>>>
>>>>>> -Ted-
>>>>>>
>>>>>> Olavo wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I am posting this so it can save some headaches for other
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> people in
>>>>>>
>>>>>>
>>>>>>
>>>>>>> the future.
>>>>>>>
>>>>>>> I've been trying to install FR on a 64 bits OS for a
>>>>>>>
>>>>>>>
>>>> while. First I
>>>>
>>>>
>>>>>>> tried RH 5.2 and I got the following errors
>>>>>>>
>>>>>>> /usr/bin/libtool --mode=link gcc -o radmin
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>> radmin.lo /usr/lib/libreadline.so /usr/lib64/libtermcap.so
>>>>>>>>> /usr/src/redhat/BUILD/freeradius-2.1.1/src/lib/libfreeradius-
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> radius.la
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> util.lo log.lo conffile.lo -lnsl -lresolv -lpthread
>>>>>>>>>
>> -lreadline
>>
>>>>>>>>> -ltermcap gcc -o .libs/radmin .libs/radmin.o
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> /usr/lib/libreadline.so
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> /usr/lib64/libtermcap.so .libs/util.o .libs/log.o
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>> .libs/conffile.o
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>> /usr/src/redhat/BUILD/freeradius-2.1.1/src/lib/.libs/libfreer
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>> adius-radi
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>> us.s
>>>>>>>>> o -lnsl -lresolv -lpthread -lreadline -ltermcap
>>>>>>>>> /usr/lib/libreadline.so: could not read symbols: File in
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> wrong format
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>>> gmake[4]: *** [radmin] Error 1
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>> Then I move on to CentOs since Greg Woods informed that he
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> is using it
>>>>>>
>>>>>>
>>>>>>
>>>>>>> without any grief.
>>>>>>>
>>>>>>> When I was making it on CentOS I got the exactly same
>>>>>>>
>>>>>>>
>>>> errors above.
>>>>
>>>>
>>>>>>> Then I tried to install on Fedora 10 and it installed
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> smoothly. After
>>>>>>
>>>>>>
>>>>>>
>>>>>>> playing with Fedora for some time I realized that it is
>>>>>>>
>> too slow
>>
>>>>>>> compared to CentOS or RH and I decided to move back to
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> CentOS and find
>>>>>>
>>>>>>
>>>>>>
>>>>>>> a way to properly install it.
>>>>>>>
>>>>>>> The clue to fix the problem was provided by Greg when he
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> said that the
>>>>>>
>>>>>>
>>>>>>
>>>>>>> FR included with CentOS was too old. When I installed the
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> first time I
>>>>>>
>>>>>>
>>>>>>
>>>>>>> didn't realized that there is a FR 1.13 version on CentOS
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> so I didn't
>>>>>>
>>>>>>
>>>>>>
>>>>>>> installed along with the OS.
>>>>>>>
>>>>>>> This time I selected 1.13 version and it was installed normally.
>>>>>>>
>>>>>>> Then I downloaded version FR 2.1 and it installed
>>>>>>>
>>>>>>>
>>>> smoothly. Now I
>>>>
>>>>
>>>>>>> have
>>>>>>>
>>>>>>> radiusd -v
>>>>>>> radiusd: FreeRADIUS Version 2.1.1, for host
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> x86_64-unknown-linux-gnu,
>>>>>>
>>>>>>
>>>>>>
>>>>>>> built on Nov 28 2008 at 23:06:41
>>>>>>>
>>>>>>> I read somewhere in the site that this is not the
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> recommended way to
>>>>>>
>>>>>>
>>>>>>
>>>>>>> do it and that 2.1 should be installed in a different location.
>>>>>>>
>>>>>>> If someone could comment about any problems that can arise
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> it will be
>>>>>>
>>>>>>
>>>>>>
>>>>>>> appreciated.
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> Jair Santos
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From:
>>>>>>>> freeradius-users-bounces+jsantos5954=gmail.com(a)lists.freeradiu
>>>>>>>> s.org
>>>>>>>> [mailto:freeradius-users-bounces+jsantos5954=gmail.com@lists.f
>>>>>>>> reeradius.org] On Behalf Of Greg Woods
>>>>>>>> Sent: Thursday, November 20, 2008 1:01 PM
>>>>>>>> To: FreeRadius users mailing list
>>>>>>>> Subject: RE: Make error
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, 2008-11-20 at 12:38 -0800, Olavo wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> Does anybody know about any Linux distro 64 bits that
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> Freeradius will
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> work for sure ?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>> I am using it on CentOS 5.2 x86_64. The freeradius package that
>>>>>>>> comes with CentOS 5 is old though, I compiled freeradius from
>>>>>>>> source.
>>>>>>>>
>>>>>>>> --Greg
>>>>>>>>
>>>>>>>>
>>>>>>>> -
>>>>>>>> List info/subscribe/unsubscribe? See
>>>>>>>> http://www.freeradius.org/list/users.html
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> -
>>>>>>> List info/subscribe/unsubscribe? See
>>>>>>> http://www.freeradius.org/list/users.html
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> --
>>>>>> This message has been scanned for viruses and
>>>>>> dangerous content by MailScanner, and is
>>>>>> believed to be clean.
>>>>>>
>>>>>> -
>>>>>> List info/subscribe/unsubscribe? See
>>>>>> http://www.freeradius.org/list/users.html
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>> --
>>>> This message has been scanned for viruses and
>>>> dangerous content by MailScanner, and is
>>>> believed to be clean.
>>>>
>>>>
>>>>
>>>
>>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>>
>
>
>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
1
0
It sounds like something went wrong in the rpmbuild. That script should
have been included. The base script is included in
"~/rpmbuild/BUILD/freeradius-server-2.1.1/redhat/rc.radiusd-redhat".
That should have been installed @ "/etc/rc.d/init.d/radiusd". It not,
check that you got "radiusd" under "/etc/logrotate.d" and "/etc/pam.d",
those might be missing too. Again, you should not have to create that
stuff manually. That's part of the advantage of a package and it should
be there if the package built correctly.
>
> -Ted-
>
> J Santos wrote:
>> Hi all,
>> I 've succesfully built the freeradius-server-2.1.1-0.x86_64.rpm.
>>
>> I only had to manually create the directories RPMS, SOURCEs, SPECS
>> and
>> x86_64 during the process.
>>
>> When installing I had to uninstall version 1.1.3 because of conflicts
>> but
>> once I did it the rpm worked smoothly.
>>
>> My only problem now is that I don't have the init script on
>> /etc/init.d.
>>
>> Does anybody know where I can get it from ?
>>
>> And, I am just wondering if we could make this rpm available for other
>> people to use it.
>>
>> Thanks
>>
>> Jair Santos
>>
>>
>>
>>
>>
>>> -----Original Message-----
>>> From: Ted Lum [mailto:freeradius.org@tedworld.com] Sent: Saturday,
>>> November 29, 2008 7:19 PM
>>> To: J Santos; 'FreeRadius users mailing list'
>>> Subject: Re: Make error - Solved
>>>
>>>
>>> Don't know. If you look in the .spec file you'll see what additional
>>> work is done in the package that isn't done otherwise. In addition
>>> to init.d you may need to deal with logrotate.d and pam.d, ldconfig
>>> and chkconfig, not to mention the users and groups it creates or the
>>> log files it customizes. You can do all this configuration by hand
>>> if you know what to do, but its a lot of extra work. This is why its
>>> a good idea to do an rpmbuild and install the package. It should
>>> deal with the existing version as well as enable a proper upgrade
>>> when a new version becomes available in the repository. Simply
>>> building from source may not be compatible with the previous version
>>> that's already there or compatible with any upgrade because the
>>> package has additional things and sometimes has them in different
>>> places. Just my opinion but I strongly discourage not using packages
>>> for applications already in the distros repository.
>>>
>>> J Santos wrote:
>>>
>>>> Thank you.
>>>>
>>>> Actually the server is running very well now. Investigating more I
>>>> realized that version 1.13 is still there but in different
>>>> directories, so when I set to start on boot it will run
>>> version 1.13.
>>>
>>>> Does anybody know if it is only a matter of changing the radiusd
>>>> script on /etc/init.d to point to version 2.1 daemon and
>>> conf files ?
>>>> Or there is anything elese that I have to do ?
>>>>
>>>> Jair Santos
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> -----Original Message-----
>>>>> From:
>>>>> freeradius-users-bounces+jsantos5954=gmail.com(a)lists.freeradiu
>>>>> s.org
>>>>> [mailto:freeradius-users-bounces+jsantos5954=gmail.com@lists.f
>>>>> reeradius.org] On Behalf Of Ted Lum
>>>>> Sent: Saturday, November 29, 2008 12:04 PM
>>>>> To: FreeRadius users mailing list
>>>>> Subject: Re: Make error - Solved
>>>>>
>>>>>
>>>>> I assume that you are referring to a build from source as
>>>>> opposed to an rpmbuild from source?
>>>>>
>>>>> If that's the case you would want to review this:
>>>>> http://wiki.freeradius.org/Build#Building_RedHat_packages
>>>>>
>>>>> -Ted-
>>>>>
>>>>> Olavo wrote:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I am posting this so it can save some headaches for other
>>>>>>
>>>>> people in
>>>>>
>>>>>> the future.
>>>>>>
>>>>>> I've been trying to install FR on a 64 bits OS for a
>>> while. First I
>>>
>>>>>> tried RH 5.2 and I got the following errors
>>>>>>
>>>>>> /usr/bin/libtool --mode=link gcc -o radmin
>>>>>>
>>>>>>>> radmin.lo /usr/lib/libreadline.so /usr/lib64/libtermcap.so
>>>>>>>> /usr/src/redhat/BUILD/freeradius-2.1.1/src/lib/libfreeradius-
>>>>>>>>
>>>>>>> radius.la
>>>>>>>
>>>>>>>> util.lo log.lo conffile.lo -lnsl -lresolv -lpthread -lreadline
>>>>>>>> -ltermcap gcc -o .libs/radmin .libs/radmin.o
>>>>>>>>
>>>>>>> /usr/lib/libreadline.so
>>>>>>>
>>>>>>>> /usr/lib64/libtermcap.so .libs/util.o .libs/log.o
>>>>>>>>
>>>>> .libs/conffile.o
>>>>>
>>>>>>>> /usr/src/redhat/BUILD/freeradius-2.1.1/src/lib/.libs/libfreer
>>>>>>>>
>>>>>> adius-radi
>>>>>>
>>>>>>>> us.s
>>>>>>>> o -lnsl -lresolv -lpthread -lreadline -ltermcap
>>>>>>>> /usr/lib/libreadline.so: could not read symbols: File in
>>>>>>>>
>>>>>>> wrong format
>>>>>>>
>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>> gmake[4]: *** [radmin] Error 1
>>>>>>>>
>>>>>> Then I move on to CentOs since Greg Woods informed that he
>>>>>>
>>>>> is using it
>>>>>
>>>>>> without any grief.
>>>>>>
>>>>>> When I was making it on CentOS I got the exactly same
>>> errors above.
>>>
>>>>>> Then I tried to install on Fedora 10 and it installed
>>>>>>
>>>>> smoothly. After
>>>>>
>>>>>> playing with Fedora for some time I realized that it is too slow
>>>>>> compared to CentOS or RH and I decided to move back to
>>>>>>
>>>>> CentOS and find
>>>>>
>>>>>> a way to properly install it.
>>>>>>
>>>>>> The clue to fix the problem was provided by Greg when he
>>>>>>
>>>>> said that the
>>>>>
>>>>>> FR included with CentOS was too old. When I installed the
>>>>>>
>>>>> first time I
>>>>>
>>>>>> didn't realized that there is a FR 1.13 version on CentOS
>>>>>>
>>>>> so I didn't
>>>>>
>>>>>> installed along with the OS.
>>>>>>
>>>>>> This time I selected 1.13 version and it was installed normally.
>>>>>>
>>>>>> Then I downloaded version FR 2.1 and it installed
>>> smoothly. Now I
>>>
>>>>>> have
>>>>>>
>>>>>> radiusd -v
>>>>>> radiusd: FreeRADIUS Version 2.1.1, for host
>>>>>>
>>>>> x86_64-unknown-linux-gnu,
>>>>>
>>>>>> built on Nov 28 2008 at 23:06:41
>>>>>>
>>>>>> I read somewhere in the site that this is not the
>>>>>>
>>>>> recommended way to
>>>>>
>>>>>> do it and that 2.1 should be installed in a different location.
>>>>>>
>>>>>> If someone could comment about any problems that can arise
>>>>>>
>>>>> it will be
>>>>>
>>>>>> appreciated.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Jair Santos
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From:
>>>>>>> freeradius-users-bounces+jsantos5954=gmail.com(a)lists.freeradiu
>>>>>>> s.org
>>>>>>> [mailto:freeradius-users-bounces+jsantos5954=gmail.com@lists.f
>>>>>>> reeradius.org] On Behalf Of Greg Woods
>>>>>>> Sent: Thursday, November 20, 2008 1:01 PM
>>>>>>> To: FreeRadius users mailing list
>>>>>>> Subject: RE: Make error
>>>>>>>
>>>>>>>
>>>>>>> On Thu, 2008-11-20 at 12:38 -0800, Olavo wrote:
>>>>>>>
>>>>>>>> Does anybody know about any Linux distro 64 bits that
>>>>>>>>
>>>>>>> Freeradius will
>>>>>>>
>>>>>>>> work for sure ?
>>>>>>>>
>>>>>>> I am using it on CentOS 5.2 x86_64. The freeradius package that
>>>>>>> comes with CentOS 5 is old though, I compiled freeradius from
>>>>>>> source.
>>>>>>>
>>>>>>> --Greg
>>>>>>>
>>>>>>>
>>>>>>> -
>>>>>>> List info/subscribe/unsubscribe? See
>>>>>>> http://www.freeradius.org/list/users.html
>>>>>>>
>>>>>> -
>>>>>> List info/subscribe/unsubscribe? See
>>>>>> http://www.freeradius.org/list/users.html
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
1
0