[freeside-users] Odd issue when running freeside-setup

Ivan Kohler ivan at freeside.biz
Thu Jan 27 16:26:48 PST 2011


This was fixed in May 2010 and included in the 1.9.4 and 2.1.1 releases:

       * Makefile: fix "-e DBI:Pg:dbname=freeside" datasrc winding up in
          secrets as a result of weird implementations of echo as a shell
          builtin that ignore -e

-- 
_ivan


On Tue, Nov 09, 2010 at 09:13:31AM -0500, Dave Foster wrote:
> Freebsd 8.1 32 bit, Tried Freeside 2.1 and 1.9  (Vmware) When running freeside-setup ???d my.domain, as Freeside user I get :
> 
>  
> 
> Can't connect to data source '-e DBI:Pg:dbname=freeside\nfreeside\nMyPASSi' because I can't work out what driver to use (it doesn't seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER env var is not set) at /usr/local/lib/perl5/site_perl/5.10.1/FS/UID.pm line 153
> 
>  
> 
> It seems to be because ??? ???e DBI:Pg ??? is not a DBD!!
> 
>  
> 
> In /usr/local/etc/freeside  Some part o f the setup adds ???dbdef.-e DBI:Pg:dbname=freeside\nfreeside\nMYPASS ??? to the config, If removed or modified, it just comes back! I suspect its correct format like the other config files, should be ???dbdef.DBI:Pg:dbname=freeside\nfreeside\nMYPASS ???
> 
>  
> 
> I suspect a possible glitch with one of the perl modules, but cannot find it. So what code creates that file, and also uses the info in that file to attempt the database connection?
> 
>  
> 
> Thanks 
> 
>  
> 
>  
> 
> Dave Foster
> System Administrator,
> Canadian Net
> +1 416 245 1374
> FAX 1 416 241-5274
> http://www.canadian.net
> 
>  
> 
>  
> 




More information about the freeside-users mailing list