Re: [Spacewalk-list] Problem installing Spacewalk on CentOS7 (Brand new install)

2017-06-26 Thread Bruce Wainer
Robert,
Using any type of DNS lookup tool does properly resolve the FQDN to the
machine's IP address, both on this machine and on others in the network
that use the internal DNS servers. Is reverse lookups (IP -> FQDN) required
as well?

# host netman.ad.brucewainer.com
netman.ad.brucewainer.com has address 192.168.10.20

Thanks,
Bruce

Bruce Wainer

On Tue, Jun 27, 2017 at 12:34 AM, Robert Paschedag 
wrote:

> Am 27. Juni 2017 03:25:00 MESZ schrieb Bruce Wainer  >:
> >Hello all,
> >
> >I have found an issue installing SpaceWalk on CentOS7 that I have not
> >been
> >able to diagnose/resolve (aside from the required downgrade of c3p0 as
> >mentioned here https://bugzilla.redhat.com/show_bug.cgi?id=1442140 ).
> >
> >Issue: osa-dispatcher.service crashes on start with "'Not able to
> >reconnect"
> >
> >Background Information: Brand new install of CentOS7, set the hostname
> >durin the installer, ran updates, made sure hostname was correct in all
> >locations including /etc/hosts, followed the spacewalk installation
> >instructions verbatim.
> >
> >Every time osa-dispatcher is started, "journal -xe" logs the following
> >3
> >times (I think due to three connection attempts)
> >Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: [7]
> >[:::192.168.10.20, port=45018] connect
> >Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: [7]
> >[:::192.168.10.20, port=45018] disconnect jid=unbound, packets: 0,
> >bytes: 168
> >Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
> >callback
> >for non-existing host: NETMAN.ad.brucewainer.com
> >Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
> >callback
> >for non-existing host: NETMAN.ad.brucewainer.com
> >Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
> >callback
> >for non-existing host: NETMAN.ad.brucewainer.com
> >Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
> >callback
> >for non-existing host: NETMAN.ad.brucewainer.com
> >Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
> >callback
> >for non-existing host: NETMAN.ad.brucewainer.com
> >Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
> >callback
> >for non-existing host: NETMAN.ad.brucewainer.com
> >Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
> >callback
> >for non-existing host: NETMAN.ad.brucewainer.com
> >Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
> >callback
> >for non-existing host: NETMAN.ad.brucewainer.com
> >Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
> >callback
> >for non-existing host: NETMAN.ad.brucewainer.com
> >Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
> >callback
> >for non-existing host: NETMAN.ad.brucewainer.com
> >Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
> >callback
> >for non-existing host: NETMAN.ad.brucewainer.com
> >
> >Based on this it seems like jabberd isn't recognizing the hostname, but
> >I
> >have followed the "Resolution" and "Diagnostic Steps" here:
> >https://access.redhat.com/solutions/327903 to no avail, as well as
> >every
> >other google result related to "SASL callback for non-existing host".
> >Since
> >my hostname was set during the installation, it was automatically and
> >correctly put into every config file that matters, other than
> >/etc/hosts
> >which I have rechecked a haf dozen times. You can see in the journalctl
> >output that the host that jabberd is seeing matches the actual
> >hostname.
> >I've done the complete setup from scratch twice to make sure I hadn't
> >missed any step in the installation instructions.
> >
> >Joe Belliveau, it sounded like you ran into an issue like this with
> >your
> >new install?
> >
> >Thanks in advance for any assistance,
> >Bruce Wainer
>
> So Testing your DNS resolution with "dig" or "host" or "nslookup" does
> resolve your hostname correctly?
>
> Just found this right now but it looks there was no answer yet...
>
> https://www.redhat.com/archives/spacewalk-list/2017-February/msg00022.html
>
> Robert
>
>
>
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Problem installing Spacewalk on CentOS7 (Brand new install)

2017-06-26 Thread Robert Paschedag
Am 27. Juni 2017 03:25:00 MESZ schrieb Bruce Wainer :
>Hello all,
>
>I have found an issue installing SpaceWalk on CentOS7 that I have not
>been
>able to diagnose/resolve (aside from the required downgrade of c3p0 as
>mentioned here https://bugzilla.redhat.com/show_bug.cgi?id=1442140 ).
>
>Issue: osa-dispatcher.service crashes on start with "'Not able to
>reconnect"
>
>Background Information: Brand new install of CentOS7, set the hostname
>durin the installer, ran updates, made sure hostname was correct in all
>locations including /etc/hosts, followed the spacewalk installation
>instructions verbatim.
>
>Every time osa-dispatcher is started, "journal -xe" logs the following
>3
>times (I think due to three connection attempts)
>Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: [7]
>[:::192.168.10.20, port=45018] connect
>Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: [7]
>[:::192.168.10.20, port=45018] disconnect jid=unbound, packets: 0,
>bytes: 168
>Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
>callback
>for non-existing host: NETMAN.ad.brucewainer.com
>Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
>callback
>for non-existing host: NETMAN.ad.brucewainer.com
>Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
>callback
>for non-existing host: NETMAN.ad.brucewainer.com
>Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
>callback
>for non-existing host: NETMAN.ad.brucewainer.com
>Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
>callback
>for non-existing host: NETMAN.ad.brucewainer.com
>Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
>callback
>for non-existing host: NETMAN.ad.brucewainer.com
>Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
>callback
>for non-existing host: NETMAN.ad.brucewainer.com
>Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
>callback
>for non-existing host: NETMAN.ad.brucewainer.com
>Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
>callback
>for non-existing host: NETMAN.ad.brucewainer.com
>Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
>callback
>for non-existing host: NETMAN.ad.brucewainer.com
>Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL
>callback
>for non-existing host: NETMAN.ad.brucewainer.com
>
>Based on this it seems like jabberd isn't recognizing the hostname, but
>I
>have followed the "Resolution" and "Diagnostic Steps" here:
>https://access.redhat.com/solutions/327903 to no avail, as well as
>every
>other google result related to "SASL callback for non-existing host".
>Since
>my hostname was set during the installation, it was automatically and
>correctly put into every config file that matters, other than
>/etc/hosts
>which I have rechecked a haf dozen times. You can see in the journalctl
>output that the host that jabberd is seeing matches the actual
>hostname.
>I've done the complete setup from scratch twice to make sure I hadn't
>missed any step in the installation instructions.
>
>Joe Belliveau, it sounded like you ran into an issue like this with
>your
>new install?
>
>Thanks in advance for any assistance,
>Bruce Wainer

So Testing your DNS resolution with "dig" or "host" or "nslookup" does 
resolve your hostname correctly?

Just found this right now but it looks there was no answer yet...

https://www.redhat.com/archives/spacewalk-list/2017-February/msg00022.html

Robert



___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list


[Spacewalk-list] Problem installing Spacewalk on CentOS7 (Brand new install)

2017-06-26 Thread Bruce Wainer
Hello all,

I have found an issue installing SpaceWalk on CentOS7 that I have not been
able to diagnose/resolve (aside from the required downgrade of c3p0 as
mentioned here https://bugzilla.redhat.com/show_bug.cgi?id=1442140 ).

Issue: osa-dispatcher.service crashes on start with "'Not able to reconnect"

Background Information: Brand new install of CentOS7, set the hostname
durin the installer, ran updates, made sure hostname was correct in all
locations including /etc/hosts, followed the spacewalk installation
instructions verbatim.

Every time osa-dispatcher is started, "journal -xe" logs the following 3
times (I think due to three connection attempts)
Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: [7]
[:::192.168.10.20, port=45018] connect
Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: [7]
[:::192.168.10.20, port=45018] disconnect jid=unbound, packets: 0,
bytes: 168
Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL callback
for non-existing host: NETMAN.ad.brucewainer.com
Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL callback
for non-existing host: NETMAN.ad.brucewainer.com
Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL callback
for non-existing host: NETMAN.ad.brucewainer.com
Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL callback
for non-existing host: NETMAN.ad.brucewainer.com
Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL callback
for non-existing host: NETMAN.ad.brucewainer.com
Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL callback
for non-existing host: NETMAN.ad.brucewainer.com
Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL callback
for non-existing host: NETMAN.ad.brucewainer.com
Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL callback
for non-existing host: NETMAN.ad.brucewainer.com
Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL callback
for non-existing host: NETMAN.ad.brucewainer.com
Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL callback
for non-existing host: NETMAN.ad.brucewainer.com
Jun 26 21:09:37 NETMAN.ad.brucewainer.com jabberd/c2s[1003]: SASL callback
for non-existing host: NETMAN.ad.brucewainer.com

Based on this it seems like jabberd isn't recognizing the hostname, but I
have followed the "Resolution" and "Diagnostic Steps" here:
https://access.redhat.com/solutions/327903 to no avail, as well as every
other google result related to "SASL callback for non-existing host". Since
my hostname was set during the installation, it was automatically and
correctly put into every config file that matters, other than /etc/hosts
which I have rechecked a haf dozen times. You can see in the journalctl
output that the host that jabberd is seeing matches the actual hostname.
I've done the complete setup from scratch twice to make sure I hadn't
missed any step in the installation instructions.

Joe Belliveau, it sounded like you ran into an issue like this with your
new install?

Thanks in advance for any assistance,
Bruce Wainer
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Spacewalk-setup fails at restarting services (CentOS7)

2017-06-26 Thread Joe Belliveau
Just drop the c3po file into the lib directory for now. It works fine


Start a new thread about the osad issue and I'll help there as well. I just
stepped through these issues on a new deployment myself.

On Jun 26, 2017 10:29 AM, "Bruce Wainer"  wrote:

> Like you I also tried the symlink route, and had the same error.
> Everything was fine once I downgraded c3p0, but I am also worried about
> that in the long term. For now though I have frozen c3p0's version (there
> is a yum plugin for that). I do still have an issue with the osa-dispatcher
> service not being able to start that I am still working on diagnosing, but
> I don't think its related to the c3p0 package, which appears to be related
> to database access.
>
> Bruce Wainer
>
> > On Jun 26, 2017, at 10:19 AM, Mike  wrote:
> >
> > I tried symlinking the c3p0.jar in the relevant places, but still no
> dice: dead as a doornail.
> > I may have to try downgrading it, but I'm loathed to do it and end up in
> a dependency hell of some kind :)
> >
> > Journalctl suggests taskomatic's error to now be:
> > "java.lang.NoClassDefFoundError: com/mchange/v2/c3p0/DataSources"
> >
> > - M.
> >
> >> On 26/06/17 19:55, Bruce Wainer wrote:
> >> I ran into the same bug recently, and based on the lack of action in
> the Bugzilla, I would like to see a note about the issue be added to the
> wiki install instructions. It was incredibly frustrating to diagnose, and
> almost turned me off from spacewalk entirely. I would add a note to the
> wiki myself, but I'd like some input before I tread on anyone's fingers.
> >>
> >> Bruce Wainer
> >>
> >>> On Jun 26, 2017, at 4:40 AM, Paschedag, Robert <
> paschedag.netlut...@swr.de> wrote:
> >>>
> >>> Maybe you are facing this bug?
> >>>
> >>> https://www.redhat.com/archives/spacewalk-list/2017-June/msg00103.html
> >>>
> >>> Robert
> >>>
> >>>
> >>> Mit freundlichen Grüßen
> >>>
> >>> Robert Paschedag
> >>> Netlution GmbH
> >>> Landteilstr. 33
> >>> 68163 Mannheim
> >>>
> >>> im Auftrag des
> >>> SWR
> >>> Südwestrundfunk
> >>> HA IT, Medientechnik und Programmverbreitung
> >>> Neckarstraße 230
> >>> 70190 Stuttgart
> >>>
> >>> Telefon +49 (0)711 /929-12654 oder
> >>> Telefon +49 (0)711 /929-13714
> >>> paschedag.netlut...@swr.de
> >>>
> >>> swr.de
> >>>
> >>> -Ursprüngliche Nachricht-
> >>> Von: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-
> boun...@redhat.com] Im Auftrag von Mike
> >>> Gesendet: Montag, 26. Juni 2017 10:17
> >>> An: spacewalk-list@redhat.com
> >>> Betreff: [Spacewalk-list] Spacewalk-setup fails at restarting services
> (CentOS7)
> >>>
> >>> Hi all,
> >>>
> >>> I am facing an issue where the "spacewalk-setup" fails on a fresh
> install of CentOS 7.3.1611 x64:
> >>> When installing spacewalk 2.6 using the github wiki instructions with
> built-in postgreSQL the install goes well, until the "restarting services"
> where it fails.
> >>> I have tried building a fresh install a few times, but still the same
> error. The web server is up but the associated spacewalk services are not;
> The error log shows:
> >>>
> >>> SEVERE: LifecycleException
> >>> java.io.IOException: Failed to access resource /WEB-INF/lib/c3p0.jar
> >>>
> >>> and
> >>>
> >>> SEVERE: Error deploying configuration descriptor /etc/tomcat/Catalina/
> localhost/rhn.xml
> >>> java.lang.IllegalStateException: ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException: Failed to start component
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/rhn]]
> >>>   at org.apache.catalina.core.ContainerBase.addChildInternal(
> ContainerBase.java:903)
> >>>   at org.apache.catalina.core.ContainerBase.addChild(
> ContainerBase.java:875)
> >>>   at org.apache.catalina.core.StandardHost.addChild(
> StandardHost.java:652)
> >>>   at org.apache.catalina.startup.HostConfig.deployDescriptor(
> HostConfig.java:679)
> >>>   at org.apache.catalina.startup.HostConfig$DeployDescriptor.
> run(HostConfig.java:1966)
> >>>   at java.util.concurrent.Executors$RunnableAdapter.
> call(Executors.java:511)
> >>>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> >>>   at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1142)
> >>>   at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:617)
> >>>   at java.lang.Thread.run(Thread.java:748)
> >>>
> >>> ...amongst a few other, non-fatal looking errors.
> >>>
> >>> Is there something obvious I'm missing? I thought the install would
> cover all the dependencies.
> >>>
> >>>
> >>> Thanks,
> >>>
> >>> Mike.
> >>>
> >>>
> >>> ___
> >>> Spacewalk-list mailing list
> >>> Spacewalk-list@redhat.com
> >>> https://emea01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fwww.redhat.com%2Fmailman%2Flistinfo%
> 2Fspacewalk-list&data=02%7C01%7CPaschedag.Netlution%40swr.de%
> 7Cc1ce330ff619447078ec08d4bc6cf808%7Cbcca095d88d442f88260cc216b81
> f62d%7C

