System error

error: 
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td valign="top" >

<br>
<table id="" align="center" width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td align="center"><br>

<br>
<table width="95%" border="0" cellpadding="0" cellspacing="0" bgcolor="#c1c1c1">
<tr>
<td><table width="100%" border="0" cellpadding="3" cellspacing="1">
<tr>
<td valign="top" bgcolor="#F4F4F4"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr align="center">
<td align=left>
<small><font color="#ff0000" face="Verdana" size="2">Sorry error in connecting to database , Please try after sometime.</font></small><br>
</td>
</tr>
<!-- Sorry error in connecting to database at /opt/app/tradeindia/perl_modules_02/UtilsDB.pm line 57.

Stack:
[/opt/app/tradeindia/perl_modules_02/UtilsDB.pm:57]
[/opt/app/tradeindia/mason/error/ise.html:67]
[/opt/app/tradeindia/mason/error/autohandler.html:13]
-->

<tr>
<td align="center">
<small>


</small>

</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td></tr>
</table>
</center>
</font>
</td>
</tr>
</table>
context: 
... 
211:  my $res = $ua->post( $url,\%args);
212:  my $response;
213:  $response = $res->content();
214:  if (! $res->is_success) {
215:  die $response;
216:  }
217:  my $json_encoded = $response;
218:  $data = decode_json($json_encoded);
219:  $memd->set($mem_key , $data , $memd_ttl) if($memd_enabled);
... 
code stack:  /opt/masonapache/lib/perl_lib/Website.pm:215
/var/www/virtual/joomla.trade-india-local.com/htdocs/lokpal/global.html:3
/var/www/virtual/joomla.trade-india-local.com/htdocs/lokpal/autohandler.html:4
/var/www/virtual/joomla.trade-india-local.com/htdocs/syshandler.html:80
raw error






























<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td  valign="top" >

<br>
<table id="" align="center" width="100%"  border="0" cellspacing="2" cellpadding="2">
  <tr>
    <td align="center"><br>

      <br>
      <table width="95%" border="0" cellpadding="0" cellspacing="0" bgcolor="#c1c1c1">
        <tr>
          <td><table width="100%" border="0" cellpadding="3" cellspacing="1">
              <tr>
                <td valign="top" bgcolor="#F4F4F4"><table width="100%" border="0" cellspacing="0" cellpadding="4">
                    <tr align="center">
                      <td align=left>
<small><font color="#ff0000" face="Verdana" size="2">Sorry error in connecting to database , Please try after sometime.</font></small><br>
</td>
                    </tr>
<!-- Sorry error in connecting to database at /opt/app/tradeindia/perl_modules_02/UtilsDB.pm line 57.

Stack:
  [/opt/app/tradeindia/perl_modules_02/UtilsDB.pm:57]
  [/opt/app/tradeindia/mason/error/ise.html:67]
  [/opt/app/tradeindia/mason/error/autohandler.html:13]
-->

<tr>
<td  align="center">
<small>


</small>

</td>
</tr>
                </table></td>
              </tr>
          </table></td>
        </tr>
  </table></td></tr>
</table>
</center>
</font>
</td>
  </tr>
</table>


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('^J<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">^J  <tr>^J    <td  valign="top" >^J^J<br>^J<table id="" align="center" width="100%"  border="0" cellspacing="2" cellpadding="2">^J  <tr>^J    <td align="center"><br>^J^J      <br>^J      <table width="95%" border="0" cellpadding="0" cellspacing="0" bgcolor="#c1c1c1">^J        <tr>^J          <td><table width="100%" border="0" cellpadding="3" cellspacing="1">^J              <tr>^J                <td valign="top" bgcolor="#F4F4F4"><table width="100%" border="0" cellspacing="0" cellpadding="4">^J                    <tr align="center">^J                      <td align=left>^J^I^I^I^I^I<small><font color="#ff0000" face="Verdana" size="2">Sorry error in connecting to database , Please try after sometime.</font></small><br>^J^I^I^I^I^I^I^I^I^I^I^I</td>^J                    </tr>^J<!-- Sorry error in connecting to database at /opt/app/tradeindia/perl_modules_02/UtilsDB.pm line 57.^J^JStack:^J  [/opt/app/tradeindia/perl_modules_02/UtilsDB.pm:57]^J  [/opt/app/tradeindia/mason/error/ise.html:67]^J  [/opt/app/tradeindia/mason/error/autohandler.html:13]^J-->^J^J^I^I^I^I^I^I^I^I^I^I<tr>^J^I^I^I^I^I^I^I^I^I^I^I<td  align="center">^J^I^I^I^I^I^I^I^I^I^I^I^I^I<small>^J^J^J^I^I^I^I^I^I^I^I^I^I^I^I^I</small>^J^J^I^I^I^I^I^I^I^I^I^I^I</td>^J^I^I^I^I^I^I^I^I^I^I</tr>^I^J                </table></td>^J              </tr>^J          </table></td>^J        </tr>^J^I^I  </table></td></tr>^J</table>^J</center>^J</font>^J^I^I</td>^J  </tr>^J</table>^J') called at /opt/masonapache/lib/perl_lib/Website.pm line 215
Website::get_profile('Website=HASH(0xaa64390)') called at /var/www/virtual/joomla.trade-india-local.com/htdocs/lokpal/global.html line 3
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xaa659d0)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1278
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef) called at /var/www/virtual/joomla.trade-india-local.com/htdocs/lokpal/autohandler.html line 4
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xaa29358)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1278
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 937
HTML::Mason::Request::call_next('HTML::Mason::Request::CGI=HASH(0xa9e15c8)') called at /var/www/virtual/joomla.trade-india-local.com/htdocs/syshandler.html line 80
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xaa5c598)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1273
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 467
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 467
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 419
HTML::Mason::Request::exec('HTML::Mason::Request::CGI=HASH(0xa9e15c8)') called at /usr/share/perl5/HTML/Mason/CGIHandler.pm line 193
eval {...} at /usr/share/perl5/HTML/Mason/CGIHandler.pm line 193
HTML::Mason::Request::CGI::exec('HTML::Mason::Request::CGI=HASH(0xa9e15c8)') called at /usr/share/perl5/HTML/Mason/Interp.pm line 342
HTML::Mason::Interp::exec(undef, undef) called at /usr/share/perl5/HTML/Mason/CGIHandler.pm line 122
eval {...} at /usr/share/perl5/HTML/Mason/CGIHandler.pm line 122
HTML::Mason::CGIHandler::_handler('My::CGIHandler=HASH(0xa9d9500)', 'HASH(0xa463e80)') called at /usr/share/perl5/HTML/Mason/CGIHandler.pm line 63
HTML::Mason::CGIHandler::handle_request('My::CGIHandler=HASH(0xa9d9500)') called at /opt/masonapache/lib/perl_lib/Website.pm line 1794
eval {...} at /opt/masonapache/lib/perl_lib/Website.pm line 1793
My::CGIHandler::handle_request('My::CGIHandler=HASH(0xa9d9500)') called at mason_handler.cgi line 22