RE: FreeRadius 1.0.2 startup issue (with Gentoo)

2005-04-13 Thread Bryce Porter
drwxr-xr-x   48 root root 4096 Apr 12 10:27 etc
drwxr-x---   3 rootradiusd   4096 Apr 12 14:25 /etc/raddb
-rw-rw-rw-   1 rootroot77 Apr 12 14:25 /etc/raddb/huntgroups

Permissions look fine to me. The strange thing is though, when I take
any mention of the huntgroups file out of radiusd.conf, it still tries
to load it. I don't need huntgroups for what I'm trying to do.

Any ideas?


Bryce Porter  .  Network Administrator
. . . . . . . . . . . . . . . . . . . . . . . . . . 
Heart Technologies, Inc. 
3105 N. Main St.
E. Peoria, IL  61611 
p. 309.427.7282  
f. 309.427.7382  
e. [EMAIL PROTECTED] 
w. www.heart.net

 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 6:41 AM
To: freeradius-users@lists.freeradius.org
Subject: RE: FreeRadius 1.0.2 startup issue (with Gentoo)

Hi,
 
 Ok, added that to the file, permissions on the /etc/raddb/huntgroups
 file are still 666, and I still get the same error: Permission denied
 (rlm_preprocess: Error reading /etc/raddb/huntgroups).
   
 Any more ideas?

You did check the permission for /etc and /etc/raddb as well as those
for /etc/raddb/huntgroups, didn't you?

Regards,
Stefan  



- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: FreeRadius 1.0.2 startup issue

2005-04-12 Thread Bryce Porter
Thank you for your response, but how do I make it stop trying to use
huntgroups? I figured commenting them out of the configuration file
would take care of it, but apparently not. Please advise.

Bryce Porter  .  Network Administrator
. . . . . . . . . . . . . . . . . . . . . . . . . . 
Heart Technologies, Inc. 
3105 N. Main St.
E. Peoria, IL  61611 
p. 309.427.7282  
f. 309.427.7382  
e. [EMAIL PROTECTED] 
w. www.heart.net

 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan
DeKok
Sent: Tuesday, April 12, 2005 12:03 PM
To: freeradius-users@lists.freeradius.org
Subject: Re: FreeRadius 1.0.2 startup issue 

[EMAIL PROTECTED] wrote:
 Hello all. I'm not sure what's up here, but 'check-radiusd-config'

  ... doesn't work in 1.0.2.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: FreeRadius 1.0.2 startup issue

2005-04-12 Thread Bryce Porter
Yes, there is an issue starting 'radiusd' as well, even though
/etc/raddb/huntgroups exists (empty, but readable by everyone), it
complains about not being able to read it.

Bryce Porter  .  Network Administrator
. . . . . . . . . . . . . . . . . . . . . . . . . . 
Heart Technologies, Inc. 
3105 N. Main St.
E. Peoria, IL  61611 
p. 309.427.7282  
f. 309.427.7382  
e. [EMAIL PROTECTED] 
w. www.heart.net

 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan
DeKok
Sent: Tuesday, April 12, 2005 12:25 PM
To: freeradius-users@lists.freeradius.org
Subject: Re: FreeRadius 1.0.2 startup issue 

Bryce Porter [EMAIL PROTECTED] wrote:
 Thank you for your response, but how do I make it stop trying to use
 huntgroups? I figured commenting them out of the configuration file
 would take care of it, but apparently not. Please advise.

  It's difficult to do in 1.0.2.  I suggest just making the file
readable, but empty.

  Is there a problem when you run *radiusd*?  If not, don't worry
about it.  check-radius-config doesn't work.  Any error messages it
produces are worthless.  Ignore them.

  Alan DeKok.


- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: freeradius with Gentoo Linux

2005-04-12 Thread Bryce Porter
I'm trying to, but it's being a PITA. If you get it to work, please let
me know how. I had to force it to use 1.0.2-r2, even though it was
masked, because 1.0.1 would not even compile.

Bryce Porter  .  Network Administrator
. . . . . . . . . . . . . . . . . . . . . . . . . . 
Heart Technologies, Inc. 
3105 N. Main St.
E. Peoria, IL  61611 
p. 309.427.7282  
f. 309.427.7382  
e. [EMAIL PROTECTED] 
w. www.heart.net

 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of don
Sent: Tuesday, April 12, 2005 12:16 PM
To: freeradius-users@lists.freeradius.org
Subject: freeradius with Gentoo Linux

Hi,

Is anyone using freeradius with Gentoo Linux?

Also, is anyone using freeradius-dialupadmin and mysql?

Sincerely,

Don James
Henderson, Texas USA


 


- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: FreeRadius 1.0.2 startup issue (with Gentoo)

2005-04-12 Thread Bryce Porter
Ok, added that to the file, permissions on the /etc/raddb/huntgroups
file are still 666, and I still get the same error: Permission denied
(rlm_preprocess: Error reading /etc/raddb/huntgroups).

Any more ideas?


Bryce Porter  .  Network Administrator
. . . . . . . . . . . . . . . . . . . . . . . . . . 
Heart Technologies, Inc. 
3105 N. Main St.
E. Peoria, IL  61611 
p. 309.427.7282  
f. 309.427.7382  
e. [EMAIL PROTECTED] 
w. www.heart.net

 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan
DeKok
Sent: Tuesday, April 12, 2005 1:21 PM
To: freeradius-users@lists.freeradius.org
Subject: Re: FreeRadius 1.0.2 startup issue 

Bryce Porter [EMAIL PROTECTED] wrote:
 Yes, there is an issue starting 'radiusd' as well, even though
 /etc/raddb/huntgroups exists (empty, but readable by everyone), it
 complains about not being able to read it.

  Hmm... I think that's a bug in the module.  Put some empty nonsense
into the file, and the complaint should go away.

  e.g.

DEFAULT Client-IP-Address == 127.0.0.1
Huntgroup-Name = stuffillneveruse

  Alan DeKok.


- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE: FreeRadius 1.0.2 startup issue (with Gentoo)

2005-04-12 Thread Bryce Porter
Maybe someone else would know, as this is a fresh install (less than a
week old) of Gentoo 2005.0 and Freeradius 1.0.2.

Bryce Porter  .  Network Administrator
. . . . . . . . . . . . . . . . . . . . . . . . . . 
Heart Technologies, Inc. 
3105 N. Main St.
E. Peoria, IL  61611 
p. 309.427.7282  
f. 309.427.7382  
e. [EMAIL PROTECTED] 
w. www.heart.net

 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan
DeKok
Sent: Tuesday, April 12, 2005 4:01 PM
To: freeradius-users@lists.freeradius.org
Subject: Re: FreeRadius 1.0.2 startup issue (with Gentoo) 

Bryce Porter [EMAIL PROTECTED] wrote:
 Ok, added that to the file, permissions on the /etc/raddb/huntgroups
 file are still 666, and I still get the same error: Permission denied
 (rlm_preprocess: Error reading /etc/raddb/huntgroups).
 
 Any more ideas?

  shrug It works in the default install.  If it doesn't work on your
system, it's something that was changed locally.  I have no idea what
that is, or how to fix it.

  Alan DeKok.


- 
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Problem compiling FreeRADIUS 1.0.1 on Gentoo Linux

2005-04-11 Thread Bryce Porter








I am trying to compile FreeRadius 1.0.1 on Gentoo Linux
2005.0:



 #
USE='-pam -postgres -snmp' emerge -pv freeradius

[ebuild N ]
net-dialup/freeradius-1.0.1 -frascend -frnothreads -frxp -kerberos -ldap
+mysql -pam -postgres -snmp +ssl 0 kB



As you can see, the only USE flags in use here are ssl
and mysql (I could reproduce the error with all USE flags
disabled as well).

Im getting the following error:



snip

gcc -shared rlm_unix.lo cache.lo compat.lo
-Wl,--whole-archive /usr/lib/libshadow.a -Wl,--no-whole-archive -lcrypt
/usr/lib/libshadow.a -lnsl -lresolv -lpthread -lcrypto -lssl -Wl,-soname
-Wl,rlm_unix-1.0.1.so -o .libs/rlm_unix-1.0.1.so

/usr/lib/libshadow.a: member /usr/lib/libshadow.a(libmisc.a)
in archive is not an object

collect2: ld returned 1 exit status

gmake[6]: *** [rlm_unix.la] Error 1

gmake[6]: Leaving directory
`/var/tmp/portage/portage/freeradius-1.0.1/work/freeradius-1.0.1/src/modules/rlm_unix'

/snip



Any suggestions?



Bryce Porter.Network Administrator
. .
. . . . . . . . . . . . . . . . . . . . . . . . 
Heart
Technologies, Inc. 
3105 N. Main St.
E. Peoria,IL61611 
p. 309.427.7282
f.309.427.7382 
e. [EMAIL PROTECTED] 
w. www.heart.net












RE: Problem compiling FreeRADIUS 1.0.1 on Gentoo Linux

2005-04-11 Thread Bryce Porter








My apologies, as the original email that I
sent was in HTML format. This should be in plain text. Thank you.





Bryce Porter.Network Administrator
. .
. . . . . . . . . . . . . . . . . . . . . . . . 
Heart
Technologies, Inc. 
3105
N. Main St.
E.
Peoria,IL61611 
p. 309.427.7282
f.309.427.7382 
e. [EMAIL PROTECTED] 
w. www.heart.net













From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bryce Porter
Sent: Monday, April 11, 2005 3:55
PM
To: freeradius-users@lists.freeradius.org
Subject: Problem compiling
FreeRADIUS 1.0.1 on Gentoo Linux





I am trying to compile FreeRadius 1.0.1 on Gentoo Linux
2005.0:




# USE='-pam -postgres -snmp' emerge -pv freeradius

[ebuild N ]
net-dialup/freeradius-1.0.1 -frascend -frnothreads -frxp -kerberos -ldap
+mysql -pam -postgres -snmp +ssl 0 kB



As you can see, the only USE flags in use here are
ssl and mysql (I could reproduce the error with all
USE flags disabled as well).

Im getting the following error:



snip

gcc -shared rlm_unix.lo cache.lo compat.lo
-Wl,--whole-archive /usr/lib/libshadow.a -Wl,--no-whole-archive -lcrypt
/usr/lib/libshadow.a -lnsl -lresolv -lpthread -lcrypto -lssl -Wl,-soname
-Wl,rlm_unix-1.0.1.so -o .libs/rlm_unix-1.0.1.so

/usr/lib/libshadow.a: member /usr/lib/libshadow.a(libmisc.a)
in archive is not an object

collect2: ld returned 1 exit status

gmake[6]: *** [rlm_unix.la] Error 1

gmake[6]: Leaving directory
`/var/tmp/portage/portage/freeradius-1.0.1/work/freeradius-1.0.1/src/modules/rlm_unix'

/snip



Any suggestions?



Bryce Porter.Network Administrator
. .
. . . . . . . . . . . . . . . . . . . . . . . . 
Heart
Technologies, Inc. 
3105 N. Main St.
E. Peoria,IL61611 
p. 309.427.7282
f.309.427.7382 
e. [EMAIL PROTECTED] 
w. www.heart.net