MHMDhub / enterprise-log-search-and-archive

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

GoogleDatasource.pm crashing web interface #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install.sh web update
2. OR install.sh web
3. OR complete re-install of both node and web

What is the expected output? What do you see instead?
After updating to newest version, the web interface fails to load. 500 internal 
server error.

What version of the product are you using? On what operating system?
ELSA web R361, RHEL6 x64.

Please provide any additional information below.
Output of /var/log/httpd/error_log below:

Error while loading /usr/local/elsa/web/lib/Web.psgi: Can't locate 
Data/Google/Visualization/DataSource.pm in @INC (@INC contains: 
/usr/local/elsa/web/lib /usr/local/lib64/perl5 /usr/local/share/perl5 
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 
/usr/share/perl5 . /etc/httpd) at 
/usr/local/elsa/web/lib/Web/GoogleDatasource.pm line 9.\nBEGIN 
failed--compilation aborted at /usr/local/elsa/web/lib/Web/GoogleDatasource.pm 
line 9.\nCompilation failed in require at /usr/local/elsa/web/lib/Web.psgi line 
14.\nBEGIN failed--compilation aborted at /usr/local/elsa/web/lib/Web.psgi line 
14.\n

Original issue reported on code.google.com by U571kills on 30 Jul 2012 at 1:48

GoogleCodeExporter commented 8 years ago
This is very strange.  Test builds were successful.  Line 530 of install.sh 
explicitly installs Data::Google::Visualization::DataSource.  Can you verify 
that it got installed via:
perl -le 'use Data::Google::Visualization::DataSource;'

Original comment by mchol...@gmail.com on 30 Jul 2012 at 1:54

GoogleCodeExporter commented 8 years ago
Response:

Can't locate Data/Google/Visualization/DataSource.pm in @INC (@INC contains: 
/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl 
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

Original comment by sitko.ma...@gmail.com on 30 Jul 2012 at 1:59

GoogleCodeExporter commented 8 years ago
Grabbed the newest install.sh moments ago and attempted to run. 
---
./install.sh web update
Assuming distro to be centos
./install.sh: line 551: syntax error near unexpected token `else'
./install.sh: line 551: `       else'

Original comment by U571kills on 30 Jul 2012 at 2:13

GoogleCodeExporter commented 8 years ago
Ah, that explains it.  Give the latest a shot.

Original comment by mchol...@gmail.com on 30 Jul 2012 at 2:18

GoogleCodeExporter commented 8 years ago
Works now. Thanks!

Original comment by U571kills on 30 Jul 2012 at 2:29

GoogleCodeExporter commented 8 years ago
It seems to work now.

Original comment by sitko.ma...@gmail.com on 30 Jul 2012 at 2:32

GoogleCodeExporter commented 8 years ago
Good, sorry.  I just committed an example dashboard in elsa/web/conf/ with a 
corresponding entry in elsa/web/conf/elsa.conf if you want to give it a shot.

Original comment by mchol...@gmail.com on 30 Jul 2012 at 2:33