|
|
| Author |
Message |
caweiss
Joined: 04 Jul 2007 Posts: 4
|
Posted: Wed Jul 04, 2007 12:45 am Post subject: Try ti 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 ? |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9736 Location: MI, USA
|
Posted: Wed Jul 04, 2007 3:32 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
caweiss
Joined: 04 Jul 2007 Posts: 4
|
Posted: Wed Jul 04, 2007 9:27 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9736 Location: MI, USA
|
Posted: Wed Jul 04, 2007 5:08 pm Post subject: |
|
|
I'll take a look at it.
TheWitness |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9736 Location: MI, USA
|
Posted: Thu Jul 05, 2007 9:13 pm Post subject: |
|
|
Resync SVN and try again. It was buggered up.
TheWitness |
|
| Back to top |
|
 |
caweiss
Joined: 04 Jul 2007 Posts: 4
|
Posted: Tue Jul 10, 2007 1:00 am Post subject: |
|
|
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 ? |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9736 Location: MI, USA
|
Posted: Tue Jul 10, 2007 10:29 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
caweiss
Joined: 04 Jul 2007 Posts: 4
|
Posted: Wed Jul 11, 2007 2:53 am Post subject: |
|
|
Hello
now it works
Thanks for quick help
CAWeiss |
|
| Back to top |
|
 |
|