You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cassandra install failing with permissions / missing file errors. Trying to install from 'sudo apt-get install cassandra' and there are a number of failures preventing it from starting and maybe even installing.
Expected results
Type "sudo apt-get install cassandra" then "nodetool status" to verify however. 'nodetool status' results in problems
Actual results (with terminal output if applicable) - Issue with installation
kikia$ sudo apt-get install Cassandra
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
cassandra-tools
The following NEW packages will be installed:
cassandra
0 upgraded, 1 newly installed, 0 to remove and 29 not upgraded.
Need to get 0 B/28.3 MB of archives.
After this operation, 37.9 MB of additional disk space will be used.
Selecting previously unselected package cassandra.
(Reading database ... 33516 files and directories currently installed.)
Preparing to unpack .../archives/cassandra_3.6_all.deb ...
Unpacking cassandra (3.6) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up cassandra (3.6) ...
sysctl: cannot open "/etc/sysctl.d/cassandra.conf": No such file or directory
Warning: unable to set vm.max_map_count; is this an OpenVZ
instance? If so, it is highly recommended that you set
vm.max_map_count to 1048575 in the host.
Deleting the local sysctl.d/cassandra.conf.
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of start.
further issue seen when checking status /kikia$ nodetool status nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused (Connection refused)'.
Your Windows build number
14393.351
Not sure if there's some permission that should be updated before doing this install. This is the first install that has failed so far.
The text was updated successfully, but these errors were encountered:
The OP repro "sudo apt-get install cassandra" will fail out of the gate, because cassandra is not an Ubuntu package. Which was probably enough for this to be skipped at the time.
The error you're encountering, "Permission denied," indicates that the current user does not have the necessary permissions to write to the /etc/apt/keyrings/ directory. To resolve this, you need to use sudo to run the command with elevated privileges.
sudo curl -o /etc/apt/keyrings/apache-cassandra.asc https://downloads.apache.org/cassandra/KEYS
This will prompt you to enter your password, allowing curl to save the file with the necessary permissions.
A brief description
Cassandra install failing with permissions / missing file errors. Trying to install from 'sudo apt-get install cassandra' and there are a number of failures preventing it from starting and maybe even installing.
Expected results
Type "sudo apt-get install cassandra" then "nodetool status" to verify however. 'nodetool status' results in problems
Actual results (with terminal output if applicable) - Issue with installation
kikia$ sudo apt-get install Cassandra
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
cassandra-tools
The following NEW packages will be installed:
cassandra
0 upgraded, 1 newly installed, 0 to remove and 29 not upgraded.
Need to get 0 B/28.3 MB of archives.
After this operation, 37.9 MB of additional disk space will be used.
Selecting previously unselected package cassandra.
(Reading database ... 33516 files and directories currently installed.)
Preparing to unpack .../archives/cassandra_3.6_all.deb ...
Unpacking cassandra (3.6) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up cassandra (3.6) ...
sysctl: cannot open "/etc/sysctl.d/cassandra.conf": No such file or directory
Warning: unable to set vm.max_map_count; is this an OpenVZ
instance? If so, it is highly recommended that you set
vm.max_map_count to 1048575 in the host.
Deleting the local sysctl.d/cassandra.conf.
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of start.
/kikia$ nodetool status nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused (Connection refused)'.
Your Windows build number
14393.351
Not sure if there's some permission that should be updated before doing this install. This is the first install that has failed so far.
The text was updated successfully, but these errors were encountered: