Re: Moving freenet to another partition

[email protected] Sat, 30 Apr 2016 04:35:49 +0200
Newsgroups gmane.network.freenet.support
Organization Freenet Project
Message-ID <2263788.k81FLDDGeh@1337h4x0r>
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?

_______________________________________________
Support mailing list
[email protected]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[email protected]?subject=unsubscribe
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAABCAAGBQJXJBoJAAoJEMtmZ+8tjWt5A/AP/0nv98vZm0m6hfxFAFua4PEf
hHCi2YPdJLB4A/AOTwT2WT1539L7vd+3ZWUbtrlA20UkuGIa00ZO6x2eO2fkNwzr
6cae8TJsec0qoi9flw+ag2q6aTyAP8OwieAHf92GN04eBm0qoBRsFGAPtWl6qW0R
E7xSUxINf6B/W1YBIPEfuGZwt9QDxY5dALwTHvyRugnOe8NQr271aHcekYTTGIR4
Ns8vFtQHiZDQMi6G/81QkMRRQXB8r2Lns7tgEGLjV/8mQs7QIkxhJM5gg4b/Xy7Y
PMiJvOaFhxNgi47149inS0e81AbxAJFyr3kAkz2Yq0JdRMn03mefUuZOkHjdGzzz
GDYsbjHgaIKwKiV9TamUhXJSIwSIGk1AFBqw6AsQwLG2qh6JDalaHPVHVjJLtMqa
iWFeCVguAG63m+JleOHBqQQMt+xpFhJekGiCg58JW7YjWjuR3JEINV7IgTvZZdkc
SoNFhrSOSbViMnC7f77RWXPjC7Wich5xwko+GWDUYTyi8jAND4sft1uzJXXTXPna
jYDepuzVv0l7Hq0+Q16990uwp/v9ghuPz03RdMFx3hKU9RyMyZZaL9FMshFwTTLB
W4D/ga88VX2SH89QnfTScCtnN1UJ/ZY9lDgtIyId2z8RLWwIAo8VbXJrEJ5asLB2
UA5zNG/FeYx+ztDboRXm
=tQed
-----END PGP SIGNATURE-----