Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - LA

Pages: [1] 2
1
Developers / Re: Pandaboard and Standalone DCE
« on: September 10, 2011, 06:20:40 pm »
thanks, hari.
Which port is used by Mini webserver now? I thought that it is 8088, but http://127.0.0.1:8088 shows nothing.
However I am not sure if this is running correctly:
Quote
user@ubuntu:/opt/pluto/bin$ ./DCERouter -h 127.0.0.1
touch: cannot touch `/opt/pluto/var/DCERouter.running': No such file or directory
Copyright (C) 2004 Pluto, Inc., a Florida Corporation
www.plutohome.com
Phone: +1 (877) 758-8648
This program is distributed according to the terms of the GNU Public License, available at:
http://www.fsf.org/licensing/licenses/gpl.html
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Public License for more details.
---------------

01   09/10/11 12:15:24.265      Can't open plug-in file './File_Grids_Plugin.so': ./File_Grids_Plugin.so: cannot open shared object file: No such file or directory <0xb78da6d0>
01   09/10/11 12:15:24.266      Cannot load plug-in for device: 3. Be sure the file File_Grids_Plugin exists <0xb78da6d0>
05   09/10/11 12:15:24.347      Loaded plug-in device: 4 master device: 27 -- ./General_Info_Plugin.so <0xb78da6d0>
01   09/10/11 12:15:24.347      Can't open plug-in file './Climate_Plugin.so': ./Climate_Plugin.so: cannot open shared object file: No such file or directory <0xb78da6d0>
01   09/10/11 12:15:24.347      Cannot load plug-in for device: 5. Be sure the file Climate_Plugin exists <0xb78da6d0>
01   09/10/11 12:15:24.348      Can't open plug-in file './Datagrid_Plugin.so': ./Datagrid_Plugin.so: cannot open shared object file: No such file or directory <0xb78da6d0>
01   09/10/11 12:15:24.348      Cannot load plug-in for device: 6. Be sure the file Datagrid_Plugin exists <0xb78da6d0>
01   09/10/11 12:15:24.348      Can't open plug-in file './Infrared_Plugin.so': ./Infrared_Plugin.so: cannot open shared object file: No such file or directory <0xb78da6d0>
01   09/10/11 12:15:24.348      Cannot load plug-in for device: 7. Be sure the file Infrared_Plugin exists <0xb78da6d0>
05   09/10/11 12:15:24.370      Loaded plug-in device: 8 master device: 32 -- ./Lighting_Plugin.so <0xb78da6d0>
01   09/10/11 12:15:24.370      Can't open plug-in file './Orbiter_Plugin.so': ./Orbiter_Plugin.so: cannot open shared object file: No such file or directory <0xb78da6d0>
01   09/10/11 12:15:24.370      Cannot load plug-in for device: 9. Be sure the file Orbiter_Plugin exists <0xb78da6d0>
01   09/10/11 12:15:24.370      Can't open plug-in file './Media_Plugin.so': ./Media_Plugin.so: cannot open shared object file: No such file or directory <0xb78da6d0>
01   09/10/11 12:15:24.370      Cannot load plug-in for device: 10. Be sure the file Media_Plugin exists <0xb78da6d0>
01   09/10/11 12:15:24.370      Can't open plug-in file './Telecom_Plugin.so': ./Telecom_Plugin.so: cannot open shared object file: No such file or directory <0xb78da6d0>
01   09/10/11 12:15:24.370      Cannot load plug-in for device: 11. Be sure the file Telecom_Plugin exists <0xb78da6d0>
01   09/10/11 12:15:24.374      Can't open plug-in file './Event_Plugin.so': ./Event_Plugin.so: cannot open shared object file: No such file or directory <0xb78da6d0>
01   09/10/11 12:15:24.374      Cannot load plug-in for device: 12. Be sure the file Event_Plugin exists <0xb78da6d0>
05   09/10/11 12:15:24.397      Loaded plug-in device: 13 master device: 33 -- ./Security_Plugin.so <0xb78da6d0>
01   09/10/11 12:15:24.397      Can't open plug-in file './Plug_And_Play_Plugin.so': ./Plug_And_Play_Plugin.so: cannot open shared object file: No such file or directory <0xb78da6d0>
01   09/10/11 12:15:24.397      Cannot load plug-in for device: 14. Be sure the file Plug_And_Play_Plugin exists <0xb78da6d0>
Error doing statfs on '/opt/pluto/bin/plugin-inject/'.
05   09/10/11 12:15:24.497      Plugin 4 activated <0xb78da6d0>
05   09/10/11 12:15:24.583      Plugin 8 activated <0xb78da6d0>
01   09/10/11 12:15:24.670      Connect failed Unknown database 'pluto_security' <0xb78da6d0>
01   09/10/11 12:15:24.670      Security Plugin: Cannot connect to database pluto_security! <0xb78da6d0>
05   09/10/11 12:15:24.673      Socket::ReceiveData 0x9134398 failed, bytes left 0 start: 260000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 16 Incoming_Conn Socket 16 127.0.0.1EVENT 13 T=33 Event #13 <0xb28ceb70>
05   09/10/11 12:15:24.673      Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 16 127.0.0.1EVENT 13 T=33 Event #13 <0xb28ceb70>
05   09/10/11 12:15:24.673      TCPIP: Closing connection to 13 (Router Dev #0) 0x9134398 m_Socket: -1 <0xb28ceb70>
05   09/10/11 12:15:24.674      Router::RemoveAndDeleteSocket 0x9134398 13 <0xb28ceb70>
05   09/10/11 12:15:24.675      Socket::ReceiveData 0x9152c28 failed, bytes left 0 start: 260000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 18 Incoming_Conn Socket 18 127.0.0.1EVENT 13 T=33 Event #13 <0xb20cdb70>
05   09/10/11 12:15:24.675      Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 18 127.0.0.1EVENT 13 T=33 Event #13 <0xb20cdb70>
05   09/10/11 12:15:24.675      TCPIP: Closing connection to 13 (Router Dev #0) 0x9152c28 m_Socket: -1 <0xb20cdb70>
05   09/10/11 12:15:24.675      Router::RemoveAndDeleteSocket 0x9152c28 13 <0xb20cdb70>
05   09/10/11 12:15:24.676      Plugin 13 activated <0xb78da6d0>
01   09/10/11 12:15:24.676      Cannot initialize plug-in for device: 13 <0xb78da6d0>

(has somebody already created wiki pages about Mini compilation, installation and usage? the process looks too complicated, is there any way to automate all these steps?)

2
Developers / Re: Pandaboard and Standalone DCE
« on: September 09, 2011, 08:32:45 pm »
while starting DCERouter on Ubuntu 11.04 I am getting the following error:
Quote
Connect failed Unknown MySQL server host
'dcerouter' (1) <0xb78026do>
how can I fix that? what should I verify?

3
Developers / Re: Pandaboard and Standalone DCE
« on: September 08, 2011, 09:43:26 pm »
        ° in option sudo apt-get install phpmyadmin, sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin,
           You will need to edit /etc/phpmyadmin/config.inc.php and delete "//" from:
           // $cfg['Servers'][$i]['AllowNoPassword'] = TRUE;
it is not quite clear what to do here.
If I do:
  • sudo apt-get install phpmyadmin
  • sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin
  • sudo gedit /etc/phpmyadmin/config.inc.php
    and then delete // before $cfg['Servers'][$i]['AllowNoPassword'] = TRUE;
is it correct?

I would also suggest to add the following steps
1) install subversion;
2) copy all files from mini/src/lib to usr/lib
and to clarify that:
1) no password should be defined during mysql installation
2) phpmyadmin can be accessed at http://localhost/phpmyadmin
3) Installers_Users should be replaced with Installation_Users

4
Developers / Re: Z-wave devices control from NAS or router
« on: September 08, 2011, 08:31:24 pm »
hari, could you please clarify how your application communicate with z-wave device? does it use hidraw? my router's kernel is 2.6.22, where hidraw is not supported

5
Developers / Re: Z-wave devices control from NAS or router
« on: September 05, 2011, 07:26:30 pm »
Wow! Good news!
Could you please publish your steps to compile and install that on ubuntu 10.04 (incl. packages needed)?

6
Developers / Re: Z-wave devices control from NAS or router
« on: September 04, 2011, 05:16:35 pm »
Hi all,

since finally I've bought the z-wave hardware, I am ready to continue this testing. But before I start I would like to check if somebody else already compiled that for Ubuntu?

If no, then I'll try to:
1) compile that for Ubuntu 10.04 first (and see how it works);
2) then compile that for Asus RT-N16.

7
Developers / Re: Z-wave devices control from NAS or router
« on: July 15, 2010, 12:17:57 pm »
Hari,
probably, it would be helpful to include mysql (and other libs) into sources of your project also... and create configure file (while you are writing the manual) :)

Currently I am trying to compile the application on PC. I've taken mysql libs from synology optware (installed it on NAS first and then copied files to PC), but I have to modify almost each Makefile to correct paths there to mysql and mysqlclient...

8
Developers / Re: Mini installation
« on: July 14, 2010, 06:51:53 pm »
Hari,
I've copied files to /usr/pluto/bin and run DCERouter:
Code: [Select]
user@ubuntu910desktop:/usr/pluto/bin$ ./DCERouter
touch: cannot touch `/usr/pluto/var/DCERouter.running': No such file or directory
Copyright (C) 2004 Pluto, Inc., a Florida Corporation
www.plutohome.com
Phone: +1 (877) 758-8648
This program is distributed according to the terms of the GNU Public License, available at:
http://www.fsf.org/licensing/licenses/gpl.html
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Public License for more details.
---------------