Re: [Spacewalk-list] Spacewalk-setup fails at restarting services (CentOS7)

2017-06-26 Thread Bruce Wainer
Like you I also tried the symlink route, and had the same error. Everything was 
fine once I downgraded c3p0, but I am also worried about that in the long term. 
For now though I have frozen c3p0's version (there is a yum plugin for that). I 
do still have an issue with the osa-dispatcher service not being able to start 
that I am still working on diagnosing, but I don't think its related to the 
c3p0 package, which appears to be related to database access.

Bruce Wainer

> On Jun 26, 2017, at 10:19 AM, Mike  wrote:
> 
> I tried symlinking the c3p0.jar in the relevant places, but still no dice: 
> dead as a doornail. 
> I may have to try downgrading it, but I'm loathed to do it and end up in a 
> dependency hell of some kind :)
> 
> Journalctl suggests taskomatic's error to now be:
> "java.lang.NoClassDefFoundError: com/mchange/v2/c3p0/DataSources"
> 
> - M.
> 
>> On 26/06/17 19:55, Bruce Wainer wrote:
>> I ran into the same bug recently, and based on the lack of action in the 
>> Bugzilla, I would like to see a note about the issue be added to the wiki 
>> install instructions. It was incredibly frustrating to diagnose, and almost 
>> turned me off from spacewalk entirely. I would add a note to the wiki 
>> myself, but I'd like some input before I tread on anyone's fingers.
>> 
>> Bruce Wainer
>> 
>>> On Jun 26, 2017, at 4:40 AM, Paschedag, Robert  
>>> wrote:
>>> 
>>> Maybe you are facing this bug?
>>> 
>>> https://www.redhat.com/archives/spacewalk-list/2017-June/msg00103.html
>>> 
>>> Robert
>>> 
>>> 
>>> Mit freundlichen Grüßen
>>> 
>>> Robert Paschedag
>>> Netlution GmbH
>>> Landteilstr. 33
>>> 68163 Mannheim
>>> 
>>> im Auftrag des
>>> SWR
>>> Südwestrundfunk
>>> HA IT, Medientechnik und Programmverbreitung
>>> Neckarstraße 230
>>> 70190 Stuttgart
>>> 
>>> Telefon +49 (0)711 /929-12654 oder
>>> Telefon +49 (0)711 /929-13714
>>> paschedag.netlut...@swr.de
>>> 
>>> swr.de
>>> 
>>> -Ursprüngliche Nachricht-
>>> Von: spacewalk-list-boun...@redhat.com 
>>> [mailto:spacewalk-list-boun...@redhat.com] Im Auftrag von Mike
>>> Gesendet: Montag, 26. Juni 2017 10:17
>>> An: spacewalk-list@redhat.com
>>> Betreff: [Spacewalk-list] Spacewalk-setup fails at restarting services 
>>> (CentOS7)
>>> 
>>> Hi all,
>>> 
>>> I am facing an issue where the "spacewalk-setup" fails on a fresh install 
>>> of CentOS 7.3.1611 x64:
>>> When installing spacewalk 2.6 using the github wiki instructions with 
>>> built-in postgreSQL the install goes well, until the "restarting services" 
>>> where it fails.
>>> I have tried building a fresh install a few times, but still the same 
>>> error. The web server is up but the associated spacewalk services are not; 
>>> The error log shows:
>>> 
>>> SEVERE: LifecycleException
>>> java.io.IOException: Failed to access resource /WEB-INF/lib/c3p0.jar
>>> 
>>> and
>>> 
>>> SEVERE: Error deploying configuration descriptor 
>>> /etc/tomcat/Catalina/localhost/rhn.xml
>>> java.lang.IllegalStateException: ContainerBase.addChild: start: 
>>> org.apache.catalina.LifecycleException: Failed to start component 
>>> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/rhn]]
>>>   at 
>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:903)
>>>   at 
>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
>>>   at 
>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
>>>   at 
>>> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:679)
>>>   at 
>>> org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1966)
>>>   at 
>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>>>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>>   at 
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>>   at 
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>>   at java.lang.Thread.run(Thread.java:748)
>>> 
>>> ...amongst a few other, non-fatal looking errors.
>>> 
>>> Is there something obvious I'm missing? I thought the install would cover 
>>> all the dependencies.
>>> 
>>> 
>>> Thanks,
>>> 
>>> Mike.
>>> 
>>> 
>>> ___
>>> Spacewalk-list mailing list
>>> Spacewalk-list@redhat.com
>>> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list&data=02%7C01%7CPaschedag.Netlution%40swr.de%7Cc1ce330ff619447078ec08d4bc6cf808%7Cbcca095d88d442f88260cc216b81f62d%7C0%7C0%7C636340623612402274&sdata=PB13TO6CpLf%2BnQSoXISxhPeb%2FFldE4vkcbbyT7lafK8%3D&reserved=0
>>> 
>>> ___
>>> Spacewalk-list mailing list
>>> Spacewalk-list@redhat.com
>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>> 
>> ___
>> Spacewalk-list mailing list
>> Spacewalk-list@redhat.com
>> https:

