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:[EMAIL PROTECTED] 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:
[EMAIL PROTECTED]
s.org
[mailto:[EMAIL PROTECTED]
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:
[EMAIL PROTECTED]
s.org
[mailto:[EMAIL PROTECTED]
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