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
init script gives error on start #87
Comments
Are you using rvm, rbenv, or another ruby VM manager which might lead to On Saturday, June 21, 2014, pdeva notifications@github.com wrote:
|
".. thus the dependencies." |
doing a ruby -v gives me this:
I am not familiar at all with ruby so i dont know how to make the init script use the right version. |
No. i only built a fresh image of ubuntu 14.04 and installed 'ruby-full' and 'ruby' packages as recommended here: |
If you aren't familiar with Ruby, grab remote_syslog2 instead of remote_syslog (this app). It's a standalone binary which doesn't depend on an interpreter, aside from many other fixes. remote_syslog2 is gradually replacing remote_syslog entirely, though we'll continue to support the original for existing installations. |
we dont want to use the remote_syslog2 since it doesnt support watching directories at the moment. |
Sure. I suspect right now, when you run The first step is to see which of rbenv or rvm you're using. Try:
and see what turns up. You can also try running Once you know which one is found, reply here and I'll give you a couple links with examples how to use it from init scripts. Thanks for reminding me why we rewrote remote_syslog in something other than Ruby, too ;-) |
This is the output for the various commands:
Please tell next steps |
I'm out of idea without having access to the system. If you're a Papertrail customer, can you email support at papertrailapp.com (or hit Help -> Ask a Question in Papertrail)? I'd be happy to provide support for your specific environment as part of your Papertrail service, and since this isn't an issue with the code or app, we'll be able to provide better service there. |
trying to start remote_syslogs using the init script from the examples:
(https://github.com/papertrail/remote_syslog/blob/master/examples%2Fremote_syslog.init.d)
keep getting this error.
If i just run directly from the command line, it works fine:
The text was updated successfully, but these errors were encountered: