Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Thu May 27, 2010 1:23 pm 
Offline
Senior Newbie

Joined: Thu Feb 04, 2010 8:49 pm
Posts: 19
I managed to resolve the problem if anyone is interested by compiling from sources the latest rsyslog (5.4.0)

Code:
/etc/init.d/rsyslog stop
/etc/init.d/rsyslog.dpkg-new stop

cd /usr/src
wget http://www.rsyslog.com/Downloads-req-getit-lid-197.phtml
tar zxvf rsyslog-5.4.0.tar.gz.
cd rsyslog-5.4.0
./configure
make
make install

mv /etc/rsyslog.conf /etc/rsyslog.conf.original
cp /usr/src/rsyslog.conf /etc/rsyslog.conf

reboot


Now everything works as expected, no kern errors, no memory leaks, and i think that the logs are more organized (iptables messages are logged only in /var/log/messages and not in 3 logs like before).


Top
   
 Post subject:
PostPosted: Tue Jun 08, 2010 6:11 pm 
Offline
Senior Newbie

Joined: Thu Feb 04, 2010 8:49 pm
Posts: 19
nofun wrote:
I managed to resolve the problem if anyone is interested by compiling from sources the latest rsyslog (5.4.0).


I retract what I wrote earlier because this solution is messing with the default logging system in lucid.

Another solution which seems to work is the following:

- I copied the /etc/init/rsyslog-kmsg.conf from an Ubuntu 9.10 box
- I made a soft link in /etc/init.d to the upstart-job:
ln -s /lib/init/upstart-job /etc/init.d/rsyslog-kmsg
- I changed $KLogPath in /etc/rsyslog.conf to be: /var/run/rsyslog/kmsg

service rsyslog restart

And now it works.


Top
   
 Post subject:
PostPosted: Thu Jul 08, 2010 8:33 am 
Offline
Newbie

Joined: Tue Jun 01, 2010 10:07 am
Posts: 2
Website: http://streamlineyourself.com
AOL: sjnims
Location: Rochester, NY
Running Ubuntu 10.04 LTS, using the Latest 2.6 Paravirt (2.6.32.12-linode25) kernel, experienced same issue recently.

At the advice of HoopyCat on the #linode irc channel, I changed my boot profile to use the 2.6.34-linode26 kernel.

After a reboot, I no longer get the error message in /var/log/kern.log, however I'm not sure rsyslog is reading iptables/UFW log info correctly.


Top
   
 Post subject:
PostPosted: Thu Jul 08, 2010 8:48 am 
Offline
Newbie

Joined: Tue Jun 01, 2010 10:07 am
Posts: 2
Website: http://streamlineyourself.com
AOL: sjnims
Location: Rochester, NY
streamline wrote:
After a reboot, I no longer get the error message in /var/log/kern.log, however I'm not sure rsyslog is reading iptables/UFW log info correctly.


rsyslog is indeed logging iptables correctly!


Top
   
PostPosted: Tue Sep 07, 2010 8:49 am 
Offline
Senior Member

Joined: Sun Oct 30, 2005 7:52 pm
Posts: 97
streamline wrote:
Running Ubuntu 10.04 LTS, using the Latest 2.6 Paravirt (2.6.32.12-linode25) kernel, experienced same issue recently.

At the advice of HoopyCat on the #linode irc channel, I changed my boot profile to use the 2.6.34-linode26 kernel.

rsyslog is indeed logging iptables correctly!

HoopyCat/streamline, thanks for the helpfully information.

--
Travis


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
RSS

Powered by phpBB® Forum Software © phpBB Group