CentOS 5 :: What Does Rsyslog (using Yum) Install And How To Handle Conflicts With Syslog
Aug 21, 2009
I am thinking about installing rsyslog using yum, but I only want to try it out first and don't want to create conflicts and problems that will be hard to revert. When I ask yum on CentOS 5 about rsyslog, I get this (note much older version - it's too bad that even the latest STABLE rsyslog isn't in the repository):
I am searching that how i can configure syslogs/rsyslog to receive third party tools or softwares logs. For example i have a program that generates logs like when it is started and logs about its services, alerts if there are any alarms etc. I want to forward these logs using syslogs/rsyslog. Is their any possibility how can i achieve that
How do clients handle offline syslog servers?Will the log files be buffered locally to be sent to the syslog server when it comes back online, or will any log data generated during downtime be lost in cyber space?
I noticed in my system that my root partition is getting full. I found a lot of old compacted syslogfiles. Had a look at etc/sysconfig editor eg cron but could not find a setting which allows to delete files older than a month. Where and how could I influence this ? I deleted manually all syslog files older than a month. Approx 6GB
I tried to update from 5.2 to 5.3. But I got the error message:
Downloading Packages: Running rpm_check_debug Running Transaction Test Finished Transaction Test
Transaction Check Error: file /usr/lib/gstreamer-0.10/libgstqtdemux.so from install of gstreamer-plugins-good-0.10.9-1.el5_3.1 conflicts with file from package gstreamer-plugins-bad-0.10.3-8.el5.rf file /usr/lib/gstreamer-0.10/libgstvideo4linux2.so from install of gstreamer-plugins-good-0.10.9-1.el5_3.1 conflicts with file from package gstreamer-plugins-bad-0.10.3-8.el5.rf
What's the centos-approved way to handle group environment configuration? Let's say there are users in, oh, 4 different groups. Let's use the usual suspects:
accounting warehouse admin netadmin
and I want to set up environment variables and maybe some pathing that are specific to a given group. So that when 'joeblow', who is a member of group 'warehouse', logs in, the pathing and environment variables (and whatever else) that is needed for users in the 'warehouse' group is set up and configured.
What I was initially looking for was an /etc/groups.d, and in /etc/groups.d is
As part of the login process, the group memberships for the login username would be examined, and for each hit the respective /etc/groups.d/ script would be run. I'm not seeing anything like that, so I'm assuming centos uses some other mechanism, but I'm obviously not using the proper keyword mojo. Can someone point me to where this mechanism is described?
I've recently installed cacti on one of my servers and grimaced a bit when I had to install additional third-party yum repositories for CentOS 6. My question is, how does one go about preventing potential conflicts with certain dependencies overwriting key/critical dependencies relied upon from packages that might share them, i.e. apache? I understand yum priorities and have read the discussions regarding pros/cons from the threads involving one of the YUM maintainers. Since I need my servers to act as production-class equipment and, hence, be as reliable as they can, I'm always hesitant to allow yum to automate package upgrades when third-party repos are involved. How best to handle this?
I issued "yum update" and the process ended with a transaction check error(see below). Running rpm_check_debug Running Transaction Test Finished Transaction Test
Transaction Check Error: file /usr/share/backgrounds/images/default-5_4.jpg from install of oracle-logos-4.9.17-6.noarch conflicts with file from package desktop-backgrounds-basic-2.0-41.el5.centos.noarch file /usr/share/backgrounds/images/default-dual-wide.jpg from install of oracle-logos-4.9.17-6.noarch conflicts with file from package desktop-backgrounds-basic-2.0-4 [code]...
I installed Oracle Database on this server few months ago. I see in /etc/yum.repos.d directory a public-yum-el5.repo file with entries pointing to Oracle which must have come from that installation. Now how do I proceed from here?
After restoring from a hardware failure, I cannot get bridging to work again. I reinstalled the host version 5.5, and copied the .img file back onto the rebuilt machine. I also had the network scripts and iptables backed up. Through virt-manager I re-attached the virtual machine, and when I boot it, I get a MAC address conflict on the vm's eth0; "Device eth0 has a different MAC address than expected". The vm had a static ip address.
I am looking for an open source syslog server which accumulate the each and every log of Windows, Solaris, Linux and network devices. Currently I am using Syslog-ng which is not fulfiling my requirement in Windows clients, as I need the logs of every action which user performed after logon.
I installed syslog-ng-3.0.3-1.rhel5.i386.rpm and at first blush it appears to be working fine to /var/log/messages. However it doesn't seem to be doing any other ancillary logging as defined in syslog-ng.conf (I've had to mod /etc/init.d/syslog-ng to look in /etc). e.g.
I tried to install Syslog-ng-3.2.4 in Centos 5.6,when i need to start the deamon syslog-ng =>Failure and i have this message:
Code: [root@RelaisXXX etc]# service syslog-ng start Starting syslog-ng: Your configuration file uses an obsoleted keyword, please up Your configuration file uses an obsoleted keyword, please update your configurat Error creating persistent state file; filename='/usr/local/var/syslog-ng.persist Starting Kernel Logger [FAILED]:
I open "man vsftpd.conf", it says syslog_enable If enabled, then any log output which would have gone o /var/log/vsftpd.log goes to the system log instead. Logging is done under the FTPD facility. Default: NO So I add "syslog_enable=YES" to the /etc/vsftpd.conf, and add "ftpd.* /var/log/ftplog" into /etc/syslog.conf. But there is no log infomation in the ftplog file.
I have a dual-processor x86 box with CentOS 5 Linux 2.6.18-238.19.1.el5, mysql Ver 14.12 Distrib 5.0.77, and tons of storage space. I want to run a syslog solution on this box for a SOHO infrastructure. We've got routers, switches, Windows servers, other Linux boxes, etc. I've looked at syslog-ng, but it seems rather overkill, but I like the idea of storing logs in a MySql database. Is there anything I can yum install?
I've just configured my Linksys RVS-4000 router to syslog messages to remote syslogd server (i.e. my CentOS5 machine). Redirecting messages was easy, but now I'm having difficulties to redirect those same messages received from Linksys to a separate log file. By default, all these messages are logged to /var/log/messages, and after browsing manual pages for syslog, syslog.conf, and syslogd, came to suspect that what I want isn't possible.
I installed syslog-ng so I can receive remote logs. this is working however since I disabled syslog on my syslog-ng server I am not logging in /var/log/messages cron and some others.locally)I know this is because my syslog-ng.conf only references remote and not local.How can I edit the syslog-ng.conf file so that I can receive remote and local? I tried this however when adding in portions of the default config, I only receive local and not remote logs anymore. I am forwarding my config.
# syslog-ng configuration file. # # This should behave pretty much like the original syslog on RedHat. But
Running Ubuntu 10.04 64bit on a Gateway md7818u.When trying to install Pidgin today, I found that I could not do so in the software center due to to a "Software Dependencies Cannot Be Resolved" error. So I went to Synaptic and attempted there. One package after another kept saying "dependent on (insert package name here) but will not be installed" so I went to manually install these packages, with the same results, leading me to "libdirac-encoder0" which would install but conflicted with many of my installed programs it said that all had to be removed to install this package, which will allow me to install all of these other packages, which will allow me to install Pidgin.
OS CentOS 5.4 I have a DNS server that is logging all named and dns requests to the chrooted named directory. By default named logs to /var/log/messages but I want to isolate all the dns queries and requests to separate files. I know I can add entries to /etc/syslog.conf to "roll" the logs and logrotate should pick them up but fuzzy as to the syntax. I don't know what "tag" to use in the first fieild. for example
# Log anything (except mail) of level info or higher. # Don't log private authentication messages! *.info;mail.none;authpriv.none;cron.none/var/log/messages
When I ran YaST | Software Management | Package | Update if newer Package Available this morning I get this message:
Code: #### YaST2 conflicts list - generated 2011-01-22 09:40:42 #### libxine1-codecs-1.1.19-2.pm.48.15.i586 requires libpostproc.so.51, but this requirement cannot be provided uninstallable providers: libpostproc51-0.6.26387svn-1.pm.2.1.i586[ftp.uni-erlangen.de-suse] [ ] break libxine1-codecs by ignoring some of its dependencies [ ] Following actions will be done: install libpostproc51-0.6.26387svn-1.pm.2.1.i586 despite the inferior architecture ..... [ ] do not install libxine1-codecs-1.1.19-2.pm.48.15.i586 #### YaST2 conflicts list END ###
What is it telling me? What should I do? What are the implications?
Here's the text from the serial console before I rebooted:
BUG: unable to handle kernel paging request at ffff8140320234b8 IP: [<ffffffff802b0a13>] dentry_iput+0x26/0x9d PGD 8063 PUD 0
My root server is using CentOS release 5.2 (Final), kernel 184.108.40.206-rootserver-20080917a, SMP, 64-bit This Oops happened yesterday and before that it happened on March 14th of this year, and before that on January 31st of this year, so a repeating pattern. On the January 31st Oops, I just rebooted. On the March 14th Oops, I reformatted the two swap partitions as follows: mkswap -c /dev/sda2; mkswap -c /dev/sdb2 On this last Oops, I turned off the swap for 24-hours, then decided to turn it on again after doing the above mkswap again. During the previous uptime, I had dumpcap packet capture running, but this last reboot, I'm not going to run it.
openSUSE 11.2 (i586) VERSION = 11.2 on an IBM x3250
Problem is that after the screen comes up to chose the default version or failsafe, my monitor shows no input. If I delete the VGA 0x031 (i think that's the number) on the Options line in the screen where you chose the version, I get my command line interface.
I would like to secure my dhcp server against mac spoofing. I have two nics:eth0 -10.10.10.1/24 LANeth1 - WAN (dynamic from dhcp)I have setup /etc/etheresSERWER.MYDOMAIN.PL 00:01:02:03:04:05comp1 00:1f:d0:27:d1:beetc.
I've been trying to install Opensuse 11.3 from the Kde live cd, but the installation hangs when I'm almost done. Right at the beginning the installation is interrupted right with text that among other things says:
Bug: unable to handle kernel paging request at ffffc90010b8000. After a while though, the installation picks up and continues by itself. I'm then able to complete the necessary steps and I reboot the system so that it can complete the installation.
After reboot there is a new text message that says that the bios does not support EEC memory or something to that effect and then continues with the installation. When it has completed 82% of the autoconfiguration the installation just stops and stays that way.
I've had no problem installing previous releases, from 10.2 up to 11.2, on the same machine.
I've checked md5 sum and also checked the media before proceeding with the installation.
Upon reboot after the first installation step, I also tried the failsafe mode but got the same result.