Aplastics 2.4 ile Elasticsearch + Logstash + Kibana kurulumunu yapmaya çalışıyorum.
- Başarıyla kuruldu:
brew install elasticsearch logstash httpd24
- /usr/local/etc/apache2/2.4/httpd.conf’da bulunan sanal ana bilgisayar modülü :
# Virtual hosts
Include /usr/local/etc/apache2/2.4/extra/httpd-vhosts.conf
ve
LoadModule vhost_alias_module libexec/mod_vhost_alias.so
- /usr/local/etc/apache2/2.4/extra/httpd-vhosts.conf içinde sanal ana bilgisayar oluşturuldu :
<VirtualHost *:8080>
ServerName kibana4.serv
ServerAlias www.kibana4.serv
DocumentRoot /usr/local/var/www/kibana-4.0.2-darwin-x64/src/public
<Directory /usr/local/var/www/kibana-4.0.2-darwin-x64/src/public>
Require all granted
Allow from all
Options -MultiViews
</Directory>
</VirtualHost>
- ELK / usr/ local/ etc/ apache2/ 2.4/ other/ elk.conf için yeni config oluşturuldu :
LoadModule proxy_http_module /usr/local/opt/httpd24/libexec/mod_proxy_http.so
<Location /elasticsearch>
ProxyPass http://localhost:9200/
ProxyPassReverse /
SSLRequireSSL
</Location>
<Location /kibana/>
ProxyPass http://localhost:5601/
ProxyPassReverse /
SSLRequireSSL
</Location>
- Yeni oluşturulan config elk.conf dosyasına /usr/local/etc/apache2/2.4/httpd.conf dosyasına dahil edildi :
Include /usr/local/etc/apache2/2.4/other/*.conf
ANCAK apache getting yeniden başlatmaya çalıştığımda:
$ /usr/local/opt/httpd24/bin/httpd -D FOREGROUND
httpd: Syntax error on line 523 of /usr/local/etc/apache2/2.4/httpd.conf:
Syntax error on line 1 of /usr/local/etc/apache2/2.4/other/elk.conf:
Cannot load /usr/local/opt/httpd24/libexec/mod_proxy_http.so into server:
dlopen(/usr/local/opt/httpd24/libexec/mod_proxy_http.so, 10):
Symbol not found: _ap_proxy_cookie_reverse_map\n
Referenced from: /usr/local/opt/httpd24/libexec/mod_proxy_http.so\n
Expected in: flat namespace\n in /usr/local/opt/httpd24/libexec/mod_proxy_http.so
Mod_proxy_http.so yüklerken sorun nedir? Modüle giden yol doğru ...