Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

XG Home Edition v18 - ReportDB Dead

Hi,

When I logged into my XG Home Edition tonight I noticed the console had flagged the ReportDB service as dead. I havent logged on since I did the upgrade from SFOS 18.0.4 MR-4 to SFOS 18.0.5 MR-5-Build586 a few weeks ago - at the time of the upgrade I didn't notice a problem after the firewall restarted - so not sure if this is related or not.

Anyway, went through KB-000035777 and it appears that in this state, I should contact the Sophos support team - unfortunately with the home edition, I don't think that's an option. Disk space is all good on the box.

Just wondering if anyone had any thoughts on how to resolve Slight smile

Cheers,



This thread was automatically locked due to age.
Parents
  • Please follow this link "on-box reporting issues" https://support.sophos.com/support/s/article/KB-000035777?language=en_US and share output of all the commands. 

    In addition, please capture the output of the following commands from the CLI console

    console> system diagnostics show version-info

    console> show report-disk-usage watermark

    console> system diagnostics show disk

    In addition, please capture the output of the following commands from the Advance shell console

    service reportdb:start -ds nosync

    You can check the output of 'less /log/garner.log.0' to see if it shows memory corruption on garner, as below:

    ERROR     [4120435520]: SSL_read failed ret:5
    *** Error in `garner': double free or corruption (!prev): 0xf331bc68 ***
    *** Error in `garner': malloc(): memory corruption: 0xf331c1a0 ***


     

  • Thanks Nilesh, probably best if I only follow one troubleshooting process at a time - so I'll just see how I get on with Yash before I give your suggestions a try :) Cheers.

  • Thanks ;

    From the logs, it looks like reportDB migration got failed.

    Suspected logs:

    SFVH_SO01_SFOS 18.0.5 MR-5-Build586# service reportdb:start -ds nosync
    503 Service Failed

    ERROR Aug 24 09:21:06 [reportdb:1612]: get_query_status:Query Error: FATAL: could not open file "base/16386/11811": No such file or directory
    CRITICAL Aug 24 09:21:06 [reportdb:1612]: csc_prep_query: execute_prepare_query failed for Execute Query.
    ERROR Aug 24 09:21:06 [reportdb:1612]: do_prep_query: Failed PREPSTMT: 'alter database iviewdb set timezone to ?'


    Please capture the output of the following commands from the CLI console

    console> system diagnostics show version-info

    console> show report-disk-usage watermark

    console> system diagnostics show disk

    You can check the output of 'less /log/garner.log.0' to see if it shows memory corruption on garner, as below:

    ERROR     [4120435520]: SSL_read failed ret:5
    *** Error in `garner': double free or corruption (!prev): 0xf331bc68 ***
    *** Error in `garner': malloc(): memory corruption: 0xf331c1a0 ***

  • Thanks ,

    I cant see any of those messages in the /log/garner.log.0 file. Also, here is the output from those other commands.

    Cheers,

    console> system diagnostics show version-info

    Serial Number: <removed>
    Device-Id: 4a32c96c-73b2-49f9-859d-14edf63d786b
    Appliance Model: SFVH
    Firmware Version: SFOS 18.0.5 MR-5-Build586
    Firmware Build: 586
    Firmware Loader version:
    HW version: SO01
    Config DB version: 18.034
    Signature DB version: 18.034
    Report DB version: 18.031
    Webcat Signature version: Not Available
    Web Proxy version: compiled
    SMTP Proxy version: 1.0
    POP/IMAP Proxy version: 1.0.0.3.4
    Logging Daemon version: 0.0.0.17
    AP Firmware: 11.0.005
    ATP: 1.0.0371
    Avira AV: 1.0.417338
    Authentication Clients: 1.0.0019
    Geoip ip2country DB: 2.0.005
    IPS and Application signatures: 18.18.48
    Sophos Connect Clients: 2.1.001
    odt: -
    RED Firmware: 2.0.016
    Sophos AV: 1.0.17062
    SSLVPN Clients: 1.0.009
    Hot Fix version: 3

    console> show report-disk-usage watermark
    Lower watermark percentage for report partition is 80%

    console> system diagnostics show disk
    Partition Utilization(%)
    ===============================
    configuration 19%
    content 3%
    report 21%

  • Hi,

    pease edit your post and remove your serial number.

    Ian

  • Thanks for the logs and requested information .

    Report Database has not migrated to latest one which is 18.034.

    Config DB version: 18.034
    Signature DB version: 18.034
    Report DB version: 18.031

    As report partition is 21% only, please flush the Report partition to resolve this issue.

    Flushing device reports from CLI : https://support.sophos.com/support/s/article/KB-000035779?language=en_US

    There will be network outage of 15-20 minutes while formating the report partition.

    Hope this helps!!

  • Many thanks !!

    That did the trick and everything seems happy again Slight smile

    Thanks again for your help, it is much appreciated. 

Reply Children
No Data