Sorry after re-checking the error.log file there seems to be possibly two
issues. I tested elastic search from the console by doing a curl request ('
http://localhost:9200/_cluster/health?pretty=true'). Also from my browser
"http:ipaddress:3200" I get a good json response. The second issue appears
to be a permission issue with the graylo2 public folder.
{
"ok" : true,
"status" : 200,
"name" : "graylog2-elasticserver",
"version" : {
"number" : "0.90.9",
"build_hash" : "a968646da4b6a2d9d8bca9e51e92597fe64e8d1a",
"build_timestamp" : "2013-12-23T10:35:28Z",
"build_snapshot" : false,
"lucene_version" : "4.6"
},
"tagline" : "You Know, for Search"
}
ERROR.LOG:
App 14461 stderr: [REQUEST FAILED] curl -X GET
'http://localhost:9200/graylog2_*,-graylog2_recent/message/_search?search_type=count&size=10&pretty'
-d '
App 14461 stderr: {
App 14461 stderr: "query": {
App 14461 stderr: "match_all": {
App 14461 stderr: }
App 14461 stderr: },
App 14461 stderr: "size": 10
App 14461 stderr: }
App 14461 stderr: '
App 14461 stderr:
App 14461 stderr: ActionView::Template::Error (Permission denied -
/opt/graylog2/graylog2-web-interface-0.11.0/tmp):
App 14461 stderr: 7: <%= favicon_link_tag "/favicon.ico" %>
App 14461 stderr: 8: <%= csrf_meta_tag %>
App 14461 stderr: 9: <%= stylesheet_link_tag "reset" %>
App 14461 stderr: 10: <%= stylesheet_link_tag "jquery.gritter" %>
App 14461 stderr: 11: <%= stylesheet_link_tag "core" %>
App 14461 stderr: 12: <%= stylesheet_link_tag "sections" %>
App 14461 stderr: 13: <%= stylesheet_link_tag "messages" %>
App 14461 stderr: app/views/layouts/application.html.erb:10:in
`_app_views_layouts_application_html_erb__547564954__581253348'
App 14461 stderr: app/controllers/messages_controller.rb:91:in `index'
App 14461 stderr:
App 14461 stderr:
On Monday, January 20, 2014 2:40:41 PM UTC-5, Yul Beauchamps wrote:
>
> Hey folks,
>
> I'm just starting to get my feet wet with Linux so bear with me.
> I setup Ubuntu Server 12 as a Virtual Box guest on a Windows 7 pc.
>
> I've gone through all of the documentation for installing GrayLog2 and I
> believe I'm almost there. When I finally had every configured I restarted
> apache and hit the webpage on localhost.
> I was able to get the create a new user page, followed by the page to
> actually create a new user. After that I got a Sorry, but something went
> wrong page.
>
> So I've tried to do some troubleshooting on my own but as I mentioned my
> Linux skills are fairly limited. I checked the error.log and I got the
> following error.
>
> 2014/01/20 13:58:57 [error] 14269#0: *4 "/etc/public/index.html" is not
> found (2: No such file or directory), client: 127.0.0.1, server: _,
> request: "H EAD / HTTP/1.1", host: "0.0.0.0"
>
> I have also checked the error.log file and noticed the same error there.
>
> The documentation I used had me add the virtual host configuration in
> the "default" file under /etc/apache2/sites-available:
> <VirtualHost *:80>
> DocumentRoot /opt/graylog2/graylog2-web-interface/public
> RailsEnv 'production'
> <Directory /opt/graylog2/graylog2-web-interface/public>
> # This relaxes Apache security settings.
> AllowOverride all
> # MultiViews must be turned off.
> Options -MultiViews
> </Directory>
> ErrorLog ${APACHE_LOG_DIR}/error.log
> LogLevel warn
> CustomLog ${APACHE_LOG_DIR}/access.log combined
> </VirtualHost>
>
> As you can see the DocumentRoon is set for
> "/opt/graylog2/graylog2-web-interface/public" not
> "/etc/public/index.html".
> Any help here would be great.
>
> Thanks,
> Yul
>
>
--
You received this message because you are subscribed to the Google Groups
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.