0. LDAP 정상 작동 확인 방법 (공통)

문제 해결 후 아래 커맨드로 LDAP 계정 정상 등록 되었는지 확인 및 타서버에서 ssh 접속으로 LDAP 계정 원격 접속 정상 확인해줍니다.

getent passwd

Creating directory '/home/유저이름'.

이라는 문구 출력시 정상적으로 세팅되었음을 확인할 수 있습니다.

 

 

 

1. yum install 비정상 문제

[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
[Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
[Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'epel.mirror.srv.co.ge'"
[Errno 12] Timeout on http://mirrors.hustunique.com/epel/6/x86_64/repodata/baeb790aca3c6a68f1561abcafc83f198e83eee778c24af6fa6f477f7e8f8b07-filelists.sqlite.bz2: (28, 'connect() timed out!')
[Errno 12] Timeout on http://mirrors.vinahost.vn/epel/6/x86_64/repodata/baeb790aca3c6a68f1561abcafc83f198e83eee778c24af6fa6f477f7e8f8b07-filelists.sqlite.bz2: (28, 'connect() timed out!')
Error: failure: repodata/baeb790aca3c6a68f1561abcafc83f198e83eee778c24af6fa6f477f7e8f8b07-filelists.sqlite.bz2 from epel: [Errno 256] No more mirrors to try.
 You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
cronie-1.4.4-7.el6.x86_64 has missing requires of /usr/sbin/sendmail
redhat-lsb-core-4.0-7.el6.centos.x86_64 has missing requires of /usr/sbin/sendmail

위와 같이 출력되면서 비정상 작동시 epel.repo를 수정해줍니다.

[epel] 의 enabled 수치를 1에서 0으로 변경해준 후 진행해줍니다.

 

 

 

2. authconfig 실패시

위와 같이 authconfig 커맨드 실패시 아래와 같이 작업하여 해결해줍니다.

/etc/init.d/messagebus status
/etc/init.d/messagebus start
authconfig --enableforcelegacy --update
authconfig --enableldap --enableldapauth --ldapserver=ldapm.????????.kr,ldaps.????????.kr --ldapbasedn="dc=?????,dc=???,dc=kr" --enablemkhomedir --update

???는 각자 상황에 맞게 도메인 일부를 입력합니다.

 

 

 

 

+ Recent posts