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

Clone Successful - Check Fog web service status .. Error

Scheduled Pinned Locked Moved Solved
FOG Problems
2
15
2.2k
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.
  • S
    sourceminer
    last edited by sourceminer Dec 7, 2017, 4:04 PM Dec 7, 2017, 8:46 PM

    Help, not sure what is happening researching every area cannot find this error.
    After a successful image is deployed the machines get into this loop where by they keep re-imaging

    Stopping FOG Status Reporter … DONE
    Check FOG web service status …ERROR
    Failed to connect to server …Exiting.

    Webserver is operational, DNS is operational.
    All Fog Settings are seeming to be correct.
    Capture works fine.

    1 Reply Last reply Reply Quote 0
    • S
      sourceminer
      last edited by Dec 7, 2017, 10:45 PM

      Reinstalled FOG and no problems… Would still like to know what happened… what file or config may have prevented this error.

      1 Reply Last reply Reply Quote 0
      • S
        sourceminer
        last edited by Dec 7, 2017, 11:13 PM

        Might be related to: https://forums.fogproject.org/topic/7113/make-customized-option-as-default-on-boot-menu/13

        1 Reply Last reply Reply Quote 0
        • S
          sourceminer
          last edited by Dec 7, 2017, 11:17 PM

          Nevermind… still and issue with original file. Not sure what is happening even with new install of fog.

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Dec 8, 2017, 6:08 AM

            @sourceminer Please check to apache error log (see my signature on where to find this on your server). Take a look at the timestamps to hopefully find the error that happend right at that time when you saw “Check FOG web service status” on the client screen.

            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
            • S
              sourceminer
              last edited by Dec 8, 2017, 9:15 AM

              I will take a look at this tomorrow, I did see a bunch of errors in that log when I was checking but nothing seemed to be related. I will look again and post

              1 Reply Last reply Reply Quote 0
              • S
                sourceminer
                last edited by sourceminer Dec 8, 2017, 3:25 PM Dec 8, 2017, 8:43 PM

                Im not seeing any errors in the Apache2 Logs.

                0_1512768065213_2017-12-08_13-20-04.png

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Sebastian Roth Dec 8, 2017, 3:34 PM Dec 8, 2017, 9:30 PM

                  @sourceminer said:

                  I don’t even see a connection being made from the machine testing the imaging process.

                  You mean in the apache log or how do you check? Using tcpdump/wireshark?

                  Check FOG web service status …ERROR
                  Failed to connect to server …Exiting.

                  Those messages are not part of FOG itself from my point of view. Possibly you took over that server from a colleague and didn’t know that he added some extra code to FOG?!? Take a look at /images/postdownloadscripts/fog.postdownload script on your FOG server. This is custom made I am fairly sure.

                  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
                  • S
                    sourceminer
                    last edited by sourceminer Dec 8, 2017, 4:09 PM Dec 8, 2017, 10:05 PM

                    AHH light at the end of the tunnel…!!
                    I was trying to do a Ubuntu Host name change using a post downloadscript.

                    @ch3i
                    https://forums.fogproject.org/topic/4510/scripts-customization-of-ubuntu-fog-service-for-ubuntu/2

                    host_rename_fog (without using of MySQL) is what I have setup.

                    So @ch3i states to change the host name in the script of which I have done… this script as far as I can tell is straight forward however not able to access the server…

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Dec 8, 2017, 10:27 PM

                      @sourceminer Sure you have the configuration set correctly?

                      #########################################################
                      # Configuration
                      #########################################################
                      FOG_SERVER="ip_of_server"
                      FOG_WEBROOT="fog"
                      

                      We don’t officially support those custom scripts but I try to give you hints as possible.

                      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
                      • S
                        sourceminer
                        last edited by Dec 8, 2017, 10:29 PM

                        Yes all this was set… I almost wonder though if this script is a moot point its a script made in 2015…

                        Will the Fog Client rename a Linux machine?
                        I have only used it with Windows and although I installed the smart installer on the Linux machine its not working… so I looked for another solution.

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by Dec 8, 2017, 10:43 PM

                          @sourceminer The fog-client is not used as much on Linux as it is on Windows. So sure there might be issues. Mostly we see problems with corrupt certificate stores in mono (.Net) frameworks on Linux and possibly other stuff that I can’t remember from the top of my head right now.
                          Please open a new topic on that and post client logs so we can have a look.

                          About the hostname - a different way would be to send hostname via DHCP or grab it from DNS. Not sure if that suites you.

                          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
                          • S
                            sourceminer
                            last edited by sourceminer Dec 8, 2017, 5:00 PM Dec 8, 2017, 11:00 PM

                            Perfect Solved…
                            Though it would be nice to have Fog Client work with Linux natively without Mono… 😉

                            1 Reply Last reply Reply Quote 0
                            • S
                              Sebastian Roth Moderator
                              last edited by Dec 8, 2017, 11:21 PM

                              @sourceminer So how did you end up solving your issue? See this is what this forum is about. Sharing information and solutions.

                              Though it would be nice to have Fog Client work with Linux natively without Mono…

                              Native as in C/C++ you mean? Well the code is currently in C# .Net - no way we can compile that into native Linux binaries.

                              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
                              • S
                                sourceminer
                                last edited by Dec 9, 2017, 12:24 AM

                                Well I was just going to do the DHCP method but I may fix or create a script to just insert the host name

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

                                244

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project