Ad Widget

Collapse

[1.3.5] Database down: index.php looping

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • schneck
    Member
    • May 2006
    • 62

    #1

    [1.3.5] Database down: index.php looping

    Hi,

    running 1.3.5 on OpenBSD-4.1 with PostgreSQL 8.2

    Due to some problems with PostgreSQL, the database server was down (which I didn't notice immediately).

    When trying to log in to the PHP frontend with index.php,
    I got an immediate redirect to index.php?with-some-errormsg,
    which gave me ... guess what ... a redirect to index.php?with-same-errormsg
    which gave me ... ok, I guess you've got it by now :-)

    Code:
    telnet localhost 80
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    GET /zabbix-1.3.5/index.php HTTP/1.0
    
    HTTP/1.1 200 OK
    Date: Fri, 04 May 2007 17:04:22 GMT
    Server: Apache
    X-Powered-By: PHP/5.1.6
    Connection: close
    Content-Type: text/html
    
    <script language="JavaScript" type="text/javascript">
    <!--
            window.location = 'index.php?message=Error connecting to database';
    //-->
    </script>
    Connection closed by foreign host.
    Having the database server down should not be the preferred mode of operation (:-) and fixing such a bug is not release-critical imho, but not looping *is* probably better.

    I admit that I havn't checked 1.3.6 or HEAD yet, but from the ChangeLog nothing was touched in that area so I'm afraid it's still lurking out there.

    \Bernhard.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Thanks for reporting this. Fixed!
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...