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

    FOG services - are they supposed to start on system boot?

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    6
    2.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.
    • TrevelyanT
      Trevelyan
      last edited by Trevelyan

      I haven’t really noticed this before until I was just browsing the replicator, task scheduler and multicast logs. They seemed to have been updated fairly frequently, but then they stopped. It was then that I noticed that the respective services just weren’t running at all and had to be manually started. However, at first they fail; until I manually attempt to stop them (although they didn’t appear to be running):

      Restarting FOG Computer Imaging Solution: FOGImageReplicator                 start-stop-daemon: warning: failed to kill 1154: No such process
      Restarting FOG Computer Imaging Solution: FOGScheduler                       start-stop-daemon: warning: failed to kill 1230: No such process
      Restarting FOG Computer Imaging Solution: FOGMulticastManager                start-stop-daemon: warning: failed to kill 1197: No such process
      

      Now when I try to start them, they work. They’re started from init.d - so are they supposed to have been started on system boot?

      Cheers

      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @Trevelyan
        last edited by

        @Trevelyan said:

        I haven’t really noticed this before until I was just browsing the replicator, task scheduler and multicast logs. They seemed to have been updated fairly frequently, but then they stopped. It was then that I noticed that the respective services just weren’t running at all and had to be manually started. However, at first they fail; until I manually attempt to stop them (although they didn’t appear to be running):

        • Restarting FOG Computer Imaging Solution: FOGImageReplicator start-stop-daemon: warning: failed to kill 1154: No such process
        • Restarting FOG Computer Imaging Solution: FOGScheduler start-stop-daemon: warning: failed to kill 1230: No such process
        • Restarting FOG Computer Imaging Solution: FOGMulticastManager start-stop-daemon: warning: failed to kill 1197: No such process

        Now when I try to start them, they work. They’re started from init.d - so are they supposed to have been started on system boot?

        Cheers

        This is because you’re most likely running ubuntu? Just a guess.

        There’s already a ton documented about this. Basically, what’s happening, the services are all starting up as expected, including the FOG Services. At some point, however, the mysql server crashes or is restarted without properly restarting the FOG services. This causes these services to die, but they cannot be restarted because the original item it’s expecting to remove cannot be found.

        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

        1 Reply Last reply Reply Quote 0
        • TrevelyanT
          Trevelyan
          last edited by

          Yeah I am still looking through this - if the answer is on the forum, I’ll find it. Just the google links are broken and I’m trying to search for the same topics here 😄

          Cheers!

          1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman
            last edited by

            The basic answer is to delay the startup of FOG services by like 30 seconds.

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 2
            • TrevelyanT
              Trevelyan
              last edited by

              Is this issue something that a lot of people will normally encounter though? Or just for Ubuntu [14.04?] users?

              What kind of effect will this have if I don’t change it, other than having no logs to view? Tasks seem to still work as does multicasting and I would assume image replication too? (Although I haven’t got that working yet).

              I’ll force a delay but keep an eye on any fixes that might come up. Cheers guys!

              1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman
                last edited by Wayne Workman

                It’s very common on Ubuntu. Others on other systems have occasionally ran into the issue also. I know on Fedora Workstation 21 in Hyper-V, I had the issue. But with Fedora 21 Server in Hyper-V I don’t have the issue.

                It’s just all about the timing, really.

                And yes, that post you found is how you’d fix it.

                And, there’s no reason to put up with having zero logs. Different systems experience different problems. For some, imaging doesn’t even work unless you make those services wait for a bit.

                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!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

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

                160

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project