apache2 critエラーファイルutil_ldap.c、85行、アサーション「0」が失敗しました

apache2 critエラーファイルutil_ldap.c、85行、アサーション「0」が失敗しました

hello worldを含むindex.htmlファイルを含む単純なWebサービスがあり、LDAP認証を介してのみWebサイトにアクセスできるようにしますが、Webサイトにアクセスしようとするとエラーが発生し始めます。誰かがこの問題を解決する方法を知っていますか?間違い:

[Fri Dec 02 08:30:19.071039 2022] [ldap:crit] [pid 3659377] (13)Permission denied: [client x.x.x.x:58573] AH10134: LDAP cache lock failed
[Fri Dec 02 08:30:19.071176 2022] [core:crit] [pid 3659377] AH00102: [Fri Dec 02 08:30:19 2022] file util_ldap.c, line 85, assertion "0" failed

apache2 LDAP 構成ファイルは次のとおりです。

<Location />
 AuthType Basic
AuthName "Apache LDAP authentication"
AuthBasicProvider ldap
AuthLDAPURL "ldap://domain.xx.x:389/OU=Domain Users,DC=domain,DC=xx,DC=x?sAMAccountName"
AuthLDAPBindDN "CN=apache_ldap,OU=Apache,OU=Services Accounts,DC=domain,DC=xx,DC=x"
AuthLDAPBindPassword "pass"
Require valid-user

</Location>


apachectl -t -D DUMP_RUN_CFG
 ServerRoot: "/etc/apache2"
 Main DocumentRoot: "/etc/apache2/htdocs"
 Main ErrorLog: "/etc/apache2/logs/error_log"
 Mutex mpm-accept: using_defaults
 Mutex rewrite-map: dir="/run/apache2" mechanism=fcntl
 Mutex ssl-stapling-refresh: using_defaults
 Mutex ssl-stapling: using_defaults
 Mutex proxy: using_defaults
 Mutex ldap-cache: using_defaults
 Mutex ssl-cache: dir="/run/apache2" mechanism=fcntl
 Mutex default: dir="/var/run/apache2/" mechanism=sysvsem
 PidFile: "/run/apache2/httpd.pid"
 Define: DUMP_RUN_CFG
 Define: MODSEC_2.5
 Define: MODSEC_2.9
 User: name="nobody" id=99
 Group: name="nobody" id=99

サーバーバージョン: Apache/2.4.54(cPanel) ここに画像の説明を入力してください。

ベストアンサー1

おすすめ記事