Np data...

Report bugs and workarounds
Post Reply
billyb
Posts: 9
Joined: 03 Mar 2016 07:54

Np data...

Post 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?
Attachments
Unbenannt.PNG
Unbenannt.PNG (10.48 KiB) Viewed 25991 times
billyb
Posts: 9
Joined: 03 Mar 2016 07:54

Re: Np data...

Post 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
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Np data...

Post by shawniverson »

Are you able to successfully execute a geoip update under tools?
billyb
Posts: 9
Joined: 03 Mar 2016 07:54

Re: Np data...

Post 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
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Np data...

Post 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
billyb
Posts: 9
Joined: 03 Mar 2016 07:54

Re: Np data...

Post 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
billyb
Posts: 9
Joined: 03 Mar 2016 07:54

Re: Np data...

Post by billyb »

drwxrwxr-x 2 root apache 4096 Apr 10 12:08 temp
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Np data...

Post by shawniverson »

Delete those dat files out of temp and try again.
billyb
Posts: 9
Joined: 03 Mar 2016 07:54

Re: Np data...

Post 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.
Attachments
Unbenannt.PNG
Unbenannt.PNG (3.61 KiB) Viewed 25975 times
DaveDee
Posts: 1
Joined: 25 May 2019 15:20

Re: Np data...

Post 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.
henk
Posts: 517
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: Np data...

Post 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
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
Post Reply