DBI->connect error: ... UID.pm line 88 using PG FS 1.4.0
Dr. Frank Bucolo
dr.bucolo at total1.net
Tue Aug 20 07:34:03 PDT 2002
Hi All ! Though I am new to freeside I am not to Linux!
RTFM and forum and have solved most issues but cannot connect to the
DBI!
Here is the error, and some system info to help troubleshooting ...
Where have I gone wrong ? -- Thanks, Frank
[root at sioux freeside]# su freeside
sh-2.05a$ bin/fs-setup admin
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]:N
DBI->connect(host=localhost;dbname=freeside) failed: could not connect
to server:
Connection refused at /usr/lib/perl5/site_perl/5.6.1/FS/UID.pm line 88
DBI->connect error: could not connect to server: Connection refused
sh-2.05a$
===================SYSTEM INFO========================
freeside pgsql user exists and can create users / databases
freeside db exists with NO tables
---------------------------------------------------------------------
[root at sioux freeside]# more /var/lib/pgsql/data/pg_hba.conf
# TYPE DATABASE IP_ADDRESS MASK AUTH_TYPE
AUTH_ARGUMENT
local freeside password
local all trust
host all 127.0.0.1 255.255.255.255 trust
---------------------------------------------------------------------
[root at sioux freeside]# ls /usr/local/etc/freeside -all
total 120
drwxr-xr-x 7 freeside root 4096 Aug 20 02:23 .
drwxr-xr-x 8 freeside freeside 4096 Aug 20 02:12 ..
drwxr-xr-x 2 freeside root 4096 Aug 20 02:20 asp-global
drwxr-xr-x 2 freeside root 4096 Aug 20 02:12
cache.DBI:Pg:host=localhost;dbname=freeside
drwxr-xr-x 2 freeside root 4096 Aug 20 02:12
conf.DBI:Pg:host=localhost;dbname=freeside
drwxr-xr-x 2 freeside root 4096 Aug 20 02:12
counters.DBI:Pg:host=localhost;dbname=freeside
-rw-r--r-- 1 freeside freeside 73787 Aug 20 02:48
dbdef.DBI:Pg:host=localhost;dbname=freeside
drwxr-xr-x 2 freeside root 4096 Aug 20 02:12
export.DBI:Pg:host=localhost;dbname=freeside
-rw-r--r-- 1 root root 60 Aug 20 02:30 htpasswd
-rw-r--r-- 1 root root 42 Aug 20 02:32 mapsecrets
-rw------- 1 freeside root 54 Aug 20 02:12 secrets
---------------------------------------------------------------------
ALL content in /usr/local/freeside is owned by user freeside:freeside
[root at sioux freeside]# more mapsecrets
admin secrets
steve secrets
frank secrets
[root at sioux freeside]# more secrets
DBI:Pg:host=localhost;dbname=freeside
freeside
password
freeside-version--1.4.0 Apache::ASP
RedHat v7.3 perl, v5.6.1
Linux sioux.total1.net 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686
unknown
apache-1.3.23-14
postgresql-7.2.1-5
DBD::Pg DBI::Const::GetInfo::ANSI DBIx::DBSchema
DBIx::DataSource Data::ShowTable and the rest compiled properly
declare -x POSTGRES_INCLUDE="/usr/local/pgsql/include"
declare -x POSTGRES_LIB="/usr/lib/pgsql"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dr.bucolo.vcf
Type: text/x-vcard
Size: 306 bytes
Desc: Card for Dr. Frank Bucolo
Url : http://420.am/pipermail/freeside-users/attachments/20020820/4cb16a3c/dr.bucolo.vcf
More information about the freeside-users
mailing list