[dss-developer] Fehler beim Start von dss
Jutta Kudermann
Jutta.Kudermann at humanlinks.de
Thu Oct 13 10:16:08 CEST 2011
Da ich mir nicht sicher bin, ob die Antwort von mir ankam, hier nochmal. Wenn sie schon mal ankam, dann kann diese mail ignoriert werden:
Hallo Michael
meine Verzeichnisstruktur:
/DSS/libdsm
/DSS/dss-1.1.0
/DSS/dss-1.1.0/data
/DSS/dss-1.1.0/build
Das cmake hatte die Optionen -DLIBDSM_PREFIX=/DSS/libdsm -DWITH_DATA=data/
Aufgerufen wird das Programm aus dem Verzeichnis /DSS/dss-1.1.0 durch "build/dss"
Das dsscert.pem liegt in dem Verzeichnis data und wurde mit dem Skript create_cert.sh auch generiert. Der Benutzer ist derselbe, wie alle Dateien in dem Verzeichnis data.
Die Ausgabe ohne strace:
:/DSS/dss-1.1.0$ build/dss
[2011-10-11 10:41:37][Info][System] Loading config file data/config.xml
[2011-10-11 10:41:37][Info][System] Loading config directory data/config.d
[2011-10-11 10:41:37][Info][System] No logfile configured, logging to stdout
[2011-10-11 10:41:37][Info][System] DSS starting up....
[2011-10-11 10:41:37][Info][System] dSS v1.1.0 (a4cd520427f6f17c0e4449fc60960b5f718c0d64) (root at hlsrv21)
[2011-10-11 10:41:37][Info][System] Configuration:
[2011-10-11 10:41:37][Info][System] data: 'data/'
[2011-10-11 10:41:37][Info][System] config: 'data/'
[2011-10-11 10:41:37][Info][System] webroot: 'data/webroot/'
[2011-10-11 10:41:37][Info][System] log dir: 'data/logs/'
[2011-10-11 10:41:37][Info][System] props dir: 'data/savedprops/'
[2011-10-11 10:41:37][Warning][System] Event "send_email" is deprecated, and should be substituted by "sendmail".
[2011-10-11 10:41:37][Warning][Apartment] Could not find data/apartment.xml
[2011-10-11 10:41:37][Info][System] Failed to open data/apartment.xml
[2011-10-11 10:41:37][Info][DSSim] DSSim::createJSPluginFrom: Found device with id: example.js-device
[2011-10-11 10:41:37][Info][DSSim] DSSim::createJSPluginFrom: adding script-file: data/simulated_device.js
[2011-10-11 10:41:37][Info][DSSim] DSSim::createJSPluginFrom: Found device with id: example.slim_player
[2011-10-11 10:41:37][Info][DSSim] DSSim::createJSPluginFrom: adding script-file: ../jslib/dsid.js
[2011-10-11 10:41:37][Error][DSSim] DSSim::createJSPluginFrom: cannot find script file '../jslib/dsid.js', skipping device example.slim_player
[2011-10-11 10:41:37][Info][DSSim] DSSim::createJSPluginFrom: Found device with id: example.vlc_player
[2011-10-11 10:41:37][Info][DSSim] DSSim::createJSPluginFrom: adding script-file: ../jslib/dsid.js
[2011-10-11 10:41:37][Error][DSSim] DSSim::createJSPluginFrom: cannot find script file '../jslib/dsid.js', skipping device example.vlc_player
[2011-10-11 10:41:37][Debug][DSSim] LoadZones: found zone (4)
[2011-10-11 10:41:37][Debug][DSSim] LoadDevices: found device
[2011-10-11 10:41:37][Debug][DSSim] LoadDevices: found device
[2011-10-11 10:41:37][Debug][DSSim] LoadZones: found zone (1)
[2011-10-11 10:41:37][Debug][DSSim] LoadDevices: found device
[2011-10-11 10:41:37][Debug][DSSim] LoadDevices: found device
[2011-10-11 10:41:37][Debug][DSSim] LoadGroups: Adding device 4 to group 1 in zone 1
[2011-10-11 10:41:37][Debug][DSSim] LoadGroups: Adding device 13 to group 1 in zone 1
[2011-10-11 10:41:37][Debug][DSSim] LoadZones: found zone (4)
[2011-10-11 10:41:37][Debug][DSSim] LoadDevices: found device
[2011-10-11 10:41:37][Debug][DSSim] LoadDevices: found device
[2011-10-11 10:41:37][Debug][DSSim] LoadGroups: Adding device 5 to group 1 in zone 4
[2011-10-11 10:41:37][Debug][DSSim] LoadZones: found zone (172)
[2011-10-11 10:41:37][Debug][DSSim] LoadDevices: found device
[2011-10-11 10:41:37][Debug][DSBusInterface] initializing DSBusInterface
[2011-10-11 10:41:47][Debug][DSBusInterface] Couldn't open dsmapi connection to 'tcp://localhost:8442' result: -3
[2011-10-11 10:41:47][Info][WebServer] Webserver: Listening on 10.10.23.38:8080s
[2011-10-11 10:41:47][Info][WebServer] Webserver: Configured webroot: data/webroot/
[2011-10-11 10:41:47][Info][WebServer] Webserver: Configured SSL certificate: data/dsscert.pem
[2011-10-11 10:41:47][Fatal][System] Caught SIGSEGV
[2011-10-11 10:41:47][Fatal][System] Backtrace[0]: build/dss(_ZN3dss9Backtrace12logBacktraceEv+0x27) [0x799407]
[2011-10-11 10:41:47][Fatal][System] Backtrace[1]: build/dss(_ZN3dss3DSS12handleSignalEi+0xd6) [0x6b9f06]
[2011-10-11 10:41:47][Fatal][System] Backtrace[2]: /lib/x86_64-linux-gnu/libc.so.6(+0x33d80) [0x7f0b1c689d80]
[2011-10-11 10:41:47][Fatal][System] Backtrace[3]: /lib/libcrypto.so.0.9.8(+0xc7140) [0x7f0b1e2f8140]
[2011-10-11 10:41:47][Fatal][System] Backtrace[4]: /lib/libcrypto.so.0.9.8(lh_insert+0xb1) [0x7f0b1e2f5031]
[2011-10-11 10:41:47][Fatal][System] Backtrace[5]: /lib/libcrypto.so.0.9.8(+0xc7b09) [0x7f0b1e2f8b09]
[2011-10-11 10:41:47][Fatal][System] Backtrace[6]: /lib/libcrypto.so.0.9.8(ERR_load_strings+0x41) [0x7f0b1e2f8ec1]
[2011-10-11 10:41:47][Fatal][System] Backtrace[7]: /lib/libcrypto.so.0.9.8(ERR_load_EC_strings+0x2e) [0x7f0b1e2d462e]
[2011-10-11 10:41:47][Fatal][System] Backtrace[8]: /lib/libcrypto.so.0.9.8(ERR_load_crypto_strings+0x4f) [0x7f0b1e2f9f4f]
[2011-10-11 10:41:47][Fatal][System] Backtrace[9]: /lib/libssl.so.0.9.8(SSL_load_error_strings+0x9) [0x7f0b1e5f6469]
[2011-10-11 10:41:47][Fatal][System] Backtrace[10]: build/dss() [0x8e77dc]
[2011-10-11 10:41:47][Fatal][System] Backtrace[11]: build/dss(mg_start+0x1b5) [0x8e9062]
[2011-10-11 10:41:47][Fatal][System] Backtrace[12]: build/dss(_ZN3dss9WebServer10initializeEv+0xc81) [0x761b45]
[2011-10-11 10:41:47][Fatal][System] Backtrace[13]: build/dss(_ZN3dss19InitializeSubsystemEPNS_9SubsystemE+0x23) [0x6b6da5]
[2011-10-11 10:41:47][Fatal][System] Backtrace[14]: build/dss(_ZN3dss3DSS14initSubsystemsEv+0x4b) [0x6b6ebb]
[2011-10-11 10:41:47][Fatal][System] Backtrace[15]: build/dss(_ZN3dss3DSS3runEv+0x377) [0x6b8f7b]
[2011-10-11 10:41:47][Fatal][System] Backtrace[16]: build/dss(main+0xb69) [0x6aadcb]
[2011-10-11 10:41:47][Fatal][System] Backtrace[17]: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff) [0x7f0b1c674eff]
[2011-10-11 10:41:47][Fatal][System] Backtrace[18]: build/dss() [0x6a9f09]
Viele Grüße Jutta
Von: dss-developer-bounces at forum.digitalstrom.org [mailto:dss-developer-bounces at forum.digitalstrom.org] Im Auftrag von Troß, Michael
Gesendet: Dienstag, 11. Oktober 2011 10:39
An: dSS development list
Betreff: Re: [dss-developer] Fehler beim Start von dss
Hallo Jutta,
ist das Zertifikat dsscert.pem im richtigen Pfad und und für den dss lesbar? Wenn bei der cmake Konfiguration -DWITH_DATA=<Pfad> verwendet wurde, sucht der dss das dsscert.pem File in eben diesem <Pfad>, der Default für den Datenpfad ist /usr/local/share/dss/data.
Als kleine Hilfe gibt es im Unterverzeichnis tools/ ein Skript 'create_cert.sh' zur Generierung eines selbst signierten Zertifikats.
Was gibt der dss denn auf stdout aus?
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum.digitalstrom.org/pipermail/dss-developer/attachments/20111013/fa7b61eb/attachment.html>
More information about the dss-developer
mailing list