Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Chukwa >> mail # user >> Error starting agent on cygwin

Copy link to this message
Re: Error starting agent on cygwin
Java class path construction in chukwa-config.sh did not work for Cygwin.
It may be useful to run "bash -x chukwa agent" to see what the constructed
class path looks like. What version of Java and Chukwa are you using?


On Wed, Jan 4, 2012 at 1:29 PM, Abhijit Dhar <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm attempting to start agent on cygwin on windows and I'm getting this
> error. Any clue what is going on?(I've echoed the bin and chukwa_conf_dir
> its using)
> $ ./bin/start-agents.sh
> bin: /cygdrive/c/jagundi/chukwa/chukwa-0.5/bin
> chukwa_conf_dir: /cygdrive/c/jagundi/chukwa/chukwa-0.5/etc/chukwa
> localhost: starting agent, logging to
> /tmp/chukwa/log/chukwa-abhijit-agent-abhijit-PC.out
> localhost: java.lang.NoClassDefFoundError: Files
> localhost: Caused by: java.lang.ClassNotFoundException: Files
> localhost:      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> localhost:      at java.security.AccessController.doPrivileged(Native
> Method)
> localhost:      at
> java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> localhost:      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> localhost:      at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> localhost:      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> localhost: Could not find the main class: Files.  Program will exit.
> localhost: Exception in thread "main"
> --
> View this message in context: http://apache-chukwa.679492.n3.nabble.com/Error-starting-agent-on-cygwin-tp3633122p3633122.html
> Sent from the Chukwa - Users mailing list archive at Nabble.com.