[GH-ISSUE #52] Launching frontail with uwsgi emperor #32

Closed
opened 2026-03-03 16:03:51 +03:00 by kerem · 3 comments
Owner

Originally created by @swasher on GitHub (Aug 25, 2015).
Original GitHub issue: https://github.com/mthenw/frontail/issues/52

I'm trying launch frontail with uwsgi emperor. Vassal ini contain string

 attach-daemon = frontail /home/vagrant/log/uwsgi-error.log

or

attach-daemon = /usr/bin/nodejs /usr/local/lib/node_modules/frontail/index.js /home/vagrant/log/uwsgi-error.log

with following error in uwsgi log (no matter which string):

[uwsgi-daemons] respawning "/usr/bin/nodejs /usr/local/lib/node_modules/frontail/index.js /home/vagrant/log/uwsgi-error.log" (uid: 1000 gid: 1000)
Error: Implement me. Unknown stream file type!
    at createWritableStdioStream (node.js:597:15)
    at process.stderr (node.js:628:16)
    at Object.<anonymous> (/usr/local/lib/node_modules/frontail/node_modules/connect/node_modules/debug/node.js:37:32)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous>   (/usr/local/lib/node_modules/frontail/node_modules/connect/lib/proto.js:14:13)

When I run frontail from command line, all working ok.

How to do it in right way?

Originally created by @swasher on GitHub (Aug 25, 2015). Original GitHub issue: https://github.com/mthenw/frontail/issues/52 I'm trying launch frontail with uwsgi emperor. Vassal ini contain string ``` attach-daemon = frontail /home/vagrant/log/uwsgi-error.log ``` or ``` attach-daemon = /usr/bin/nodejs /usr/local/lib/node_modules/frontail/index.js /home/vagrant/log/uwsgi-error.log ``` with following error in uwsgi log (no matter which string): ``` [uwsgi-daemons] respawning "/usr/bin/nodejs /usr/local/lib/node_modules/frontail/index.js /home/vagrant/log/uwsgi-error.log" (uid: 1000 gid: 1000) Error: Implement me. Unknown stream file type! at createWritableStdioStream (node.js:597:15) at process.stderr (node.js:628:16) at Object.<anonymous> (/usr/local/lib/node_modules/frontail/node_modules/connect/node_modules/debug/node.js:37:32) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (/usr/local/lib/node_modules/frontail/node_modules/connect/lib/proto.js:14:13) ``` When I run frontail from command line, all working ok. How to do it in right way?
kerem closed this issue 2026-03-03 16:03:51 +03:00
Author
Owner

@mthenw commented on GitHub (Sep 1, 2015):

Hey @swasher,

not sure how emperor works but is the error message look the same for attach-daemon = frontail /home/vagrant/log/uwsgi-error.log?

<!-- gh-comment-id:136827878 --> @mthenw commented on GitHub (Sep 1, 2015): Hey @swasher, not sure how emperor works but is the error message look the same for `attach-daemon = frontail /home/vagrant/log/uwsgi-error.log`?
Author
Owner

@swasher commented on GitHub (Sep 1, 2015):

Yes, attach-daemon = frontail /home/vagrant/log/uwsgi-error.log got the same error message.

<!-- gh-comment-id:136838565 --> @swasher commented on GitHub (Sep 1, 2015): Yes, `attach-daemon = frontail /home/vagrant/log/uwsgi-error.log` got the same error message.
Author
Owner

@mthenw commented on GitHub (Sep 16, 2015):

@swasher not sure if you are still interested but, could you try running it on different node version. It looks like node's error.

<!-- gh-comment-id:140907414 --> @mthenw commented on GitHub (Sep 16, 2015): @swasher not sure if you are still interested but, could you try running it on different node version. It looks like node's error.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/frontail#32
No description provided.