Historical information.
In some cases there may be a problem when migrating from 4.1 to version 5 and the server won’t start due to this error:
DBD::mysql::db do failed: Unknown column 'last_error' in 'field list' at /usr/lib/perl5/PandoraFMS/DB.pm line 811.
The solution is to manually add this query in the Pandora FMS’ database.
ALTER TABLE `tagente_estado` ADD COLUMN `last_error` tinyint(4) NOT NULL DEFAULT 0;