View Single Post
  #3   (View Single Post)  
Old 5th February 2010
plexter plexter is offline
Shell Scout
 
Join Date: May 2008
Posts: 124
Default

You're right, I had forgot about chroot. I created a symbolic link from /var/log to /var/www/var/log but I still don't see anything show up on the web interface.

If I do tcpdump I see syslogs coming in.
Code:
07:11:43.675476 externalhost.syslog > thelocalhost.syslog: udp 155
07:11:43.677915 externalhost.syslog > thelocalhost.syslog: udp 135
07:11:43.679250 externalhost.syslog > thelocalhost.syslog: udp 131
07:11:43.687156 externalhost.syslog > thelocalhost.syslog: udp 128
I also noticed in /var/log/messages or /var/www/var/log/messages that I do see the following:

Code:
Feb  5 05:50:12 thelocalhost syslog-ng[5148]: syslog-ng starting up; version='2.1.4'
Feb  5 06:00:12 thelocalhost syslog-ng[5148]: Log statistics; processed='center(queued)=4', processed='center(received)=33183', processed='destination(newsnotice)=0', processed='destination(console)=0', processed='destination(debug)=1', processed='destination(mailinfo)=0', processed='destination(mail)=0', processed='destination(user)=0', processed='destination(newserr)=0', processed='destination(newscrit)=0', processed='destination(uucp)=0', processed='destination(messages)=1', processed='destination(mailwarn)=0', processed='destination(ppp)=0', processed='destination(lpr)=0', processed='destination(cron)=0', processed='destination(syslog)=1', processed='destination(authlog)=0', processed='destination(mailerr)=0', processed='destination(kern)=0', processed='destination(daemon)=0', processed='destination(xconsole)=0', processed='destination(console_all)=1', processed='source(net)=33182', processed='source(src)=1'
Feb  5 06:10:12 thelocalhost syslog-ng[5148]: Log statistics; processed='center(queued)=8', processed='center(received)=69333', processed='destination(newsnotice)=0', processed='destination(console)=0', processed='destination(debug)=2', processed='destination(mailinfo)=0', processed='destination(mail)=0', processed='destination(user)=0', processed='destination(newserr)=0', processed='destination(newscrit)=0', processed='destination(uucp)=0', processed='destination(messages)=2', processed='destination(mailwarn)=0', processed='destination(ppp)=0', processed='destination(lpr)=0', processed='destination(cron)=0', processed='destination(syslog)=2', processed='destination(authlog)=0', processed='destination(mailerr)=0', processed='destination(kern)=0', processed='destination(daemon)=0', processed='destination(xconsole)=0', processed='destination(console_all)=2', processed='source(net)=69331', processed='source(src)=2'
Feb  5 06:20:12 thelocalhost syslog-ng[5148]: Log statistics; processed='center(queued)=12', processed='center(received)=102940', processed='destination(newsnotice)=0', processed='destination(console)=0', processed='destination(debug)=3', processed='destination(mailinfo)=0', processed='destination(mail)=0', processed='destination(user)=0', processed='destination(newserr)=0', processed='destination(newscrit)=0', processed='destination(uucp)=0', processed='destination(messages)=3', processed='destination(mailwarn)=0', processed='destination(ppp)=0', processed='destination(lpr)=0', processed='destination(cron)=0', processed='destination(syslog)=3', processed='destination(authlog)=0', processed='destination(mailerr)=0', processed='destination(kern)=0', processed='destination(daemon)=0', processed='destination(xconsole)=0', processed='destination(console_all)=3', processed='source(net)=102937', processed='source(src)=3'
Feb  5 06:30:12 thelocalhost syslog-ng[5148]: Log statistics; processed='center(queued)=16', processed='center(received)=139291', processed='destination(newsnotice)=0', processed='destination(console)=0', processed='destination(debug)=4', processed='destination(mailinfo)=0', processed='destination(mail)=0', processed='destination(user)=0', processed='destination(newserr)=0', processed='destination(newscrit)=0', processed='destination(uucp)=0', processed='destination(messages)=4', processed='destination(mailwarn)=0', processed='destination(ppp)=0', processed='destination(lpr)=0', processed='destination(cron)=0', processed='destination(syslog)=4', processed='destination(authlog)=0', processed='destination(mailerr)=0', processed='destination(kern)=0', processed='destination(daemon)=0', processed='destination(xconsole)=0', processed='destination(console_all)=4', processed='source(net)=139287', processed='source(src)=4'
Feb  5 06:40:12 thelocalhost syslog-ng[5148]: Log statistics; processed='center(queued)=20', processed='center(received)=178111', processed='destination(newsnotice)=0', processed='destination(console)=0', processed='destination(debug)=5', processed='destination(mailinfo)=0', processed='destination(mail)=0', processed='destination(user)=0', processed='destination(newserr)=0', processed='destination(newscrit)=0', processed='destination(uucp)=0', processed='destination(messages)=5', processed='destination(mailwarn)=0', processed='destination(ppp)=0', processed='destination(lpr)=0', processed='destination(cron)=0', processed='destination(syslog)=5', processed='destination(authlog)=0', processed='destination(mailerr)=0', processed='destination(kern)=0', processed='destination(daemon)=0', processed='destination(xconsole)=0', processed='destination(console_all)=5', processed='source(net)=178106', processed='source(src)=5'
Feb  5 06:50:13 thelocalhost syslog-ng[5148]: Log statistics; processed='center(queued)=24', processed='center(received)=219051', processed='destination(newsnotice)=0', processed='destination(console)=0', processed='destination(debug)=6', processed='destination(mailinfo)=0', processed='destination(mail)=0', processed='destination(user)=0', processed='destination(newserr)=0', processed='destination(newscrit)=0', processed='destination(uucp)=0', processed='destination(messages)=6', processed='destination(mailwarn)=0', processed='destination(ppp)=0', processed='destination(lpr)=0', processed='destination(cron)=0', processed='destination(syslog)=6', processed='destination(authlog)=0', processed='destination(mailerr)=0', processed='destination(kern)=0', processed='destination(daemon)=0', processed='destination(xconsole)=0', processed='destination(console_all)=6', processed='source(net)=219045', processed='source(src)=6'
Feb  5 07:00:13 thelocalhost syslog-ng[5148]: Log statistics; processed='center(queued)=28', processed='center(received)=257055', processed='destination(newsnotice)=0', processed='destination(console)=0', processed='destination(debug)=7', processed='destination(mailinfo)=0', processed='destination(mail)=0', processed='destination(user)=0', processed='destination(newserr)=0', processed='destination(newscrit)=0', processed='destination(uucp)=0', processed='destination(messages)=7', processed='destination(mailwarn)=0', processed='destination(ppp)=0', processed='destination(lpr)=0', processed='destination(cron)=0', processed='destination(syslog)=7', processed='destination(authlog)=0', processed='destination(mailerr)=0', processed='destination(kern)=0', processed='destination(daemon)=0', processed='destination(xconsole)=0', processed='destination(console_all)=7', processed='source(net)=257048', processed='source(src)=7'
Feb  5 07:10:13 thelocalhost syslog-ng[5148]: Log statistics; processed='center(queued)=32', processed='center(received)=299926', processed='destination(newsnotice)=0', processed='destination(console)=0', processed='destination(debug)=8', processed='destination(mailinfo)=0', processed='destination(mail)=0', processed='destination(user)=0', processed='destination(newserr)=0', processed='destination(newscrit)=0', processed='destination(uucp)=0', processed='destination(messages)=8', processed='destination(mailwarn)=0', processed='destination(ppp)=0', processed='destination(lpr)=0', processed='destination(cron)=0', processed='destination(syslog)=8', processed='destination(authlog)=0', processed='destination(mailerr)=0', processed='destination(kern)=0', processed='destination(daemon)=0', processed='destination(xconsole)=0', processed='destination(console_all)=8', processed='source(net)=299918', processed='source(src)=8'

Thoughts?

Thanks for your quick reply.

Last edited by plexter; 5th February 2010 at 05:01 PM. Reason: added log messages
Reply With Quote