Want to subscribe to topics you're interested in?
Become a Member

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:
    9: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

    53,865
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    6:21 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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:
    9:21 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

    53,865
    12,160
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,712
    Local Time:
    6:21 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Glad to hear :)