Unable to add a new device, facing the "Error:Saved Failed"

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

Moderators: Developers, Moderators

Post Reply
skywing88
Posts: 10
Joined: Tue Mar 01, 2016 9:38 pm

Unable to add a new device, facing the "Error:Saved Failed"

Post by skywing88 »

At the beginning, I used cacti with mysql 5.6 installed. Everythings functioned properly till that I wanted to add a notificaiton list. I got the "Error:Saved Failed" after I clicked "save" button so that I couldnt' add a notification.

Later, I uninstalled the mysql5.6 and try the mysql5.1,hoping that can help to resolve this issue.

However, after that, the first problem seemed to have been issued. I can successfully add a new notification list. A new problem occurred, It returned the same Error when I am going to add a new device.

Having spent serveral days looking into the resolution, I will appreciate very much if any master here can help!

Thanks!!!
Attachments
cacti_2.jpg
cacti_2.jpg (319.28 KiB) Viewed 727 times
cacti_1.jpg
cacti_1.jpg (126.45 KiB) Viewed 727 times
msalvatori
Posts: 4
Joined: Mon Sep 26, 2016 11:14 am

Re: Unable to add a new device, facing the "Error:Saved Fail

Post by msalvatori »

Seems like you have to run the database_upgrade.php script.

Found the answer here: http://forums.cacti.net/about18916.html
imofeng
Posts: 1
Joined: Wed Sep 28, 2016 12:04 am

Re: Unable to add a new device, facing the "Error:Saved Fail

Post by imofeng »

i have the same problem not long ago. it seems as if the newest MYSQL's sql_mode didn't allow the form of '0000-00-00 00:00:00' to insert into database. You just change the sql_mode, it will be well.
skywing88
Posts: 10
Joined: Tue Mar 01, 2016 9:38 pm

Re: Unable to add a new device, facing the "Error:Saved Fail

Post by skywing88 »

Thanks for ur replies,friends. But I can't find the database_upgrade.php in the directory "/var/www/html/cacti", and I have checked the cacti.log,but it's empty. Plus, the Os is RHEL6.5, not windows.

Oh, imofeng, thank u. I got the message"You are running MySQL in Strict Mode, which is not supported by Thold" when clicking the "thold" tab.
So according to ur advice, I changed the "Mode" using "set @@GLOBAL.sql_mode='NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'" command. Looks like it worked this time.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests