[rt-users] Remote Database Connect problem

Harald Wagener hwagener at hamburg.fcb.com
Thu Jul 10 04:40:52 EDT 2003


On Mittwoch, 9. Juli 2003, at 20:18 Uhr, Roderick A. Anderson wrote:
> Use of uninitialized value in concatenation (.) or string at
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/DBI.pm line 584, <STDIN>  
> line 1.
> DBI  
> connect('dbname=template1;host=db.mycompany.com; 
> port=5432','postgres',...)
> failed:  at /usr/lib/perl5/site_perl/5.6.1/DBIx/DataSource/Driver.pm  
> line
> 74
> could not connect to server: Connection refused at
> /usr/lib/perl5/site_perl/5.6.1/DBIx/DataSource/Driver.pm line 74,  
> <STDIN>
> line 1.
> make: *** [createdb] Error 255
>
I don't know much about postgres, but this seems the postgres server  
does not want You to connect from that server with that  
username/password combination. Have You checked

- If postgresql is correctly configured to accept tcp connections from  
another machine?

- If You can connect using the command line interface with the username  
and password You intend to use?

- If the RT configuration file is clean, i.e. no blanks, tabs or other  
unprintable characters after the username or password in the Makefile?

That's it for now.

Regards,
     Harald




More information about the rt-users mailing list