일요일, 5월 26, 2024
HomeLinuxSonarQube plugin update후 restart error 조치방법

SonarQube plugin update후 restart error 조치방법

SonarQube plugin update후 재시작이 안되는 문제에 대한 포스트입니다.

sonarqube-6.7/logs/es.log , sonarqube-6.7/logs/web.log 를 살펴보시면 에러에 대해

조치가 가능합니다.

sonarqube-6.7/logs/es.log

.....
2019.08.20 08:22:07 INFO  es[][o.e.t.TransportService] publish_address {127.0.0.1:9001}, bound_addresses {127.0.0.1:9001}
2019.08.20 08:22:07 WARN  es[][o.e.b.BootstrapChecks] max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
2019.08.20 08:22:07 WARN  es[][o.e.b.BootstrapChecks] max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
2019.08.20 08:22:10 INFO  es[][o.e.c.s.ClusterService] new_master {sonarqube}{dBtH_T9FRBOiYEVM6miWbg}{YDvWAb9USNu93mcDwoBJFA}{127.0.0.1}{127.0.0.1:9001}{rack_id=sonarqube}, reason: zen-disco-elected-as-master ([0] nodes joined)
2019.08.20 08:22:10 INFO  es[][o.e.n.Node] started
2019.08.20 08:22:10 INFO  es[][o.e.g.GatewayService] recovered [8] indices into cluster_state
2019.08.20 08:22:11 INFO  es[][o.e.c.r.a.AllocationService] Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[components][1], [components][3]] ...]).
2019.08.20 08:56:49 INFO  es[][o.e.n.Node] stopping ...
2019.08.20 08:56:49 INFO  es[][o.e.n.Node] stopped
2019.08.20 08:56:49 INFO  es[][o.e.n.Node] closing ...
2019.08.20 08:56:49 INFO  es[][o.e.n.Node] closed

위의 es.log의 에러 메세지중에서

  • max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536]
  • max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

구글검색하면 sysctl , ulimit 설정방법이 나오는데

Sonarqube plugin update 후 문제로 위와 같이 메세지 출력시는 

update중 해당 jar화일의 문제로 sonarqube-6.7/extensions/plugins 디렉토리로 이동후

ls 명령어로 화일의 byte 가 0 이거나 이상한 화일 또는 동일 plugin명중 버전이 중복설치된경우에

발생하는 문제로 해당 되는 화일을 삭제후 Sonarqube를 재시작하시면 됩니다.

 

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Time limit exceeded. Please complete the captcha once again.

Most Popular