Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th March 2009, 10:56
klangen klangen is offline
Junior Member
 
Join Date: Jan 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Apt-get upgrade on mailserver

Hi!

I'm about to patch a Postfix mail server that I setup following the Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail Ubuntu 8.04 and I noticed there are a lot of packages that need an upgrade.

I have a question about the behavior of apt-get upgrade. Will any of the installed packages be affected before the reboot?

I was thinking I that maybe there could be complications upgrading while a lot of people are accessing their mail etc.

Is it safe to just run the upgrade or should I download the packages first and bring down the network connection before I run the upgrade?

thanks in advance!
Reply With Quote
Sponsored Links
  #2  
Old 11th March 2009, 13:51
_X_ _X_ is offline
Senior Member
 
Join Date: Oct 2008
Posts: 247
Thanks: 8
Thanked 37 Times in 35 Posts
Default

I have never had any problems with apt-get update/upgrade procedures and on rare occasions i restarted/rebooted server. In most cases apt-get procedure restarts services/daemons that were updated so you don’t need to reboot.

Before any update of services, they are shutdown, patched and started again. It all goes very quickly so not too many users should experience problems.

Of course something can always go wrong
Reply With Quote
  #3  
Old 11th March 2009, 15:25
klangen klangen is offline
Junior Member
 
Join Date: Jan 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the fast reply. I think I'm gonna play things safe anyways.

A few minutes of downtime is better than having mail coming in when the system is broken. If I bring the connection down/put it on a different network then I can make a snapshot(virtual machine) before I upgrade and then revert to it if something goes wrong without having to worry about mail getting lost.

Maybe I'm being too careful...
Reply With Quote
  #4  
Old 11th March 2009, 16:01
_X_ _X_ is offline
Senior Member
 
Join Date: Oct 2008
Posts: 247
Thanks: 8
Thanked 37 Times in 35 Posts
 
Default

Well that is the safest way in case you host a server with lot of mail traffic.

But the whole update process is actually built to be done "on-the-fly" without any downtime. Actually this is the segment where Linux servers are better than most other solutions and one of the main reasons why are they used in first case.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 08:04
Mailserver 554 Permanent Problems Message asyadiqin Server Operation 7 15th November 2007 15:09
Cannot receive emails : DSN: User Unknown shiidii Installation/Configuration 24 22nd September 2006 18:05
screwed up the upgrade provell Installation/Configuration 7 14th August 2006 13:33
fedor core upgrade rahulgandhi Kernel Questions 1 11th April 2006 15:14


All times are GMT +2. The time now is 23:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.