Freshclam error











up vote
1
down vote

favorite












After installing clamav and clamtk, when doing freshclam I receive this message:



freshclam
ERROR: Can't create temporary directory /var/lib/clamav/clamav-f52645d8e80b9b727228734e339d231d
Hint: The database directory must be writable for UID 1000 or GID 1000


Could somebody help?










share|improve this question
























  • So I re-installed it, used sudo freshclam and what i got was this: pastebin.com/kh9Q1h3K Is there anyway that warning is fixed? I'm asking because I can't seem to install it from the tar.gz file of the home page. I will leave this as solved and wait for the repositories, thank you all. [SOLVED]
    – vitimiti
    Sep 21 '12 at 11:20








  • 1




    This is not a forum, we do not use "[SOLVED]" here. The format of this site is Question -> Answer, so If you have an answer please feel free to add an answer to your own question, or if an answer solved your question click on the green check next to the answer that solved your question.
    – Mateo
    Sep 30 '12 at 2:18

















up vote
1
down vote

favorite












After installing clamav and clamtk, when doing freshclam I receive this message:



freshclam
ERROR: Can't create temporary directory /var/lib/clamav/clamav-f52645d8e80b9b727228734e339d231d
Hint: The database directory must be writable for UID 1000 or GID 1000


Could somebody help?










share|improve this question
























  • So I re-installed it, used sudo freshclam and what i got was this: pastebin.com/kh9Q1h3K Is there anyway that warning is fixed? I'm asking because I can't seem to install it from the tar.gz file of the home page. I will leave this as solved and wait for the repositories, thank you all. [SOLVED]
    – vitimiti
    Sep 21 '12 at 11:20








  • 1




    This is not a forum, we do not use "[SOLVED]" here. The format of this site is Question -> Answer, so If you have an answer please feel free to add an answer to your own question, or if an answer solved your question click on the green check next to the answer that solved your question.
    – Mateo
    Sep 30 '12 at 2:18















up vote
1
down vote

favorite









up vote
1
down vote

favorite











After installing clamav and clamtk, when doing freshclam I receive this message:



freshclam
ERROR: Can't create temporary directory /var/lib/clamav/clamav-f52645d8e80b9b727228734e339d231d
Hint: The database directory must be writable for UID 1000 or GID 1000


Could somebody help?










share|improve this question















After installing clamav and clamtk, when doing freshclam I receive this message:



freshclam
ERROR: Can't create temporary directory /var/lib/clamav/clamav-f52645d8e80b9b727228734e339d231d
Hint: The database directory must be writable for UID 1000 or GID 1000


Could somebody help?







clamav






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 30 '12 at 8:47









Mitch

83.2k14172228




83.2k14172228










asked Sep 21 '12 at 10:03









vitimiti

613




613












  • So I re-installed it, used sudo freshclam and what i got was this: pastebin.com/kh9Q1h3K Is there anyway that warning is fixed? I'm asking because I can't seem to install it from the tar.gz file of the home page. I will leave this as solved and wait for the repositories, thank you all. [SOLVED]
    – vitimiti
    Sep 21 '12 at 11:20








  • 1




    This is not a forum, we do not use "[SOLVED]" here. The format of this site is Question -> Answer, so If you have an answer please feel free to add an answer to your own question, or if an answer solved your question click on the green check next to the answer that solved your question.
    – Mateo
    Sep 30 '12 at 2:18




















  • So I re-installed it, used sudo freshclam and what i got was this: pastebin.com/kh9Q1h3K Is there anyway that warning is fixed? I'm asking because I can't seem to install it from the tar.gz file of the home page. I will leave this as solved and wait for the repositories, thank you all. [SOLVED]
    – vitimiti
    Sep 21 '12 at 11:20








  • 1




    This is not a forum, we do not use "[SOLVED]" here. The format of this site is Question -> Answer, so If you have an answer please feel free to add an answer to your own question, or if an answer solved your question click on the green check next to the answer that solved your question.
    – Mateo
    Sep 30 '12 at 2:18


















So I re-installed it, used sudo freshclam and what i got was this: pastebin.com/kh9Q1h3K Is there anyway that warning is fixed? I'm asking because I can't seem to install it from the tar.gz file of the home page. I will leave this as solved and wait for the repositories, thank you all. [SOLVED]
– vitimiti
Sep 21 '12 at 11:20






So I re-installed it, used sudo freshclam and what i got was this: pastebin.com/kh9Q1h3K Is there anyway that warning is fixed? I'm asking because I can't seem to install it from the tar.gz file of the home page. I will leave this as solved and wait for the repositories, thank you all. [SOLVED]
– vitimiti
Sep 21 '12 at 11:20






1




1




This is not a forum, we do not use "[SOLVED]" here. The format of this site is Question -> Answer, so If you have an answer please feel free to add an answer to your own question, or if an answer solved your question click on the green check next to the answer that solved your question.
– Mateo
Sep 30 '12 at 2:18






This is not a forum, we do not use "[SOLVED]" here. The format of this site is Question -> Answer, so If you have an answer please feel free to add an answer to your own question, or if an answer solved your question click on the green check next to the answer that solved your question.
– Mateo
Sep 30 '12 at 2:18












3 Answers
3






active

oldest

votes

















up vote
0
down vote













http://www.iasptk.com/ubuntu/19931-ubuntu-1204-clamav-problem-with-updating



In Terminal:



Stop the updater:



sudo /etc/init.d/clamav-freshclam stop


Update:



