From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 15:45:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F028D1065740 for ; Mon, 21 Jun 2010 15:45:11 +0000 (UTC) (envelope-from a.huth@tmr.net) Received: from bo-uwka-srv01.de.tmr.net (bo-uwka-srv01.de.tmr.net [212.23.146.2]) by mx1.freebsd.org (Postfix) with ESMTP id AD6C48FC08 for ; Mon, 21 Jun 2010 15:45:11 +0000 (UTC) Received: from localhost (localhost.de.tmr.net [127.0.0.1]) by bo-uwka-srv01.de.tmr.net (Postfix) with ESMTP id EC1981DEABD for ; Mon, 21 Jun 2010 17:45:09 +0200 (CEST) Received: from bo-uwka-srv01.de.tmr.net ([127.0.0.1]) by localhost (bo-uwka-srv01.de.tmr.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 88677-01-15 for ; Mon, 21 Jun 2010 17:45:09 +0200 (CEST) Received: from localhost (ip-109-40-214-229.web.vodafone.de [109.40.214.229]) by bo-uwka-srv01.de.tmr.net (Postfix) with ESMTP id 16F9B1DEA99 for ; Mon, 21 Jun 2010 17:45:09 +0200 (CEST) Date: Mon, 21 Jun 2010 17:45:56 +0200 From: Alex Huth To: freebsd-questions@freebsd.org Message-ID: <20100621154556.GA1723@borusse.ewmr.base> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: Problem startin Bacula-BAT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 15:45:12 -0000 On Mon, Jun 21, 2010 at 12:38:25PM +0200, Cato Myhrhagen wrote: > Hello > > I have som problems getting Bacula-Bat working. Here is what i have done so > far: > > 1. Installed FreeBSD 8.0 rel > 2. From the ports catalogue i have installed Gnome Lite > 3. Uppgraded all the ports with CVsup > 4. Then I installed Bacula 5.0.0.1 rel (with MySQL), altso from the ports > catalogue. > 5. Installed BAT 5.0.0.1 > > I then tried to start Bat by opening Gnome, starting a teminalvindow and > typing bat, but got error message (dont have it now becouse it stoped giving > me this message). I also notised that bacula-dir prosess stopped when i > tried to start Bat. Then i checked if MySQL was running, but it wasnt even > installed (i thought it would be installed together with Bacula, but no) > > Therefor i installed MySQL-server 5.0.90, started it and tried to run BAT > again. The program starts but dosent seem to work. It continues to try to > connect to the database i think. In the lover left corner of the BAT Gui i > continues to display the folloving: "Connecting to Direbtor Localhost:9010" > and then says "Connection fails" > > Is there something i need to configure in BAT og Bacula to get BAT to > connect correctly? You have to configure MySQL for Bacula and the conf-files of Bacula. There are create scripts for MySQL. You should read the very good doc at bacula.org. Greetings Alex