Ad Widget

Collapse

"Map Image Update failed"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tiarnaigh
    Junior Member
    • Sep 2013
    • 27

    #1

    "Map Image Update failed"

    Hey guys.
    I've recently upgrade my Zabbix server from 2.2.5 to 2.4 as per the instructions and ever since, I keep getting this annoying popup showing when I go to "Configuration -> Maps" and actually try to change a map/create a new one etc. I then can't do much really with the map, and none of the basic features (Like the grid, background image etc.) seem to be showing.

    I've seen a few posts online about this error showing on previous older releases of Zabbix, but apparently this issue was fixed since. Any idea what the cause of it is and how I can work around it?

    Thanks,
    Michael
  • Jason
    Senior Member
    • Nov 2007
    • 430

    #2
    I've also seen this too. Odd thing is that it doesn't work in IE or firefox, but works in Chrome and Safari. This is on a web server running nginx. If I move back to apache then it all works fine again.

    Comment

    • Jason
      Senior Member
      • Nov 2007
      • 430

      #3
      I found this https://support.zabbix.com/browse/ZBX-7262 which pointed to a php session issue.

      The ownership on /var/lib/php/session folder was set to the apache group. I changed it to nginx and wiped all the old session cookies there and it has started working normally again.

      Comment

      • tiarnaigh
        Junior Member
        • Sep 2013
        • 27

        #4
        You're a life saver Jason, well spotted. I hit exactly the same issue, and now it's working as expected. Where I hit the issue was after doing a base (yum install) of the httpd, it had set this dir to be owner by "apache", but I later updated httpd be to run as the "www" user instead. This never got updated for the sessions dir.

        i.e.:

        [root@zbx2dal0 html]# ls -lrth /var/lib/php/
        total 4.0K
        drwxrwx---. 2 root apache 4.0K Aug 19 2013 session
        [root@zbx2dal0 html]# chown www:www /var/lib/php/session
        [root@zbx2dal0 html]# ls -lrth /var/lib/php/
        total 4.0K
        drwxrwx---. 2 www www 4.0K Aug 19 2013 session
        [root@zbx2dal0 html]# ls -lrth /var/lib/php/session/
        total 0
        [root@zbx2dal0 html]# ls -lrth /var/lib/php/session/
        total 4.0K
        -rw-------. 1 www www 66 Nov 18 09:46 sess_f5gt6slfodj5b3ntvmm0j0gnl6

        Since updating this, the maps are now all working perfectly.

        Great job,
        M

        Comment

        Working...