From owner-freebsd-questions@FreeBSD.ORG Wed Jun 30 13:46:38 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 5C3981065672 for ; Wed, 30 Jun 2010 13:46:38 +0000 (UTC) (envelope-from albinv4616@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id DA2D28FC15 for ; Wed, 30 Jun 2010 13:46:37 +0000 (UTC) Received: by ewy26 with SMTP id 26so290723ewy.13 for ; Wed, 30 Jun 2010 06:46:34 -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=mzomOGVGrfbmInD916bU8OgCh+3uSAH0GGnV4bnc6gY=; b=hu3BIh7l+n/cQHuRmO2oiOFsdcizMOrcq2DSXBoRvD8tGsbOfdqxfk6OdkA4y2opq3 xx1PlRA9x4Gn2wIGQ9dA9/12j1pDjiAf+0dbNztxQwuXPIQl3gfo1Xgymbgce9UCv2nP Y2RawTtBVTuS38JV5F9BdcK82I5VeR0lEM6po= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=f6utcvqRp6Ecd9EZP64L/jLxs1MLsOcfpKsVGSMTxjoXMWbM3Xj8tMg/wB0hWcMxHa F3o7s1VHH6pXCo9JLDNzlipC53bRa8Q5zwVnu3P/lAT0vqTGbgqFc7IYO3J95ZAcGKEt h2hvQuKL74/HtgoUpNMmHkPexV1ySbwloLWpE= MIME-Version: 1.0 Received: by 10.213.90.70 with SMTP id h6mr389095ebm.20.1277903703918; Wed, 30 Jun 2010 06:15:03 -0700 (PDT) Received: by 10.216.168.144 with HTTP; Wed, 30 Jun 2010 06:15:03 -0700 (PDT) Date: Wed, 30 Jun 2010 15:15:03 +0200 Message-ID: From: Albin Vega To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Bconsole not properly installed 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: Wed, 30 Jun 2010 13:46:38 -0000 Hello First let me say that I havent been using FreeBSD and Bacula before, so its all a bit new to me, and I might do some beginners mistakes. have installed Bacula server 5.0.0.1 on a FreeBsd 8 platform. Have followed the instructions on http://www.freebsddiary.org/bacula.php and have run all the scripts and have the bacula pids running. But now I have run into some trouble. When i try to start the bconsole on the terminal window I get the message "Command not found". I then open Gnome and run the bconsole command in a treminal window. I get the message "Bconsole not properly installed" I have located bconsole file in to places: 1. /usr/local/share/bacula/bconsole This script looks like this: bacupserver# more /usr/local/share/bacula/bconsole #!/bin/sh which dirname >/dev/null # does dirname exit? if [ $? = 0 ] ; then cwd=`dirname $0` if [ x$cwd = x. ]; then cwd=`pwd` fi if [ x$cwd = x/usr/local/sbin ] ; then echo "bconsole not properly installed." exit 1 fi fi if [ x/usr/local/sbin = x/usr/local/etc ]; then echo "bconsole not properly installed." exit 1 fi if [ $# = 1 ] ; then echo "doing bconsole $1.conf" /usr/local/sbin/bconsole -c $1.conf else /usr/local/sbin/bconsole -c /usr/local/etc/bconsole.conf fi Running this script returns message: bconsole not properly installed. 2. /usr/ports/sysutils/bacula-server/work/bacula-5.0.0/scripts/bconsole This script looks like this: bacupserver# more /usr/ports/sysutils/bacula-server/work/bacula-5.0.0/scripts/bconsole #!/bin/sh which dirname >/dev/null # does dirname exit? if [ $? = 0 ] ; then cwd=`dirname $0` if [ x$cwd = x. ]; then cwd=`pwd` fi if [ x$cwd = x/sbin ] ; then echo "bconsole not properly installed." exit 1 fi fi if [ x/sbin = x/etc/bacula ]; then echo "bconsole not properly installed." exit 1 fi if [ $# = 1 ] ; then echo "doing bconsole $1.conf" /sbin/bconsole -c $1.conf else /sbin/bconsole -c /etc/bacula/bconsole.conf fi Runnig this script returns the message: /usr/ports/sysutils/bacula-server/work/bacula-5.0.0/scripts/bconsole: /sbin/bconsole: not found I then located the bconsole.conf file: /usr/ports/sysutils/bacula-server/work/bacula-5.0.0/src/console/bconsole.conf Tryed to manually move til to /etc/bacula but there is no /etc/bacula directory... I am running out of ideas on what to do here. Enybody have any ideas on what to do? Would be very greatful I someone would point me in the right direction.... Best regards Albin