09-15-2011
Quote:
Originally Posted by
pludi
Disclaimer: I can only attest for the Linux side of things here.
First of all, 3 to 6 months isn't that long of an uptime, as I've seen systems with 2+ years. And with the distributions you've listed there won't be any major kernel updates in that time, save important security updates, and even those don't force a reboot (but the new kernel will only be used after a reboot). If you really need high availability, better to look into proper redundancy by setting up a cluster, where a second node can easily take over should the primary suffer a hardware defect.
Unfortunately I'm not a cluster guy
. On my home server I use CentOS but i see that there is a kernel update each month. Should I reboot each time? Where could I find information about each update. Is it a security or a normal and I can postpone reboot.
7 More Discussions You Might Find Interesting
1. Linux
Hi All,
I need to update my redhatas4 kernel with kernel-2.6.9-67.0.20.EL.src.rpm.
When I run this
# rpm -ivh kernel-2.6.9-67.0.20.EL.src.rpm
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does... (2 Replies)
Discussion started by: itik
2 Replies
2. Solaris
Hi All,
I am installing kernel Update 3.0 in my Solaris servers.
It actually installs most of the patches in this update , but for some packages it is not installing.
It is saying ...
Version of package SUNWcakr from directory SUNWcakr.us in patch 137137-09 differs from the package... (7 Replies)
Discussion started by: jegaraman
7 Replies
3. Solaris
Hi I am installeing Solaris Kernel update in my solaris Server.
The Solaris Kernel update skipps the patch 120011-14.
saying that it had already been installed.
But it is not found in /var/sadm/patch directory where all the patches will be there.
And also i could not install other... (11 Replies)
Discussion started by: jegaraman
11 Replies
4. Red Hat
1. Where do i obtain new kernels in ".rpm" format to update my RHEL5?
is it only available to RHN subscribers?
2. i downloaded latest kernel (linux-2.6.31.5.tar.bz2) from kernel.org.
#tar -xjvf linux-2.6.31.5.tar.bz2
after this i have a directory with lots of stuff in there. how do... (2 Replies)
Discussion started by: dplinux
2 Replies
5. Solaris
tell me the step by step procedure for updating the kernel patches in solaris 10. (1 Reply)
Discussion started by: tv.praveenkumar
1 Replies
6. Red Hat
Dear all,
I have some linux servers in my prod environment. For two years i have not done any kernel updates or required patches ...should i have to this activity. My kernel version is 2.6.18-164.el5xen and linux release is release 5.4 (Tikanga).
And reboot also not done for 2 years is... (2 Replies)
Discussion started by: jegaraman
2 Replies
7. UNIX for Dummies Questions & Answers
Hi
i want know to how to check NTP update frequency for a server?
what should be its ideal value or range ?
also, i have configure one switch and on gui i can see NTP update frequency value is 1440. also no idea what should be its ideal value
i am not sure if this is correct or not .... (1 Reply)
Discussion started by: scriptor
1 Replies
LEARN ABOUT PHP
pg_last_notice
PG_LAST_NOTICE(3) PG_LAST_NOTICE(3)
pg_last_notice - Returns the last notice message from PostgreSQL server
SYNOPSIS
string pg_last_notice (resource $connection)
DESCRIPTION
pg_last_notice(3) returns the last notice message from the PostgreSQL server on the specified $connection. The PostgreSQL server sends
notice messages in several cases, for instance when creating a SERIAL column in a table.
With pg_last_notice(3), you can avoid issuing useless queries by checking whether or not the notice is related to your transaction.
Notice message tracking can be set to optional by setting 1 for pgsql.ignore_notice in php.ini.
Notice message logging can be set to optional by setting 0 for pgsql.log_notice in php.ini. Unless pgsql.ignore_notice is set to 0, notice
message cannot be logged.
PARAMETERS
o $connection
- PostgreSQL database connection resource.
RETURN VALUES
A string containing the last notice on the given $connection, or FALSE on error.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 4.3.0 | |
| | |
| | This function is now fully implemented. Earlier |
| | versions ignores database connection parameter. |
| | |
| 4.3.0 | |
| | |
| | The pgsql.ignore_notice and pgsql.log_notice |
| | php.ini directives were added. |
| | |
| 4.0.6 | |
| | |
| | PHP 4.0.6 has problem with notice message han- |
| | dling. Use of the PostgreSQL module with PHP |
| | 4.0.6 is not recommended even if you are not |
| | using pg_last_notice(3). |
| | |
+--------+---------------------------------------------------+
EXAMPLES
Example #1
pg_last_notice(3) example
<?php
$pgsql_conn = pg_connect("dbname=mark host=localhost");
$res = pg_query("CREATE TABLE test (id SERIAL)");
$notice = pg_last_notice($pgsql_conn);
echo $notice;
?>
The above example will output:
CREATE TABLE will create implicit sequence "test_id_seq" for "serial" column "test.id"
SEE ALSO
pg_query(3), pg_last_error(3).
PHP Documentation Group PG_LAST_NOTICE(3)