Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jul 2014 00:12:11 -0700
From:      Harshavardhana <harsha@harshavardhana.net>
To:        Jordan Hubbard <jkh@mail.turbofuzz.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: FreeBSD support being added to GlusterFS
Message-ID:  <CAAeUqd1m_FxPWCVft5tmeok8QFsEZWGM-5QV20=mq8MeU=7EbA@mail.gmail.com>
In-Reply-To: <1A58F492-946F-46D4-A19E-2734F368CDAC@mail.turbofuzz.com>
References:  <C647EDA1-EA93-4A66-B59D-3B5F959DC0E0@gluster.org> <6ADBB2BF-C7E8-4050-9278-2565A63D2EA8@gluster.org> <20140627070411.GI24440@ivaldir.etoilebsd.net> <0F20AEEC-6244-42BC-815C-1440BBBDE664@mail.turbofuzz.com> <20140629203746.GI34108@ivaldir.etoilebsd.net> <CAAeUqd0=CdwaVjZjUc4PKxD_gxpydVqCy4tebywi=iV3gkpz1Q@mail.gmail.com> <1A58F492-946F-46D4-A19E-2734F368CDAC@mail.turbofuzz.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> [2014-07-05 23:32:08.694245] I [MSGID: 100030] [glusterfsd.c:1998:main] 0-glusterd: Started running glusterd version  (args: glusterd --debug)
> [2014-07-05 23:32:08.694289] D [logging.c:1781:__gf_log_inject_timer_event] 0-logging-infra: Starting timer now. Timeout = 120, current buf size = 5
> [2014-07-05 23:32:08.694482] D [MSGID: 0] [glusterfsd.c:614:get_volfp] 0-glusterfsd: loading volume file /usr/local/etc/glusterfs/glusterd.vol
> [2014-07-05 23:32:08.697067] I [glusterd.c:1215:init] 0-management: Using /var/db/glusterd as working directory
> [2014-07-05 23:32:08.697124] C [logging.c:2334:gf_cmd_log_init] 0-management: No such file or directory
> [2014-07-05 23:32:08.697135] C [glusterd.c:1231:init] 0-this->name: Unable to create cmd log file /usr/local/var/log/glusterfs/.cmd_log_history
>

Just tested this on FreeBSD 10 after 'rm -rf /usr/local' and complete
GlusterFS recompile/install - glusterd doesn't indicate this issue. A
dummy directory "/usr/local/var/log/glusterfs" directory is created
nevertheless after a 'make install'

glusterfsd/src/Makefile.am:     $(INSTALL) -d -m 755
$(DESTDIR)$(localstatedir)/log/glusterfs

^^ this should take care of the problematic directory.

Can you check if 'ls -l /usr/local/var/log' exists? as a work-around
you can compile with

# ./configure --localstatedir=/var and it would seem like FreeBSD has /var/log

-- 
Religious confuse piety with mere ritual, the virtuous confuse
regulation with outcomes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAeUqd1m_FxPWCVft5tmeok8QFsEZWGM-5QV20=mq8MeU=7EbA>