sudo freshclam -v


Start the updater:



sudo /etc/init.d/clamav-freshclam start





share|improve this answer




























    up vote
    0
    down vote













    I seem to remember getting this issue when I first started using clamav, going back through my notes I found I had written this:



    First find out my uid and gid by typing at the command prompt: id your_username



    Should give you a long line of text with a uid and gid in it somewhere, then type:
    sudo chown UID.GID /var/lib/clamav
    then
    sudo chmod 755 /var/lib/clamav



    Change UID and GID with the values you got from the id Command above.



    hope that helps






    share|improve this answer






























      up vote
      0
      down vote













      Yes, run freshclam with sudo:



      sudo freshclam






      share|improve this answer























        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "89"
        };
        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',
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        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%2faskubuntu.com%2fquestions%2f191290%2ffreshclam-error%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes








        up vote
        0
        down vote













        http://www.iasptk.com/ubuntu/19931-ubuntu-1204-clamav-problem-with-updating



        In Terminal:



        Stop the updater:



        sudo /etc/init.d/clamav-freshclam stop


        Update:



        sudo freshclam -v


        Start the updater:



        sudo /etc/init.d/clamav-freshclam start





        share|improve this answer

























          up vote
          0
          down vote













          http://www.iasptk.com/ubuntu/19931-ubuntu-1204-clamav-problem-with-updating



          In Terminal:



          Stop the updater:



          sudo /etc/init.d/clamav-freshclam stop


          Update:



          sudo freshclam -v


          Start the updater:



          sudo /etc/init.d/clamav-freshclam start





          share|improve this answer























            up vote
            0
            down vote










            up vote
            0
            down vote









            http://www.iasptk.com/ubuntu/19931-ubuntu-1204-clamav-problem-with-updating



            In Terminal:



            Stop the updater:



            sudo /etc/init.d/clamav-freshclam stop


            Update:



            sudo freshclam -v


            Start the updater:



            sudo /etc/init.d/clamav-freshclam start





            share|improve this answer












            http://www.iasptk.com/ubuntu/19931-ubuntu-1204-clamav-problem-with-updating



            In Terminal:



            Stop the updater:



            sudo /etc/init.d/clamav-freshclam stop


            Update:



            sudo freshclam -v


            Start the updater:



            sudo /etc/init.d/clamav-freshclam start






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Sep 21 '12 at 12:50









            ptheo

            57643




            57643
























                up vote
                0
                down vote













                I seem to remember getting this issue when I first started using clamav, going back through my notes I found I had written this:



                First find out my uid and gid by typing at the command prompt: id your_username



                Should give you a long line of text with a uid and gid in it somewhere, then type:
                sudo chown UID.GID /var/lib/clamav
                then
                sudo chmod 755 /var/lib/clamav



                Change UID and GID with the values you got from the id Command above.



                hope that helps






                share|improve this answer



























                  up vote
                  0
                  down vote













                  I seem to remember getting this issue when I first started using clamav, going back through my notes I found I had written this:



                  First find out my uid and gid by typing at the command prompt: id your_username



                  Should give you a long line of text with a uid and gid in it somewhere, then type:
                  sudo chown UID.GID /var/lib/clamav
                  then
                  sudo chmod 755 /var/lib/clamav



                  Change UID and GID with the values you got from the id Command above.



                  hope that helps






                  share|improve this answer

























                    up vote
                    0
                    down vote










                    up vote
                    0
                    down vote









                    I seem to remember getting this issue when I first started using clamav, going back through my notes I found I had written this:



                    First find out my uid and gid by typing at the command prompt: id your_username



                    Should give you a long line of text with a uid and gid in it somewhere, then type:
                    sudo chown UID.GID /var/lib/clamav
                    then
                    sudo chmod 755 /var/lib/clamav



                    Change UID and GID with the values you got from the id Command above.



                    hope that helps






                    share|improve this answer














                    I seem to remember getting this issue when I first started using clamav, going back through my notes I found I had written this:



                    First find out my uid and gid by typing at the command prompt: id your_username



                    Should give you a long line of text with a uid and gid in it somewhere, then type:
                    sudo chown UID.GID /var/lib/clamav
                    then
                    sudo chmod 755 /var/lib/clamav



                    Change UID and GID with the values you got from the id Command above.



                    hope that helps







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Sep 30 '12 at 9:00









                    BuZZ-dEE

                    9,055115169




                    9,055115169










                    answered Sep 21 '12 at 11:00









                    apacheuk

                    87859




                    87859






















                        up vote
                        0
                        down vote













                        Yes, run freshclam with sudo:



                        sudo freshclam






                        share|improve this answer



























                          up vote
                          0
                          down vote













                          Yes, run freshclam with sudo:



                          sudo freshclam






                          share|improve this answer

























                            up vote
                            0
                            down vote










                            up vote
                            0
                            down vote









                            Yes, run freshclam with sudo:



                            sudo freshclam






                            share|improve this answer














                            Yes, run freshclam with sudo:



                            sudo freshclam







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Sep 30 '12 at 20:28









                            RolandiXor

                            44.3k25140229




                            44.3k25140229










                            answered Sep 21 '12 at 10:34









                            Frantique

                            6,9972547




                            6,9972547






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Ask Ubuntu!


                                • 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.





                                Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                Please pay close attention to the following guidance:


                                • 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%2faskubuntu.com%2fquestions%2f191290%2ffreshclam-error%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

                                flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                                Mangá

                                Eduardo VII do Reino Unido