freeside 1.4.0 New Install problem with bin/fs-setup

dwbrown at webitplanet.com dwbrown at webitplanet.com
Sun May 4 08:25:14 PDT 2003


Hello freeside ml gurus, I am attempting a freeside 1.4.0 install downloaded 
from: LATEST. Various environment and architecture specs follow:
Apache::ASP
mod_perl 1.27 installed as DSO 

Apache Server Status for www.webitplanet.com
Server Version: Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.6g PHP/4.0.6
Server Built: Mar 28 2003 15:19:57
Current Time: Sunday, 04-May-2003 09:10:14 CDT
Restart Time: Friday, 02-May-2003 21:40:14 CDT
Parent Server Generation: 4
Server uptime: 1 day 11 hours 30 minutes 

rh 7.2 

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
 Platform:
   osname=linux, osvers=2.4.6-3.1enterprise, archname=i386-linux
   uname='linux stripples.devel.redhat.com 2.4.6-3.1enterprise #1 smp tue 
jul 24 14:03:17 edt 2001 i686 unknown '
   config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -Dcc=gcc 
 -Dcccdlflags=-fPIC -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux 
 -Dd_dosuid -Dd_semctl_semun -Di_db -Di_ndbm -Di_gdbm -Di_shadow -Di_syslog 
 -Dman3ext=3pm -Uuselargefiles'
   Linker and Libraries:
   ld='gcc', ldflags =' -L/usr/local/lib'
   libpth=/usr/local/lib /lib /usr/lib
   libs=-lnsl -ldl -lm -lc -lcrypt
   libc=/lib/libc-2.2.4.so, 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):
 Compile-time options:
 Built under linux
 Compiled at Aug  9 2001 22:48:52
 @INC:
   /usr/lib/perl5/5.6.0/i386-linux
   /usr/lib/perl5/5.6.0
   /usr/lib/perl5/site_perl/5.6.0/i386-linux
   /usr/lib/perl5/site_perl/5.6.0
   /usr/lib/perl5/site_perl 

postgresql: 7.3.2 

DBI and DBD perl mods installed via CPAN. 

I have followed the freeside New Install AFAIK verbatim and all milestones 
passed ok.
The step to create the database tables: bin/fs-setup is failing. I can 
connect to the
database through psql with the same user and password. I have created to 
admin users
and passwords using: 

freeside-adduser -c -h /usr/local/etc/freeside/htpasswd freeside 

And 

freeside-adduser -h /usr/local/etc/freeside/htpasswd <other> 

both users can connect using psql: 

sh-2.05$ ./psql
Welcome to psql 7.3.2, the PostgreSQL interactive terminal. 

Type:  \copyright for distribution terms
      \h for help with SQL commands
      \? for help on internal slash commands
      \g or terminate with semicolon to execute query
      \q to quit 

freeside=> 

I have read the manual and searched google using the following error message 
in parts as keywords only to get one google result with the same error 
condition I am experiencing. 

The following command line freeside install sequence is invoked with the 
following results: 

sh-2.05$ bin/fs-setup freeside 

Freeside tracks the RADIUS User-Name, check attribute Password and
reply attribute Framed-IP-Address for each user.  You can specify additional
check and reply attributes (or you can add them later with the
fs-radius-add-check and fs-radius-add-reply programs). 

First enter any additional RADIUS check attributes you need to track for 
each
user, separated by whitespace.
: 


Now enter any additional reply attributes you need to track for each user,
separated by whitespace.
: 


Do you wish to enable the tracking of a second, separate shipping/service
address?
: [y/N]:
Use of uninitialized value in concatenation (.) at 
/usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm line 577.
DBI connect('host=localhost;dbname=freeside','freeside',...) failed:  at 
/usr/lib/perl5/site_perl/5.6.0/FS/UID.pm line 88
DBI->connect error: could not connect to server: Connection refused



More information about the freeside-users mailing list