Re: [Spacewalk-list] Spacewalk-setup fails at restarting services (CentOS7)

2017-06-26 Thread Mike
I tried symlinking the c3p0.jar in the relevant places, but still no dice: dead 
as a doornail. 
I may have to try downgrading it, but I'm loathed to do it and end up in a 
dependency hell of some kind :)

Journalctl suggests taskomatic's error to now be:
"java.lang.NoClassDefFoundError: com/mchange/v2/c3p0/DataSources"

- M.

On 26/06/17 19:55, Bruce Wainer wrote:
> I ran into the same bug recently, and based on the lack of action in the 
> Bugzilla, I would like to see a note about the issue be added to the wiki 
> install instructions. It was incredibly frustrating to diagnose, and almost 
> turned me off from spacewalk entirely. I would add a note to the wiki myself, 
> but I'd like some input before I tread on anyone's fingers.
> 
> Bruce Wainer
> 
>> On Jun 26, 2017, at 4:40 AM, Paschedag, Robert  
>> wrote:
>>
>> Maybe you are facing this bug?
>>
>> https://www.redhat.com/archives/spacewalk-list/2017-June/msg00103.html
>>
>> Robert
>>
>>
>> Mit freundlichen Grüßen
>>
>> Robert Paschedag
>> Netlution GmbH
>> Landteilstr. 33
>> 68163 Mannheim
>>
>> im Auftrag des
>> SWR
>> Südwestrundfunk
>> HA IT, Medientechnik und Programmverbreitung
>> Neckarstraße 230
>> 70190 Stuttgart
>>
>> Telefon +49 (0)711 /929-12654 oder
>> Telefon +49 (0)711 /929-13714
>> paschedag.netlut...@swr.de
>>
>> swr.de
>>
>> -Ursprüngliche Nachricht-
>> Von: spacewalk-list-boun...@redhat.com 
>> [mailto:spacewalk-list-boun...@redhat.com] Im Auftrag von Mike
>> Gesendet: Montag, 26. Juni 2017 10:17
>> An: spacewalk-list@redhat.com
>> Betreff: [Spacewalk-list] Spacewalk-setup fails at restarting services 
>> (CentOS7)
>>
>> Hi all,
>>
>> I am facing an issue where the "spacewalk-setup" fails on a fresh install of 
>> CentOS 7.3.1611 x64:
>> When installing spacewalk 2.6 using the github wiki instructions with 
>> built-in postgreSQL the install goes well, until the "restarting services" 
>> where it fails.
>> I have tried building a fresh install a few times, but still the same error. 
>> The web server is up but the associated spacewalk services are not; The 
>> error log shows:
>>
>> SEVERE: LifecycleException
>> java.io.IOException: Failed to access resource /WEB-INF/lib/c3p0.jar
>>
>> and
>>
>> SEVERE: Error deploying configuration descriptor 
>> /etc/tomcat/Catalina/localhost/rhn.xml
>> java.lang.IllegalStateException: ContainerBase.addChild: start: 
>> org.apache.catalina.LifecycleException: Failed to start component 
>> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/rhn]]
>>at 
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:903)
>>at 
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
>>at 
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
>>at 
>> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:679)
>>at 
>> org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1966)
>>at 
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>>at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>at java.lang.Thread.run(Thread.java:748)
>>
>> ...amongst a few other, non-fatal looking errors.
>>
>> Is there something obvious I'm missing? I thought the install would cover 
>> all the dependencies.
>>
>>
>> Thanks,
>>
>> Mike.
>>
>>
>> ___
>> Spacewalk-list mailing list
>> Spacewalk-list@redhat.com
>> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list&data=02%7C01%7CPaschedag.Netlution%40swr.de%7Cc1ce330ff619447078ec08d4bc6cf808%7Cbcca095d88d442f88260cc216b81f62d%7C0%7C0%7C636340623612402274&sdata=PB13TO6CpLf%2BnQSoXISxhPeb%2FFldE4vkcbbyT7lafK8%3D&reserved=0
>>
>> ___
>> Spacewalk-list mailing list
>> Spacewalk-list@redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
> 
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> 

