Hello:

First, I thought that it was the error, but I've already linked the
/opt/jffnms/tftpd to /srv/tftp with a symlink and nothing =(

Now, I've changed the TFTP directory JFFNMS to /srv/tftp and I saw that the
files are created and deleted immediately in that new directory but with
length 0:

[EMAIL PROTECTED]:/srv/tftp# ls -l
total 0
-rw-rw-rw- 1 jffnms jffnms  0 2008-05-31 11:46 484180ead43ab.dat
[EMAIL PROTECTED]:/srv/tftp# ls -l
total 0
-rw-rw-rw- 1 jffnms jffnms  0 2008-05-31 11:46 484180f350310.dat

And the errors are still appearing in my events (CPU Host Config Transfer
Error Storing the file in DB)

But in my tftp server I received the configuration file without problems:

*-*-*-*-*-*-*-*-*

!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!

etc......

*-*-*-*-*-*-*-*-*

Help!!!

Thanks!

Marco

-----Original Message-----


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Craig Small
Sent: Jueves, 29 de Mayo de 2008 06:17 p.m.
To: [email protected]
Subject: Re: [jffnms-users] Error config transfer mode

On Wed, May 28, 2008 at 11:05:10AM -0500, Marco Caceres wrote:
> :/opt/jffnms/tftpd# su -s /bin/sh -c 'touch /opt/jffnms/tftpd/test8'
nobody

and then
> P.D.: The inetd.conf file:
> tftp            dgram   udp     wait    nobody  /usr/sbin/tcpd
> /usr/sbin/in.tftpd /srv/tftp
So.
JFFNMS makes the file in /opt/jffnms/tftpd
but
tftp daemon tries to put the file in /srv/tftp

Of course that fails because there is no file created in /srv/tftp

You need to either:
  * Change the TFTP directory JFFNMS uses to /src/tftp
  * Change the directory tftpd uses to /opt/jffnms/tftpd
  * Symlink one of the directories to the other.

My preference would be the first option.

 - Craig
-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/                             csmall at : enc.com.au
http://www.debian.org/          Debian GNU/Linux, software should be Free 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to