t3.nanoにSquidをインストールしても起動しなかった

記事タイトルとURLをコピーする

ええ。起動しませんでした。

ちなみにOSはAmazon Linux 2です。


$ sudo systemctl status squid
● squid.service
   Loaded: not-found (Reason: No such file or directory)
   Active: failed (Result: exit-code) since Wed 2019-06-19 02:38:40 UTC; 21min ago
 Main PID: 32671 (code=exited, status=1/FAILURE)

Jun 19 02:38:40 ip-192-168-10-185.ap-northeast-1.compute.internal squid[32671]: Squid Parent: (squid-1) process 32707 started
Jun 19 02:38:40 ip-192-168-10-185.ap-northeast-1.compute.internal (squid-1)[32707]: The basicauthenticator helpers are crashing too rapidly, need help!
Jun 19 02:38:40 ip-192-168-10-185.ap-northeast-1.compute.internal squid[32671]: Squid Parent: (squid-1) process 32707 exited with status 1
Jun 19 02:38:40 ip-192-168-10-185.ap-northeast-1.compute.internal squid[32671]: Squid Parent: (squid-1) process 32707 will not be restarted due to repeated, frequent failures
Jun 19 02:38:40 ip-192-168-10-185.ap-northeast-1.compute.internal squid[32671]: Exiting due to repeated, frequent failures
Jun 19 02:38:40 ip-192-168-10-185.ap-northeast-1.compute.internal systemd[1]: squid.service: main process exited, code=exited, status=1/FAILURE
Jun 19 02:38:40 ip-192-168-10-185.ap-northeast-1.compute.internal squid[32715]: squid: ERROR: Could not send signal 15 to process 32707: (3) No such process
Jun 19 02:38:40 ip-192-168-10-185.ap-northeast-1.compute.internal systemd[1]: squid.service: control process exited, code=exited status=1
Jun 19 02:38:40 ip-192-168-10-185.ap-northeast-1.compute.internal systemd[1]: Unit squid.service entered failed state.
Jun 19 02:38:40 ip-192-168-10-185.ap-northeast-1.compute.internal systemd[1]: squid.service failed.

The basicauthenticator helpers are crashing too rapidly, need help!とのことですが、ググっても解決せず。

結局、安直にインスタンスタイプを上げてみたら起動しました。

メモリが足らなかったのか?