This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Black screen
#6
(2018-12-05, 06:24 PM)tkurki Wrote: I can not think of a way that SK server causes a black screen. It is most probably something else.

Anything in syslog?


Sent from my iPhone using Tapatalk

I think the output of
sudo nano /var/log/syslog
is too long to post here!!!

Smile Smile

(2018-12-05, 09:01 PM)e-sailing Wrote:
(2018-12-05, 12:38 PM)cepicscepics Wrote:
Code:
pi@openplotter:~ $ cd /usr/lib/node-module/signalk-server
bash: cd: /usr/lib/node-module/signalk-server: No such file or directory
pi@openplotter:~ $ npm start
npm ERR! path /home/pi/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2018-12-05T11_28_47_009Z-debug.log
pi@openplotter:~ $
Sorry wrong path
cd /usr/lib/node-module/signalk-server
it should be
cd /usr/lib/node_modules/signalk-server

try again

btw: Are you sure that your raspberry pi works with another sd card?

the new output:

Code:
pi@openplotter:~ $ cd /usr/lib/node_modules/signalk-server
pi@openplotter:/usr/lib/node_modules/signalk-server $ npm start

> signalk-server@1.7.0 start /usr/lib/node_modules/signalk-server
> node bin/signalk-server

Using default configuration path: /home/pi/.signalk
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
events.js:183
     throw er; // Unhandled 'error' event
     ^

Error: listen EADDRINUSE :::10110
   at Server.setupListenHandle [as _listen2] (net.js:1360:14)
   at listenInCluster (net.js:1401:12)
   at Server.listen (net.js:1485:7)
   at Object.api.start (/usr/lib/node_modules/signalk-server/lib/interfaces/nmea-tcp.js:57:12)
   at /usr/lib/node_modules/signalk-server/lib/index.js:325:60
   at /usr/lib/node_modules/signalk-server/node_modules/lodash/lodash.js:4911:15
   at Function.forIn (/usr/lib/node_modules/signalk-server/node_modules/lodash/lodash.js:12951:11)
   at startInterfaces (/usr/lib/node_modules/signalk-server/lib/index.js:311:5)
   at /usr/lib/node_modules/signalk-server/lib/index.js:224:7
   at createServer (/usr/lib/node_modules/signalk-server/lib/index.js:274:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! signalk-server@1.7.0 start: `node bin/signalk-server`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the signalk-server@1.7.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2018-12-05T20_41_31_627Z-debug.log

tnks
Reply


Messages In This Thread
Black screen - by cepicscepics - 2018-12-02, 01:50 PM
RE: Black screen - by e-sailing - 2018-12-02, 09:49 PM
RE: Black screen - by cepicscepics - 2018-12-05, 12:38 PM
RE: Black screen - by e-sailing - 2018-12-05, 09:01 PM
Black screen - by tkurki - 2018-12-05, 06:24 PM
RE: Black screen - by cepicscepics - 2018-12-05, 09:44 PM
RE: Black screen - by e-sailing - 2018-12-05, 11:43 PM
RE: Black screen - by cepicscepics - 2018-12-06, 12:40 AM
RE: Black screen - by cepicscepics - 2018-12-06, 11:43 AM
RE: Black screen - by cepicscepics - 2018-12-06, 06:51 PM
RE: Black screen - by cepicscepics - 2018-12-08, 10:46 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)