My webserver runs as apache, and my cron jobs run as apache. But when I run xinetd as apache, then I cannot do 'copy run tftp' and my backups still don't work. Even if I create the file manually and chmod 666 and chown apache.apache.
-- Jason -----Original Message----- From: Javier Szyszlican [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 02, 2005 3:27 PM Cc: [email protected] Subject: Re: [jffnms-users] Not all configs transfer after upgrade to 0.8 Is your JFFNMS install working under the "apache" or the "jffnms" user ? The tftp daemon should run as the same user running the cronjobs. Javier Jason Humes wrote: > I was creating a file because lots of docs about config backup said to > create the file first. I do a copy run tftp and the file shows up as > expected. But when I run php tftp_get_host_config HOSTID, it fails. > > This is how the created file looks; > > -rw-rw-rw- 1 nobody nobody 8055 Mar 2 15:22 vlswitch254-confg > > -- > > Jason > > > > -----Original Message----- > From: Javier Szyszlican [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 02, 2005 11:22 AM > Cc: [email protected] > Subject: Re: [jffnms-users] Not all configs transfer after upgrade to 0.8 > > Hi Jason, > > Why would you create a a file?????? > > You should let the tftp daemon create it. > > Do a copy run tftp from your router and check if you get a file there. > > If you don't you have a TFTP server problem. > > The files should be created as the jffnms user so the script can read them, > and > then delete them. > > Javier > > Jason Humes wrote: > >>Hi >>So I've edited one of the hosts giving the error and disabled config >>transfer, saved, re-enabled config transfer for 12.0 or newer, and then > > ran > >>the tftp_get_host_config ## (where ##is the host id) and I get the same >>error. Yet, if I manually create a file with the routers hostname in the >>/opt/jffnms/tftpd dir and chmod 666 it, and then do a copy run tftp, it >>works. How is jffnms naming its configs and how should my xinetd tftp > > conf > >>file look? Here is mine... >> >>service tftp >>{ >> socket_type = dgram >> protocol = udp >> wait = yes >> user = root >> server = /usr/sbin/in.tftpd >> server_args = -c -s /opt/jffnms/tftpd >> disable = no >> >> >> >>Does this look right, its almost as if its creating some files, but not >>others. Also, does jffnms move these configs once they are backed up? >>There is nothing readable in the tftpd folder. Thanks >>-- >> >>Jason >> >> >> >>-----Original Message----- >>From: Javier Szyszlican [mailto:[EMAIL PROTECTED] >>Sent: Wednesday, March 02, 2005 10:20 AM >>Cc: [email protected] >>Subject: Re: [jffnms-users] Not all configs transfer after upgrade to 0.8 >> >>Johan, >> >>The only change is that it now uses our snmp_set function (wrapper for > > SNMP > >>v1, >>v2 or v3) >> >>Can you disable config transfer for that host and try again. >> >>Javier >> >>johan wrote: >> >> >>>Javier, >>> >>>IN my case, he always stops at host with id nr. 60, dont know why, he >>>never goes further. Somethinghas changed in the engine/tftp... file ? >>> >>>Greetz, >>>Johan >>> >>> >>>On Wed, 2005-03-02 at 09:55 -0500, Jason Humes wrote: >>> >>> >>> >>>>Hi >>>>So now since the upgrade to 0.8.0 some of my host configs don't backup >>>>properly. When I run the tftp script manually, so of them finish ok, > > some > >>>>say error getting file and some say error waiting for transfer to > > fininsh. > >>>>My tftp server is set to use /opt/jffnms/tftpd and under the system setup >>>>part of jffnms, it is set for /opt/jffnms/tftpd...yet while running this >>>>tftp script, I never see any configs in that directory. Any >> >>ideas...Thanks >> >> >>>>-- >>>> >>>>Jason >>>> >>>> >>>> >>>>------------------------------------------------------- >>>>SF email is sponsored by - The IT Product Guide >>>>Read honest & candid reviews on hundreds of IT Products from real users. >>>>Discover which products truly live up to the hype. Start reading now. >>>>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>>_______________________________________________ >>>>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 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users
