LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-23-2015, 02:59 PM   #1
dilettante9
Member
 
Registered: Jun 2012
Location: U.S.
Distribution: Debian, Xubuntu
Posts: 46

Rep: Reputation: Disabled
Xubuntu server reboot downtime: should I switch to Centos?


I recently switched from Windows Home Server to Xubuntu as my file server in a small home network. I got Samba configured easily for all users' shares using the Samba-config GUI (it's a mixed Linux/Windows network), and am generally happy with the Xubuntu box, with one notable exception: every few days, it informs me that updates are ready to install and after I click to install them, a reboot is required, necessitating a few minutes of server downtime.

Although it's just a home network, I'd rather not have to take my file server down. I realize I could probably have avoided this by using a non-graphical distro like Ubuntu Server, but although I can muddle my way around the command shell when necessary, I'd rather not do so and prefer a GUI.

So, I'm wondering: would switching to Centos for my file server avoid having to reboot every few days to install updates? Since it's based on RHEL, I imagine it's designed to avoid the need for reboots. I've always used Debian-based distros and am more familiar with them, which is why I chose Xubuntu in the first place, but I'd be willing to go with Centos if it avoids downtime.

Last edited by dilettante9; 06-23-2015 at 03:06 PM.
 
Old 06-23-2015, 08:26 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by dilettante9 View Post
I recently switched from Windows Home Server to Xubuntu as my file server in a small home network. I got Samba configured easily for all users' shares using the Samba-config GUI (it's a mixed Linux/Windows network), and am generally happy with the Xubuntu box, with one notable exception: every few days, it informs me that updates are ready to install and after I click to install them, a reboot is required, necessitating a few minutes of server downtime.

Although it's just a home network, I'd rather not have to take my file server down. I realize I could probably have avoided this by using a non-graphical distro like Ubuntu Server, but although I can muddle my way around the command shell when necessary, I'd rather not do so and prefer a GUI.

So, I'm wondering: would switching to Centos for my file server avoid having to reboot every few days to install updates? Since it's based on RHEL, I imagine it's designed to avoid the need for reboots. I've always used Debian-based distros and am more familiar with them, which is why I chose Xubuntu in the first place, but I'd be willing to go with Centos if it avoids downtime.
Any serious distribution, Ubuntu or Centos, GUI or commandline-oriented, will present updates to you on a regular basis. You can opt for not installing the updates, at the risk of running into bugs and security problems. The less software you have on your system, the fewer updates are required, so that you may want to move to a non-graphical server. Whether it's Ubuntu or Centos is irrelevant.
 
Old 06-25-2015, 06:13 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,355

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
That's kind of odd - most servers only require reboot for a new kernel... Shouldn't happen that often really...
You could try Centos as an alternative and see how that goes.
On RHEL/Centos you can see what updates have occurred
Code:
cat /var/log/yum.log
 
Old 06-25-2015, 01:19 PM   #4
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by chrism01 View Post
That's kind of odd - most servers only require reboot for a new kernel... Shouldn't happen that often really...
To expand upon this -- the reason you are being asked to reboot is because Xubuntu has installed an "update manager" on your machine which installs updates then prompts you to reboot -- this is probably because some of the libraries and executables it installs won't be reloaded until a reboot or, at least, an X11 restart has taken place so it mimics Windows and prompts you to reboot.
You have a few options, you can safely ignore the reboot prompt and reboot when you feel like it (though depending how the update manager works this may result in an inability to upgrade more or lots of annoying prompts), could use something else (either synaptic or apt-get) to install updates and reboot when you want or you could uninstall the update manager entirely and just manually update.
Personally, on any system I run (and mine are generally desktops) I uninstall the update manager and manually update using apt-get when it is convenient -- only rebooting when something I am bothered about is updated. So I rarely reboot my Pi (practically only for new kernels) and reboot my desktop and laptop when something is updated that I want to use right away as they are powered down fully every day anyhow.
Perhaps others will be able to be more specific about which updates require are reboot to take effect.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Minimum downtime way to switch server data from bad hard drive to new hard drive? postcd Linux - Hardware 1 05-18-2014 11:27 AM
Why need reboot the server when give a new IP Address in Centos 6.3 ? skchaudhary Linux - Desktop 6 06-26-2013 09:28 AM
how to migrate server without downtime?? anishkumarv Linux - Server 10 08-10-2011 10:42 AM
Can I keep my e-mail when I switch from xp to xubuntu? Mac_09 Linux - Newbie 3 05-19-2008 04:10 AM
unexpected reboot - linux server - centos 5.1 - cPanel / WHM GiotisSL Linux - Server 1 03-28-2008 05:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration