Comments (7)
It looks like runit
is having difficulty starting the statsd
service. The template for the script that it executes is here:
https://github.com/hectcastro/chef-statsd/blob/develop/templates/default/sv-statsd-run.erb
You may want to take a look at how it is rendered on your machine to see if the paths for things like the Node.js binary and statsd
configuration files look OK. The rendered template should be in /etc/service/statsd
.
from chef-statsd.
I'm seeing the same problem. In my case, the error is caused by node (nodejs) being installed to /usr/bin/node
instead of /usr/local/bin/node
.
from chef-statsd.
Sorry guys for not coming with a reply earlier, yes, as PaulOstazeski says, this is the issue, nodejs being located in a wrong path
from chef-statsd.
Since this commit in April, node["nodejs"]["dir"]
has been removed. If the node executable is in the user's PATH
variable, does it matter what the full path is?
from chef-statsd.
Support for node["statsd"]["nodejs_bin"]
has been added to this cookbook since 5452a1a. Are you able to override that to make things work?
from chef-statsd.
Yes, overriding that attribute works.
from chef-statsd.
I would think that the upstream node cookbook would publish an attribute defining the path to node (the executable) (I think that the path varies depending on if a user chooses a package install or a source install), but it does not publish such an attribute so far as I can see.
from chef-statsd.
Related Issues (8)
- /etc/init.d/statsd restart broken on CentOS HOT 5
- Tag for v0.0.11 HOT 1
- Error executing action `run` on resource 'bash[compile node.js (on 8 cpu)]' HOT 1
- ResourceNotFound on runit_service notification HOT 3
- Incompatibility with node.js installed by package HOT 2
- v1.1.9 or 1.1.9 :\ HOT 1
- Metadata name is missing in supermarket version of cookbook HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chef-statsd.