RunLevel 3: Reboot status after update?...

Hi,

I’m running a web server in RunLevel 3. After I do an update, how can I obtain the status if I need to reboot?

Thanks!..

Do you mean that you want to find out if you need a reboot after an update or not? I guess you talk about a security update from the Update repo. Those are normaly only a few at the time.

Well, for a new kernel that is obvious. And I would allways reboot if Apache, PHP, MySQL (if used of course) wher involved (especialy if ihe update is about security). For something like vi I would not reboot. In short, I would do an individual assessment of the different packages that were updated.

On 05/21/2012 05:06 PM, VcDeveloper1 wrote:
>
> Hi,
>
> I’m running a web server in RunLevel 3. After I do an update, how can
> I obtain the status if I need to reboot?

most updates will not require a reboot, but


zypper ps

will check to see if any executables/programs are running using deleted
files…(as would be the case if you updated executables or libs in use)…

i can’t think of a reason you might need to boot if that returns “No
processes using deleted files found.”

by the way: always plan on booting as soon as possible after a kernel
change…


dd

I admit that zypper -ps can give usefull information after the update is done.

But as system manager of aweb-server (or any other “computer room” type of system) I would rather assess the updates before doing them. Thus planning a system-down (or a restart of a service) will only be done when realy needed.

Ok thanks for your knowledge and help!.. :slight_smile:

I did the “zypper ps” and I only the “polkitd”:

The following running processes use deleted files:

PID | PPID | UID | Login | Command | Service | Files
-----±-----±----±------±--------±--------±--------------------------------------------------------------
2814 | 1 | 0 | root | polkitd | | /usr/lib64/gio/modules/libgioremote-volume-monitor.so;4fba57cd
| | | | | | /usr/lib64/libgvfscommon.so.0.0.0

You may wish to restart these processes.
See ‘man zypper’ for information about the meaning of values in the above table.

I read the “man” and it say’s, “no need to start this…”, but do I need to restart it?

Please, please, use CODE tags and not QUOTE tags around your computer output. It is mutilated now: http://forums.opensuse.org/english/information-new-users/advanced-how-faq-read-only/451526-posting-code-tags-guide.html

On Mon, 21 May 2012 21:26:03 +0530, hcvv <hcvv@no-mx.forums.opensuse.org>
wrote:

> And I would allways reboot if
> Apache, PHP, MySQL (if used of course) wher involved

why? these services can easily be restarted via their init scripts. what
additional advantage would a full reboot bring?


phani.

You are right that it can be done. But ir depends. When the system is not doing much else, I propbably would do a reboot.

Why?
It does not happen to often that one of these services get a security update. It also does not happen to often that you reboot your system. And, while an uptime between reboots of a year or more might impress people, it also has the drawback that it was a long time ago that you tested if a reboot is still functioning correct. And since last reboot there were often all sorts of changes where you do not need a reboot, but that nevertheless can cause a reboot to fail.

Thus I might consider a combination of some security update (which is something even the most lazy customer’s management understands the need of these days) with a reboot. To avoid having a discussion later with the customer about the need to reboot next month just for the case you never know.

But as is shown above again, there is no single anwer. Every update has it’s own things to consider So dear @VcDeveloper1, allways use your sound brains when managing systems.

On Mon, 21 May 2012 23:16:03 +0530, hcvv <hcvv@no-mx.forums.opensuse.org>
wrote:

> You are right that it can be done. But ir depends. When the system is
> not doing much else, I propbably would do a reboot.

also depends on what the server in question is doing. for those i manage,
i can reboot whenever i feel like, because there aren’t many users, who
access them infrequently only, and they wouldn’t mind even if they
noticed. there’s a couple of public websites, too, but again, with very
few visitors, and since we’re located in india, worse, west bengal,
outages aren’t much of a surprise. in the case in question, i might just
type “reboot” because it’s easier and faster than restarting the services
(for me).

