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

    22
    10
    3
    Jan 3, 2015
    Ratings:
    +11
    Local Time:
    4:21 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

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    1:21 AM
    Nginx 1.13.x
    MariaDB 5.5
    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

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

    eva2000 Administrator Staff Member

    30,945
    6,914
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,411
    Local Time:
    1:21 AM
    Nginx 1.13.x
    MariaDB 5.5
    Glad to hear :)