Ist es eigentlich schlimm, wenn der outbound socket von jedem erreichbar ist? den kann man ja super leicht über den quelltext herausfinden.
Beiträge von sum
-
-
Wenn ich "npm start" ausführe, erhalte ich folgenden Fehler:
Code
Alles anzeigen> be.bastelstu.wcf.nodePush@1.0.0 start /home/tubepro.de/html/wcf/acp/be.bastelstu.wcf.nodePush > coffee app.coffee /usr/bin/env: node: Datei oder Verzeichnis nicht gefunden npm ERR! be.bastelstu.wcf.nodePush@1.0.0 start: `coffee app.coffee` npm ERR! Exit status 127 npm ERR! npm ERR! Failed at the be.bastelstu.wcf.nodePush@1.0.0 start script. npm ERR! This is most likely a problem with the be.bastelstu.wcf.nodePush package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! coffee app.coffee npm ERR! You can get their info via: npm ERR! npm owner ls be.bastelstu.wcf.nodePush npm ERR! There is likely additional logging output above. npm ERR! System Linux 3.16.0-4-amd64 npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "start" npm ERR! cwd /home/de/html/wcf/acp/be.bastelstu.wcf.nodePush npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.21 npm ERR! code ELIFECYCLE npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/de/html/wcf/acp/be.bastelstu.wcf.nodePush/npm-debug.log npm ERR! not ok code 0
"npm install" wurde bereits ausgeführt, aber mit folgender Warnung:
npm WARN package.json be.bastelstu.wcf.nodePush@1.0.0 No repository field. -
Ich bin gerade dabei nodePush zu installieren und wollte mal fragen, ob ich alles richtig gemacht habe.
Hier mal meine Befehle, die ich zu Installation genutzt habe (benutze Debian 7 und nginx 1.6.3):
- Installation von node.js als Paket: curl -sL https://deb.nodesource.com/setup | bash -
- apt-get install -y nodejs
- cd /wcf/acp/be.bastelstu.wcf.nodePush
- cp config.js.template config (in der Konfigurationsfile habe ich nichts angepasst)
- npm install (war erfolgreich; es wurde mir nur die Warnung npm WARN package.json be.bastelstu.wcf.nodePush@1.0.0 No repository field.) angezeigt
- npm start:
> be.bastelstu.wcf.nodePush@1.0.0 start /var/www/html/nc/wcf/acp/be.bastelstu.wcf.nodePush> coffee app.coffeenodePush (pid:23770)====================info: Using config '/var/www/html/nc/wcf/acp/be.bastelstu.wcf.nodePush/config'info: Inbound-Socket: /var/www/html/nc/wcf/acp/be.bastelstu.wcf.nodePush/tmp/inbound.sockinfo: Outbound-Socket: 0.0.0.0:9001info: Trying to switch user to nobody and group nogroupnotice: New User ID: 65534, New Group ID: 65534info: Done^Cinfo: Received: SIGINT - Eintragung des Push-Server-Host-Servers http://www.meinedomain.de/wcf/…ush/tmp/inbound.sock:9001 und die Eintragung des Nachrichten-Servers unix://{WCF_DIR}acp/be.bastelstu.wcf.nodePush/tmp/inbound.sock:9001.
Ich weiß jedoch nicht, ob ich alles richtig gemacht habe. Das Problem ist, dass ich im Ordner wcf/acp/be.bastelstu.wcf.nodePush/tmp/ keine inbound.sock-Datei finde.