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

    Snapin unable to deploy

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    7
    27
    12.7k
    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.
    • ch3iC
      ch3i Moderator @Hanz
      last edited by

      @Hanz Hi, can you provide more informations ? like the snapin configuration (a screenshot of web UI)

      1 Reply Last reply Reply Quote 0
      • H
        Hanz
        last edited by

        upload-3ccee273-30c6-4de5-b3c6-ae7c643542cf

        I’m afraid there’s not much to see here…The Server config has /opt/fog/snapins as snapin directory, all IP addresses are correct, /opt/fog/snapins on server is (owner-fog:apache chmod to 777) as shown below:

        [bcs@fog-server ~]$ cd /opt/fog/snapins
        [bcs@fog-server snapins]$ ls -la
        total 1324556
        drwsrwsr-x 4 fog apache 4096 Oct 22 12:53 .
        drwxr-xr-x 6 root root 4096 Oct 21 12:07 …
        drwsrwsrwx 2 fog apache 4096 Oct 16 09:25 CA
        -rwxrwxrwx 1 fog apache 307200 Oct 16 10:25 ninite.exe
        -rwxrwxrwx 1 fog apache 677099526 Oct 16 10:25 OfficeUninstall.exe
        -rwxrwxrwx 1 fog apache 6144 Oct 22 12:53 Repin.exe
        -rwxrwxrwx 1 fog apache 678899577 Oct 16 10:26 setup_silent.exe
        -rwxrwxrwx 1 fog apache 11 Oct 16 10:26 shutdown.bat
        drwsrwsrwx 2 fog apache 4096 Oct 16 09:25 ssl
        [bcs@fog-server snapins]$

        Is there a way to test this manually ?

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

          @Hanz the code operates as:

          Check if the file exists and is readable. It is done via ftp methods so if FTP is not correct this could be presented as well.

          Essentially, if either the file doesn’t exist or the file is not readable to the FTP user, it will NOT be able to send the file.

          I’d recommend verifying that the nodes that are expected to have the files actually have them, and that their ftp information is correct.

          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

          H 1 Reply Last reply Reply Quote 1
          • H
            Hanz @Tom Elliott
            last edited by

            @Hanz said All snapins are present, and permissions are correct…ftp shows “Index of /” (but nothing there)…Log Viewer is acting as though one of my other nodes is the server. With the Multicast, Scheduler information and so on. While the actual server still shows “no data to read”

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

              @Hanz said:

              …ftp shows “Index of /” (but nothing there)…

              Doesn’t really sound like FTP is working the way it shoudl?!?

              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
              • H
                Hanz
                last edited by

                Yeah, Another node has assumed the role of Server after being set up as server first then /opt/fog/.fogsettings changed to accomodate Storage node install.

                1 Reply Last reply Reply Quote 1
                • H
                  Hanz
                  last edited by

                  As I mentioned before in another thread relating to MYSQL error, All nodes under Log Viewer are showing results as though they’re servers. I’m confused as to why one node has decided to become the server…Where in the database is a node “declared” as the main server node ?

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

                    Master Nodes

                    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

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

                      @Tom-Elliott yes, all in their own groups, all show the following under Image/Snapin Replicator, but one node
                      “[10-23-15 11:15:39 am] * | This is not the master node” on everything except scheduler. My actual server shows “no data to read”

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

                        What I was answering is the systems who “register as servers” are those who are master nodes.

                        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

                        H 1 Reply Last reply Reply Quote 0
                        • H
                          Hanz
                          last edited by

                          FOG Configuration.docx

                          My Server “Fog-Server” is typically listed on this page, and it is not…kernel shows, but that’s it.

                          1 Reply Last reply Reply Quote 1
                          • H
                            Hanz @Tom Elliott
                            last edited by

                            @Tom-Elliott I was given an invalid random ftp password again from installer “/” character will error a lot of things out.

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

                              I don’t follow. The / should not error anything out. We are using single quote so there is no escaping of characters that should be happening.

                              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
                              • H
                                Hanz
                                last edited by

                                Sorry, they’re all master nodes, for each school, in it’s own group…I can only assume that the passwords were correct on all machines. Im 99% sure all nodes were double checked by removing and re-adding to .fogsettings then re-installing, and then fog user passwd updated, then GUI node password verified. The only thing I did was replace the “/” in the password with “1” and doing the afforementioned and it all worked correctly, immediately.

                                I think it might be worth looking into, since User passwords are mitigated to the eligible characters (could be global)

                                1 Reply Last reply Reply Quote 1
                                • H
                                  Hanz
                                  last edited by

                                  This thread can probably be closed now…I appreciate your gentlemen’s help. I think the ftp wasn’t working correctly as @Uncle-Frank mentioned. Snapins are now functioning correctly.

                                  1 Reply Last reply Reply Quote 1
                                  • M
                                    mp12
                                    last edited by

                                    Problem manually solved.
                                    I also had a generated password with a “/”. When I tried to deploy a snapin, it failed with the same error @Hanz described.
                                    A login with an an ftp-client redirected me into the users home directory. I changed “/” into a different character (passwd and GUI) and the ftp-client redirected me into /opt/fog/snapins.
                                    Snapins now work without an error!

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

                                      @mp12 so we should not allow passwords with slashes?

                                      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/

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        mp12 @Wayne Workman
                                        last edited by

                                        @Wayne-Workman maybe someone can reproduce the error, by creating a password with a “/” to eliminate individual mistakes from my site?

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

                                          @mp12 Do you think it could be possible that the password was simply set incorrectly somewhere and you resetting it fixed it? I think this is the most plausible reason why it was fixed.

                                          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/

                                          M 2 Replies Last reply Reply Quote 0
                                          • M
                                            mp12 @Wayne Workman
                                            last edited by

                                            @Wayne-Workman maybe. I’ll check this on monday.

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

                                            203

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project