LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-25-2019, 12:31 AM   #1
Andrew Stallard
Member
 
Registered: Nov 2012
Posts: 31

Rep: Reputation: Disabled
Unhappy piranha-gui not starting


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.
 
Old 07-25-2019, 02:08 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 3,358

Rep: Reputation: 1017Reputation: 1017Reputation: 1017Reputation: 1017Reputation: 1017Reputation: 1017Reputation: 1017Reputation: 1017
Quote:
I am running Centos 7 in a VirtualBox virtual machine.
Why don't you install the rpm for 7

http://rpmfind.net/linux/centos/7.6....6_64/Packages/
I see, there isn't one.

You may try building it from source
https://github.com/bluescarni/piranha
https://aur.archlinux.org/packages/piranha-git/

Or use something else that has similar functionality.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Piranha cluster only use one node when printing from an AS400 (clustered cups) Fnutt Red Hat 2 08-01-2015 10:21 AM
piranha not working ashwin_cse Red Hat 0 11-02-2010 02:24 AM
[SOLVED] Starting File System .. Starting File System .. Starting File System .. Starting File rmknox Linux - Newbie 3 08-16-2010 12:30 AM
piranha-gui service fails - (LVS-nat)Fedoracore 6 xxx_anuj_xxx Linux - Networking 0 04-06-2007 02:30 PM
Piranha Configuration Tool cAg3 Linux - Software 0 11-15-2004 06:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration