croth2 Absent Member.
Absent Member.
7162 views

ProcessPXEMenu: TFTP Read File failed

Summary:

If the file size of the "%zenworks_home%\share\tftp\pxemenu.txt" file grows larger that 4KB, I receive the error: "ProcessPXEMenu: TFTP Read File failed".

Question:

How can I increase the size limit so the TFTP can read a "pxemenu.txt" larger than 4KB?

Detail:

Server information:
- Microsoft Windows 2003 R2 SP2 (fully patched)
- ZENworks Configuration Management 10.2.1
- ZENworks Configuration Management 10.2.1 - October 2009 imaging driver update installed


I have determined that it is the size of the file that is the limiting factor. I can have 200 lines in the file as long as the file size stays below 4KB (4,096 bytes). As soon as the file size goes above 4,096 bytes, then the "Size on Disk" must raise to 8KB (8,192 bytes) since the block size on the hard disk is 4KB. At this point I no longer have access to my menus, and I receive the error "ProcessPXEMenu: TFTP Read File failed".

Attached scome screenshots and text files.

PXEMENU.TXT file contents:


ScreenName = Boyertown Area School District - Information Services
ScreenInfo = Preboot Computer Imaging Menu

FormatVersion = 2

ScreenColor = lt_cyan
ScreenBackgroundColor = blue

InfoColor = yellow
InfoBackgroundColor = blue

HintColor = lt_cyan
HintBackgroundColor = blue

MenuColor = yellow
MenuBackgroundColor = blue

OptionColor = BRIGHT_WHITE
OptionBackgroundColor = BLUE

ChosenColor = BRIGHT_WHITE
ChosenBackgroundColor = RED

StartMenu = Main

[Main]
MenuTitle = Boyertown Area School District
option = execute ; "Start ZENworks Imaging" ; "ZENworks Imaging in Automated Mode" ; pxelinux.0 ; z_auto.cfg
option = submenu ; "+ Computer Model Images" ; "This menu provides options for specific computer model images" ; Model
option = submenu ; "+ Computer Lab Images" ; "This menu provides options for prebuilt computer lab images" ; Labs
option = submenu ; "+ Multicast Sessions" ; "This menu provides options for Multicasting" ; Multicast
option = submenu ; "+ ZEN Default Menu" ; "ZENworks original menu options have been relocated to this menu." ; ZENorig
option = exit ; "Exit" ; "Boot to local hard drive"

[Model]
MenuTitle = Computer Model Images
option = execute ; "HP 6x15b laptop" ; "Start loading final image for HP 6x15b Laptops" ; pxelinux.0 ; basd-6x15b-image.cfg
option = execute ; "HP 6x35b laptop" ; "Start loading final image for HP 6x35b Laptops" ; pxelinux.0 ; basd-6x35b-image.cfg
option = execute ; "HP dc5100 desktop" ; "Start loading final image for HP dc5100 Desktops" ; pxelinux.0 ; basd-dc5100-image.cfg
option = execute ; "HP dc5750 desktop" ; "Start loading final image for HP dc5750 Desktops" ; pxelinux.0 ; basd-dc5750-image.cfg
option = execute ; "HP dc5850 desktop" ; "Start loading final image for HP dc5850 Desktops" ; pxelinux.0 ; basd-dc5850-image.cfg
option = execute ; "HP dx5150 desktop" ; "Start loading final image for HP dx5150 Desktops" ; pxelinux.0 ; basd-dx5150-image.cfg
option = execute ; "HP Mini 1101 laptop" ; "Start loading final image for HP Mini 1101 Laptops" ; pxelinux.0 ; basd-1101-image.cfg
option = execute ; "HP Mini 2140 laptop" ; "Start loading final image for HP Mini 2140 Laptops" ; pxelinux.0 ; basd-2140-image.cfg
option = execute ; "HP nc6320 laptop" ; "Start loading final image for HP nc6320 Laptops" ; pxelinux.0 ; basd-nc6320-image.cfg

[Labs]
MenuTitle = Prebuilt Computer Lab Images
option = execute ; "SHS - Room 613 - HP dx5150" ; "Prebuilt image for room 613 at the Senior High School" ; pxelinux.0 ; basd-rm613.cfg

[Multicast]
MenuTitle = Multicast Imaging Sessions
option = execute ; "Session 1 - Client" ; "Join a multicast session 1 as a Client" ; pxelinux.0 ; basd-multicast-1-c.cfg
option = execute ; "Session 1 - Master" ; "Join a multicast session 1 as a MASTER" ; pxelinux.0 ; basd-multicast-1-m.cfg
option = execute ; "Session 2 - Client" ; "Join a multicast session 2 as a Client" ; pxelinux.0 ; basd-multicast-2-c.cfg
option = execute ; "Session 2 - Master" ; "Join a multicast session 2 as a MASTER" ; pxelinux.0 ; basd-multicast-2-m.cfg

[ZENorig]
MenuTitle = ZEN Default Menu options
option = execute ; "Start ZENworks Imaging" ; "ZENworks Imaging in Automated Mode" ; pxelinux.0 ; z_auto.cfg
option = execute ; "Start ZENworks Imaging Maintenance" ; "ZENworks Imaging Linux Session in Interactive Mode" ; pxelinux.0 ; z_maint.cfg
option = execute ; "Disable ZENworks Partition" ; "Disable Existing ZENworks partition" ; pxelinux.0 ; z_zpdis.cfg
option = execute ; "Enable ZENworks Partition" ; "Re-enable Existing ZENworks partition" ; pxelinux.0 ; z_zpen.cfg
Labels (2)
0 Likes
20 Replies
Anonymous_User Absent Member.
Absent Member.

Re: ProcessPXEMenu: TFTP Read File failed

croth2,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your problem been resolved? If not, you might try one of the following options:

- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your Novell Product Support Forums Team
http://support.novell.com/forums/

0 Likes
croth2 Absent Member.
Absent Member.

Re: ProcessPXEMenu: TFTP Read File failed

Automatic reply;1890750 wrote:
croth2,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your problem been resolved? If not, you might try one of the following options:

- Visit NOVELL: Support and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
NOVELL FORUMS - FAQ

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your Novell Product Support Forums Team
http://support.novell.com/forums/


Been there...done that. An answer from a real person would be nice. I believe I have nailed down the issue, I just need a work around.
0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: ProcessPXEMenu: TFTP Read File failed

croth2;1890782 wrote:
Been there...done that. An answer from a real person would be nice. I believe I have nailed down the issue, I just need a work around.


I can confirm this same issue on SLES11 ZCM 10.3 Beta 2 😞 If the file exceeds 4KB then it will fail to read...

Have you raised an SR?

Thomas
0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: ProcessPXEMenu: TFTP Read File failed

thsundel;1893130 wrote:
I can confirm this same issue on SLES11 ZCM 10.3 Beta 2 😞 If the file exceeds 4KB then it will fail to read...

Have you raised an SR?

Thomas


I filed a bug report.. lets see if it will get addressed..

Thomas
0 Likes
shaunpond Absent Member.
Absent Member.

Re: ProcessPXEMenu: TFTP Read File failed

Thomas,

well it will, when I look at your bug 🙂 I will try to duplicate this,
probably on Sunday

--

Shaun Pond


0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: ProcessPXEMenu: TFTP Read File failed

croth2;1888224 wrote:
Summary:

If the file size of the "%zenworks_home%\share\tftp\pxemenu.txt" file grows larger that 4KB, I receive the error: "ProcessPXEMenu: TFTP Read File failed".

Question:

How can I increase the size limit so the TFTP can read a "pxemenu.txt" larger than 4KB?

Detail:

Server information:
- Microsoft Windows 2003 R2 SP2 (fully patched)
- ZENworks Configuration Management 10.2.1
- ZENworks Configuration Management 10.2.1 - October 2009 imaging driver update installed


I have determined that it is the size of the file that is the limiting factor. I can have 200 lines in the file as long as the file size stays below 4KB (4,096 bytes). As soon as the file size goes above 4,096 bytes, then the "Size on Disk" must raise to 8KB (8,192 bytes) since the block size on the hard disk is 4KB. At this point I no longer have access to my menus, and I receive the error "ProcessPXEMenu: TFTP Read File failed".

Attached scome screenshots and text files.

PXEMENU.TXT file contents:


ScreenName = Boyertown Area School District - Information Services
ScreenInfo = Preboot Computer Imaging Menu

FormatVersion = 2

ScreenColor = lt_cyan
ScreenBackgroundColor = blue

InfoColor = yellow
InfoBackgroundColor = blue

HintColor = lt_cyan
HintBackgroundColor = blue

MenuColor = yellow
MenuBackgroundColor = blue

OptionColor = BRIGHT_WHITE
OptionBackgroundColor = BLUE

ChosenColor = BRIGHT_WHITE
ChosenBackgroundColor = RED

StartMenu = Main

[Main]
MenuTitle = Boyertown Area School District
option = execute ; "Start ZENworks Imaging" ; "ZENworks Imaging in Automated Mode" ; pxelinux.0 ; z_auto.cfg
option = submenu ; "+ Computer Model Images" ; "This menu provides options for specific computer model images" ; Model
option = submenu ; "+ Computer Lab Images" ; "This menu provides options for prebuilt computer lab images" ; Labs
option = submenu ; "+ Multicast Sessions" ; "This menu provides options for Multicasting" ; Multicast
option = submenu ; "+ ZEN Default Menu" ; "ZENworks original menu options have been relocated to this menu." ; ZENorig
option = exit ; "Exit" ; "Boot to local hard drive"

[Model]
MenuTitle = Computer Model Images
option = execute ; "HP 6x15b laptop" ; "Start loading final image for HP 6x15b Laptops" ; pxelinux.0 ; basd-6x15b-image.cfg
option = execute ; "HP 6x35b laptop" ; "Start loading final image for HP 6x35b Laptops" ; pxelinux.0 ; basd-6x35b-image.cfg
option = execute ; "HP dc5100 desktop" ; "Start loading final image for HP dc5100 Desktops" ; pxelinux.0 ; basd-dc5100-image.cfg
option = execute ; "HP dc5750 desktop" ; "Start loading final image for HP dc5750 Desktops" ; pxelinux.0 ; basd-dc5750-image.cfg
option = execute ; "HP dc5850 desktop" ; "Start loading final image for HP dc5850 Desktops" ; pxelinux.0 ; basd-dc5850-image.cfg
option = execute ; "HP dx5150 desktop" ; "Start loading final image for HP dx5150 Desktops" ; pxelinux.0 ; basd-dx5150-image.cfg
option = execute ; "HP Mini 1101 laptop" ; "Start loading final image for HP Mini 1101 Laptops" ; pxelinux.0 ; basd-1101-image.cfg
option = execute ; "HP Mini 2140 laptop" ; "Start loading final image for HP Mini 2140 Laptops" ; pxelinux.0 ; basd-2140-image.cfg
option = execute ; "HP nc6320 laptop" ; "Start loading final image for HP nc6320 Laptops" ; pxelinux.0 ; basd-nc6320-image.cfg

[Labs]
MenuTitle = Prebuilt Computer Lab Images
option = execute ; "SHS - Room 613 - HP dx5150" ; "Prebuilt image for room 613 at the Senior High School" ; pxelinux.0 ; basd-rm613.cfg

[Multicast]
MenuTitle = Multicast Imaging Sessions
option = execute ; "Session 1 - Client" ; "Join a multicast session 1 as a Client" ; pxelinux.0 ; basd-multicast-1-c.cfg
option = execute ; "Session 1 - Master" ; "Join a multicast session 1 as a MASTER" ; pxelinux.0 ; basd-multicast-1-m.cfg
option = execute ; "Session 2 - Client" ; "Join a multicast session 2 as a Client" ; pxelinux.0 ; basd-multicast-2-c.cfg
option = execute ; "Session 2 - Master" ; "Join a multicast session 2 as a MASTER" ; pxelinux.0 ; basd-multicast-2-m.cfg

[ZENorig]
MenuTitle = ZEN Default Menu options
option = execute ; "Start ZENworks Imaging" ; "ZENworks Imaging in Automated Mode" ; pxelinux.0 ; z_auto.cfg
option = execute ; "Start ZENworks Imaging Maintenance" ; "ZENworks Imaging Linux Session in Interactive Mode" ; pxelinux.0 ; z_maint.cfg
option = execute ; "Disable ZENworks Partition" ; "Disable Existing ZENworks partition" ; pxelinux.0 ; z_zpdis.cfg
option = execute ; "Enable ZENworks Partition" ; "Re-enable Existing ZENworks partition" ; pxelinux.0 ; z_zpen.cfg


This looks nice, I would like to do something similar in my ZEN environment. Could you post the content of for example basd-6x15b-image.cfg? I would like to learn how you are calling ZEN to restore that specific image with that file.

Thomas
0 Likes
croth2 Absent Member.
Absent Member.

Re: ProcessPXEMenu: TFTP Read File failed

thsundel;1890943 wrote:
This looks nice, I would like to do something similar in my ZEN environment. Could you post the content of for example basd-6x15b-image.cfg? I would like to learn how you are calling ZEN to restore that specific image with that file.

Thomas


Sorry for the delay Thomas. It is fairly simple. You manually change the file that says don't change :-).

Here is the contents of the file you requested (basd-6x15b-image.cfg):


#====================== WARNING! ======================#
# DO NOT EDIT THIS FILE!
#
# Modifying this file is unsupported and can have
# unpredictable results on ZENworks Preboot Services
#======================================================#

ZENWORKSAPPEND 1
DEFAULT imaging
LABEL imaging
kernel boot\linux
append 5 initrd=boot\initrd mode=2 rootimage=/root install=tftp://$PXESERVER/boot splash=silent vga=0x314 tftptimeout=50 $KERNEL_PARMS IMGCMD="img rp basd-zcm.basd.local 6x31b-image.zmg"



This file is basically the stock (z_auto.cfg) file, but has the following code added:


IMGCMD="img rp basd-zcm.basd.local 6x31b-image.zmg"



This is the original (z_auto.cfg) file for comparision:


#====================== WARNING! ======================#
# DO NOT EDIT THIS FILE!
#
# Modifying this file is unsupported and can have
# unpredictable results on ZENworks Preboot Services
#======================================================#

ZENWORKSAPPEND 1
DEFAULT imaging
LABEL imaging
kernel boot\linux
append 5 initrd=boot\initrd mode=2 rootimage=/root install=tftp://$PXESERVER/boot splash=silent vga=0x314 tftptimeout=50 $KERNEL_PARMS

0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: ProcessPXEMenu: TFTP Read File failed

croth2;1893463 wrote:
Sorry for the delay Thomas. It is fairly simple. You manually change the file that says don't change :-).

Here is the contents of the file you requested (basd-6x15b-image.cfg):


#====================== WARNING! ======================#
# DO NOT EDIT THIS FILE!
#
# Modifying this file is unsupported and can have
# unpredictable results on ZENworks Preboot Services
#======================================================#

ZENWORKSAPPEND 1
DEFAULT imaging
LABEL imaging
kernel boot\linux
append 5 initrd=boot\initrd mode=2 rootimage=/root install=tftp://$PXESERVER/boot splash=silent vga=0x314 tftptimeout=50 $KERNEL_PARMS IMGCMD="img rp basd-zcm.basd.local 6x31b-image.zmg"



