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

Unable to add new snapin

Scheduled Pinned Locked Moved Solved
FOG Problems
5
24
6.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.
  • W
    Wayne Workman @theWizard
    last edited by Nov 16, 2016, 2:30 PM

    @theWizard Are there any apache errors immediately after trying? Web Interface -> FOG Configuration -> Log Viewer -> Apache errors

    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/

    T 1 Reply Last reply Nov 16, 2016, 2:42 PM Reply Quote 0
    • T
      theWizard @Wayne Workman
      last edited by Nov 16, 2016, 2:42 PM

      @Wayne-Workman I tried to check in gui but fog is not reporting any it just says no logs found for any logs.

      W 1 Reply Last reply Nov 16, 2016, 2:51 PM Reply Quote 0
      • W
        Wayne Workman @theWizard
        last edited by Nov 16, 2016, 2:51 PM

        @theWizard Can you give me the output of these two commands please?
        ls -laht /opt/fog/log
        ls -laht /

        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/

        T 1 Reply Last reply Nov 16, 2016, 3:06 PM Reply Quote 0
        • T
          theWizard @Wayne Workman
          last edited by Wayne Workman Nov 16, 2016, 9:40 AM Nov 16, 2016, 3:06 PM

          @Wayne-Workman said in Unable to add new snapin:

          > ls -laht /opt/fog/log
          total 8.0K
          drwxrwxrwx 2 fog www-data 4.0K Nov 16 14:37 .
          drwxrwxrwx 6 fog www-data 4.0K Nov 15 15:47 ..
          > ls -laht /
          total 132K
          drwxrwxrwt   6 root root     4.0K Nov 16 15:10 tmp
          drwxr-xr-x 137 root root      12K Nov 16 14:18 etc
          drwxr-xr-x  32 root root     1.1K Nov 15 16:03 run
          drwxr-xr-x   6 root root     4.0K Nov 15 15:47 tftpboot.prev
          drwxr-xr-x  27 root root     4.0K Nov 15 15:47 .
          drwxr-xr-x  27 root root     4.0K Nov 15 15:47 ..
          drwxr-xr-x  12 root root     4.0K Nov 15 15:45 home
          drwxr-xr-x  17 root root     4.4K Nov 11 08:42 dev
          dr-xr-xr-x  13 root root        0 Nov 11 08:41 sys
          dr-xr-xr-x 274 root root        0 Nov 11 08:41 proc
          -rw-r--r--   1 root root       41 Nov  7 14:47 fogscheduler.log
          -rw-r--r--   1 root root       56 Nov  7 14:40 fogsnapinrep.log
          drwxr-xr-x   2 root root     4.0K Nov  3 10:57 bin
          drwxr-xr-x   3 root root     4.0K Nov  3 10:56 boot
          lrwxrwxrwx   1 root root       29 Nov  3 10:55 vmlinuz -> boot/vmlinuz-4.4.0-45-generic
          lrwxrwxrwx   1 root root       32 Nov  3 10:55 initrd.img -> boot/initrd.img-4.4.0-45-generic
          drwxr-xr-x   6 fog  root     4.0K Oct 24 15:39 tftpboot
          drwxr-xr-x  48 fog  www-data 4.0K Oct 24 11:26 images
          lrwxrwxrwx   1 root root       29 Sep 29 16:08 vmlinuz.old -> boot/vmlinuz-4.4.0-38-generic
          lrwxrwxrwx   1 root root       32 Sep 29 16:08 initrd.img.old -> boot/initrd.img-4.4.0-38-generic
          drwxr-xr-x   2 root root      12K Sep 28 15:46 sbin
          drwx------   6 root root     4.0K Sep  8 11:01 root
          -rw-r--r--   1 root root     2.3K Sep  8 11:00 webmin-setup.out
          drwxr-xr-x  15 root root     4.0K Sep  8 10:59 var
          drwxrwxrwx  11 root www-data 4.0K Aug 17 10:54 svn
          drwxr-xr-x  23 root root     4.0K Aug  1 10:38 lib
          drwxr-xr-x   2 root root     4.0K Aug  1 10:34 lib64
          drwxr-xr-x   3 root root     4.0K Mar 23  2016 mnt
          drwxr-xr-x   3 root root     4.0K Mar 23  2016 media
          drwxr-xr-x   3 root root     4.0K Mar 23  2016 opt
          drwxr-xr-x   3 root root     4.0K Mar 23  2016 srv
          drwxrwxr-x   2 root root     4.0K Mar 23  2016 cdrom
          drwx------   2 root root      16K Mar 23  2016 lost+found
          drwxr-xr-x  10 root root     4.0K Feb 17  2016 usr
          
          T 1 Reply Last reply Nov 16, 2016, 3:32 PM Reply Quote 0
          • T
            theWizard @theWizard
            last edited by Nov 16, 2016, 3:32 PM

            @Wayne-Workman Also tried re running the installer but no change, any ideas ?

            W 1 Reply Last reply Nov 16, 2016, 3:36 PM Reply Quote 0
            • W
              Wayne Workman @theWizard
              last edited by Nov 16, 2016, 3:36 PM

              @theWizard Yes, I have ideas. I need to talk with Tom first about it.

              @Tom-Elliott This is a case where the logs are going to the / directory instead of /opt/fog/log due to DB connectivity issues. What do we do? I suspect this is probably related to being unable to create a new snapin somehow 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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              T 1 Reply Last reply Nov 16, 2016, 3:39 PM Reply Quote 0
              • T
                Tom Elliott @Wayne Workman
                last edited by Nov 16, 2016, 3:39 PM

                @Wayne-Workman Look at the date of the files.

                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

                W 1 Reply Last reply Nov 16, 2016, 3:39 PM Reply Quote 0
                • W
                  Wayne Workman @Tom Elliott
                  last edited by Nov 16, 2016, 3:39 PM

                  @Tom-Elliott November 7th. Last week.

                  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/

                  T 1 Reply Last reply Nov 16, 2016, 3:41 PM Reply Quote 0
                  • T
                    Tom Elliott @Wayne Workman
                    last edited by Nov 16, 2016, 3:41 PM

                    @Wayne-Workman Precisely.

                    The guess I have? PHP FPM is the issue, why, because last week we switched the ondrej stuff becuase they changed.

                    But again, this is not a bug in FOG. This is a change in OS and Repo structure which is already “corrected” for.

                    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 1
                    • W
                      Wayne Workman @theWizard
                      last edited by Wayne Workman Nov 16, 2016, 9:46 AM Nov 16, 2016, 3:45 PM

                      @theWizard Try to uninstall the old php-fpm version, and then install the newer version, and then give the server a reboot.

                      apt-get remove php5-fpm -y
                      apt-get install php5.6-fpm -y

                      Also, topic has been moved to FOG Problems.

                      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/

                      T 1 Reply Last reply Nov 16, 2016, 4:00 PM Reply Quote 0
                      • T
                        theWizard @Wayne Workman
                        last edited by Nov 16, 2016, 4:00 PM

                        @Wayne-Workman Ok followed your steps and checked again, same result for both logs and snapins. If i try re running the installer it fails on installing php-fpm ( i assume the old one ? ).

                        T 1 Reply Last reply Nov 16, 2016, 4:03 PM Reply Quote 0
                        • T
                          Tom Elliott @theWizard
                          last edited by Nov 16, 2016, 4:03 PM

                          @theWizard Are you using git or svn for installation?

                          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

                          T 1 Reply Last reply Nov 16, 2016, 4:03 PM Reply Quote 0
                          • T
                            theWizard @Tom Elliott
                            last edited by Nov 16, 2016, 4:03 PM

                            @Tom-Elliott Attempted svn but have both available if needed.

                            1 Reply Last reply Reply Quote 0
                            • T
                              Tom Elliott
                              last edited by Nov 18, 2016, 12:07 PM

                              Worked with @theWizard yesterday via remote session.

                              Found that the snapins were being uploaded to another storage node. That storage node /opt/fog/snapins folder had incorrect permissions on it.

                              Fixed the permissions and confirmed the working on working-RC-24. I’m solving this thread.

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

                              211

                              Online

                              12.2k

                              Users

                              17.3k

                              Topics

                              155.5k

                              Posts
                              Copyright © 2012-2024 FOG Project