Thank you Stuart and Hugh.

It took both of you to solve the problem.

1) Privileges - I tried all sorts of privileges. What made the difference was giving 
"write" privs to "other" for online.db.

2) DB - I ALSO had to for radwho.cgi to use "DB_File" format for the dbtype.

Thanks very much and Merry Christmas!

Dave

On Wednesday, December 22, 1999 9:14 PM, Hugh Irvine [SMTP:[EMAIL PROTECTED]] wrote:
> 
> Hello Dave -
> 
> On Tue, 21 Dec 1999, Dave Kitabjian wrote:
> > Visit: http://web1.netcarrier.net/cgi-bin/radwho.cgi
> > 
> > But the file does exist with proper permissions:
> > 
> > web1# ls -l /usr/radiator/online.db
> > -rw-rw-rw-  1 root  wheel  16384 Dec 17 10:11 /usr/radiator/online.db
> > 
> > The only changes I made to this CGI were:
> > 
> >     #!/usr/bin/perl
> > 
> >     $filename = '/usr/radiator/online.db';
> > 
> >     #$DBSource = 'dbi:mSQL:radius';
> >     #$DBUsername = '';           #dhk
> >     #$DBAuth = '';               #dhk
> > 
> > What am I doing wrong?
> 
> Are the cgi scripts running on the same host as Radiator? It may be that
> Radiator and radwho.cgi are using different DBM formats. You can force them to
> use specific versions by editing the radwho.cgi and radacct.cgi scripts.


===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to