(RADIATOR) Re: Problems with SQL (postgresql) loggng ... still some errors ..

2001-03-17 Thread Dave Price

Thanks for the fix ... turned out to be 'conflicting' version of Pg.pm on 
the system ...

I still get a couple of 'log errors' occasionally:

Sat Mar 17 11:10:38 2001: ERR: There is no value named 
Van-Jacobson-TCP-IP  Session-Timeout = 10800 Idle-Timeout = 900 for 
attribute Framed-Compression. Using 0.

Any idea where this comes from?

aloha,
dave

At 10:23 AM 03/15/2001 +1100, you wrote:

Hello Dave -

On Thursday 15 March 2001 01:04, Dave Price wrote:
  This used to work ... we upgraded both perl and radiator, now the logging
  to postgres failed ... here are the log entries i see:
 
 
  Sun Mar  4 11:20:01 2001: ERR: Could not connect to SQL database with
  DBI-conne
  ct dbi:Pg:dbname=radius, , : Undefined subroutine DBD::Pg::db::_login
  called at
/usr/local/lib/site_perl/DBD/Pg.pm line 89.
 
  Any ideas or pointers?
 

This looks like a problem with the DBD-Pg module. Have you installed it in
the new version of Perl? In any case, you should check CPAN for a more recent
version (or possibly an older an more stable version).

  Also, is there an easy way to temporarily turn on flat file connection
  logging until i get postgres working?
 

Just add an AcctLogFileName  to your Realm or Handler (section 6.15.4 in
the Radiator 2.18 manual).

hth

Hugh

--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.

===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.


===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



(RADIATOR) [RADIATOR] SessionDatabase question

2001-03-17 Thread Chris M

Awright this is probably obvious but my brain is crystallized on this topic,
I'm not getting anywhere anymore.

I am trying to figure out how to:

Create config files that separate auth and acct into different instances of
Radiator.

To do this it looks like I can create a radacct.cfg (1646)
and a radauth.cfg (1645), giving the Auth config access
to the SessionDatabase and the Auth database (both SQL),
and having the Acct config access the Auth DB and
SessionDatabase.

The only problem I forsee is, how do I make the SessionDatabase
high-availability? In other words, is there a way to replicate
the DB INSERTs and DELETEs so that auth or acct radiator
processes talking to MySQL can have entries simultaneously
made in SessionDatabases on two different machines?  Since
MySQL doesn't have any replication features built in, how do
people accomplish this syncing?

Thanks,
Chris


===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.