System error

error:  DBI connect('database=eduroam;host=localhost;port=3306','eduroam_dba',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) at /srv/eduroam/lib/perl5//Ima/DBI.pm line 328
context: 
... 
265:  # whether they should generate a full stack trace (confess() and cluck())
266:  # or simply report the caller's package (croak() and carp()), respectively.
267:  # confess() and croak() die, carp() and cluck() warn.
268: 
269:  sub croak { die shortmess @_ }
270:  sub confess { die longmess @_ }
271:  sub carp { warn shortmess @_ }
272:  sub cluck { warn longmess @_ }
273: 
... 
code stack:  /usr/lib/perl5/5.8.8/Carp.pm:269
/srv/eduroam/lib/perl5/x86_64-linux-thread-multi/DBI.pm:671
/srv/eduroam/lib/perl5/x86_64-linux-thread-multi/DBI.pm:727
/srv/eduroam/lib/perl5/x86_64-linux-thread-multi/DBI.pm:568
/srv/eduroam/lib/perl5/Ima/DBI.pm:328
/srv/eduroam/lib/perl5/Ima/DBI.pm:393
/srv/eduroam/lib/perl5/Class/DBI/Search/Basic.pm:163
/srv/eduroam/lib/perl5/Class/DBI/Search/Basic.pm:169
/srv/eduroam/lib/perl5/Class/DBI.pm:1094
/srv/eduroam/htdocs/site/where-is-eduroam.html:10
/srv/eduroam/htdocs/site/autohandler:8
raw error






























DBI connect('database=eduroam;host=localhost;port=3306','eduroam_dba',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) at /srv/eduroam/lib/perl5//Ima/DBI.pm line 328


Trace begun at /srv/eduroam/lib/perl5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('DBI connect(\'database=eduroam;host=localhost;port=3306\',\'eduroam_dba\',...) failed: Can\'t connect to local MySQL server through socket \'/var/lib/mysql/mysql.sock\' (111) at /srv/eduroam/lib/perl5//Ima/DBI.pm line 328^J') called at /usr/lib/perl5/5.8.8/Carp.pm line 269
Carp::croak('DBI connect(\'database=eduroam;host=localhost;port=3306\',\'eduroam_dba\',...) failed: Can\'t connect to local MySQL server through socket \'/var/lib/mysql/mysql.sock\' (111)') called at /srv/eduroam/lib/perl5/x86_64-linux-thread-multi/DBI.pm line 671
DBI::__ANON__(undef, undef) called at /srv/eduroam/lib/perl5/x86_64-linux-thread-multi/DBI.pm line 727
DBI::connect('DBI', 'DBI:mysql:database=eduroam;host=localhost;port=3306', 'eduroam_dba', 'biscuit', 'HASH(0x2b36c10d0b50)') called at /srv/eduroam/lib/perl5/x86_64-linux-thread-multi/DBI.pm line 568
DBI::connect_cached('DBI', 'DBI:mysql:database=eduroam;host=localhost;port=3306', 'eduroam_dba', 'biscuit', 'HASH(0x2b36c0a18c10)') called at /srv/eduroam/lib/perl5/Ima/DBI.pm line 328
Ima::DBI::__ANON__('Monitor::Client') called at /srv/eduroam/lib/perl5/Ima/DBI.pm line 393
Ima::DBI::__ANON__('Monitor::Client', 'visible = ? ORDER BY stars_use DESC, stars_coverage DESC, name') called at /srv/eduroam/lib/perl5/Class/DBI/Search/Basic.pm line 163
Class::DBI::Search::Basic::sql('Class::DBI::Search::Basic=HASH(0x2b36c10d56d0)') called at /srv/eduroam/lib/perl5/Class/DBI/Search/Basic.pm line 169
Class::DBI::Search::Basic::run_search('Class::DBI::Search::Basic=HASH(0x2b36c10d56d0)') called at /srv/eduroam/lib/perl5/Class/DBI.pm line 1094
Class::DBI::__ANON__('Monitor::Client', 'visible', 1, 'HASH(0x2b36c0533a10)') called at /srv/eduroam/htdocs/site/where-is-eduroam.html line 10
HTML::Mason::Commands::__ANON__ at /srv/eduroam/lib/perl5/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x2b36c10dc290)') called at /srv/eduroam/lib/perl5/HTML/Mason/Request.pm line 1305
eval {...} at /srv/eduroam/lib/perl5/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, undef) called at /srv/eduroam/lib/perl5/HTML/Mason/Request.pm line 958
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x2b36c08dc200)') called at /srv/eduroam/htdocs/site/autohandler line 8
HTML::Mason::Commands::__ANON__ at /srv/eduroam/lib/perl5/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x2b36c09550a0)') called at /srv/eduroam/lib/perl5/HTML/Mason/Request.pm line 1300
eval {...} at /srv/eduroam/lib/perl5/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, undef) called at /srv/eduroam/lib/perl5/HTML/Mason/Request.pm line 484
eval {...} at /srv/eduroam/lib/perl5/HTML/Mason/Request.pm line 484
eval {...} at /srv/eduroam/lib/perl5/HTML/Mason/Request.pm line 436
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x2b36c08dc200)') called at /srv/eduroam/lib/perl5/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x2b36c08dc200)') called at /srv/eduroam/lib/perl5/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x2b36c088d670)', 'Apache2::RequestRec=SCALAR(0x2b36c0b8a320)') called at (eval 28) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x2b36c0b8a320)') called at -e line 0
eval {...} at -e line 0