Cannot perform query: [select `Device`.* from Device where FK_DeviceTemplate=1 AND FK_Device_ControlledVia=1] Failed to get error message
05 07/14/10 12:48:04.368 Resetting db_wrapper connection <0xb77438e0>
01 07/14/10 12:48:14.520 Table_Device::GetRows Cannot perform query [select `Device`.* from Device where FK_DeviceTemplate=1 AND FK_Device_ControlledVia=1] Failed to get error message reconnect: 1 result2: -1 <0xb77438e0>
Cannot perform query: [select `Device`.* from Device where FK_Installation=1 AND FK_DeviceTemplate=1] Failed to get error message
05 07/14/10 12:48:14.521 Resetting db_wrapper connection <0xb77438e0>
01 07/14/10 12:48:24.681 Table_Device::GetRows Cannot perform query [select `Device`.* from Device where FK_Installation=1 AND FK_DeviceTemplate=1] Failed to get error message reconnect: 1 result2: -1 <0xb77438e0>
Cannot perform query: [select `Device`.* from Device where FK_DeviceTemplate=1] Failed to get error message
05 07/14/10 12:48:24.682 Resetting db_wrapper connection <0xb77438e0>
01 07/14/10 12:48:34.910 Table_Device::GetRows Cannot perform query [select `Device`.* from Device where FK_DeviceTemplate=1] Failed to get error message reconnect: 1 result2: -1 <0xb77438e0>
01 07/14/10 12:48:34.911 Cannot determine my device ID automatically.  # of records in DB: 0 <0xb77438e0>
Sorry...   I cannot figure out what my device ID is automatically.  To do this there must be only
1 record in the database for a device with the device template type of 1 (DCE Router) in installation 1.  There are 0
You will need to specify the device id on the command line.

