System error

error:  Cannot connect to postgres dsn: dbi:Pg:dbname=journals2;host=db.server.cms at /cms/www/htdocs/CMS/Journals/perl/journalsdb_lib.pl line 31.
context: 
... 
27: 
28: 
29: 
30: 
31:  my $dbh = DBI->connect($pgdsn, $pguserid, $pgpwd) or die "Cannot connect to postgres dsn: $pgdsn";
32: 
33: 
34: 
35: 
... 
code stack:  /cms/www/htdocs/CMS/Journals/perl/journalsdb_lib.pl:31
/cms/www/htdocs/CMS/Journals/searchresults.mason:47
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:930
/cms/www/htdocs/CMS/Journals/searchresults.mason:734
/cms/www/htdocs/CMS/Journals/autohandler:1
/cms/www/htdocs/CMS/autohandler:597
/cms/www/htdocs/CMS/autohandler:214
raw error






























Cannot connect to postgres dsn: dbi:Pg:dbname=journals2;host=db.server.cms at /cms/www/htdocs/CMS/Journals/perl/journalsdb_lib.pl line 31.


Trace begun at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Cannot connect to postgres dsn: dbi:Pg:dbname=journals2;host=db.server.cms at /cms/www/htdocs/CMS/Journals/perl/journalsdb_lib.pl line 31.^J') called at /cms/www/htdocs/CMS/Journals/perl/journalsdb_lib.pl line 31
HTML::Mason::Commands::connect_to_journals_db at /cms/www/htdocs/CMS/Journals/searchresults.mason line 47
HTML::Mason::Commands::__ANON__('fromjnl', 'cmb', 'jnl', 'CMB', 'french', 0) called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 157
HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x9e7c3dc)', 'main', 'fromjnl', 'cmb', 'jnl', 'CMB', 'french', 0) called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 930
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x9cf0f30)', 'main', 'fromjnl', 'cmb', 'jnl', 'CMB', 'french', 0) called at /cms/www/htdocs/CMS/Journals/searchresults.mason line 734
HTML::Mason::Commands::__ANON__('fromjnl', 'cmb', 'jnl', 'CMB', 'french', 0) called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9e7c3dc)', 'fromjnl', 'cmb', 'jnl', 'CMB', 'french', 0) called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1278
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, undef, 'fromjnl', 'cmb', 'jnl', 'CMB', 'french', 0) called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 937
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x9cf0f30)') called at /cms/www/htdocs/CMS/Journals/autohandler line 1
HTML::Mason::Commands::__ANON__('fromjnl', 'cmb', 'jnl', 'CMB', 'french', 0) called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9e84ed4)', 'fromjnl', 'cmb', 'jnl', 'CMB', 'french', 0) called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1278
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, undef, 'fromjnl', 'cmb', 'jnl', 'CMB', 'french', 0) called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1326
HTML::Mason::Request::scomp('HTML::Mason::Request::ApacheHandler=HASH(0x9cf0f30)', 'HTML::Mason::Component::FileBased=HASH(0x9e84ed4)', 'fromjnl', 'cmb', 'jnl', 'CMB', 'french', 0) called at /cms/www/htdocs/CMS/autohandler line 597
HTML::Mason::Commands::__ANON__('french_b', 0) called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x9ec1b34)', 'french_b', 0) called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1273
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, 'french_b', 0) called at /cms/www/htdocs/CMS/autohandler line 214
HTML::Mason::Commands::__ANON__('fromjnl', 'cmb', 'jnl', 'CMB') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9ec7748)', 'fromjnl', 'cmb', 'jnl', 'CMB') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1273
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, undef, 'fromjnl', 'cmb', 'jnl', 'CMB') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 467
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 467
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 419
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9cf0f30)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9cf0f30)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x9ced384)', 'Apache2::RequestRec=SCALAR(0x94157d0)') called at (eval 30) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x94157d0)') called at /cms/www/apache/conf/conf.d/mason.conf line 138
CMS::Bootstrap::handler('Apache2::RequestRec=SCALAR(0x94157d0)') called at -e line 0
eval {...} at -e line 0