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










2















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










share|improve this question




























    2















    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










    share|improve this question


























      2












      2








      2








      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










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 17 '18 at 0:07









      Rui F Ribeiro

      41.5k1483141




      41.5k1483141










      asked Feb 20 '16 at 0:13









      klfwipklfwip

      111




      111




















          2 Answers
          2






          active

          oldest

          votes


















          2














          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





          share|improve this answer






























            0














            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







            share|improve this answer










            New contributor




            Luc Demeester is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.



















              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
              );



              );













              draft saved

              draft discarded


















              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









              2














              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





              share|improve this answer



























                2














                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





                share|improve this answer

























                  2












                  2








                  2







                  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





                  share|improve this answer













                  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






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 20 '16 at 9:41









                  GAD3RGAD3R

                  27.1k1858113




                  27.1k1858113























                      0














                      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







                      share|improve this answer










                      New contributor




                      Luc Demeester is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                      Check out our Code of Conduct.
























                        0














                        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







                        share|improve this answer










                        New contributor




                        Luc Demeester is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.






















                          0












                          0








                          0







                          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







                          share|improve this answer










                          New contributor




                          Luc Demeester is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.










                          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








                          share|improve this answer










                          New contributor




                          Luc Demeester is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          share|improve this answer



                          share|improve this answer








                          edited 11 hours ago





















                          New contributor




                          Luc Demeester is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          answered 16 hours ago









                          Luc DemeesterLuc Demeester

                          11




                          11




                          New contributor




                          Luc Demeester is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.





                          New contributor





                          Luc Demeester is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






                          Luc Demeester is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.



























                              draft saved

                              draft discarded
















































                              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.




                              draft saved


                              draft discarded














                              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





















































                              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







                              Popular posts from this blog

                              getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

                              Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

                              Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.