From owner-freebsd-fs@FreeBSD.ORG Sun Jul 6 07:12:19 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6FE74B66 for ; Sun, 6 Jul 2014 07:12:19 +0000 (UTC) Received: from mail-qa0-f43.google.com (mail-qa0-f43.google.com [209.85.216.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D6732812 for ; Sun, 6 Jul 2014 07:12:18 +0000 (UTC) Received: by mail-qa0-f43.google.com with SMTP id k15so2459280qaq.2 for ; Sun, 06 Jul 2014 00:12:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=MRvXX7uqp18f7eBhK1qjQaWNj1W/soBnMhGWVu/K2C4=; b=P/I3P/DyLoCm6CaitIP6Oo4NZUWf/lgV4kzV6j2FP7UmEcRnBOSAB8lPpomfPTk6BR vjt3U5WzeJIQewFYkmhIw0Z55EfNk+EJdRGJf4lOGICBdWBreEXhGJxo/WcQd+/VNDjz B5G6+uJ0VEi9lVOgbgR2/L1/FF/qBaK0h7QnhAcVv506ejPs47kCJ4vF6YVuo9/DrP69 pfUT64VQvaVoNtM+hkpSaoSKq6vwPnrJfduLXVSRwdmQQA3Aes0lf2Rpieozh0WQWHlW CPkJgq7Mqo3Ke0ClaQz7GrHg/MEIcb4UkthpZkkCSnwBDU6bJOilHlsq3Lp7XTTXpyA3 qdFw== X-Gm-Message-State: ALoCoQmLLOYeOrFzrkplpPisK9s4tquAgsS1ol+1S97jGDgJih5T4wvXMt6GJW1SnbeVxnctCbu5 MIME-Version: 1.0 X-Received: by 10.140.105.102 with SMTP id b93mr8014583qgf.3.1404630732078; Sun, 06 Jul 2014 00:12:12 -0700 (PDT) Received: by 10.229.70.66 with HTTP; Sun, 6 Jul 2014 00:12:11 -0700 (PDT) X-Originating-IP: [24.4.138.100] In-Reply-To: <1A58F492-946F-46D4-A19E-2734F368CDAC@mail.turbofuzz.com> References: <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> <1A58F492-946F-46D4-A19E-2734F368CDAC@mail.turbofuzz.com> Date: Sun, 6 Jul 2014 00:12:11 -0700 Message-ID: Subject: Re: FreeBSD support being added to GlusterFS From: Harshavardhana To: Jordan Hubbard Content-Type: text/plain; charset=UTF-8 Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jul 2014 07:12:19 -0000 > > [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