[
https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13190214#comment-13190214
]
Zenek Kraweznik commented on CASSANDRA-3636:
--------------------------------------------
Cassandra is running on openvz, but post-install procedure is not completed,
but changing this sysctl in openvz container is impossible.
This is not a bug with OpenVZ stricte, so I set components to packaging.
There is line in cassandra.postinst script:
sysctl -p /etc/sysctl.d/cassandra.conf
apt tries to run this script before install/remove any packages and stops on
this step.
This script is breaking apt.
changing "/etc/sysctl.d/cassandra.conf" to "sysctl -p
/etc/sysctl.d/cassandra.conf || rm /etc/sysctl.d/cassandra.conf" could solve
this.
> cassandra 1.0.6 debian packages will not run on OpenVZ
> ------------------------------------------------------
>
> Key: CASSANDRA-3636
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3636
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Affects Versions: 1.0.6
> Environment: Debian Linux (stable), OpenVZ container
> Reporter: Zenek Kraweznik
> Assignee: Brandon Williams
> Priority: Minor
>
> During upgrade from 1.0.6
> {code}Setting up cassandra (1.0.6) ...
> *error: permission denied on key 'vm.max_map_count'*
> dpkg: error processing cassandra (--configure):
> subprocess installed post-installation script returned error exit status 255
> Errors were encountered while processing:
> cassandra
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira