Unable to start task - Unable to connect to TFTP server
-
I had the same problem this days with a new installation with Ubuntu 12 and Fog 0.32. I was reading a lot of articles and I tried all, but don’t work. Finally I installed (1 hour ago) Ubuntu 11 and Fog 0.32 and works fine, I can register and inventory and upload the image from a Dell Optiplex 745 (image size 15GB).
-
“Unable to start task - Unable to connect to TFTP server” refers to not being able to connect via FTP to the host with the TFTP server.
Packages might have changed for Ubuntu 12 which has caused this problem.
Check the FTP daemon ‘vsftpd’ is running on your ubuntu box?
-
vsftpd is running
-
Here are the contents of a conversation I have had with Eclat2k:
[LIST=1]
[*][INDENT]Hi Eclat2kthanks for your response.
I know many people have experienced the 1st problem I wrote about, that is TFTP … timeout on the clients.
But no-one has had my 2nd problem that shows up on the Dashboard when uploading an image:
“Unable to start task - Unable to connect to TFTP server”Have you really had this 2nd problem?
Alistair[/INDENT]
[URL=‘http://fogproject.org/forum/members/alistair.1830/’]Alistair[/URL], [URL=‘http://fogproject.org/forum/conversations/unable-to-connect-to-tftp-server-message-on-dashboard-when-uploading-an-image.107/message?message_id=385’]Friday at 12:48 PM[/URL] [URL=‘http://fogproject.org/forum/conversations/unable-to-connect-to-tftp-server-message-on-dashboard-when-uploading-an-image.107/report?message_id=385’]Report[/URL]
[URL=‘http://fogproject.org/forum/conversations/unable-to-connect-to-tftp-server-message-on-dashboard-when-uploading-an-image.107/reply?m=385’]Reply[/URL]
[*]
[SIZE=4][B][URL=‘http://fogproject.org/forum/members/eclat2k.2084/’]Eclat2k[/URL] [I]New Member[/I][/B][/SIZE]
[INDENT]Yes, and the problem was the password. I restore the password for the user fog in ubuntu (the linux user, don’t mysql user) and I used this same password (encrypted with FogCrypt.exe) in the tftpd conf file, and in the fog options, and this problem disappeared.But my installation didn’t work fine. I think that exist some problem with ubuntu server 12 and FOG 0.32. This morning I installed Ubuntu 11 and Fog 0.32 and works fine.[/INDENT]
[URL=‘http://fogproject.org/forum/members/eclat2k.2084/’]Eclat2k[/URL], [URL=‘http://fogproject.org/forum/conversations/unable-to-connect-to-tftp-server-message-on-dashboard-when-uploading-an-image.107/message?message_id=386’]Friday at 12:53 PM[/URL] [URL=‘http://fogproject.org/forum/conversations/unable-to-connect-to-tftp-server-message-on-dashboard-when-uploading-an-image.107/report?message_id=386’]Report[/URL]
[URL=‘http://fogproject.org/forum/conversations/unable-to-connect-to-tftp-server-message-on-dashboard-when-uploading-an-image.107/reply?m=386’]Reply[/URL]
[]
[SIZE=4][B][URL=‘http://fogproject.org/forum/members/alistair.1830/’]Alistair[/URL] [I]New Member[/I][/B][/SIZE]
[INDENT]What problem did you still have with ubuntu 12?[/INDENT]
[URL=‘http://fogproject.org/forum/members/alistair.1830/’]Alistair[/URL], [URL=‘http://fogproject.org/forum/conversations/unable-to-connect-to-tftp-server-message-on-dashboard-when-uploading-an-image.107/message?message_id=387’]Friday at 12:57 PM[/URL] [URL=‘http://fogproject.org/forum/conversations/unable-to-connect-to-tftp-server-message-on-dashboard-when-uploading-an-image.107/report?message_id=387’]Report[/URL]
[URL=‘http://fogproject.org/forum/conversations/unable-to-connect-to-tftp-server-message-on-dashboard-when-uploading-an-image.107/reply?m=387’]Reply[/URL]
[]
[SIZE=4][B][URL=‘http://fogproject.org/forum/members/alistair.1830/’]Alistair[/URL] [I]New Member[/I][/B][/SIZE]
[INDENT]I don’t really want to reinstall ubuntu 11 because it takes so much time for me and I have already put in over 60 hosts, and I don’t know how to take a full backup of all these host settings.[/INDENT]
[URL=‘http://fogproject.org/forum/members/alistair.1830/’]Alistair[/URL], [URL=‘http://fogproject.org/forum/conversations/unable-to-connect-to-tftp-server-message-on-dashboard-when-uploading-an-image.107/message?message_id=388’]Friday at 1:00 PM[/URL] [URL=‘http://fogproject.org/forum/conversations/unable-to-connect-to-tftp-server-message-on-dashboard-when-uploading-an-image.107/report?message_id=388’]Report[/URL]
[URL=‘http://fogproject.org/forum/conversations/unable-to-connect-to-tftp-server-message-on-dashboard-when-uploading-an-image.107/reply?m=388’]Reply[/URL]
[*]
[SIZE=4][B][URL=‘http://fogproject.org/forum/members/eclat2k.2084/’]Eclat2k[/URL] [I]New Member[/I][/B][/SIZE]
[INDENT]If you have other pc to probe you can do this to backup your settings:
[url]http://www.fogproject.org/wiki/index.php/Backing_up_FOG[/url]I’d install other pc with ubuntu 11 and fog 0.32 and restore your settings.
In Ubuntu 12 I had a lot of problems with TFPTD, problems with the DHCP, etc… and with no sense, with 11 seems that works fine.[/INDENT]
[URL=‘http://fogproject.org/forum/members/eclat2k.2084/’]Eclat2k[/URL], [URL=‘http://fogproject.org/forum/conversations/unable-to-connect-to-tftp-server-message-on-dashboard-when-uploading-an-image.107/message?message_id=390’]Friday at 4:53 PM[/URL] [URL=‘http://fogproject.org/forum/conversations/unable-to-connect-to-tftp-server-message-on-dashboard-when-uploading-an-image.107/report?message_id=390’]Report[/URL]
[URL=‘http://fogproject.org/forum/conversations/unable-to-connect-to-tftp-server-message-on-dashboard-when-uploading-an-image.107/reply?m=390’]Reply[/URL]
[*]
[SIZE=4][B][URL=‘http://fogproject.org/forum/members/alistair.1830/’]Alistair[/URL] [I]New Member[/I][/B][/SIZE]
[INDENT]ok thanks. I’ll wait until next monday or tuesday. If I don’t get any other responses I will install version 11 as you did. Many thanks for your advice.Strange that no-one has found the source of this TFTP problem yet.[/INDENT]
[/LIST] -
If I have to wipe Ubuntu 12.04 lts and install 11, it feels like such a backward step.
Apart from all the extra work, Ubuntu 11 is only supported for another year I think whereas Ubuntu 12 is supported until 2007!!I’m just surprised that there are no bright linux boys on the planet who have managed to identify and fix this bug.
-
OK I have now installed version 10.04 LTS and fog again. Now I can upload an image to FOG, but I cannot successfully roll it out to another host. When I start the deploy, the new host starts up, goes into PXE, tries to download the correct image, but says numerous things are wrong. HP 7100 bios not supported, cannot read certain sectors in partition (which partition), then aborts the download (which never actually starts) and reboots the PC. Everything goes by so fast. I tried to slow it down by using Pause/Break key, but that did not stop the text to give me time to write it all down.
I ran the debug deploy. Used all the options there. Everything checked out ok.
Tried the same deploy to another identical host with the same result. So it is not a local disk partition problem.
I have always chosen the option “One disk and partitions - cannot be resized”When I uploaded the original image it said the image was 13 GiB, and no compression.
But the final image was only 7 GiB.
Also while it was creating the image it said “Available space for image = 986 MiB”
That is simply wrong. I had 60 GB free on the FOG server.
There was no error message in making the image. Everything went perfectly.Totally confused and have 2 classrooms waiting for 30 computers.
-
It also says partition file missing.
-
FOG is now working. I can deploy an image. The “missing partition file” was due to a very unfortunate mistake I made when I accidently bumped the keyboard and changed the name of the “d1p1.img” file on fog. I changed it back to what I thought was correct, but it was wrong. I uploaded a 2nd image and saw my mistake in the naming.
So to complete this thread I will conclude that FOG 0.32 did not work under Ubuntu 12.04 because of TFTP issues.
It now appears to function as normal under 10.04. (I have only deployed to one client so far. Shall deploy to 16 clients today.)I would still like to know why while it was creating the image it said “Available space for image = 986 MiB” when it was in fact 60 GiB.
-
[quote=“Alistair, post: 8065, member: 1830”]FOG is now working. … I accidently bumped the keyboard and changed the name of the “d1p1.img” file on fog…[/quote]
Always blame a cat.
-
Chad,
Are tftp issues resolved in 12.10, 13.04, 13.10, etc? I am having the same issues under Ubuntu 12.04. -
I believe the tftpd-hpa issues are in fact fixed on the 13+ revision of Ubuntu.
I do not have any knowledge of 12.10.
-
14.04 still has issues and 13.10 will work about half the time after reboot
[url]http://fogproject.org/forum/threads/tftpd-hpa-not-starting-on-reboot.10560/[/url]