Getting exception conf/zoo.cfg (No such file or directory)

427 views
Skip to first unread message

Neha

unread,
May 8, 2014, 8:29:11 AM5/8/14
to exhibit...@googlegroups.com, neha_sjain
Hi,

I am a newbie to Zookeeper and Exhibitor. I have set all the required paths in Exhibitor UI.
When i restart ZK instance through Control Panel on UI, i get following exception-

Thu May 08 17:48:53 IST 2014    ERROR    Monitoring instance (java.io.FileNotFoundException: /conf/zoo.cfg (No such file or directory), 
  at java.io.FileOutputStream.open(Native Method),     at java.io.FileOutputStream.<init>(FileOutputStream.java:212), 
  at java.io.FileOutputStream.<init>(FileOutputStream.java:165),  
  at com.netflix.exhibitor.core.processes.StandardProcessOperations.prepConfigFile(StandardProcessOperations.java:154), 
  at com.netflix.exhibitor.core.processes.StandardProcessOperations.startInstance(StandardProcessOperations.java:100),   
  at com.netflix.exhibitor.core.state.KillRunningInstance.completed(KillRunningInstance.java:41),   
  at com.netflix.exhibitor.core.activity.ActivityQueue$1.run(ActivityQueue.java:127),   
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471), 
  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334),   
  at java.util.concurrent.FutureTask.run(FutureTask.java:166),    
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110),   
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603),  
  at java.lang.Thread.run(Thread.java:722))
Thu May 08 17:48:53 IST 2014    INFO    Starting in standalone mode
Thu May 08 17:48:53 IST 2014    INFO    jps didn't find instance - assuming ZK is not running
Thu May 08 17:48:53 IST 2014    INFO    Attempting to start/restart ZooKeeper
Thu May 08 17:48:53 IST 2014    INFO    Attempting to stop instance

Can someone please tell me how would i resolve this error

Thanks,
Neha

Jordan Zimmerman

unread,
May 8, 2014, 8:40:45 AM5/8/14
to exhibit...@googlegroups.com, Neha, neha_sjain

/conf/zoo.cfg


This part is suspicious. Maybe the ZooKeeper directories on the Config page are incorrect?


-JZ

Neha

unread,
May 8, 2014, 9:10:20 AM5/8/14
to exhibit...@googlegroups.com, Neha
Hi,

I made sure that the directories are correct.
For ZooKeeper Install Dir- i gave absolute path to the directory where zookeeper is installed
For snapshot and log dir i created directories through mkdir command and gave absolute path for both

Is the right way? Am i missing something?

Thanks in advance

-Neha

Jordan Zimmerman

unread,
May 8, 2014, 9:11:52 AM5/8/14
to exhibit...@googlegroups.com, Neha, Neha
What version of Exhibitor? Are you using the stand-alone version, the WAR version, a custom build? Please send the Exhibitor logs and the ZooKeeper logs.

-JZ
--
You received this message because you are subscribed to the Google Groups "exhibitor-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exhibitor-use...@googlegroups.com.
To post to this group, send email to exhibit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/exhibitor-users/7630ab6d-f498-42ce-b233-3e726e998424%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages