[Spacewalk-list] Tomcat failed to start properly or the installer ran out of tries

Wachauer Harald Harald.Wachauer at akm.at
Wed Jan 9 14:13:35 UTC 2019


Graeme, that was the trick……..
Just wondering why this cannot be found in any documentation…..
Thank you so much! ☺

Harald

Von: spacewalk-list-bounces at redhat.com <spacewalk-list-bounces at redhat.com> Im Auftrag von Graeme Fowler
Gesendet: Mittwoch, 9. Jänner 2019 14:48
An: spacewalk-list at redhat.com
Betreff: Re: [Spacewalk-list] Tomcat failed to start properly or the installer ran out of tries

I saw this recently; SELinux was preventing the application being run under Tomcat from connecting to the PostgreSQL database. Youll need the following:

setsebool -P tomcat_can_network_connect_db 1
spacewalk-service restart

You'll find the offending entries inside /var/log/audit/audit.log.

Graeme




On 09/01/2019, 13:07, "spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> on behalf of Peirce, Dean" <spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> on behalf of Dean.Peirce at cengage.com<mailto:Dean.Peirce at cengage.com>> wrote:

Same issue here

From: <spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com>> on behalf of Wachauer Harald <Harald.Wachauer at akm.at<mailto:Harald.Wachauer at akm.at>>
Reply-To: "spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Date: Wednesday, January 9, 2019 at 7:03 AM
To: "spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Subject: Re: [Spacewalk-list] Tomcat failed to start properly or the installer ran out of tries

Sorry, Spacewalk 2.8 of course……

Von: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> <spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com>> Im Auftrag von Wachauer Harald
Gesendet: Mittwoch, 9. Jänner 2019 13:01
An: spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>
Betreff: [Spacewalk-list] Tomcat failed to start properly or the installer ran out of tries

Hi,

I have tried to install Spacewalk 2.0 on CentOS Linux release 7.6.1810 (Core) several times.
I have used this instructions:   https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall
After the setup I will get the message: Tomcat failed to start properly or the installer ran out of tries
Tomcat is running, but when I will try to open the Spacewalk page it took vey long and I will only get a black balk with the Spacewalk logo,
Rest of the page is white and I am not able to do anything….

I cannot find any solution, the only things I have tried is to downgrade c3p0:

Removed:
  c3p0.noarch 0:0.9.5-0.3.pre8.sw

Installed:
  c3p0.noarch 0:0.9.2.1-6.el7

The second hint I found is that the FQDN of the server has to be correct. I checked and it seems to be OK…..

Any help anyone.. ???

Thanks a lot, Harald



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190109/dd326aa0/attachment.htm>


More information about the Spacewalk-list mailing list