(28)No space left on device: AH00023: Couldn’t create the rewrite-map mutex in Apache

2018-09-01 KENNETH 0

  증상 아래 로그와 같이 아파치 실행이 되지 않는 문제 발생 이 에러 참으로 오랜만이다… 아마 마지막으로 본것이 10년은 족히 된것 같구나… 너무 오랜만이어서 대략적으로다가 순간 흠칫… ㄷ ㄷ ㄷ   에러 로그 [core:emerg] [pid 6744:tid 139704271460160] (28)No space left on device: AH00023: Couldn’t create the rewrite-map mutex AH00016: Configuration Failed   당장 처리 아파치 구동 유저가 “nobody”라는 가정 하에… ipcs -s |grep nobody|awk ‘{print $2}’ |xargs ipcrm -s 이후 아파치를 실행해 보면 정상 구동 될 것이다.   원인 리눅스의 세마포어(semaphore)와 관련이 있다.. 제한된 자원 할당량에 의해 더이상 자원을 사용하지 못한다고 생각 하면 될듯…   사용 현황 확인 # ipcs -s —— Semaphore Arrays ——– key semid owner perms nsems 0x00000000 236847104 root 666 1 0x00000000 236879873 root 666 1 0x00000000 236912642 nobody 600 1 0x00000000 236945411 nobody 600 1 0x00000000 87293956 nobody 600 1 0x00000000 87326725 nobody 600 1 [ more… ]

How to download and install prebuilt OpenJDK packages in LINUX(redhat and ubuntu)

2018-04-23 KENNETH 0

URL : http://openjdk.java.net/install/ How to download and install prebuilt OpenJDK packages JDK 9 & Later Oracle’s OpenJDK JDK binaries for Windows, macOS, and Linux are available on release-specific pages of jdk.java.net as .tar.gz archives. As an example, the archives for JDK 10 may be found on jdk.java.net/10 and may be extracted on the command line using $ tar xvf openjdk-10*_bin.tar.gz JDK 8 Debian, Ubuntu, etc. On the command line, type: $ sudo apt-get install openjdk-8-jre The openjdk-8-jre package contains just the Java Runtime Environment. If you want to develop Java programs then please install the openjdk-8-jdk package. Fedora, Oracle Linux, Red Hat Enterprise Linux, etc. On the command line, type: $ su -c “yum install java-1.8.0-openjdk” The java-1.8.0-openjdk package contains just the Java Runtime Environment. If you want to develop Java programs then install the java-1.8.0-openjdk-devel package. JDK 7 Debian, Ubuntu, etc. On the command line, type: $ sudo apt-get install openjdk-7-jre The openjdk-7-jre package contains just the Java Runtime Environment. If you want [ more… ]

No Image

[Apache & PHP] “zend_mm_heap corrupted” error on apache logs

2018-01-03 KENNETH 0

[Apache & PHP] “zend_mm_heap corrupted” error on apache logs   오류 내용 zend_mm_heap corrupted   발생 환경 OS : CentOS-7 WEB : apache-2.4 PHP : php-5.6   참고 : https://stackoverflow.com/questions/2247977/what-does-zend-mm-heap-corrupted-mean http://php.net/manual/en/internals2.memory.management.php   설정 FILE : $APACHE_HOME/bin/apachectl export USE_ZEND_ALLOC=0   절대적인 내용은 아니겠고, 이런 설정을 apachectl 에 한번 추가를 해보자…   PHP 메뉴얼에는 Note: USE_ZEND_ALLOC=0 in the environment will stop the memory manager from functioning, all allocations fall back on the default system allocators which can be useful for debugging leaks, and should only be used for this purpose. 이렇게 설명이 되어 있었다… ㅋㅋㅋㅋ

error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE in PHP (after update centos-7.4)

2017-11-14 KENNETH 0

error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE CentOS-7.4 업데이트 이후 PHP측의 별다른 설정 내지는 설치 관련 작업 이슈가 없었음에도 발생   1. 테스트 코드 <? error_reporting(E_ALL); ini_set("display_errors", 1); var_dump(openssl_get_cert_locations()); fsockopen("ssl://fcstdpay.inicis.com",443); ?> 정작 작동을 안하는 부분은 fsockopen(”ssl://fcstdpay.inicis.com”,443); 이 부분으로.. 상단은 그냥 에러 참고용…     2. 발생 에러 PHP Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /home/jirak.net/public_html/bb.php on line 4 PHP Stack trace: PHP 1. {main}() /home/jirak.net/public_html/bb.php:0 PHP 2. fsockopen() /home/jirak.net/public_html/bb.php:4 Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /home/jirak.net/public_html/bb.php on line 4 Call Stack: 0.0003 348216 1. {main}() /home/jirak.net/public_html/bb.php:0 0.0004 348696 2. fsockopen() /home/jirak.net/public_html/bb.php:4 PHP Warning: fsockopen(): Failed to enable crypto in /home/jirak.net/public_html/bb.php on line 4 PHP Stack trace: PHP 1. {main}() /home/jirak.net/public_html/bb.php:0 PHP 2. fsockopen() /home/jirak.net/public_html/bb.php:4 Warning: fsockopen(): Failed to enable crypto in /home/jirak.net/public_html/bb.php on line 4 [ more… ]

No Image

Intel CPUs and Supported Red Hat Enterprise Linux (RHEL) Versions

2016-12-28 KENNETH 0

URL : https://access.redhat.com/support/policy/intel   Intel CPUs and Supported Red Hat Enterprise Linux (RHEL) Versions The follow table lists the minimum versions and update releases of Red Hat Enterprise Linux (RHEL) that are required to support Intel processors. Red Hat Enterprise Linux 4 Red Hat Enterprise Linux 5 Red Hat Enterprise Linux 6 Red Hat Enterprise Linux 7 Vendor Family Name Version Knowledgebase Resource(s) Version Knowledgebase Resource(s) Version Knowledgebase Resource(s) Version Knowledgebase Resource(s) Intel Xeon® Processor X5500, W5500, L5500, E5500 series 4.7 15223 5.3 15223 6.0 7.0 Intel Xeon® Processor X7500, X6500, L7500, E7500, E6500 series Not supported 5.4.z (1) 25195, 42231 6.0 7.0 Intel Xeon® Processor X5600, W3600, L5600, E5600 series 4.8 24382 5.3 24382 6.0 7.0 Intel Xeon® Processor E-2800, E-4800 and E-8800 series Not supported 5.5 58721 6.0 7.0 Intel Core™ i3-2100,    i3-2300 Family Processors Not supported 5.6 6.0 [ more… ]