error

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
bocasman
Posts: 24
Joined: Mon Aug 19, 2002 8:27 am
Location: Panama
Contact:

error

Post by bocasman »

Hi,

I'm getting this error:
ERROR: illegal attempt to update using time 1030477211 when last update time is 1030477211 (minimum one second step)
Any one have an idea of what this could be?
[/code]
Regards,
BM
yid
Cacti User
Posts: 83
Joined: Sat Apr 20, 2002 8:26 pm

Post by yid »

RRD says that when your steps are too close together (i.e. less than 1 second).

Have you recently restarted collection on this? Does it give you the same error when you start it back up a couple of seconds later?
bocasman
Posts: 24
Joined: Mon Aug 19, 2002 8:27 am
Location: Panama
Contact:

Post by bocasman »

Yes, it did.

I run cmd.php manualy and it still giving me the same error.
Regards,
BM
yid
Cacti User
Posts: 83
Joined: Sat Apr 20, 2002 8:26 pm

Post by yid »

I guess this is a question for Rax:

Does the cmd.php have some sort of rrd-update-caching, that would be keeping and older update?

I think that's likely what's going on. Check in /tmp for any cacti owned files (that's where I'd put them).

Aaron
bocasman
Posts: 24
Joined: Mon Aug 19, 2002 8:27 am
Location: Panama
Contact:

Post by bocasman »

Thanks Aaron, I'll take a look.
Regards,
BM
fatalerror

Fatal Error

Post by fatalerror »

Running Redhat linux 7.3


Running: php cmd.php

Fatal error: Call to undefined function: mysql_connect() in /cacti-0.6.8a/include/database.php on line 19

Checked the Rights, Checked the mysql database.
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

This error

Code: Select all

Fatal error: Call to undefined function: mysql_connect() in /cacti-0.6.8a/include/database.php on line 19
almost always means that the 'php-mysql' RPM is not installed or not enabled. First, make sure this package is installed. If it is, check your /etc/php.ini file and make sure the following line is uncommented:

Code: Select all

extension=mysql.so
Finally, make sure to restart apache.

-Ian
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest