Table of Contents
< All Topics
Print

【SSLVPN】SSLVPN External Report Center only shows 2AM logs

Issue Description

When check today logs on SSLVPN external report center, it only displays 12AM to 2AM logs

Error/Warning Information

file

Handling Process

  1. Login External Report Center backend and perform packet capture with command tcpdump -i any -nnv -A -s "host device_IP and port 514" able to see traffic from SSLVPN device to report center.
    file
  2. Verified iptable allowed port 514 with command iptables -nvL |grep 514
    file
  3. Checked database with command ls /data/log_data/store/sslvpn/dc/table/ and found latest log file is 20221231. Today is 20220222, latest log file should be 20220222, if 20221231 exists means that is abnormal log file.
    file
  4. Check logs of 20221231 and found the actual logs stored in 20221231 is 20211231 logs.
    file
    file
  5. Copy 20221231 data to 20211231 with command cp -r /data/log_data/store/sslvpn/dc/data/20221231/ /data/log_data/store/sslvpn/dc/data/20211231/
    file
  6. Remove abnormal log file with command i. rm -rf /data/log_data/store/sslvpn/dc/data/20221231
    ii. rm -rf /data/log_data/store/sslvpn/dc/table/20221231
    file
  7. Restart service with command i. systemctl restart ldb_server ii. systemctl restart slog_server
    file

Solution

Execute the following commands:

  1. cp -r /data/log_data/store/sslvpn/dc/data/20221231/ /data/log_data/store/sslvpn/dc/data/20211231/
    2.rm -rf /data/log_data/store/sslvpn/dc/data/20221231
    3.rm -rf /data/log_data/store/sslvpn/dc/table/20221231
    4.systemctl restart ldb_server
    5.systemctl restart slog_server