Find the answer to your Linux question:
Results 1 to 3 of 3
Hi folks, Ubuntu 8.04 On running "aptitude upgrade" I found some error displayed on terminal. Please advise which log file I have to check on /var/log/ TIA B.R. satimis...
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,546

    About log file

    Hi folks,

    Ubuntu 8.04

    On running "aptitude upgrade" I found some error displayed on terminal. Please advise which log file I have to check on /var/log/

    TIA

    B.R.
    satimis

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    I am not sure what exactly you are trying to check if the error message was printed on the screen but the log file for aptitude is /var/log/aptitude.

  3. #3
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,546
    Quote Originally Posted by daark.child View Post
    I am not sure what exactly you are trying to check if the error message was printed on the screen but the log file for aptitude is /var/log/aptitude.
    Hi daark.child,


    Thanks for your advice.

    Sorry it is NOT there. It is on /var/log/apt/term.log

    I have follows copied on the terminal during running "aptitude upgrade"
    Code:
    Setting up procps (1:3.2.7-5ubuntu3) ...
     * Setting kernel variables...                                                  
    error: permission denied on key 'kernel.printk'
    error: permission denied on key 'kernel.maps_protect'
    error: permission denied on key 'fs.inotify.max_user_watches'
    error: "vm.mmap_min_addr" is an unknown key
                                                                             [fail]
    
    Setting up apparmor (2.1+1075-0ubuntu9.1) ...
    Installing new version of config file /etc/apparmor.d/abstractions/authentication ...
    ls: cannot access /sys/module/apparmor: No such file or directory
    ls: cannot access /sys/module/apparmor: No such file or directory
    $Loading AppArmor module: done.
    ls: cannot access /sys/module/apparmor: No such file or directory
    invoke-rc.d: initscript apparmor, action "start" failed.
    ls: cannot access /sys/module/apparmor: No such file or directory
    ls: cannot access /sys/module/apparmor: No such file or directory
    ls: cannot access /sys/module/apparmor: No such file or directory
    $Loading AppArmor module: done.
    ls: cannot access /sys/module/apparmor: No such file or directory
    invoke-rc.d: initscript apparmor, action "reload" failed.

    # cat /var/log/apt/term.log | grep error
    Code:
     * Setting kernel variables...                                                  
    error: permission denied on key 'kernel.printk'
    error: permission denied on key 'kernel.maps_protect'
    error: permission denied on key 'fs.inotify.max_user_watches'
    error: "vm.mmap_min_addr" is an unknown key

    # cat /var/log/apt/term.log | grep fail
    Code:
    invoke-rc.d: initscript apparmor, action "start" failed.
    invoke-rc.d: initscript apparmor, action "reload" failed.
    invoke-rc.d: initscript apparmor, action "force-reload" failed.
                                                                             [fail]
    invoke-rc.d: initscript apparmor, action "start" failed.
    invoke-rc.d: initscript apparmor, action "reload" failed.
    invoke-rc.d: initscript apparmor, action "force-reload" failed.

    B.R.
    satimis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...