cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zenek Kraweznik (Commented) (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-3636) cassandra 1.0.6 debian packages will not run on OpenVZ
Date Sat, 21 Jan 2012 00:24:40 GMT


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:
>             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:!default.jspa
For more information on JIRA, see:


View raw message