$ wget https://dlcdn.apache.org/cassandra/4.0.8/apache-cassandra-4.0.8-bin.tar.gz
--2023-02-19 04:04:57-- https://dlcdn.apache.org/cassandra/4.0.8/apache-cassandra-4.0.8-bin.tar.gz
Resolving dlcdn.apache.org (dlcdn.apache.org)... 151.101.2.132, 2a04:4e42::644
Connecting to dlcdn.apache.org (dlcdn.apache.org)|151.101.2.132|:443... failed: Connection timed out.
Connecting to dlcdn.apache.org (dlcdn.apache.org)|2a04:4e42::644|:443... failed: Network is unreachable.
Related
I downloaded mongodb-bin and mongodb-tools-bin in AUR.I just typed sudo systemctl enable mongodb and just ran mongo.This is the error i got:
$ mongo
MongoDB shell version v5.0.5
connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed: SocketException: Error connecting to 127.0.0.1:27017 :: caused by :: Connection refused :
connect#src/mongo/shell/mongo.js:372:17
#(connect):2:6
exception: connect failed
exiting with code 1
I saw somebody say to just delete /var/lib/mongodb/mongod.lock but when i checked there was no mongod.lock file
I have fixed the problem by deleting /tmp/mongodb-27017.sock.I have found the answer here
I'm a beginner here,
I'm using a raspberry pi-4 running raspian OS. I'm trying to run sudo openvas-setup but it just fails to connect to dl.greenbone.net over and over again at least 20 times before finishing with errors. Can anyone tell me why this is? I'll paste code below:
--2021-05-20 19:00:56-- (try: 3) http://dl.greenbone.net/community-nvt-feed-current.tar.bz2
Connecting to dl.greenbone.net (dl.greenbone.net)|2a01:130:2000:127::d1|:80... failed: No route to host.
Connecting to dl.greenbone.net (dl.greenbone.net)|89.146.224.58|:80... failed: Connection timed out.
Retrying.
--2021-05-20 19:03:15-- (try: 4) http://dl.greenbone.net/community-nvt-feed-current.tar.bz2
Connecting to dl.greenbone.net (dl.greenbone.net)|2a01:130:2000:127::d1|:80... failed: No route to host.
Connecting to dl.greenbone.net (dl.greenbone.net)|89.146.224.58|:80... failed: Connection timed out.
Retrying.
the server has been shut down more then a year ago. The Greenbone OpenVAS version you are using a very very outdated and can't be used anymore. Maybe updating raspbian helps. Otherwise you can try building it from source with https://greenbone.github.io/docs/
my 3-node Cassandra cluster is deployed on AWS with a AWS elastic load balancing (ELB)
When I run the following:
$cqlsh -u <userid> -p <pwd> <ELB's ip> -f backup.cqlsh
and in backup.cqlsh:
COPY comm_hub.my_table TO 'my_table.csv' WITH PAGESIZE=10;
but after exporting about 200 rows, I got
backup.cqlsh:1:
Error for (-429560303281209914, -419692349690315328):
Failed to connect to all replicas ['10.16.234.41', '10.16.233.40', '10.16.234.130'] for (-429560303281209914, -419692349690315328), errors:
['NoHostAvailable - (\'Unable to connect to any servers\', {\'10.16.234.41\': error(None, "Tried connecting to [(\'10.16.234.41\', 9042)]. Last error: timed out")})', 'NoHostAvailable - (\'Unable to connect to any servers\', {\'10.16.233.40\': error(None, "Tried connecting to [(\'10.16.233.40\', 9042)]. Last error: timed out")})', 'NoHostAvailable - (\'Unable to connect to any servers\', {\'10.16.234.130\': error(None, "Tried connecting to [(\'10.16.234.130\', 9042)]. Last error: timed out")})'] (will try again later attempt 1 of 5)
What I am missing?
I had the same problem in a local cluster and solved it by setting NUMPROCESSES = 1.
In the example you provided: COPY comm_hub.my_table TO 'my_table.csv' WITH PAGESIZE=10 AND NUMPROCESSES=1;
Below is the snapshot of the error
presto> select * from system.runtime.nodes;
Error running command: java.net.ConnectException: Failed to connect to localhost/127.0.0.1:8080
I tried using local IP address and 10.0.2.2 yet the same error occurs.
When I use the command bin/cassandra install in git bash it displays this error:
$ Error: Could not find or load main class org.apache.cassandra.service.CassandraDaemon
It completes on "cmd," but when I use bin/cqlsh I get this error:
Connection error: ('Unable to connect to any servers',
{'127.0.0.1': error(10061, "Tried connecting to [('127.0.0.1', 9042)].
Last error: No connection could be made because the target machine actively refused it")})
How can i fix it?
for install cassandra on windows , only way for this work , should we install it with datastax? or can we install cassandra only?