BeagleBone Black Wireless - No space left on device












0















I am a newcomer to this device and I was surprised to see 'No space left on device' today after having not installed too much on it.



df -h
Filesystem Size Used Avail Use% Mounted on
udev 216M 0 216M 0% /dev
tmpfs 49M 8.7M 40M 18% /run
/dev/mmcblk1p1 3.5G 3.3G 0 100% /
tmpfs 243M 0 243M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 243M 0 243M 0% /sys/fs/cgroup
tmpfs 49M 0 49M 0% /run/user/1000

sudo du -s -k /*
[sudo] password for debian:
4 /bbb-uEnv.txt
6664 /bin
33104 /boot
0 /dev
5988 /etc
260592 /home
4 /ID.txt
270064 /lib
16 /lost+found
4 /media
4 /mnt
4 /nfs-uEnv.txt
186408 /opt
du: cannot access '/proc/28493': No such file or directory
du: cannot access '/proc/28532': No such file or directory
du: cannot access '/proc/28533/task/28533/fd/3': No such file or directory
du: cannot access '/proc/28533/task/28533/fdinfo/3': No such file or directory
du: cannot access '/proc/28533/fd/3': No such file or directory
du: cannot access '/proc/28533/fdinfo/3': No such file or directory
du: cannot access '/proc/28554': No such file or directory
du: cannot access '/proc/28557': No such file or directory
du: cannot access '/proc/28558': No such file or directory
du: cannot access '/proc/28560': No such file or directory
0 /proc
15480 /root
8824 /run
6480 /sbin
4 /srv
0 /sys
56 /tmp

du -s -k /var/log/*
2212976 /usr
413268 /var

du -s -k /var/log/*
0 /var/log/alternatives.log
40 /var/log/alternatives.log.1
216136 /var/log/apache2
84 /var/log/apt
792 /var/log/auth.log
144 /var/log/auth.log.1
104 /var/log/bootstrap.log
0 /var/log/btmp
4 /var/log/btmp.1
4824 /var/log/daemon.log
1892 /var/log/daemon.log.1
8 /var/log/debug
28 /var/log/debug.1
0 /var/log/dpkg.log
676 /var/log/dpkg.log.1
24 /var/log/faillog
4 /var/log/fontconfig.log
204 /var/log/kern.log
948 /var/log/kern.log.1
288 /var/log/lastlog
du: cannot read directory '/var/log/lightdm': Permission denied
4 /var/log/lightdm
1244 /var/log/messages
924 /var/log/messages.1
4 /var/log/roboticscape
5772 /var/log/syslog
200 /var/log/syslog.1
20 /var/log/syslog.2.gz
56 /var/log/syslog.3.gz
4 /var/log/syslog.4.gz
376 /var/log/syslog.5.gz
1048 /var/log/user.log
24 /var/log/user.log.1
792 /var/log/wtmp
140 /var/log/wtmp.1
0 /var/log/xinput_calibrator.pointercal.log
12 /var/log/Xorg.0.log
16 /var/log/Xorg.0.log.old


By running sudo find / -xdev -type f -size +100M, I discovered that the Apache log file is very large:



du /var/log/apache2/access.log.1
130784 /var/log/apache2/access.log.1


If this is indeed the cause, how can I prevent this ever happening again? I need my device to work consistently.










share|improve this question
















bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    0















    I am a newcomer to this device and I was surprised to see 'No space left on device' today after having not installed too much on it.



    df -h
    Filesystem Size Used Avail Use% Mounted on
    udev 216M 0 216M 0% /dev
    tmpfs 49M 8.7M 40M 18% /run
    /dev/mmcblk1p1 3.5G 3.3G 0 100% /
    tmpfs 243M 0 243M 0% /dev/shm
    tmpfs 5.0M 0 5.0M 0% /run/lock
    tmpfs 243M 0 243M 0% /sys/fs/cgroup
    tmpfs 49M 0 49M 0% /run/user/1000

    sudo du -s -k /*
    [sudo] password for debian:
    4 /bbb-uEnv.txt
    6664 /bin
    33104 /boot
    0 /dev
    5988 /etc
    260592 /home
    4 /ID.txt
    270064 /lib
    16 /lost+found
    4 /media
    4 /mnt
    4 /nfs-uEnv.txt
    186408 /opt
    du: cannot access '/proc/28493': No such file or directory
    du: cannot access '/proc/28532': No such file or directory
    du: cannot access '/proc/28533/task/28533/fd/3': No such file or directory
    du: cannot access '/proc/28533/task/28533/fdinfo/3': No such file or directory
    du: cannot access '/proc/28533/fd/3': No such file or directory
    du: cannot access '/proc/28533/fdinfo/3': No such file or directory
    du: cannot access '/proc/28554': No such file or directory
    du: cannot access '/proc/28557': No such file or directory
    du: cannot access '/proc/28558': No such file or directory
    du: cannot access '/proc/28560': No such file or directory
    0 /proc
    15480 /root
    8824 /run
    6480 /sbin
    4 /srv
    0 /sys
    56 /tmp

    du -s -k /var/log/*
    2212976 /usr
    413268 /var

    du -s -k /var/log/*
    0 /var/log/alternatives.log
    40 /var/log/alternatives.log.1
    216136 /var/log/apache2
    84 /var/log/apt
    792 /var/log/auth.log
    144 /var/log/auth.log.1
    104 /var/log/bootstrap.log
    0 /var/log/btmp
    4 /var/log/btmp.1
    4824 /var/log/daemon.log
    1892 /var/log/daemon.log.1
    8 /var/log/debug
    28 /var/log/debug.1
    0 /var/log/dpkg.log
    676 /var/log/dpkg.log.1
    24 /var/log/faillog
    4 /var/log/fontconfig.log
    204 /var/log/kern.log
    948 /var/log/kern.log.1
    288 /var/log/lastlog
    du: cannot read directory '/var/log/lightdm': Permission denied
    4 /var/log/lightdm
    1244 /var/log/messages
    924 /var/log/messages.1
    4 /var/log/roboticscape
    5772 /var/log/syslog
    200 /var/log/syslog.1
    20 /var/log/syslog.2.gz
    56 /var/log/syslog.3.gz
    4 /var/log/syslog.4.gz
    376 /var/log/syslog.5.gz
    1048 /var/log/user.log
    24 /var/log/user.log.1
    792 /var/log/wtmp
    140 /var/log/wtmp.1
    0 /var/log/xinput_calibrator.pointercal.log
    12 /var/log/Xorg.0.log
    16 /var/log/Xorg.0.log.old


    By running sudo find / -xdev -type f -size +100M, I discovered that the Apache log file is very large:



    du /var/log/apache2/access.log.1
    130784 /var/log/apache2/access.log.1


    If this is indeed the cause, how can I prevent this ever happening again? I need my device to work consistently.










    share|improve this question
















    bumped to the homepage by Community 2 hours ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      I am a newcomer to this device and I was surprised to see 'No space left on device' today after having not installed too much on it.



      df -h
      Filesystem Size Used Avail Use% Mounted on
      udev 216M 0 216M 0% /dev
      tmpfs 49M 8.7M 40M 18% /run
      /dev/mmcblk1p1 3.5G 3.3G 0 100% /
      tmpfs 243M 0 243M 0% /dev/shm
      tmpfs 5.0M 0 5.0M 0% /run/lock
      tmpfs 243M 0 243M 0% /sys/fs/cgroup
      tmpfs 49M 0 49M 0% /run/user/1000

      sudo du -s -k /*
      [sudo] password for debian:
      4 /bbb-uEnv.txt
      6664 /bin
      33104 /boot
      0 /dev
      5988 /etc
      260592 /home
      4 /ID.txt
      270064 /lib
      16 /lost+found
      4 /media
      4 /mnt
      4 /nfs-uEnv.txt
      186408 /opt
      du: cannot access '/proc/28493': No such file or directory
      du: cannot access '/proc/28532': No such file or directory
      du: cannot access '/proc/28533/task/28533/fd/3': No such file or directory
      du: cannot access '/proc/28533/task/28533/fdinfo/3': No such file or directory
      du: cannot access '/proc/28533/fd/3': No such file or directory
      du: cannot access '/proc/28533/fdinfo/3': No such file or directory
      du: cannot access '/proc/28554': No such file or directory
      du: cannot access '/proc/28557': No such file or directory
      du: cannot access '/proc/28558': No such file or directory
      du: cannot access '/proc/28560': No such file or directory
      0 /proc
      15480 /root
      8824 /run
      6480 /sbin
      4 /srv
      0 /sys
      56 /tmp

      du -s -k /var/log/*
      2212976 /usr
      413268 /var

      du -s -k /var/log/*
      0 /var/log/alternatives.log
      40 /var/log/alternatives.log.1
      216136 /var/log/apache2
      84 /var/log/apt
      792 /var/log/auth.log
      144 /var/log/auth.log.1
      104 /var/log/bootstrap.log
      0 /var/log/btmp
      4 /var/log/btmp.1
      4824 /var/log/daemon.log
      1892 /var/log/daemon.log.1
      8 /var/log/debug
      28 /var/log/debug.1
      0 /var/log/dpkg.log
      676 /var/log/dpkg.log.1
      24 /var/log/faillog
      4 /var/log/fontconfig.log
      204 /var/log/kern.log
      948 /var/log/kern.log.1
      288 /var/log/lastlog
      du: cannot read directory '/var/log/lightdm': Permission denied
      4 /var/log/lightdm
      1244 /var/log/messages
      924 /var/log/messages.1
      4 /var/log/roboticscape
      5772 /var/log/syslog
      200 /var/log/syslog.1
      20 /var/log/syslog.2.gz
      56 /var/log/syslog.3.gz
      4 /var/log/syslog.4.gz
      376 /var/log/syslog.5.gz
      1048 /var/log/user.log
      24 /var/log/user.log.1
      792 /var/log/wtmp
      140 /var/log/wtmp.1
      0 /var/log/xinput_calibrator.pointercal.log
      12 /var/log/Xorg.0.log
      16 /var/log/Xorg.0.log.old


      By running sudo find / -xdev -type f -size +100M, I discovered that the Apache log file is very large:



      du /var/log/apache2/access.log.1
      130784 /var/log/apache2/access.log.1


      If this is indeed the cause, how can I prevent this ever happening again? I need my device to work consistently.










      share|improve this question
















      I am a newcomer to this device and I was surprised to see 'No space left on device' today after having not installed too much on it.



      df -h
      Filesystem Size Used Avail Use% Mounted on
      udev 216M 0 216M 0% /dev
      tmpfs 49M 8.7M 40M 18% /run
      /dev/mmcblk1p1 3.5G 3.3G 0 100% /
      tmpfs 243M 0 243M 0% /dev/shm
      tmpfs 5.0M 0 5.0M 0% /run/lock
      tmpfs 243M 0 243M 0% /sys/fs/cgroup
      tmpfs 49M 0 49M 0% /run/user/1000

      sudo du -s -k /*
      [sudo] password for debian:
      4 /bbb-uEnv.txt
      6664 /bin
      33104 /boot
      0 /dev
      5988 /etc
      260592 /home
      4 /ID.txt
      270064 /lib
      16 /lost+found
      4 /media
      4 /mnt
      4 /nfs-uEnv.txt
      186408 /opt
      du: cannot access '/proc/28493': No such file or directory
      du: cannot access '/proc/28532': No such file or directory
      du: cannot access '/proc/28533/task/28533/fd/3': No such file or directory
      du: cannot access '/proc/28533/task/28533/fdinfo/3': No such file or directory
      du: cannot access '/proc/28533/fd/3': No such file or directory
      du: cannot access '/proc/28533/fdinfo/3': No such file or directory
      du: cannot access '/proc/28554': No such file or directory
      du: cannot access '/proc/28557': No such file or directory
      du: cannot access '/proc/28558': No such file or directory
      du: cannot access '/proc/28560': No such file or directory
      0 /proc
      15480 /root
      8824 /run
      6480 /sbin
      4 /srv
      0 /sys
      56 /tmp

      du -s -k /var/log/*
      2212976 /usr
      413268 /var

      du -s -k /var/log/*
      0 /var/log/alternatives.log
      40 /var/log/alternatives.log.1
      216136 /var/log/apache2
      84 /var/log/apt
      792 /var/log/auth.log
      144 /var/log/auth.log.1
      104 /var/log/bootstrap.log
      0 /var/log/btmp
      4 /var/log/btmp.1
      4824 /var/log/daemon.log
      1892 /var/log/daemon.log.1
      8 /var/log/debug
      28 /var/log/debug.1
      0 /var/log/dpkg.log
      676 /var/log/dpkg.log.1
      24 /var/log/faillog
      4 /var/log/fontconfig.log
      204 /var/log/kern.log
      948 /var/log/kern.log.1
      288 /var/log/lastlog
      du: cannot read directory '/var/log/lightdm': Permission denied
      4 /var/log/lightdm
      1244 /var/log/messages
      924 /var/log/messages.1
      4 /var/log/roboticscape
      5772 /var/log/syslog
      200 /var/log/syslog.1
      20 /var/log/syslog.2.gz
      56 /var/log/syslog.3.gz
      4 /var/log/syslog.4.gz
      376 /var/log/syslog.5.gz
      1048 /var/log/user.log
      24 /var/log/user.log.1
      792 /var/log/wtmp
      140 /var/log/wtmp.1
      0 /var/log/xinput_calibrator.pointercal.log
      12 /var/log/Xorg.0.log
      16 /var/log/Xorg.0.log.old


      By running sudo find / -xdev -type f -size +100M, I discovered that the Apache log file is very large:



      du /var/log/apache2/access.log.1
      130784 /var/log/apache2/access.log.1


      If this is indeed the cause, how can I prevent this ever happening again? I need my device to work consistently.







      linux debian logs disk-usage beagleboneblack






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 7 '17 at 22:53







      sscirrus

















      asked Dec 7 '17 at 22:34









      sscirrussscirrus

      15315




      15315





      bumped to the homepage by Community 2 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 2 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          In order to disable and turn off the Apache logging just direct the log entries customlog and errorlog to /dev/null in the .conf file(s) for your site, probably inside /etc/apache2/sites-available/



          Alternatively, if you wish to still keep some logging, you could set up a cron job that periodically cleans out the log files.






          share|improve this answer























            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%2f409593%2fbeaglebone-black-wireless-no-space-left-on-device%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            In order to disable and turn off the Apache logging just direct the log entries customlog and errorlog to /dev/null in the .conf file(s) for your site, probably inside /etc/apache2/sites-available/



            Alternatively, if you wish to still keep some logging, you could set up a cron job that periodically cleans out the log files.






            share|improve this answer




























              0














              In order to disable and turn off the Apache logging just direct the log entries customlog and errorlog to /dev/null in the .conf file(s) for your site, probably inside /etc/apache2/sites-available/



              Alternatively, if you wish to still keep some logging, you could set up a cron job that periodically cleans out the log files.






              share|improve this answer


























                0












                0








                0







                In order to disable and turn off the Apache logging just direct the log entries customlog and errorlog to /dev/null in the .conf file(s) for your site, probably inside /etc/apache2/sites-available/



                Alternatively, if you wish to still keep some logging, you could set up a cron job that periodically cleans out the log files.






                share|improve this answer













                In order to disable and turn off the Apache logging just direct the log entries customlog and errorlog to /dev/null in the .conf file(s) for your site, probably inside /etc/apache2/sites-available/



                Alternatively, if you wish to still keep some logging, you could set up a cron job that periodically cleans out the log files.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 7 '17 at 23:53









                captchacaptcha

                786615




                786615






























                    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%2f409593%2fbeaglebone-black-wireless-no-space-left-on-device%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

                    CARDNET

                    Boot-repair Failure: Unable to locate package grub-common:i386

                    濃尾地震