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

    No Log Files r4914 Version: 6517

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    41
    12.4k
    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.
    • Raymond BellR
      Raymond Bell Testers @Wayne Workman
      last edited by

      @Wayne-Workman Yes o have went through everything and made default username and pass
      same as login on all. has been that way since .32

      Raymond Bell
      WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

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

        @Raymond-Bell while I realize you can’t see the logs on the GUI, the master nodes logs should contain relevant information. Can you tail the log from a shell and paste the contents here?

        There should be a log file for each node the server is replicating too.

        The logs are located on the server in /opt/fog/log

        The main service log should be named fogreplicator.log.

        The nodes transfer logs should be in the format fogreplicator.log.transfer.<nodename>.log.

        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

        Raymond BellR 2 Replies Last reply Reply Quote 0
        • Raymond BellR
          Raymond Bell Testers @Tom Elliott
          last edited by

          @Tom-Elliott Thats funny the log folder is empty on the storage nodes. And i know they where there about 8 r back

          Raymond Bell
          WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

          1 Reply Last reply Reply Quote 0
          • Raymond BellR
            Raymond Bell Testers @Tom Elliott
            last edited by

            @Tom-Elliott Do you think i should do a first install on both storage nodes? with
            sudo mv /opt/fog/.fogsettings /opt/fog/fogsettings-firstInstall

            Raymond Bell
            WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

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

              @Raymond-Bell what about the service master log?

              Run tail -100f /opt/fog/log/servicemaster.log

              Does it continue to loop?

              Can you restart the FOGImageReplicator service?

              I’m only guessing but Ubuntu 12.04 is quite old, is this the OS on the nodes?

              What’s the php version you’re running? php -v

              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

              Raymond BellR Tom ElliottT 2 Replies Last reply Reply Quote 0
              • Raymond BellR
                Raymond Bell Testers @Tom Elliott
                last edited by

                @Tom-Elliott
                fog@FogNode3-K2:~$ tail -100f /opt/fog/log/servicemaster.log
                tail: cannot open `/opt/fog/log/servicemaster.log’ for reading: No such file or directory
                ON BOTH NODES

                Restarted FOGImageReplicator service

                Yes 12.04 (should i upgrade them to the latest? )

                fog@JH-fog-storage:~$ php -v
                PHP 5.6.18-1+deb.sury.org~precise+1 (cli)
                Copyright © 1997-2016 The PHP Group
                Zend Engine v2.6.0, Copyright © 1998-2016 Zend Technologies
                with Zend OPcache v7.0.6-dev, Copyright © 1999-2016, by Zend Technologies
                ON BOTH NODES

                Raymond Bell
                WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

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

                  All of these steps should be from the master node not the other nodes as well.

                  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

                  Raymond BellR 1 Reply Last reply Reply Quote 0
                  • Raymond BellR
                    Raymond Bell Testers @Tom Elliott
                    last edited by

                    @Tom-Elliott said:

                    All of these steps should be from the master node not the other nodes as well.

                    I ran on both the Master and the other node same results

                    Raymond Bell
                    WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                    Tom ElliottT 2 Replies Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @Raymond Bell
                      last edited by

                      @Raymond-Bell is there any errors in the Apache error logs?

                      This should be at /var/log/apache2/error.log

                      Maybe there’s something showing a bunch of errors.

                      I have another theory I can try but it will be tomorrow as I can’t use my computer right now.

                      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

                      Raymond BellR 1 Reply Last reply Reply Quote 0
                      • Raymond BellR
                        Raymond Bell Testers @Tom Elliott
                        last edited by

                        @Tom-Elliott
                        Yes on the Master Node

                        And i will work on it some more tomorrow…

                        [Tue Mar 01 19:12:49.296118 2016] [:error] [pid 14800] [client 10.24.28.18:50081] PHP Warning:  mysqli::query(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 52
                        [Tue Mar 01 19:12:49.296772 2016] [:error] [pid 14800] [client 10.24.28.18:50081] PHP Warning:  mysqli::select_db(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 40
                        [Tue Mar 01 19:12:49.296808 2016] [:error] [pid 14800] [client 10.24.28.18:50081] PHP Warning:  mysqli::query(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 52
                        [Tue Mar 01 19:12:49.297457 2016] [:error] [pid 14800] [client 10.24.28.18:50081] PHP Warning:  mysqli::select_db(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 40
                        [Tue Mar 01 19:12:49.297491 2016] [:error] [pid 14800] [client 10.24.28.18:50081] PHP Warning:  mysqli::query(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 52
                        [Tue Mar 01 19:12:49.298141 2016] [:error] [pid 14800] [client 10.24.28.18:50081] PHP Warning:  mysqli::select_db(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 40
                        [Tue Mar 01 19:12:49.298174 2016] [:error] [pid 14800] [client 10.24.28.18:50081] PHP Warning:  mysqli::query(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 52
                        [Tue Mar 01 19:12:49.298819 2016] [:error] [pid 14800] [client 10.24.28.18:50081] PHP Warning:  mysqli::select_db(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 40
                        [Tue Mar 01 19:12:49.298851 2016] [:error] [pid 14800] [client 10.24.28.18:50081] PHP Warning:  mysqli::query(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 52```

                        Raymond Bell
                        WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

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

                          @Raymond-Bell when restarting the image replicator service, can you just do it with stop and start instead of just restart?

                          Maybe first get some output ps -ef | grep FOG

                          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

                          Raymond BellR 1 Reply Last reply Reply Quote 0
                          • Raymond BellR
                            Raymond Bell Testers @Tom Elliott
                            last edited by

                            @Tom-Elliott said:

                            @Raymond-Bell when restarting the image replicator service, can you just do it with stop and start instead of just restart?

                            Maybe first get some output ps -ef | grep FOG

                            I do it with stop / start I never use restart

                            Raymond Bell
                            WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

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

                              @Raymond-Bell more info gathering: does the image you uploaded exist on the other node

                              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

                              Raymond BellR 1 Reply Last reply Reply Quote 0
                              • Raymond BellR
                                Raymond Bell Testers @Tom Elliott
                                last edited by

                                @Tom-Elliott said:

                                @Raymond-Bell more info gathering: does the image you uploaded exist on the other node

                                No i have to ftp download it to drive and upload it to the other node. And it worked fine before the update

                                Raymond Bell
                                WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                                Tom ElliottT Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott @Raymond Bell
                                  last edited by

                                  @Raymond-Bell what were you on before you updated?

                                  Could you run a mkdir for the image folder name on the receiving nodes? Ensure the /images folder is chowned for the fog user recursively and chmod 777 recursively? Then restart fogimagereplicator again?

                                  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

                                  Raymond BellR 1 Reply Last reply Reply Quote 0
                                  • Wayne WorkmanW
                                    Wayne Workman @Raymond Bell
                                    last edited by

                                    @Raymond-Bell said:

                                    No i have to ftp download it to drive and upload it to the other node. And it worked fine before the update

                                    I have just confirmed that the replication service works without any changes in the latest trunk.

                                    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
                                    • Raymond BellR
                                      Raymond Bell Testers @Tom Elliott
                                      last edited by

                                      @Tom-Elliott
                                      So i spent all day installing new fog server Ubuntu 14.04 / Fog 1.2.0 / then updated to latest SVN
                                      Same on a new storage node…

                                      Import database (had to change size in php.ini to 200MB) but got it imported and all stuff is the

                                      Uploaded a Image from backup drive i had it on, made sure name and eveything was the same, made sure all passwords matched

                                      tried to deploy image and i get this again

                                      0_1456951467663_Deploy Error Fog.png

                                      Raymond Bell
                                      WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Sebastian Roth Moderator
                                        last edited by

                                        @Raymond-Bell Checked the image settings? Does the image show up (size on server?). And is the image properly configured for the host you are trying to deploy?

                                        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

                                        Raymond BellR 1 Reply Last reply Reply Quote 1
                                        • Raymond BellR
                                          Raymond Bell Testers @Sebastian Roth
                                          last edited by

                                          @Sebastian-Roth Yes it shows size And yes i have used this image on this host many times.

                                          Raymond Bell
                                          WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                                          1 Reply Last reply Reply Quote 0
                                          • Raymond BellR
                                            Raymond Bell Testers
                                            last edited by

                                            I created a new image via web and i am uploading it now called it test 3-2-16
                                            Going to try to deploy it when i get done uploading this one let you know

                                            Raymond Bell
                                            WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

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

                                            188

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.4k

                                            Posts
                                            Copyright © 2012-2024 FOG Project