User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto_install_bacula_5.0.2_from_src.rpm_on_rhel_5_or_centos_5 [2010/06/03 12:13]
howto_install_bacula_5.0.2_from_src.rpm_on_rhel_5_or_centos_5 [2010/12/04 19:07] (current)
Line 45: Line 45:
 Download the bacula .src.rpm files to a directory in the user folder structure (not as root!) Download the bacula .src.rpm files to a directory in the user folder structure (not as root!)
-Then in that directoryas that non root user+If you want to build the wxconsole (GTK)add --define "​build_wxconsole 1". If you want to build the bconsole (Gnome) version, add --define "​build_bconsole 1" instead. 
 +As non-root user, perform the build:
  rpmbuild --rebuild --define "​build_centos5 1" --define "​build_mysql 1" --define "​build_bat 1" --define "​build_wxconsole 1" bacula-5.0.2-1.src.rpm  rpmbuild --rebuild --define "​build_centos5 1" --define "​build_mysql 1" --define "​build_bat 1" --define "​build_wxconsole 1" bacula-5.0.2-1.src.rpm
Line 58: Line 60:
         rpm -Uvh bacula-mysql-5.0.2-1.<​arch>​.rpm         rpm -Uvh bacula-mysql-5.0.2-1.<​arch>​.rpm
         rpm -Uvh bacula-bat-5.0.2-1.<​arch>​.rpm         rpm -Uvh bacula-bat-5.0.2-1.<​arch>​.rpm
 +        ​
 +U have to change the rights for the library which on a x64 arch is found on:
 +        /usr/lib64/
 +        ​
 +On a i386 must be on
 +        /usr/lib/
 +        ​
 +chown bacula:​bacula /​usr/​lib?/​ ​
 +If not the system would send u messages to your email account if u have one, u will receive this log:
 +<​blockquote>​Dec ​ 3 21:50:03 my-backup bacula-dir: 03-Dec 21:50  Message delivery ERROR: Mail prog: /​usr/​sbin/​bsmtp:​ error while loading shared libraries:​ cannot open shared object file: Permission denied</​blockquote>​
 ===== Setup the MySQL Database ===== ===== Setup the MySQL Database =====
Line 77: Line 93:
  vi make_mysql_tables  vi make_mysql_tables
 +Note: on x64 arch you will found this on
 +        /​usr/​lib64/​bacula
 Original line: Original line:
howto_install_bacula_5.0.2_from_src.rpm_on_rhel_5_or_centos_5.1275563592.txt.gz · Last modified: 2010/06/03 12:13 by roos