On Wed, Oct 17, 2001 at 01:28:26PM -0400, [EMAIL PROTECTED] wrote:
> Andreas Faust <[EMAIL PROTECTED]> wrote:
> 
> > 1st of all, I have it running under supervise control, although my
> > run script looks almost exactly like the one in the FAQ, radiusd
> > logs to /var/log/radius/radius.log it shouldn'be that way, should it?
> 
>   The server will log to whatever file you tell it to.  See the
> 'logdir' directive in 'raddb/radiusd.conf'
but the commandline should override the config, shouldn't it ?
But I will try if the config accepts stdout as a logdir parameter

>   The 'log' directory described in the FAQ, when talking about
> daemontools, means the daemontools logging, not FreeRADIUS.
This is not what I was talking about. I know daemontools very well, and I know almost 
all of its logging functionality. but if radiusd writes in its logfile, and not on 
stdout as I told it, multilog can not log what I want it to.

---snip FAQ---
It is important to add -f and -l stderr to argument list of radiusd or svc
and logging functions will not work properly.
---end of snip---

---snip run---
#!/bin/sh
exec 2>&1
exec /usr/local/sbin/radiusd -fy -lstdout
---end of snip---

>  
> > 2nd, if you try to connect to multiple different databases, you get
> > an error. Even when you specify the right driver, the driver will be
> > loaded, but then the driver first loadad will be used. So, if you
> > have a MySQL and a PostgreSQL Database, you connect first to the
> > MySQL and then to the Postgres, The mysql driver will be loaded,
> > connection will be established, psql-driver will be loaded, and then
> > you get an mysql-error, saying that you cannot connect to the
> > database.
> 
>   I haven't tried that.  You probably need to make two different
> instances of the SQL module.  One can then use MySQL, and the other
> uses PostgreSQL.  That should work.
It doesnt .. That's why I came here ... I have 3 instances 2 Mysql which are 
configured as failover and 1 postgresql instance. I also "rewrote" the sql statements 
to fit my needs :)
Never ever got such a comfortable chance to do that, with any other radius server

I am not that much a newbie, so I guess I recognize a bug if I see one :)

---snip of log---
Wed Oct 17 16:02:57 2001 : Info: rlm_sql: Driver rlm_sql_mysql loaded and linked
Wed Oct 17 16:02:57 2001 : Info: rlm_sql: Attempting to connect to 
root@localhost:/radius
Wed Oct 17 16:02:57 2001 : Info: rlm_sql: Driver rlm_sql_mysql loaded and linked
Wed Oct 17 16:02:57 2001 : Info: rlm_sql: Attempting to connect to 
[EMAIL PROTECTED]:/radfail
Wed Oct 17 16:02:57 2001 : Info: rlm_sql: Driver rlm_sql_postgresql loaded and linked
Wed Oct 17 16:02:57 2001 : Info: rlm_sql: Attempting to connect to 
[EMAIL PROTECTED]:/shop
Wed Oct 17 16:02:57 2001 : Error: rlm_sql: Couldn't connect socket to MySQL server 
[EMAIL PROTECTED]:shop
Wed Oct 17 16:02:57 2001 : Error: rlm_sql:  Mysql error 'Can't connect to MySQL server 
on '217.110.119.52' (111)'
Wed Oct 17 16:02:57 2001 : Error: rlm_sql:  Failed to connect DB handle #0
---end of snip---

you see, I got different instances, but it doesnt work.. It tries to use the MySQL 
module, but I told him "driver = "rlm_sql_postgresql"" in that instance.


> > 3rd, your bug-report website is not reachable for me.. is it on purpose ?
> 
>   It's down temporarily.  It should be back up soon.
Ohh, great :)
After all, I am sure I will try the most unusable configurations, so I might find some 
other unwanted features :)

> > But after all, its a very good radius program.
> > I really like it.
> 
>   That's nice to hear, thanks.
I am sorry if I did not express myself clearly in the beginning.
English is not my native language, so, I hope I was not unkind or harsh.

Thank you alot for your quick response

Andreas Faust

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

Reply via email to