Problem with secrets

Andrew Cameron andrew at ibi.co.za
Mon May 3 23:22:29 PDT 1999


Hi,

This does not help me.

I cannot get rid of the Error

Software error:

Illegal line in /usr/local/etc/freeside//secrets : DBI:mysql:freeside
freeside password 

This error prints out on one line.

Here is my mapsecrets located in /usr/local/etc/freeside
freeside secrets


Here is my secrets /located in /usr/local/etc/freeside (Password changed)
DBI:mysql:freeside
freeside
password

The only thing I can think of is that my version of Perl may not be
compatible with the scripts

perl -V returns
Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration:
  Platform:
    osname=linux, osvers=2.0.35, archname=i386-linux
    uname='linux porcupine.pht.co.jp 2.0.35 #1 mon aug 10 16:23:13 jst
1998 i586 unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O6 -mpentium', gccversion=egcs-2.90.29 980515
(egcs-1.0.3 release)
    cppflags='-D_REENTRANT -Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-D_REENTRANT -Dbool=char -DHAS_BOOL -I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lpthread -lc -lposix -lcrypt
    libc=, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Built under linux
  Compiled at Aug 20 1998 13:38:40
  %ENV:
    PERL_BADLANG="C"
  @INC:
    /usr/lib/perl5/i386-linux/5.00502
    /usr/lib/perl5/5.00502
    /usr/lib/perl5/site_perl/i386-linux
    /usr/lib/perl5/site_perl


What is wrong and how do I fix it.

Regards
Andrew Cameron

On Mon, 3 May 1999, Webmaster wrote:

> Ok here are all my secret(s) files and all are in the follwoing directory:
> /usr/local/etc/freeside
> 
> 
> ------FILE 1: "mapsecrets" (1 line of text)
> freeside        DBI:mysql:freeside
> 
> ^^^^- Username    ^^^^-- Filename
> 
> ------FILE 2: "DBI:mysql:freeside" (3 lines of text, comments are on end of
> line, do not include comments!!!)
> DBI:mysql:freeside		<-- connection type to the sql server
> freeside			<-- SQL Username
> password			<-- SQL Password
> 
> >Software error: 
> >
> >Illegal line in /usr/local/etc/freeside//secrets: DBI:mysql:freeside
> >freeside password
> 
> The file name in the first file may be anything (from what i see in the
> source, i made the file be the name of the connection type, just for ease
> of installation!)
> 
> My exact directoty structure is as follows: (this may make it easier to
> install and such, as well as upgrade)
> 
> /usr/local/freeside  <-- Main Path everything is directly in this path, no
> sym-links in here!)
> 
> /usr/local/etc/freeside  <-- Linked to main path above (just so if he moves
> the files again i still have a standard installation directory)
> 
> /usr/lib/perl5/site_perl/freeside  <-- Linked to the site_perl directory in
> the freeside directoty.
> 
> /var/lib/httpd/htdocs/freeside	   <-- Linked to the htdocs directory of the
> freeside main install. (i included an updated .htaccess file, as well as
> added execution of scripts in this directory. Also to be more secure on the
> system i ran a program that creates wrappers for the .cgi files so i didn't
> have to patch the kernel to allow suid-perl scripts.)
> 
> Hopefully this has helped!
> 
> -^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-
>  W W W . W i Z K i D . O R G  -  A new look on web hosting & internet services
> -^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-
>              Suggestion, comments, help, money, anything, email me! 
>                   webmaster at wizkid.org or wizkid at wizkid.org
> -^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-
> 
>            This site is powered by Cisco, Intel, and Linux Products!
> 	        -- Where we use ONLY the best! No second Class! --
>     Site hosted by Integra-NET internet Services, a leader in networking
>        for schools, businesses and homes in the Philadelphia, PA area!
>    For internet Service (from 33.6 K through Full T1) Call or Email today!
>   Phone: (215) 338-7759  Fax: (215) 338-3633  Email: root at integra-net.com
> 
>    This AD had been placed by the owner of wizkid.org freely with out any
>                  request or intervention from integra-net.com! 
> 

-----------------------------------------------------------------------------

Andrew Cameron
Internet:  andrew at ibi.co.za
Internet:  apcameron at intch.co.za

-----------------------------------------------------------------------------




More information about the freeside-users mailing list