This file is basically the stock (z_auto.cfg) file, but has the following code added:


IMGCMD="img rp basd-zcm.basd.local 6x31b-image.zmg"



This is the original (z_auto.cfg) file for comparision:


#====================== WARNING! ======================#
# DO NOT EDIT THIS FILE!
#
# Modifying this file is unsupported and can have
# unpredictable results on ZENworks Preboot Services
#======================================================#

ZENWORKSAPPEND 1
DEFAULT imaging
LABEL imaging
kernel boot\linux
append 5 initrd=boot\initrd mode=2 rootimage=/root install=tftp://$PXESERVER/boot splash=silent vga=0x314 tftptimeout=50 $KERNEL_PARMS



Thanks, and hopefully Shaun can duplicate the 4kb issue so that we can get it fixed..

Thomas
0 Likes
shaunpond Absent Member.
Absent Member.

Re: ProcessPXEMenu: TFTP Read File failed

Croth2,

at the moment, it doesn't look good for getting this fixed in a hurry -
an enhancement was raised for this back in 2008, but was put off to the
future, because it would involve a large amount of re-testing (a lot of
the libraries that are used would been to be changed, apparently,
because of the amount of memory needed to hold a bigger file). I'm
asking what the progress is...

--

Shaun Pond


0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: ProcessPXEMenu: TFTP Read File failed

spond;1894445 wrote:
Croth2,

at the moment, it doesn't look good for getting this fixed in a hurry -
an enhancement was raised for this back in 2008, but was put off to the
future, because it would involve a large amount of re-testing (a lot of
the libraries that are used would been to be changed, apparently,
because of the amount of memory needed to hold a bigger file). I'm
asking what the progress is...

--

Shaun Pond


Darn.. looks then like I need to workaround this issue somehow.. Was planning to do a menu with alot of submenus and subsub menus to apply correct base image + addon images..

Computer manufacturer
...
-> Computer models
...
-> Operating systems
...

Maybe a menu can be done with a script instead..

Thomas
0 Likes
shaunpond Absent Member.
Absent Member.

Re: ProcessPXEMenu: TFTP Read File failed

Thsundel,

when i hear back form Product Management, I'll update your bug

--

Shaun Pond


0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: ProcessPXEMenu: TFTP Read File failed

spond;1894530 wrote:
Thsundel,

when i hear back form Product Management, I'll update your bug

--

Shaun Pond


Okay, thanks...

Thomas
0 Likes
croth2 Absent Member.
Absent Member.

Re: ProcessPXEMenu: TFTP Read File failed

thsundel;1894492 wrote:
Darn.. looks then like I need to workaround this issue somehow.. Was planning to do a menu with alot of submenus and subsub menus to apply correct base image + addon images..

Computer manufacturer
...
-> Computer models
...
-> Operating systems
...

Maybe a menu can be done with a script instead..

Thomas



This is how we do it and it really works out well. Trying to set a computer to image through the application seems problematic in our environment, because a user could need to contact someone with the authority to make the changes. These menus make life much easier for field techs and users alike to just redo their machine when they feel it is running slowly, crashed, etc.

Please please PLEASE encourage the developers to work this issue. It is a absolute show stopper for my current method or imaging.

- Chase
0 Likes
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: ProcessPXEMenu: TFTP Read File failed

croth2;1895704 wrote:
This is how we do it and it really works out well. Trying to set a computer to image through the application seems problematic in our environment, because a user could need to contact someone with the authority to make the changes. These menus make life much easier for field techs and users alike to just redo their machine when they feel it is running slowly, crashed, etc.

Please please PLEASE encourage the developers to work this issue. It is a absolute show stopper for my current method or imaging.

- Chase


I completely agree with you! Using the menu to select correct image would be the best solution in our environment also.

Thomas
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.