PHP fatal error

VitalPBX Community Support Reporting an Issue PHP fatal error

  • Post
    Gary
    Participant
    Up
    0
    Down
    Today when i try to connect to the web interface I get no connection, the phones are still working and ssh works but no gui, I tried to restart httpd and also rebooted the server, I see this in mail/root

    [root@vitalpbx3 mail]# tail root

    PHP Fatal error: Uncaught RuntimeException: Failed connect to 127.0.0.1:80; Connection refused in /usr/share/sonata/billing/www/core/components/pbx/distro/PBX.php:0
    Stack trace:
    #0 /usr/share/sonata/billing/www/core/components/pbx/distro/PBX.php(0): pbx\distro\PBX->_send_request(‘get’)
    #1 /usr/share/sonata/billing/www/core/components/pbx/distro/VitalPBX.php(0): pbx\distro\PBX->GET(‘tenants’)
    #2 /usr/share/sonata/billing/www/core/tenant.php(0): pbx\distro\VitalPBX->getTenants()
    #3 /usr/share/sonata/billing/scripts/automatic_reports.php(0): core\tenant::all()
    #4 {main}
    thrown in /usr/share/sonata/billing/www/core/components/pbx/distro/PBX.php on line 0

    and also this when checking httpd service

    [root@vitalpbx3 ~]# systemctl status httpd.service
    ● httpd.service – The Apache HTTP Server
    Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
    Active: failed (Result: exit-code) since Mon 2021-04-12 15:47:25 EDT; 11min ago
    Docs: man:httpd(8)
    man:apachectl(8)
    Process: 1197 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
    Main PID: 1197 (code=exited, status=1/FAILURE)

    Apr 12 15:47:25 vitalpbx3 systemd[1]: Starting The Apache HTTP Server…
    Apr 12 15:47:25 vitalpbx3 httpd[1197]: AH00558: httpd: Could not reliably determine the server’s fully qualified domain name, using fe80::5400:2ff:fecf…is message
    Apr 12 15:47:25 vitalpbx3 systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
    Apr 12 15:47:25 vitalpbx3 systemd[1]: Failed to start The Apache HTTP Server.
    Apr 12 15:47:25 vitalpbx3 systemd[1]: Unit httpd.service entered failed state.
    Apr 12 15:47:25 vitalpbx3 systemd[1]: httpd.service failed.
    Hint: Some lines were ellipsized, use -l to show in full.

     

    0
Viewing 2 replies - 1 through 2 (of 2 total)
  • Replies
    Gary
    Participant
    Up
    0
    Down
    Could this be set in one of the http.conf files ?

    AH00558: httpd: Could not reliably determine the server’s fully qualified domain name, using fe80::5400:2ff:fecf:3dd0. Set the ‘ServerName’ directive globally to suppress this message

     

    0
    Gary
    Participant
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.