[rt-users] instalation problem
Humberto Junior
humberto at nexos.com.br
Thu Aug 18 18:25:40 EDT 2005
Anne Ramey wrote:
>
>
> Humberto Junior wrote:
>
>> Hi all
>>
>> I had some problems with the Postgres, i tried to install the RT32 in
>> a FreeBSD 5.3 with apache-1.3.33, mod_perl-1.29_1 and postgresql-7.4.5
>>
>> Everithing seems ok, but the make can't conect into DB.
>>
>> I type these five lines:
>>
>> #make clean install INITIAL_INSTALL DB_TYPE=Pg DB_DATABASE=nexosrtdb
>> DB_DBA_USER=pgsql DB_DBA_PASSWORD=password
>>
>> (give all correct but un the last line i receive "don't know how to
>> INITIAL_INSTALL")
>>
>> #cat /root/RT/RT_SiteConfig.pm > /usr/local/rt3/etc/RT_SiteConfig.pm
>> #cat /root/RT/append.httpd.conf >>
>> /usr/lo/usr/local/etc/apache/httpd.conf
>> #apachectl stop && apachectl start
>>
>> # make post-install -DINITIAL_INSTALL DB_TYPE=Pg DB_DATABASE=nexosrtdb
>> DB_DBA_USER=pgsql DB_DBA_PASSWORD=password
>> DBI connect('dbname=template1;host=localhost','pgsql',...) failed:
>> could not connect to server: Connection refused at
>> /usr/local/rt3/sbin/rt-setup-database line 118
>> could not connect to server: Connection refused at
>> /usr/local/rt3/sbin/rt-setup-database line 121.
>> Database doesn't appear to exist. Aborting database drop. at
>> /usr/local/rt3/sbin/rt-setup-database line 122.
>> DBI connect('dbname=template1;host=localhost','pgsql',...) failed:
>> could not connect to server: Connection refused at
>> /usr/local/rt3/sbin/rt-setup-database line 80
>> Failed to connect to dbi:Pg:dbname=template1;host=localhost as pgsql:
>> could not connect to server: Connection refused at
>> /usr/local/rt3/sbin/rt-setup-database line 80.
>> *** Error code 255 (ignored)
>> =====================================================================
>> Does anyone knows what (or where I can found information) I need to
>> set up im my DB to make this work?
>>
>> Thanks in advance.
>> Humberto Junior.
>
> Can you connect to postgres from the command line? Have you edited
> /usr/local/rt3/etc/RT_SiteConfig.pm to reflect your db name/user/passwd
> choices?
>
> Anne
>
Thanks all
We could solve the problem, it was a problem with the conection to
postgres and a I did a litlle edit in the Makefile to force the
conection with the correct user and passord.
Humberto Junior - now configuring...
More information about the rt-users
mailing list