• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

http 500 error

Scheduled Pinned Locked Moved Unsolved
FOG Problems
3
6
471
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    Jim Holcomb
    last edited by Sep 25, 2018, 6:37 PM

    Fog just updated (not os, still ubuntu 16.04) rebooted, and now the Fog server won’t start. Server is pingable, can still ssh to server, but getting this error: is currently unable to handle this request.
    HTTP ERROR 500

    Could use some assistance here. Thanks in advance.

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by george1421 Sep 25, 2018, 12:48 PM Sep 25, 2018, 6:47 PM

      You updated fog from what to what version?

      Check to see if apache and php-fpm is running
      sudo ps aux|grep apache
      and
      sudo ps aux|grep php-fpm

      both of those should return more than just one line of text. I’m guessing that php-fpm isn’t running for some reason since you are seeing the 500 error message.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

      1 Reply Last reply Reply Quote 0
      • J
        Jim Holcomb
        last edited by Sep 25, 2018, 7:34 PM

        Thanks George. I am running ubunto 16.04 and the only thing I ran was apt-get update. No update to fog. Seems like a mysql issue, but not sure where to look. The two commands you gave me returned with more than 1 line each, and both look like they are running.

        J 1 Reply Last reply Sep 25, 2018, 10:55 PM Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sep 25, 2018, 10:17 PM

          @Jim-Holcomb Check the apache error logs (see my signature) as well as php-fpm logs…

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • J
            Jim Holcomb @Jim Holcomb
            last edited by Sep 25, 2018, 10:55 PM

            @Jim-Holcomb PHP7:error PHP Fatal Error: uncaught error: call to a member function lastInsertID() on boolean in … class after class after class errors. Does this make sense to you?

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Sep 25, 2018, 11:00 PM

              @Jim-Holcomb said in http 500 error:

              uncaught error: call to a member function lastInsertID()

              This is usually due to a database connection issue. Please read through this: https://forums.fogproject.org/topic/10006/ubuntu-is-fog-s-enemy

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              1 / 1
              • First post
                1/6
                Last post

              221

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project