How to stop increasing file size of dpid2.log

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
pat_ra2001
Posts: 11
Joined: Thu Aug 18, 2005 2:02 am

How to stop increasing file size of dpid2.log

Post by pat_ra2001 »

I use cacti version cacti-0.8.6d. I found a problem at agent. It generate dpid2.log and snmpdv3.log file and write data into every 5 secound. So filesystem not have free space for do enything. I must delete log every day.
Can i help please or explain cause of problem to me?
(Agent use AIX os)

#cd /var/tmp
#ls -l
total 233760
-rw-r--r-- 1 root system 126 Sep 04 16:31 aixmibd.log
-rw-r--r-- 1 root system 43751258 Sep 21 11:03 dpid2.log
-rw-r--r-- 1 root system 183 Sep 04 16:31 hostmibd.log
-rw-r--r-- 1 root system 2374 Sep 04 16:31 muxatmd.log
-rw-r--r-- 1 root system 75799427 Sep 21 11:03 snmpdv3.log
-rw-r--r-- 1 root system 194 Sep 04 16:31 snmpmibd.log

#cat dpid2.log
9/21 11:18:58 dpid2 41716 (root ) SMUX registration of 1.3.6.1.4.1.2.2.1.1 failed
9/21 11:18:58 dpid2 41716 (root ) lost connection to agent
9/21 11:19:04 dpid2 41716 (root ) SMUX registration of 1.3.6.1.4.1.2.2.1.1 failed
9/21 11:19:04 dpid2 41716 (root ) lost connection to agent



#cat snmpdv3.log
09/04/05 10:59:09 PM - EOF recieved on SMUX TCP fd 14 .
09/04/05 10:59:09 PM - Closing SMUX connection, fd=14.
09/04/05 10:59:09 PM - Address 127.0.0.1 port 37914.
09/04/05 10:59:14 PM - Accepted new SMUX inet socket connection on fd=14 from 127.0.0.1 port 37915.

09/04/05 10:59:14 PM - EOF recieved on SMUX TCP fd 14 .
09/04/05 10:59:14 PM - Closing SMUX connection, fd=14.
09/04/05 10:59:14 PM - Address 127.0.0.1 port 37915.
09/04/05 10:59:19 PM - Accepted new SMUX inet socket connection on fd=14 from 127.0.0.1 port 37917.
pat_ra2001
Posts: 11
Joined: Thu Aug 18, 2005 2:02 am

Post by pat_ra2001 »

Sorry, english skill i waekness
>Can i help please or explain cause of problem to me?

i want to say that Please Help me or explain cause of problem. Thank you very much
rkramer
Cacti User
Posts: 54
Joined: Fri Jun 03, 2005 12:25 pm

Post by rkramer »

that doesn't look cacti related in any way...? there shouldn't be anything running every 5 seconds, and those logfiles aren't cacti log files.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

No, I know those files all to well....

AIX....

You need figure out how dpid is being started. If you have "-d <Number>" this setting the logging level. Reduce it or remove it. Check out the man pages on dpid2.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Also, those lost connection errors are usually related to changing the community name. Give IBM support a call, they can explain how to fix it. :)
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
pat_ra2001
Posts: 11
Joined: Thu Aug 18, 2005 2:02 am

Post by pat_ra2001 »

Thank you rony.
(Thai languase i will say "Kop Kun Krap " _/\_ )
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests