Giter Club home page Giter Club logo

Comments (8)

xcourmont avatar xcourmont commented on May 25, 2024

Hello,

The issue is by my side...
As elassandra relies heavily on cassandra, and to be compliant with other tools, we decided to use user cassandra for elassandra...

I don't have test this rpm on centos 6, but I figure that you can start your elassandra instance with /opt/elassandra/bin/elassandra start as user cassandra.

I will remove the documentation that you pointed out and release a new one soon.

I will try to put a new rpm, tested in centos 6 this Week-End...

Regards

from elassandra.

nahtnam avatar nahtnam commented on May 25, 2024

When I do sudo yum install elassandra, I get an error saying: Failed to synchronize cache for repo 'Elassandra', disabling. which makes it impossible for me to download.

from elassandra.

xcourmont avatar xcourmont commented on May 25, 2024

Hello,

On which OS and version are you trying to install (CentOS, RHEL...) ?
Have you try sudo yum clean all --disablerepo=* --enablerepo=Elassandra ?

Regards

from elassandra.

mddubey avatar mddubey commented on May 25, 2024

from elassandra.

xcourmont avatar xcourmont commented on May 25, 2024

Sorry,

I was replying to nahtnam

Beside that, a lot of change had been made to the packages...
You should use this documentation instead :

http://elassandra.readthedocs.io/en/latest/install_rpm.html

I just try to install it, and the repository is available...
This package has not been tested on CentOS 6.x, and it don't have init script (no support for chkconfig, service ... and so on).

I will try to support this as soon as possible, but it's better to use CentOS 7

Feel free to post log messages, because it's hard to guess what is going wrong without it !!!

Regards

from elassandra.

mddubey avatar mddubey commented on May 25, 2024

hey,

I tried installing it, it's installed and running, but when I try to do cqlsh it gives me bellow error

[cassandra@localhost ~]$ cqlsh
Traceback (most recent call last):
  File "/opt/elassandra/bin/cqlsh.py", line 152, in <module>
    from cqlshlib import cql3handling, cqlhandling, pylexotron, sslhandling
ImportError: No module named cqlshlib
[cassandra@localhost ~]$

I am using centos 7.1

CentOS Linux release 7.1.1503 (Core)

from elassandra.

vroyer avatar vroyer commented on May 25, 2024

Hi,

Did you install the cassandra driver like this ?

pip install cassandra-driver

from your elassandra instal directory.

python pylib/setup.py install

Thanks.

from elassandra.

MRYingLEE avatar MRYingLEE commented on May 25, 2024

I have spent nearly 1 day to solve similar problem. The reason is that there is a mismatch between /usr/lib/python2.7/site-packages/ and /usr/local/lib/python2.7/site-packages/ (for my specific folder tree).

The command to use is as the following:

mv /usr/lib/python2.7/site-packages/* /usr/local/lib/python2.7/site-packages/
rmdir /usr/lib/python2.7/site-packages
ln -s /usr/local/lib/python2.7/site-packages /usr/lib/python2.7/site-packages

I guess you will find 2 /site-packages/ also.

Just for your reference.

from elassandra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.