db4hg
July 15, 2016, 10:14am
1
Hi
I just did an apt-get upgrade on my Raspberry Pi and received a new version of homegear (version 0.6.3-1415 ).
After doing this, I ended up with the (looking at older discussions well known) problem that results in the following message:
07/15/16 12:10:27.477 Could not connect to socket. Error: No such file or directory
07/15/16 12:10:27.478 Could not connect to socket. Error: No such file or directory
Any idea on what to do?
Cheers
Dieter
Try restarting openHAB some more times with sudo service homegear restart. On my machine usually it takes tree or four restarts.
Thomas
db4hg
July 15, 2016, 12:44pm
3
Hi Thomas
Thanks for you answer. Unfortunately this does not help. I did quite some restarts of the service, reinstalls of the software and reboots of the system.
Looking at the log err file there is a hint where this problem comes from:
07/15/16 14:41:13.275 Critical: Could not open module “/var/lib/homegear/modules/mod_homematicbidcos.so”: /var/lib/homegear/modules/mod_homematicbidcos.so: undefined symbol: _ZN7BaseLib7Systems18PhysicalInterfacesC2EPNS_3ObjEiSt6vectorISt10shared_ptrINS0_25PhysicalInterfaceSettingsEESaIS7_EE
07/15/16 14:41:13.292 Critical: Could not open module “/var/lib/homegear/modules/mod_max.so”. Symbol “getFamilyId” not found.
07/15/16 14:41:13.308 Critical: Could not open module “/var/lib/homegear/modules/mod_homematicwired.so”. Symbol “getFamilyId” not found.
07/15/16 14:41:13.326 Critical: Could not open module “/var/lib/homegear/modules/mod_insteon.so”. Symbol “getFamilyId” not found.
07/15/16 14:41:13.329 Critical: Could not open module “/var/lib/homegear/modules/mod_miscellaneous.so”. Module is compiled for Homegear version 0.6.2-1396
07/15/16 14:41:13.343 Critical: Could not open module “/var/lib/homegear/modules/mod_philipshue.so”. Symbol “getFamilyId” not found.
07/15/16 14:41:13.343 Critical: Could not load any family modules from “/var/lib/homegear/modules/”.
07/15/16 14:41:13.345 Error in file main.cpp line 975 in function void startUp(): Could not open directory.
07/15/16 14:41:13.347 Error: Can’t execute “PRAGMA journal_mode = DELETE”: attempt to write a readonly database
Looks like the update did not get all of the required parts in the right version, or some required permissions have changed.
Hi,
on the homepage i do not find a 0.6.3-1415 version, but that does no mean any thing. Have you tried to download the latest Raspi image from the page?
Thomas
db4hg
July 15, 2016, 2:11pm
5
Have you tried to download the latest Raspi image from the page?
No. That does not make sense for me. I have installed lots of other things.
The only way for me to go is to “apt-get upgrade” it.
Dieter
jensk
July 16, 2016, 8:59am
6
Hi!
…same issue here after I apt-upgraded from 0.6.2 to 0.6.3
07/16/16 10:39:15.074 Error in file main.cpp line 975 in function void startUp(): Could not open directory.
07/16/16 10:39:15.077 Error: Can’t execute “PRAGMA journal_mode = DELETE”: attempt to write a readonly database
thnx for any advice.
Jens
iWampy
July 16, 2016, 1:45pm
7
Hi,
same issue here after upgrade to 0.6.3-1415
Startuplog:
07/16/16 15:35:25.642 Loading RPC server settings from /etc/homegear/rpcservers.conf
07/16/16 15:35:25.649 Loading RPC client settings from /etc/homegear/rpcclients.conf
07/16/16 15:35:25.671 Starting Homegear...
07/16/16 15:35:25.674 Homegear version 0.6.3-1415
07/16/16 15:35:25.676 Git commit SHA of libhomegear-base: -
07/16/16 15:35:25.678 Git branch of libhomegear-base: -
07/16/16 15:35:25.680 Git commit SHA of Homegear: -
07/16/16 15:35:25.682 Git branch of Homegear: -
07/16/16 15:35:25.878 Initializing database...
07/16/16 15:35:26.757 Info: Loading family module mod_miscellaneous.so
07/16/16 15:35:26.777 /etc/homegear/families/miscellaneous.conf
07/16/16 15:35:26.781 Info: Loading family module mod_homematicbidcos.so
07/16/16 15:35:26.861 /etc/homegear/families/homematicbidcos.conf
07/16/16 15:35:26.868 Info: Loading family module mod_max.so
07/16/16 15:35:26.916 /etc/homegear/families/max.conf
07/16/16 15:35:26.920 Info: Loading family module mod_philipshue.so
07/16/16 15:35:26.958 /etc/homegear/families/philipshue.conf
07/16/16 15:35:26.968 Info: Loading family module mod_homematicwired.so
07/16/16 15:35:27.056 /etc/homegear/families/homematicwired.conf
07/16/16 15:35:27.060 Info: Loading family module mod_insteon.so
07/16/16 15:35:27.129 /etc/homegear/families/insteon.conf
07/16/16 15:35:27.134 Info: Setting up physical interfaces and GPIOs...
07/16/16 15:35:27.137 Info: Dropping privileges to user homegear (111) and group homegear (116)
07/16/16 15:35:27.140 Info: Homegear is (now) running as user with id 111 and group with id 116.
07/16/16 15:35:27.142 Info: Setting allowed core file size to "4294967295" for user with id 111 and group with id 116.
07/16/16 15:35:27.144 Info: Core file size now is "4294967295".
07/16/16 15:35:27.147 Info: Setting maximum thread priority to "0" for user with id 111 and group with id 116.
07/16/16 15:35:27.149 Info: Maximum thread priority now is "0".
07/16/16 15:35:27.152 Error in file main.cpp line 975 in function void startUp(): Could not open directory.
07/16/16 15:35:27.154 Error in file main.cpp line 975 in function void startUp(): Could not open directory.
07/16/16 15:35:27.161 Info: Disposing family module mod_philipshue.so
07/16/16 15:35:27.163 Info: Disposing family module mod_miscellaneous.so
07/16/16 15:35:27.166 Info: Disposing family module mod_max.so
07/16/16 15:35:27.168 Info: Disposing family module mod_insteon.so
07/16/16 15:35:27.171 Info: Disposing family module mod_homematicwired.so
07/16/16 15:35:27.174 Info: Disposing family module mod_homematicbidcos.so
07/16/16 15:35:27.184 Closing database...
07/16/16 15:35:27.221 Error: Can't execute "PRAGMA journal_mode = DELETE": attempt to write a readonly database
07/16/16 15:35:27.223 Error: Can't execute "PRAGMA journal_mode = DELETE": attempt to write a readonly database
07/16/16 15:35:27.229 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.231 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.235 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.237 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.241 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.242 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.245 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.246 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.248 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.250 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.252 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.253 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.255 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.257 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.259 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.260 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.262 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.263 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.265 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.267 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.269 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.271 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.273 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.275 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.277 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.279 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.281 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.282 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.285 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.286 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.290 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.291 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.292 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.294 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.295 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.297 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.299 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.301 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.302 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.304 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.306 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.308 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.311 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.312 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.315 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.316 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.318 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
07/16/16 15:35:27.320 Error in file RPC/Client.cpp line 397 in function void RPC::Client::broadcastError(int32_t, std::string): Invalid argument
iWampy
July 16, 2016, 6:52pm
8
Fix is online. homegear works again with Version 0.6.3-1420 for me.
Thanks.
jensk
July 17, 2016, 8:33am
10
Thanks for the quick support! Great!
Jens
sathya
July 17, 2016, 3:57pm
11
The “Signal 6” was caused by a mistake I made in solving a merge conflict (merging dev with stable) . It’s fixed in the repositories now, too.
Cheers,
Sathya
pmayer
Split this topic
November 15, 2017, 9:17pm
12
A post was split to a new topic: Could not connect to socket