I've run a discovery (using the notes in the Wiki) and generated an XML file.
If I run the import without --live it appears to be OK, but when I try a live import I get:
Starting FreeNATS for live impot... PHP Fatal error: Cannot redeclare hdisp() (previously decalred in /opt/freenats/server/base/help.inc.php:156) in /opt/freenats/server/base/help.inc.php on line 199
I've tried restarting the Appliance (I'm running it in VMWare) and running the import as the first task (before anythign else is done) - but still the same problem.
Anyway I can overcome this?
Help with Bullk Import
Re: Help with Bullk Import
Hi there,
Ok I have identified the fault (Bug 263).
I will put out a fix for this in the next alpha (and post here). In the meantime you can fix it if you wish as follows:
Thanks for your bug report and I'm sorry you're having problems.
Cheers,
Dave.
Ok I have identified the fault (Bug 263).
I will put out a fix for this in the next alpha (and post here). In the meantime you can fix it if you wish as follows:
- Login as root to the console
Type: nano /opt/freenats/server/bin/import.php
In the editor go Control + - then enter the line number 222 and press return
The line should be: require($BaseDir."nats.php");
Comment it out - put // before the line so it now reads: //require($BaseDir."nats.php");
Press Control + X and then choose yes to save and press enter for the filename
Thanks for your bug report and I'm sorry you're having problems.
Cheers,
Dave.
-
- Posts: 2
- Joined: Wed Apr 13, 2011 8:48 am
Re: Help with Bullk Import
Dave
Many thanks for your quick response - that change has allowed the import to work succesfully.
Cheers
Paul
Many thanks for your quick response - that change has allowed the import to work succesfully.
Cheers
Paul
Re: Help with Bullk Import
Glad to hear it. Will probably fix it in release next week.
Thanks again for the report.
Cheers,
Dave.
Thanks again for the report.
Cheers,
Dave.
Re: Help with Bullk Import
Fixed in new alpha release 1.13.1a