센드메일 설치에러..

익명 사용자의 이미지

웹호스팅을 하기위해서 예전의 데이타베이스인 mysql외에 웹호스팅업체가
사용하는 postgresSQL6.5를 새로이 셋팅하는 중이였습니다.
그런데..설치중에
#cd /usr/local/pgsql/src
#make all
.
.
.
make[2] Entering directory `/usr/local/pgsql/src/backend/libpq'
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-
prototypes -I.. -DMULTIBYTE=EUC_KR -c -o be-dumpdata.o be-
dumpdata.c
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-
prototypes -I.. -DMULTIBYTE=EUC_KR -c -o be-fsstubs.o be-fsstubs.c
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-
prototypes -I.. -DMULTIBYTE=EUC_KR -c -o be-pqexec.o be-pqexec.c
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-
prototypes -I.. -DMULTIBYTE=EUC_KR -c -o portal.o portal.c
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-
prototypes -I.. -DMULTIBYTE=EUC_KR -c -o portalbuf.o portalbuf.c
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-
prototypes -I.. -DMULTIBYTE=EUC_KR -c -o auth.o auth.c
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-
prototypes -I.. -DMULTIBYTE=EUC_KR -c -o hba.o hba.c
In file included from hba.c28
../../backend/port/inet_aton.h3 conflicting types for `inet_aton'
/usr/include/arpa/inet.h74 previous declaration of `inet_aton'
make[2] *** [hba.o] Error 1
make[2] Leaving directory `/usr/local/pgsql/src/backend/libpq'
make[1] *** [libpq.dir] Error 2
make[1] Leaving directory `/usr/local/pgsql/src/backend'
make *** [all] Error 2

#
=============================================================
#su postgres
#make install

make[2] Entering directory `/usr/local/pgsql/src/backend/libpq'
gcc -I../../include -I../../backend -O2 -Wall -Wmissing-
prototypes -I.. -DMULTIBYTE=EUC_KR -c -o hba.o hba.c
In file included from hba.c28
../../backend/port/inet_aton.h3 conflicting types for `inet_aton'
/usr/include/arpa/inet.h74 previous declaration of `inet_aton'
make[2] *** [hba.o] Error 1
make[2] Leaving directory `/usr/local/pgsql/src/backend/libpq'
make[1] *** [libpq.dir] Error 2
make[1] Leaving directory `/usr/local/pgsql/src/backend'
make *** [install] Error 2

#
===========================================================
이렇게 에러가 났습니다...
그래서 관련 데이타베이스를 삭제하구 다시깔려구
관련 디렉토리를 삭제 /usr/local/pgsql/* , /usr/src/pgsql/*
하구 다시 셋팅하고 있었습니다..
postgre삭제에 대한 문서를 찾을수 없어서.. 그냥이렇게함 될것 같아
서... ㅜㅜ

그런데 이미 서비스를 하고있는업체에서 연락이 왔습니다..
sendmail 에러가 발생했다고..
==============================================================
서버에 연결할 수 없습니다. 계정 'kesco.or.kr', 서버 'kesco.or.kr',
프로토콜 POP3, 포트 110, 보안(SSL) 아니오, 소켓 오류 10061, 오류
번호 0x800CCC0E
===============================================================
그래서 확인해보았더니..
.....
==============================================================
에러3 다시 센드메일 셋팅전 에러
[root@i-on mail]# /etc/rc.d/init.d/sendmail restart
Shutting down sendmail [ OK ]
Starting sendmail makemap error while loading
shared libraries libkrb4.so.2 cannot open shared object file No
such file or directory
makemap error while loading shared libraries libkrb4.so.2 cannot
open shared object file No such file or directory
makemap error while loading shared libraries libkrb4.so.2 cannot
open shared object file No such file or directory
makemap error while loading shared libraries libkrb4.so.2 cannot
open shared object file No such file or directory
/usr/sbin/sendmail error while loading shared libraries
libkrb4.so.2 cannot open shared object file No such file or
directory
[FAILED]
다시 센드메일 셋팅후 에러
[root@i-on mail]# /etc/rc.d/init.d/sendmail restart
Shutting down sendmail [FAILED]
Starting sendmail makemap error while loading
shared libraries libkrb4.so.2 cannot open shared object file No
such file or directory
makemap error while loading shared libraries libkrb4.so.2 cannot
open shared object file No such file or directory
makemap error while loading shared libraries libkrb4.so.2 cannot
open shared object file No such file or directory
makemap error while loading shared libraries libkrb4.so.2 cannot
open shared object file No such file or directory
/usr/sbin/sendmail error while loading shared libraries
libkrb4.so.2 cannot open shared object file No such file or
directory
[FAILED]
==============================================================

정말 갑갑합니다...
이를 어찌해야되나요???
아으 이거 해결못함.. 짤릴지도... ㅡㅡ

고수님들 제가 리눅스셋팅에대해선 넘 몰라서...
이렇게 일일이 설명을 하였습니다..
제발 도와주세요 ~~~

익명 사용자의 이미지

krb5-libs 패키지 설치하세요.

익명 사용자의 이미지

패키지를 다운받아 설치했더니.. 에러가 잡혔습니다..

정말 감사합니다 ^^

수고하세요...

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.