Np data...

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

Np data...

Post by billyb » 10 Apr 2017 09:35

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 2696 times

billyb
Posts: 9
Joined: 03 Mar 2016 07:54

Re: Np data...

Post by billyb » 10 Apr 2017 09:57

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: 2821
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: Np data...

Post by shawniverson » 10 Apr 2017 10:06

Are you able to successfully execute a geoip update under tools?
Version eFa 4.0.0 RC3 now available in testing repo. Come join us in advancing eFa!

billyb
Posts: 9
Joined: 03 Mar 2016 07:54

Re: Np data...

Post by billyb » 10 Apr 2017 10:10

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: 2821
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: Np data...

Post by shawniverson » 10 Apr 2017 10:12

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
Version eFa 4.0.0 RC3 now available in testing repo. Come join us in advancing eFa!

billyb
Posts: 9
Joined: 03 Mar 2016 07:54

Re: Np data...

Post by billyb » 10 Apr 2017 10:14

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 » 10 Apr 2017 10:14

drwxrwxr-x 2 root apache 4096 Apr 10 12:08 temp

User avatar
shawniverson
Posts: 2821
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: Np data...

Post by shawniverson » 10 Apr 2017 10:17

Delete those dat files out of temp and try again.
Version eFa 4.0.0 RC3 now available in testing repo. Come join us in advancing eFa!

billyb
Posts: 9
Joined: 03 Mar 2016 07:54

Re: Np data...

Post by billyb » 10 Apr 2017 10:34

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 2680 times

DaveDee
Posts: 1
Joined: 25 May 2019 15:20

Re: Np data...

Post by DaveDee » 25 May 2019 15:23

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: 386
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: Np data...

Post by henk » 26 May 2019 11:33

Hi Dave,

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

Post Reply