Beiträge von Camaro2009

    Gut das Funktioniert jetzt.


    Das mit den SSL Zertifikaten war nur zum Test, neue Zertifikate sind sowieso schon bestellt.


    Die Zertifikate liegen jetzt auch in einem Verzeichnis wo man nicht ran kommt.

    Hallo,


    ich bin grade dabei meinen NodePush Server mit SSL zum laufen zu bekommen, bekomme aber beim Starten folgende Fehlermeldung.


    Wie kann ich das beheben ?



    Gruß,
    Camaro2009

    habe ich getan und der näste Fehler kommt


    info: Using config '/var/www/virtual/gamingleaguenetwork.de/htdocs/wcf/acp/be.bastelstu.wcf.nodePush/config'
    info: Inbound-Socket: /var/www/virtual/gamingleaguenetwork.de/htdocs/wcf/acp/be.bastelstu.wcf.nodePush/tmp/inbound.sock
    info: Outbound-Socket: 0.0.0.0:25811
    info: Trying to switch user to gln and group user
    emergency: {} Cowardly refusing to keep the process alive as root.


    npm ERR! be.bastelstu.wcf.nodePush@1.0.0 start: `coffee app.coffee`
    npm ERR! Exit status 1
    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.2.0-4-amd64
    npm ERR! command "node" "/usr/local/bin/npm" "start"
    npm ERR! cwd /var/www/virtual/gamingleaguenetwork.de/htdocs/wcf/acp/be.bastelstu.wcf.nodePush
    npm ERR! node -v v0.10.32
    npm ERR! npm -v 1.4.28
    npm ERR! code ELIFECYCLE
    npm ERR!
    npm ERR! Additional logging details can be found in:
    npm ERR! /var/www/virtual/gamingleaguenetwork.de/htdocs/wcf/acp/be.bastelstu.wcf.nodePush/npm-debug.log
    npm ERR! not ok code 0

    Also, der fehler tritt jetzt nicht mehr auf dafür aber wieder ein anderer.


    Hier, so sied meine Config aus


    Ah, danke jetzt aber gleich das näste Problem beim Start des npm servers.


    root@s1 /var/www/virtual/gamingleaguenetwork.de/htdocs/wcf/acp/be.bastelstu.wcf.nodePush # npm install
    npm WARN package.json be.bastelstu.wcf.nodePush@1.0.0 No repository field.
    -
    > posix@1.0.3 install /var/www/virtual/gamingleaguenetwork.de/htdocs/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/chroot/node_modules/posix
    > node-gyp rebuild


    make: Entering directory `/var/www/virtual/gamingleaguenetwork.de/htdocs/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/chroot/node_modules/posix/build '
    CXX(target) Release/obj.target/posix/src/posix.o
    SOLINK_MODULE(target) Release/obj.target/posix.node
    SOLINK_MODULE(target) Release/obj.target/posix.node: Finished
    COPY Release/posix.node
    make: Leaving directory `/var/www/virtual/gamingleaguenetwork.de/htdocs/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/chroot/node_modules/posix/build'
    chroot@0.1.7 node_modules/chroot
    └── posix@1.0.3
    root@s1 /var/www/virtual/gamingleaguenetwork.de/htdocs/wcf/acp/be.bastelstu.wcf.nodePush # npm start


    > be.bastelstu.wcf.nodePush@1.0.0 start /var/www/virtual/gamingleaguenetwork.de/htdocs/wcf/acp/be.bastelstu.wcf.nodePush
    > coffee app.coffee


    nodePush (pid:10157)
    ====================
    info: Using config '/var/www/virtual/gamingleaguenetwork.de/htdocs/wcf/acp/be.bastelstu.wcf.nodePush/config'
    info: Inbound-Socket: /var/www/virtual/gamingleaguenetwork.de/htdocs/wcf/acp/be.bastelstu.wcf.nodePush/tmp/inbound.sock
    info: Outbound-Socket: 0.0.0.0:9001
    info: Trying to switch user to nobody and group nogroup
    notice: New User ID: 65534, New Group ID: 65534


    module.js:340
    throw err;
    ^
    Error: Cannot find module 'socket.io'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Server.callback (/var/www/virtual/gamingleaguenetwork.de/htdocs/wcf/acp/be.bastelstu.wcf.nodePush/app.coffee:186:9)
    at Server.g (events.js:180:16)
    at Server.emit (events.js:92:17)
    at net.js:1055:10
    at process._tickCallback (node.js:419:13)
    at Function.Module.runMain (module.js:499:11)
    at startup (node.js:119:16)
    at node.js:906:3


    npm ERR! be.bastelstu.wcf.nodePush@1.0.0 start: `coffee app.coffee`
    npm ERR! Exit status 8
    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.2.0-4-amd64
    npm ERR! command "node" "/usr/bin/npm" "start"
    npm ERR! cwd /var/www/virtual/gamingleaguenetwork.de/htdocs/wcf/acp/be.bastelstu.wcf.nodePush
    npm ERR! node -v v0.10.29
    npm ERR! npm -v 1.4.25
    npm ERR! code ELIFECYCLE
    npm ERR!
    npm ERR! Additional logging details can be found in:
    npm ERR! /var/www/virtual/gamingleaguenetwork.de/htdocs/wcf/acp/be.bastelstu.wcf.nodePush/npm-debug.log
    npm ERR! not ok code 0
    root@s1 /var/www/virtual/gamingleaguenetwork.de/htdocs/wcf/acp/be.bastelstu.wcf.nodePush #

    Moin,


    bin grade dabei node.js auf meinen Root unter Debian 7 Wheezy zu installieren.
    Folgende Packete habe ich Installiert über die Paketverwaltung Installiert:
    nodejs,
    nodejs-legacy,
    nodejs-dev.


    So ich bin jetzt im Verzeichniss /wcf/acp/be.bastelstu.wcf.nodePush und habe jetzt npm install eingegeben und das kommt dabei raus (siehe Anhang)


    mache ich was falsch oder fehlt was ?


    Edit: Log hinzugefügt.


    MfG
    Camaro2009