Jayad / enterprise-log-search-and-archive

Automatically exported from code.google.com/p/enterprise-log-search-and-archive
0 stars 0 forks source link

Unable to open elsa dash board from Apache #226

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When I open localhost using browser, default page of apache is shown in place 
of elsa dashboard.
I have elsa_node.conf and elsa_web.conf files in directory /etc/.
Also have apache2.conf file in apache2 directory and elsa file in 
sites-available directory of Apche.

What steps will reproduce the problem?
1.Anyhow if elsa dashboard is opened as default page at localhost:80

Original issue reported on code.google.com by sach...@appcino.com on 8 Oct 2014 at 10:20

Attachments:

GoogleCodeExporter commented 9 years ago
I have this same problem on a fresh Ubuntu 14.04.1 install.  I thought it might 
be because "elsa" Apache config file did not end with ".conf", so I renamed it. 
 Now Apache thinks it is a valid site, but when I try to reload it I get a 
bunch of errors.

tristanrhodes@elsa:/etc/apache2/sites-enabled$ sudo a2ensite elsa
ERROR: Site elsa does not exist!

tristanrhodes@elsa:/etc/apache2/sites-available$ ll
total 24
drwxr-xr-x 2 root root 4096 Nov 25 21:04 ./
drwxr-xr-x 8 root root 4096 Nov 25 21:04 ../
-rw-r--r-- 1 root root 1332 Jan  7  2014 000-default.conf
-rw-r--r-- 1 root root 6437 Jan  7  2014 default-ssl.conf
-rw-r--r-- 1 root root  812 Nov 25 21:04 elsa

tristanrhodes@elsa:/etc/apache2/sites-available$ sudo mv elsa elsa.conf
tristanrhodes@elsa:/etc/apache2/sites-available$ ll
total 24
drwxr-xr-x 2 root root 4096 Nov 25 21:08 ./
drwxr-xr-x 8 root root 4096 Nov 25 21:04 ../
-rw-r--r-- 1 root root 1332 Jan  7  2014 000-default.conf
-rw-r--r-- 1 root root 6437 Jan  7  2014 default-ssl.conf
-rw-r--r-- 1 root root  812 Nov 25 21:04 elsa.conf
tristanrhodes@elsa:/etc/apache2/sites-available$ sudo a2ensite elsa
Enabling site elsa.
To activate the new configuration, you need to run:
  service apache2 reload
tristanrhodes@elsa:/etc/apache2/sites-available$ sudo service apache2 reload
 * Reloading web server apache2                                                                                                                                                                                                               *
 * The apache2 configtest failed. Not doing anything.
Output of config test was:
AH00548: NameVirtualHost has no effect and will be removed in the next release 
/etc/apache2/sites-enabled/elsa.conf:7
AH00526: Syntax error on line 21 of /etc/apache2/sites-enabled/elsa.conf:
Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not 
included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.

Original comment by tristan....@gmail.com on 25 Nov 2014 at 9:33

GoogleCodeExporter commented 9 years ago
I have exactly the same issue on a fresh Ubuntu 14.04.1 
Tried to mess around with the .conf file, but cannot get it to work. 

Original comment by abdallah...@gmail.com on 2 Dec 2014 at 12:52

GoogleCodeExporter commented 9 years ago
Hi,
This can be solved by enabling the Rewrite module 

ln -s /etc/apache2/mods-available/rewrite.load 
/etc/apache2/mods-enabled/rewrite.load

Original comment by emag...@gmail.com on 8 Mar 2015 at 7:54