Spacewalk Repo Sync Fails With Error: [DefaultQuartzScheduler_Worker-7]- Executing a Task Threw an Exception: org.quartz.JobExecutionException (Doc ID 2241531.1)

Last updated on MARCH 13, 2017

Applies to:

Linux OS - Version Oracle Linux 6.8 and later
Information in this document applies to any platform.

Symptoms

Everytime when initiating a repo sync it starts off fine but after a while it fails with below error..

[root@infospace01 reposync]# cat /var/log/rhn/tasko/org1/repo-sync-bunch/repo-sync_234_err
2017-02-21 06:45:58,460 [DefaultQuartzScheduler_Worker-7] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask - Executing a task threw an exception: org.quartz.JobExecutionException
2017-02-21 06:45:58,462 [DefaultQuartzScheduler_Worker-7] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask - Message: Command '[/usr/bin/spacewalk-repo-sync, --channel, oraclelinux5-x86_64, --type, yum]' exited with error code 137
2017-02-21 06:45:58,462 [DefaultQuartzScheduler_Worker-7] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask - Cause: null
2017-02-21 06:45:58,473 [DefaultQuartzScheduler_Worker-7] ERROR com.redhat.rhn.taskomatic.task.RepoSyncTask - Stack trace:org.quartz.JobExecutionException: Command '[/usr/bin/spacewalk-repo-sync, --channel, oraclelinux5-x86_64, --type, yum]' exited with error code 137
at com.redhat.rhn.taskomatic.task.RhnJavaJob.executeExtCmd(RhnJavaJob.java:112)
at com.redhat.rhn.taskomatic.task.RepoSyncTask.execute(RepoSyncTask.java:74)
at com.redhat.rhn.taskomatic.task.RhnJavaJob.execute(RhnJavaJob.java:89)
at com.redhat.rhn.taskomatic.TaskoJob.execute(TaskoJob.java:185)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms