[prev in list] [next in list] [prev in thread] [next in thread]
List: spacewalk-list
Subject: Re: [Spacewalk-list] Tomcat failed to start properly or the installer ran out of tries
From: Wachauer Harald <Harald.Wachauer () akm ! at>
Date: 2019-01-09 14:13:35
Message-ID: 6965b7acfd57422cb597ce97ae3cdf7f () akm ! at
[Download RAW message or body]
[Attachment #2 (text/plain)]
Graeme, that was the trick……..
Just wondering why this cannot be found in any documentation…..
Thank you so much! ☺
Harald
Von: spacewalk-list-bounces@redhat.com <spacewalk-list-bounces@redhat.com> Im Auftrag \
von Graeme Fowler
Gesendet: Mittwoch, 9. Jänner 2019 14:48
An: spacewalk-list@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@redhat.com<mailto:spacewalk-list-bounces@redhat.com> on \
behalf of Peirce, Dean" \
<spacewalk-list-bounces@redhat.com<mailto:spacewalk-list-bounces@redhat.com> on \
behalf of Dean.Peirce@cengage.com<mailto:Dean.Peirce@cengage.com>> wrote:
Same issue here
From: <spacewalk-list-bounces@redhat.com<mailto:spacewalk-list-bounces@redhat.com>> \
on behalf of Wachauer Harald \
<Harald.Wachauer@akm.at<mailto:Harald.Wachauer@akm.at>>
Reply-To: "spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com>" \
<spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com>>
Date: Wednesday, January 9, 2019 at 7:03 AM
To: "spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com>" \
<spacewalk-list@redhat.com<mailto:spacewalk-list@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@redhat.com<mailto:spacewalk-list-bounces@redhat.com> \
<spacewalk-list-bounces@redhat.com<mailto:spacewalk-list-bounces@redhat.com>> Im \
Auftrag von Wachauer Harald
Gesendet: Mittwoch, 9. Jänner 2019 13:01
An: spacewalk-list@redhat.com<mailto:spacewalk-list@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
[Attachment #3 (text/html)]
<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.E-MailFormatvorlage18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;}
span.E-MailFormatvorlage19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.E-MailFormatvorlage20
{mso-style-type:personal;
font-family:"Calibri",sans-serif;}
span.E-MailFormatvorlage21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.E-MailFormatvorlage22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE-AT" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB" \
style="color:#1F497D;mso-fareast-language:EN-US">Graeme, that was the \
trick……..<o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-GB" \
style="color:#1F497D;mso-fareast-language:EN-US">Just wondering why this cannot be \
found in any documentation…..<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB" style="color:#1F497D;mso-fareast-language:EN-US">Thank you so much! \
</span><span lang="EN-GB" \
style="font-family:Wingdings;color:#1F497D;mso-fareast-language:EN-US">J</span><span \
lang="EN-GB" style="color:#1F497D;mso-fareast-language:EN-US"><o:p></o:p></span></p> \
<p class="MsoNormal"><span lang="EN-GB" \
style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p> <p \
class="MsoNormal"><span lang="EN-GB" \
style="color:#1F497D;mso-fareast-language:EN-US">Harald<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-GB" \
style="color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p> <div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="DE">Von:</span></b><span lang="DE"> \
spacewalk-list-bounces@redhat.com <spacewalk-list-bounces@redhat.com> <b>Im \
Auftrag von </b>Graeme Fowler<br> <b>Gesendet:</b> Mittwoch, 9. Jänner 2019 \
14:48<br> <b>An:</b> spacewalk-list@redhat.com<br>
<b>Betreff:</b> Re: [Spacewalk-list] Tomcat failed to start properly or the installer \
ran out of tries<o:p></o:p></span></p> </div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB">I saw this recently; SELinux was preventing \
the application being run under Tomcat from connecting to the PostgreSQL database. \
Youll need the following:<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB"><o:p> </o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB">setsebool -P tomcat_can_network_connect_db 1<o:p></o:p></span></p> <p \
class="MsoNormal"><span lang="EN-GB">spacewalk-service restart<o:p></o:p></span></p> \
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p> <p \
class="MsoNormal"><span lang="EN-GB">You'll find the offending entries inside \
/var/log/audit/audit.log.<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB"><o:p> </o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB">Graeme<o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB"><o:p> </o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB"><o:p> </o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB"><o:p> </o:p></span></p> <p class="MsoNormal"><span \
lang="EN-GB"><o:p> </o:p></span></p> <div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB">On 09/01/2019, \
13:07, "<a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a> \
on behalf of Peirce, Dean" <<a \
href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a> \
on behalf of <a href="mailto:Dean.Peirce@cengage.com">Dean.Peirce@cengage.com</a>> \
wrote:<o:p></o:p></span></p> </div>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span \
lang="EN-GB"><o:p> </o:p></span></p> </div>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB">Same issue \
here<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left:36.0pt"><span \
lang="EN-GB"> <o:p></o:p></span></p> <div style="border:none;border-top:solid \
#B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"> <p class="MsoNormal" \
style="margin-left:36.0pt"><b><span lang="EN-GB" \
style="font-size:12.0pt;color:black">From: </span></b><span lang="EN-GB" \
style="font-size:12.0pt;color:black"><<a \
href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a>> \
on behalf of Wachauer Harald <<a \
href="mailto:Harald.Wachauer@akm.at">Harald.Wachauer@akm.at</a>><br> <b>Reply-To: \
</b>"<a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a>" \
<<a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a>><br> \
<b>Date: </b>Wednesday, January 9, 2019 at 7:03 AM<br> <b>To: </b>"<a \
href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a>" <<a \
href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a>><br> \
<b>Subject: </b>Re: [Spacewalk-list] Tomcat failed to start properly or the installer \
ran out of tries</span><span lang="EN-GB"><o:p></o:p></span></p> </div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span \
lang="EN-GB"> <o:p></o:p></span></p> </div>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB" \
style="color:#1F497D">Sorry, Spacewalk 2.8 of course……</span><span \
lang="EN-GB"><o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:36.0pt"><span lang="EN-GB" \
style="color:#1F497D"> </span><span lang="EN-GB"><o:p></o:p></span></p> <div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:36.0pt"><b><span \
lang="DE">Von:</span></b><span lang="DE"> <a \
href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a> \
<<a href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a>>
<b>Im Auftrag von </b>Wachauer Harald<br>
<b>Gesendet:</b> Mittwoch, 9. Jänner 2019 13:01<br>
<b>An:</b> <a href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a><br>
<b>Betreff:</b> [Spacewalk-list] Tomcat failed to start properly or the installer \
ran out of tries</span><span lang="EN-GB"><o:p></o:p></span></p> </div>
</div>
<p class="MsoNormal" style="margin-left:36.0pt"><span \
lang="EN-GB"> <o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:36.0pt"><span lang="EN-GB">Hi,<o:p></o:p></span></p> <p \
class="MsoNormal" style="margin-left:36.0pt"><span \
lang="EN-GB"> <o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:36.0pt"><span lang="EN-GB">I have tried to install Spacewalk 2.0 \
on CentOS Linux release 7.6.1810 (Core) several times.<o:p></o:p></span></p> <p \
class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB">I have used this \
instructions: <a \
href="https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall">https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall</a><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB">After the setup I \
will get the message: Tomcat failed to start properly or the installer ran out of \
tries<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left:36.0pt"><span \
lang="EN-GB">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,<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left:36.0pt"><span \
lang="EN-GB">Rest of the page is white and I am not able to do \
anything….<o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:36.0pt"><span lang="EN-GB"> <o:p></o:p></span></p> <p \
class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB">I cannot find any \
solution, the only things I have tried is to downgrade c3p0:<o:p></o:p></span></p> <p \
class="MsoNormal" style="margin-left:36.0pt"><span \
lang="EN-GB"> <o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:36.0pt"><span lang="EN-GB">Removed:<o:p></o:p></span></p> <p \
class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB"> c3p0.noarch \
0:0.9.5-0.3.pre8.sw<o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:36.0pt"><span lang="EN-GB"> <o:p></o:p></span></p> <p \
class="MsoNormal" style="margin-left:36.0pt"><span \
lang="EN-GB">Installed:<o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:36.0pt"><span lang="EN-GB"> c3p0.noarch \
0:0.9.2.1-6.el7<o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:36.0pt"><span lang="EN-GB"> <o:p></o:p></span></p> <p \
class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-GB">The second hint I \
found is that the FQDN of the server has to be correct. I checked and it seems to be \
OK…..<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left:36.0pt"><span \
lang="EN-GB"> <o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:36.0pt"><span lang="EN-GB">Any help anyone.. \
???<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left:36.0pt"><span \
lang="EN-GB"> <o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:36.0pt"><span lang="EN-GB">Thanks a lot, \
Harald<o:p></o:p></span></p> <p class="MsoNormal" style="margin-left:36.0pt"><span \
lang="EN-GB"> <o:p></o:p></span></p> <p class="MsoNormal" \
style="margin-left:36.0pt"><span lang="EN-GB"> <o:p></o:p></span></p> <p \
class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:36.0pt">
<span lang="EN-GB" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-fareast-language:DE"> </span><span \
lang="EN-GB"><o:p></o:p></span></p> </div>
</body>
</html>
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
--===============5427835113192371277==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic