Temporarily disable SELinux (or set it to permissive mode) for
troubleshooting is fine, but once you know SELinux is the cause, you
should consider change the policies (often via setsebool or audit2allow)
to allow the connection. Blindly disable SELinux does solve the issue,
but it isn't a good
Thank you Bowen. Much appreciated.
You were right. I disabled the selinux and I got past that error/page.
## To temporarily disable selinux on centos 7
$ sudo setenforce 0
## To permanently disable, set SELINUX=disabled in /etc/selinux/config
-Shabu
On Sun, Apr 11, 2021 at 1:26 AM Bowen Song
What do you mean "through the browser"? Is it a php page that runs on
something like Apache/Nginx? If that's the case, and the same code and
the same setup works on Ubuntu 18 but not CentOS 7, I would recommend
you to have a look at the SELinux logs.
On 10/04/2021 14:01, Shabu Khan wrote:
Hel
Hello:
When I try this from the command line it works:
[root@localhost cassandra]# cqlsh -u testuser -p Welcome123! -k testapp
Connected to Test Cluster at 127.0.0.1:9042.
[cqlsh 5.0.1 | Cassandra 3.11.10 | CQL spec 3.4.4 | Native protocol v4]
Use HELP for help.
testuser@cqlsh:testapp>
But throu
ache.org>"
>> Date: Wednesday, October 28, 2015 at 5:09 PM
>> To: "user@cassandra.apache.org <mailto:user@cassandra.apache.org>"
>> Subject: Re: Error Connecting to Cassandra
>>
>> I am using cassandra standalone, the machine is up, I was
check the logs for indication that it’s failing.
>
> From: Eduardo Alfaia
> Reply-To: "user@cassandra.apache.org"
> Date: Wednesday, October 28, 2015 at 5:09 PM
> To: "user@cassandra.apache.org"
> Subject: Re: Error Connecting to Cassandra
>
> I am using c
luster: Not executing scheduled task due to Scheduler shutdown}On 29 Oct 2015, at 06:11, Jeff Jirsa <jeff.ji...@crowdstrike.com> wrote:The cassandra system.log would be more usefulWhen Cassandra starts rejecting or dropping tcp connections, try to connect using cqlsh, and check the logs for indi
at 5:09 PM
To: "user@cassandra.apache.org"
Subject: Re: Error Connecting to Cassandra
I am using cassandra standalone, the machine is up, I was monitoring the
cassandra seeing the system.log but I didn’t see anything wrong.
I’ve captured the flow of packets using wireshark an
I am using cassandra standalone, the machine is up, I was monitoring the cassandra seeing the system.log but I didn’t see anything wrong.I’ve captured the flow of packets using wireshark and I’ve seen that the cassandra server is reset the connection with the client. I am sending the python app whi
Hi Eduardo,
Is the cluster up and running?
As your message says "Control connection failed to connect, shutting down
Cluster"
May be you can get some more info from the system.log.
Thanks
Surbhi
On 28 October 2015 at 16:46, Eduardo Alfaia
wrote:
> Hi Gupta,
>
> I am running a simple python ap
Hi Gupta,
I am running a simple python application that isn’t heavy from point of view of
access to cassandra. The application create a new keyspace, tables and do the
load of data.
The application is an example in python-driver folder.
> On 29 Oct 2015, at 00:33, Surbhi Gupta wrote:
>
> Are
Are you running heavy load?
I have seen these kinds error application team reporting to us in case when
they have too many connection already setup and they are trying to connect
more applications.
Try to disconnect the applications which are not required and try again ..
Hope this helps...
On 28
Hi Guys,
I am some problems of Connection Timeout in a random mode, that is, the
application in python that I am using sometimes it does work very well
sometimes not, I am getting this error:
015-10-28 19:49:05,286 [WARNING] cassandra.cluster: [control connection] Error
connecting to 10.20.25
al
>>>>
>>>>>
>>>>> I am using the following code to create my client.
>>>>>
>>>>> tr = new TSocket(url, port);
>>>>> TProtocol proto = new TBinaryProtocol(tr);
>>>>> client = new Cassandra.Clien
t;>
>>>> tr = new TSocket(url, port);
>>>> TProtocol proto = new TBinaryProtocol(tr);
>>>> client = new Cassandra.Client(proto);
>>>> client.set_keyspace(this.keyspace);
>>>>
>>>> I am getting the errors I mentioned below
>>>> Thanks
w TBinaryProtocol(tr);
>>> client = new Cassandra.Client(proto);
>>> client.set_keyspace(this.keyspace);
>>>
>>> I am getting the errors I mentioned below
>>> Thanks
>>> Anurag
>>>
>>>
>>> -- Forwarded message
col(tr);
>> client = new Cassandra.Client(proto);
>> client.set_keyspace(this.keyspace);
>>
>> I am getting the errors I mentioned below
>> Thanks
>> Anurag
>>
>>
>> -- Forwarded message ------
>> From: Anurag Gujral
>> Date: Thu, M
> client = new Cassandra.Client(proto);
> client.set_keyspace(this.keyspace);
>
> I am getting the errors I mentioned below
> Thanks
> Anurag
>
>
> -- Forwarded message --
> From: Anurag Gujral
> Date: Thu, Mar 24, 2011 at 1:26 AM
> Subject: error connecting
--
From: Anurag Gujral
Date: Thu, Mar 24, 2011 at 1:26 AM
Subject: error connecting to cassandra 0.7.3
To: user@cassandra.apache.org
I am using cassandra-0.7.3 and thrift-0.0.5,I wrote a java client using
thrift 0.0.5 when I try to connect to
local cassandra server I get the following error
ERROR
I am using cassandra-0.7.3 and thrift-0.0.5,I wrote a java client using
thrift 0.0.5 when I try to connect to
local cassandra server I get the following error
ERROR com.bluekai.cassandra.validation.ValidationThread - Failed to connect
to 127.0.0.1.
org.apache.thrift.transport.TTransportException:
20 matches
Mail list logo