@Sebastian-Roth & @george1421
Thank you for your help. Updated the kernel and inits the way you described it. Now the capture works.
Installed 1.5.4 on august 9th, as far as I can see.
Posts made by Tywyn
-
RE: Kernel update behind proxy & Problems with fixparts
-
RE: Kernel update behind proxy & Problems with fixparts
Back from vacation. Sorry for my late reply.
Tried it again. It seems, that fixparts is not in /usr/sbin.
So, is the kernel-update the thing I have to do? If yes:
I am not a experienced user of fog, so: Can I break something?Is Kernel - 4.18.3 TomElliot 64 the one to choose?
So I have to download it and where exactly do I have to put it?
One more question for my understanding: I captured other PCs without problems. If the fixparts is missing in the image, why was I able to capture the other PC-models? Or is fixparts only needed in debug mode?
Thanx for your help!
Rainer -
RE: Kernel update behind proxy & Problems with fixparts
Could some admin please change the subject of this thread to “Kernel update behind proxy & Problems with fixparts” ? Thank you
-
RE: Kernel update behind proxy & Problems with fixparts
@george1421
Well, in total we have 3 different models of computers with Windows 10, Fujitsu, HP and Bluechip.
Bluechip and Fujitsu can be captured meanwhile without problems.Reinstalled the HP with the default partition layout that comes with windows 10. There are 2 partitions. One with 549MB, system reserved, the other one is for C:.
EFI is disabled.During boot I see this error-message. Dunno whether it is relevant:
[Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x22 (or later)
Capture still fails with (sorry for the bad quality):
Your suggested debug steps are still not working, since fixparts is obviously not in the image.
-
RE: Kernel update behind proxy & Problems with fixparts
Will reinstall the OS on the host now and see, whether I can capture then … Results will be posted here on monday
-
RE: Kernel update behind proxy & Problems with fixparts
@george1421
Ok … as you say, there may be something screwed up with the partitions: I usually installed Windows 7 on one partition, because I thought, this would be needed for the resizability when capturing images with fog.As far as I can see, Windows 10 comes along with 3-4 partitions and the way to reduce it to one partition like I did on win 7 does not work here. I reduced it to 2 Partition. I assume that this may cause the trouble, or?
I did try a debug capture, but the fixparts command is not in the dirs mentioned in the PATH-env variable. In which directory should it be?
-
RE: Kernel update behind proxy & Problems with fixparts
@george1421 Thank you.
Found the proxy setting - works.You were writing about a debug deploy.
Actually I wanted to capture. Is the debuy capture procedure the same as you described it for the debug deploy task? -
Kernel update behind proxy & Problems with fixparts
Hi there,
since I am experiencing problems capturing a system with fog 1.5.4 (see screenshot), I read here (https://wiki.fogproject.org/wiki/index.php?title=Kernel_Update) to do a kernel update for fog, which could solve this problem.
Now I went to the page in the GUI, where kernel-updates can be done, but there are no kernels offered (having waited for long time).
I guess, this is maybe because the fog server is behind a proxy-server.
How can I tell fog to use the proxy? -
RE: It takes longer Time (More Than 5 Minutes) Erasing current MBR/GPT tables.
Hi,
https://forums.fogproject.org/topic/11989/erasing-current-mbr-gpt-tables-taking-about-5-10-minutes
Tom Elliot describes there, that there are some new NTFS-Progs in place, that cause the delay.
Cheers, Rainer
-
RE: Reattempting to update database...Failed
Thanx.
The thread can be marked als solved. Can I do this somewhere or can just a board admin do that? -
RE: Reattempting to update database...Failed
@quazz said in Reattempting to update database...Failed:
dnsaddress=‘yourdnsserver (possibly router)’
dnsbootimage=‘yourdnsserver (possibly router)’Hi,
thank you for your hint. 2 remarks:
I am struggeling with the documentation here: https://wiki.fogproject.org/wiki/index.php/.fogsettings#dnsaddress
It says that the parameter dnsaddress is used for dhcp setup. What does that actually mean? Is this value put in/etc/dhcp/dhcpd.conf
asoption domain-name-servers ipadress;
Same documentation says, that
dnsbootimage
is no longer used? -
RE: Reattempting to update database...Failed
@Sebastian-Roth
On the dashboard I can see in the lower right corner: 1.5.4And here is the dhcpd.conf:
# DHCP Server Configuration file\n#see /usr/share/doc/dhcp*/dhcpd.conf.sample # This file was created by FOG #Definition of PXE-specific options # Code 1: Multicast IP Address of bootfile # Code 2: UDP Port that client should monitor for MTFTP Responses # Code 3: UDP Port that MTFTP servers are using to listen for MTFTP requests # Code 4: Number of seconds a client must listen for activity before trying # to start a new MTFTP transfer # Code 5: Number of seconds a client must listen before trying to restart # a MTFTP transfer option space PXE; option PXE.mtftp-ip code 1 = ip-address; option PXE.mtftp-cport code 2 = unsigned integer 16; option PXE.mtftp-sport code 3 = unsigned integer 16; option PXE.mtftp-tmout code 4 = unsigned integer 8; option PXE.mtftp-delay code 5 = unsigned integer 8; option arch code 93 = unsigned integer 16; use-host-decl-names on; ddns-update-style interim; ignore client-updates; # Specify subnet of ether device you do NOT want service. # For systems with two or more ethernet devices. # subnet 136.165.0.0 netmask 255.255.0.0 {} subnet 10.10.11.0 netmask 255.255.255.0{ option subnet-mask 255.255.255.0; range dynamic-bootp 10.10.11.10 10.10.11.254; default-lease-time 21600; max-lease-time 43200; #option routers 0.0.0.0 #option routers 0.0.0.0 next-server 10.10.11.63; class "Legacy" { match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000"; filename "undionly.kkpxe"; } class "UEFI-32-2" { match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00002"; filename "i386-efi/ipxe.efi"; } class "UEFI-32-1" { match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00006"; filename "i386-efi/ipxe.efi"; } class "UEFI-64-1" { match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007"; filename "ipxe.efi"; } class "UEFI-64-2" { match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00008"; filename "ipxe.efi"; } class "UEFI-64-3" { match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00009"; filename "ipxe.efi"; } class "SURFACE-PRO-4" { match if substring(option vendor-class-identifier, 0, 32) = "PXEClient:Arch:00007:UNDI:003016"; filename "ipxe.efi"; } class "Apple-Intel-Netboot" { match if substring(option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386"; option dhcp-parameter-request-list 1,3,17,43,60; if (option dhcp-message-type = 8) { option vendor-class-identifier "AAPLBSDPC"; if (substring(option vendor-encapsulated-options, 0, 3) = 01:01:01) { # BSDP List option vendor-encapsulated-options 01:01:01:04:02:80:00:07:04:81:00:05:2a:09:0D:81:00:05:2a:08:69:50:58:45:2d:46:4f:47; filename "ipxe.efi"; } } } }
@all: Thanx for your help
-
RE: Install group - Deploys wrong image
Having had some trouble to upgrade to 1.5.4 but I finally managed it.
The behaviour is still the same under 1.5.4.
Having 1 host in the group -> wrong image
Adding a second host -> correct image
Removing 1 host -> wrong imageCheers
Rainer -
RE: Reattempting to update database...Failed
It was a proxy-issue. I have had http_proxy environment set, but I did not have https_proxy.
Fixing that I ran into a timeout concerning a connection to a key-server.gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com Error: retrieving gpg key timed out.
So I decided to add another NIC to bypass the proxy and connect directly to the internet an so the install went through.
There still remain 3 questions concerning the update process:- Installscript says:
# It is not recommended that you install this on a production system # # as this script modifies many of your system settings. #
when I have a production system running fog, which method shall I use then, if not running install-script?
- Accessing the url provided I cannot see, where I can install/update my database schema
* You still need to install/update your database schema. * This can be done by opening a web browser and going to: http://10.10.11.63/fog/management * Press [Enter] key when database is updated/installed.
- Having done an update without changing anything in the config, but adding a second NIC with a new default gateway: Do I have to bother about the error-message below?
* Setting up and starting DHCP Server......................... !!! No router address found !!! !!! No dns address found !!! OK
-
RE: Reattempting to update database...Failed
Unfortunately does not work either:
# add-apt-repository ppa:ondrej/php Cannot add PPA: 'ppa:~ondrej/ubuntu/php'. ERROR: '~ondrej' user or team does not exist.
-
RE: Reattempting to update database...Failed
@george1421
~$ cat /etc/issue
Ubuntu 16.04.5 LTS \n \l -
RE: Reattempting to update database...Failed
@george1421 Hi,
thanx for your advice. Tried to update. Here is what I did:
For the previous installation of 1.5.2:cd /root git clone https://github.com/FOGProject/fogproject.git cd /root/fogproject/bin ./installfog.sh
Now for the update to 1.5.4:
cd /root/fogproject git pull https://github.com/FOGProject/fogproject.git cd /root/fogproject/bin ./installfog.sh
The install fails. Here is the errorlog:
/usr/bin/lsb_release /bin/systemctl /opt/fog/.fogsettings Paketlisten werden gelesen... Abhängigkeitsbaum wird aufgebaut.... Statusinformationen werden eingelesen.... ntpdate is already the newest version (1:4.2.8p4+dfsg-3ubuntu5.9). software-properties-common is already the newest version (0.96.20.7). python-software-properties is already the newest version (0.96.20.7). 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 35 nicht aktualisiert. 8 Aug 09:33:01 ntpdate[3288]: no server suitable for synchronization found Generating locales (this might take a while)... en_US.UTF-8... done Generation complete. Cannot add PPA: 'ppa:~ondrej/ubuntu/php'. ERROR: '~ondrej' user or team does not exist. Cannot add PPA: 'ppa:~ondrej/ubuntu/apache2'. ERROR: '~ondrej' user or team does not exist.
Any idea?
-
Reattempting to update database...Failed
Hi everybody,
running fog 1.5.2 and today I tried to clone 12+18 computers.
Imaging itself went fine but when the clients tried to reconnect to update the database after the cloning, they all came to this point:
Apache errorlog:
[Tue Aug 07 12:37:08.653642 2018] [proxy_fcgi:error] [pid 2669] [client 10.10.11.63:48862] AH01071: Got error 'PHP message: PHP Notice: A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 109\nPHP message: PHP Notice: A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 109\nPHP message: PHP Notice: A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 110\nPHP message: PHP Notice: A non well formed numeric value encountered in /var/www/html/fog/status/bandwidth.php on line 110\n' [Tue Aug 07 12:43:07.355829 2018] [php7:warn] [pid 2669] [client 10.10.11.62:48840] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/html/fog/lib/fog/fogbase.class.php on line 1382, referer: http://fog.schulung.bfz.de/fog/management/index.php?node=task&sub=active [Tue Aug 07 13:14:32.307638 2018] [proxy_fcgi:error] [pid 3950] (70007)The timeout specified has expired: [client 10.10.11.202:43110] AH01075: Error dispatching request to : (polling) [Tue Aug 07 13:14:32.328505 2018] [proxy_fcgi:error] [pid 5031] (70007)The timeout specified has expired: [client 10.10.11.201:53474] AH01075: Error dispatching request to : (polling) [Tue Aug 07 13:14:32.378917 2018] [proxy_fcgi:error] [pid 4077] (70007)The timeout specified has expired: [client
After this the fog gui also did not react anymore.
Had to reboot the fog-server.Second try resulted in the same behavior.
Any ideas?
Thanx in advance, Rainer -
RE: Install group - Deploys wrong image
@x23piracy : Is there a documentation how to savely update to the latest version? Have you probably got a link for me?
-
RE: Install group - Deploys wrong image
@x23piracy : Yes, I tried to assign another image to the group. Did not help.
Just found out: When I add a second host to the group, the tasks for the right images are assigned.
When I remove the second host again, the task for the wrong image is then assigned again.So maybe it is a bug concerning the number of hosts in an installgroup?