Advertisement

04.02.2008 at 06:29AM PDT, ID: 23289111
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.8

syslog-ng stop at 06:25:04 every day

Asked by avatech in Ubuntu, Linux Administration, Linux Network Security

Tags: , , , ,

Good day!  I have a couple systems that I'm testing syslog-ng with php-syslog-ng to centralize logs for both linux and Windows machines.  I have a vmware Ubuntu 7.10 server guest setup with a working syslog-ng and php-syslog-ng installation.  The setup receives and logs the remote machines correctly but for some unknown reason I can't seem to find out why every day at exactly 06:20:04 the syslog-ng service gets stopped.  I don't see any errors but I'll paste the results of the last few localhost entries logged by syslog-ng and the results of the cron jobs for active users.

Log results from localhost in syslog-ng:
123015      loghost.localdomain      auth-info      2008-03-28 06:25:02       
su[26933]: (pam_unix) session closed for user nobody
123014      loghost.localdomain      auth-info      2008-03-28 06:25:01       
su[26933]: (pam_unix) session opened for user nobody by (uid=0)
123013      loghost.localdomain      authpriv-info      2008-03-28 06:25:01       
su[26933]: + ??? root:nobody
123012      loghost.localdomain      authpriv-info      2008-03-28 06:25:01       
su[26933]: Successful su for nobody by root
123011      loghost.localdomain      auth-info      2008-03-28 06:25:01       
su[26931]: (pam_unix) session closed for user nobody
123010      loghost.localdomain      auth-info      2008-03-28 06:25:01       
su[26931]: (pam_unix) session opened for user nobody by (uid=0)
123009      loghost.localdomain      authpriv-info      2008-03-28 06:25:01       
su[26931]: + ??? root:nobody
123008      loghost.localdomain      authpriv-info      2008-03-28 06:25:01       
su[26931]: Successful su for nobody by root
123007      loghost.localdomain      auth-info      2008-03-28 06:25:01       
su[26928]: (pam_unix) session closed for user nobody
123006      loghost.localdomain      auth-info      2008-03-28 06:25:01       
su[26928]: (pam_unix) session opened for user nobody by (uid=0)
123005      loghost.localdomain      authpriv-info      2008-03-28 06:25:01       
su[26928]: + ??? root:nobody
123004      loghost.localdomain      authpriv-info      2008-03-28 06:25:01       
su[26928]: Successful su for nobody by root
123003      loghost.localdomain      auth-info      2008-03-28 06:25:01       
CRON[26898]: (pam_unix) session closed for user root
123002      loghost.localdomain      cron-info      2008-03-28 06:25:01       
/USR/SBIN/CRON[26899]: (root) CMD (php /www/php-syslog-ng/scripts/reloadcache.php >> /var/log/php-syslog-ng/reloadcache.log)
123001      loghost.localdomain      auth-info      2008-03-28 06:25:01       
CRON[26898]: (pam_unix) session opened for user root by (uid=0)
123000      loghost.localdomain      cron-info      2008-03-28 06:25:01       
/USR/SBIN/CRON[26897]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
122999      loghost.localdomain      auth-info      2008-03-28 06:25:01       
CRON[26896]: (pam_unix) session opened for user root by (uid=0)

Crontab for root:

test@loghost:~$ sudo crontab -l -u root
# m h  dom mon dow   command
@daily php /www/php-syslog-ng/scripts/logrotate.php >> /var/log/php-syslog-ng/logrotate.log
@daily find /www/php-syslog-ng/html/jpcache/ -atime 1 -exec rm -f '{}' ';'
0,5,10,15,20,25,30,35,40,45,50,55 * * * * php /www/php-syslog-ng/scripts/reloadcache.php >> /var/log/php-syslog-ng/reloadcache.log
# Removed below as of v2.9.4
# @reboot /www/php-syslog-ng/scripts/syslog2mysql.sh >> /var/log/php-syslog-ng/mysql.log 2>&1

# Demo PHP-Syslog-NG
# CHANGE TO MATCH YOUR DIRECTORY PATHS
# @hourly /www/php-syslog-ng/scripts/dbgen.pl >> /var/log/php-syslog-ng/dbgen.log

test@loghost:~$
Start Free Trial
[+][-]04.02.2008 at 06:42AM PDT, ID: 21262887

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.02.2008 at 07:10AM PDT, ID: 21263193

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.02.2008 at 07:24AM PDT, ID: 21263342

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.02.2008 at 07:27AM PDT, ID: 21263375

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.02.2008 at 03:56PM PDT, ID: 21268341

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.03.2008 at 08:08AM PDT, ID: 21273459

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.03.2008 at 09:22AM PDT, ID: 21274220

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Ubuntu, Linux Administration, Linux Network Security
Tags: open source, syslog-ng, 2.0.0-1, Installed on vmware ubuntu 7.10 server guest, syslog php-syslog-ng ubuntu
Sign Up Now!
Solution Provided By: noci
Participating Experts: 2
Solution Grade: A
 
 
[+][-]04.04.2008 at 06:53AM PDT, ID: 21281657

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628