• Resolved nealumphred

    (@nealumphred)


    Added NinjaFirewall WP Edition to five sites. Everything worked fine on one site, but on other four Malware Scan returned:

    Loading signatures: Error: unable to load signatures. Please check the [/wp-content/nfwlog/malscan.log] log. (#2)

    What can I do to correct this?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author nintechnet

    (@nintechnet)

    What is written in the /wp-content/nfwlog/malscan.log logfile? Can you paste it here?

    Thread Starter nealumphred

    (@nealumphred)

    Thanks for the prompt response.

    Don’t know what the /wp-content/nfwlog/malscan.log is.

    Plugin Author nintechnet

    (@nintechnet)

    It is the anti-malware log. You can download it over FTP and open it with any text editor.

    Thread Starter nealumphred

    (@nealumphred)

    Don’t know how to use FTP.

    Thread Starter nealumphred

    (@nealumphred)

    I will learn how to use FTP on a Mac, starting with this video:

    https://www.youtube.com/watch?v=Piv-RYl-iHI

    Plugin Author nintechnet

    (@nintechnet)

    Great idea!
    But maybe your host has an admin panel with a simple file manager that lets you access files from your site?

    Thread Starter nealumphred

    (@nealumphred)

    Thanks for the cpanel suggestion!

    I am in my cpanel and have two files: malscan_time (which is empty) and malscan.log. Here are the contents for the latter:

      MALSCAN.LOG

    text/x-generic malscan.log
    ASCII text
    1509762906: [AX] Entering ajax callback
    1509762906: [AX] POSTing request to https://www.nealumphred.com/wp-cron.php
    1509762906: [CR] Starting cron
    1509762906: [CR] Starting malware scan
    1509762906: [CR] Cleaning cache
    1509762906: [CR] Downloading signatures from remote server
    1509762907: [CR] Loading NinjaFirewall’s signatures
    1509762907: [CR] Looking for potential user-defined signatures
    1509762907: [CR] No user-defined signatures found
    1509762907: [CR] Scanning files
    1509762911: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509762911: [FW] sigs:953 signatures found
    1509762911: [FW] Fetching result
    1509762914: [FW] Fetching result
    1509762917: [FW] Fetching result
    1509762921: [FW] Fetching result
    1509762923: [FW] Fetching result
    1509762926: [FW] Fetching result
    1509762929: [FW] Fetching result
    1509762929: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509762929: [FW] ERROR: file not found
    1509762932: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509762932: [FW] ERROR: file not found
    1509762932: [FW] Fetching result
    1509762934: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509762934: [FW] ERROR: file not found
    1509762935: [FW] Fetching result
    1509762937: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509762937: [FW] ERROR: file not found
    1509762938: [FW] Fetching result
    1509762939: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509762939: [FW] ERROR: file not found
    1509762941: [FW] Fetching result
    1509762944: [FW] Fetching result
    1509762947: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509762947: [FW] ERROR: file not found
    1509762947: [FW] Fetching result
    1509762949: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509762949: [FW] ERROR: file not found
    1509762950: [FW] Fetching result
    1509762951: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509762951: [FW] ERROR: file not found
    1509762952: [CR] No malware found
    1509762952: [CR] Exiting malware scan
    1509762953: [FW] Scanning process has ended
    1509762954: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509762954: [FW] ERROR: file not found
    1509762956: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509762956: [FW] ERROR: file not found
    1509762966: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509762966: [FW] ERROR: file not found
    1509762968: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509762968: [FW] ERROR: file not found
    1509762970: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509762970: [FW] ERROR: file not found
    1509762972: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509762972: [FW] ERROR: file not found
    1509762975: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509762975: [FW] ERROR: file not found
    1509763798: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509763798: [FW] ERROR: file not found
    1509763800: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509763800: [FW] ERROR: file not found
    1509763802: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509763802: [FW] ERROR: file not found
    1509763804: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509763804: [FW] ERROR: file not found
    1509763806: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509763806: [FW] ERROR: file not found
    1509764186: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509764186: [FW] ERROR: file not found
    1509764188: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509764188: [FW] ERROR: file not found
    1509764190: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509764190: [FW] ERROR: file not found
    1509764192: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509764192: [FW] ERROR: file not found
    1509764194: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509764194: [FW] ERROR: file not found
    1509764218: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509764218: [FW] ERROR: file not found
    1509764220: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509764220: [FW] ERROR: file not found
    1509764222: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509764222: [FW] ERROR: file not found
    1509764224: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509764224: [FW] ERROR: file not found
    1509764226: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509764226: [FW] ERROR: file not found
    1509764299: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509764299: [FW] ERROR: file not found
    1509764301: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509764301: [FW] ERROR: file not found
    1509764303: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509764303: [FW] ERROR: file not found
    1509764305: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509764305: [FW] ERROR: file not found
    1509764307: [FW] Fetching signatures from /home4/nealumph/public_html/wp-content/nfwlog/cache/malscan_tot.sigs
    1509764307: [FW] ERROR: file not found

    Plugin Author nintechnet

    (@nintechnet)

    It looks like your PHP interpreter is timing out.

    Can you try to create a PHP script named “test.php” and add this code to it:

    <?php
    echo "max_execution_time: " . ini_get( 'max_execution_time' );
    ?>
    

    Upload it to your WordPress root folder (see https://youtu.be/3a5kRk552lA @ 1m20s), run it (i.e., go to https://YOUR_BLOG/test.php ) and paste the result here?

    Thread Starter nealumphred

    (@nealumphred)

    Apologies for the delay in responding.

    How do I create a PHP script?

    Plugin Author nintechnet

    (@nintechnet)

    You can do that with any text editor: simply paste the above code and save it as “test.php”. Make sure to save it as plain text, no formatting.

    Hello @nintechnet,

    I have the same problem. I can not update malware rules.

    PHP timeout is 30 sec, but I get error mesage after 10 sec.

    When I look in debug console, there are some ajax request ending with 404:
    to /wp-admin/admin-ajax.php (but file exists). This ajax request has parameter malscan=1

    This is new installation of ninja firewall plugin.

    Thank for help

    Plugin Author nintechnet

    (@nintechnet)

    Hi,

    Can you paste here the content of your /wp-content/nfwlog/malscan.log log?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Error: unable to load signatures’ is closed to new replies.