Internal Server Error - Fichero ZZZAAUTO.pm

Post Reply
xet
Znuny newbie
Posts: 6
Joined: 25 Jul 2016, 19:40
Znuny Version: 5.0.13

Internal Server Error - Fichero ZZZAAUTO.pm

Post by xet »

Hola

Me he registrado en este foro, porque necesito un poco de ayuda. Tengo la version de OTRS 5.0.10, pero después de reiniciar el servidor me da un error de Internal Server Error y no me funciona. He revisado que el servicio httpd y msql este levantados (están funcionando) y, a continuación, revise los logs y me estaba dando errores en el ZZZAAuto.pm, con lo que he intentado hacer un rebuild, pero me da el siguiente error:

su -c "bin/otrs.Console.pl Maint::Config::Rebuild" -s /bin/bash otrs
Missing right curly or square bracket at /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm line 2827, at end of line
syntax error at /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm line 2827, at EOF
Compilation failed in require at /opt/otrs/Kernel/Config/Defaults.pm line 1993.

He mirado el archivo Defaults.pm en la línea 1993 y se para en:

# if require is usable, use it (because of better performance,
# if not, use do to do it on runtime)
## no critic
if ( $Require ) {
if (! require $File ) {
die "ERROR: $!\n";
}
}
else {
if (! do $File ) {
die "ERROR: $!\n";
}
}
## use critic

Con respecto el ZZZZAAuto.pm, el archivo termina en la línea 2827 (se corta al final):

};
$Self->{'Ticket::Frontend::AgentTicketResponsible'}->{'ArticleTypeDefault'} = 'note-internal';
$Self->{'Ticket::Frontend::AgentTicketResponsible'}->{'InformAgent'} = '0';
$Self->{'Ticket::Frontend::AgentTicketResponsible'}->{'InvolvedAgent'} = '0';
$Self->{'Ticket::Frontend::AgentTicketResponsible'}->{'Body'} = '';
$Self->{'Ticket::Frontend::AgentTicketResponsible'}->{'Subject'} = '';
$Self->{'Ticket::Frontend::AgentTicketResponsible'}->{'NoteMandatory'} = '1';
$Self->{'Ticket::Frontend::AgentTicketResponsible'}->{'Note'} = '1';
$Self->{'Ticket::Frontend::AgentTicketResponsible'}->{'StateDefault'} = 'open';
$Self->{'Ticket::Frontend::AgentTicketResponsible'}->{'StateType'} = [
'open',
'pending reminder',
'pending auto'
];
$Self->{'Ticket::Frontend::AgentTicketResponsible'}->{'State'} = '0';
$Self->{'Ticket::Frontend::AgentTicketResponsible'}->{[root

He intentadoponerle comentario a las últimas líneas, pero continua dando el mismo problema. Alguna sugerencia? Muchas gracias

Un saludo
Post Reply