Error, in fs-setup

Ivan Kohler ivan at sisd.com
Wed Apr 14 01:24:37 PDT 1999


Oops, originally posted this in the wrong thread.

Took me a while to track this down.  I'm guessing you're using Perl 5.005,
but since you didn't report that as requested on your list subscription
confirmation, that's just a guess.

I *think* the problem is a slight syntax change between Perl 5.004 and
5.005.  5.004 is interpreting:

    FS::UID::getsecrets $user

as a subroutine call

I just cheked in a fix to CVS.

The fs-current tarball will update in about 5 minutes, will include this
fix, and is probably pretty much equivalent to what will become 1.2.1.

On Mon, Apr 12, 1999 at 07:20:15PM -0700, vladimir p marchuk wrote:
> When I run fs-setup freeside it gives me this...
> 
> www:~/bin$ fs-setup freeside
> Can't locate object method "getsecrets" via package "FS::UID" at
> ./fs-setup line
>  92.                                                                           
> 
> What exactly is the problem?  I know it has something to do with the
> secrets file but I followed all the directions precisely and I am still
> getting this error.  I have mapsecrets in /usr/local/etc/freeside
> I have secrets in /usr/local/etc/freeside
> In mapsecrets it has:
> freeside secrets
> 
> ---
> In secrets it has:
> DBI:mysql:freeside
> freeside
> <password>
> 
> 
> Please help.
> 
> 

-- 
Ivan Kohler <ivan at sisd.com> - finger for PGP key - <moc.dsis at navi> Relhok Navi
Open-source billing and administration for ISPs - http://www.sisd.com/freeside
20 4,16 * * * saytime # please don't be surprised if you find me dreaming too



More information about the freeside-users mailing list