Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Cactid 0.8.6

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions
Author Message
christiaan



Joined: 28 Jul 2003
Posts: 10
Location: The Netherlands

PostPosted: Thu Apr 15, 2004 7:27 am    Post subject: Cactid 0.8.6 Reply with quote

Hi all,
I am testing cactid, but keep geting core dumps.
i tested 0.8.5 and 0.8.5a. yesterday i downloaded 0.8.6beta.
but keep getting the same problems.

I am using: Windows XP and full installation of CYGWIN on a pentium 4 with 512 Mb.
Cacti (and MySQL) runs on a other RED HAT machine.
I connect to the MySQL via the network, and maked a SAMBA share to the cacti/rra

When i run cactid i get:
cactid version 0.8.5a starting.
Using cactid config file [cactid.conf].
Connecting to MySQL database 'cacti' on '10.120.241.7'...
Cactid Ready.
Connecting to MySQL database 'cacti' on '10.120.241.7'...
Connecting to MySQL database 'cacti' on '10.120.241.7'...
Connecting to MySQL database 'cacti' on '10.120.241.7'...
Connecting to MySQL database 'cacti' on '10.120.241.7'...
Connecting to MySQL database 'cacti' on '10.120.241.7'...
Connecting to MySQL database 'cacti' on '10.120.241.7'...
........... etc .......... etc ....


it starts to do the SNMP etc.
but stops with core dump

Dump1:
Exception: STATUS_ACCESS_VIOLATION at eip=00455E43
eax=10136C10 ebx=00000001 ecx=00000010 edx=00401C9A esi=00000010 edi=10136C10
ebp=01D4E874 esp=01D4E85C program=C:\cygwin\usr\local\cactid\bin\cactid.exe, pid 2136, thread unknown (0x354)
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame Function Args
01D4E874 00455E43 (00000010, 00401C8C, 00000200, 00401C7D)
01D4EAC4 00401F69 (10136366, 10135F6C, 000004BE, 01D4EB1C)
01D4F054 00403CC8 (00000036, 10139FB8, 01D4F0A4, 610A3900)
01D4F064 0040349B (1004E014, FFFFFFFF, 00000000, 00000000)
01D4F0A4 610A3900 (10139FB8, 01D4F0DC, 610A3890, 77E6201A)
01D4F0D4 61003E24 (00000000, 00000000, 00020251, C00000BB)
01D4FFA4 61003DDA (00000000, 00000000, 00000000, 00000000)
End of stack trace


Dump2:
Exception: STATUS_ACCESS_VIOLATION at eip=00455E43
eax=1013A428 ebx=00000001 ecx=00000010 edx=00401C9A esi=00000010 edi=1013A428
ebp=0274E874 esp=0274E85C program=C:\cygwin\usr\local\cactid\bin\cactid.exe, pid 2108, thread unknown (0xAB8)
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame Function Args
0274E874 00455E43 (00000010, 00401C8C, 00000200, 00401C7D)
0274EAC4 00401F69 (1013BD16, 1013B91C, 000004BE, 0274EB1C)
0274F054 00403CC8 (00000036, 10048EB8, 0274F0A4, 610A3900)
0274F064 0040349B (1004E014, FFFFFFFF, 00000000, 00000000)
0274F0A4 610A3900 (10048EB8, 0274F0DC, 610A3890, 77E6201A)
0274F0D4 61003E24 (00000000, 00000000, 00020251, C00000BB)
0274FFA4 61003DDA (00000000, 00000000, 00000000, 00000000)
End of stack trace


Can some one help me out?
I have no idea where to go from here.

Is it beter to dump windows and goto RED HAT 9 ? is it more stable ?[/code]
Back to top
christiaan



Joined: 28 Jul 2003
Posts: 10
Location: The Netherlands

PostPosted: Thu May 06, 2004 12:49 am    Post subject: Reply with quote

anyone any idea ?
Back to top
dieter
Cacti User


Joined: 20 Feb 2004
Posts: 164

PostPosted: Thu May 06, 2004 5:09 pm    Post subject: Reply with quote

no idea at all
I got the same error and this is what I did to create it:

I made a new rra method: make per 3 hours , step 1, rows 10800....

when I make a new data source containing this rra i get the core dump. removing the rra from the datasource solves the problem.

Maybe raX knows this: when I see in the mysql database there is no hash value present for my 3 hours rra entry. Could this be the problem or maybe cactid uses statically programmed rra's instead of checking the database and therefore doesn't know such a rra and crashes?
Back to top
christiaan



Joined: 28 Jul 2003
Posts: 10
Location: The Netherlands

PostPosted: Mon May 17, 2004 2:19 am    Post subject: Reply with quote

RAX any idea ?
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2234
Location: Carlisle, PA

PostPosted: Tue May 25, 2004 1:35 am    Post subject: Re: Cactid 0.8.6 Reply with quote

christiaan wrote:
Is it beter to dump windows and goto RED HAT 9 ? is it more stable ?


I don't know about dumping Windows, but cactid should definitely be more stable under a Unix-based environment. I am not testing cactid under Windows at this point, so I am not able to vouch for its stability.

dieter wrote:
Maybe raX knows this: when I see in the mysql database there is no hash value present for my 3 hours rra entry. Could this be the problem or maybe cactid uses statically programmed rra's instead of checking the database and therefore doesn't know such a rra and crashes?


Looks like you found a bug related to RRA hash values. This has been fixed. Cactid uses the same RRA's that are in the database, so they should be somewhat dynamic. The 'hash' column is only used for import/export XML and should not affect cactid in any way.

-Ian
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group