[Apache] 에러 모음집

2024. 5. 8. 11:06· WEB/Apache
목차
  1. 1. 설  치
  2. 1.1. OpenSSL
  3. 1.2. Pcre
  4. 1.3  libnghttp2
  5. 2. 설  정
  6. 2.1. Port Binding 
728x90

Apache logo

1. 설  치

1.1. OpenSSL

*** Installing development files
install ./include/openssl/aes.h -> /sw/web/apache/openssl/include/openssl/aes.h
cp: './include/openssl/aes.h' and '/sw/web/apache/openssl/include/openssl/aes.h' are the same file
make: *** [Makefile:324: install_dev] Error 1
설명 OpenSSL 압축 해제한 디렉터리와 ./Configure설정 시 지정한 --prefix에 OpenSSL 홈 디렉터리가 일치할 때
발생
대응 방법 설치 파일 디렉터리(Install)와 설치 대상 디렉터리(Working) 분리

1.2. Pcre

checking for pcre-config... pcre-config
configure: error: Did not find working script at pcre-config
설명 pcre가 설치되어 있는 경우 pcre-config를 찾을 수 없는 경우 발생
대응 방법 Apache configure 단계에서 pcre-config까지 설정을 잡는다.
ex) ./configure --prefix=/sw/web/apache --with-pcre=/sw/web/httpd-2.4.57/pcre/bin/pcre-config

1.3  libnghttp2

checking for nghttp2... checking for user-provided nghttp2 base directory... none
checking for nghttp2 version >= 1.2.1... FAILED
configure: WARNING: nghttp2 version is too old
no
checking whether to enable mod_http2... configure: error: mod_http2 has been requested but can not be built due to prerequisite failures
설명 libnghttp2 라이브러리 Version이 낮아 발생
대응 방법 libhttp2 라이브러리 업데이트 진행
ex) $apt-get install -y libnghttp2* (Ubuntu OS 기준)

2. 설  정

2.1. Port Binding 

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
설명 Linux OS 경우 welknown port 사용시 port binding 하는 프로세스가 Root 권한으로 기동되어야 하는데, Root 권한 없이 기동하는 경우 발생
대응 방법 프로세스 httpd에 Root 권한, SetUID 권한 부여, 아래 내용 참고
$ cd ${APACHEDIR}/bin
$ chown -R root:${APACHE계정} httpd
$ chmod +s httpd

 

728x90
저작자표시 비영리 변경금지 (새창열림)

'WEB > Apache' 카테고리의 다른 글

[Apache] Monitoring  (0) 2024.09.25
[Apache] Rewrite 설정  (0) 2024.09.23
[Apache] WAS 연동  (0) 2024.04.22
[Apache] Default Config  (0) 2024.02.19
[Apache] 기동 및 다운  (0) 2023.07.25
  1. 1. 설  치
  2. 1.1. OpenSSL
  3. 1.2. Pcre
  4. 1.3  libnghttp2
  5. 2. 설  정
  6. 2.1. Port Binding 
'WEB/Apache' 카테고리의 다른 글
  • [Apache] Monitoring
  • [Apache] Rewrite 설정
  • [Apache] WAS 연동
  • [Apache] Default Config
JOTAN
JOTAN
기술 블로그
조탄 기술블로그기술 블로그
JOTAN
조탄 기술블로그
JOTAN
전체
오늘
어제
  • 목 록
    • Security
    • WEB
      • WebtoB
      • Apache
      • Nginx
    • WAS
      • Tomcat
      • JEUS
      • Wildfly
    • Observability
      • Fluentd
    • CI CD
    • DataBase
      • Redis
      • PostgreSQL
      • Victoria Metrics
    • Container Registry
      • Harbor
    • Docker
    • Kubernetes
    • Message Queue
      • Kafka
    • 개발
      • Spring Boot
      • Java
      • Shell Script
    • 기본지식
    • OS
      • Debian
      • Red Hat

블로그 메뉴

  • 홈

공지사항

  • 조'S IT 영역

인기 글

태그

  • Datasource 모니터링
  • webtob
  • harbor
  • Redis Cache
  • redis 설정
  • Wildfly Session Clustering
  • apache
  • wildfly14
  • wildfly
  • jboss session clustering
  • kubernetes install
  • KAFKA
  • SSL
  • 레디스 설정
  • 레디스
  • WAS 연동
  • tomcat
  • 쿠버네티스 설치
  • Redis 기능 검증
  • 설치
  • PostgreSQL
  • fluentd
  • Apachje
  • nginx
  • 인증서
  • Kubernetes
  • Redis TEST
  • 쿠버네티스
  • redis
  • Jboss

최근 댓글

최근 글

hELLO · Designed By 정상우.v4.2.2
JOTAN
[Apache] 에러 모음집
상단으로

티스토리툴바

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.