[dss-developer] des on x64 ubuntu 14.04 lts (holli)

holli holli at holli.at
Fri Jan 15 23:59:07 CET 2016


Hello,

I got the dss running but i can not get the dss to connect to the ds485d process

[2016-01-15T23:52:12.184+01:00][Debug][DSBusInterface] Couldn't open dsmapi connection to 'tcp://192.168.250.80:8442' result: -3
connectsock einprogress: Connection refused
[2016-01-15 23:52:12.184] ds485c: <192.168.250.80:8442.-0001> reconnect failed


The ds485d is started on the same machine but i can not specify an IP - i tried this:

dss at fernsehen:~/ds/ds485d$ sudo ./ds485d -F -P 192.168.250.80:8442 /dev/tty10
[2016-01-15 23:49:31.344] ds485d: ds485d, 1.6.0 (built Jan 15 2016, 23:04:47)


But with no success - it looks like the 8442 port is not bind on all devices? The dss had an issue as well that is the reason i used the ip of my br0 device - which is not listed on startup:

[2016-01-15T23:49:52.175+01:00][Info][DSS]   data:         '/usr/local/share/dss/data/'
[2016-01-15T23:49:52.175+01:00][Info][DSS]   config:       '/usr/local/share/dss/data/'
[2016-01-15T23:49:52.175+01:00][Info][DSS]   webroot:      '/usr/local/share/dss-web/webroot/'
[2016-01-15T23:49:52.175+01:00][Info][DSS]   log dir:      '/usr/local/share/dss/data/logs/'
[2016-01-15T23:49:52.175+01:00][Info][DSS]   props dir:    '/usr/local/share/dss/data/savedprops/'
[2016-01-15T23:49:52.175+01:00][Info][DSS]   database dir: '/usr/local/share/dss/data/databases/'
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve IP address of interface: bond0
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve netmask address of interface: bond0
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve IP address of interface: eth4
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve netmask address of interface: eth4
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve IP address of interface: eth5
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve netmask address of interface: eth5
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve IP address of interface: eth0
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve netmask address of interface: eth0
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve IP address of interface: eth2
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve netmask address of interface: eth2
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve IP address of interface: eth1
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve netmask address of interface: eth1
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve IP address of interface: vnet1
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve netmask address of interface: vnet1
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve IP address of interface: vnet2
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve netmask address of interface: vnet2
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve IP address of interface: vnet3
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve netmask address of interface: vnet3
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve IP address of interface: vnet5
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve netmask address of interface: vnet5
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve IP address of interface: vnet0
[2016-01-15T23:49:52.175+01:00][Info][SystemInfo] Could not retrieve netmask address of interface: vnet0


Start command dss 

sudo /home/dss/ds/dss-mainline/build/dss --webroot=/usr/local/share/dss-web/webroot --prop:/config/subsystems/WebSerr/listen=192.168.250.80:8081,192.168.250.80:8088h --prop:/config/subsystems/WebServer/trustedPort=8088 --prop:/config/loglevel=1

So it looks like the process have a problem with my br0 network device and maybe this is the reason the ds485d is running but listening on a wrong nic…

Any help would be great

Thanks
Holli





>
>Message: 1
>Date: Thu, 14 Jan 2016 00:39:41 +0100
>From: holli <holli at holli.at>
>To: <dss-developer at forum.digitalstrom.org>
>Subject: [dss-developer] des on x64 ubuntu 14.04 lts
>Message-ID: <7875AAC5-44EE-49F4-B87B-8BF643B40D3B at holli.at>
>Content-Type: text/plain; charset="utf-8"
>
>Hello,
>
>I?m already running a vdsm and vdcd on this box ? now i build the dss as well ? i sticked to the instructions on the wiki ? when i start i get now following output:
>
>dss at fernsehen:~/ds/dss-mainline$ sudo /home/dss/ds/dss-mainline/build/dss --webroot=/usr/local/share/dss-web/webroot --prop:/config/subsystems/WebServer/listen=127.0.0.1:8080,127.0.0.1:8088h --prop:/config/subsystems/WebServer/trustedPort=8088 --prop:/config/loglevel=1
>[2016-01-14T00:34:56.468+01:00][Info][DSS] getInstance: create new -- 0x1562b50
>[2016-01-14T00:34:56.468+01:00][Info][DSS] DSS::initialize
>[2016-01-14T00:34:56.468+01:00][Debug][System] [CommChannel] sending message failed: Failed to connect: Connection refused
>[2016-01-14T00:34:56.469+01:00][Info][DSS] Setting property '/config/subsystems/WebServer/listen' to '127.0.0.1:8080,127.0.0.1:8088h'
>[2016-01-14T00:34:56.469+01:00][Info][DSS] Setting property '/config/subsystems/WebServer/trustedPort' to '8088'
>[2016-01-14T00:34:56.469+01:00][Info][DSS] Setting property '/config/loglevel' to '1'
>[2016-01-14T00:34:56.469+01:00][Info][DSS] Setting property '/config/webrootdirectory' to '/usr/local/share/dss-web/webroot'
>[2016-01-14T00:34:56.469+01:00][Info][DSS] Loading config file /usr/local/share/dss/data/config.xml
>[2016-01-14T00:34:56.469+01:00][Info][DSS] Loading config directory /usr/local/share/dss/data/config.d
>[2016-01-14T00:34:56.469+01:00][Info][DSS] Setting property '/config/subsystems/WebServer/listen' to '127.0.0.1:8080,127.0.0.1:8088h'
>[2016-01-14T00:34:56.469+01:00][Info][DSS] Setting property '/config/subsystems/WebServer/trustedPort' to '8088'
>[2016-01-14T00:34:56.469+01:00][Info][DSS] Setting property '/config/loglevel' to '1'
>[2016-01-14T00:34:56.469+01:00][Info][DSS] Setting property '/config/webrootdirectory' to '/usr/local/share/dss-web/webroot'
>[2016-01-14T00:34:56.469+01:00][Info][DSS] No logfile configured, logging to stdout
>[2016-01-14T00:34:56.469+01:00][Fatal][DSS] Invalid database directory specified: '/usr/local/share/dss/data/databases/'
>[2016-01-14T00:34:56.469+01:00][Fatal][System] Failed to initialize dss. Exiting
>[2016-01-14T00:34:56.469+01:00][Info][DSS] DSS::shutdown 0x1562b50
>[2016-01-14T00:34:56.469+01:00][Warning][System] Failed to login as system-user (Shutdown needs to be as system user)
>dss at fernsehen:~/ds/dss-mainline$
>
>So how can i init the DB?
>
>Thanks
>Holli
>
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: <http://forum.digitalstrom.org/pipermail/dss-developer/attachments/20160114/a15973fd/attachment-0001.html>
>
>------------------------------
>
>_______________________________________________
>dss-developer mailing list
>dss-developer at forum.digitalstrom.org
>http://forum.digitalstrom.org/cgi-bin/mailman/listinfo/dss-developer
>
>
>End of dss-developer Digest, Vol 64, Issue 1
>********************************************



More information about the dss-developer mailing list