Ad Widget

Collapse

increasing size of log files in /var/log

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajeevtomar
    Member
    • Mar 2005
    • 50

    #1

    increasing size of log files in /var/log

    Sorry for posting it twice. I posted it in wrong section.

    I installed zabbix 1.0 in my Linux environment. It was running fine until I saw the log files which were increasing exponentially in size, due to the messages generated by zabbix in /var/log directory. In this directory three files were affected namely /var/log/auth.all, /var/log/messeges and /var/log/mail.

    Partial log file contents are pasted below :

    /var/log/auth.all :

    Jul 6 09:26:50 bwga092 sshd[14163]: fatal: Read from socket failed: Broken pipe
    Jul 6 09:26:52 bwga092 popper[14165]: connect from 127.0.0.1 (127.0.0.1)
    Jul 6 09:26:52 bwga092 popper[14165]: error: cannot execute /usr/sbin/popper: No such file or directory
    Jul 6 09:27:34 bwga092 proftpd[14176]: connect from 127.0.0.1 (127.0.0.1)
    Jul 6 09:28:12 bwga092 sshd[14180]: fatal: Read from socket failed: Broken pipe

    /var/log/messages :

    Jul 6 09:27:34 bwga092 proftpd[14176]: bwga092.ts.siemens.de (localhost[127.0.0.1]) - FTP session closed.
    Jul 6 09:28:41 bwga092 proftpd[14201]: bwga092.ts.siemens.de (localhost[127.0.0.1]) - FTP session closed.
    Jul 6 09:29:46 bwga092 proftpd[14217]: bwga092.ts.siemens.de (localhost[127.0.0.1]) - FTP session closed.

    /var/log/mail :

    Jul 6 09:26:51 bwga092 sendmail[14164]: NOQUEUE: localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
    Jul 6 09:28:13 bwga092 sendmail[14181]: NOQUEUE: localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
    Jul 6 09:29:23 bwga092 sendmail[14211]: NOQUEUE: localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA


    Please let me know , what should I do, so that I can stop these messages from going into above mentioned files.

    As u can see every 2 minute one message is getting added in all three files. Due to which size of the files are increasing.

    Where I am doing wrong...I am unable to trace till date...any hint will be highly appreciated.

    Thanks,
    Rajeev Tomar
Working...