From owner-freebsd-questions@FreeBSD.ORG Tue Jun 22 13:42:40 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 D701D1065670; Tue, 22 Jun 2010 13:42:40 +0000 (UTC) (envelope-from cato.myhrhagen@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3CBE88FC17; Tue, 22 Jun 2010 13:42:39 +0000 (UTC) Received: by wyb33 with SMTP id 33so4202598wyb.13 for ; Tue, 22 Jun 2010 06:42:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=o11ecVgYuAqfRHPaDDcWP5KG7I3B0PS3fqqDXJc76iY=; b=LziCtD+uDm3XyA6HapmDTNsTLV0vBxCbFeeNvFZ0dbeoS92m/zCaxl8hlWcoi/Wnh9 o9oQslX/hWNij1BL6GYnDWYcy8Ri8noZ/oBG8CSyiYiqyz1Ti6DehHQz3ajhFFvW4+Wf DxUOW8lZxoJW39QkhYIVBvLqkhTwVs1aPOHHQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nHhbDsuAJh6+RmwNFlsYgu64jb3dQxEL/X0zXDhlqbydRIH0CdrX+vBtV7qE4r7q4w S9VNZEs0idexhaAnjdZ/xEXI6GJiFbhmhVjCByNip6M5smMkcVhG6e7nxj1Wqbyx4UWf 69wBsLdH4sO8WPxZj8q4vJbyTWVtQILzkOkPo= MIME-Version: 1.0 Received: by 10.216.157.141 with SMTP id o13mr4626020wek.5.1277214157000; Tue, 22 Jun 2010 06:42:37 -0700 (PDT) Received: by 10.216.154.204 with HTTP; Tue, 22 Jun 2010 06:42:36 -0700 (PDT) Date: Tue, 22 Jun 2010 15:42:36 +0200 Message-ID: From: Cato Myhrhagen To: freebsd-questions@freebsd.org, freebsd-questions-request@freebsd.org, bacula-users-request@lists.sourceforge.net, bacula-users@lists.sourceforge.net Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Problems running 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: Tue, 22 Jun 2010 13:42:40 -0000 Hello I still 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 (/usr/ports/sysutils/bacula-server) 5. Installed BAT 5.0.0.1 (/usr/ports/sysutils/bacula-bat) 6. Installed MySql 5.0.90(/usr/ports/databases/mysql55-server) 7. Ran the 3 scripts to install the databases etc that is needed to run Bacula on the MySQL server # cd /usr/local/share/bacula/ # ./grant_mysql_privileges # ./create_mysql_database # ./make_mysql_tables I then tried to start Bat by opening Gnome, starting a terminalwindow and typing bat. Bat starts, but have som problems connecting. . It continues to try to connect to the database i think. In the lower left corner of the BAT Gui i continues to display the folloving: "Connecting to Director Localhost:9010" and then times out saying "Connection fails" Checked if bacula is running (ps =96aux | grep bacula) and it both the dir/= sd is running. bacula 746 0.0 0.1 9996 4508 ?? Ss 9:11AM 0:00.01 /usr/local/sbin/bacula-sd -u bacula -g bacula -v -c /usr/local/etc/bacula-sd.conf bacula 1192 0.0 0.2 13364 6132 ?? Ss 10:23AM 0:00.03 /usr/local/sbin/bacula-dir -u bacula -g bacula -v -c /usr/local/etc/bacula-dir.conf Also checked if MySQL was running (ps =96aux | grep mysql) Did not get any result on this, but when I tried to start the database, I got the message that the process was already running, so assuming that MySQ= L is running. Now I checked the log (/var/db/backula/log) and got the following error message: 22-Jun 10:31 backupserver.domainname.no-dir: ERROR in authenticate.c:418 Unable to authenticate console "*UserAgent*" at client:127.0.0.1:36131. Also turned on de-bugging in BAT and get the following when I try to start BAT: backupserver# bat bat: bcomm/dircomm.cpp:188 DirComm 0 BAILING Connection failed backupserver.domainname.no-dir bat: bcomm/dircomm.cpp:222 Returning FALSE from DirComm->connect_dir : 0 backupserver.domainname.no-dir bat: mainwin.cpp:105 Setting initial window to backupserver.domainname.no-dir bat: console/console.cpp:860 DirComm 1 About to Create and Connect backupserver.domainname.no-dir bat: bcomm/dircomm.cpp:188 DirComm 1 BAILING Connection failed backupserver.domainname.no-dir bat: bcomm/dircomm.cpp:222 Returning FALSE from DirComm->connect_dir : 1 backupserver.domainname.no-dir bat: console/console.cpp:868 DirComm 1 NOT Connected backupserver.domainname.no-dir bat: console/console.cpp:860 DirComm 2 About to Create and Connect backupserver.domainname.no-dir bat: bcomm/dircomm.cpp:188 DirComm 2 BAILING Connection failed backupserver.domainname.no-dir Anybody have any idea on what could be wrong? Best Regards Cato