Open GoogleCodeExporter opened 8 years ago
Does the scan ever finish? Are you scanning an entire file system, or just
sub-directories? Are there any symlinks in the directories you are scanning?
Original comment by andrew.O...@gmail.com
on 27 Jan 2013 at 9:12
I am experiencing similar results.
I have had some issues where scans are not completing, which I am
troubleshooting now. I have seen this with agentless-unix scans that did
complete.
It appears that the method that is being used to determine "Total Bytes" or
"Bytes Done" is flawed, as in most of the cases where I encounter this issue
"Bytes Done" is greater than "Total Bytes".
On one of the systems I am scanning the command "find -type l" returns a
significant number of results in /lib, /etc, /opt, /usr, and a few results in
/bin, /home, /dev, and /boot.
Original comment by briana...@gmail.com
on 24 Oct 2013 at 7:52
I've encountered this issue as well.
It is definitely related to how the Bytes Done / Total Bytes calculation is
performed. It seems that sometimes this doesn't count the total bytes
correctly.
For example, I scanned the /root folder of a BT5R3 VM I have and it reported
Total Bytes as 0 - even though there are lots of files there. This creates a
divide-by-0 condition, breaking the results page as well.
Original comment by nroe...@paysw.com
on 5 Dec 2013 at 8:27
This shouldn't affect the ability of the scan to complete, but if you want a
fix that doesn't fix the Total Bytes issue but at least makes the output
somewhat sane, do the following within
/var/www/OpenDLP/web/bin/viewresults.html (assuming you have the original
viewresults.html):
Line 1281 change from:
my $percent = 100 * $system{$tracking}{bytesdone} / $system{$tracking}{bytestotal};
to:
my $percent = 100 * $system{$tracking}{filesdone} / $system{$tracking}{filestotal};
Line 2440 change from:
my $percent = 100 * $bytesdone / $bytestotal;
to:
my $percent = 100 * $filesdone / $filestotal;
This just makes the completion as a % of files scanned instead of bytes.
Original comment by nroe...@paysw.com
on 5 Dec 2013 at 8:33
editing /var/www/OpenDLP/web/bin/viewresults.html fixed the issue for me. thx
Original comment by ErrorCod...@gmail.com
on 10 Jul 2015 at 3:35
Original issue reported on code.google.com by
jeff.ste...@gmail.com
on 14 Jan 2013 at 3:28Attachments: