34. 실행 중인 포트 5000번은 Keystone 외부 접속 엔드포인트의 서비스 포트입니다. 다음과 같이 Keystone을 정지하고 apache2를 재시작한 후 정상적으로 실행되는지 status를 확인합니다. 이번에는 apache2가 정상적으로 실행됩니다.
root@controller:~# service keystone stop root@controller:~# service apache2 restart root@controller:~# service apache2 status ● apache2.service - LSB: Apache2 web server Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled) Drop-In: /lib/systemd/system/apache2.service.d └─apache2-systemd.conf Active: active (running) since Tue 2017-01-03 19:02:52 KST; 15s ago Docs: man:systemd-sysv-generator(8) Process: 14138 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/ SUCCESS) Process: 14240 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/ SUCCESS) Tasks: 95 Memory: 37.3M CPU: 147ms CGroup: /system.slice/apache2.service ├─14257 /usr/sbin/apache2 -k start ├─14260 (wsgi:keystone-pu -k start ├─14261 (wsgi:keystone-pu -k start ├─14262 (wsgi:keystone-pu -k start ├─14263 (wsgi:keystone-pu -k start ├─14264 (wsgi:keystone-pu -k start ├─14265 (wsgi:keystone-ad -k start ├─14266 (wsgi:keystone-ad -k start ├─14267 (wsgi:keystone-ad -k start ├─14268 (wsgi:keystone-ad -k start ├─14269 (wsgi:keystone-ad -k start ├─14270 /usr/sbin/apache2 -k start └─14271 /usr/sbin/apache2 -k start
Jan 03 19:02:51 controller systemd[1]: Stopped LSB: Apache2 web server. Jan 03 19:02:51 controller systemd[1]: Starting LSB: Apache2 web server… Jan 03 19:02:51 controller apache2[14240]: * Starting Apache httpd web server apache2 Jan 03 19:02:52 controller apache2[14240]: * Jan 03 19:02:52 controller systemd[1]: Started LSB: Apache2 web server.