@Sebastian-Roth
Ok, Thank you for the help. I will have to research snapins some more. It seems the issue for this post has been resolved. So I will mark that post as the answer. If I have anymore problems I will make a new post.
Posts made by xburnerx00
-
RE: Snapin server not found 503 error
-
RE: Snapin server not found 503 error
@Sebastian-Roth
This seems to have worked but the snapin did not execute correctly. The notification from the fog client popped up on the lower right corner of the host saying the task is happening and then it completed, but neither the application was installed and the internet shortcut on the desktop was not placed. I more than likely created the snapins incorrectly, since this is my first time creating them. Can you offer some guidance on that? -
RE: Snapin server not found 503 error
@Sebastian-Roth I went to check the file size of the snapin and that opened a new set of issues. First, I checked on the FOG server itself at /opt/fog/snapins and to my surprise the zip file was at 0 mb size. Then I went to the web interface and checked the properties of the snapin under the ‘info’ tab and it also showed a filesize of 0 also. So, it seems the .zip file never uploaded correctly and I never noticed it.
So, I created a new snap in. In the pics (link text) it shows the program I want and the batch command to execute to install the program. Also included the snapin set up in the FOG web interface. After creating the snapin, I check that there is now a snapin on the server with 48.3 file size and on the web interface it has 46.08 filesize. I try pushing the snapin to the host again, and it still has the same problems. I checked error logs and it’s same errors I posted earlier.
I then did your idea of creating a smaller snapin. I created a ‘install internet shortcut on desktop’. But it still came back with the same error of the previous logs sent.
-
RE: Snapin server not found 503 error
@Sebastian-Roth
I created a new snapin and ran the command to see the log files live. Only one update to the log came through and I was pressing Enter the whole time.
link textThe task seemed to take a bit longer than before, but eventually the host machine did pick up the .zip file, but did not download the contents.
-
RE: USB nic general problems
I am completely new to FOG and I am just throwing ideas out there, but your problem made me realize that I am going to have the same problem in a few months. Our district is starting to purchase laptops and they also do not have NIC ports and we will have to use USB NICs.
In fog 1.5.5, it seems like you can go to the host machine listed in the web ui and change the primary mac address along with the options Ignore Mac on Client and Ignore Mac on Image. Again, just an idea, but try changing the mac to the wireless mac on the laptop and then reinstall the client on the machines. It is extra work, but this may solve your problem.
Your problem also reminds why I do certain things separately. It sounds like you are trying to image and then add the machine to AD all in one session. I know it is extra work, but I always image and then add the machines to AD manually after. It is a pain for me to do, but in the end, I know everything is working.
-
RE: Snapin server not found 503 error
@Sebastian-Roth
These are the four error logs that were found in/var/log/php-fpm directory:
link textLinux OS:
CentOS Linux release 7.6.1810 (Core)I do not know if it matters, but this machine is on real hardware, it is not a virtual machine. Hardware is a standard HP Pro 3500 series.
-
RE: Snapin server not found 503 error
Thanks for the reply
I checked the log files that were in your signature. httpd error log was showing this:
link textI noticed at the 14:12:29 time stamp that the FQDN on the server could not be determined. I added servername to the httpd.conf file, and that error seems to have gone away. I then tried again running snapin at 14:50:00 and the pic posted shows the error at 14:51:51. The FOG log file on the host machine is the same error, that I posted in my original post, just different timestamps. My snapin is still not being downloaded to the host machine.
Also, I do not know if it’s relevant but I have a red circle with a white ‘!’ on the host management list in the web gui saying “No such device or address”. I looked in to other posts for a fix on this but the replies made it sound like the red circle is not important to the over all function of FOG.
-
Snapin server not found 503 error
I am new to using FOG and Linux. I successfully pulled and pushed an image and now I am experimenting with snapins. I think I am creating my first snapin correctly, but it seems that it’s not being executed correctly on the host machine. I created the snapin following the instructions, from user “jeffsays” from this post:
https://forums.fogproject.org/topic/12314/snapin-packs
I have the install.cmd and the .exe file in the zip file. I know the install.cmd file works correctly because I tested it out on my computer by double clicking and it installed the program silently and correctly. I created the snapin with these options:
template: batch file
snapin pack file: cmd.exe
snapin pack arguments: /c “[FOG_SNAPIN_PATH]\install.cmd”I successfully upload my .zip file to the fog server, I know this because the web manager says it was uploaded successfully and the .zip is located at /opt/fog/snapins directory on the server. I associate the snapin to the host and create the task. The task goes into queue and the .zip file shows up in the temp folder for the FOG client on the host machine (see pic 1).
link textAgain, I am new to this but I think what is supposed to happen here is that the .zip is downloaded to the temp folder, extracted and the install.cmd is run. But the .zip size stays at 0 kb size. I go to the log file and an error is occurring (see pic 2).
link textThis is where I am stuck at. I tried searching the FOG forums and using my google-fu but no helpful results came up, unless I missed something.
Host Machine: Windows 10 Local administrator account
FOG version: 1.5.5
Server: CentOS linux 7Thanks