CactiLog file error

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

Moderators: Developers, Moderators

Post Reply
shazxr
Posts: 16
Joined: Sun Apr 08, 2007 8:17 am

CactiLog file error

Post by shazxr »

Hi,

am getting error in Cacti Log but still not able to find out what exactly these error. please check the attached file. Can you please help me in that
Attachments
cactilog.txt
(9.69 KiB) Downloaded 129 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please enter mysql promt with the user that's defined in ./include/config.php. Then run one of those insert statements and check for errors
Reinhard
shazxr
Posts: 16
Joined: Sun Apr 08, 2007 8:17 am

Hi

Post by shazxr »

Dear Reinhard

Thanks for reply, But im new in cacti and dummy user could you please let me know what should i run on mysql exactly.
Regards
Shaz
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Open ./include/config.php
Note <userid> and <password>
Enter mysql using

Code: Select all

mysql --user=<userid> --password=<password> cacti
Type one of those "insert ..." commands verbosely (or use cut and paste). End up with a ";"
Note any error message
Reinhard
shazxr
Posts: 16
Joined: Sun Apr 08, 2007 8:17 am

Post by shazxr »

Thanks for quick reply, i added one table and used insert command but didnt got any error

mysql> CREATE TABLE lookup
-> (id INT, INDEX USING BTREE (id))
-> ENGINE = MEMORY;
Query OK, 0 rows affected (0.00 sec)



mysql> insert into lookup () VALUES();
Query OK, 1 row affected (0.00 sec)
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I'd say the old double crontab issue.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
shazxr
Posts: 16
Joined: Sun Apr 08, 2007 8:17 am

Post by shazxr »

hi

I checked the crontab it seem working fine.

i tried to execute the error log command and didnt got any error. But in log file still getting same error even i purged it many time.


insert into poller_output (local_data_id, rrd_name, time, output) values (527, 'traffic_out', '2007-04-11 12:20:16', '3843487151');
Query OK, 1 row affected (0.00 sec)
shazxr
Posts: 16
Joined: Sun Apr 08, 2007 8:17 am

Post by shazxr »

THANKS ..... The Witness

Yes It was Double crontab issue i removed it from /etc/crontab

Thanks again.

Regards
shaz
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest