Skip to content

Instantly share code, notes, and snippets.

@xrl
Created July 1, 2012 01:37
Show Gist options
  • Save xrl/3026433 to your computer and use it in GitHub Desktop.
Save xrl/3026433 to your computer and use it in GitHub Desktop.
Boundary Setup Not Super Smooth
root@depot:/usr/local/src# ./setup_meter.sh -d -i OHAI
Detected Ubuntu 10.04.2...
Auto generating ec2 tags for this meter....<html><head><title>500 Internal Server Error</title></head><body><h1>Internal Server Error</h1>The server encountered an error while processing this request:<br><pre>{error,badarg,
[{ets,insert,[8239095,{1,1433}]},
{folsom_sample_uniform,update,2},
{folsom_metrics_histogram,update,2},
{folsom_ets,notify,4},
{folsom_metrics,histogram_timed_update,2},
{tag_resource,resource_exists,2},
{webmachine_resource,resource_call,3},
{webmachine_resource,do,3}]}</pre><P><HR><ADDRESS>mochiweb+webmachine web server</ADDRESS></body></html>done.
Adding repository deb https://apt.boundary.com/ubuntu/ lucid universe
OK
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
bprobe
0 upgraded, 1 newly installed, 0 to remove and 116 not upgraded.
Need to get 487kB of archives.
After this operation, 1,491kB of additional disk space will be used.
Get:1 https://apt.boundary.com/ubuntu/ lucid/universe bprobe 1.0.0-1fi798~lucid [487kB]
Fetched 487kB in 1s (410kB/s)
Preconfiguring packages ...
Selecting previously deselected package bprobe.
(Reading database ... 33573 files and directories currently installed.)
Unpacking bprobe (from .../bprobe_1.0.0-1fi798~lucid_amd64.deb) ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Setting up bprobe (1.0.0-1fi798~lucid) ...
* Restarting Boundary flow meter bprobe * bprobe daemon not running, attempting to start
01/Jul/2012 01:36:11 [nprobe.c:1560] Resolving IP address for "collector.boundary.com"...
01/Jul/2012 01:36:11 [nprobe.c:1582] collector.boundary.com resolved to 206.80.62.22
01/Jul/2012 01:36:11 [nprobe.c:2020] Exporting from: 10.176.231.138
01/Jul/2012 01:36:11 [nprobe.c:1662] Loading certificate: /etc/bprobe/cert.pem
01/Jul/2012 01:36:11 [nprobe.c:1664] ERROR: Failed to load certificate file /etc/bprobe/cert.pem: error:0906D06C:PEM routines:PEM_read_bio:no start line
01/Jul/2012 01:36:11 [nprobe.c:2023] ERROR: unable to initialize TLS.
[fail]
invoke-rc.d: initscript bprobe, action "restart" failed.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
The meter has been installed successfully!
@xrl
Copy link
Author

xrl commented Jul 1, 2012

Here's what the /etc/bprobe/cert.pem looks like:

<html><head><title>500 Internal Server Error</title></head><body><h1>Internal Server Error</h1>The server encountered an error while processing this request:<br><pre>{error,badarg,
       [{ets,insert,[8239095,{1,1527}]},
        {folsom_sample_uniform,update,2},
        {folsom_metrics_histogram,update,2},
        {folsom_ets,notify,4},
        {folsom_metrics,histogram_timed_update,2},
        {certificate_resource,resource_exists,2},
        {webmachine_resource,resource_call,3},
        {webmachine_resource,do,3}]}</pre><P><HR><ADDRESS>mochiweb+webmachine web server</ADDRESS></body></html>

That could be the problem :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment