Discover Centmin Mod today
Register Now

Weird error message

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Jay Chen, Jul 17, 2018.

  1. Jay Chen

    Jay Chen Member

    67
    16
    8
    Sep 10, 2017
    Ratings:
    +29
    Local Time:
    1:08 PM
    I log into my server via ssh earlier today and got the following messages.
    Should I be concerned? never see this type of message before.

    Code:
    find: cannot delete '/root/centminlogs/cmm-login-git-checks_050718-235624.log': No such file or directory
    find: cannot delete '/root/centminlogs/cmm-login-git-checks_050718-011518.log': No such file or directory
     
  2. eva2000

    eva2000 Administrator Staff Member

    37,258
    8,140
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,532
    Local Time:
    4:08 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    does directory exist at /root/centminlogs it should as all centmin.sh menu logging goes there
     
  3. Meirami

    Meirami Member

    120
    13
    18
    Dec 21, 2017
    Ratings:
    +37
    Local Time:
    8:08 PM
    I have sometimes those errors too.
    Other logs looks ok.
     
  4. eva2000

    eva2000 Administrator Staff Member

    37,258
    8,140
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,532
    Local Time:
    4:08 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    strange then if it can report the file full path, it should be able to delete it - it's a cleanup routine for those specific logs older than 5 days
     
  5. Meirami

    Meirami Member

    120
    13
    18
    Dec 21, 2017
    Ratings:
    +37
    Local Time:
    8:08 PM
    I think it tryes to delete files second time. At least I don't have any old login git check logs.
     
  6. Jay Chen

    Jay Chen Member

    67
    16
    8
    Sep 10, 2017
    Ratings:
    +29
    Local Time:
    1:08 PM
    directory is there, I don't get this message all the time.
    I thought maybe someone hacked my site, but if this is not a major issue, I will ignore it.
     
  7. eva2000

    eva2000 Administrator Staff Member

    37,258
    8,140
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,532
    Local Time:
    4:08 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    no hack, it's a bug if it happens as it's a cleanup routine for those specific logs older than 5 days. I will see about adding some code to check if file exists before deleting them
     
    • Like Like x 1
  8. Jay Chen

    Jay Chen Member

    67
    16
    8
    Sep 10, 2017
    Ratings:
    +29
    Local Time:
    1:08 PM
    Gotcha, thanks eva
     
..