I installed the piranha load balancer from here:
http://rpmfind.net/linux/centos/6.10...el6.x86_64.rpm
I am running Centos 7 in a VirtualBox virtual machine.
When I try to start the piranha-gui service
Code:
systemctl start piranha-gui
I get the error:
Code:
Job for piranha-gui.service failed because the control process exited with error code. See "systemctl status piranha-gui.service" and "journalctl -xe" for details.
When I run "systemctl status -l piranha-gui.service" I get:
Code:
● piranha-gui.service - SYSV: piranha-gui is used to kick off an entirely seperate httpd
Loaded: loaded (/etc/rc.d/init.d/piranha-gui; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2019-07-25 00:14:47 EDT; 1min 29s ago
Docs: man:systemd-sysv-generator(8)
Process: 4697 ExecStart=/etc/rc.d/init.d/piranha-gui start (code=exited, status=1/FAILURE)
Jul 25 00:14:47 mynewcentos systemd[1]: Starting SYSV: piranha-gui is used to kick off an entirely seperate httpd...
Jul 25 00:14:47 mynewcentos piranha-gui[4697]: /etc/rc.d/init.d/piranha-gui: line 27: [: =: unary operator expected
Jul 25 00:14:47 mynewcentos piranha-gui[4697]: Starting piranha-gui: httpd: Syntax error on line 18 of /etc/sysconfig/ha/conf/httpd.conf: Cannot load modules/mod_authn_alias.so into server: /etc/sysconfig/ha/modules/mod_authn_alias.so: cannot open shared object file: No such file or directory
Jul 25 00:14:47 mynewcentos piranha-gui[4697]: [FAILED]
Jul 25 00:14:47 mynewcentos systemd[1]: piranha-gui.service: control process exited, code=exited status=1
Jul 25 00:14:47 mynewcentos systemd[1]: Failed to start SYSV: piranha-gui is used to kick off an entirely seperate httpd.
Jul 25 00:14:47 mynewcentos systemd[1]: Unit piranha-gui.service entered failed state.
Jul 25 00:14:47 mynewcentos systemd[1]: piranha-gui.service failed.
I have no idea how to begin to parse this hot mess. I tried stopping httpd service and re-starting piranha. That failed.
I checked out line 27 of the /etc/rc.d/init.d/piranha-guifile and it is:
Code:
if [ ${NETWORKING} = "no" ] ; then
There is apparently no NETWORKING variable. I tried echoing it.
I also can't load the modules from the /etc/sysconfig/ha/modules/mod_authn_alias.so file because it doesn't exist.
I am really stumped. It's probably something really simple that I'm missing, right?
And yes, I did set up the password after installing piranha.