[Spacewalk-list] SOLVED: no cache rebuild after cleanup from /var/cache/rhn
Jesus Rodriguez
jesusr at redhat.com
Wed Apr 15 01:27:34 UTC 2009
On Tue, Apr 14, 2009 at 11:53:17PM +0200, Thomas von Steiger wrote:
>>
>> < s n i p >
>> STATUS | wrapper | 2009/04/14 22:33:44 | Launching a JVM...
>> INFO | jvm 5 | 2009/04/14 22:33:44 | Exception in thread "main"
>> java.lang.NoClassDefFoundError: com/redhat/rhn/taskomatic/
>> TaskomaticDaemon
>> INFO | jvm 5 | 2009/04/14 22:33:44 | Caused by:
>> java.lang.ClassNotFoundException:
>> com.redhat.rhn.taskomatic.TaskomaticDaemon
>> INFO | jvm 5 | 2009/04/14 22:33:44 | at java.net.URLClassLoader
>> $1.run(URLClassLoader.java:217)
>> INFO | jvm 5 | 2009/04/14 22:33:44 | at
>> java.security.AccessController.doPrivileged(Native Method)
>> INFO | jvm 5 | 2009/04/14 22:33:44 | at
>> java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>> INFO | jvm 5 | 2009/04/14 22:33:44 | at
>> java.lang.ClassLoader.loadClass(ClassLoader.java:323)
>> INFO | jvm 5 | 2009/04/14 22:33:44 | at sun.misc.Launcher
>> $AppClassLoader.loadClass(Launcher.java:294)
>> INFO | jvm 5 | 2009/04/14 22:33:44 | at
>> java.lang.ClassLoader.loadClass(ClassLoader.java:268)
>> INFO | jvm 5 | 2009/04/14 22:33:44 | at
>> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
>> INFO | jvm 5 | 2009/04/14 22:33:44 | Could not find the main
>> class: com.redhat.rhn.taskomatic.TaskomaticDaemon. Program will exit.
>> ERROR | wrapper | 2009/04/14 22:33:44 | JVM exited while loading the
>> application.
>> FATAL | wrapper | 2009/04/14 22:33:44 | There were 5 failed launches
>> in a row, each lasting less than 300 seconds. Giving up.
>> FATAL | wrapper | 2009/04/14 22:33:44 | There may be a
>> configuration problem: please check the logs.
>> STATUS | wrapper | 2009/04/14 22:33:44 | <-- Wrapper Stopped
>> < s n a p >
>>
>> There is a problem with taskomatic not running correctly on my
>> spacewalk and maybe this has todo with no cache rebuild?
>>
>
>
> I found the problem in taskomatic config:
>
> change in /etc/rhn/default/rhn_taskomatic_daemon.conf
>
> from:
> wrapper.java.mainclass=com.redhat.rhn.taskomatic.TaskomaticDaemon
> to:
> wrapper.java.mainclass=com.redhat.rhn.taskomatic.core.TaskomaticDaemon
>
>
> and taskomatic is running now, cache rebuild is running too...
>
> Thomas
Was this an upgrade scenario? I'm trying to see why the configuration
was messed up.
--
jesus m. rodriguez | jesusr at redhat.com
sr. software engineer | irc: zeus
rhn satellite & spacewalk | 919.754.4413 (w)
rhce # 805008586930012 | 919.623.0080 (c)
+-------------------------------------------+
| "Those who cannot learn from history |
| are doomed to repeat it." |
| -- George Santayana |
+-------------------------------------------+
More information about the Spacewalk-list
mailing list