systemd가 활성화된 centos 7 컨테이너에서 오징어 서비스를 시작할 수 없습니다.
오징어 패키지를 설치할 수 있습니다.
서비스를 시작하기 전에 얻은 내용은 다음과 같습니다.
[root@c65bf5111b85 /]# systemctl status squid
● squid.service - Squid caching proxy
Loaded: loaded (/usr/lib/systemd/system/squid.service; disabled; vendor preset: disabled)
Active: inactive (dead)
그런 다음 systemctl start squid를 실행하면 다음과 같은 결과가 나타납니다.
[root@c65bf5111b85 /]# systemctl status squid
● squid.service - Squid caching proxy
Loaded: loaded (/usr/lib/systemd/system/squid.service; disabled; vendor preset: disabled)
Active: inactive (dead)
Apr 28 23:46:23 c65bf5111b85 squid[269]: Squid Parent: will start 1 kids
Apr 28 23:46:23 c65bf5111b85 squid[269]: Squid Parent: (squid-1) process 273 started
Apr 28 23:46:23 c65bf5111b85 systemd[1]: Started Squid caching proxy.
Apr 28 23:46:23 c65bf5111b85 squid[276]: Squid Parent: will start 1 kids
Apr 28 23:46:23 c65bf5111b85 squid[276]: Squid Parent: (squid-1) process 280 started
Apr 28 23:46:23 c65bf5111b85 squid[269]: Squid Parent: (squid-1) process 273 exited with status 0
Apr 28 23:46:23 c65bf5111b85 squid[286]: Squid Parent: will start 1 kids
Apr 28 23:46:23 c65bf5111b85 squid[286]: Squid Parent: (squid-1) process 290 started
Apr 28 23:46:23 c65bf5111b85 squid[276]: Squid Parent: (squid-1) process 280 exited with status 0
Apr 28 23:46:23 c65bf5111b85 squid[283]: squid: No running copy
[root@c65bf5111b85 /]#
httpd, nginx, mariadb 서비스를 설치하고 시작할 수 있으므로 서비스가 시작될 것으로 예상됩니다.