Menu

#12 NagiosQL blank after installation

3.4.0
closed
Martin
None
2019-03-18
2019-03-15
No

Hello

I installed Nagiosql and ran /install/index.php. All checks were OK (green). The installation was then completed. Now, when I call /nagiosql/index.php, the page stays empty. No errors.

At first, I thought it had something to do with https. But that's not it.
I'm stuck .... just can not find a solution.

Bye
Mansaylon

Discussion

  • Martin

    Martin - 2019-03-15

    Are there any messages in the web server logfiles (error / access).

    Where did you download the NagiosQL sources and when? The latest version is only available here at sourceforge and some bugfixes are already implemented in 3.4.0.

     
  • R. Waldvogel

    R. Waldvogel - 2019-03-15

    The download is from here. Did the installation about a week ago.

    All * .log deleted and no entries when I /nagiosql calls.

    But when I call /nagiosql/install, I get content.

     
  • Martin

    Martin - 2019-03-15

    What does the web server configuration look like? Is the directory for nagiosql a link, an alias or is it directly in the document root directory?

    What is the output of php -m?
    What version of php?

    Are there any special characters in the database password for NagiosQL? There is a current bug that doesn't allow using special characters that still need to be fixed.

     
  • Martin

    Martin - 2019-03-15

    Can you enable display_errors in your php.ini and restart the Webserver?

     
  • R. Waldvogel

    R. Waldvogel - 2019-03-15

    After display_errors On:

    Warning: require_once(PEAR.php): failed to open stream: Datei oder Verzeichnis nicht gefunden in /usr/local/nagios/share/nagiosql/libraries/pear/HTML/Template/IT.php on line 31
    
    Fatal error: require_once(): Failed opening required 'PEAR.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagios/share/nagiosql/libraries/pear/HTML/Template/IT.php on line 31
    
     
  • R. Waldvogel

    R. Waldvogel - 2019-03-15

    php -m

    [root@nag ~]# php -m
    [PHP Modules]
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    exif
    fileinfo
    filter
    ftp
    gd
    gettext
    hash
    iconv
    json
    libxml
    mbstring
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    readline
    Reflection
    session
    SimpleXML
    sockets
    SPL
    sqlite3
    ssh2
    standard
    tokenizer
    wddx
    xml
    xmlreader
    xmlwriter
    xsl
    zlib
    
    [Zend Modules]
    
    [root@nag ~]# php -v
    PHP 7.3.3 (cli) (built: Mar  5 2019 13:50:38) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.3.3, Copyright (c) 1998-2018 Zend Technologies
    
     
  • Martin

    Martin - 2019-03-15

    It seems that php pear is not installed. Can you install the package? It has different names depending on the Linux derivative.

     
  • R. Waldvogel

    R. Waldvogel - 2019-03-15

    I have:

    [root@nag ~]# cat /etc/centos-release
    CentOS Linux release 7.6.1810 (Core)
    
     
  • Martin

    Martin - 2019-03-15

    I do not know CentOS, but Google told me that you can install pear there with:

    yum install php-pear

     
  • R. Waldvogel

    R. Waldvogel - 2019-03-15

    You are my Hero :-))
    Many Thanks.

     
  • Martin

    Martin - 2019-03-18
    • status: open --> closed
    • assigned_to: Martin
     

Log in to post a comment.

MongoDB Logo MongoDB