Message: 1 Date: Mon, 25 Feb 2008 14:55:29 +0100 From: Arno Lehmann <[EMAIL PROTECTED]> Subject: Re: [Bacula-users] Bacula Console Not installed properly To: bacula-users@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi, 23.02.2008 20:09, Glen Vickers wrote: > Here's what you asked for minus the emails I configured and the passwords. > > Configuration on Sat Feb 23 12:04:10 MST 2008: > > Host: i686-pc-linux-gnu -- redhat > Bacula version: 2.2.8 (26 January 2008) > Source code location: . > Install binaries: /root/bacula/sbin > Install config files: /root/bacula/bin Config files in a bin directory is a bit... unexpected. It might be that this overwrites the binary bconsole program, even. > Scripts directory: /root/bacula/bin The same here (I'm not sure where bconsole - the shell script - is installed to by default, but putting the script and the binary into the same directory is, obviously, difficult). > Archive directory: > Working directory: /root/bacula/bin/working > PID directory: /root/bacula/bin/working > Subsys directory: /root/bacula/bin/working > Man directory: /root/bacula/bin > Data directory: /usr/share > C Compiler: gcc 4.1.2 > C++ Compiler: /usr/lib/ccache/g++ 4.1.2 > Compiler flags: -g -Wall -fno-strict-aliasing -fno-exceptions > -fno-rtti > Linker flags: > Libraries: -lpthread > Statically Linked Tools: no > Statically Linked FD: no > Statically Linked SD: no > Statically Linked DIR: no > Statically Linked CONS: no > Database type: MySQL > Database lib: -L/usr/lib/mysql -lmysqlclient_r -lz > Database name: bacula > Database user: bacula > > Director Port: 9101 > File daemon Port: 9102 > Storage daemon Port: 9103 > > Director User: bacula > Director Group: bacula > Storage Daemon User: bacula > Storage DaemonGroup: bacula > File Daemon User: bacula > File Daemon Group: bacula > > SQL binaries Directory /usr/bin > > Large file support: yes > Bacula conio support: yes -lcurses > readline support: no > TCP Wrappers support: no > TLS support: no > Encryption support: no > ZLIB support: yes > enable-smartalloc: yes > bat support: no > enable-gnome: yes Version 2.x > enable-bwx-console: no > enable-tray-monitor: yes > client-only: no > build-dird: yes > build-stored: yes > ACL support: yes > Python support: no > Batch insert enabled: yes > > I also did a bit of tweaking and changed the sbindir and the sysconfigdir. > I rebuilt and no difference. > > I still see the /sbin/bconsole Ok... this one has to be the binary executable. A check with 'file /sbin/bconsole' should tell you it's something like /sbin/bconsole: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped Anyway, this would not be the location where your current bconsole is installed. > I still see the /root/bacula/bin/bconsole This one *should* be the one resulting from the current installation. Check with 'file' to make sure it's the binary. > I ran the /sbin/bconsole -c /root/bacula/bin/bconsole.conf. > Not properly install. I'm just about done with bacula if I can't get it to > work within my environment.... As this is probably a remainder from a previos install I wouldn't worry. As your current setup seems to be a bit disturbed I'd recommend to delete all the b* binaries from /bin, /sbin, /root/bacula/[s]bin and wherever else you might find them and do a 'make install' again. This should at least make sure you don't have any old versions lying around. Other than that I can not help but notice that your system environment looks seriously interesting to me. Have you tried with a more simple approach of --prefix=/root/bacula, or something, and leave it to the configure script where to put scripts, binaries, and configuration files? Arno ------------------------------ Message: 17 Date: Mon, 25 Feb 2008 19:22:10 GMT From: Martin Simmons <[EMAIL PROTECTED]> Subject: Re: [Bacula-users] Bacula Console Not installed properly To: bacula-users@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> >>>>> On Sat, 23 Feb 2008 12:09:42 -0700, Glen Vickers said: > > Here's what you asked for minus the emails I configured and the passwords. Umm, not quite. I wanted to see the output of make install, not configure. > I also did a bit of tweaking and changed the sbindir and the sysconfigdir. Changed how (relative to the output you posted)? Changing things in unspecified ways while asking for help on the mailing list will just add to everyone's confusion :-( > I rebuilt and no difference. > > I still see the /sbin/bconsole > I still see the /root/bacula/bin/bconsole > I ran the /sbin/bconsole -c /root/bacula/bin/bconsole.conf. > Not properly install. I'm just about done with bacula if I can't get it to > work within my environment.... As Arno mentioned, /sbin/bconsole looks like something created by an old install (unless it is linked to /root/bacula/sbin/bconsole). __Martin ------------------------------ Message: 18 Date: Mon, 25 Feb 2008 19:24:32 GMT From: Martin Simmons <[EMAIL PROTECTED]> Subject: Re: [Bacula-users] Bacula Console Not installed properly To: bacula-users@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> >>>>> On Mon, 25 Feb 2008 14:55:29 +0100, Arno Lehmann said: > > Hi, > > 23.02.2008 20:09, Glen Vickers wrote: > > Here's what you asked for minus the emails I configured and the passwords. > > > > Configuration on Sat Feb 23 12:04:10 MST 2008: > > > > Host: i686-pc-linux-gnu -- redhat > > Bacula version: 2.2.8 (26 January 2008) > > Source code location: . > > Install binaries: /root/bacula/sbin > > Install config files: /root/bacula/bin > > Config files in a bin directory is a bit... unexpected. > It might be that this overwrites the binary bconsole program, even. > > > Scripts directory: /root/bacula/bin > > The same here (I'm not sure where bconsole - the shell script - is > installed to by default, but putting the script and the binary into > the same directory is, obviously, difficult). It is OK to put everything in the same directory -- the manual even suggests it somewhere and it is quite conventient. It works due to the order of the installs of the two bconsole file (the binary is second). __Martin I'll try to address every post repsponce and I appreciate your help... I ran the make install again after I cleaned out the b files manually. Here's the results of the make install. ./autoconf/mkinstalldirs /root/bacula/sbin mkdir -p -- /root/bacula/sbin ./autoconf/mkinstalldirs /root/bacula/etc mkdir -p -- /root/bacula/etc ./autoconf/mkinstalldirs /root/bacula/etc if test ! -d /root/bacula/bin/working ; then \ ./autoconf/mkinstalldirs /root/bacula/bin/working; \ chmod 770 /root/bacula/bin/working; \ fi mkdir -p -- /root/bacula/bin/working if test "xbacula" != "x" ; then \ chown bacula /root/bacula/bin/working; \ fi if test "xbacula" != "x" ; then \ chgrp bacula /root/bacula/bin/working; \ fi make[1]: Entering directory `/downloads/bacula-2.2.8/src' make[1]: Nothing to be done for `install'. make[1]: Leaving directory `/downloads/bacula-2.2.8/src' make[1]: Entering directory `/downloads/bacula-2.2.8/scripts' ../autoconf/mkinstalldirs /root/bacula/etc ../autoconf/mkinstalldirs /root/bacula/sbin ../autoconf/mkinstalldirs /root/bacula/etc ../autoconf/mkinstalldirs /root/bacula/bin /usr/bin/install -c -m 0754 startmysql /root/bacula/etc/startmysql /usr/bin/install -c -m 0754 stopmysql /root/bacula/etc/stopmysql /usr/bin/install -c -m 0754 bconsole /root/bacula/etc/bconsole /usr/bin/install -c -m 0754 gconsole /root/bacula/etc/gconsole /usr/bin/install -c -m 0754 bacula /root/bacula/etc/bacula /usr/bin/install -c -m 0754 bacula-ctl-dir /root/bacula/etc/bacula-ctl-dir /usr/bin/install -c -m 0754 bacula-ctl-fd /root/bacula/etc/bacula-ctl-fd /usr/bin/install -c -m 0754 bacula-ctl-sd /root/bacula/etc/bacula-ctl-sd /usr/bin/install -c -m 0754 mtx-changer /root/bacula/etc/mtx-changer /usr/bin/install -c -m 0754 disk-changer /root/bacula/etc/disk-changer /usr/bin/install -c -m 0754 dvd-handler /root/bacula/etc/dvd-handler /usr/bin/install -c -m 644 btraceback.gdb /root/bacula/etc/btraceback.gdb /usr/bin/install -c -m 644 btraceback.dbx /root/bacula/etc/btraceback.dbx chmod 0644 /root/bacula/etc/btraceback.gdb \ /root/bacula/etc/btraceback.dbx /usr/bin/install -c -m 0754 btraceback /root/bacula/sbin/btraceback make[1]: Leaving directory `/downloads/bacula-2.2.8/scripts' make[1]: Entering directory `/downloads/bacula-2.2.8/src/lib' make[1]: Nothing to be done for `install'. make[1]: Leaving directory `/downloads/bacula-2.2.8/src/lib' make[1]: Entering directory `/downloads/bacula-2.2.8/src/findlib' make[1]: Nothing to be done for `install'. make[1]: Leaving directory `/downloads/bacula-2.2.8/src/findlib' make[1]: Entering directory `/downloads/bacula-2.2.8/src/filed' ==== Make of filed is good ==== /usr/bin/install -c -m 0754 bacula-fd /root/bacula/sbin/bacula-fd /usr/bin/install -c -m 640 bacula-fd.conf /root/bacula/etc/bacula-fd.conf make[1]: Leaving directory `/downloads/bacula-2.2.8/src/filed' make[1]: Entering directory `/downloads/bacula-2.2.8/src/gnome2-console' ==== Make of bgnome-console is good ==== /usr/bin/install -c -m 0754 bgnome-console /root/bacula/sbin/bgnome-console /usr/bin/install -c -m 640 bgnome-console.conf /root/bacula/etc/bgnome-console.conf if test -f static-bgnome-console; then \ /usr/bin/install -c -m 0754 static-bgnome-console /root/bacula/sbin/static-bgnome-console; \ fi make[1]: Leaving directory `/downloads/bacula-2.2.8/src/gnome2-console' make[1]: Entering directory `/downloads/bacula-2.2.8/src/tray-monitor' ==== Make of bacula-tray-monitor is good ==== /usr/bin/install -c -m 0754 bacula-tray-monitor /root/bacula/sbin/bacula-tray-monitor /usr/bin/install -c -m 640 tray-monitor.conf /root/bacula/etc/tray-monitor.conf make[1]: Leaving directory `/downloads/bacula-2.2.8/src/tray-monitor' make[1]: Entering directory `/downloads/bacula-2.2.8/src/console' Compiling conio.c conio.c:82:21: error: termcap.h: No such file or directory conio.c: In function âvoid rawmode(FILE*)â: conio.c:988: error: âtgetentâ was not declared in this scope conio.c:994: error: âtgetnumâ was not declared in this scope conio.c:998: error: âtgetstrâ was not declared in this scope conio.c: In function âvoid ascurs(int, int)â: conio.c:1164: error: âtgotoâ was not declared in this scope make[1]: *** [conio.o] Error 1 make[1]: Leaving directory `/downloads/bacula-2.2.8/src/console' make[1]: Entering directory `/downloads/bacula-2.2.8/src/cats' /usr/bin/install -c -m 0754 create_mysql_database /root/bacula/etc/create_mysql_database /usr/bin/install -c -m 0754 update_mysql_tables /root/bacula/etc/update_mysql_tables /usr/bin/install -c -m 0754 make_mysql_tables /root/bacula/etc/make_mysql_tables /usr/bin/install -c -m 0754 grant_mysql_privileges /root/bacula/etc/grant_mysql_privileges /usr/bin/install -c -m 0754 drop_mysql_tables /root/bacula/etc/drop_mysql_tables /usr/bin/install -c -m 0754 drop_mysql_database /root/bacula/etc/drop_mysql_database /usr/bin/install -c -m 0754 create_bacula_database /root/bacula/etc/create_bacula_database /usr/bin/install -c -m 0754 update_bacula_tables /root/bacula/etc/update_bacula_tables /usr/bin/install -c -m 0754 make_bacula_tables /root/bacula/etc/make_bacula_tables /usr/bin/install -c -m 0754 grant_bacula_privileges /root/bacula/etc/grant_bacula_privileges /usr/bin/install -c -m 0754 drop_bacula_tables /root/bacula/etc/drop_bacula_tables /usr/bin/install -c -m 0754 drop_bacula_database /root/bacula/etc/drop_bacula_database /usr/bin/install -c -m 0754 make_catalog_backup /root/bacula/etc/make_catalog_backup /usr/bin/install -c -m 0754 delete_catalog_backup /root/bacula/etc/delete_catalog_backup make[1]: Leaving directory `/downloads/bacula-2.2.8/src/cats' make[1]: Entering directory `/downloads/bacula-2.2.8/src/dird' ==== Make of dird is good ==== /usr/bin/install -c -m 0754 bacula-dir /root/bacula/sbin/bacula-dir /usr/bin/install -c -m 640 bacula-dir.conf /root/bacula/etc/bacula-dir.conf /usr/bin/install -c -m 644 query.sql /root/bacula/etc/query.sql make[1]: Leaving directory `/downloads/bacula-2.2.8/src/dird' make[1]: Entering directory `/downloads/bacula-2.2.8/src/stored' ===== Make of stored is good ==== /usr/bin/install -c -m 0754 bacula-sd /root/bacula/sbin/bacula-sd /usr/bin/install -c -m 0754 bls /root/bacula/sbin/bls /usr/bin/install -c -m 0754 bextract /root/bacula/sbin/bextract /usr/bin/install -c -m 0754 bcopy /root/bacula/sbin/bcopy /usr/bin/install -c -m 0754 bscan /root/bacula/sbin/bscan /usr/bin/install -c -m 0754 btape /root/bacula/sbin/btape /usr/bin/install -c -m 640 bacula-sd.conf /root/bacula/etc/bacula-sd.conf make[1]: Leaving directory `/downloads/bacula-2.2.8/src/stored' make[1]: Entering directory `/downloads/bacula-2.2.8/src/tools' chmod 755 /root/bacula/sbin/bsmtp make[1]: Leaving directory `/downloads/bacula-2.2.8/src/tools' make[1]: Entering directory `/downloads/bacula-2.2.8/manpages' /downloads/bacula-2.2.8/autoconf/mkinstalldirs //root/bacula/bin/man8 mkdir -p -- //root/bacula/bin/man8 for I in bacula.8 bacula-dir.8 bacula-fd.8 bacula-sd.8 bconsole.8 bcopy.8 bextract.8 bls.8 bscan.8 btape.8 btraceback.8 dbcheck.8; \ do (/bin/rm -f $I.gz; gzip -c $I >$I.gz; \ /usr/bin/install -c -m 644 $I.gz /root/bacula/bin/man8/$I.gz; \ rm -f $I.gz); \ done /downloads/bacula-2.2.8/autoconf/mkinstalldirs //root/bacula/bin/man1 mkdir -p -- //root/bacula/bin/man1 for I in bacula-bgnome-console.1 bacula-tray-monitor.1 bacula-bwxconsole.1 bsmtp.1 bat.1; \ do (/bin/rm -f $I.gz; gzip -c $I >$I.gz; \ /usr/bin/install -c -m 644 $I.gz /root/bacula/bin/man1/$I.gz; \ rm -f $I.gz); \ done make[1]: Leaving directory `/downloads/bacula-2.2.8/manpages' I took a suggestion from the first post and used --prefix..... It made 3 directories for me. Bin sbin and etc There was no bconsole.conf still though. There was 1 in source so I copied it over. New interesting dilemma now with the change after using --prefix updatedb [EMAIL PROTECTED] sbin]# locate bconsole /downloads/bacula-2.2.8/manpages/bconsole.8 /downloads/bacula-2.2.8/scripts/bconsole /downloads/bacula-2.2.8/scripts/bconsole.in /downloads/bacula-2.2.8/src/console/bconsole.conf /downloads/bacula-2.2.8/src/console/bconsole.conf.in /downloads/bacula-2.2.8/src/win32/installer/bconsole.conf.in /root/bacula/bin/man8/bconsole.8.gz /root/bacula/etc/bconsole /root/bacula/etc/bconsole.conf [EMAIL PROTECTED] etc]# ./bconsole ./bconsole: line 22: /root/bacula/sbin/bconsole: No such file or directory [EMAIL PROTECTED] etc]# And its right the /root/bacula/sbin/bconsole doesn't exist. So why isn't my console getting installed? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users