___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Spacewalk-setup fails at restarting services (CentOS7)

2017-06-26 Thread Bruce Wainer
I ran into the same bug recently, and based on the lack of action in the 
Bugzilla, I would like to see a note about the issue be added to the wiki 
install instructions. It was incredibly frustrating to diagnose, and almost 
turned me off from spacewalk entirely. I would add a note to the wiki myself, 
but I'd like some input before I tread on anyone's fingers.

Bruce Wainer

> On Jun 26, 2017, at 4:40 AM, Paschedag, Robert  
> wrote:
> 
> Maybe you are facing this bug?
> 
> https://www.redhat.com/archives/spacewalk-list/2017-June/msg00103.html
> 
> Robert
> 
> 
> Mit freundlichen Grüßen
> 
> Robert Paschedag
> Netlution GmbH
> Landteilstr. 33
> 68163 Mannheim
> 
> im Auftrag des
> SWR
> Südwestrundfunk
> HA IT, Medientechnik und Programmverbreitung
> Neckarstraße 230
> 70190 Stuttgart
> 
> Telefon +49 (0)711 /929-12654 oder
> Telefon +49 (0)711 /929-13714
> paschedag.netlut...@swr.de
> 
> swr.de
> 
> -Ursprüngliche Nachricht-
> Von: spacewalk-list-boun...@redhat.com 
> [mailto:spacewalk-list-boun...@redhat.com] Im Auftrag von Mike
> Gesendet: Montag, 26. Juni 2017 10:17
> An: spacewalk-list@redhat.com
> Betreff: [Spacewalk-list] Spacewalk-setup fails at restarting services 
> (CentOS7)
> 
> Hi all,
> 
> I am facing an issue where the "spacewalk-setup" fails on a fresh install of 
> CentOS 7.3.1611 x64:
> When installing spacewalk 2.6 using the github wiki instructions with 
> built-in postgreSQL the install goes well, until the "restarting services" 
> where it fails.
> I have tried building a fresh install a few times, but still the same error. 
> The web server is up but the associated spacewalk services are not; The error 
> log shows:
> 
> SEVERE: LifecycleException
> java.io.IOException: Failed to access resource /WEB-INF/lib/c3p0.jar
> 
> and
> 
> SEVERE: Error deploying configuration descriptor 
> /etc/tomcat/Catalina/localhost/rhn.xml
> java.lang.IllegalStateException: ContainerBase.addChild: start: 
> org.apache.catalina.LifecycleException: Failed to start component 
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/rhn]]
>at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:903)
>at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
>at 
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
>at 
> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:679)
>at 
> org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1966)
>at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>at java.lang.Thread.run(Thread.java:748)
> 
> ...amongst a few other, non-fatal looking errors.
> 
> Is there something obvious I'm missing? I thought the install would cover all 
> the dependencies.
> 
> 
> Thanks,
> 
> Mike.
> 
> 
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list&data=02%7C01%7CPaschedag.Netlution%40swr.de%7Cc1ce330ff619447078ec08d4bc6cf808%7Cbcca095d88d442f88260cc216b81f62d%7C0%7C0%7C636340623612402274&sdata=PB13TO6CpLf%2BnQSoXISxhPeb%2FFldE4vkcbbyT7lafK8%3D&reserved=0
> 
> ___
> Spacewalk-list mailing list
> Spacewalk-list@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Spacewalk-setup fails at restarting services (CentOS7)

2017-06-26 Thread Paschedag, Robert
Maybe you are facing this bug?

https://www.redhat.com/archives/spacewalk-list/2017-June/msg00103.html

Robert


Mit freundlichen Grüßen

Robert Paschedag
Netlution GmbH
Landteilstr. 33
68163 Mannheim

im Auftrag des
SWR
Südwestrundfunk
HA IT, Medientechnik und Programmverbreitung
Neckarstraße 230
70190 Stuttgart

Telefon +49 (0)711 /929-12654 oder
Telefon +49 (0)711 /929-13714
paschedag.netlut...@swr.de

swr.de

-Ursprüngliche Nachricht-
Von: spacewalk-list-boun...@redhat.com 
[mailto:spacewalk-list-boun...@redhat.com] Im Auftrag von Mike
Gesendet: Montag, 26. Juni 2017 10:17
An: spacewalk-list@redhat.com
Betreff: [Spacewalk-list] Spacewalk-setup fails at restarting services (CentOS7)

Hi all,

I am facing an issue where the "spacewalk-setup" fails on a fresh install of 
CentOS 7.3.1611 x64:
When installing spacewalk 2.6 using the github wiki instructions with built-in 
postgreSQL the install goes well, until the "restarting services" where it 
fails.
I have tried building a fresh install a few times, but still the same error. 
The web server is up but the associated spacewalk services are not; The error 
log shows:

