Re: [freenet-support] Moving freenet to another partition
On Tuesday, September 08, 2015 03:55:25 PM Ivo Vegter wrote: > To move freenet from /opt to /home, I followed the instructions here: > https://wiki.freenetproject.org/Moving_an_Installation > i.e. I changed all occurrences of /opt in freenet.ini to /home. > > I use systemd, and updated the freenet.service file to reflect the new > location. For good measure, I changed the freenet user's home directory > from /opt/freenet to /home/freenet, too. > > Systemd was unable to start freenet, however. The log says only that the > main process exited with status 1 and the systemd unit consequently failed > with result 'exit-code'. (Exact log below.) > > I found more references to /opt in run.sh and wrapper.config, which > suggests the above wiki page is incomplete, at best. I changed those > occurrences too, but no luck. > > Pls halp. > > Ivo > > LOG (note last 4 lines in particular): > > Sep 08 15:19:27 myhost.mydomain sudo[26977]:myuser : TTY=pts/0 ; > PWD=/home/freenet ; USER=root ; COMMAND=/usr/bin/systemctl start freenet > Sep 08 15:19:27 myhost.mydomain sudo[26977]: pam_unix(sudo:session): > session opened for user root by myuser(uid=0) > Sep 08 15:19:27 myhost.mydomain systemd[1]: Starting Freenet... > -- Subject: Unit freenet.service has begun start-up > -- Defined-By: systemd > -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel > -- > -- Unit freenet.service has begun starting up. > Sep 08 15:19:27 myhost.mydomain polkitd[553]: Registered Authentication > Agent for unix-process:26978:25862142 (system bus name :1.82 > [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path > /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8) > Sep 08 15:19:32 myhost.mydomain run.sh[26983]: Starting Freenet done > Sep 08 15:19:32 myhost.mydomain sudo[26977]: pam_unix(sudo:session): > session closed for user root > Sep 08 15:19:32 myhost.mydomain systemd[1]: Started Freenet. > -- Subject: Unit freenet.service has finished start-up > -- Defined-By: systemd > -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel > -- > -- Unit freenet.service has finished starting up. > -- > -- The start-up result is done. > Sep 08 15:19:32 myhost.mydomain polkitd[553]: Unregistered Authentication > Agent for unix-process:26978:25862142 (system bus name :1.82, object path > /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8) > (disconnected from bus) > Sep 08 15:19:33 myhost.mydomain systemd[1]: freenet.service: Main process > exited, code=exited, status=1/FAILURE > Sep 08 15:19:33 myhost.mydomain run.sh[27031]: Freenet is not running. > Sep 08 15:19:33 myhost.mydomain systemd[1]: freenet.service: Unit entered > failed state. > Sep 08 15:19:33 myhost.mydomain systemd[1]: freenet.service: Failed with > result 'exit-code'. (Sorry for the late answer, support is dealt with by volunteers, and nobody seemed to notice your mail back then.) Please search your system for a file called "wrapper.log", the last few lines should tell why Freenet crashed. Please review them for private information before sending them to this list. Also, please tell us: - which OS you are using - how you installed Freenet, for example did you use one of the OS's packages? signature.asc Description: This is a digitally signed message part. ___ 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] Moving freenet to another partition
Srry I don't know how to start a new subject , but how do I use frost in freenet on my Linux Korora 22 Cinnamon 64bit??? I dld it but it isn't doing anything I'm lost please help!!! On Sep 8, 2015 8:55 AM, "Ivo Vegter" wrote: > To move freenet from /opt to /home, I followed the instructions here: > https://wiki.freenetproject.org/Moving_an_Installation > i.e. I changed all occurrences of /opt in freenet.ini to /home. > > I use systemd, and updated the freenet.service file to reflect the new > location. For good measure, I changed the freenet user's home directory > from /opt/freenet to /home/freenet, too. > > Systemd was unable to start freenet, however. The log says only that the > main process exited with status 1 and the systemd unit consequently failed > with result 'exit-code'. (Exact log below.) > > I found more references to /opt in run.sh and wrapper.config, which > suggests the above wiki page is incomplete, at best. I changed those > occurrences too, but no luck. > > Pls halp. > > Ivo > > LOG (note last 4 lines in particular): > > Sep 08 15:19:27 myhost.mydomain sudo[26977]:myuser : TTY=pts/0 ; > PWD=/home/freenet ; USER=root ; COMMAND=/usr/bin/systemctl start freenet > Sep 08 15:19:27 myhost.mydomain sudo[26977]: pam_unix(sudo:session): > session opened for user root by myuser(uid=0) > Sep 08 15:19:27 myhost.mydomain systemd[1]: Starting Freenet... > -- Subject: Unit freenet.service has begun start-up > -- Defined-By: systemd > -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel > -- > -- Unit freenet.service has begun starting up. > Sep 08 15:19:27 myhost.mydomain polkitd[553]: Registered Authentication > Agent for unix-process:26978:25862142 (system bus name :1.82 > [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path > /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8) > Sep 08 15:19:32 myhost.mydomain run.sh[26983]: Starting Freenet done > Sep 08 15:19:32 myhost.mydomain sudo[26977]: pam_unix(sudo:session): > session closed for user root > Sep 08 15:19:32 myhost.mydomain systemd[1]: Started Freenet. > -- Subject: Unit freenet.service has finished start-up > -- Defined-By: systemd > -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel > -- > -- Unit freenet.service has finished starting up. > -- > -- The start-up result is done. > Sep 08 15:19:32 myhost.mydomain polkitd[553]: Unregistered Authentication > Agent for unix-process:26978:25862142 (system bus name :1.82, object path > /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8) > (disconnected from bus) > Sep 08 15:19:33 myhost.mydomain systemd[1]: freenet.service: Main process > exited, code=exited, status=1/FAILURE > Sep 08 15:19:33 myhost.mydomain run.sh[27031]: Freenet is not running. > Sep 08 15:19:33 myhost.mydomain systemd[1]: freenet.service: Unit entered > failed state. > Sep 08 15:19:33 myhost.mydomain systemd[1]: freenet.service: Failed with > result 'exit-code'. > > > ___ > 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
[freenet-support] Moving freenet to another partition
To move freenet from /opt to /home, I followed the instructions here: https://wiki.freenetproject.org/Moving_an_Installation i.e. I changed all occurrences of /opt in freenet.ini to /home. I use systemd, and updated the freenet.service file to reflect the new location. For good measure, I changed the freenet user's home directory from /opt/freenet to /home/freenet, too. Systemd was unable to start freenet, however. The log says only that the main process exited with status 1 and the systemd unit consequently failed with result 'exit-code'. (Exact log below.) I found more references to /opt in run.sh and wrapper.config, which suggests the above wiki page is incomplete, at best. I changed those occurrences too, but no luck. Pls halp. Ivo LOG (note last 4 lines in particular): Sep 08 15:19:27 myhost.mydomain sudo[26977]:myuser : TTY=pts/0 ; PWD=/home/freenet ; USER=root ; COMMAND=/usr/bin/systemctl start freenet Sep 08 15:19:27 myhost.mydomain sudo[26977]: pam_unix(sudo:session): session opened for user root by myuser(uid=0) Sep 08 15:19:27 myhost.mydomain systemd[1]: Starting Freenet... -- Subject: Unit freenet.service has begun start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit freenet.service has begun starting up. Sep 08 15:19:27 myhost.mydomain polkitd[553]: Registered Authentication Agent for unix-process:26978:25862142 (system bus name :1.82 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8) Sep 08 15:19:32 myhost.mydomain run.sh[26983]: Starting Freenet done Sep 08 15:19:32 myhost.mydomain sudo[26977]: pam_unix(sudo:session): session closed for user root Sep 08 15:19:32 myhost.mydomain systemd[1]: Started Freenet. -- Subject: Unit freenet.service has finished start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit freenet.service has finished starting up. -- -- The start-up result is done. Sep 08 15:19:32 myhost.mydomain polkitd[553]: Unregistered Authentication Agent for unix-process:26978:25862142 (system bus name :1.82, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8) (disconnected from bus) Sep 08 15:19:33 myhost.mydomain systemd[1]: freenet.service: Main process exited, code=exited, status=1/FAILURE Sep 08 15:19:33 myhost.mydomain run.sh[27031]: Freenet is not running. Sep 08 15:19:33 myhost.mydomain systemd[1]: freenet.service: Unit entered failed state. Sep 08 15:19:33 myhost.mydomain systemd[1]: freenet.service: Failed with result 'exit-code'. ___ 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] Moving Freenet to another partition
On May 31, 2011, at 6:11 PM, Matthew Toseland wrote: > On Sunday 29 May 2011 00:02:45 Daxter wrote: >> On May 28, 2011, at 8:35 AM, Stephen Mollett wrote: >>> On Friday 27 May 2011 21:40:27 Daxter wrote: After further testing, I am absolutely sure that something is wrong here. To make sure that my findings were true, I renamed my original Freenet folder in /Applications/ to Freenet22, and then attempted run.sh from the new location. Every time it recreated a folder... >>> >>> Have a look in your freenet.ini file and see if it references the original >>> location at all. If so, try changing the references to point to the new >>> folder. >>> >>> I'm not a Mac person so I don't know whether there may be other factors >>> (such >>> as the OS somehow "remembering" the original path as the program's working >>> directory or something) but this would seem to be the most likely cause of >>> the >>> behaviour you see. >>> >>> Hope this helps, >>> Stephen >> >> Thanks for the tip. I'll manually modify these and see if my node then works >> properly. >> >> Unless there's some weird security issue requiring absolute path references, >> why aren't we looking for these files in the current directory? > > Check wrapper.conf. > > If it's not that then it might be some mac-specific startup/launch script. Turns out Stephen was right, the issue was the freenet.ini file. The list below holds all of the settings that specify a directory. As you can see, all but ssl.sslKeyStore and node.install.storeDir specify full paths from the root directory. Why is this? From my understanding they all should refer to the local directory (for portability) or there should be a single one that sets the absolute path for all the code to inherit. Why do some refer to the local directory, but most refer to the absolute directory? ssl.sslKeyStore=datastore/certs node.masterKeyFile=/Applications/Freenet/master.keys node.downloadsDir=/Applications/Freenet/downloads node.install.userDir=/Applications/Freenet node.install.tempDir=/Applications/Freenet/temp-43346 node.install.pluginDir=/Applications/Freenet/plugins node.install.persistentTempDir=/Applications/Freenet/persistent-temp-43346 node.install.cfgDir=/Applications/Freenet node.install.runDir=/Applications/Freenet node.install.nodeDir=/Applications/Freenet node.install.storeDir=datastore ___ 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] Moving Freenet to another partition
On Sunday 29 May 2011 00:02:45 Daxter wrote: > On May 28, 2011, at 8:35 AM, Stephen Mollett wrote: > > On Friday 27 May 2011 21:40:27 Daxter wrote: > >> After further testing, I am absolutely sure that something is wrong here. > >> To make sure that my findings were true, I renamed my original Freenet > >> folder in /Applications/ to Freenet22, and then attempted run.sh from the > >> new location. Every time it recreated a folder... > > > > Have a look in your freenet.ini file and see if it references the original > > location at all. If so, try changing the references to point to the new > > folder. > > > > I'm not a Mac person so I don't know whether there may be other factors > > (such > > as the OS somehow "remembering" the original path as the program's working > > directory or something) but this would seem to be the most likely cause of > > the > > behaviour you see. > > > > Hope this helps, > > Stephen > > Thanks for the tip. I'll manually modify these and see if my node then works > properly. > > Unless there's some weird security issue requiring absolute path references, > why aren't we looking for these files in the current directory? Check wrapper.conf. If it's not that then it might be some mac-specific startup/launch script. signature.asc Description: This is a digitally signed message part. ___ 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] Moving Freenet to another partition
On May 28, 2011, at 8:35 AM, Stephen Mollett wrote: > On Friday 27 May 2011 21:40:27 Daxter wrote: >> After further testing, I am absolutely sure that something is wrong here. >> To make sure that my findings were true, I renamed my original Freenet >> folder in /Applications/ to Freenet22, and then attempted run.sh from the >> new location. Every time it recreated a folder... > > Have a look in your freenet.ini file and see if it references the original > location at all. If so, try changing the references to point to the new > folder. > > I'm not a Mac person so I don't know whether there may be other factors (such > as the OS somehow "remembering" the original path as the program's working > directory or something) but this would seem to be the most likely cause of > the > behaviour you see. > > Hope this helps, > Stephen Thanks for the tip. I'll manually modify these and see if my node then works properly. Unless there's some weird security issue requiring absolute path references, why aren't we looking for these files in the current directory? ___ 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] Moving Freenet to another partition
On Friday 27 May 2011 21:40:27 Daxter wrote: > After further testing, I am absolutely sure that something is wrong here. > To make sure that my findings were true, I renamed my original Freenet > folder in /Applications/ to Freenet22, and then attempted run.sh from the > new location. Every time it recreated a folder... Have a look in your freenet.ini file and see if it references the original location at all. If so, try changing the references to point to the new folder. I'm not a Mac person so I don't know whether there may be other factors (such as the OS somehow "remembering" the original path as the program's working directory or something) but this would seem to be the most likely cause of the behaviour you see. Hope this helps, Stephen ___ 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] Moving Freenet to another partition
On May 27, 2011, at 2:46 PM, Dsoslglece wrote: > Le 27/05/11 21:32, Daxter a écrit : >> >> On May 27, 2011, at 2:28 PM, Dsoslglece wrote: >>> Le 27/05/11 20:38, Daxter a écrit : Hello all, I want to move my Freenet folder to a larger partition in my computer which is running Mac OSX 10.6. I copied it over and moved the original folder in /Applications/ to the trash (not yet deleting it), and then attempted to run it from its new location. While starting up, however, it warned me that no seednodes.fref file existed and as such it could not connect to the opennet. A quick glance into /Applications/ and I found that Freenet had recreated a folder there and was repopulating it with a number of files, all of which probably were not properly loaded from the new location. I have two theories as to what might be the cause: 1) After I chose the install directory during the original installation, the install script changed a preference file telling Freenet to always look for such files in /Applications/Freenet/ (the original install location) instead of the current directory. 2) regardless of where you choose to install Freenet, something has been hard-coded to look in /Applications/Freenet (for my OS at least). Does anybody know why this is happening? I want to devote a larger portion of my HDD to Freenet, but this issue is preventing me from doing so. >>> Normally, Freenet works anywhere (at least on Mac snow leopard). >>> For instance, I've got it on my hard disk, but localized in a encrypted >>> sparse image bundle. >>> in fact, it is possible to take the whole folder containing it (after it >>> has been shutted), putting it somewhere else, and start it again, and >>> evrerything goes fine again. >>> >>> The only thing then that has to be changed, is the path to it (for the >>> commands), and also not to forget to indicate its new position to >>> LittleSnitch… >> >> You say that, and yet my experience proves otherwise. I originally installed >> it in my Applications folder and then tried relocating it to another >> partition. When starting via run.sh in the new directory, I had the issues >> mentioned in my first email. > Well I can only speak from what I have personnally experienced. But, are you > sure that you had the new path correctly indicated in terminal? > One of the surest method I know for this is to first enter : cd space, and > then, slide the Freenet folder on top of terminal, then enter. > By the way, normally, you don't even need to get the old folder out of reach > in the garbage, you can have few FN Folders, as long as only one is started, > no problem > You could also have put the original folder in the new location and started > it then… > > Maybe you could open both folders side by side and compare the content ans > especially those files mentionned as missing… After further testing, I am absolutely sure that something is wrong here. To make sure that my findings were true, I renamed my original Freenet folder in /Applications/ to Freenet22, and then attempted run.sh from the new location. Every time it recreated a folder with the following files in it. After checking that the folder had been recreated, I stopped Freenet and deleted the folder. I moved my new copy (on the larger partition) to a different directory, and the results were still the same. I even tried renaming the folder and it still happened. bookmarks.dat downloads/ node.db4o.crypt persistent-temp-43346/ bootID extra-peer-data-43346/ opennet-10718 plugins/ client-throttle.dat master.keys openpeers-10718 temp-43346/ completed.list.downloadsnode-43346 openpeers-old-10718 uptime.dat completed.list.uploads node-throttle.dat peers-43346 ___ 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] Moving Freenet to another partition
On May 27, 2011, at 2:28 PM, Dsoslglece wrote: > Le 27/05/11 20:38, Daxter a écrit : >> >> Hello all, >> >> I want to move my Freenet folder to a larger partition in my computer which >> is running Mac OSX 10.6. I copied it over and moved the original folder in >> /Applications/ to the trash (not yet deleting it), and then attempted to run >> it from its new location. While starting up, however, it warned me that no >> seednodes.fref file existed and as such it could not connect to the opennet. >> A quick glance into /Applications/ and I found that Freenet had recreated a >> folder there and was repopulating it with a number of files, all of which >> probably were not properly loaded from the new location. >> >> I have two theories as to what might be the cause: >> 1) After I chose the install directory during the original installation, the >> install script changed a preference file telling Freenet to always look for >> such files in /Applications/Freenet/ (the original install location) instead >> of the current directory. >> 2) regardless of where you choose to install Freenet, something has been >> hard-coded to look in /Applications/Freenet (for my OS at least). >> >> Does anybody know why this is happening? I want to devote a larger portion >> of my HDD to Freenet, but this issue is preventing me from doing so. > Normally, Freenet works anywhere (at least on Mac snow leopard). > For instance, I've got it on my hard disk, but localized in a encrypted > sparse image bundle. > in fact, it is possible to take the whole folder containing it (after it has > been shutted), putting it somewhere else, and start it again, and evrerything > goes fine again. > > The only thing then that has to be changed, is the path to it (for the > commands), and also not to forget to indicate its new position to > LittleSnitch… You say that, and yet my experience proves otherwise. I originally installed it in my Applications folder and then tried relocating it to another partition. When starting via run.sh in the new directory, I had the issues mentioned in my first email.___ 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] Moving Freenet to another partition
Le 27/05/11 20:38, Daxter a écrit : Hello all, I want to move my Freenet folder to a larger partition in my computer which is running Mac OSX 10.6. I copied it over and moved the original folder in /Applications/ to the trash (not yet deleting it), and then attempted to run it from its new location. While starting up, however, it warned me that no seednodes.fref file existed and as such it could not connect to the opennet. A quick glance into /Applications/ and I found that Freenet had recreated a folder there and was repopulating it with a number of files, all of which probably were not properly loaded from the new location. I have two theories as to what might be the cause: 1) After I chose the install directory during the original installation, the install script changed a preference file telling Freenet to always look for such files in /Applications/Freenet/ (the original install location) instead of the current directory. 2) regardless of where you choose to install Freenet, something has been hard-coded to look in /Applications/Freenet (for my OS at least). Does anybody know why this is happening? I want to devote a larger portion of my HDD to Freenet, but this issue is preventing me from doing so. ___ 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 Normally, Freenet works anywhere (at least on Mac snow leopard). For instance, I've got it on my hard disk, but localized in a encrypted sparse image bundle. in fact, it is possible to take the whole folder containing it (after it has been shutted), putting it somewhere else, and start it again, and evrerything goes fine again. The only thing then that has to be changed, is the path to it (for the commands), and also not to forget to indicate its new position to LittleSnitch… ___ 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
[freenet-support] Moving Freenet to another partition
Hello all, I want to move my Freenet folder to a larger partition in my computer which is running Mac OSX 10.6. I copied it over and moved the original folder in /Applications/ to the trash (not yet deleting it), and then attempted to run it from its new location. While starting up, however, it warned me that no seednodes.fref file existed and as such it could not connect to the opennet. A quick glance into /Applications/ and I found that Freenet had recreated a folder there and was repopulating it with a number of files, all of which probably were not properly loaded from the new location. I have two theories as to what might be the cause: 1) After I chose the install directory during the original installation, the install script changed a preference file telling Freenet to always look for such files in /Applications/Freenet/ (the original install location) instead of the current directory. 2) regardless of where you choose to install Freenet, something has been hard-coded to look in /Applications/Freenet (for my OS at least). Does anybody know why this is happening? I want to devote a larger portion of my HDD to Freenet, but this issue is preventing me from doing so. ___ 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