Red Hat / Fedora :: Compiling Rsyslog With RELP?
Aug 17, 2010I am trying to install rsyslog 5.4.0 with relp on CentOS 5.5 (vmware). My installation steps:
yum install gcc.i386
liblogging-0.7.1:
./configure
[code]...
I am trying to install rsyslog 5.4.0 with relp on CentOS 5.5 (vmware). My installation steps:
yum install gcc.i386
liblogging-0.7.1:
./configure
[code]...
I am trying to install rsyslog 5.4.0 with relp on CentOS 5.5 (vmware). My installation steps:
yum install gcc.i386
liblogging-0.7.1:
./configure
make
make install
[Code].....
/usr/local/lib/rsyslog/omrelp.so exists with permission 755 owned by root. I read some similar posts but older version of centos, rsyslog, librelp and rebuilding the packages could not help.
We want to begin centralizing our system logs to a dedicated server, using a daemon that is flexible and offers more features. After some research, I decided to give rsyslog a whirl (versus syslog-ng).roblem has come down to compilation errors which, unfortunately, I've not been able to resolve otherwise (rsyslog forums) and it appears this is a larger problem with the product. So before I begin making another decision, I wanted to get some input from others here.Here is a snippet of the errors:
Code:
/usr/local/src/rsyslog/rsyslog-5.4.0/runtime/queue.c:1291: undefined reference to `ATOMIC_SUB'
[code]...
Has anyone gotten rsyslog to accept messages from remote hosts? I've tried half a dozen methods for getting it to capture syntax, all unworking.
View 8 Replies View RelatedI have set up one Fedora 10 server.I found that rsyslog service is running on Fedora 10 server.How to configure rsyslog on Fedora 10 to collect the log from Cisco ASA5510 ?
View 2 Replies View RelatedI saw rsyslog is now installed in Debian Lenny instead of syslog. I want to send local iptables log to remote server. I modified the file config /etc/rsyslog.conf like this :
# provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514
[code]...
I have upgraded to 10.04 or tried to at least. I have a server at OVH and it was running 8.04 desktop and I decided to upgrade it to 10.04 little relizing that OVHs kernels didn't work with 10.04 so after the reboot phase it ended up going into a netboot rescue mode.
I have got the latest kernel from the kernal.ubuntu area and installed it. Run grub-update, reboot... Nothing. So I decided to run apt-get install just to make sure there was nothing that needed to be installed.
The following is what I have got
Code:
Now from my research this means that I don't have a bootable system.
The following is the response I got from OVHs team
Code:
Have any detail configuring RSyslog on ubuntu 10.04? with web interface view
View 2 Replies View RelatedI was wondering how could I specify for how long the logs will be kept. Rsyslog doesn't have such an option (at least I didn't find it).Do I have to use logrotate for this, or is there some other option?
View 1 Replies View RelatedI'm having issues setting up rsyslog to receive syslog from another server and only log to one file. I'm receiving the syslog from the remote side, however its putting the entries into more than one log file.
I configured /etc/rsyslog.conf to enable udp, and I have implemented a filter to log only from that IP address, and then stop processing more rules, but it seems to continue on.
I have found that the remote syslog events are using local0 and local1. There are two custom rsyslog config files in /etc/rsyslog.d that handle those two facilities. If I use that same if statement at the beginning of those custom config files, I can get it to work. Seems like a hack though.
Not working:
I put my if statement before the include statement, thinking I could stop it from hitting the custom rules.
Code:
Select all# /etc/rsyslog.conf Configuration file for rsyslog v3.
#
# For more information see
# /usr/share/doc/rsyslog-doc/html/rsyslog_conf.html
#################
#### MODULES ####
#################
$ModLoad imuxsock # provides support for local system logging
$ModLoad imklog # provides kernel logging support (previously done by rklogd)
#$ModLoad immark # provides --MARK-- message capability
[Code] ....
This works:
A custom config file in /etc/rsyslog.d
Code: Select allif $fromhost-ip == '<my ip>' then /var/log/<my directory>/syslog.log
& ~
local0.* /var/log/<a log file for local0>.log
This is on a WD Mycloud device:
Code: Select allLinux WDMyCloud 3.2.26 #1 SMP Tue Jun 17 15:53:22 PDT 2014 wd-2.2-rel armv7l
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
I have a Asus RT-n12 router with DD-WRT v24-sp2 (12/19/10) mini(SVN revision 15943M NEWD-2 K2.6 Eko)I can not get my rsyslog on my linux pc to log messages from the router. I did a netstat -arn and got:
Code:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
[code]...
I'm trying to run a logging server with encryption but rsyslog takes 100% of the memory on boot. This only happens when these two sets of lines are both in the rsyslog.conf
Code:
$ModLoad imtcp
$InputTCPServerRun 10514
and
Code:
$DefaultNetstreamDriver gtls
[Code]...
How do i find the file /etc/rsyslog.conf so i can modify it.
View 1 Replies View RelatedI have been trying to create an rsyslog config for a software package that I use. I want to use the local7 facility for this package, and split the messages according to priority across several files. I would like the config to be a file which can just be dropped into rsyslog.d without having to modify the rsyslog.conf or 50-defaults.conf. I created a file called 40-test.conf, in which I have the following:
local7.none /var/log/messages
local7.none /var/log/syslog
local7.=info -/var/log/test.info
local7.=debug -/var/log/test.debug
local7.=notice;local7.=warning -/var/log/test.notice
local7.=err -/var/log/test.error
I am getting the correct local7 messages in the correct 'test' files, but i am also still getting local7 messages in /var/log/messages and /var/log/syslog, so it seems the local7.none has no effect. Is this the correct method of achieving what I want? What am I doing wrong?
Not sure if this is the correct area to ask this question as it pertains to Upstart but not necessarily to Ubuntu.
Anyhoo, I have made a small alteration (obviously the cause of error ) but not really sure why it does not work.
rsyslog.conf:
Code:
# rsyslog - system logging daemon
#
# rsyslog is an enhanced multi-threaded replacement for the traditional
# syslog daemon, logging messages from applications
[Code].....
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):
[Code]....
I try to log all my iptable logs to mysql instead just a logfile. The setup is as followed:
[Code].....
[red]Problem[/red] rsyslog logs everything correct, except it does not log to db, it logs to /var/log/messages. As I am brand new to the whole Linux experience, I don't get it. My /etc/rsyslog.conf is setup with $ModLoad onmysql.
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
View 2 Replies View RelatedAfter struggling and googling on the internet I can't manage it to work.I have stup rsyslog to receive the logging from my firewall and it puts it into the syslog file.ut I would like to have a separate logfile for these messages.I have created the firwall.log file with owner syslog, same as for the syslog file.I already have tried to use in the /etc/rsyslog.d/10-firewall.conf the following ::msg, contains, "firewalld" /var/log/firewall.logor
:msg, contains, "firewalld" -/var/log/firewall.logI don't know the difference between the "-" sign in the lines but I have seen also those kind of situations.
I also have put this line into the 50-default.conf file because I thought it wasn't seeing the 10-firewall.conf file but no work.I have added a $template HostMessages, "/var/log/%HOSTNAME%/logfile.log" in the /etc/rsyslog.conf file but neither it works.In the firewall I can see the Syslog facility is now on LOG_LOCAL0 and I can change it from LOCAL0, LOCAL1, LOCAL2, ... until LOCAL7What does these different numbers mean
For internal security reasons I need to prevent ourmcat logs from writing to the webserver local disk. We set up a separate logging server with rsyslog and need to pipe the log data to it.I am trying to work out how to configure tomcat to send all log data to the logging server via the rsyslog client (running locally) via a named pipe. We are on CentOS 5.6, Tomcat 6 and rsyslog 5.8.1. I need to know: 1) do we use the default logging library or log4j2) where is this configured in the tomcat config3) is there any code that would need to be written to achieve this
View 1 Replies View RelatedI Have been trying to change a file in filestarter using sudo /etc/rsyslog.conf. but am getting a permission denied message. How do I get into this file to change it ? Firestarter is working ok but for some reason it cannot open the system log. I Have found what amendments need to be made to get this to work but simply cannot get access to the file
View 2 Replies View RelatedRunning Fedora 12, I am attempting to compile an application. The README file tells me that I need Qt 4.6.3. Clicking on System - Administration - Add/Remove Software, I find many packages having something to do with qt, but nothing looks like what I need. Is this available as a package for Fedora? If not, what would I need to do to download and use qt on my system?
View 2 Replies View RelatedI am compiling and installing the custom kernel based on the instructions provided in Building_a_custom_kernel on fedoraproject.org/wiki site.
However, according to the instructions, anytime I change anything in the kernel source files(e.g /driver/ata/libata-core.c), I have to create a patch a rebuild the whole kernel and install this new kernel which takes 2 hours. Is there a simpler way of recompiling what has changed(without creating patch) and try that changed kernel? Since my changes are not in the drivers which can be dynamically loaded but is in the static code of the kernel, it is making life cumbersome.Are there any instructions for this? How does other kernel developers manage this?
The Avant Window Navigator beta, as taken from the project's Bazaar repository, isn't configuring correctly on my machine and gave me loads of errors previous to this point, so I've had my hands full for a while now. Three packages that AWN needs to compile (gnome-desktop-devel, gnome-vfs-devel and libgnome-devel) are refusing to install, leaving me with this Quote: checking for AWN... configure: error: Package requirements (glib-2.0 >= 2.8.0 gthread-2.0 gobject-2.0 gtk+-2.0 gdk-2.0 >= 2.10 dbus-glib-1 gnome-desktop-2.0 libgnome-2.0 gnome-vfs-module-2.0 gconf-2.0) were not met: No package 'gnome-desktop-2.0' found No package 'libgnome-2.0' found No package 'gnome-vfs-module-2.0' found.
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables AWN_CFLAGS and AWN_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. and this is why they won't install Quote:hal = 0.5.13-9.fc12 is needed by package hal-devel-0.5.13-9.fc12.x86_64 (fedora) I need an old version of HAL for the "dependency resolution failed" notices to go away. One which PackageKit says is still on my computer. I would try to downgrade via yum but setenforce 0 fails. What do I need to do to get this whole thing finished?
I am trying to compile kernel 2.6.33.2 (without problems 2.6.33.1), but i got the following message :
[code]...
compile ParaView myself so that I can install the pvmeshless plugin. I have done that a few times before on Ubuntu machines. Now I read that I might run into problems due to qt4.7 (4.6 is supported by PV). Anyhow I don't even come to that stage since I can't enable python support. The error I get is:
Quote:
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
Call Stack (most recent call first):
[Code]....
I have a problem i can't compile vmware i have all the packages that are needed to compile VMware.The compile can't compile anything. Here is the log of the compile :
Stopping VMware services:
VMware USB Arbitrator [ OK ]
VM communication interface socket family [ OK ]
Virtual machine communication interface [ OK ]
Virtual machine monitor [ OK ]
[code]....
its been a long time since i was last on here, (2006)
I am trying to compile ffmpeg (and libraries) but im stuck. I am running x86_64 FC11 and want to compile 32 bit binaries so i can post them online for people to download, and mine is different then the ones hosted by the yum repo's.
here is what the output is
Code:
[rbehera@roflmao ffmpeglinux]$ ./configure --cpu=pentium3 --arch=x86 --enable-cross-compile
[rbehera@roflmao ffmpeglinux]$ ./configure --cpu=pentium3 --arch=i686 --enable-cross-compile
[Code].....
I've been playing around with this forever now, I am trying to do the example timer using boost asio's example, I keep getting an undefined reference error for boost::system and pthread errors, so after a bit off googling I went back to boosts' to follow their advice it didnt help one bit I know where the boost system lib is /usr/lib and the include directives are in /usr/includes however, when issuing the command they said that needs to be done as in the example with gcc nothing happens just file not find and I am inputting the correct path.
View 1 Replies View RelatedI am trying to compile a vanilla kernel that I got from git in a VirtualBox VM running Fedora 12. With RHEL (albeit on real hardware, not a VM), I am able to do a make; make modules_install; make install and simply able to boot up the kernel. The make install step, in particular, creates the initrd using /sbin/installkernel, which also updates the grub configuration.
Under Fedora 12, my new kernel does not boot. I see no messages on the screen, not even if I change the boot command line to remove quiet bootup. I see disk usage on the VM and the CPU gets pegged at 100%. Strangely enough, if I change the initrd to refer to an existing, Fedora-provided kernel, I can boot my new kernel without any problems. I started with a Fedora kernel config and used it to generate the config for my new 2.6.33 kernel, so it couldn't be the case that I missed something in the config either.
Does anybody have an idea about what could be going on? Is there some specific patch that Fedora kernels use that are essential for booting up?
Also, the guest Fedora OS is 64-bit, if that is relevant.