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

Bruce Wainer bruce at brucewainer.com
Mon Jun 26 14:28:18 UTC 2017


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 <mike at infinilan.com> 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.netlution at 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.netlution at swr.de
>>> 
>>> swr.de
>>> 
>>> -----Ursprüngliche Nachricht-----
>>> Von: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] Im Auftrag von Mike
>>> Gesendet: Montag, 26. Juni 2017 10:17
>>> An: spacewalk-list at 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 at 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 at redhat.com
>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>> 
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>> 
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list