12.10에서 13.10/14.04로 업그레이드한 후 Apache 문제

12.10에서 13.10/14.04로 업그레이드한 후 Apache 문제

방금 서버를 Ubuntu 14.04.2로 업그레이드했습니다. 이전에는 12.10의 "완벽한 서버" 가이드 덕분에 구성했습니다.

불행하게도 업그레이드 후에는 이전에 제대로 작동하던 웹사이트에 액세스할 수 없습니다. 서버가 ISPConfig를 사용하고 있어서 14.04로 업그레이드 후 수동 업데이트를 하고 권한과 서비스를 재구성했는데 다음과 같은 오류가 발생했습니다.

* Restarting web server apache2
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/conf-enabled/000-ispconfig.local.conf:62
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:8081
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:8080
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.

Apache error.log에는 다음이 나열됩니다.

[Thu Mar 12 10:18:10.301329 2015] [auth_digest:notice] [pid 3215] AH01757: generating secret for digest authentication ...
[Thu Mar 12 10:18:10.319274 2015] [:notice] [pid 3220] FastCGI: process manager initialized (pid 3220)
[Thu Mar 12 10:18:10.586557 2015] [:notice] [pid 3215] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Thu Mar 12 10:18:10.586612 2015] [:notice] [pid 3215] mod_python: using mutex_directory /tmp
[Thu Mar 12 10:18:10.687388 2015] [mpm_prefork:notice] [pid 3215] AH00163: Apache/2.4.7 (Ubuntu) mod_fastcgi/mod_fastcgi-SNAP-0910052141 PHP/5.5.9-1ubuntu4.6 mod_python/3.3.1 Python/2.7.6 OpenSSL/1.0.1f configured -- resuming normal operations
[Thu Mar 12 10:18:10.687465 2015] [core:notice] [pid 3215] AH00094: Command line: '/usr/sbin/apache2'
[Thu Mar 12 10:21:31.520361 2015] [mpm_prefork:notice] [pid 3215] AH00169: caught SIGTERM, shutting down

이 혼란에서 벗어날 수 있는 방법을 찾도록 도와주실 수 있나요?

감사합니다!

답변1

바인딩하려는 포트에서 이미 뭔가가 실행되고 있는 것 같습니다. 그것은 무엇입니까? 유감스럽지만 당신 스스로 알아내야 할 것입니다. 어쨌든 netstat 명령이 도움이 될 수 있습니다. netstat -nap을 사용해 보세요 | grep 8080(또는 8081)을 사용하여 이 포트를 사용하는 프로세스를 알아보세요.

관련 정보