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

    Log files missing r5096 v6895

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    36
    10.6k
    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 @Tom Elliott
      last edited by

      @Tom-Elliott

      fog@fog-GX620-K2:~$ sudo service FOGImageReplicator restart
      [sudo] password for fog:
       * Restarting FOG Computer Imaging Solution: FOGImageReplicator          [ OK ]
      fog@fog-GX620-K2:~$
      
      
      
      

      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 Does a file get created in /var/log/fog or /opt/fog/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 1 Reply Last reply Reply Quote 0
        • Raymond BellR
          Raymond Bell Testers @Tom Elliott
          last edited by

          @Tom-Elliott said:

          @Raymond-Bell Does a file get created in /var/log/fog or /opt/fog/log?

          No files in either location

          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 can you change the ownership of /opt/fog/ to:

            sudo chown -R fog:apache2 /opt/fog

            Then try restarting the services? (For now just do sudo service FOGImageReplicator stop; sleep 2; sudo service FOGImageReplicator start

            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

              fog@fog-GX620-K2:~$ sudo chown -R fog:apache2 /opt/fog
              chown: invalid group: ‘fog:apache2’
              fog@fog-GX620-K2:~$
              

              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 sudo chown -R fog:www-data /opt/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
                  Still no files in either location

                  fog@fog-GX620-K2:~$ sudo chown -R fog:www-data /opt/fog/
                  fog@fog-GX620-K2:~$ sudo service FOGImageReplicator stop; sleep 2; sudo service FOGImageReplicator start
                   * Stopping FOG Computer Imaging Solution: FOGImageReplicator            [ OK ]
                   * Starting FOG Computer Imaging Solution: FOGImageReplicator            [ OK ]
                  fog@fog-GX620-K2:~$
                  
                  

                  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 /opt/fog/log is the same location as /var/log/fog (they’re just a link to one another.

                    Is it possible for you to try sudoing up to root (sudo -i) then try restarting the FOGImageReplicator?

                    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

                      I did and still no files

                      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

                        Than you may have to touch the files first.

                        sudo touch /opt/fog/log/{mulicast,fogsnaprep,fogscheduler,fogreplicator,pinghosts}.log
                        sudo service FOGImageReplicator restart
                        sudo service FOGScheduler restart
                        sudo service FOGSnapinReplicator restart
                        sudo service FOGPingHosts restart
                        sudo service FOGMulticastManager restart
                        

                        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

                          That worked. I can see the files now on the master node…

                          Do i need to do this on slave node?

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

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

                            @Tom-Elliott
                            0_1458663774788_Fog Log Files There gui.png

                            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 Do they actually have data 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

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

                                @Tom-Elliott

                                NO no data and still IP error

                                0_1458663974270_IP Passed Error Fog logs.png

                                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

                                  what version are you currently running?

                                  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
                                  • Tom ElliottT
                                    Tom Elliott
                                    last edited by

                                    What I mean by data (not that you don’t know how or anything), but if you run cat /opt/fog/log/fogreplicator.log is there anything output?

                                    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
                                      r5102 v6907

                                      root@fog-GX620-K2:~# cat /opt/fog/log/fogreplicator.log
                                      root@fog-GX620-K2:~#
                                      

                                      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
                                        the ownership of the files are set to root also i see do i need to change that to owner fog?

                                        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 You can try it, but I doubt it will work.

                                          Do you have /var/www/fog and /var/www/html/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

                                            fog@fog-GX620-K2:~$ cd /var/www/fog
                                            fog@fog-GX620-K2:/var/www/fog$ ls
                                            client   favicon.ico  fogdoc     lib         mobile   status
                                            commons  fog          index.php  management  service
                                            fog@fog-GX620-K2:/var/www/fog$ cd
                                            fog@fog-GX620-K2:~$ cd /var/www/html/fog
                                            fog@fog-GX620-K2:/var/www/html/fog$ ls
                                            client   favicon.ico  fogdoc     lib         mobile   status
                                            commons  fog          index.php  management  service
                                            fog@fog-GX620-K2:/var/www/html/fog$
                                            

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

                                            Tom ElliottT 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post

                                            165

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.4k

                                            Posts
                                            Copyright © 2012-2024 FOG Project