Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Why "*** System restart required ***"

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Location
    USA
    Beans
    524
    Distro
    Ubuntu 12.04 Precise Pangolin

    Why "*** System restart required ***"

    My 12.04 server seems to always say *** System restart required ***
    So Last week, I updated and restarted. I stayed logged off for a week, it was in use though.

    Now *** System restart required ***. Is there a log to tell me why the server needs to restart?
    edit: I have NOT installed or updated anything
    Last edited by wlraider70; March 13th, 2013 at 11:29 PM.
    I don' really like coffee. I guess I'll give my Ubuntu beans to my wife.

    Luke

  2. #2
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,665
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Why "*** System restart required ***"

    Hi wlraider70.

    That message usually appears after an important update, like a security update, or a kernel update.

    Did you set your server with automatic updates?

    Regards.

  3. #3
    Join Date
    Dec 2008
    Location
    USA
    Beans
    524
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Why "*** System restart required ***"

    I'm not sure about auto updates, I don't recall any such option.
    I manually use apt-get and I do get prompts like...

    13 packages can be updated.
    0 updates are security updates.

    The reason I left it alone for a week was to make sure i didn't install any updates, but if there is an auto feature that would invalidate my test.
    I don' really like coffee. I guess I'll give my Ubuntu beans to my wife.

    Luke

  4. #4
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,665
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Why "*** System restart required ***"

    Let's make sure. Could you post the result of these commands?
    Code:
    apt-cache policy unattended-upgrades
    
    cat /etc/apt/apt.conf.d/10periodic 
    
    cat /etc/apt/apt.conf.d/50unattended-upgrades
    Regards.

  5. #5
    Join Date
    Dec 2008
    Location
    USA
    Beans
    524
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Why "*** System restart required ***"

    Code:
    server@philo:~$ apt-cache policy unattended-upgrades
    unattended-upgrades:
      Installed: 0.76ubuntu1
      Candidate: 0.76ubuntu1
      Version table:
     *** 0.76ubuntu1 0
            500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
            100 /var/lib/dpkg/status
         0.76 0
            500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
    Code:
    server@philo:~$ cat /etc/apt/apt.conf.d/10periodic
    APT::Periodic::Update-Package-Lists "1";
    APT::Periodic::Download-Upgradeable-Packages "0";
    APT::Periodic::AutocleanInterval "0";
    Code:
    server@philo:~$ cat /etc/apt/apt.conf.d/50unattended-upgrades
    // Automatically upgrade packages from these (origin:archive) pairs
    Unattended-Upgrade::Allowed-Origins {
            "${distro_id}:${distro_codename}-security";
    //      "${distro_id}:${distro_codename}-updates";
    //      "${distro_id}:${distro_codename}-proposed";
    //      "${distro_id}:${distro_codename}-backports";
    };
    
    // List of packages to not update
    Unattended-Upgrade::Package-Blacklist {
    //      "vim";
    //      "libc6";
    //      "libc6-dev";
    //      "libc6-i686";
    };
    
    // This option allows you to control if on a unclean dpkg exit
    // unattended-upgrades will automatically run
    //   dpkg --force-confold --configure -a
    // The default is true, to ensure updates keep getting installed
    //Unattended-Upgrade::AutoFixInterruptedDpkg "false";
    
    // Split the upgrade into the smallest possible chunks so that
    // they can be interrupted with SIGUSR1. This makes the upgrade
    // a bit slower but it has the benefit that shutdown while a upgrade
    // is running is possible (with a small delay)
    //Unattended-Upgrade::MinimalSteps "true";
    
    // Install all unattended-upgrades when the machine is shuting down
    // instead of doing it in the background while the machine is running
    // This will (obviously) make shutdown slower
    //Unattended-Upgrade::InstallOnShutdown "true";
    
    // Send email to this address for problems or packages upgrades
    // If empty or unset then no email is sent, make sure that you
    // have a working mail setup on your system. A package that provides
    // 'mailx' must be installed.
    //Unattended-Upgrade::Mail "root@localhost";
    
    // Set this value to "true" to get emails only on errors. Default
    // is to always send a mail if Unattended-Upgrade::Mail is set
    //Unattended-Upgrade::MailOnlyOnError "true";
    
    // Do automatic removal of new unused dependencies after the upgrade
    // (equivalent to apt-get autoremove)
    //Unattended-Upgrade::Remove-Unused-Dependencies "false";
    
    // Automatically reboot *WITHOUT CONFIRMATION* if a
    // the file /var/run/reboot-required is found after the upgrade
    //Unattended-Upgrade::Automatic-Reboot "false";
    
    
    // Use apt bandwidth limit feature, this example limits the download
    // speed to 70kb/sec
    //Acquire::http::Dl-Limit "70";
    server@philo:~$



    Am I reading the 4th line of the last group that I am allowing security packages to auto-update?
    I don' really like coffee. I guess I'll give my Ubuntu beans to my wife.

    Luke

  6. #6
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,665
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Why "*** System restart required ***"

    You seem to NOT be using auto updates.

    My guess would be that the last time you upgraded, you didn't realize you needed to restart.

    After big updates, I usually disconnect and log again to check if there's a message recommending restart.

    Regards.

  7. #7
    Join Date
    Dec 2008
    Location
    USA
    Beans
    524
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Why "*** System restart required ***"

    I haven't installed or updated since my last reboot.
    I don' really like coffee. I guess I'll give my Ubuntu beans to my wife.

    Luke

  8. #8
    Join Date
    Jun 2011
    Beans
    357

    Re: Why "*** System restart required ***"

    It could be a cached message then. The update notification messages aren't real time, they are generated periodically. You may just be looking at a message which was relevant prior to your last reboot.

  9. #9
    Join Date
    Dec 2008
    Location
    USA
    Beans
    524
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Why "*** System restart required ***"

    I'm considering the cached message explanation. So here is a login from today.
    I won't update or install anything for a few weeks.



    Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-39-generic-pae i686)

    * Documentation: https://help.ubuntu.com/

    System information as of Mon Mar 25 19:46:49 EDT 2013

    System load: 0.0 Processes: 89
    Usage of /: 7.3% of 72.63GB Users logged in: 0
    Memory usage: 13% IP address for eth0: 10.10.10.2
    Swap usage: 0%

    Graph this data and manage this system at https://landscape.canonical.com/

    Last login: Mon Mar 25 19:29:54 2013 from cryo.local
    server@philo:~$
    I don' really like coffee. I guess I'll give my Ubuntu beans to my wife.

    Luke

  10. #10
    Join Date
    Aug 2008
    Location
    Victoria, BC Canada
    Beans
    1,741

    Re: Why "*** System restart required ***"

    I use Linux in virtual machines all the time and I always enable automatic updates. So far its not been a problem. I simply create a new VM when a new CD surfaces.

    Its safer to enable automatic updates.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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