does it mean that it works correctly?
web interface is still not available...


and, if I run mini_install, still get the same error (even when files are already in usr/pluto/bin):
Code: [Select]
root@ubuntu910desktop:/tmp/harimini/installer# ./mini-install.sh
Setting up your computer to act as a 'Core'
05 07/14/10 14:55:03.068 Called with: -d 7  <0xb77cc6d0>
01 07/14/10 14:55:03.190 Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND FK_DeviceTemplate=1' at line 1): SELECT PK_DeviceTemplate_DeviceCategory_ControlledVia FROM DeviceTemplate_DeviceCategory_ControlledVia WHERE FK_DeviceCategory IN () AND FK_DeviceTemplate=1 (1) <0xb77cc6d0>

Could you please publish detailed instruction how the application should be installed on Ubuntu 9 or 10?

9
Developers / Re: Mini installation
« on: July 13, 2010, 07:34:56 am »
thanks, Hari!

what is about installation steps?
should it be enough just to run mini_install.sh? where this file should be placed?

10
Developers / Mini installation
« on: July 12, 2010, 09:58:48 pm »
Dear all,
can somebody please help me to install mini version of LinuxMCE?
There is installer folder. But looks like I need to copy some files to some folders first and then import mysql tables.
It is also not quite clear which version of mysql (4, 5.0 or 5.1) is required.

Trying to run it on Ubuntu 9.


PS. Here is description of what I've already tried.

11
Developers / Re: Z-wave devices control from NAS or router
« on: July 11, 2010, 02:00:11 pm »
Hari, I've installed both packages and now when I run mini-install.sh, terminal hangs (nothing is displayed, but command run is not finished - looks like infinite loop somewhere).

And, if I run DCERoute I am getting the following:
Code: [Select]
user@ubuntu910desktop:~$ /tmp/harimini/src/bin/DCERouter
touch: cannot touch `/usr/pluto/var/DCERouter.running': No such file or directory
Copyright (C) 2004 Pluto, Inc., a Florida Corporation
www.plutohome.com
Phone: +1 (877) 758-8648
This program is distributed according to the terms of the GNU Public License, available at:
http://www.fsf.org/licensing/licenses/gpl.html
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Public License for more details.
---------------

sh: /usr/pluto/bin/mysql_wrapper: not found
01 07/11/10 7:58:34.084 Connect failed Failed to get error message <0xb77ba8e0>
sh: /usr/pluto/bin/mysql_wrapper: not found
01 07/11/10 7:58:44.246 Connect failed Failed to get error message <0xb77ba8e0>
01 07/11/10 7:58:44.247 Cannot connect to database! <0xb77ba8e0>
user@ubuntu910desktop:~$


upd. I've run mini-install.sh under root and got the following:
Code: [Select]
root@ubuntu910desktop:/tmp/harimini/installer# ./mini-install.sh
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Setting up your computer to act as a 'Core'
./mce-install-common.sh: line 62: /usr/pluto/bin/CreateDevice: No such file or directory
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Configuring devices
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
where should I indicate password to be used for MySQL root user? Or, where can I remove it (it was mandatory during package installation)?

upd. found it in mce_install_common.sh, but got other errors now ;):
Code: [Select]
root@ubuntu910desktop:/tmp/harimini/installer# ./mini-install.sh
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Setting up your computer to act as a 'Core'
./mce-install-common.sh: line 62: /usr/pluto/bin/CreateDevice: No such file or directory
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Configuring devices
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
root@ubuntu910desktop:/tmp/harimini/installer# ./mini-install.sh
ERROR 1049 (42000): Unknown database 'pluto_main'
Setting up your computer to act as a 'Core'
./mce-install-common.sh: line 62: /usr/pluto/bin/CreateDevice: No such file or directory
ERROR 1049 (42000): Unknown database 'pluto_main'
Configuring devices
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1049 (42000): Unknown database 'pluto_main'
ERROR 1049 (42000): Unknown database 'pluto_main'
ERROR 1049 (42000): Unknown database 'pluto_main'
ERROR 1049 (42000): Unknown database 'pluto_main'
ERROR 1049 (42000): Unknown database 'pluto_main'
ERROR 1049 (42000): Unknown database 'pluto_main'
ERROR 1049 (42000): Unknown database 'pluto_main'
ERROR 1049 (42000): Unknown database 'pluto_main'
ERROR 1049 (42000): Unknown database 'pluto_main'
ERROR 1049 (42000): Unknown database 'pluto_main'
root@ubuntu910desktop:/tmp/harimini/installer#

and after changing of path to CreateDevice in mce-install-common.sh from /usr/pluto/bin to my path:
Code: [Select]
root@ubuntu910desktop:/tmp/harimini/installer# export LD_LIBRARY_PATH=/tmp/harimini/src/lib
root@ubuntu910desktop:/tmp/harimini/installer# ./mini-install.shERROR 1049 (42000): Unknown database 'pluto_main'
Setting up your computer to act as a 'Core'
05 07/11/10 8:26:34.277 Called with: -d 7  <0xb78896d0>
01 07/11/10 8:26:34.332 Connect failed Unknown database 'pluto_main' <0xb78896d0>
Cannot connect to database
CreateDevice failed
ERROR 1049 (42000): Unknown database 'pluto_main'
Configuring devices
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
ERROR 1049 (42000): Unknown database 'pluto_main'

I've also tried to run import.sh from dumps folder (have corrected path to sqlCVS there also)
it tries to run mysql_wrapper
Code: [Select]
root@ubuntu910desktop:/tmp/harimini/dumps# ./import.sh
sh: /usr/pluto/bin/mysql_wrapper: not found
not clear where the path should be corrected.
However after that it started to import tables, but anyway after that:
Code: [Select]
root@ubuntu910desktop:/tmp/harimini/installer# ./mini-install.sh
Setting up your computer to act as a 'Core'
05 07/11/10 8:51:20.223 Called with: -d 7  <0xb77ed6d0>
01 07/11/10 8:51:20.525 Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND FK_DeviceTemplate=1' at line 1): SELECT PK_DeviceTemplate_DeviceCategory_ControlledVia FROM DeviceTemplate_DeviceCategory_ControlledVia WHERE FK_DeviceCategory IN () AND FK_DeviceTemplate=1 (1) <0xb77ed6d0>
05 07/11/10 8:51:20.525 Resetting db_wrapper connection <0xb77ed6d0>
01 07/11/10 8:51:20.526 Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND FK_DeviceTemplate=1' at line 1): SELECT PK_DeviceTemplate_DeviceCategory_ControlledVia FROM DeviceTemplate_DeviceCategory_ControlledVia WHERE FK_DeviceCategory IN () AND FK_DeviceTemplate=1 (1) <0xb77ed6d0>
(I've installed mysql 5)

12
Developers / Re: Z-wave devices control from NAS or router
« on: July 09, 2010, 07:19:02 pm »
do I also need to add path to mysql somehow?
I've compiled an application (on PC now) and try to run mini-install.sh. Getting the following errors:
Code: [Select]
root@ubuntu910desktop:/tmp/harimini/installer# ./mini-install.sh
SQL_Ops.sh: line 30: mysql: command not found
Setting up your computer to act as a 'Core'
./mce-install-common.sh: line 62: /usr/pluto/bin/CreateDevice: No such file or directory
SQL_Ops.sh: line 30: mysql: command not found
Configuring devices
./mce-install-common.sh: line 70: /usr/bin/mysql: No such file or directory
SQL_Ops.sh: line 30: mysql: command not found
SQL_Ops.sh: line 30: mysql: command not found
SQL_Ops.sh: line 30: mysql: command not found
SQL_Ops.sh: line 30: mysql: command not found
SQL_Ops.sh: line 30: mysql: command not found
SQL_Ops.sh: line 30: mysql: command not found
SQL_Ops.sh: line 30: mysql: command not found
SQL_Ops.sh: line 30: mysql: command not found
SQL_Ops.sh: line 30: mysql: command not found
SQL_Ops.sh: line 30: mysql: command not found


tried to add it like:
Code: [Select]
export PATH="${PATH}:/usr/include/mysql"but really there is no mysql file. What kind of package should I install on my Ubuntu 9.10 to get it?

13
Developers / Re: Z-wave devices control from NAS or router
« on: July 07, 2010, 08:12:21 pm »
I've added path to LD_PRELOAD_PATH:
Code: [Select]
root@ubuntu910desktop:/usr/local/arm-none-linux-gnueabi/bin/harimini/bin# export -p
declare -x LD_PRELOAD_PATH="/usr/local/arm-none-linux-gnueabi/bin/harimini/lib"
but it didn't help.

What is ld.conf?

14
Developers / Re: Z-wave devices control from NAS or router
« on: July 06, 2010, 08:38:58 pm »
Hari, thanks, surely it should be 8088..

I am getting the following error when run DCERouter:
Code: [Select]
root@ubuntu910desktop:/usr/local/arm-none-linux-gnueabi/bin/harimini/bin# ./DCERouter
./DCERouter: error while loading shared libraries: libDCECommon.so: cannot open shared object file: No such file or directory

15
Developers / Re: Z-wave devices control from NAS or router
« on: July 06, 2010, 07:14:12 pm »
(while testing that on the version compiled on PC)
hari, how should I start the service?
I've tried to run all files generated in the bin folder and then access web-interface thru ip:8080 - got nothing.

Pages: [1] 2