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.