[freenet-support] Auto restart on Mac
Auto restart of Freenet when I reboot the system does not work on my Mac. Console log is as follows. Starting Freenet 0.7... launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 6 more failures without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 5 more failures without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... Removed stale pid file2: /Applications/Freenet/./Freenet.pid launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 4 more failures without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 3 more failures without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 2 more failures without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... Removed stale pid file2: /Applications/Freenet/./Freenet.pid launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 1 more failure without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: too many failures in succession Mac OS 10.4.11, PowerPC, Ti Laptop, Freenet 2015 -- Mel Charters ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe
Re: [freenet-support] Auto restart on Mac
Can you check the contents of the plist? It should be in ~/Library/LaunchAgents/ It should have an item called LaunchOnlyOnce that should be set to true, that should prevent the item from starting more than once, like this: ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd; plist version=1.0 dict keyLabel/key stringcom.freenet.startup.plist/string keyProgramArguments/key array string/Applications/Freenet/run.sh/string stringstart/string /array keyRunAtLoad/key true/ keyOnDemand/key false/ keyLaunchOnlyOnce/key true/ /dict /plist On Mon, Jun 8, 2009 at 1:19 PM, Mel Charters mcharter...@comcast.netwrote: Auto restart of Freenet when I reboot the system does not work on my Mac. Console log is as follows. Starting Freenet 0.7... launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 6 more failures without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 5 more failures without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... Removed stale pid file2: /Applications/Freenet/./Freenet.pid launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 4 more failures without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 3 more failures without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 2 more failures without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... Removed stale pid file2: /Applications/Freenet/./Freenet.pid launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 1 more failure without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: too many failures in succession Mac OS 10.4.11, PowerPC, Ti Laptop, Freenet 2015 -- Mel Charters ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe
Re: [freenet-support] Auto restart on Mac
The plist is: ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd; plist version=1.0 dict keyLabel/key stringcom.freenet.startup.plist/string keyProgramArguments/key array string/Applications/Freenet/run.sh/string stringstart/string /array keyRunAtLoad/key true/ keyOnDemand/key false/ keyLaunchOnlyOnce/key true/ /dict /plist Note it was already true Can you check the contents of the plist? It should be in ~/Library/LaunchAgents/ It should have an item called LaunchOnlyOnce that should be set to true, that should prevent the item from starting more than once, like this: ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtdhttp://www.apple.com/DTDs/PropertyList-1.0.dtd; plist version=1.0 dict keyLabel/key stringcom.freenet.startup.plist/string keyProgramArguments/key array string/Applications/Freenet/run.sh/string stringstart/string /array keyRunAtLoad/key true/ keyOnDemand/key false/ keyLaunchOnlyOnce/key true/ /dict /plist On Mon, Jun 8, 2009 at 1:19 PM, Mel Charters mailto:mcharter...@comcast.netmcharter...@comcast.net wrote: Auto restart of Freenet when I reboot the system does not work on my Mac. Console log is as follows. Starting Freenet 0.7... launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 6 more failures without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 5 more failures without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... Removed stale pid file2: /Applications/Freenet/./Freenet.pid launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 4 more failures without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 3 more failures without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 2 more failures without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... Removed stale pid file2: /Applications/Freenet/./Freenet.pid launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 1 more failure without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: too many failures in succession Mac OS 10.4.11, PowerPC, Ti Laptop, Freenet 2015 -- Mel Charters ___ Support mailing list mailto:Support@freenetproject.orgSupport@freenetproject.org http://news.gmane.org/gmane.network.freenet.supporthttp://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/supporthttp://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:mailto:support-requ...@freenetproject.orgsupport-requ...@freenetproject.org?subject=unsubscribe ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe -- Mel Charters___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe
Re: [freenet-support] Auto restart on Mac
Ok i will do some testing here. Does Freenet actually start at all? Or does freenet start and then the launchd item keeps cycling? There may be something in the wrapper.log file to give us a clue as to what is happening if the node is not starting correctly. I don't think there should be any issues with that specific launchd key, it is mentioned in apples documentation all the way back in 2004 so it shouldn't be leopard only. For now you can set KeyDisabled/key/true to turn the launchd item off and start freenet manually, or just delete the plist to keep it from cycling like that. There is a freenet controller application i have written for OS X that may be of some help to you for starting/stopping the node and managing it, but it is not a part of the official project and as far as i know the developers have not actually reviewed the code yet. On Mon, Jun 8, 2009 at 1:55 PM, Mel Charters mcharter...@comcast.netwrote: The plist is: ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd; plist version=1.0 dict keyLabel/key stringcom.freenet.startup.plist/string keyProgramArguments/key array string/Applications/Freenet/run.sh/string stringstart/string /array keyRunAtLoad/key true/ keyOnDemand/key false/ keyLaunchOnlyOnce/key true/ /dict /plist Note it was already true Can you check the contents of the plist? It should be in ~/Library/LaunchAgents/ It should have an item called LaunchOnlyOnce that should be set to true, that should prevent the item from starting more than once, like this: ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd; plist version=1.0 dict keyLabel/key stringcom.freenet.startup.plist/string keyProgramArguments/key array string/Applications/Freenet/run.sh/string stringstart/string /array keyRunAtLoad/key true/ keyOnDemand/key false/ keyLaunchOnlyOnce/key true/ /dict /plist On Mon, Jun 8, 2009 at 1:19 PM, Mel Charters mcharter...@comcast.net wrote: Auto restart of Freenet when I reboot the system does not work on my Mac. Console log is as follows. Starting Freenet 0.7... launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 6 more failures without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 5 more failures without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... Removed stale pid file2: /Applications/Freenet/./Freenet.pid launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 4 more failures without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 3 more failures without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 2 more failures without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... Removed stale pid file2: /Applications/Freenet/./Freenet.pid launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: 1 more failure without living at least 60 seconds will cause job removal launchd[207]: com.freenet.startup.plist: will restart in 10 seconds Starting Freenet 0.7... launchd[207]: com.freenet.startup.plist: respawning too quickly! throttling launchd[207]: com.freenet.startup.plist: too many failures in succession Mac OS 10.4.11, PowerPC, Ti Laptop, Freenet 2015 -- Mel Charters ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or
Re: [freenet-support] Auto restart on Mac
What i means is, launchd loaded this com.freenet.start.plist item and tried to carry out what it requests. Launchd items normally stay loaded and start the program in question in response to events or demand, or in some cases, they are supposed to keep the program running even if it quits or crashes. What appears to be happening is launchd starts the run.sh script, which starts freenet and exits, causing launchd to think it quit and try all over again. The LoadOnlyOnce key is supposed to prevent that from happening, so why it would even try again is puzzling to me. As i said i'll have to do some tests, but for now delete the plist item and start freenet manually. On Mon, Jun 8, 2009 at 3:03 PM, Mel Charters mcharter...@comcast.netwrote: Steve, Freenet starts and runs correctly when started with sh run.sh start in Terminal. I don't understand the console log terminology respawning to quickly!? Could it be a problem with the slow processor, it is 667 Mhz.? Incidentally, when I try to stop using sh run.sh stop in terminal it appears to just kill the pid, whereas if I shutdown the node in browser (Firefox) it seems to close files in an orderly manner. Mel Charters ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe