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/article.mason:64
/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:930
/cms/www/htdocs/CMS/Journals/article.mason:55
/cms/www/htdocs/CMS/cmb/article:1
/cms/www/htdocs/CMS/cmb/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/article.mason line 64
HTML::Mason::Commands::__ANON__('backref', '/CMS/cmb/article.html', 'jcode_in', 'CMB', 'abfmt', undef, 'edit', undef, 'args', 'HASH(0xac39878)') 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(0xa911188)', 'main', 'backref', '/CMS/cmb/article.html', 'jcode_in', 'CMB', 'abfmt', undef, 'edit', undef, 'args', 'HASH(0xac39878)') 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(0xac3f8b4)', 'main', 'backref', '/CMS/cmb/article.html', 'jcode_in', 'CMB', 'abfmt', undef, 'edit', undef, 'args', 'HASH(0xac39878)') called at /cms/www/htdocs/CMS/Journals/article.mason line 55
HTML::Mason::Commands::__ANON__('backref', '/CMS/cmb/article.html', 'jcode_in', 'CMB', 'abfmt', undef, 'edit', undef, 'args', 'HASH(0xac39878)') 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(0xa911188)', 'backref', '/CMS/cmb/article.html', 'jcode_in', 'CMB', 'abfmt', undef, 'edit', undef, 'args', 'HASH(0xac39878)') 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, 'backref', '/CMS/cmb/article.html', 'jcode_in', 'CMB', 'abfmt', undef, 'edit', undef, 'args', 'HASH(0xac39878)') called at /cms/www/htdocs/CMS/cmb/article line 1
HTML::Mason::Commands::__ANON__('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(0xac3fc8c)', '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, '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(0xac3f8b4)') called at /cms/www/htdocs/CMS/cmb/autohandler line 1
HTML::Mason::Commands::__ANON__('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(0xac44894)', '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, '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(0xac3f8b4)', 'HTML::Mason::Component::FileBased=HASH(0xac44894)', '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(0xa4aeacc)', '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__ at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xa4979e8)') 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) 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(0xac3f8b4)') 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(0xac3f8b4)') 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(0xa433024)', 'Apache2::RequestRec=SCALAR(0x99120e4)') called at (eval 30) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x99120e4)') called at /cms/www/apache/conf/conf.d/mason.conf line 138
CMS::Bootstrap::handler('Apache2::RequestRec=SCALAR(0x99120e4)') called at -e line 0
eval {...} at -e line 0