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

    Snapin client Failed to find snapin file

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    9
    1.9k
    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.
    • robzaR
      robza
      last edited by

      Hello,
      fog svn 6971
      I have problems with deploying snapins.

      ---------------------------------SnapinClient---------------------------------
      ------------------------------------------------------------------------------
       2016-03-29 08:47 Client-Info Version: 0.9.12
       2016-03-29 08:47 SnapinClient Running...
       2016-03-29 08:47 Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=snapinclient&mac=08:00:27:86:B7:05||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1
       2016-03-29 08:47 Middleware::Communication Response: Success
       2016-03-29 08:47 Middleware::Communication URL: http://fog-server/fog/service/snapins.checkin.php?mac=08:00:27:86:B7:05||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1
       2016-03-29 08:47 Middleware::Communication Unknown Response: Failed to find snapin file
      
      

      My fog ftp pass is correct (and there is no “/” character in pass), I can log in to ftp server but problem is that fog user logs to /home/fog instead /opt/fog/snapins
      0_1459234779050_fogftp.png
      My question how to force fog user to log to directory where are stored snapins?
      Any help appreciated.
      Regards

      1 Reply Last reply Reply Quote 0
      • Q
        Quazz Moderator
        last edited by

        Hi, there should be a field at your Storage Node that asks you to specify the snapin folder location.

        1 Reply Last reply Reply Quote 0
        • robzaR
          robza
          last edited by

          Hi,
          in storage management path is set to /opt/fog/snapins
          0_1459238526986_fogstorage.png

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

            @robza Please try ftp via command line client again and get a directory listing:

            230 Login successful.
            Remote system type is UNIX.
            Using binary mode to transfer files.
            ftp> cd /opt/fog/snapins
            250 Directory successfully changed.
            ftp> ls
            200 PORT command successful. Consider using PASV.
            150 Here comes the directory listing.
            -rwxrwxr-x    1 1001     33            431 Mar 22 11:03 lbe.bat
            drwxrwxr-x    3 1001     33           4096 Feb 25 13:00 ssl
            226 Directory send OK.
            ftp> 
            

            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

            robzaR 1 Reply Last reply Reply Quote 0
            • robzaR
              robza @Sebastian Roth
              last edited by

              @Sebastian-Roth I can get to /opt/fog/snapins and listing, below screen:
              0_1459247644103_fogsnapins.png
              Permissions:
              1000-fog
              48-apache
              Regards

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

                @robza Is it only a problem on specific files? Or all your snapins are having the same issue?

                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

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

                  @robza And maybe show us a screenshot of the snapin configuration that fails (if it’s just one particular!).

                  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

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

                    @Tom-Elliott Tom I’ve checked on different snapin, and this one was installed without issues.

                    1 Reply Last reply Reply Quote 0
                    • robzaR
                      robza @Sebastian Roth
                      last edited by

                      @Sebastian-Roth thanks for suggestion, there was a problem with snapin configuration. In field “Snapin File (exists)” was “Please select an option”
                      Thanks once again
                      Regards

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

                      163

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project