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

Snapin downloads

Scheduled Pinned Locked Moved
FOG Problems
3
16
4.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.
  • J
    Junkhacker Developer
    last edited by Jul 23, 2014, 7:02 PM

    i assume that this is a .bat file
    make sure that a space or carriage return follows the last command in the file.

    signature:
    Junkhacker
    We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

    1 Reply Last reply Reply Quote 0
    • R
      Roger Saffle
      last edited by Jul 23, 2014, 7:13 PM

      yes it is a bat file. It did not have a carriage return. Trying again now.

      1 Reply Last reply Reply Quote 0
      • R
        Roger Saffle
        last edited by Jul 23, 2014, 7:27 PM

        I put a carriage return at the end of the file. Same results. Last line says
        Starting Fog Snapin Installation
        and nothing after that.

        1 Reply Last reply Reply Quote 0
        • J
          Junkhacker Developer
          last edited by Jul 23, 2014, 7:31 PM

          when you installed the client service, did you “run as administrator” to install it? did you install for all users?

          signature:
          Junkhacker
          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

          1 Reply Last reply Reply Quote 0
          • R
            Roger Saffle
            last edited by Jul 23, 2014, 7:32 PM

            I believe we did both. The client does work to rename the PC and to deploy printers.

            1 Reply Last reply Reply Quote 0
            • J
              Junkhacker Developer
              last edited by Jul 23, 2014, 7:36 PM

              after you edited the file, did you try uploading it with the same name as before? if so, it’s likely that it didn’t upload at all as the the web server doesn’t have rights to overwrite files in that directory.

              signature:
              Junkhacker
              We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

              1 Reply Last reply Reply Quote 0
              • R
                Roger Saffle
                last edited by Jul 23, 2014, 7:52 PM

                No, I gave it a new name.

                1 Reply Last reply Reply Quote 0
                • J
                  Junkhacker Developer
                  last edited by Jul 23, 2014, 8:50 PM

                  i’m not sure why it’s not working then
                  the following is what i use as a test snapin
                  [CODE]@echo off
                  echo “HELLO I INSTALLED SNAPIN1 ON MY SYSTEM” > C:\installedSnapin1.txt
                  [/CODE]

                  signature:
                  Junkhacker
                  We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                  1 Reply Last reply Reply Quote 0
                  • R
                    Roger Saffle
                    last edited by Jul 23, 2014, 9:15 PM

                    Me either. Does this look right (see attached img) ?

                    also my scrip is simply

                    cd
                    ipconfig /all >c:\ip.txt

                    [url=“/_imported_xf_attachments/1/1197_Capture.JPG?:”]Capture.JPG[/url]

                    1 Reply Last reply Reply Quote 0
                    • R
                      Roger Saffle
                      last edited by Jul 24, 2014, 3:19 AM

                      I tried it on my home fog server. Got the same issue. Least I consistently fail. Here is the fog.log
                      [CODE]7/23/2014 11:08 PM FOG::ClientUpdater Client update process complete, exiting…
                      7/23/2014 11:11 PM FOG::SnapinClient Attempting to connect to fog server…
                      7/23/2014 11:11 PM FOG::SnapinClient Module is active…
                      7/23/2014 11:11 PM FOG::SnapinClient Snapin Found:
                      7/23/2014 11:11 PM FOG::SnapinClient ID: 1
                      7/23/2014 11:11 PM FOG::SnapinClient RunWith: c:\windows\system32\cmd.exe
                      7/23/2014 11:11 PM FOG::SnapinClient RunWithArgs:
                      7/23/2014 11:11 PM FOG::SnapinClient Name: IPV1
                      7/23/2014 11:11 PM FOG::SnapinClient Created: 2014-07-24 03:01:34
                      7/23/2014 11:11 PM FOG::SnapinClient Args:
                      7/23/2014 11:11 PM FOG::SnapinClient Reboot: No
                      7/23/2014 11:11 PM FOG::SnapinClient Starting FOG Snapin Download
                      7/23/2014 11:11 PM FOG::SnapinClient Download complete.
                      7/23/2014 11:11 PM FOG::SnapinClient Starting FOG Snapin Installation.[/CODE]

                      1 Reply Last reply Reply Quote 0
                      • R
                        Roger Saffle
                        last edited by Jul 24, 2014, 4:07 AM

                        HOLY @#$%@$# I got it to work. i added the /c in the argument parameters. I will try to duplicate tomorrow and report back.

                        1 Reply Last reply Reply Quote 0
                        • R
                          Roger Saffle
                          last edited by Jul 24, 2014, 8:55 PM

                          yep have to add the /c in the “snapin run with arguments” box . It is not optional.

                          1 Reply Last reply Reply Quote 0
                          • T
                            Tom Elliott
                            last edited by Jul 24, 2014, 9:12 PM

                            What if you remove the /c argument AND the run with cmd.exe argument?

                            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
                            • R
                              Roger Saffle
                              last edited by Jul 24, 2014, 9:30 PM

                              I think it fails with the same above error. I will verify tonite. Thanks again for your time and effort.

                              1 Reply Last reply Reply Quote 0
                              • R
                                Roger Saffle
                                last edited by Jul 24, 2014, 11:55 PM

                                Tom,
                                If I left those two fields blank, the snapin seems to run just fine.

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                1 / 1
                                • First post
                                  11/16
                                  Last post

                                232

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project