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

fog problem : HTTP ERROR 500

Scheduled Pinned Locked Moved Solved
FOG Problems
3
6
1.7k
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.
  • G
    ghrab
    last edited by Nov 8, 2018, 8:30 AM

    good morning ;
    after installation of fog server and testing 2 or 3 machine by imaging and cloning ,
    this morning i try to open fog server but no chance : HTTP ERROR 500
    trying to foolow the instructions of memebers in this link , by clearing the password of mysql
    but no solution. link :
    https://forums.fogproject.org/topic/11273/http-500-internal-server-error/2
    so please if any one have an idea can help me.

    thank you

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Nov 8, 2018, 3:06 PM

      @ghrab Check your apache error logs and post here - see my signature on where to find the 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
      • G
        ghrab
        last edited by Nov 21, 2018, 8:41 AM

        here is the apache log file
        thnx.
        0_1542789695829_error.log

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Nov 21, 2018, 10:44 AM

          @ghrab See here: 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

          G 1 Reply Last reply Nov 21, 2018, 1:55 PM Reply Quote 0
          • G
            ghrab @Sebastian Roth
            last edited by Nov 21, 2018, 1:55 PM

            @Sebastian-Roth

            thank u very much, finaly the issue is resolved !!
            thnx a lottttt
            0_1542808550147_fog issue resolved.PNG

            1 Reply Last reply Reply Quote 0
            • A
              arso96
              last edited by Sebastian Roth Oct 1, 2020, 4:12 AM Nov 24, 2018, 4:13 PM

              Hello mate,
              Had the FOG issue: Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘root’@‘localhost’ (using password: NO) in /var/www/fog/management/index.php

              This is caused by the FOG PHP session looking to connect to ‘localhost’, the correct password is not being passed causing the failure. Not having time to research the exact fix I found the following is a quick solution…

              Before trying to open the FOG management webpage
              Install PHPMYADMIN (this makes database management easy)
              Open //localhost/phpmyadmin
              Create a new user and give them ALL permissions for ALL HOSTS (basically they should be the same as ROOT
              Check the user is there and the permissions are set correctly.
              Go into the PERMISSIONS tab and remove the password for ROOT under localhost & 127.0.0.1
              Open the FOG webmanagement page
              Set up the users in FOG
              Go back to PHPMyAdmin and make sure FOG has been added as a database. You will need to log on as the ‘new user’ above
              Reset the root password to something secure (as per pre install???)
              Open the FOG database
              Go to Permissions and BLANK the root password for localhost & 127.0.0.1
              That should solve the issue.
              Best regards
              Arso

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

              180

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project