Page 1 of 1

Np data...

Posted: 10 Apr 2017 09:35
by billyb
Hi,
after Update to 3.0.1.9 we have a serious problem: after choosing the message properties we see only this: no properties, no more options.Browser cache also cleared. After an update to 3.0.2 the problem remains. Anybody knows the solution?

Re: Np data...

Posted: 10 Apr 2017 09:57
by billyb
a look at tail -f /var/log/httpd/error_log shows:

nc on line 1757, referer: http://192.168.1.6/mailscanner/status.php
[Mon Apr 10 11:55:33 2017] [error] [client 192.168.1.15] PHP Notice: Uninitialized string offset: 1 in /var/www/html/mailscanner/lib/geoip.inc on line 1757, referer: http://192.168.1.6/mailscanner/status.php
[Mon Apr 10 11:55:33 2017] [error] [client 192.168.1.15] PHP Notice: Uninitialized string offset: 2 in /var/www/html/mailscanner/lib/geoip.inc on line 1757, referer: http://192.168.1.6/mailscanner/status.php
[Mon Apr 10 11:55:33 2017] [error] [client 192.168.1.15] PHP Notice: Uninitialized string offset: 3 in /var/www/html/mailscanner/lib/geoip.inc on line 1757, referer: http://192.168.1.6/mailscanner/status.php
[Mon Apr 10 11:55:33 2017] [error] [client 192.168.1.15] PHP Notice: Uninitialized string offset: 4 in /var/www/html/mailscanner/lib/geoip.inc on line 1757, referer: http://192.168.1.6/mailscanner/status.php
[Mon Apr 10 11:55:33 2017] [error] [client 192.168.1.15] PHP Notice: Uninitialized string offset: 5 in /var/www/html/mailscanner/lib/geoip.inc on line 1757, referer: http://192.168.1.6/mailscanner/status.php
[Mon Apr 10 11:55:33 2017] [error] [client 192.168.1.15] PHP Fatal error: GeoIP API: Error traversing database - perhaps it is corrupt? in /var/www/html/mailscanner/lib/geoip.inc on line 1772, referer: http://192.168.1.6/mailscanner/status.php
^C

Re: Np data...

Posted: 10 Apr 2017 10:06
by shawniverson
Are you able to successfully execute a geoip update under tools?

Re: Np data...

Posted: 10 Apr 2017 10:10
by billyb
Yes:
Downloading file, please wait...
Download complete, unpacking files...

GeoIP IPv4 data file successfully unpacked
GeoIP IPv6 data file successfully unpacked
Process completed!

But /var/log/httpd/error_log says:
a: Permission denied in /var/www/html/mailscanner/geoip_update.php on line 167, referer: http://192.168.1.6/mailscanner/geoip_update.php
[Mon Apr 10 12:08:32 2017] [error] [client 192.168.1.15] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/ww/html/mailscanner/geoip_update.php on line 169, referer: http://192.168.1.6/mailscanner/geoip_update.php
[Mon Apr 10 12:08:32 2017] [error] [client 192.168.1.15] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/ww/html/mailscanner/geoip_update.php on line 169, referer: http://192.168.1.6/mailscanner/geoip_update.php
[Mon Apr 10 12:08:32 2017] [error] [client 192.168.1.15] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/ww/html/mailscanner/geoip_update.php on line 172, referer: http://192.168.1.6/mailscanner/geoip_update.php
[Mon Apr 10 12:08:32 2017] [error] [client 192.168.1.15] PHP Warning: fopen(/var/www/html/mailscanner/temp/GeoIPv6.dat): failed to open stram: Permission denied in /var/www/html/mailscanner/geoip_update.php on line 167, referer: http://192.168.1.6/mailscanner/geoip_update.php
[Mon Apr 10 12:08:32 2017] [error] [client 192.168.1.15] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/ww/html/mailscanner/geoip_update.php on line 169, referer: http://192.168.1.6/mailscanner/geoip_update.php
[Mon Apr 10 12:08:32 2017] [error] [client 192.168.1.15] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/ww/html/mailscanner/geoip_update.php on line 169, referer: http://192.168.1.6/mailscanner/geoip_update.php
[Mon Apr 10 12:08:32 2017] [error] [client 192.168.1.15] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/ww/html/mailscanner/geoip_update.php on line 172, referer: http://192.168.1.6/mailscanner/geoip_update.php

Re: Np data...

Posted: 10 Apr 2017 10:12
by shawniverson
Double check the permissions on your /var/www/html/mailscanner/temp folder

Code: Select all

drwxrwxr-x 2 root apache   4096 Apr  6 07:13 temp

Re: Np data...

Posted: 10 Apr 2017 10:14
by billyb
ls -l /var/www/html/mailscanner/temp
total 16
-rw-r--r-- 1 root root 4373 Apr 10 10:27 GeoIP.dat
-rw-r--r-- 1 root root 4373 Apr 10 10:27 GeoIPv6.dat
-rw-r--r-- 1 root root 0 Apr 6 13:13 index.html

Re: Np data...

Posted: 10 Apr 2017 10:14
by billyb
drwxrwxr-x 2 root apache 4096 Apr 10 12:08 temp

Re: Np data...

Posted: 10 Apr 2017 10:17
by shawniverson
Delete those dat files out of temp and try again.

Re: Np data...

Posted: 10 Apr 2017 10:34
by billyb
Now I can update GeoIP with no errors, but the main issue persist.
new: I can see some whitelisted messages from root (see attachment) , but not those from from outside senders, also whitelisted.

Re: Np data...

Posted: 25 May 2019 15:23
by DaveDee
had the same problem and eventually found this thread, problems started after a GEO-Ip update (never used it before) just deleting the dat files (and not running the update command again) resolved the issue.

Re: Np data...

Posted: 26 May 2019 11:33
by henk
Hi Dave,

Take a look at this thread about the GEO-IP issue: viewtopic.php?f=13&t=3311&p=13191&hilit ... ion#p13203