Ubuntu Servers :: Configuring RSyslog On 10.04?
Jan 13, 2011Have any detail configuring RSyslog on ubuntu 10.04? with web interface view
View 2 RepliesHave any detail configuring RSyslog on ubuntu 10.04? with web interface view
View 2 RepliesI'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]...
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 experiencing trouble configuring suPHP on my Ubuntu 8.04 web server. I've googled around quite a bit and the general consensus is that you first disable php5, then install the suphp module (I did that from the repo). I configured one of my Vhosts to use suPHP_UserGroup, but I get the following error:
Invalid command 'suPHP_UserGroup', perhaps misspelled or defined by a module not included in the server configuration
I know the module is loaded, so I'm not sure why I'm getting this error. Is a Vhost the right place for this setting? Note that I installed from the repository instead of compiling from source if that makes any difference. Any insight on this issue? I can provide configuration files if need be.
Edit: After some extended googling, from what I understand I have to recompile suPHP using the 'paranoid' mode. Am I correct?
I'm using ubuntu 9.10 64bit and I'want to configure php mysql and lampp. Also the package mysql-ser is already installed, so if I install MYSQL GUI tools(Administrator, query browser..) from my synaptic package manager will it detect the mysql already installed ? Also tried configuring lampp by extracting it in my /opt directory and i started the server, which MySQL ll it detect the one which was previously installed otr the oin that in gui tools ?
Also think the current ubuntu repository does't have latest build of mysql GUI tools, so how the above mentioned things ll change if I try to download the individual package.
Oveall what I want is to configure Mysql GUI tools, Mysql workbench, xampp and php(For this I'm using Bluefish and Komposer). Please help me out so that I can leave windows for my Web-projects.
I am using ubuntu server 9.04 version and trying to configure a primary master DNS on my server as followed the ubuntu official documentation [URL]. The files named.conf.local, db.example.com & db.192 are almost same as the documentation. And I can restart DNS. But when I followed the troublshooting page to ping example.com
thomas@UServer:~$ ping -c 4 example.com
PING example.com (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.047 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.067 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.058 ms
64 bytes from localhost (127.0.0.1): icmp_seq=4 ttl=64 time=0.061 ms
--- example.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2997ms
rtt min/avg/max/mdev = 0.047/0.058/0.067/0.009 ms
thomas@UServer:~$
It is not show my server IP. Is it correct on the configuration?
I have attempted to set up ubuntu server 10.10 on my home network. I only have one computer and access to windows is a must for me, so what I have been doing is installing the server via VMware as a virtual server. Now, I have been able to successfully set up a server that works on the LAN, but for some reason I have been unable to get access to the server via the external ip address.
I will list all known information about my network, host computer and VMware.
I'm currently using VMware Workstation. For the virtual machine I have installed, I have allocated 500 GB of space to a partition on my 2 TB external hard drive. The network is currently set to NAT, but I would much prefer to Bridge the network so that the guest would be assigned a unique LAN address.
The host computer is a laptop. It is connected to the internet through a wireless router. I can successfully host a teamspeak server that accepts incoming traffic from the internet. The operating system that is installed is Windows Vista.
The network is set up as follows:
The host's LAN address is 192.168.1.50 and is connect to the Router which has an address of 192.168.1.1. I am using a Netgear WNDR3300v1 wireless router. The webserver itself would likely have the IP 192.168.1.2 in the circumstance that the network was bridged for the virtual machine. So the WAN Interface would be the modem my company has provided which has assiged the external IP 24.113.92.228. The modem is a cable modem, the brand is a motorola surfboard.
I'm trying to install Zimbra and Apache. I'm having difficulty setting up DNS (if necessesary) and also configuring my /etc/hosts show me what the /etc/hosts should look like.
View 3 Replies View Relatedinstalled ubuntu 8.10 64bit on left over parts for file serving with windows 7, tried the sample config file that installed with it with no luck, then tried new config file, looking at the samba.org website and other peoples configurations i came up with this
[global]
netbios name = NETBIOS_NAME
workgroup = workgroup
security = user
[code]....
i am setting up a raid 1 on a netbook with the 30gb internal ssd as the primary drive and the 32gb sd card as the mirror. i am following the instructions here...
[URL]
i have several working raid 1 arrays under my belt using usb sticks and want to try something more advanced and practical now.i have configured the internal ssd with no trouble, however, the 32gb sd card is not showing up in the installer. so i cannot configure it as the mirror. my 2gb sd cards show up when i run the installer why doesn't the 32gb sd card? if i boot into a session the primary ssd the 32gb card does show up mounted on the desktop. it shown as a dos partition.
I recently installed Ubuntu 10.04.2 Server on a small desktop to use as a print server. During installation I marked the sSH, Print, and Samba services.I can ssh into it just fine and that's how I'm configuring it. I have a hp Deskjet F2210 connected to it.My end goal is to be able to use the scanner from my *buntu desktop and from a desktop running XP. All of these being connected via ethernet router.
View 9 Replies View RelatedI'm replacing an ancient Netware server with a new Ubuntu 8.04 box running samba and LDAP. I want to see if there's a way to get Samba to emulate the way permissions propagate through Netware. Namely, if I see a directory structure like this:
[User Cant See]
--- [User Cant See]
------- User Can Edit.txt
------- User CANT Edit.txt
With Netware I can give permission to User to edit "User Can Edit.txt" and the permissions will propagate in reverse to allow User to see the two [User Cant See] directories and edit the text file. "User CANT Edit.txt" will still be invisible to User. This is very convenient as I can simply give user access to one file, they can navigate to it through the directory structure, and all files not explicitly given access to will still be invisible.
With Samba the only way I've been seeing to get this would be to explicitly give User access to both [User Cant See] directories, give him access to the "User Can Edit.txt" and remove any access to "User CANT Edit.txt" and every other file in the latter two nested directories.
I have installed Redmine according to the instructions on [url] according to the mod_cgi instructions which seem to be the easiest to follow.
The script installed in the installation directory was called 'dispatch.fcgi', and not parsing when I visited the page through the browser, just displaying the contents of the script. OK, so I installed the apache mod libapache2-mod-fastcgi using apt-get. Then 'a2enmod fcgid' followed by an apache restart.
Now when I visit the Redmine folder through the web browser I get 'Forbidden You don't have permission to access /redmine/dispatch.fcgi on this server.'
I checked to ensure www-data owns all files and has correct permissions to the folder. But this doesn't seem to work.
It appears that my ISP is blocking port 80, so I can't set up a proper website on my home computer. I'd like to choose a different port to use (they block 443 also), and I'm not sure how to do this with Fedora (or any Linux flavor for that matter
View 2 Replies View RelatedI want to know the configuration steps for 2 mail servers on diferent IPs. But I want this setup on single vmware machine(debian).
View 3 Replies View RelatedI 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:
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 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]...
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 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]...
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]...
I 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 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.
I'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 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 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 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 Related