[
https://issues.apache.org/jira/browse/CASSANDRA-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252318#comment-13252318
]
Tio Tempestade commented on CASSANDRA-3636:
-------------------------------------------
Solved it! Just unpack the .deb and comment the sysctl -p
/etc/sysctl.d/cassandra.conf line in postinst.
It is already set to vm.max_map_count = 1048575 as the script tries to do..
After that rebuild the .deb and proceed with Datastax's installation.
> cassandra 1.0.x breakes APT on debian 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