"Error: Save Failed." - no errors in log-file

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
SL91
Posts: 1
Joined: Wed Aug 10, 2011 7:31 am

"Error: Save Failed." - no errors in log-file

Post by SL91 »

Hi, I'm having Problem adding devices to the device tracking - I always get a "Save Failed" error. Adding sites is no problem.
I searched a lot and found some reasons with SQL errors, but i don't have ANY errors in my log-file. My logging is on DEVELOP and works fine for the rest.

OS: Ubuntu 11.04 Server
Cacti: 0.8.7g
PA: 2.9
Mactrack: 2.9-1

Hope someone can help! :)

Thanks! Steven
coldface
Posts: 15
Joined: Tue Oct 11, 2011 3:57 am

Re: "Error: Save Failed." - no errors in log-file

Post by coldface »

I have the same error"Error: Save Failed."when create devices in "device tracking"
Cacti:0.8.7g
Mactrack:2.9

manually update the database is unhelpful.
php ./database_upgrade.php


Can anyone give some suggestion?

Appreciate.
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: "Error: Save Failed." - no errors in log-file

Post by TheWitness »

If you can replace the lib/database.php from Cacti 0.8.7h and then save the device, does you Cacti Log provide an error?
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?
coldface
Posts: 15
Joined: Tue Oct 11, 2011 3:57 am

Re: "Error: Save Failed." - no errors in log-file

Post by coldface »

TheWitness wrote:If you can replace the lib/database.php from Cacti 0.8.7h and then save the device, does you Cacti Log provide an error?
If i replace lib/database.php in cacti0.8.7.g with lib/database.php from Cacti 0.8.7h,there will be an error and the cacti cannot run."FATAL: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php' "

PA:2.4
Cacti:0.8.7.g
when i "php ./database_upgrade.php",there is an error
"This function is depricated. Please goto Plugin Management from the WebUI to Upgrade"
I think the database cannot be upgraded is the problem,but don't know why and how to resolve.
could you pls give more suggestion?

Thanks,
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: "Error: Save Failed." - no errors in log-file

Post by TheWitness »

Tell me a little about your install of MacTrack. How long have you been running it and MacTrack?
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?
coldface
Posts: 15
Joined: Tue Oct 11, 2011 3:57 am

Re: "Error: Save Failed." - no errors in log-file

Post by coldface »

TheWitness wrote:Tell me a little about your install of MacTrack. How long have you been running it and MacTrack?
I have run Cacti 0.8.7.g about 6 month.
This is the first time to install Mactrack plugin.
Install Mactrack:
1.put MacTrack in ./plugins
2.Setup related folder privilege
3.Install and Enable it in "plugins management"
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: "Error: Save Failed." - no errors in log-file

Post by TheWitness »

It seems to me that this was brought up before. Not sure I fixed it in SVN. Do a scan of this forum, and let me know what you come up with.
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?
coldface
Posts: 15
Joined: Tue Oct 11, 2011 3:57 am

Re: "Error: Save Failed." - no errors in log-file

Post by coldface »

TheWitness wrote:It seems to me that this was brought up before. Not sure I fixed it in SVN. Do a scan of this forum, and let me know what you come up with.
It's strange.I remove the Mactrack and re-install.
Now i can save the devices,but can not get the device status(cisco2960),although can get the device snmp information.
Also cannot get the "devices type"--Not detected.
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: "Error: Save Failed." - no errors in log-file

Post by TheWitness »

you have to set them up.
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?
coldface
Posts: 15
Joined: Tue Oct 11, 2011 3:57 am

Re: "Error: Save Failed." - no errors in log-file

Post by coldface »

TheWitness wrote:you have to set them up.
Thanks,i search the forums and find howto config.It works now.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests