processone / grapherl Goto Github PK
View Code? Open in Web Editor NEWejabberd monitoring server
License: MIT License
ejabberd monitoring server
License: MIT License
Following error while compiling grapherl (pulled from dev branch)
Compiling c_src/eleveldb.cc
===> Compiling c_src/refobjects.cc
===> Compiling c_src/workitems.cc
===> Linking priv/eleveldb.so
===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace
Can anyone provide me the latest code for this module. I am unable to integrate it with my Ejabberd server. When i enable/install this module in server, the server does not show any errors but server does not start.
I compile sources on Ubuntu 16.04 and throw errors:
./rebar3 compile
===> Verifying dependencies...
===> Fetching cowboy ({git,"https://github.com/ninenines/cowboy.git",
{ref,
"5ff3fdd91e20a137b6378c7271826c1d94d4e3d2"}})
===> Fetching eleveldb ({git,"https://github.com/basho/eleveldb.git",
{ref,
"8af5f299a787a4e4ae888ece097f5247576add0c"}})
===> Plugin pc not available. It will not be used.
............
===> Unable to run post hooks for 'compile', command 'compile' in namespace 'pc' not found.
Makefile:8: recipe for target 'compile' failed
make: *** [compile] Error 1
Hi,
Make command is failing with the following error. Any idea what could be the reason?
./rebar3 compile
===> Verifying dependencies...
===> Fetching eleveldb ({git,"https://github.com/basho/eleveldb.git",
{branch,"master"}})
===> Failed to fetch and copy dep: {git,"https://github.com/basho/eleveldb.git",
{branch,"master"}}
make: *** [compile] Error 1
OS: Ubuntu 14.04 Server LTS
Erlang: Erlang/OTP 17
root@xmpp:~/sources/grapherl/grapherl# make
rebar3 compile
make: rebar3: Command not found
make: *** [compile] Error 127
root@xmpp:~/sources/grapherl/grapherl# export PATH=/root/sources/grapherl/grapherl:$PATH
root@xmpp:~/sources/grapherl/grapherl# make
rebar3 compile
===> Verifying dependencies...
===> Fetching cowboy ({git,"https://github.com/ninenines/cowboy.git",
{tag,"2.0.0-pre.1"}})
===> Fetching eleveldb ({git,"https://github.com/basho/eleveldb.git",
{branch,"master"}})
===> Plugin pc not available. It will not be used.
===> Fetching lager ({git,"git://github.com/basho/lager.git",
{tag,"2.1.1"}})
===> Fetching mochiweb ({git,"https://github.com/mochi/mochiweb.git",
{tag,"v2.12.2"}})
===> Fetching poolboy ({git,"git://github.com/devinus/poolboy.git",
{branch,"master"}})
===> Fetching procket ({git,"https://github.com/msantos/procket.git",
{branch,"master"}})
===> Plugin pc not available. It will not be used.
===> Fetching cowlib ({git,"git://github.com/ninenines/cowlib.git",
"1.0.0"})
===> WARNING: It is recommended to use {branch, Name}, {tag, Tag} or {ref, Ref}, otherwise updating the dep may not work as expected.
===> Fetching cuttlefish ({git,"git://github.com/basho/cuttlefish.git",
{tag,"2.0.0"}})
===> Fetching goldrush ({git,"git://github.com/DeadZen/goldrush.git",
{tag,"0.1.6"}})
===> Fetching ranch ({git,"git://github.com/ninenines/ranch.git",
"1.0.0"})
===> WARNING: It is recommended to use {branch, Name}, {tag, Tag} or {ref, Ref}, otherwise updating the dep may not work as expected.
===> Fetching getopt ({git,"git://github.com/jcomellas/getopt.git",
{tag,"v0.4.3"}})
===> Skipping lager (from {git,"git://github.com/basho/lager.git",
{tag,"2.0.3"}}) as an app of the same name has already been fetched
===> Fetching neotoma ({git,"git://github.com/seancribbs/neotoma.git",
{tag,"1.7.2"}})
===> Bad packages index, try to fix with `rebar3 update`
===> Compiling cowlib
===> Compiling procket
make[1]: Entering directory `/root/sources/grapherl/grapherl/_build/default/lib/procket/c_src'
cc -c -Wall -fPIC -g -O2 -DNDEBUG -DSPARE_SEND_FDS -DSPARE_RECV_FDS fd_send.c
cc -c -Wall -fPIC -g -O2 -DNDEBUG -DSPARE_SEND_FDS -DSPARE_RECV_FDS fd_recv.c
ar cr libancillary.a fd_send.o fd_recv.o
ranlib libancillary.a
cc -g -Wall -o ../priv/procket -L. procket_cmd.c -lancillary
make[1]: Leaving directory `/root/sources/grapherl/grapherl/_build/default/lib/procket/c_src'
===> Unable to run post hooks for 'compile', command 'compile' in namespace 'pc' not found.
make: *** [compile] Error 1
Hi
After enabling the above test module it is producing ejabberd_hooks:run1:335 {undef,[{mod_metrics_test,user_send_packet ... error.
As per the syntax (add hooks) things looks fine but I have no clear idea why it is happening. Any help would be appreciated.
Hi,
I already have a project in the Erlang space named Grapherl active since 2010 and would appreciate if you could could change the name to something else to avoid confusion.
Thanks in advance!
Adam
./rebar3 compile
===> Verifying dependencies...
===> Fetching cowboy ({git,"https://github.com/ninenines/cowboy.git",
{tag,"2.0.0-pre.1"}})
===> Fetching eleveldb ({git,"https://github.com/basho/eleveldb.git",
{branch,"master"}})
===> Failed to fetch and copy dep: {git,"https://github.com/basho/eleveldb.git",
{branch,"master"}}
make: *** [compile] Error 1
As eleveldb changed branch name so please update the rebar.config accordingly as it is giving error while installing it.
we have some missing probes, and logs with many occurences of this error
{{badmatch,{error,#Ref<0.0.8.208971>,{bad_write_action,{put,<<26 bytes>>,0}}}},[{db_levelDB,insert,3,[{file,"/usr/src/grapherl/grapherl/_build/default/lib/graph_db/src/db_levelDB.erl"},{line,69}]},{db_daemon,merge_points,5,[{file,"/usr/src/graph...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.