Hi Darren,
Then, are you sure the apache (or the cron job running user) has permissions to read that file?
Because we may be not able to read it to put it in the DB.
Is the tftpd root folder /opt/jffnms/tftpd ?? because if its not you have to change it, or change it in the JFFNMS setup page.
Javier
Darren Gibbs wrote:
Javier.
I can definitely tftp the running {or startup, or flash, or anything else} to the tftp server.
Interestingly, when I look into the root of the tftp server, there is a file called "40db171984bb2.dat" in this directory, which appears to be my router's config, and which has a timestamp which would indicate it was created right about the time the copy config event is scheduled to occur.
Also, if I run the tftp_get_host_config.php script manually, it gives the same error, but creates a new file in the tftp server's directory, which does contain the router's current config.
This is confusing. :-)
Darren Gibbs
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Javier Szyszlican Sent: Friday, 25 June 2004 11:36 AM Cc: [EMAIL PROTECTED] Subject: Re: [jffnms-users] Backing up Cisco configs
Darren,
The error means that the file counld't be downloaded.
So, please check if your tftp daemon allows creation of new files.
First try to send (using: copy running-config tftp) a file to the tftp server, if you see it in the /opt/jffnms/tftpd folder, then the tftpd is correctly configured.
You can try the examples in the docs/unix/ folder.
Javier
Darren Gibbs wrote:
Folks.
I've got one of my routers setup in jffnms to do a nightly backup of its config.
I've checked the log for the tftp backup, and have the following error mesage
04:02:05 : H 4 : 172.16.1.2 : cisco_cc : Error Storing the file in DB (4276.11 msec) 04:02:05 TIMES : Total Time 4383.25 msec.
Any hints on what could be causing this? I've just run the upgrade to
0.7.8,
but had NOT enabled the config backup before doing the upgrade, so I'm pretty sure it's not an upgrade issue.
Thanks.
Darren Gibbs Senior Network Engineer
--- "This message and any attachment to it is intended for the use of the individual or entity to whom it is addressed by the first sender and contains information which may be confidential and/or privileged.
If you receive this message and any attachment in error, please delete it immediately and notify the sender by electronic mail or telephone (61 2) 9451 0888. Unless you have been expressly authorised by the sender, you are prohibited from copying, distributing or using the information contained in this message and any attachment.
Sky Channel (ABN 77 009 136 010) is a part of the Tab Limited Group. Sky Channel is not responsible for any changes made to this mesage or any attachments other than those made by Sky Channel, or for the effects of changes made by others on the meaning of this message and any attachment.
Sky Channel does not represent that any attachment is free from computer viruses or defects and the user assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of any attachment.
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Javier Szyszlican, Project Leader, JFFNMS [EMAIL PROTECTED]
I hope JFFNMS or I were helpful to you, if you can, please donate at http://jffnms.org/donate
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
jffnms-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jffnms-users
