logrotate error reported

  • Hi everybody


    Since few days, I got this error reported by mail.


    /etc/cron.daily/logrotate:
    error: .imscp_panel.swp:1 unknown option 'b' -- ignoring line
    error: .imscp_panel.swp:2 lines must begin with a keyword or a filename (possibly in double quotes)


    I don't know where to start my investigations.

    Any help would be greatly appreciated.


    Thansks

  • cproinfo


    /etc/cron.daily/logrotate:
    error: .imscp_panel.swp:1 unknown option 'b' -- ignoring line
    error: .imscp_panel.swp:2 lines must begin with a keyword or a filename (possibly in double quotes)

    The imscp_panel.swp file is a state file that has not been installed by i-MSCP. Somehow, you have surely edited the file using VIM editor. You can safetely remove that file.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Nuxwin

    Added the Label not a bug
  • cproinfo


    The imscp_panel.swp file is a state file that has not been installed by i-MSCP. Somehow, you have surely edited the file using VIM editor. You can safetely remove that file.

    You're right.

    I edited the "/etc/logrotate.d/imscp_panel" with vim to reduce log conservation to 5 weeks (was 52).

    Thanks a lot.

    I'll wait tomorrow to check if I receive a new notification mail.

  • Hello cproinfo


    Any news? We would like to mark the thread as solved! ;-)


    Best regards

    Support Infos: I-MSCP Version: 1.5.x / Distro: Debian Stretch / PHP: 7.1.27 - FPM / I-MSCP Plugins: Let´s Encrypt + PHPSwitcher (latest Versions)

  • FloRet88

    Closed the thread.