Sponsored Content
Full Discussion: Patch Rhel5.4
Operating Systems Linux Red Hat Patch Rhel5.4 Post 302596623 by sds9985 on Wednesday 8th of February 2012 12:19:49 AM
Old 02-08-2012
Generally, yum and rpm are smart enough not to clobber your config files. Yum and rpm recognize commonly edited configuration files and treat them differently than the other files they would be installing.

If the existing version of the config file has default settings that would be incompatible or unsafe with the new package, then the new file is copied into place and the old file is saved as .rpmsave. If the older file would be safe to use, then the original file is left in place and the newer version is installed with a .rpmnew suffix.

For instance, if you update apache and the old /etc/httpd/conf/httpd.conf file had some settings that were incompatible with the new package, the new config file would be copied in as /etc/httpd/conf/httpd.conf and the old file would be preserved as /etc/httpd/conf/httpd.conf.rpmsave. If the apache package is updated and the old config file is safe to use, then it would remain as /etc/httpd/conf/httpd.conf and the new config file would go on as /etc/httpd/conf/httpd.conf.rpmnew. If it's a known configuration file that has been changed, then yum / rpm will always do one or the other.

Yum / rpm will notify you of these actions as the packages are updated, or you can just do a find file *.rpmnew and *.rpmsave after the update. Either way, you would manually reconcile the the config files to incorporate your changes into the newer version of the file.

Regardless of all of this, always make sure you have a valid backup before you patch. Even a quick tarball can save your bacon if things go terribly wrong.

Last edited by sds9985; 02-08-2012 at 01:29 AM..
 

9 More Discussions You Might Find Interesting

1. IP Networking

Patch-o-matic (patch for iptable) for linux2.4.08 & iptable1.2.7a

Hello friends I'm running Redhat 9.0 with linux kernel 2.4.20-8 & have iptables version 1.2.7a & encountering a problem that I narrate down. I need to apply patch to my iptable and netfilter for connection tracking and load balancing that are available in patch-o-matic distribution by netfilter.... (0 Replies)
Discussion started by: Rakesh Ranjan
0 Replies

2. Red Hat

Squirrelmail Rhel5

Hi , I am trying for squirrelmail In Rhel 5 I have the Image of the DVD .But in that I can't Find the squirrelmail-1.4.2-1.noarch.rpm And i downloaded the same but it is not working . can anyone can give any link to download the same for Rhel5.?? Thanks (1 Reply)
Discussion started by: saurabh84g
1 Replies

3. Red Hat

Best Book For RHEL5

Hey friends Anyone tell me the best book for learning RHEL5 from basic to master including everything that we can do with microsoft windows and server. Does anyone know any good institute for red hat linux server in delhi,india (1 Reply)
Discussion started by: neerajrawat1
1 Replies

4. Red Hat

installing filezila in rhel5

Hi, I'm currently having problems in installing filezila in rhel5. I refered to Compiling and installing software from source in Linux Compiling and installing software from source in Linux so from my understandings # tar xvzf package.tar.gz (or tar xvjf package.tar.bz2) # cd... (1 Reply)
Discussion started by: pilotHans
1 Replies

5. Red Hat

Meld on RHEL5

Hi All I'm trying to run meld on RHEL5, to diff 2 directories. I able to see the files in diff. But when I click on the file to view the diff, I get the below error. Anyway to resolve this? Meld version that I use is 1.3.3. (meld:14757): libgnomevfs-CRITICAL **:... (1 Reply)
Discussion started by: visionofarun
1 Replies

6. Red Hat

samba on RHEL5

morning all, anyone has installed samba on redhat el 5 server? after installed service (smb service in) where to edit samba configurations? as for the el4, on desktop in application --> system setting --> server setting -- > samba. but in el5, in the server setting no such samba... (5 Replies)
Discussion started by: maxlee24
5 Replies

7. Red Hat

RHEL5.4 upgrade

Hi All, I want to upgrade a VM server from RHEL5.4 to RHEL5.5. My server is inside my office intranet and the yum.conf contents look like this: cachedir=/var/cache/yum keepcache=0 debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1... (2 Replies)
Discussion started by: Hari_Ganesh
2 Replies

8. Red Hat

Problem with tar on RHEL5.8

Hi All, I have a tar file that I want to extract, I need the permissions and owners of the file to be the same as on when they were tared. I am using this command to un-tar the file. tar --acl --xattrs --same-owner --same-permissions -zvxf MANJUNATH_acl_corner_cases.tgz -C /cifs1/share1/... (7 Replies)
Discussion started by: prinsh
7 Replies

9. Red Hat

RHEL5.4 Upgrade

Hello, WE currently have a RedHat5.4 server which we need to upgrade with latest patches. This runs database Oracle 11gR2. If anyone can suggest if it is better to perform patches update or just migrate to a higher supported RHEL5.x version.. From what I know Oracle 11gR2 is supported by... (2 Replies)
Discussion started by: ikn3
2 Replies
apache(1M)						  System Administration Commands						apache(1M)

NAME
apache - Apache hypertext transfer protocol server overview DESCRIPTION
apache consists of a main server daemon, loadable server modules, some additional support utilities, configuration files, and documenta- tion. FILES
The apache HTTPD server is integrated with Solaris. The following files specify the installation locations for apache: /etc/apache Contains server configuration files. A newly-installed server must be manually configured before use. Typically this involves copying httpd.conf-example to the httpd.conf file and making local configuration adjustments. /usr/apache/bin Contains the httpd executable as well as other utility programs. /usr/apache/htdocs Contains the Apache manual in HTML format. This documentation is accessible by way of a link on the server test page that gets installed upon fresh installation. /usr/apache/include Contains the Apache header files, which are needed for building various optional server extensions with apxs(8) /usr/apache/jserv Contains documention for the mod_jserv java servlet module. Documention can be read with a web browser using the url: file:/usr/apache/jserv/docs/index.html /usr/apache/libexec Contains loadable modules (DSOs) supplied with the server. Any modules which are added using apxs(8)are also copied into this directory. /usr/apache/man Contains man pages for the server, utility programs, and mod_perl. Add this directory to your MANPATH to read the Apache man pages. See NOTES. /usr/apache/perl5 Contains the modules and library files used by the mod_perl extension to Apache. /var/apache/cgi-bin Default location for the CGI scripts. This can be changed by altering the httpd.conf file and restarting the server. /var/apache/htdocs Default document root. This can be changed by altering the httpd.conf file and restarting the server. /var/apache/icons Icons used by the server. This normally shouldn't need to be changed. /var/apache/logs Contains server log files. The formats, names, and locations of the files in this directory can be altered by various configuration directives in the httpd.conf file. /var/apache/proxy Directory used to cache pages if the caching feature of mod_proxy is enabled in the httpd.conf file. The location of the cache can also be changed by changing the proxy configuration in the httpd.conf file. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWapchr | +-----------------------------+-----------------------------+ | |SUNWapchu | +-----------------------------+-----------------------------+ | |SUNWapchd | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) http://www.apache.org NOTES
In addition to the documentation and man pages included with Solaris, more information is available at http://www.apache.org The Apache man pages are provided with the programming modules. To view the manual pages for the Apache modules with the man command, add /usr/apache/man to the MANPATH environment variable. See man(1) for more information. Running catman(1M) on the Apache manual pages is not supported. SunOS 5.10 8 Aug 2000 apache(1M)
All times are GMT -4. The time now is 10:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy