I fixed that issue. I had to run it as perl log_badlogins /path/to/radius.log. But now when it logs the bad logins, The username is just a "-".
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Kostas > Kalevras > Sent: Friday, October 17, 2003 9:25 AM > To: Freeradius-Users > Subject: Re: dialup_admin: log_badlogins problem > > > On Fri, 17 Oct 2003, Kenny Olano wrote: > > > I'm trying to run log_badlogin but I keep getting the following > error "sh: > > /usr/local/mysql/bin/mysql: No such file or directory" I am pointing the > > $mysql variable to right path "/usr/bin/mysql" Why does it > still try to > > use "/usr/local/mysql/bin/mysql" ? I even tried commenting out > the insert > > command but I still get this error. Any help will be appreciated. > > As long as you have something like: > > $mysql='/usr/bin/mysql'; > > in your log_badlogins it should work just fine... > > > > > Kenny Olano > > Web Programmer > > Practical Solutions > > > > > > - > > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > -- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 210 7721861 'Go back to the shadow' Gandalf - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html