RE: [blockmon-demons] query on "libblockmonpy.so"


chronological Thread 
  • From: Maurizio Dusi < >
  • To: "' '" < >
  • Cc: "' '" < >
  • Subject: RE: [blockmon-demons] query on "libblockmonpy.so"
  • Date: Thu, 18 Oct 2012 14:20:20 +0000
  • Accept-language: en-GB, de-DE, en-US

Hi Qin Liu,

Have you built blockmon with the option -DWITH_DAEMON enabled?

cmake -DWITH_DAEMON=ON
make

that creates "libblockmonpy.so". 
For details about how to compile blockmon with such option please refer to 
the README and INSTALL files.

Once you have that .so in your main folder, you should be able to:

cd daemon
sudo python cli.py

Hope this helps!
maurizio

> -----Original Message-----
> From: 
> 
>  
> [mailto:
>  On Behalf Of Qin 
> Liu
> Sent: Thursday, October 18, 2012 10:47 AM
> To: 
> 
> Subject: [blockmon-demons] query on "libblockmonpy.so"
> 
> Hi,
> 
> When I ran blockmon, I got this error:
> 
> 
>       
>  :~/Workspace/blockmon$
>  sudo python daemon/cli.py
>       Traceback (most recent call last):
>         File "daemon/cli.py", line 37, in <module>
>           from core.bmprocess import BMProcessManager
>         File
> "/home/qliu/Workspace/blockmon/daemon/core/bmprocess.py", line 50, in 
> <module>
>           blockmon = imp.load_dynamic('blockmon','../libblockmonpy.so')
>       ImportError: ../libblockmonpy.so: cannot open shared object file:
> No such file or directory
> 
> 
> I can't find the file libblockmonpy.so anywhere, it seems it hasn't 
> been generated.
> I only find a .so file called libblockmoncore.so.
> I'm using the latest version of blockmon on the github.
> 
> Can you tell me how to start?
> Thanks.
> 
> --
> 
> Qin Liu (劉勤)
> Department of Computer Science & Engineering, The Chinese University 
> of Hong Kong
> 
> http://www.cse.cuhk.edu.hk/~qliu





Archive powered by MhonArc 2.6.16.

§