25/10/2010, 19:09:09
bonjour à tous.
voila, ca fait 1 semaine que j'essaie de refaire une VM debian en
suivant le tuto. Mais voila, j'ai une erreur :
2010-10-25 20:02:39 [ INFO] main: Config file loaded: /var/www/knxweb/
linknx.xml
2010-10-25 20:02:39 [ERROR] KnxConnection: Failed to open
knxConnection url.
Quelqu'un pourrait m'aider ?
Merci
Arnaud
voici le modop :
cd /home
mkdir linknx
apt-get install gcc
apt-get install g++ make
apt-get install php5 php5-cgi php5-mysql mysql-server phpMyAdmin
apt-get install libpthsem20
apt-get install bcusdk
apt-get install liblog4cpp5 liblog4cpp5-dev lua5.1
apt-get install libmysqlclient15-dev
cd linknx
wget http://downloads.sourceforge.net/sourcef...0.8.tar.gz
wget http://downloads.sourceforge.net/sourcef...0.4.tar.gz
wget http://downloads.sourceforge.net/sourcef....27.tar.gz
wget http://sourceforge.net/projects/linknx/f...6.1.tar.gz
tar -xzf linknx-0.0.1.27.tar.gz
tar -xzf bcusdk_0.0.4.tar.gz
tar -xzvf pthsem_2.0.8.tar.gz
cd /home/linknx/pthsem-2.0.8/
./configure
make
make test
make install
export LD_LIBRARY_PATH=/usr/local/lib
cd ../bcusdk-0.0.4/
./configure --enable-onlyeibd --enable-eibnetiptunnel --enable-usb --
enable-eibnetipserver --enable-ft12
make
make install
vi /opt/linknx/cle
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.6 (GNU/Linux)
mQGiBEXPVPkRBACwcKSAeUo+rK3ZVRy0cfKVsShbPcB9SlviBaagi5qLqduSKeGU
UX+r2UO+UTaS8Btj8zP+J5cLBtqUah/wVIIz72t8Mxo9Wmdl3EJenFghPaKrHrMp
eUktVgKGdIjo62YSABPtD7ffX8lTJBFoSvXFeoz3BddYIXQZOsOK//PEpwCg2cBQ
AmbNbDix8zB2GBJWhx3MBuUEAJzQ+Yv206A5qPulgC54NrSMlU9ZXYimEtok4cq2
zxpY4ZiEtXpmcVhXGmVowRrPl9lNP5E2LMAxg5lFkyOkScJx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ian eib main
deb-src http://www.auto.tuwien.ac.at/~mkoegler/debian eib main
apt-get update
apt-get install bcusdk
cd ../linknx-0.0.1.27/
./configure --without-log4cpp --without-lua --with-mysql=/usr/bin/
mysql_config
make
make install
cd /var/www
tar -xzf /home/linknx/knxweb-0.6.1.tar.gz
vi /etc/network/interfaces
# Configuration derière une FREEBOX HD
auto eth0
iface eth0 inet static
address 192.168.0.17
netmask 255.255.255.0
gateway 192.168.0.254
/etc/init.d/networking restart
vi /etc/mysql/my.cnf
Remplacer bind-address = 127.0.0.1 par bind-address =
[192.168.0.17]
sauver,
puis redémarrer le serveur mysql
/etc/init.d/mysql restart
CREATE TABLE `log` (
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP,
`object` varchar(256) NOT NULL,
`value` varchar(256) NOT NULL,
KEY `object` (`object`,`ts`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE `persist` (
`object` varchar(256) NOT NULL,
`value` varchar(256) NOT NULL,
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP on update
CURRENT_TIMESTAMP,
PRIMARY KEY (`object`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
cd /home/linknx/bcusdk-0.0.4/eibd/usb
findknxusb
eibd -t1023 -i usb:1:3:1:0
linknx -c/var/www/knxweb/linknx.xml
voila, ca fait 1 semaine que j'essaie de refaire une VM debian en
suivant le tuto. Mais voila, j'ai une erreur :
2010-10-25 20:02:39 [ INFO] main: Config file loaded: /var/www/knxweb/
linknx.xml
2010-10-25 20:02:39 [ERROR] KnxConnection: Failed to open
knxConnection url.
Quelqu'un pourrait m'aider ?
Merci
Arnaud
voici le modop :
cd /home
mkdir linknx
apt-get install gcc
apt-get install g++ make
apt-get install php5 php5-cgi php5-mysql mysql-server phpMyAdmin
apt-get install libpthsem20
apt-get install bcusdk
apt-get install liblog4cpp5 liblog4cpp5-dev lua5.1
apt-get install libmysqlclient15-dev
cd linknx
wget http://downloads.sourceforge.net/sourcef...0.8.tar.gz
wget http://downloads.sourceforge.net/sourcef...0.4.tar.gz
wget http://downloads.sourceforge.net/sourcef....27.tar.gz
wget http://sourceforge.net/projects/linknx/f...6.1.tar.gz
tar -xzf linknx-0.0.1.27.tar.gz
tar -xzf bcusdk_0.0.4.tar.gz
tar -xzvf pthsem_2.0.8.tar.gz
cd /home/linknx/pthsem-2.0.8/
./configure
make
make test
make install
export LD_LIBRARY_PATH=/usr/local/lib
cd ../bcusdk-0.0.4/
./configure --enable-onlyeibd --enable-eibnetiptunnel --enable-usb --
enable-eibnetipserver --enable-ft12
make
make install
vi /opt/linknx/cle
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.6 (GNU/Linux)
mQGiBEXPVPkRBACwcKSAeUo+rK3ZVRy0cfKVsShbPcB9SlviBaagi5qLqduSKeGU
UX+r2UO+UTaS8Btj8zP+J5cLBtqUah/wVIIz72t8Mxo9Wmdl3EJenFghPaKrHrMp
eUktVgKGdIjo62YSABPtD7ffX8lTJBFoSvXFeoz3BddYIXQZOsOK//PEpwCg2cBQ
AmbNbDix8zB2GBJWhx3MBuUEAJzQ+Yv206A5qPulgC54NrSMlU9ZXYimEtok4cq2
zxpY4ZiEtXpmcVhXGmVowRrPl9lNP5E2LMAxg5lFkyOkScJxUMkdh/QnJfrmldCH
M+moHDAopK6OPNeNMYpQGOpsG/iIunoLSrrQtYJ17HY4Lk1oT3g9S6Wkd10VGTJP
r/P/A/9OvsfRWz69gm6lOotidFtLhUXovO8DttmfMZWp0MQ1V8lYmh0KdC4rwMGF
QlRQl1Zb1ulDwarGJYhnpC4jSf1IliqlRmcS3Upoo9SbjxXWpEjVbAx71ImA69rG
c7UG7E5jYPOTpARt4PvDY/ZubDwD+B2bWKCiqgSBbjZdV06BUbQxTWFydGluIEtv
ZWdsZXIgKEFQVCkgPG1rb2VnbGVyQGF1dG8udHV3aWVuLmFjLmF0PohgBBMRAgAg
BQJFz1T5AhsDBgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQfcT/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2zO6gHPHT0hYAWRbAkorNbePnPAXM5VeaoAEHWeKq
wgHclaj86zFj0/K0LJr6m4t9uAZS6xbGjf0DNbDUN5NBB8C6tYnlhsWslr9nQ/6Q
Y5x3plVny9woyntgz79pDpiR8k8Q8AZWGgVybUvX737rWkTa7JpgiD4/DCC/spZf
QoAt/nFv1I53FuQOfp/KNZAWJDE3LBB+4u/N5fWg4Yp5Lwy5seIoeTtNAY4Wwo7b
rdIHbcDW1AZddADOlPn0Xx4PlL8X/+vo68gEWCVX1o9hx3xELkmMTmhIgug/pJgE
XYiCUp3UIs+QU2sKnRLFNBeKHzMqklPh0Ep32NYHGO70mphLk52MQcY5eK6mouta
WV080y14A6hL1kktWF1S7e8LAYVEgfIKpr+C6Lv/KRwWZSCC1X6mdr+60jBqxyBI
jan5mdYrIVQ2eL9RpnVk0HizREdeqE8D/fHv6S2U/ufcUrkVxno9vYmh4LF1Fppp
SJqISQQYEQIACQUCRc9VcwIbDAAKCRB9xP9FmRvzYee6AJ0TiiG8/dM4ppd0dXNT
gIiDW8wHbACeO11PFfwbx51XEx0+kW81XDVxHPg=
=ztcU
-----END PGP PUBLIC KEY BLOCK-----
apt-key add cle
vi /etc/apt/sources.list
deb http://www.auto.tuwien.ac.at/~mkoegler/debian eib main
deb-src http://www.auto.tuwien.ac.at/~mkoegler/debian eib main
apt-get update
apt-get install bcusdk
cd ../linknx-0.0.1.27/
./configure --without-log4cpp --without-lua --with-mysql=/usr/bin/
mysql_config
make
make install
cd /var/www
tar -xzf /home/linknx/knxweb-0.6.1.tar.gz
vi /etc/network/interfaces
# Configuration derière une FREEBOX HD
auto eth0
iface eth0 inet static
address 192.168.0.17
netmask 255.255.255.0
gateway 192.168.0.254
/etc/init.d/networking restart
vi /etc/mysql/my.cnf
Remplacer bind-address = 127.0.0.1 par bind-address =
[192.168.0.17]
sauver,
puis redémarrer le serveur mysql
/etc/init.d/mysql restart
CREATE TABLE `log` (
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP,
`object` varchar(256) NOT NULL,
`value` varchar(256) NOT NULL,
KEY `object` (`object`,`ts`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE `persist` (
`object` varchar(256) NOT NULL,
`value` varchar(256) NOT NULL,
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP on update
CURRENT_TIMESTAMP,
PRIMARY KEY (`object`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
cd /home/linknx/bcusdk-0.0.4/eibd/usb
findknxusb
eibd -t1023 -i usb:1:3:1:0
linknx -c/var/www/knxweb/linknx.xml