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: Dan Doyle <>
  • To: Andreas Demetriou <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] Removing old Cassandra Data
  • Date: Mon, 28 Nov 2016 11:03:32 -0500
  • Ironport-phdr: 9a23:YUEnuhVSRn7vyBJbPv6w4pPl4urV8LGtZVwlr6E/grcLSJyIuqrYbRaGt8tkgFKBZ4jH8fUM07OQ6PG7HzdeqsbY+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe71/IRG4oAnLuMQbgIRuJ6UsxhDUvnZGZuNayH9yK1mOhRj8/MCw/JBi8yRUpf0s8tNLXLv5caolU7FWFSwqPG8p6sLlsxnDVhaP6WAHUmoKiBpIAhPK4w/8U5zsryb1rOt92C2dPc3rUbA5XCmp4ql3RBP0jioMKiU0+3/LhMNukK1boQqhpx1hzI7SfIGVL+d1cqfEcd8HWWZNQsNdWipcCY2+coQPFfIMMvpXoIfgp1UBrxWwCwqiBO3xzTFFnXD20bE/0+k7EQHKwA4tEtQTu3rUttX1M6ISXPi7wqbSyzXIcv1Y2TD96YjMbB8qvPaBUq9qfsrV1EYvEAPEjlGOpoH+MDOV0uMNvHOB4OpkU+KvjHIopxtwojiy3MsjlJTGhp8Mx13C6C53zoE1JdiiR056Z96pCJRQtyCVN4RsXswiR39ntzwgyrEcpZG7ey0KxIw/xxHBcfyHfZOI4hXlVOmLOzd0nnRld6yjhxu07EOuyfX8W9Gp3FtFqidJiMTAu3EN2hDJ98SKRPRw8l2g1DuLzwzf9+5JLEQumabGKpMt3qQ8mocTvEnHBCP7mEP7h7KMeEo+4Oin8eHnb63mppCCM490jRnzMqE0lcy+BeQ0LxECX26F9uWyzrHj8lf5QLNNjvIqiKXZsY3aKd4FqaGkHg9Zyocj6xChADe6yNkUgHYKIVZfdB6ajoXkO0vCLO32APqwmVihkTNmy+jDPrL7A5XNKnbDkK3mfbZ480NT1RA8zdRC6JJTCrABJOz8V1T+tNzcCR82KBa7w+LhCNV6yowSQ2OPArKDPKzMrFCI+/ojI/OQa48NpDb9N/8l6ub2jXAng18dc7Kp3ZwRaH+iBPRqOliZYWHyjdcbCmoKugs+TPf2iF2ZTzJffXeyX6Qg5j4lEoKmC5nMRpyzjLCbwii0A4BWNSh6DQWlF3vyeoyfE9sBbS+OOM5mj3RQXL6tUYIozleiuQr316BmKff89SwXvJnn2dFvoebUkEdh2yZzCpGx2mfFY2Zlmm5AEzM/2Kx4sEhw4liH1qJxh/pfHppS+rVEXhpsZs2U9PBzF92nAlGJRdyOUlvzB4z+WTw=

Andreas,

Are you running all of the commands listed in the right order, as the root user? I can get that error to happen while just running as my regular user, but not as the root user.

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

On Nov 28, 2016, at 9:34 AM, Andreas Demetriou <> wrote:

 
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
 <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
 
From: Dan Doyle [] 
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

Attachment: smime.p7s
Description: S/MIME cryptographic signature




Archive powered by MHonArc 2.6.19.

Top of Page