Post Install Errors CentOS 6.5 httpd failing

52 views
Skip to first unread message

Muhammad Faisal

unread,
Dec 21, 2016, 9:02:57 AM12/21/16
to enterprise-log-search-and-archive
Hello,
Im trying to install ELSA but still no luck even tried 6.5, 6.7, and 7 release of CentOS. Now on CentOS 6.5 i can see less failures. The httpd service is not starting up for some reason. Anyone can help?


ELSA Install Messages:

build_web_perl success
Executing set_web_mysql
+----------+
| count(*) |
+----------+
|        2 |
+----------+
MySQL and schema already installed.
set_web_mysql success
Executing mk_web_dirs
mk_web_dirs success
Executing centos_set_apache
PerlPostConfigRequire /etc/httpd/conf/elsa_startup.pl
Plack::Handler::Apache2 is up to date. (undef)
Enabling SELINUX policies for Apache...
setsebool:  SELinux is disabled.
setsebool:  SELinux is disabled.
SELinux:  Could not downgrade policy file /etc/selinux/targeted/policy/policy.24, searching for an older version.
SELinux:  Could not open policy file <= /etc/selinux/targeted/policy/policy.24:  No such file or directory
libsemanage.semanage_reload_policy: load_policy returned error code 2.
SELinux:  Could not downgrade policy file /etc/selinux/targeted/policy/policy.24, searching for an older version.
SELinux:  Could not open policy file <= /etc/selinux/targeted/policy/policy.24:  No such file or directory
libsemanage.semanage_reload_policy: load_policy returned error code 2.
/usr/sbin/semanage: Could not commit semanage transaction
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
centos_set_apache success
Executing set_cron
Adding cron entry for alerts...
* * * * * perl /usr/local/elsa/web/cron.pl -c /etc/elsa_web.conf > /dev/null 2>&1
Cron already installed
set_cron success
Executing set_logrotate
set_logrotate success
Executing set_version
set_version success
Executing validate_config
Invalid dir: config_file
Invalid configuration: invalid: sphinx/config_file
Config is invalid: sphinx/config_file
validate_config FAIL


Apache Error Log:

[Wed Dec 21 18:55:06 2016] [error] Error while loading /usr/local/elsa/web/lib/Web.psgi: Type of arg 1 to shift must be array (not anonymous list ([])) at /usr/local/elsa/web/lib/Query/Sphinx.pm line 1291, near "];"\nCompilation failed in require at /usr/local/elsa/web/lib/QueryParser.pm line 28.\nBEGIN failed--compilation aborted at /usr/local/elsa/web/lib/QueryParser.pm line 28.\nCompilation failed in require at /usr/local/elsa/web/lib/Controller.pm line 34.\nBEGIN failed--compilation aborted at /usr/local/elsa/web/lib/Controller.pm line 34.\nCompilation failed in require at /usr/local/elsa/web/lib/Web.psgi line 10.\nBEGIN failed--compilation aborted at /usr/local/elsa/web/lib/Web.psgi line 10.\nBEGIN failed--compilation aborted at /etc/httpd/conf/elsa_startup.pl line 19.\nCompilation failed in require at (eval 2) line 1.\n
[Wed Dec 21 18:55:06 2016] [error] Can't load Perl file: /etc/httpd/conf/elsa_startup.pl for server localhost:0, exiting...
[Wed Dec 21 18:56:28 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Dec 21 18:56:28 2016] [notice] Digest: generating secret for digest authentication ...
[Wed Dec 21 18:56:28 2016] [notice] Digest: done
[Wed Dec 21 18:56:28 2016] [error] Error while loading /usr/local/elsa/web/lib/Web.psgi: Type of arg 1 to shift must be array (not anonymous list ([])) at /usr/local/elsa/web/lib/Query/Sphinx.pm line 1291, near "];"\nCompilation failed in require at /usr/local/elsa/web/lib/QueryParser.pm line 28.\nBEGIN failed--compilation aborted at /usr/local/elsa/web/lib/QueryParser.pm line 28.\nCompilation failed in require at /usr/local/elsa/web/lib/Controller.pm line 34.\nBEGIN failed--compilation aborted at /usr/local/elsa/web/lib/Controller.pm line 34.\nCompilation failed in require at /usr/local/elsa/web/lib/Web.psgi line 10.\nBEGIN failed--compilation aborted at /usr/local/elsa/web/lib/Web.psgi line 10.\nBEGIN failed--compilation aborted at /etc/httpd/conf/elsa_startup.pl line 19.\nCompilation failed in require at (eval 2) line 1.\n
[Wed Dec 21 18:56:28 2016] [error] Can't load Perl file: /etc/httpd/conf/elsa_startup.pl for server localhost:0, exiting...

Thanks
Reply all
Reply to author
Forward
0 new messages