Computer Architecture/Error

System error about docker down (2) /var/log/apt

아인샴 2021. 7. 4. 16:02

2021.06.30 - [Computer Architecture/Error] - System error about docker down (1) alternatives.log

 

System error about docker down (1) alternatives.log

도커가 다운됐다...! 학습하다가 다운되었는데 최근 전에도 이랬다. 그래서 관련 에러를 좀만 찾아보았다. +따로 로그드라이버를 쓰지 않았다. docker logs {container}  * Starting OpenBSD Secure Shell ..

cho-akashic-records.tistory.com

과연 오늘안에 /var/log를 다 볼 수 있을까?

/var/log/apt 안에는 apt-get 명령으로 패키지를 설치하고 삭제한 로그를 기록이 있다고 한다. 
그렇다면 설치해서 서버가 다운된것 같지는 않은데 일단 파일이 무엇을 뜻하는지만 훑어보자. 

eipp.log는 절대 건드리지 말라고 하는 것 같다. 

  • /var/log/apt/eipp.log.xz
    • 호기심 많은 누군가가 질의했는데 답변이 아래와 같았다. 
    • this file is used by apt’s planner. It doesn’t have anything to do with debian-security-support (which is also OK, it comes from the eponymous package).
    • eipp.log.xz is part of the “External Installation Planner Protocol”, which is an interface between APT, external planning tools (including APT itself), and dpkg. It was implemented as part of David Kalnishkies’ GSoC 2016 project; a short description from the initial commit gives some background
    • 한글 번역한 결과 eipp.log.xz는 apt 로 설치를 진행할때 기존 모듈과 꼬이지 않도록하는 설치 규칙이 적혀있는 것 같다. 

 NLP의 발전여지가 높구먼
출처 : https://david.kalnischkies.de/blog/tags/gsoc2016/

  • /var/log/apt/history.log
    • apt install한 history를 살펴볼수 있었다. 마지막 설치 날짜가 1.15였다. 
    • 왜 wget을 지웠을까 재설치 하려고 했나?
  • /var/log/apt/term.log 
    • 패키지를 설치하는 동안 어떤 일이 발생했는지 파악해야하는 경우 정보가 있습니다.

그럼 다음은 bootstrap.log를 보자 

 

출처 :