Skip to Content.
Sympa Menu

perfsonar-user - RE: [perfsonar-user] Removing old Cassandra Data

Subject: perfSONAR User Q&A and Other Discussion

List archive

RE: [perfsonar-user] Removing old Cassandra Data


Chronological Thread 
  • From: Andreas Demetriou <>
  • To: Dan Doyle <>
  • Cc: "" <>
  • Subject: RE: [perfsonar-user] Removing old Cassandra Data
  • Date: Mon, 28 Nov 2016 14:34:26 +0000
  • Accept-language: en-GB, en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:BW1EVhGOzfhlPMYyPYxZxp1GYnF86YWxBRYc798ds5kLTJ76p8i/bnLW6fgltlLVR4KTs6sC0LuN9fu+EjBfqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjSwbLd8IRmsowjct8YajIRgJ60s1hbHv3xEdvhMy2h1P1yThRH85smx/J5n7Stdvu8q+tBDX6vnYak2VKRUAzs6PW874s3rrgTDQhCU5nQASGUWkwFHDBbD4RrnQ5r+qCr6tu562CmHIc37SK0/VDq+46t3ThLjlTwKPCAl/m7JlsNwjbpboBO/qBx5347Ue5yeOP5ncq/AYd8WWW9NU8BMXCJDH4y8dZMCAeofM+hFs4nzqVgArRW8CgmtGOzgxSRFhmXq0aEmyektDR3K0Q4mEtkTsHrUttL1NKIKXO2pyqnH0C/DYO1M1jfm9YPGfA4uofSSUrJsa8rRyE4vFx7YhViXs4PlOS6a1v4TvGeB9OpsT/+ghHAiqw5vvjiv3MYsio7Uho8OxVDE9Cp5z5wpKt28VkF0e8SkHIFMuCGdMot7W8UvSHxmtiY9z70Jo5+7fC4SxZQoxh7fZOaIfJSM4h39TumROy10i25ieLK6nxqy6VavyvfyVsmv11ZKqDBKksPWunALyRPT9s6KQeZ+8Ee5wTuDyRrc5v1ZLU0xiKbXNoMtz7s+lpccrUjPAir7mEvog6OKdkgp/+2l5ub5brXovpORNIx5hhvgPqgyhMCzG/k0PwYQU2SB9umx2rvu9lDjTrpQlP05iKzZvYjaJcsFoq65BBdY3Ikt5BijEzuqzs0Uk3sIIl5YYR6HiJPmNE/ULPD/EPe/n0+jkDB2x/DAI7LtGI3NLmLEkLf9Y7ly91JcyAs0zdBZ/Z5UDawBIO73Wk/2s9zYDQU1PBCzw+biENl914UeVnyTAqKBLq/dq0OE6v8qLuWReYMZpTPwK/Yq6vLykXM0nFEdcre10ZYXbX21G/ZrL1uXYXb0h9cOC2YKvg4wTOzwj12CVCZeaGy0X60h/DE0FpipDZzZSo+wnrOB2Tm0HoFMZmBHDVCMDGzld4qFW/cDci2dPsthnSIeWri7UYMuyRautArix7p9MuXU4jEYtY7k1NVt/+3ciwsy9TJvD8Sa1WGCVXt0knoVRz8twq9/u1dwylOC0ahjn/xYDsJf6+lIUgc8KZ7T0fZ6C9bsVQLdYNuFUkipTci7AWJ5ctVk79YIK2p6CtGvxkTP1i6mBK4RmpSEAJs++6ba2HO3Jts7xnrbgvoPlV4jF+JJOXerj7U32wXWCpLTkkKE3/Kjc6gG0SfWsmuOyGeSpkBfTSZ/UKrMVnQSb1GQptP8sBCRB4SyAKgqZ1MSgfWJLbFHP5iw1Q1L
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

 

Yes but when I do I also get an error when I enter:

 

/opt/rh/python27/root/usr/bin/virtualenv --prompt="(esmond)" .

 

The error is:

 

/opt/rh/python27/root/usr/bin/python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory

 

Thanks,

 

Andreas Demetriou| Placement Network Engineer

 Gigaclear plc

Gigaclear plc, Windrush Court, Abingdon, Oxfordshire, OX14 1SY

M: 07976649731 T: 01865591142 W: www.gigaclear.com

Gigaclear plc is registered in England and Wales with company number 07476617

 

From: Dan Doyle [mailto:]
Sent: 28 November 2016 13:54
To: Andreas Demetriou <>
Cc:
Subject: Re: [perfsonar-user] Removing old Cassandra Data

 

Andreas,

 

Have you done the following before attempting to run the ps_remove_data?

 

cd /usr/lib/esmond
source /opt/rh/python27/enable
/opt/rh/python27/root/usr/bin/virtualenv --prompt="(esmond)" .
. bin/activate

 

 

esmond uses a nonstandard python (2.7) on CentOS6, so the environment must be set up correctly for its various scripts to run correctly, otherwise it may try to run under python 2.6 and get incorrect behavior.

 

Dan Doyle
GlobalNOC Software Developer
1-812-856-3892

 

On Nov 25, 2016, at 12:32 PM, Andreas Demetriou <> wrote:

 

Hi,

 

I’m trying to remove old measurement data from perfsonar, and I try running this command:

 

python /usr/lib/esmond/util/ps_remove_data.py -c usr/lib/esmond/util/ps_remove_data.conf

 

but I get this error:

 

Traceback (most recent call last):

  File "/usr/lib/esmond/util/ps_remove_data.py", line 69, in <module>

    import django

ImportError: No module named Django

 

Can you help with this?

 

Kind Regards,

 

Andreas Demetriou| Placement Network Engineer

 <image001.png>

Gigaclear plc, Windrush Court, Abingdon, Oxfordshire, OX14 1SY

M: 07976649731 T: 01865591142 W: www.gigaclear.com

Gigaclear plc is registered in England and Wales with company number 07476617

 




Archive powered by MHonArc 2.6.19.

Top of Page