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

Search failedSyntaxError: Unexpected token < in JSON at position 0

Scheduled Pinned Locked Moved Solved
FOG Problems
4
22
4.5k
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.
  • W
    wanderson @Tom Elliott
    last edited by Jun 1, 2017, 6:14 PM

    @Tom-Elliott When I restart the server, it works again, but then the error happens again

    1 Reply Last reply Reply Quote 0
    • W
      wanderson
      last edited by Jun 1, 2017, 6:15 PM

      @Tom-Elliott Would not the httpd be down?

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Jun 1, 2017, 6:16 PM

        What? Why would httpd be down?

        This sounds like a max_connections issue to me though.

        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        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

        W 2 Replies Last reply Jun 1, 2017, 6:29 PM Reply Quote 0
        • W
          wanderson @Tom Elliott
          last edited by Jun 1, 2017, 6:29 PM

          @Tom-Elliott Yes, after a few minutes, give the error http 500

          T 1 Reply Last reply Jun 2, 2017, 1:55 AM Reply Quote 0
          • W
            wanderson @Tom Elliott
            last edited by Jun 1, 2017, 6:37 PM

            @Tom-Elliott

            I will try to apply this rule in apache

            <IfModule mpm_prefork_module>
            	StartServers          4
            	MinSpareServers       20
            	MaxSpareServers      40
            	MaxClients           200
            	MaxRequestsPerChild  4500
            </IfModule>```
            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott @wanderson
              last edited by Jun 2, 2017, 1:55 AM

              @wanderson Is it giving 500, or is it getting “connection” errors? 500 means apache is responding.

              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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              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

              W 1 Reply Last reply Jun 2, 2017, 2:14 AM Reply Quote 0
              • W
                wanderson @Tom Elliott
                last edited by Jun 2, 2017, 2:14 AM

                @Tom-Elliott, yes, Was giving HTTP 500 connection errors while doing the image upload task

                1 Reply Last reply Reply Quote 0
                • W
                  wanderson
                  last edited by Jun 2, 2017, 2:17 AM

                  Problems began to appear after I started adding more than 20 nodes, I’m currently using 34 fog nodes

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by Jun 2, 2017, 2:06 PM

                    @wanderson Maybe too many clients hitting the apache with requests? Please check your apache access and maybe error log to see what’s going on and how many requests from which hosts are coming in.

                    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
                    • W
                      wanderson
                      last edited by Jun 2, 2017, 9:08 PM

                      solved: update mysql.user set plugin=‘mysql_native_password’;

                      1 Reply Last reply Reply Quote 1
                      • 1
                      • 2
                      • 2 / 2
                      2 / 2
                      • First post
                        22/22
                        Last post

                      150

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project