Snort Illegal division by zero

Discuss general troubleshooting concerns.

Moderators: scrumpy, Dave, leihog

Snort Illegal division by zero

Postby roint on Sun Dec 20, 2009 3:53 pm

Just started getting this error message in mail from cron and I'm at a loss what to do next.

Illegal division by zero at /usr/lib/perl5/vendor_perl/5.8.8/GD/Graph/ line 1962.

Found reference to this in another message and followed instructions to create key. When trying to create the key mysql says
ERROR 1061 (42000): Duplicate key name 'tcphdr_cid_index'

Another post had instructions to change line 1962
Code: Select all
OPEN: /usr/lib/perl5/vendor_perl/5.8.8/GD/Graph/
GOTO line 1962
        $self->{lg_rows} =
            int($num / $self->{lg_cols}) + (($num % $self->{lg_cols}) ? 1 : 0);
   if ($self->{lg_cols} gt 0)
      $self->{lg_rows} = int($num / $self->{lg_cols}) + (($num % $self->{lg_cols}) ? 1 : 0);
      $self->{lg_rows} = $num;

Any ideas of what changed or if I should keep this change to the file??

Thanks for any help.
Posts: 37
Joined: Sun Dec 24, 2006 11:03 pm

Return to General Troubleshooting

Who is online

Users browsing this forum: No registered users and 2 guests