SOLVED Internal server error when Sending report by mail

This forum was archived to /woltlab and is now in read-only mode.
  • Hello,
    I was trying to send a report by mail (click on Send Report by Mail in reporting ) but I’ve encountered an" internal server error" when I clicked on the “Send E-Mail” button.

    What should I do ?

    Here is part of the Thruk log :

    [2016/10/12 14:21:31][srvshinken][ERROR][Thruk] on page:
    [2016/10/12 14:40:41][srvshinken][ERROR][Thruk] Error in: /thruk/cgi-bin/reports2.cgi
    [2016/10/12 14:40:41][srvshinken][ERROR][Thruk] error closing /usr/lib/sendmail: (exit 19200)
    at /usr/lib/thruk/perl5/Plack/ line 142
    eval {...} called at /usr/lib/thruk/perl5/Plack/ line 142
    Plack::Util::run_app('CODE(0x12e32a0)', 'HASH(0x32b7c08)') called at /usr/lib/thruk/perl5/Plack/Handler/ line 143
    Plack::Handler::FCGI::run('Plack::Handler::FCGI=HASH(0x9a7998)', 'CODE(0x12e32a0)') called at /usr/share/thruk/script/ line 24
    [2016/10/12 14:40:41][srvshinken][ERROR][Thruk] internal server error
    [2016/10/12 14:40:41][srvshinken][ERROR][Thruk] on page:

    Thanks for your help.

    Thruk 2.10-2

  • Hi Sni,

    On this host is installed shinken and I receive every alert sent from shinken by mail without any problem.

    Have a nice day !

  • I found why there was an error.

    This report produces and sends an attachement which was too big.

    So i added this line in ordrer to send bigger attachements in my /etc/postfix/

    message_size_limit = 20480000

    And everything is good now.