[SOLVED] Try to import downloaded file oui.txt
Moderators: Developers, Moderators
[SOLVED] Try to import downloaded file oui.txt
Hi,
I try to import the downloaded file from ...standard.ieee oui.txt.
but it doesnt work. In the mactrack dir I try following
"php5 mactrack_import_ouidb.php -f=oui.txt" the oui.txt file is in the same dir
The output from this :
PHP Warning: file(http://standards.ieee.org/regauth/oui/oui.txt): failed to open stream: Connection timed out in /usr/share/cacti/plugins/mactrack/lib/mactrack_functions.php on line 1568
OUI Database Download from IEEE Complete
PHP Warning: Invalid argument supplied for foreach() in /usr/share/cacti/plugins/mactrack/lib/mactrack_functions.php on line 1592
There were '0' Entries Added/Updated in the database.
There were '0' Records Removed from the database.
CAn you help ?
I try to import the downloaded file from ...standard.ieee oui.txt.
but it doesnt work. In the mactrack dir I try following
"php5 mactrack_import_ouidb.php -f=oui.txt" the oui.txt file is in the same dir
The output from this :
PHP Warning: file(http://standards.ieee.org/regauth/oui/oui.txt): failed to open stream: Connection timed out in /usr/share/cacti/plugins/mactrack/lib/mactrack_functions.php on line 1568
OUI Database Download from IEEE Complete
PHP Warning: Invalid argument supplied for foreach() in /usr/share/cacti/plugins/mactrack/lib/mactrack_functions.php on line 1592
There were '0' Entries Added/Updated in the database.
There were '0' Records Removed from the database.
CAn you help ?
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Resync your SVN copy of MacTrack and then run the following:
php -q mactrack_import_ouidb.php --help
You will first have to manually download the file. Your proxy is blocking the wget request.
TheWitness
php -q mactrack_import_ouidb.php --help
You will first have to manually download the file. Your proxy is blocking the wget request.
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?
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?
I synchronized my SVN copy
made php -q mactrack_import_ouidb.php --help
made php mactrack_import_ouidb.php -f=oui.txt
and always the same Error
PHP Warning: file(http://standards.ieee.org/regauth/oui/oui.txt): failed to open stream: Connection timed out in /usr/share/cacti/plugins/mactrack/lib/mactrack_functions.php on line 1568
OUI Database Download from IEEE Complete
PHP Warning: Invalid argument supplied for foreach() in /usr/share/cacti/plugins/mactrack/lib/mactrack_functions.php on line 1592
There were '0' Entries Added/Updated in the database.
There were '0' Records Removed from the database.
made php -q mactrack_import_ouidb.php --help
made php mactrack_import_ouidb.php -f=oui.txt
and always the same Error
PHP Warning: file(http://standards.ieee.org/regauth/oui/oui.txt): failed to open stream: Connection timed out in /usr/share/cacti/plugins/mactrack/lib/mactrack_functions.php on line 1568
OUI Database Download from IEEE Complete
PHP Warning: Invalid argument supplied for foreach() in /usr/share/cacti/plugins/mactrack/lib/mactrack_functions.php on line 1592
There were '0' Entries Added/Updated in the database.
There were '0' Records Removed from the database.
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I'll take a look at it.
TheWitness
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?
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?
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Resync SVN and try again. It was buggered up.
TheWitness
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?
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?
Hello, TheWitness
thanks for your work but now their appears another Error
php5 mactrack_import_ouidb.php -f=oui.txt
PHP Fatal error:
Allowed memory size of 8388608 bytes exhausted (tried to allocate 16bytes) in /usr/share/cacti/plugins/mactrack/lib/mactrack_functions.php on line 1576
What is that now ?
thanks for your work but now their appears another Error
php5 mactrack_import_ouidb.php -f=oui.txt
PHP Fatal error:
Allowed memory size of 8388608 bytes exhausted (tried to allocate 16bytes) in /usr/share/cacti/plugins/mactrack/lib/mactrack_functions.php on line 1576
What is that now ?
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Edit your /etc/php.ini file and increase PHP memory to 256MBytes. 8MBytes is too small for even Cacti. You are lucking anything runs...
TheWitness
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?
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?
Who is online
Users browsing this forum: No registered users and 1 guest