Learn about Centmin Mod LEMP Stack today
Register Now

Nginx Mysqldumper cannot sendmail

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by reallove0810, Jan 4, 2015.

  1. reallove0810

    reallove0810 New Member

    25
    10
    3
    Jan 3, 2015
    Ratings:
    +11
    Local Time:
    1:44 PM
    1.7.9
    5.5.41
    Hello, I using mysqldumper to backup database.
    I using perl to backup. When I backup, it show Mail Library loading failed - Mail deactivated ...
    I search on the internet and somebody said, that must install MIME:Lite.
    I have seen in condump.pl has a line.
    Code:
    my $cgibin_path=""; # this is needed for MIME::Lite if it is in cgi-bin
    So, where is cgibin_path?

     
  2. eva2000

    eva2000 Administrator Staff Member

    50,459
    11,659
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,079
    Local Time:
    9:44 PM
    Nginx 1.25.x
    MariaDB 10.x
    Centmin Mod doesn't have configured support for CGI/CGI-BIN paths as Nginx doesn't have native support for CGI perl - How to run CGI scripts on Nginx - Stack Overflow

    If your script relies only on PERL then just install missing MIME::Lite as it doesn't need to be in cgi-bin AFAIK (not a perl person)
     
  3. reallove0810

    reallove0810 New Member

    25
    10
    3
    Jan 3, 2015
    Ratings:
    +11
    Local Time:
    1:44 PM
    1.7.9
    5.5.41
    I have just installed Mime::Type and now Mail Library load successed :)
     
  4. eva2000

    eva2000 Administrator Staff Member

    50,459
    11,659
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,079
    Local Time:
    9:44 PM
    Nginx 1.25.x
    MariaDB 10.x
    Glad to hear :)