on the other hand, if i suspected a reboot might not work, i’d rather
postpone it, because these servers are some 150 km away from me, and with
our road and traffic conditions, that means at least 5 hours journey :frowning:

i don’t expect the OP administers a high-traffic website, otherwise i’d be
surprised about the questions, anyway.


phani.

Apologize for that, the “Quick Reply” editor doesn’t have button for it and I kinda lapse in memory at that moment what the tags looked like. :open_mouth: Could this be added or it would be nice to have the “Code Tags” listed below the editor…

On Mon, 21 May 2012 23:06:02 +0000, VcDeveloper1 wrote:

> hcvv;2464112 Wrote:
>> Please, please, use CODE tags and not QUOTE tags around your computer
>> output. It is mutilated now: http://tinyurl.com/2wwx7l9
>
> Apologize for that, the “Quick Reply” editor doesn’t have button for it
> and I kinda lapse in memory at that moment what the tags looked like. :open_mouth:
> Could this be added or it would be nice to have the “Code Tags” listed
> below the editor…

It’s been requested before, but making changes to the defaults generally
causes us problems when it comes time to apply security updates/upgrades
to the software.

So we tend to keep customization to a minimum and push such requests
upstream to vBulletin.

Personally, I’d prefer to just see the advanced editor be the
default…Maybe that’s an option - I’ll ask about it.

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On 2012-05-21 18:36, hcvv wrote:
>
> I admit that -zypper -ps- can give usefull information after the
> update is done.
>
> But as system manager of aweb-server (or any other “computer room” type
> of system) I would rather assess the updates before doing them. Thus
> planning a system-down (or a restart of a service) will only be done
> when realy needed.

I would, in that case, always assume the worst, that a reboot may be
necessary. Or that the upgrade will go wrong and that I will have to waste
time diagnosing it, undo the upgrade, reboot several times, whatever. I
only do any upgrades at a time I can accept damage, whatever the upgrade
is, assume the worst.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On Tue, 22 May 2012 02:03:06 +0000, Carlos E. R. wrote:

> I
> only do any upgrades at a time I can accept damage, whatever the upgrade
> is, assume the worst.

A fairly common strategy is “plan for the worst, hope for the best” - of
course, “hope” in this case also involves more than just crossing your
fingers. It involves testing on a sandbox and other such measures, if
the system is a mission-critical system (or if unplanned downtime would
be a problem)

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

This can not be changed, else we would have done this time ago. Instead we felt pressed to make that howto and to tell people again and again. That is the curse of the mods :frowning:

On Tue, 22 May 2012 08:26:02 +0000, hcvv wrote:

> VcDeveloper1;2464224 Wrote:
>> Apologize for that, the “Quick Reply” editor doesn’t have button for it
>> and I kinda lapse in memory at that moment what the tags looked like.
>> :open_mouth: Could this be added or it would be nice to have the “Code Tags”
>> listed below the editor…
> This can not be changed, else we would have done this time ago. Instead
> we felt pressed to make that howto and to tell people again and again.
> That is the curse of the mods :frowning:

The good news is that the most recent update to vBulletin let us enable
it - so now it is. :slight_smile:

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On Wed, 23 May 2012 16:06:20 +0000, Jim Henderson wrote:

> On Tue, 22 May 2012 08:26:02 +0000, hcvv wrote:
>
>> VcDeveloper1;2464224 Wrote:
>>> Apologize for that, the “Quick Reply” editor doesn’t have button for
>>> it and I kinda lapse in memory at that moment what the tags looked
>>> like. :open_mouth: Could this be added or it would be nice to have the “Code
>>> Tags” listed below the editor…
>> This can not be changed, else we would have done this time ago. Instead
>> we felt pressed to make that howto and to tell people again and again.
>> That is the curse of the mods :frowning:
>
> The good news is that the most recent update to vBulletin let us enable
> it - so now it is. :slight_smile:

Sorry, my error, that’s the basic editor not the quick reply box - that
doesn’t have the option to enable it.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C