Operating System - HP-UX
1819743 Members
3081 Online
109606 Solutions
New Discussion юеВ

Re: tftp Error code 2: Access violation

 
SOLVED
Go to solution
Russ Hancock_1
Frequent Advisor

tftp Error code 2: Access violation

Please help? This is doing my head in!

I'm new to ignite, and I appear to be having problems getting the client to connect to the ignite server via tftp. I've searched the forums and tried most things suggested , Is there something I've missed?

I get to the point of the install where you initiate the build from the server.

Thanks in advance.
Russ.
Russ
8 REPLIES 8
Clemens van Everdingen
Honored Contributor

Re: tftp Error code 2: Access violation

Hi,

Look at this document and search for tftp.
You will find several issues regarding tftp.

http://docs.hp.com/hpux/pdf/B2355-90738.pdf

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Clemens van Everdingen
Honored Contributor

Re: tftp Error code 2: Access violation

G_18
Occasional Advisor

Re: tftp Error code 2: Access violation

PROBLEM
I am running TFTP (Trivial File Transfer Protocol) on my HP-UX 11.0
system. Upon using the 'put' operation I get the following error:

error code 2 access violation with tftp

How can I resolve this error?


CONFIGURATION
Operating System - HP-UX
Version - 11.0
Subsystem - System Administration

RESOLUTION
In this particular case the 'tftp' files are corrupt. The following
patches resolve the error:

PHNE_18377 ftpd
PHNE_20008 ARPA
PHNE_20735 Stream


These patches, as with any patches, may be superseded. Please
check for the latest patches at the Electronic Support Center
(ESC) by using either of these web sites:

http://us-support.external.hp.com

http://europe-support.external.hp.com


This error may also be caused by a file already existing on the
target system. The permissions on this file were such that 'tftp'
could not overwrite the file. If this condition exists, then try
this suggested approach:

1. Move the file to another name.

2. Create a new file name with the touch command.

3. Give the new file the following:

permissions 600
owner tftp
group guest








G_18
Occasional Advisor

Re: tftp Error code 2: Access violation

 
Clemens van Everdingen
Honored Contributor

Re: tftp Error code 2: Access violation

Hi,

Do you use the latest version of Ignite ?
If not this could be a better approach !

First try to restart the tftp daemon.
This sometimes helps.

else download the latest version from here:

http://www.software.hp.com/products/IUX/download.html

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Nick Tarmey_3
Occasional Advisor
Solution

Re: tftp Error code 2: Access violation

Hi,

just wanted to add my bit as this problem had my head wrecked for ages:

Firstly the *.cfg file that tftp is trying to grab is located in /archive/B.11.00 on your server. You need to add this path to the /etc/inetd.conf under the tftp section.

when you've done this type inetd -c to re-read the contents of this file and update the path.

Restart ignite and try again.

Good Luck!

Nick.
Russ Hancock_1
Frequent Advisor

Re: tftp Error code 2: Access violation

Thanks Nick, this was causing the problem.
Russ
Donny Jekels
Respected Contributor

Re: tftp Error code 2: Access violation

guys theys easiest way to update tftp with a new directory is:

/usr/sbin/setup_tftp

example:
you just added a new build for ignite Ux, and you its a 11.i build with oracle 9.1

/myigniebuilds/9000/800/Rel_B.11.11

then run this line to configure tftp

/usr/sbin/setup_tftp /myignitebuilds/9000/800/Rel_B.11.11


setup_tftp will add the correct entry in /etc/inetd.conf and run inetd -c
"Vision, is the art of seeing the invisible"