Update Baculi | cancer's blog
 

Update Baculi


Dzięki za regularne odwiedziny na moim blogu! Jeśli uważasz, że jest on godny polecenia to śmiało wyślij link do niego lub link do kanału RSS albo subskrypcje przez e-mail znajomym. Dzięki !

WykonaÅ‚em update baculi z wersji 2.4.4 do 3.0.2 z pkgsrc. Restart caÅ‚oÅ›ci spowodowaÅ‚ brak mozliwoÅ›ci podłączenia sie do konsoli zarówno na serwerze jak i z klienta. /etc/rc.d/bacula status pokazywaÅ‚a jedynie że file demon i storage demon dziaÅ‚ajÄ… natomiast director nie. Å»adnych logów jednak nie ma. ReinstalujÄ™ rÄ™cznie, taka sama sytuacja. OdinstalowujÄ™ i instalujÄ™ jeszcze raz od zera – taka sama sytuacja. Czytam wszystkie komunikaty, miÄ™dzy innymi ten:

If you’re upgrading to bacula-3.0.2 from 1.38.x or earlier, you MUST
recreate your catalog database or upgrade your old database using the
/usr/pkg/libexec/bacula/update_bacula_tables script. Later updates will
not require upgrading the database again.

Jak widać nie kwalifikuję się na update tabel. Na wszelki wypadek jednak odpalam ten skrypt po uprzednim lekkim poprawieniu z:

#!/bin/sh
#
# This routine alters the appropriately configured
# Bacula tables for PostgreSQL, MySQL, or SQLite.
#
if test xsqlite = xmysql -o xsqlite3 = xmysql ; then
echo "Altering SQLite tables"
/usr/pkg/libexec/bacula/update_mysql_tables $*
fi
if test xmysql = xmysql ; then
echo "Altering MySQL tables"
/usr/pkg/libexec/bacula/update_mysql_tables $*
fi
if test xpostgresql = xmysql ; then
echo "Altering PostgreSQL tables"
/usr/pkg/libexec/bacula/update_postgresql_tables $*
fi

aby nie było:

Altering MySQL tables

This script will update a Bacula MySQL database from version 10 to 11
which is needed to convert from Bacula version 2.0.x to 3.0.x or higher

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Update of Bacula MySQL tables failed.

(Jak widać komunikat o koniecznoÅ›ci udate’u nadal mnie nie dotyczy)

na

#!/bin/sh
#
# This routine alters the appropriately configured
# Bacula tables for PostgreSQL, MySQL, or SQLite.
#
if test xsqlite = xmysql -o xsqlite3 = xmysql ; then
echo "Altering SQLite tables"
/usr/pkg/libexec/bacula/update_mysql_tables $*
fi
if test xmysql = xmysql ; then
echo "Altering MySQL tables"
/usr/pkg/libexec/bacula/update_mysql_tables -uroot -p bacula$*
fi
if test xpostgresql = xmysql ; then
echo "Altering PostgreSQL tables"
/usr/pkg/libexec/bacula/update_postgresql_tables $*
fi

i w końcu po chwili:

Altering MySQL tables

This script will update a Bacula MySQL database from version 10 to 11
which is needed to convert from Bacula version 2.0.x to 3.0.x or higher


Enter password:

Update of Bacula MySQL tables succeeded.

NastÄ™pnie restart baculi i … tadam ! Wszystko ruszyÅ‚o tak jakby sie nic nie dziaÅ‚o!

Wiadomo, że telewizja kłamie, ale żeby dokumentacja?

VN:F [1.8.5_1061]
Rating: 0.0/10 (0 votes cast)
VN:F [1.8.5_1061]
Rating: 0 (from 0 votes)
Blog Widget by LinkWithin

Popularity: 2% [?]

© odwiedź stronÄ™ http://maciejewski.org po wiÄ™cej fajnych postów!

Dodaj post do:
  • Wykop
  • Gwar
  • OSnews.pl
  • Digg
  • del.icio.us
  • Reddit
  • Technorati
  • Blip
  • co-robie
  • email
  • Facebook
  • Flaker
  • Google Bookmarks
  • Google Buzz
  • LinkedIn
  • MySpace
  • PDF
  • Ping.fm
  • RSS
  • StumbleUpon
  • Twitter
  • Åšledzik

Podobne posty:

  1. System Update znowu działa! \o/ Przyjaciel każdego kto instalował kiedyś od zera komputer bez sterowników...
  2. Disaster Key Recovery Klucze licencyjne, w ogóle licencjonowanie Microsoftu to horror. Jeżeli jeszcze...
  3. Co NetBSD może zrobić dla Ciebie? Zainspirowany postem kolegi anioua (muszÄ™ zrobić jakieÅ› Å‚adne “about me”...
  4. Speedup disk performance in NetBSD I got new HP Proliant DL160 G5 with three sata...
  5. Dependencies madness Time to time comes need to update whole bunch of...

Tagi: , , , , ,   Opublikowany w Internet, Job / Praca, NetBSD

One Response to “Update Baculi”

  1. morr POLAND NetBSD Mozilla 1.9.1.3 Says:

    Dlatego admini nie czytaja dokumentacji do programów ;->

    UN:F [1.8.5_1061]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.5_1061]
    Rating: 0 (from 0 votes)

Leave a Reply

CommentLuv Enabled
 
Clicky Web Analytics