SEVERE: LifecycleException
java.io.IOException: Failed to access resource /WEB-INF/lib/c3p0.jar

and

SEVERE: Error deploying configuration descriptor 
/etc/tomcat/Catalina/localhost/rhn.xml
java.lang.IllegalStateException: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: Failed to start component 
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/rhn]]
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:903)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at 
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:679)
at 
org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1966)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)

...amongst a few other, non-fatal looking errors.

Is there something obvious I'm missing? I thought the install would cover all 
the dependencies.


Thanks,

Mike.


___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.redhat.com%2Fmailman%2Flistinfo%2Fspacewalk-list&data=02%7C01%7CPaschedag.Netlution%40swr.de%7Cc1ce330ff619447078ec08d4bc6cf808%7Cbcca095d88d442f88260cc216b81f62d%7C0%7C0%7C636340623612402274&sdata=PB13TO6CpLf%2BnQSoXISxhPeb%2FFldE4vkcbbyT7lafK8%3D&reserved=0

___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list


[Spacewalk-list] Spacewalk-setup fails at restarting services (CentOS7)

2017-06-26 Thread Mike
Hi all,

I am facing an issue where the "spacewalk-setup" fails on a fresh install of 
CentOS 7.3.1611 x64:
When installing spacewalk 2.6 using the github wiki instructions with built-in 
postgreSQL the install goes well, until the "restarting services" where it 
fails.
I have tried building a fresh install a few times, but still the same error. 
The web server is up but the associated spacewalk services are not; The error 
log shows:

SEVERE: LifecycleException
java.io.IOException: Failed to access resource /WEB-INF/lib/c3p0.jar

and

SEVERE: Error deploying configuration descriptor 
/etc/tomcat/Catalina/localhost/rhn.xml
java.lang.IllegalStateException: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: Failed to start component 
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/rhn]]
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:903)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at 
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:679)
at 
org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1966)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)

...amongst a few other, non-fatal looking errors.

Is there something obvious I'm missing? I thought the install would cover all 
the dependencies.


Thanks,

Mike.


___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list