Installing collectd hangs in debian jessie in LXD, why it stalls2019 Community Moderator ElectionInstalling a cross-toolchain to build ARM binaries on DebianDebian install haltsWhy didn't I get the same result after installing the OS as when using Debian Live?Problem installing debian 8.2 on msi computerDebian install says “The CD_ROM does not seem to contain a valid 'Release' file” when installing from usblxc+btrfs - Create and then remove a dir w/ circular symbolic link causes stale file handleLXC NAT forward host port to containerInstall kernel 4.3.5 in Debian JessieHow to run real-time application in Linux?Major problems installing Debian
What are the rules for concealing thieves' tools (or items in general)?
Determine voltage drop over 10G resistors with cheap multimeter
Why do I have a large white artefact on the rendered image?
Would this string work as string?
Why are there no stars visible in cislunar space?
PTIJ: Which Dr. Seuss books should one obtain?
Is "inadequate referencing" a euphemism for plagiarism?
Imaginary part of expression too difficult to calculate
Emojional cryptic crossword
TDE Master Key Rotation
How do you justify more code being written by following clean code practices?
Can other pieces capture a threatening piece and prevent a checkmate?
Knife as defense against stray dogs
Norwegian Refugee travel document
Exposing a company lying about themselves in a tightly knit industry: Is my career at risk on the long run?
What is the difference between something being completely legal and being completely decriminalized?
What is the reasoning behind standardization (dividing by standard deviation)?
Turning a hard to access nut?
Why doesn't the fusion process of the sun speed up?
How can a new country break out from a developed country without war?
Was World War I a war of liberals against authoritarians?
How are passwords stolen from companies if they only store hashes?
Animating wave motion in water
"Marked down as someone wanting to sell shares." What does that mean?
Installing collectd hangs in debian jessie in LXD, why it stalls
2019 Community Moderator ElectionInstalling a cross-toolchain to build ARM binaries on DebianDebian install haltsWhy didn't I get the same result after installing the OS as when using Debian Live?Problem installing debian 8.2 on msi computerDebian install says “The CD_ROM does not seem to contain a valid 'Release' file” when installing from usblxc+btrfs - Create and then remove a dir w/ circular symbolic link causes stale file handleLXC NAT forward host port to containerInstall kernel 4.3.5 in Debian JessieHow to run real-time application in Linux?Major problems installing Debian
I am trying to install collectd using
apt-get install collectd
in debian jessie. It always hangs at the same place, after setting up ca-certificates it will reach "Setting up collectd" and then stop forever. Control C and other gentle ways to halt installation do nothing at this point. In contrast, I am able to install collectd on my physical computer or in ubuntu container. However, I must have collectd in an lxd container on debian. Since it worked in ubuntu, I tried forcing it to install from the ubuntu repositories instead by adding the same repos my ubuntu container was using, configuring the keys, and then forcing it to install the exact same version using
apt-get install collectd=4.10.1-2.1ubuntu7 --force-yes -y
No luck, it hung at the same point.
After this, if I try to update apt tells me to run dpkg --configure -a
Are there any configuration files I can change before installing collectd to possibly make this work on a fresh debian jessie system, or alternatively are there any logs I can use to identify why it is hanging? The default apt logs have nothing useful since they just repeat the information displayed when trying to install in the first place, without specifying where the hang began.
My next step would be trying to set up jessie in virtualbox / a physical computer to see if the problem replicates there to identify if this is an LXC specific issue, or more general.
The specific lxd container image being used as a base is debian/jessie/amd64 from the remote images.linuxcontainers.org
debian lxc
add a comment |
I am trying to install collectd using
apt-get install collectd
in debian jessie. It always hangs at the same place, after setting up ca-certificates it will reach "Setting up collectd" and then stop forever. Control C and other gentle ways to halt installation do nothing at this point. In contrast, I am able to install collectd on my physical computer or in ubuntu container. However, I must have collectd in an lxd container on debian. Since it worked in ubuntu, I tried forcing it to install from the ubuntu repositories instead by adding the same repos my ubuntu container was using, configuring the keys, and then forcing it to install the exact same version using
apt-get install collectd=4.10.1-2.1ubuntu7 --force-yes -y
No luck, it hung at the same point.
After this, if I try to update apt tells me to run dpkg --configure -a
Are there any configuration files I can change before installing collectd to possibly make this work on a fresh debian jessie system, or alternatively are there any logs I can use to identify why it is hanging? The default apt logs have nothing useful since they just repeat the information displayed when trying to install in the first place, without specifying where the hang began.
My next step would be trying to set up jessie in virtualbox / a physical computer to see if the problem replicates there to identify if this is an LXC specific issue, or more general.
The specific lxd container image being used as a base is debian/jessie/amd64 from the remote images.linuxcontainers.org
debian lxc
add a comment |
I am trying to install collectd using
apt-get install collectd
in debian jessie. It always hangs at the same place, after setting up ca-certificates it will reach "Setting up collectd" and then stop forever. Control C and other gentle ways to halt installation do nothing at this point. In contrast, I am able to install collectd on my physical computer or in ubuntu container. However, I must have collectd in an lxd container on debian. Since it worked in ubuntu, I tried forcing it to install from the ubuntu repositories instead by adding the same repos my ubuntu container was using, configuring the keys, and then forcing it to install the exact same version using
apt-get install collectd=4.10.1-2.1ubuntu7 --force-yes -y
No luck, it hung at the same point.
After this, if I try to update apt tells me to run dpkg --configure -a
Are there any configuration files I can change before installing collectd to possibly make this work on a fresh debian jessie system, or alternatively are there any logs I can use to identify why it is hanging? The default apt logs have nothing useful since they just repeat the information displayed when trying to install in the first place, without specifying where the hang began.
My next step would be trying to set up jessie in virtualbox / a physical computer to see if the problem replicates there to identify if this is an LXC specific issue, or more general.
The specific lxd container image being used as a base is debian/jessie/amd64 from the remote images.linuxcontainers.org
debian lxc
I am trying to install collectd using
apt-get install collectd
in debian jessie. It always hangs at the same place, after setting up ca-certificates it will reach "Setting up collectd" and then stop forever. Control C and other gentle ways to halt installation do nothing at this point. In contrast, I am able to install collectd on my physical computer or in ubuntu container. However, I must have collectd in an lxd container on debian. Since it worked in ubuntu, I tried forcing it to install from the ubuntu repositories instead by adding the same repos my ubuntu container was using, configuring the keys, and then forcing it to install the exact same version using
apt-get install collectd=4.10.1-2.1ubuntu7 --force-yes -y
No luck, it hung at the same point.
After this, if I try to update apt tells me to run dpkg --configure -a
Are there any configuration files I can change before installing collectd to possibly make this work on a fresh debian jessie system, or alternatively are there any logs I can use to identify why it is hanging? The default apt logs have nothing useful since they just repeat the information displayed when trying to install in the first place, without specifying where the hang began.
My next step would be trying to set up jessie in virtualbox / a physical computer to see if the problem replicates there to identify if this is an LXC specific issue, or more general.
The specific lxd container image being used as a base is debian/jessie/amd64 from the remote images.linuxcontainers.org
debian lxc
debian lxc
edited Nov 17 '18 at 0:07
Rui F Ribeiro
41.5k1483141
41.5k1483141
asked Feb 20 '16 at 0:13
klfwipklfwip
111
111
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Edit /etc/apt/sources.list
add the following line:
deb http://ftp.de.debian.org/debian sid main
install:
aptitude update
aptitude install collectd
Once the package is installed on your system, run the below command in order to start the service.
service collectd start
add a comment |
Your problem is that collectd is trying to install policykit-1, and this last is hanging forever.
The only solution I found until now but still have no time to test is to modify the security priviledge of LXD for each host.
# lxc config set guest 'security.privileged' true
OR
I found another solution for this issue, knowing that policykit-1 installation on debian8 is not stable!
You just need to install it from the jessie-backports repository.
I successfully installed it with the following command:
# grep jessie-backports /etc/apt/sources.list || sudo bash -c "echo "deb http://http.debian.net/debian jessie-backports main" >>/etc/apt/sources.list"
# apt-get install -y -t jessie-backports policykit-1
New contributor
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f264470%2finstalling-collectd-hangs-in-debian-jessie-in-lxd-why-it-stalls%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Edit /etc/apt/sources.list
add the following line:
deb http://ftp.de.debian.org/debian sid main
install:
aptitude update
aptitude install collectd
Once the package is installed on your system, run the below command in order to start the service.
service collectd start
add a comment |
Edit /etc/apt/sources.list
add the following line:
deb http://ftp.de.debian.org/debian sid main
install:
aptitude update
aptitude install collectd
Once the package is installed on your system, run the below command in order to start the service.
service collectd start
add a comment |
Edit /etc/apt/sources.list
add the following line:
deb http://ftp.de.debian.org/debian sid main
install:
aptitude update
aptitude install collectd
Once the package is installed on your system, run the below command in order to start the service.
service collectd start
Edit /etc/apt/sources.list
add the following line:
deb http://ftp.de.debian.org/debian sid main
install:
aptitude update
aptitude install collectd
Once the package is installed on your system, run the below command in order to start the service.
service collectd start
answered Feb 20 '16 at 9:41
GAD3RGAD3R
27.1k1858113
27.1k1858113
add a comment |
add a comment |
Your problem is that collectd is trying to install policykit-1, and this last is hanging forever.
The only solution I found until now but still have no time to test is to modify the security priviledge of LXD for each host.
# lxc config set guest 'security.privileged' true
OR
I found another solution for this issue, knowing that policykit-1 installation on debian8 is not stable!
You just need to install it from the jessie-backports repository.
I successfully installed it with the following command:
# grep jessie-backports /etc/apt/sources.list || sudo bash -c "echo "deb http://http.debian.net/debian jessie-backports main" >>/etc/apt/sources.list"
# apt-get install -y -t jessie-backports policykit-1
New contributor
add a comment |
Your problem is that collectd is trying to install policykit-1, and this last is hanging forever.
The only solution I found until now but still have no time to test is to modify the security priviledge of LXD for each host.
# lxc config set guest 'security.privileged' true
OR
I found another solution for this issue, knowing that policykit-1 installation on debian8 is not stable!
You just need to install it from the jessie-backports repository.
I successfully installed it with the following command:
# grep jessie-backports /etc/apt/sources.list || sudo bash -c "echo "deb http://http.debian.net/debian jessie-backports main" >>/etc/apt/sources.list"
# apt-get install -y -t jessie-backports policykit-1
New contributor
add a comment |
Your problem is that collectd is trying to install policykit-1, and this last is hanging forever.
The only solution I found until now but still have no time to test is to modify the security priviledge of LXD for each host.
# lxc config set guest 'security.privileged' true
OR
I found another solution for this issue, knowing that policykit-1 installation on debian8 is not stable!
You just need to install it from the jessie-backports repository.
I successfully installed it with the following command:
# grep jessie-backports /etc/apt/sources.list || sudo bash -c "echo "deb http://http.debian.net/debian jessie-backports main" >>/etc/apt/sources.list"
# apt-get install -y -t jessie-backports policykit-1
New contributor
Your problem is that collectd is trying to install policykit-1, and this last is hanging forever.
The only solution I found until now but still have no time to test is to modify the security priviledge of LXD for each host.
# lxc config set guest 'security.privileged' true
OR
I found another solution for this issue, knowing that policykit-1 installation on debian8 is not stable!
You just need to install it from the jessie-backports repository.
I successfully installed it with the following command:
# grep jessie-backports /etc/apt/sources.list || sudo bash -c "echo "deb http://http.debian.net/debian jessie-backports main" >>/etc/apt/sources.list"
# apt-get install -y -t jessie-backports policykit-1
New contributor
edited 11 hours ago
New contributor
answered 16 hours ago
Luc DemeesterLuc Demeester
11
11
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f264470%2finstalling-collectd-hangs-in-debian-jessie-in-lxd-why-it-stalls%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown