Merhaba Arkadaslar, Icinga server LDAP aktif ettim, Apache2 server icersinde bir takim ayarlari yaptim. Lakin kullanici adi ve sifresini yazdigimda asagidaki hata mesaji geliyor
Hata mesaji 1 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/2.2.16 (Debian) Server at 192.168.200.244 Port 80</address> Apache loglarinda gözüken hata [Tue May 27 08:48:46 2014] [error] [client 192.168.200.33] user ldapicinga not found: /icinga/cgi-bin/tac.cgi, referer: http://192.168.200.244/icinga/ [Tue May 27 08:48:46 2014] [error] [client 192.168.200.33] user ldapicinga not found: /icinga/cgi-bin/tac.cgi, referer: http://192.168.200.244/icinga/ [Tue May 27 08:49:17 2014] [error] [client 192.168.200.33] user icingaadmin not found: /icinga/cgi-bin/tac.cgi, referer: http://192.168.200.244/icinga/ [Tue May 27 08:49:17 2014] [error] [client 192.168.200.33] user icingaadmin not found: /icinga/cgi-bin/tac.cgi, referer: http://192.168.200.244/icinga/ /icinga/cgi-bin/tac.cgi bunu bulamiyor sanirim bunu nerde ve nasil düzeltebiliriz Fikri olan Arkadaslar yardimci olabilirse sevinirim. Bu arada Apache2 altinda bulunan httpd.conf dosyayi bos buraya kendimiz birseymi yazmamiz gerekiyor yazar isek ne yazacagiz ? /usr/local/icinga# find / -type f -name tac.cgi /usr/local/icinga/sbin/tac.cgi /usr/src/icinga-1.6.1/cgi/tac.cgi Yardim olur diye /etc/apache2/conf.d#icinga.conf icersindeki yaptigim ayar asagidadir yardimlarinizi bekliyorum tesekkürler # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER # # This file contains examples of entries that need # to be incorporated into your Apache web server # configuration file. Customize the paths, etc. as # needed to fit your system. ScriptAlias /icinga/cgi-bin "/usr/local/icinga/sbin" <Directory "/usr/local/icinga/sbin"> # SSLRequireSSL Options ExecCGI AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Icinga Access" AuthType Basic AuthUserFile /usr/local/icinga/etc/htpasswd.users Require valid-user #### Für LDAP ####### AuthName "LDAP Windows" AuthType Basic AuthLDAPURL ldap://dc01:389/cn=ldapicinga,dc=incas,dc=com?samAccountName?sub?(objectCategory=person) AuthLDAPBindDN CN=ldapicinga,OU=Sonstiges,DC=incas,DC=com AuthLDAPBindPassword ADsifresigirili require valid-user AuthBasicProvider ldap AuthzLDAPAuthoritative off require ldap-group CN=Users,OU=Sonstiges,DC=incas,DC=com </Directory> Alias /icinga "/usr/local/icinga/share/" <Directory "/usr/local/icinga/share/"> # SSLRequireSSL Options None AllowOverride All Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Icinga Access" AuthType Basic AuthUserFile /usr/local/icinga/etc/htpasswd.users Require valid-user #### Für LDAP ####### AuthName "LDAP Windows" AuthType Basic AuthLDAPURL ldap://[dc01]:389/cn=ldapicinga,dc=[incas],dc=[com]?samAccountName?sub?(objectCategory=person) AuthLDAPBindDN CN=ldapicinga,OU=Sonstiges,DC=incas,DC=com AuthLDAPBindPassword ADsifresigirili require valid-user AuthBasicProvider ldap AuthzLDAPAuthoritative off require ldap-group CN=Users,OU=Sonstiges,DC=incas,DC=com </Directory>
_______________________________________________ Linux-sunucu E-Posta Listesi Linux-sunucu@liste.linux.org.tr Liste kurallarını http://liste.linux.org.tr/kurallar.php bağlantısından okuyabilirsiniz; Bu Listede neden bulunduğunuzu bilmiyorsanız veya artık bu listeden gelen e-postaları almak istemiyorsanız aşağıdaki bağlantı adresini kullanarak 1 dakika içinde üyeliğinizi sonlandırabilirsiniz. https://liste.linux.org.tr/mailman/listinfo/linux-sunucu