You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Rick Bross (JIRA)" <ji...@apache.org> on 2013/04/04 16:07:38 UTC
[jira] [Commented] (CASSANDRA-4950) DEB package missing dependency
[ https://issues.apache.org/jira/browse/CASSANDRA-4950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13622352#comment-13622352 ]
Rick Bross commented on CASSANDRA-4950:
---------------------------------------
I ran into the same issue. Brand new install of Ubuntu server 12.10, AMD64. The only selection made on install was "openssh-server".
Cassandra installed but would not run. "output.log" was identical to John's. Before I saw this ticket I ran "apt-get install libcap2" and Cassandra started right up.
Here is the output that you requested. Once again, please note that this is after installing libcap2:
root@ubuntu-12-10-cassandra:~# apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://www.apache.org/dist/cassandra/debian/ 11x/main i386 Packages
release o=Unofficial Cassandra Packages,n=11x,l=Unofficial Cassandra Packages,c=main
origin www.apache.org
500 http://www.apache.org/dist/cassandra/debian/ 11x/main amd64 Packages
release o=Unofficial Cassandra Packages,n=11x,l=Unofficial Cassandra Packages,c=main
origin www.apache.org
500 http://security.ubuntu.com/ubuntu/ quantal-security/universe Translation-en
500 http://security.ubuntu.com/ubuntu/ quantal-security/restricted Translation-en
500 http://security.ubuntu.com/ubuntu/ quantal-security/multiverse Translation-en
500 http://security.ubuntu.com/ubuntu/ quantal-security/main Translation-en
500 http://security.ubuntu.com/ubuntu/ quantal-security/multiverse i386 Packages
release v=12.10,o=Ubuntu,a=quantal-security,n=quantal,l=Ubuntu,c=multiverse
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu/ quantal-security/universe i386 Packages
release v=12.10,o=Ubuntu,a=quantal-security,n=quantal,l=Ubuntu,c=universe
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu/ quantal-security/restricted i386 Packages
release v=12.10,o=Ubuntu,a=quantal-security,n=quantal,l=Ubuntu,c=restricted
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu/ quantal-security/main i386 Packages
release v=12.10,o=Ubuntu,a=quantal-security,n=quantal,l=Ubuntu,c=main
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu/ quantal-security/multiverse amd64 Packages
release v=12.10,o=Ubuntu,a=quantal-security,n=quantal,l=Ubuntu,c=multiverse
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu/ quantal-security/universe amd64 Packages
release v=12.10,o=Ubuntu,a=quantal-security,n=quantal,l=Ubuntu,c=universe
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu/ quantal-security/restricted amd64 Packages
release v=12.10,o=Ubuntu,a=quantal-security,n=quantal,l=Ubuntu,c=restricted
origin security.ubuntu.com
500 http://security.ubuntu.com/ubuntu/ quantal-security/main amd64 Packages
release v=12.10,o=Ubuntu,a=quantal-security,n=quantal,l=Ubuntu,c=main
origin security.ubuntu.com
500 http://us.archive.ubuntu.com/ubuntu/ quantal-backports/universe Translation-en
500 http://us.archive.ubuntu.com/ubuntu/ quantal-backports/restricted Translation-en
500 http://us.archive.ubuntu.com/ubuntu/ quantal-backports/multiverse Translation-en
500 http://us.archive.ubuntu.com/ubuntu/ quantal-backports/main Translation-en
100 http://us.archive.ubuntu.com/ubuntu/ quantal-backports/multiverse i386 Packages
release v=12.10,o=Ubuntu,a=quantal-backports,n=quantal,l=Ubuntu,c=multiverse
origin us.archive.ubuntu.com
100 http://us.archive.ubuntu.com/ubuntu/ quantal-backports/universe i386 Packages
release v=12.10,o=Ubuntu,a=quantal-backports,n=quantal,l=Ubuntu,c=universe
origin us.archive.ubuntu.com
100 http://us.archive.ubuntu.com/ubuntu/ quantal-backports/restricted i386 Packages
release v=12.10,o=Ubuntu,a=quantal-backports,n=quantal,l=Ubuntu,c=restricted
origin us.archive.ubuntu.com
100 http://us.archive.ubuntu.com/ubuntu/ quantal-backports/main i386 Packages
release v=12.10,o=Ubuntu,a=quantal-backports,n=quantal,l=Ubuntu,c=main
origin us.archive.ubuntu.com
100 http://us.archive.ubuntu.com/ubuntu/ quantal-backports/multiverse amd64 Packages
release v=12.10,o=Ubuntu,a=quantal-backports,n=quantal,l=Ubuntu,c=multiverse
origin us.archive.ubuntu.com
100 http://us.archive.ubuntu.com/ubuntu/ quantal-backports/universe amd64 Packages
release v=12.10,o=Ubuntu,a=quantal-backports,n=quantal,l=Ubuntu,c=universe
origin us.archive.ubuntu.com
100 http://us.archive.ubuntu.com/ubuntu/ quantal-backports/restricted amd64 Packages
release v=12.10,o=Ubuntu,a=quantal-backports,n=quantal,l=Ubuntu,c=restricted
origin us.archive.ubuntu.com
100 http://us.archive.ubuntu.com/ubuntu/ quantal-backports/main amd64 Packages
release v=12.10,o=Ubuntu,a=quantal-backports,n=quantal,l=Ubuntu,c=main
origin us.archive.ubuntu.com
500 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/universe Translation-en
500 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/restricted Translation-en
500 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/multiverse Translation-en
500 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main Translation-en
500 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/multiverse i386 Packages
release v=12.10,o=Ubuntu,a=quantal-updates,n=quantal,l=Ubuntu,c=multiverse
origin us.archive.ubuntu.com
500 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/universe i386 Packages
release v=12.10,o=Ubuntu,a=quantal-updates,n=quantal,l=Ubuntu,c=universe
origin us.archive.ubuntu.com
500 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/restricted i386 Packages
release v=12.10,o=Ubuntu,a=quantal-updates,n=quantal,l=Ubuntu,c=restricted
origin us.archive.ubuntu.com
500 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main i386 Packages
release v=12.10,o=Ubuntu,a=quantal-updates,n=quantal,l=Ubuntu,c=main
origin us.archive.ubuntu.com
500 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/multiverse amd64 Packages
release v=12.10,o=Ubuntu,a=quantal-updates,n=quantal,l=Ubuntu,c=multiverse
origin us.archive.ubuntu.com
500 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/universe amd64 Packages
release v=12.10,o=Ubuntu,a=quantal-updates,n=quantal,l=Ubuntu,c=universe
origin us.archive.ubuntu.com
500 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/restricted amd64 Packages
release v=12.10,o=Ubuntu,a=quantal-updates,n=quantal,l=Ubuntu,c=restricted
origin us.archive.ubuntu.com
500 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main amd64 Packages
release v=12.10,o=Ubuntu,a=quantal-updates,n=quantal,l=Ubuntu,c=main
origin us.archive.ubuntu.com
500 http://us.archive.ubuntu.com/ubuntu/ quantal/universe Translation-en
500 http://us.archive.ubuntu.com/ubuntu/ quantal/restricted Translation-en
500 http://us.archive.ubuntu.com/ubuntu/ quantal/multiverse Translation-en
500 http://us.archive.ubuntu.com/ubuntu/ quantal/main Translation-en
500 http://us.archive.ubuntu.com/ubuntu/ quantal/multiverse i386 Packages
release v=12.10,o=Ubuntu,a=quantal,n=quantal,l=Ubuntu,c=multiverse
origin us.archive.ubuntu.com
500 http://us.archive.ubuntu.com/ubuntu/ quantal/universe i386 Packages
release v=12.10,o=Ubuntu,a=quantal,n=quantal,l=Ubuntu,c=universe
origin us.archive.ubuntu.com
500 http://us.archive.ubuntu.com/ubuntu/ quantal/restricted i386 Packages
release v=12.10,o=Ubuntu,a=quantal,n=quantal,l=Ubuntu,c=restricted
origin us.archive.ubuntu.com
500 http://us.archive.ubuntu.com/ubuntu/ quantal/main i386 Packages
release v=12.10,o=Ubuntu,a=quantal,n=quantal,l=Ubuntu,c=main
origin us.archive.ubuntu.com
500 http://us.archive.ubuntu.com/ubuntu/ quantal/multiverse amd64 Packages
release v=12.10,o=Ubuntu,a=quantal,n=quantal,l=Ubuntu,c=multiverse
origin us.archive.ubuntu.com
500 http://us.archive.ubuntu.com/ubuntu/ quantal/universe amd64 Packages
release v=12.10,o=Ubuntu,a=quantal,n=quantal,l=Ubuntu,c=universe
origin us.archive.ubuntu.com
500 http://us.archive.ubuntu.com/ubuntu/ quantal/restricted amd64 Packages
release v=12.10,o=Ubuntu,a=quantal,n=quantal,l=Ubuntu,c=restricted
origin us.archive.ubuntu.com
500 http://us.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages
release v=12.10,o=Ubuntu,a=quantal,n=quantal,l=Ubuntu,c=main
origin us.archive.ubuntu.com
Pinned packages:
root@ubuntu-12-10-cassandra:~# apt-cache policy jsvc
jsvc:
Installed: 1.0.10-3
Candidate: 1.0.10-3
Version table:
*** 1.0.10-3 0
500 http://us.archive.ubuntu.com/ubuntu/ quantal/universe amd64 Packages
100 /var/lib/dpkg/status
root@ubuntu-12-10-cassandra:~# ldd `which jsvc`
linux-vdso.so.1 => (0x00007ffff8bff000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa28573f000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa285522000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa285162000)
/lib64/ld-linux-x86-64.so.2 (0x00007fa28594a000)
root@ubuntu-12-10-cassandra:~# find /usr/lib -name "libcap*"
/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libcapi.so
/usr/lib/libcap-ng.so.0
/usr/lib/libcap-ng.so.0.0.0
> DEB package missing dependency
> ------------------------------
>
> Key: CASSANDRA-4950
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4950
> Project: Cassandra
> Issue Type: Bug
> Components: Packaging
> Environment: * Ubuntu 12.10
> * 32 Bit, virtualized
> * Linux ###### 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:32:08 UTC 2012 i686 i686 i686 GNU/Linux
> Reporter: John Manero
> Assignee: Brandon Williams
>
> The DEB installer at [http://www.apache.org/dist/cassandra/debian 10x main|http://www.apache.org/dist/cassandra/debian] should include libcap2 as a dependency. Without libcap installed, the daemon fails to start start, generating the following error:
> {noformat}
> failed loading capabilities library -- libcap.so.1: cannot open shared object file: No such file or directory.
> Cannot set group id for user 'cassandra'
> set_user_group failed for user 'cassandra'
> Service exit with a return value of 4
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira