Hi!

Just wondering if there's a way to have the packages install to 
/mnt/scalr-server instead of /opt/scalr-server. I tried just setting up a 
symlink, and that seems to work fine for everything except RRD. Supervisord 
complains that rrd was unable to be started:

Chef Client failed. 27 resources updated in 31.668522857 seconds
[2015-04-08T21:40:49+00:00] ERROR: supervisor_service[rrd] 
(scalr-server::group_rrd_enabled line 31) had an error: RuntimeError: 
Supervisor service rrd was unable to be started
[2015-04-08T21:40:49+00:00] FATAL: Chef::Exceptions::ChildConvergeError: 
Chef run process exited unsuccessfully (exit code 1)
root@ip-10-44-18-144:/home/ubuntu# less 
/opt/scalr-server/embedded/cookbooks/cache/chef-stacktrace.out

It works fine if I change /opt/scalr-server/etc/supervisor/conf.d/rrd.conf 
to have:

[program:rrd]
command=/mnt/scalr-server/embedded/bin/rrdcached -s scalr-app -l 
unix:/mnt/scalr-server/var/run/rrd/rrdcached.sock -p 
/mnt/scalr-server/var/run/rrd/rrdcached.pid -j 
/mnt/scalr-server/var/lib/rrd/journal -F -b /mnt/scalr-server/var/lib/rrd 
-B -g

For some reason RRD doesn't seem to like the symlink and wants the direct 
path. I see the following in /opt/scalr-server/var/log/supervisor/rrd.err:

Base directory (-b) resolved via file system links!
Please consult rrdcached '-b' documentation!
 
And as soon as I change the rrd.conf file and restart supervisord, it's 
fine again. But it gets reset every time I run *scalr-server-ctl 
reconfigure.* 

Thanks!
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to