You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Chamila Wijayarathna <cd...@gmail.com> on 2014/01/23 05:02:15 UTC

./cqlsh not working

Hi all,
I downloaded 1.2.13 version and ran ./cqlsh inside bin folder, but it says
that "bash: ./cqlsh: Permission denied", when I ran it with sudo it says
"Command not found".
 When I ran chmod u+x cqlsh and then tried ./cqlsh, now it says that "Can't
locate transport factory function
cqlshlib.tfactory.regular_transport_factory". What is the problem here?

Thank You.
-- 
*Chamila Dilshan Wijayarathna,*
SMIEEE, SMIESL,
Undergraduate,
Department of Computer Science and Engineering,
University of Moratuwa.

Re: ./cqlsh not working

Posted by chandra Varahala <ha...@gmail.com>.
did you start Cassandra server ?

thanks
Chandra


On Thu, Jan 23, 2014 at 12:08 AM, Jason Wee <pe...@gmail.com> wrote:

> Just meant it cannot find the require library, why don't you install
> cassandra package to your distribution ?
> http://rpm.datastax.com/community/noarch/cassandra12-1.2.13-1.noarch.rpm
>
> http://www.datastax.com/documentation/cassandra/1.2/webhelp/index.html#cassandra/install/installRHEL_t.html?pagename=docs&version=1.2&file=install/install_rpm
>
> That should save you a lot of trouble.
>
> Jason
>
>
> On Thu, Jan 23, 2014 at 12:02 PM, Chamila Wijayarathna <
> cdwijayarathna@gmail.com> wrote:
>
>> Hi all,
>> I downloaded 1.2.13 version and ran ./cqlsh inside bin folder, but it
>> says that "bash: ./cqlsh: Permission denied", when I ran it with sudo it
>> says "Command not found".
>>  When I ran chmod u+x cqlsh and then tried ./cqlsh, now it says that "Can't
>> locate transport factory function
>> cqlshlib.tfactory.regular_transport_factory". What is the problem here?
>>
>> Thank You.
>> --
>> *Chamila Dilshan Wijayarathna,*
>> SMIEEE, SMIESL,
>> Undergraduate,
>> Department of Computer Science and Engineering,
>> University of Moratuwa.
>>
>
>

Re: ./cqlsh not working

Posted by Jason Wee <pe...@gmail.com>.
Just meant it cannot find the require library, why don't you install
cassandra package to your distribution ?
http://rpm.datastax.com/community/noarch/cassandra12-1.2.13-1.noarch.rpm
http://www.datastax.com/documentation/cassandra/1.2/webhelp/index.html#cassandra/install/installRHEL_t.html?pagename=docs&version=1.2&file=install/install_rpm

That should save you a lot of trouble.

Jason


On Thu, Jan 23, 2014 at 12:02 PM, Chamila Wijayarathna <
cdwijayarathna@gmail.com> wrote:

> Hi all,
> I downloaded 1.2.13 version and ran ./cqlsh inside bin folder, but it says
> that "bash: ./cqlsh: Permission denied", when I ran it with sudo it says
> "Command not found".
>  When I ran chmod u+x cqlsh and then tried ./cqlsh, now it says that "Can't
> locate transport factory function
> cqlshlib.tfactory.regular_transport_factory". What is the problem here?
>
> Thank You.
> --
> *Chamila Dilshan Wijayarathna,*
> SMIEEE, SMIESL,
> Undergraduate,
> Department of Computer Science and Engineering,
> University of Moratuwa.
>