0

OpenWRT controllee issue : Could not initialize BusAttachment. Retrying

asked 2014-08-11 22:21:26 -0800

tashi gravatar image

updated 2014-09-16 13:39:07 -0800

Nikhil Dabhade gravatar image

I am trying to run controllee application in openWRT linux.

Daemon is successfully running. when I run controllee sample application ./ControlPanelSample

I get following logs.

Beginning ControlPanel Application. (Press CTRL+C to end application) 0.193 * ERROR STREAM external ...os/posix/FileStream.cc:180 | 0x0004 0.193 ERROR ALLJOYN_AUTH external ...n_core/src/KeyStore.cc:111 | 0x9002 Could not initialize BusAttachment. Retrying 1.221 ERROR STREAM external ...os/posix/FileStream.cc:180 | 0x0004 1.221 ERROR ALLJOYN_AUTH external ...n_core/src/KeyStore.cc:111 | 0x9002 Could not initialize BusAttachment. Retrying 2.247 ERROR STREAM external ...os/posix/FileStream.cc:180 | 0x0004 2.247 * ERROR ALLJOYN_AUTH external ...n_core/src/KeyStore.cc:111 | 0x9002

Please help !!!!

edit retag flag offensive close merge delete

Comments

@tashi for some reason it looks like the process isn't running as root and as such cannot create a directory. Can you try with sudo ./ControlPanelSample to see if that works?

bspencer ( 2014-08-12 09:47:45 -0800 )edit

Thanks for your response. But unfortunately sudo ./ControlPanelSample did not work for me...

tashi ( 2014-08-13 03:14:47 -0800 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-08-15 16:25:35 -0800

You do not have permission to create the $HOME/.alljoyn_keystore/CommonServiceApp file.

Verify that you can create the file needed using shell commands (e.g. mkdir -p $HOME/.alljoyn_keystore; touch $HOME/.alljoyn_keystore/CommonServiceApp).

If that does not work, I suspect you are trying to create a file on a read-only partition. Set HOME to a partition you can write to.

edit flag offensive delete publish link more
0

answered 2014-09-14 21:35:15 -0800

tashi gravatar image

Setting HOME to a partition where I have write permission worked. Thanks everyone

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-08-11 22:21:26 -0800

Seen: 289 times

Last updated: Sep 14 '14