Skip to content

Instantly share code, notes, and snippets.

@ArtemGr
Created November 23, 2010 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ArtemGr/712220 to your computer and use it in GitHub Desktop.
Save ArtemGr/712220 to your computer and use it in GitHub Desktop.
Trying to install GFarm on FreeBSD.
cd /usr/ports/net/openldap24-server && make config # Turn OFF `DYNAMIC_BACKENDS`!
portinstall openldap-server
wget --no-check-certificate https://downloads.sourceforge.net/project/gfarm/gfarm_v2/2.4.0/gfarm-2.4.0.tar.gz
tar -xzf gfarm-2.4.0.tar.gz
cd gfarm-2.4.0/
./configure
gmake
# Make sure the FreeBSD knows about the manual pages:
joe /etc/manpath.config # add: OPTIONAL_MANPATH /usr/local/share/man
# If there is an error in lib/libgfarm/gfutil/gfutil.h, then edit it and
# replace "ssize_t" with "size_t"
# (see https://sourceforge.net/apps/trac/gfarm/ticket/138).
# Setting up unpriviledged,
# http://datafarm.apgrid.org/software/gfarm_v2/SETUP.private.en
cd; gfkey -f -p 1999888000
config-gfarm --prefix ${HOME}/gfarm -S -m 9141 -p 9142
echo export GFARM_CONFIG_FILE=${HOME}/gfarm/etc/gfarm2.conf >> ~/.profile
cd; ln -s ${HOME}/gfarm/etc/gfarm2.conf .gfarm2rc
# After running config-gfarm and config-gfsd:
joe /home/ceph/gfarm/etc/gfarm2.conf
# add "local_user_map /home/ceph/gfarm/etc/usermap" which seems to be missing.
# "gfhost" should work now, but it doesn't, and i'm stuck:
# libgfarm: [1000059] cannot connect to gfmd at chicago045.server4you.de:9141, give up: authentication error
# libgfarm: [1000017] connecting to gfmd at chicago045.server4you.de:9141: authentication error
# gfhost: authentication error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment