mirror of
https://github.com/mthenw/frontail.git
synced 2026-04-26 02:05:57 +03:00
[GH-ISSUE #25] Question #18
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/frontail#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @opensauce17 on GitHub (Nov 11, 2013).
Original GitHub issue: https://github.com/mthenw/frontail/issues/25
Hi,
This is a great solution and I would really like it to work. I am more than likely making a 101 error so please excuse my ignorance. When I start up as a daemon this is my PID info :
/usr/bin/node /usr/lib/node_modules/frontail/index.js -p 9001 -n 10 -l 2000 -t default /var/log/messages
But when I go to the server on port 9001 I pretty much get a blank page and do not see the log file specified.
Could you please let me know what I am missing.
Thanks
@mthenw commented on GitHub (Nov 12, 2013):
I don't get it.
Is this how you start frontail
/usr/bin/node /usr/lib/node_modules/frontail/index.js -p 9001 -n 10 -l 2000 -t default /var/log/messages?You don't need to pass
-p 9001 -n 10 -l 2000 -t defaultbecause those arguments are by default.@opensauce17 commented on GitHub (Nov 12, 2013):
Yes that is a ps -aux of the default service. My issue is that my log file does not get displayed.
@mthenw commented on GitHub (Nov 12, 2013):
Maybe you have problem with permissions. Is your log file is accessible for user starting frontail?
@opensauce17 commented on GitHub (Nov 12, 2013):
Hi,
I have started frontail as root. Should have access to all files. Is it not an apache permission issue maybe?
@mthenw commented on GitHub (Nov 12, 2013):
Frontail doesn't use apache :)
Starting as a root fixed your problem?
@opensauce17 commented on GitHub (Nov 12, 2013):
Ok - cool - so atleast I musn't waste time with any apache stuff - Starting as root, still gives me a blank page. At the moment I'm just trying to get a file displayed. Possibly there is a simple config I'm missing?
@mthenw commented on GitHub (Nov 12, 2013):
Oh, you are trying to use it no Windows. Windows is not supported because frontail internally uses unix
tailcommand.@opensauce17 commented on GitHub (Nov 12, 2013):
No. I'm not using it in Windows. I'm using a unix host and viewing the webapage via a windows machine......
@mthenw commented on GitHub (Nov 12, 2013):
Ok :)
You wrote that you start it as a daemon. Is this problem occur when staring in foreground?
@opensauce17 commented on GitHub (Nov 12, 2013):
yes - I get the same issue. I'm thinking I have missed something during install? I'm not sure. The install seems pretty straight forward.
@opensauce17 commented on GitHub (Nov 12, 2013):
Possibly there is something else I need to install?
@mthenw commented on GitHub (Nov 12, 2013):
npm install frontail -gis enough.Which version do you use? You can check it with
frontail -V@opensauce17 commented on GitHub (Nov 12, 2013):
My version is : 0.6.0
@mthenw commented on GitHub (Nov 12, 2013):
Does
tail -F [you file]command return anything?@opensauce17 commented on GitHub (Nov 12, 2013):
yes - on a command line it works fine.
@opensauce17 commented on GitHub (Nov 12, 2013):
When I view my source page - this is the JS that is displayed :
Is this correct?
@opensauce17 commented on GitHub (Nov 12, 2013):
Does it automatically know where to find these JS files?
@opensauce17 commented on GitHub (Nov 12, 2013):
I also installed it as root....not sure of that makes any difference?
@opensauce17 commented on GitHub (Nov 12, 2013):
How would I install a previous version? Would like to try 0.5.0....
@opensauce17 commented on GitHub (Nov 12, 2013):
Ok - it seems like it's my browser. It works perfectly from another machine's browser. Sorry for all the trouble
@vickyrare commented on GitHub (Jan 15, 2015):
One can make frontail to work on windows by using tail.exe provided by MKSNT. Download it from following link.
http://www.filedropper.com/tail
You need tail.exe in your path. You also need to make change to /lib/tail.js
change -F to -f
var tail = spawn('tail', ['-n', options.buffer, '-f', path]);
@mthenw commented on GitHub (Jan 15, 2015):
@vickyrare I'm planning to change internal implementation to not use
tailcommand but currently I don't have time for that. I've created #38.