Operating System - HP-UX
1834202 Members
3688 Online
110066 Solutions
New Discussion

tftp error message when trying to load an image from the ignite server

 
Catherine Forget
Frequent Advisor

tftp error message when trying to load an image from the ignite server

Hi, I am loading an image on a w/s on the same subnet than the server but I am getting the following error in the syslog of the ignite server:

tftpd[7345]: sendfile: send: Can't assign requested address
13 REPLIES 13
Mark Greene_1
Honored Contributor

Re: tftp error message when trying to load an image from the ignite server

tftp uses port 69, so you need to make sure that you don't have port 69 blocked on any of your routers between the servers, and that port 69 is included in the /etc/services file on the target box.

mark
the future will be a lot like now, only later
Catherine Forget
Frequent Advisor

Re: tftp error message when trying to load an image from the ignite server

Hi,
I have the following entry on my server:

tftp 69/udp # Trivial File Transfer Protocol
but there is probably nothing on the target since the image is being pulled from the server.
Mark Greene_1
Honored Contributor

Re: tftp error message when trying to load an image from the ignite server

You have to create a user on the system, user name "tftp", home directory "/home/tftp", and login script "/usr/bin/false" (which you have to make sure is an entry in file /etc/shells). You have to put the files you want transfered in that dir, owned by tftp and guest.

mark
the future will be a lot like now, only later
Jeff Schussele
Honored Contributor

Re: tftp error message when trying to load an image from the ignite server

Hi Catherine,

How are you loading this Ignite image - pushing it or pulling it?

If the client dir is named correctly for the MAC on the W/S, then why not try booting the CD on the W/S & pull it down by selecting "Ignite Install" from the master Install menu?
Then you just point it to the Ignite server & you don't have to worry about assigning "temp" IPs or even subnets.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Catherine Forget
Frequent Advisor

Re: tftp error message when trying to load an image from the ignite server

Hi Mark:
The false shell was missing from /etc/shells. I added it and I am retrying.

Jeff:
I am pulling the image since there was not OS on the disk. The ignite server is on the same subnet. I would like to load from CD, but unfortunatly, there is none on the w/s and I do not have any I can hook up to the w/s.
Thanks guys for you help.
Steven E. Protter
Exalted Contributor

Re: tftp error message when trying to load an image from the ignite server

The IP address your ignite dhcp server is trying to assign is in use or not compatible with the network you are booting off of.

Its important to know that you can only boot an ignite client via the built in lan card, not any faster add in cards.

After the boot, you can run the image transfer through any card you want.

Check the configuration of the ignite dhcp server which is available from the main ignite configuration program.

Try this on the server during the next download

inetd -l # if not running enhanced logging
tail -f /var/adm/syslog/syslog.log

Try the ignite connect or boot.

You'll get more details on the problem.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
T. M. Louah
Esteemed Contributor

Re: tftp error message when trying to load an image from the ignite server

Ignite doesn't do anything tricky with tftp at all, just pulls what it needs when it needs it.
If it doesn't work its usually not Ignite fault but something is wrong somewhere networking wise.
When a process attempts to access the system on a particular "port", inetd, which is watching the "ports",
will look in the file /etc/services and see if that port is configured for a service. If the port is configured for
a service, inetd will then look in the file /etc/inetd.conf for that service and execute the command(s) associated with that service.
Resolution: Increase the timeout of tftpd server.
The -R option specifies the per-packet retransmission timeout, in
seconds. The default value is 5 seconds.

The -T option specifies the total retransmission timeout, in seconds.
The default value is 25 seconds.

On the server, if The /etc/inetd.conf file shows:
tftp dgram udp wait root /usr/lbin/tftpd tftpd /opt/ignite /var/opt/ignite
change it to :
tftp dgram udp wait root /usr/lbin/tftpd tftpd -T 50 /opt/ignite /var/opt/ignite

then run "inetd -c" to force the current inetd to reread /etc/inetd.conf.

unless some unseen networking issue (like a incorrect IP) exist the above should help, Please let me know how it goes!
Little learning is dangerous!
Catherine Forget
Frequent Advisor

Re: tftp error message when trying to load an image from the ignite server

I changed the value to 50 and reread inetd config, but I have the same problem: tftpd timeout.
and "Send: Can't assign requested address.
I put an address not in use on the same subnet the server is and I know my network drop for the load is on that same subnet too.
Catherine Forget
Frequent Advisor

Re: tftp error message when trying to load an image from the ignite server

I did some test to see if tftp user was configure correctly but I keep getting error 2 Acces violation. In the HP books that means the file I am trying to 'tftp' (which is own by tftp and permission 400) is not readable by the user. I do not know how to correct that problem.
T. M. Louah
Esteemed Contributor

Re: tftp error message when trying to load an image from the ignite server

BTW IP address is misconfigured on Ignite server you can get time out errors, To resolve your errors:
1. Properly configure the Ignite server's IP address.
2. Create the /tmp/cfg file:
# instl_adm -d > /tmp/cfg
3. Edit the server IP to correct value.
4. Execute the instl_adm -f /tmp/cfg command.
5. Resume your installation.

Also troubleshoot from LAN Card Level, check that the driver is up-to-date.
Little learning is dangerous!
Mark Greene_1
Honored Contributor

Re: tftp error message when trying to load an image from the ignite server

"In the HP books that means the file I am trying to 'tftp' (which is own by tftp and permission 400) is not readable by the user. I do not know how to correct that problem"

What is the permission on the directory? If you don't have execute permissions there, then the tftp user can't cd to the directory.

mark
the future will be a lot like now, only later
Catherine Forget
Frequent Advisor

Re: tftp error message when trying to load an image from the ignite server

Hi,
the test file's permission are 400 and the /home/tftp dir. is 700.
Catherine Forget
Frequent Advisor

Re: tftp error message when trying to load an image from the ignite server

I have found the problem : I hade to remove the tftp entry in /var/adm/inetd.sec then it worked