[SOLVED] MacTrack SAVE Error

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
tetu_024
Posts: 49
Joined: Wed Jun 20, 2007 11:26 am

[SOLVED] MacTrack SAVE Error

Post by tetu_024 »

Good Afternoon.... I'm tryin to configure mactrack but when i'm trying to input a device i'm getting SAVE ERROR even if i try to add a tracking site. could anyone help please.?

Regards
Etienne Vella
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Have you run the database_upgrade.php script?

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?
tetu_024
Posts: 49
Joined: Wed Jun 20, 2007 11:26 am

Post by tetu_024 »

Yes, but its giving me errors.. what could that be ?
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

tetu_024 wrote:Yes, but its giving me errors.. what could that be ?
Without seeing the errors that it's giving, it's really hard to say. The amount of help you receive is directly commensurate with the amount of information you provide.
tetu_024
Posts: 49
Joined: Wed Jun 20, 2007 11:26 am

Post by tetu_024 »

sry but i'm out of office and will be back on Monday thus i can't give you the error. I will submit the error on Monday. Another question is this Mactrack like a switchport mapper?
tetu_024
Posts: 49
Joined: Wed Jun 20, 2007 11:26 am

Post by tetu_024 »

here's the error that i'm getting when running ./databaseupgrade.php

./database_upgrade.php: line 1: ?php: No such file or directory
./database_upgrade.php: line 2: /bin: is a directory
./database_upgrade.php: line 3: +-------------------------------------------------------------------------+: command not found
./database_upgrade.php: line 4: syntax error near unexpected token `|'
./database_upgrade.php: line 4: ` | Copyright (C) 2005 Larry Adams |'

can someone help regarding this matter.
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

tetu_024 wrote:here's the error that i'm getting when running ./databaseupgrade.php

./database_upgrade.php: line 1: ?php: No such file or directory
./database_upgrade.php: line 2: /bin: is a directory
./database_upgrade.php: line 3: +-------------------------------------------------------------------------+: command not found
./database_upgrade.php: line 4: syntax error near unexpected token `|'
./database_upgrade.php: line 4: ` | Copyright (C) 2005 Larry Adams |'

can someone help regarding this matter.
Don't know about you, but whenever I run a .php file from the command line I do it like this:

>php database_upgrade.php

instead like the shellscript method you showed which is

>./database_upgrade.php
tetu_024
Posts: 49
Joined: Wed Jun 20, 2007 11:26 am

Post by tetu_024 »

hi it works.... :)) Now the only problem we have is that we can't track devices. Example cisco 3750 we've placed it under devices but its populating the table. SNMP worked because it returned uptime and cotact details. Any help about it?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests