Hello:

Thanks Craig for your help, now I'm able to create a file with the user
nobody:

:/opt/jffnms/tftpd# su -s /bin/sh -c 'touch /opt/jffnms/tftpd/test8' nobody

:/opt/jffnms/tftpd# ls -lha
total 8,0K
drwxrwxr-x  2 nobody nogroup 4,0K 2008-05-28 10:42 .
drwxrwxr-x 10 jffnms jffnms  4,0K 2008-05-28 10:35 ..
-rw-rw-rw-  1 nobody nogroup    0 2008-05-28 10:13 483d76b4dca48.dat
-rw-rw-r--  1 nobody nogroup    0 2006-09-16 18:31 .check
-rw-r--r--  1 nobody nogroup    0 2008-05-28 10:42 test8

And as you can see there is a configuration file 483d76b4dca48.dat created
when I ran the tftp_get_host_config.php but with length 0, and in the events
still appears the message "CPU Hosting Transfer Error Storing the file in
DB".

In my tftp server (other server) I'm still receiving the configuration files
without problems.

What would be happening?

Thanks!

Marco

P.D.: The inetd.conf file:
tftp            dgram   udp     wait    nobody  /usr/sbin/tcpd
/usr/sbin/in.tftpd /srv/tftp
 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Craig Small
Sent: Martes, 27 de Mayo de 2008 07:25 p.m.
To: jffnms-users@lists.sourceforge.net
Subject: Re: [jffnms-users] Error config transfer mode

On Fri, May 23, 2008 at 09:50:18AM -0500, Marco Caceres wrote:
> drwxrwxr-x  2 jffnms jffnms 4,0K 2008-05-23 09:33 tftpd
tftp daemons usually run as something like "nobody".
Have a look what user it is running as, or in inetd.conf if it is
started that way then make sure that user can make a file.

eg if it is nobody as root:
su -s /bin/sh -c 'touch /opt/jffnms/tftp/test' nobody

I think I got your path right.

 - 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
jffnms-users@lists.sourceforge.net
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
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to