Ad Widget

Collapse

Frontend Installation - Blank Screen

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • p.reinboth
    Junior Member
    • Apr 2020
    • 2

    #1

    Frontend Installation - Blank Screen

    Hi Guys,

    I wanted to give Zabbix a try but I'm having trouble with the installation. I got everything up and running but I only get a blank screen when I visit my site to to the frontend installation. It does redirect me to the setup.php though.

    Further information on my setup:
    I am using nginx and mariadb on CentOS 8. I followed the installation instructions I got here: https://www.zabbix.com/download?zabb...centos&os_vers ion=8&db=mysql&ws=nginx

    I did make a few changes though: I enabled a 301 redirect in the nginx zabbix.conf to enforce https, I changed the name of the database (I changed the name in the zabbix.conf too, don't worry) and changed the user for the php socket to zabbix too.

    Troubleshooting steps I have already taken:
    I made sure that I have all necessary php pre-requisites as listed here under step 2: https://www.zabbix.com/documentation...lling_frontend
    I checked via phpinfo() that php-fpm is working correctly
    I checked the zabbix_server.log and the zabbix_agentd.log for errors but it all seems good to me.
    I checked my nginx error log, where I caught the following:
    2020/04/16 14:58:27 [error] 2282#0: *16 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Exception: Cannot start session. in /usr/share/zabbix/include/classes/core/CSession.php:46


    Do you guys have any ideas what I might be doing wrong?
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    In your php-fpm pool, are you setting a location for the sessions, and assuming you're using the 'file' session save_handler, is the directory writable by the 'zabbix' user (since that's who your php-fpm is running as)?

    Comment

    • p.reinboth
      Junior Member
      • Apr 2020
      • 2

      #3
      Originally posted by tim.mooney
      In your php-fpm pool, are you setting a location for the sessions, and assuming you're using the 'file' session save_handler, is the directory writable by the 'zabbix' user (since that's who your php-fpm is running as)?
      That did the trick, thank you very much

      Comment

      Working...