pop3d.log, btmp.1, and btmp files safe to delete from server?

Discussion in 'Site & Server Administration' started by tdd1984, Jan 24, 2012.

  1. #1
    Yes are the following files in the title of this post safe to delete. The reason I am wanting to delete them for is because they are taking up a massive amount of my web hosting space. I am not sure if I should just delete them. Then just upload the sames files, but new ones (with no data)?
     
    tdd1984, Jan 24, 2012 IP
  2. SolidShellSecurity

    SolidShellSecurity Banned

    Messages:
    262
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    45
    #2
    Yes, you can delete them. they are just log files.
     
    SolidShellSecurity, Jan 24, 2012 IP
  3. tdd1984

    tdd1984 Well-Known Member

    Messages:
    2,357
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    150
    #3
    Shouldn't I replace the file though right away as well? Make a new one... Or will my server automatically just write a new on there?
     
    tdd1984, Jan 24, 2012 IP
  4. SolidShellSecurity

    SolidShellSecurity Banned

    Messages:
    262
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    45
    #4
    You can just do "echo > filename" that will empty them. the .1 can be deleted as that was a rollover from the original file and it will be created again when the main log file becomes filled again.
     
    SolidShellSecurity, Jan 24, 2012 IP
  5. tdd1984

    tdd1984 Well-Known Member

    Messages:
    2,357
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    150
    #5
    I am using File Zilla SFTP. What if I just delete it then upload a new file.. Would that be ok? Just making sure I'd imagine so..
     
    tdd1984, Jan 24, 2012 IP
  6. SolidShellSecurity

    SolidShellSecurity Banned

    Messages:
    262
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    45
    #6
    It should be fine to just delete.
     
    SolidShellSecurity, Jan 24, 2012 IP