Results for "Error"
리눅스 APM(apache+php+mysql) 소스설치시 각종 Error 및 해결 방법
작성자 : 서비님(https://dslee1.blogspot.kr/)

----------------------------------------------------------------------------------------
이 포스팅과 관련된 포스팅

Centos7(센트7)에서 apache+php+mysql (apm) 설치 및 구성 - 1


1. 내용

리눅스에서 apache+php+mysql(이하 APM) 을 yum 등으로 간편하게 설치를 할수있다. 또는 기본으로 설치가 되어있는 경우도 많이 볼수있다. 하지만 소스컴파일을 할 때보다는 성능을 향상을 기대하기 어려우며, 소스컴파일을 진행하면 커널버전에 상관없이 설치할수있는 장점이 있다.

오늘은 APM 설치시 각종 에러들을 발견할수있는데, 그 이유는 연관되는 라이브러리가 설치되어있지 않아 발생되는게 대부분이다.

아래는 대표적인 에러들의 리스트이며 Ctrl + f 단축키를 이용해서 쉽게 찾아볼수 있다.


2. 해결 방법


2-1 Mysql

Error 1)
checking for termcap functions library... configure: error: No curses/termcap library found
make: *** No targets specified and no makefile found.  Stop.
해결 방법
 yum -y install libtermcap-devel ncurses-devel 설치

Error 2)
/bin/rm: cannot remove `libtoolT': No such file or directory
해결 방법
mysql 소스파일 Directory에서 아래 진행
 autoreconf --force --install
 aclocal
 libtoolize --automake --force
 automake --force --add-missing

2-2. Apache

Error 1)
configure: error: ...No recognized SSL/TLS toolkit detected
해결 방법
yum –y install openssl-devel

2-3. PHP
Error 1)
Checking for pkg-config... /usr/bin/pkg-config
configure: error: Cannot find OpenSSL's <evp.h>
해결 방법
 yum –y install openssl-devel

Error 2)
Configure: error: xml2-config not found. Please check your libxml2 installation.
해결 방법
 yum –y install libxml2-devel

Error 3)
Configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/
해결 방법
 yum –y install curl-devel

Error 4)
Configure: error: libpng.(also) not found.
해결 방법
 yum –y install libpng-devel

Error 5)
Configure: error: Please reinstall the BZip2 distribution
해결 방법
 yum –y install bzip2-devel

Error 6)
Configure: error: libjpeg.(also) not found.
해결 방법
 yum –y install libjpeg-devel

Error 7)
Checking for unixODBC support... configure: error: ODBC header file '/usr/include/sqlext.h' not found!
해결 방법
 yum –y install unixODBC-devel

Error 8)
configure: error: DBA: Could not find necessary header file(s).
해결 방법
yum -y install gdbm-devel

Error 9)
Configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore!
해결 방법
yum –y install mysql-devel

Error 10)
Configure: error: freetype.h not found.
해결 방법
yum -y install freetype-devel

Error 11)
Configure: error: Unable to locate gmp.h
해결 방법
yum -y install gmp-devel

Error 12)
Configure: error: Cannot find pspell
해결 방법
yum -y install pspell-devel

Error 13)
configure: error: not found. Please reinstall the expat distribution.
해결 방법
yum –y install expat-devel

Error 14)
Configure: error: Please reinstall the ncurses distribution
해결 방법
yum –y install ncurses-devel

Error 15)
Configure: error: snmp.h not found. Check your SNMP installation.
해결 방법
yum –y install net-snmp-devel




시골청년 2016년 4월 8일 금요일
sendmail. postfix. 에서 dsn=4.3.0, status=deferred (unknown mail transport error) 발생원인 해결방법
작성자 : 서비님(https://dslee1.blogspot.kr/)

1. 문제점

/var/log/mailllog 를 확인해보면 아래와 같은 메시지를 확인할수 있다.


2. 해결방법

이러한 문제의 원인은 권한 때문이다.  위와같은 에러 발생시 /etc/services 파일의 권한을 다음과 같이 변경한 후 postfix 및 sendmail 를 재시작 하면 발송에 문제가 없습니다.

둘중에 하나 선택하면 된다.
chmod 644 /etc/services
chmod 444 /etc/services 


정상적으로 메일발송을 확인하였다. 아주 종종 보안을 강화한다고, 파일퍼미션 변경을 하는 경우에 이런 현상이 발생하거나, 해킹을 당했을경우에 발생된다.


시골청년 2016년 4월 7일 목요일
windows 8 체험지수 계산 오류 시 Tip(이 시스템에서 요청된 평가를 샐행하는 데 필요한 멀티미디어가 지원되지 않습니다)
작성자 : 서비님(https://dslee1.blogspot.kr/)


1. 원인

 Windows 8 (K 혹은 KN) 설치 후 몇몇 PC 또는 노트북에서 체험지수를 계산 할 수 없는 증상을 경험하였다. 이럴경우 어떻게 대처해야될까?

2. 해결방법

오류 메시지는 "이 시스템에서 요청된 평가를 샐행하는 데 필요한 멀티미디어가 지원되지 않습니다." 였다. 대수롭지 않게 생각 했는데 혹시나 찾아보니 해결 방법이 있어서 소개 한다.
Windows 8 N 및 KN 버전을 위한 미디어 기능 팩을 설치 한후 재부팅 하시면 정상적으로 계산되는걸 확인할수있었다.

http://www.microsoft.com/ko-kr/download/details.aspx?id=30685


동일한 증상으로 오류가 있었던 사람들에게 조금이나마 도움이 되었길 바래본다.

시골청년 2016년 4월 5일 화요일