[Spacewalk-list] Spacewalk 2.6: Taskomatic Service Failed

Sreejith P G sreejith.512 at gmail.com
Wed Apr 19 07:13:16 UTC 2017


Thanks a ton Bro, it worked. Thanks a lot...

On Mon, Apr 17, 2017 at 10:17 PM, Porter, Michael A ERDC-RDE-ITL-MS
Contractor <Michael.A.Porter at erdc.dren.mil> wrote:

> Sreejith,
>
> I ran into the same error from updating my Spacewalk server, I haven't had
> a chance to deeply
> troubleshoot the issue but i was able to temporarily resolve it by rolling
> the package below back
>
> This version from the EPEL repo broke tasktomatic:
> *c3p0.noarch 0:0.9.2.1-5.el7*
>
> This is the package i went back to from the jpackage-generic repo
> *c3p0.noarch 0:0.9.1.2-2.jpp5*
>
>
>
> I also had issues with spacewalk clients not receiving repodata correctly
> after attempting
> to update these Apache packages, I had to roll them back to in order to
> resolve the issue,
> I should also note these updates break the spacewalk proxy server as well
>
> Package versions from the rhel-7-server-rpms repo that broke the clients:
>
>
>
> *httpd-2.4.6-45.el7_3.4.x86_64 httpd-tools-2.4.6-45.el7_3.4.x86_64
> mod_ssl-2.4.6-45.el7_3.4.x86_64 *
> Package versions from the rhel-7-server-rpms repo that I rolled back to:
> *httpd-2.4.6-45.el7.x86_64*
> *httpd-tools-2.4.6-45.el7.x86_64*
> *mod_ssl-2.4.6-45.el7.x86_64*
>
> This is what the clients looks like when i installed the updates
> ~]# yum clean all
> Loaded plugins: package_upload, product-id, rhnplugin,
> search-disabled-repos, subscription-manager
> Cleaning repos: epel_el7_x86_64 rhel-7-server-extras-rpms
> rhel-7-server-optional-rpms rhel-7-server-rh-common-rpms
> rhel-7-server-rhn-tools-rpms rhel-7-server-supplementary-rpms
> rhel_7_x86_64
>               : runner_gitlab-ci-multi-runner_el_7_x86_64
> spacewalk_2.6_el7_x86_64 spacewalk_client_2.6_el7_x86_64
> Cleaning up everything
>
> ~]# yum repolist enabled
> Loaded plugins: package_upload, product-id, rhnplugin,
> search-disabled-repos, subscription-manager
> This system is receiving updates from RHN Classic or Red Hat Satellite.
> repo id repo name status
> epel_el7_x86_64 Extra Packages for Enterprise Linux 7 - x86_64 0
> rhel-7-server-extras-rpms RHEL 7 Server - Extras (RPMs) 0
> rhel-7-server-optional-rpms RHEL 7 Server - Optional (RPMs) 0
> rhel-7-server-rh-common-rpms RHEL 7 Server - RH Common (RPMs) 0
> rhel-7-server-rhn-tools-rpms RHEL 7 Server - RHN Tools (RPMs) 0
> rhel-7-server-supplementary-rpms RHEL 7 Server - Supplementary (RPMs) 0
> rhel_7_x86_64 RHEL 7 x86_64 0
> runner_gitlab-ci-multi-runner_el_7_x86_64 GitLab Runner EL 7 x86_64 0
> spacewalk_2.6_el7_x86_64 Spacewalk 2.6 EL 7 x86_64 0
> spacewalk_client_2.6_el7_x86_64 Spacewalk Client 2.6 EL 7 x86_64 0
> repolist: 0
>
>
> Are others experiencing the update issues above?
>
>
> Respectfully,
>
> Andy Porter
> Linux Systems Administrator
>
> From: <spacewalk-list-bounces at redhat.com> on behalf of Sreejith P G <
> sreejith.512 at gmail.com>
> Reply-To: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
> Date: Saturday, April 15, 2017 at 8:38 PM
> To: "spacewalk-list at redhat.com" <spacewalk-list at redhat.com>
> Subject: [Spacewalk-list] Spacewalk 2.6: Taskomatic Service Failed
>
> Hi Team,
>           I have installed Spacewalk 2.6 on CentOS 7 server but taskomatic
> service is not coming up, error log below. Can anyone help me out.
>
> [root at cent7srv1 java]# systemctl status taskomatic.service -l
> ● taskomatic.service - Taskomatic
>    Loaded: loaded (/usr/lib/systemd/system/taskomatic.service; enabled;
> vendor preset: disabled)
>    Active: failed (Result: exit-code) since Sun 2017-04-16 17:32:22 +08;
> 4min 10s ago
>   Process: 3372 ExecStop=/usr/sbin/taskomatic stop (code=exited,
> status=0/SUCCESS)
>   Process: 3282 ExecStart=/usr/sbin/taskomatic start (code=exited,
> status=0/SUCCESS)
>  Main PID: 3296 (code=exited, status=255)
>
> Apr 16 17:32:16 cent7srv1 taskomatic[3282]: Starting RHN Taskomatic...
> Apr 16 17:32:16 cent7srv1 wrapper[3296]: --> Wrapper Started as Daemon
> Apr 16 17:32:17 cent7srv1 wrapper[3296]: Launching a JVM...
> Apr 16 17:32:17 cent7srv1 systemd[1]: Started Taskomatic.
> Apr 16 17:32:20 cent7srv1 wrapper[3296]: com/mchange/v2/c3p0/DataSources
>                                          java.lang.NoClassDefFoundError:
> com/mchange/v2/c3p0/DataSources
>                                                  at
> org.hibernate.connection.C3P0ConnectionProvider.configure(
> C3P0ConnectionProvider.java:154)
>                                                  at
> org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(
> ConnectionProviderFactory.java:124)
>                                                  at
> org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(
> ConnectionProviderFactory.java:56)
>                                                  at org.hibernate.cfg.
> SettingsFactory.createConnectionProvider(SettingsFactory.java:414)
>                                                  at org.hibernate.cfg.
> SettingsFactory.buildSettings(SettingsFactory.java:62)
>                                                  at org.hibernate.cfg.
> Configuration.buildSettings(Configuration.java:2009)
>                                                  at org.hibernate.cfg.
> Configuration.buildSessionFactory(Configuration.java:1292)
>                                                  at com.redhat.rhn.common.
> hibernate.ConnectionManager.createSessionFactory(
> ConnectionManager.java:205)
>                                                  at com.redhat.rhn.common.
> hibernate.ConnectionManager.initialize(ConnectionManager.java:134)
>                                                  at com.redhat.rhn.common.
> hibernate.HibernateFactory.createSessionFactory(HibernateFactory.java:107)
>                                                  at
> com.redhat.rhn.taskomatic.core.SchedulerKernel.startup(
> SchedulerKernel.java:139)
>                                                  at
> com.redhat.rhn.taskomatic.core.TaskomaticDaemon$1.run(
> TaskomaticDaemon.java:86)
>                                                  at
> java.lang.Thread.run(Thread.java:745)
>                                          Caused by: java.lang.ClassNotFoundException:
> com.mchange.v2.c3p0.DataSources
>                                                  at
> java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>                                                  at java.lang.ClassLoader.
> loadClass(ClassLoader.java:424)
>                                                  at sun.misc.Launcher$
> AppClassLoader.loadClass(Launcher.java:331)
>                                                  at java.lang.ClassLoader.
> loadClass(ClassLoader.java:357)
>                                                  ... 13 more
> Apr 16 17:32:22 cent7srv1 systemd[1]: taskomatic.service: main process
> exited, code=exited, status=255/n/a
> Apr 16 17:32:22 cent7srv1 taskomatic[3372]: Stopping RHN Taskomatic...
> Apr 16 17:32:22 cent7srv1 taskomatic[3372]: RHN Taskomatic was not running.
> Apr 16 17:32:22 cent7srv1 systemd[1]: Unit taskomatic.service entered
> failed state.
> Apr 16 17:32:22 cent7srv1 systemd[1]: taskomatic.service failed.
> [root at cent7srv1 java]#
>
>
> --
> Regards,
> Sreejith P G
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>



-- 
Regards,
Sreejith P G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20170419/a163395b/attachment.htm>


More information about the Spacewalk-list mailing list