Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while installing the plug in on Windows #63

Open
MounikaPearl opened this issue Mar 6, 2017 · 5 comments
Open

Error while installing the plug in on Windows #63

MounikaPearl opened this issue Mar 6, 2017 · 5 comments

Comments

@MounikaPearl
Copy link

Hi All,

We are getting the log file watcher plugin error.
After installing the plugin.while running the service we are getting the below error.

D:\NewrelicLogwatcher>ruby newrelic_logwatcher_agent.rb
Agent Logwatcher is at version 0.0.2
Error occurred in poll cycle: No such file or directory - test -e D:/NewrelicLogwatcher/LogFileTest.log
Gathered 0 statistics
Error occurred in poll cycle: No such file or directory - test -e D:/NewrelicLogwatcher/LogFileTest.log
Gathered 0 statistics
Error occurred in poll cycle: No such file or directory - test -e D:/NewrelicLogwatcher/LogFileTest.log
Gathered 0 statistics
Error occurred in poll cycle: No such file or directory - test -e D:/NewrelicLogwatcher/LogFileTest.log
Gathered 0 statistics
Error occurred in poll cycle: No such file or directory - test -e D:/NewrelicLogwatcher/LogFileTest.log
Gathered 0 statistics
Error occurred in poll cycle: No such file or directory - test -e D:/NewrelicLogwatcher/LogFileTest.log
Gathered 0 statistics
Error occurred in poll cycle: No such file or directory - test -e D:/NewrelicLogwatcher/LogFileTest.log
Gathered 0 statistics

@MounikaPearl
Copy link
Author

Hello Team,
Can you please help on the above error, we are seeing while starting the watcher on windows machine? Any one else have ever faced the error and?

Thanks and Regards,
Mounika

@MounikaPearl
Copy link
Author

Can someone suggest on the above mentioned issue.

Regards,
Mounika

@scream3
Copy link
Contributor

scream3 commented Apr 25, 2017

Hi @MounikaPearl this plugin is intended to work on *nix operating systems where test is a standard part of the system. You could try to set up on your Windows machine and make sure that it appears in the PATH, so it's resolvable as test from command line.

@MounikaPearl
Copy link
Author

Hi @scream3 we have put the log file path (which we are trying to monitor) in the PATH variable.
We have also defined a variable "test" and its value is the log file path.
But we are still getting the same error.

@scream3
Copy link
Contributor

scream3 commented May 30, 2017

@MounikaPearl test is a name of command line program (https://en.wikipedia.org/wiki/Test_(Unix)) . It should NOT be defined as variable. This should be present as executable file on target computer and directory with it should appear in PATH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants