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

    FOG time is far off

    Scheduled Pinned Locked Moved
    FOG Problems
    8
    17
    6.0k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      I’m going to guess you’re running ubuntu?

      There’s two places you’ll need to change in that case.

      First as you’re all well aware is /etc/php5/apache2/php.ini

      Second is /etc/php5/cli/php.ini

      Don’t ask me why, that’s how they decided to do it.

      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
      • Boyan BiandovB
        Boyan Biandov
        last edited by

        Yes Ubuntu and yes both placed were updated…any other ideas?

        1 Reply Last reply Reply Quote 0
        • W
          Wolfbane8653 Developer
          last edited by

          After the update did you restart the apache2 service?

          1 Reply Last reply Reply Quote 0
          • Boyan BiandovB
            Boyan Biandov
            last edited by

            Yep I did; but here is what actually worked for me. I had to restart the FOG services in order for the log to start updating with the correct time zone

            [CODE]boyan@fog4:/etc/php5/cli$ sudo service FOGScheduler restart

            • Restarting FOG Computer Imaging Solution: FOGScheduler [ OK ]
              boyan@fog4:/etc/php5/cli$ sudo service FOGMulticastManager restart
            • Restarting FOG Computer Imaging Solution: FOGMulticastManager [ OK ]
              boyan@fog4:/etc/php5/cli$ sudo service FOGImageReplicator restart
            • Restarting FOG Computer Imaging Solution: FOGImageReplicator [ OK ]
              boyan@fog4:/etc/php5/cli$
              [/CODE]

            Now all is good as expected:

            [CODE][02-07-15 8:51:18 am] * Starting FOG Multicast Manager Service
            [02-07-15 8:51:23 am] * Checking for new tasks every 10 seconds.
            [02-07-15 8:51:23 am] * Starting service loop.
            [02-07-15 8:51:23 am] * No tasks found!
            [02-07-15 8:51:33 am] * No tasks found!
            [02-07-15 8:51:43 am] * No tasks found![/CODE]

            1 Reply Last reply Reply Quote 0
            • W
              Wolfbane8653 Developer
              last edited by

              For future reference:
              If your time is off please check your timezone located in these two files(ubuntu):
              [CODE]/etc/php5/apache2/php.ini
              /etc/php5/cli/php.ini[/CODE]

              Then restart apache2 and Fog Services (or reboot entire server):
              [CODE]sudo service apache2 restart
              sudo service FOGMulticastManager restart
              sudo service FOGTaskScheduler restart
              sudo service FOGImageReplicator restart
              sudo service FOGSnapinReplicator restart
              [/CODE]

              As a result of this “issue” coming up so often please see [url]http://fogproject.org/wiki/index.php/Time_off[/url] for other details.

              1 Reply Last reply Reply Quote 0
              • Joseph HalesJ
                Joseph Hales Testers
                last edited by

                This pops up a bit maybe add it to the wiki?

                RTFM

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

                  It’s already there

                  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
                  • Joseph HalesJ
                    Joseph Hales Testers
                    last edited by

                    Ok I obviously need more caffeine I should have seen that.

                    RTFM

                    1 Reply Last reply Reply Quote 0
                    • W
                      Wolfbane8653 Developer
                      last edited by

                      hehehehehe :rolleyes:

                      1 Reply Last reply Reply Quote 0
                      • cassie_280C
                        cassie_280
                        last edited by

                        Do I have to change the time in the storage nodes as well or do they pull from the FOG Server?

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

                          For the FOG Services to work properly, only the nodes that are masters should require it. Other than that everything else should be good to go.

                          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
                          • ?
                            A Former User
                            last edited by

                            I don’t know how much of a pain in the ass it would be to implement, but could the time-zone settings be added either to the Web interface or at least the installation script? Manually editing system files just to correct the time zone seems a little much for the average user, but that’s just my opinion.

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

                              [quote=“loosus456, post: 43874, member: 26317”]I don’t know how much of a pain in the ass it would be to implement, but could the time-zone settings be added either to the Web interface or at least the installation script? Manually editing system files just to correct the time zone seems a little much for the average user, but that’s just my opinion.[/quote]

                              Web interface now has this support. It will use the UTC setting if no time is set. If php.ini timezone is set, it will use this as its timezone, otherwise it will use whatever you select.

                              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
                              • 1 / 1
                              • First post
                                Last post

                              156

                              Online

                              12.1k

                              Users

                              17.3k

                              Topics

                              155.4k

                              Posts
                              Copyright © 2012-2024 FOG Project