Thanks Sean,
Its now working.It was inetd.conf,tftp was not configured.
Works fine now thanks for your help.
-----Original Message-----
From: Sean Davidson [mailto:sean.davidson@MAIL.PUBLIX.COM]
Sent: Saturday, January 15, 2000 2:26 AM
To: NV-L@UCSBVM.UCSB.EDU
Subject: Re: Router backups
You'll also want to check the tftp daemon in /etc/inetd.conf and make sure
/tftpboot is setup as your default tftp read/write dir. Check out the man
page on tftpd. My entry in inetd.conf looks like:
tftp dgram udp wait nobody /usr/sbin/tftpd tftpd -n -d
/tftpboot
You also need to make sure the nobody user account exists and is not expired
and that user nobody has read/write access to /tftpboot dir. Need at least
write. Read is only necessary if you use autoinstall to get Cisco configs
down to the routers.
__________________________
Thanks,
Sean Davidson
Sr. Network Systems Engineer
Publix Super Markets, Inc.
P.O. Box 32015
Lakeland, Fl. 33802-2015
Email - sean.davidson@publix.com
Voice - (863) 686-8754 x6889
Fax - (863)616-5895
-----Original Message-----
From: Steve Francis [mailto:steve.francis@COMMSERV.UCSB.EDU]
Sent: Thursday, January 13, 2000 5:24 PM
To: NV-L@UCSBVM.ucsb.edu
Subject: Re: Router backups
As a debugging tool, can you do a write net from that router to the same
tftp
file? (i.e. does tftp work without using the snmp system?)
If not, you may have the auditing system enabled, or securetcpip, or a
misconfigured /etc/tftpaccess.ctl
"Boulieris, Arthur" wrote:
> Sorry typo I am doing a snmpset,but still getting the error.
>
> regards Arthur
>
> -----Original Message-----
> From: Steve Francis [mailto:steve.francis@COMMSERV.UCSB.EDU]
> Sent: Friday, January 14, 2000 11:05 AM
> To: NV-L@UCSBVM.UCSB.EDU
> Subject: Re: Router backups
>
> "Boulieris, Arthur" wrote:
>
> > Hi Steve,
> > Thanks for the script. Ive tried doing:
> > /usr/OV/bin/snmpget -c community router1 .1.3.6.1.4.1.9.2.1.55.serverip
> > octetstring
> > /tftpboot/router1.
>
> Actually, the script does an snmpset, not a get.
>
> >
> > This is pretty much what your script does only I get "A general failure
> > occured on the agent"
> > I had to create /tftpboot, Should it allready have been there?
>
> I think it is not default on AIX: I may have had to create it too.
>
> > I created the file router1,both tftpboot and router1 and chmod 666 them.
> > The community string is ok so Im not sure why this isnt working.
> > Did you have any problems with this?
>
> Probably just the getting instead of setting the variable.
|