SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Problem with bacula 5.2 and postgresql
Author Message
Post Problem with bacula 5.2 and postgresql 
My config worked fine with bacula 5.1. I just upgraded to 5.2.3 with OpenSUSE 12.1. I can connect to my postgres database with the username and password specified in bacula-dir.conf. However when I try and start bacula-dir all I get is:

bacula-dir: dird.c:951 Could not open Catalog "MyCatalog", database "bacula".


There is nothing in the postgres log files. There is no more information logged. What changed in 5.2 from 5.1 that breaks the authentication?

--
Jon Schewe | http://mtu.net/~jpschewe

Post Problem with bacula 5.2 and postgresql 
On Sun, Jan 1, 2012 at 12:37 AM, Jon Schewe <jpschewe < at > mtu.net ([email]jpschewe < at > mtu.net[/email])> wrote:
My config worked fine with bacula 5.1. I just upgraded to 5.2.3 with OpenSUSE 12.1. I can connect to my postgres database with the username and password specified in bacula-dir.conf. However when I try and start bacula-dir all I get is:

bacula-dir: dird.c:951 Could not open Catalog "MyCatalog", database "bacula".


There is nothing in the postgres log files. There is no more information logged. What changed in 5.2 from 5.1 that breaks the authentication?


Got it working. It's the new packages for OpenSUSE that tripped me up. It seems that an upgrade didn't catch the fact that the packages changed and I needed to add bacula-catalog-postgresql for the database to work, so I didn't have a database backend installed.
 

--
Jon Schewe | http://mtu.net/~jpschewe

Post Problem with bacula 5.2 and postgresql 
On 01/01/2012 03:13 PM, Jon Schewe wrote:
On Sun, Jan 1, 2012 at 12:37 AM, Jon Schewe <jpschewe < at > mtu.net <mailto:jpschewe < at > mtu.net>> wrote:

My config worked fine with bacula 5.1. I just upgraded to 5.2.3 with OpenSUSE 12.1. I can connect to my postgres database
with the username and password specified in bacula-dir.conf. However when I try and start bacula-dir all I get is:

bacula-dir: dird.c:951 Could not open Catalog "MyCatalog", database "bacula".

There is nothing in the postgres log files. There is no more information logged. What changed in 5.2 from 5.1 that breaks
the authentication?

Got it working. It's the new packages for OpenSUSE that tripped me up. It seems that an upgrade didn't catch the fact that the
packages changed and I needed to add bacula-catalog-postgresql for the database to work, so I didn't have a database backend
installed.

--
Jon Schewe | http://mtu.net/~jpschewe


Jon from where did you get new packages (STABLE) for openSUSE 12.1 ?
seeing that name bacula-catalog-postgresql just proove me you are using the FACTORY (aka highly unstable "in terms of packaging")

Don't use that in production, at any moment we can break them (and you can be assured that we will),
Did you really understand what (recently) the description of the project on obs state : experimental

If you want bacula 5.2.3 you can build it from source, pick any other way to have it. Or use those on Factory repo
be be aware there's no warranty at all !! They are broken at this moment and will be broken at least for 2 more weeks

If you reboot ldconfig will destroy the libbaccats symlink done and you have to issue
update-alternative --auto libbaccats-5.2.3.so as a temporary fix

Happy new years


--

Bruno Friedmann
Ioda-Net Sàrl www.ioda-net.ch

openSUSE Member & Ambassador
GPG KEY : D5C9B751C4653227
irc: tigerfoot

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Problem with bacula 5.2 and postgresql 
On Sun, Jan 1, 2012 at 10:06 AM, Bruno Friedmann <bruno < at > ioda-net.ch ([email]bruno < at > ioda-net.ch[/email])> wrote:
On 01/01/2012 03:13 PM, Jon Schewe wrote:
On Sun, Jan 1, 2012 at 12:37 AM, Jon Schewe <jpschewe < at > mtu.net ([email]jpschewe < at > mtu.net[/email]) <mailto:jpschewe < at > mtu.net ([email]jpschewe < at > mtu.net[/email])>> wrote:

    My config worked fine with bacula 5.1. I just upgraded to 5.2.3 with OpenSUSE 12.1. I can connect to my postgres database
    with the username and password specified in bacula-dir.conf. However when I try and start bacula-dir all I get is:

    bacula-dir: dird.c:951 Could not open Catalog "MyCatalog", database "bacula".

    There is nothing in the postgres log files. There is no more information logged. What changed in 5.2 from 5.1 that breaks
    the authentication?

Got it working. It's the new packages for OpenSUSE that tripped me up. It seems that an upgrade didn't catch the fact that the
packages changed and I needed to add bacula-catalog-postgresql for the database to work, so I didn't have a database backend
installed.

--
Jon Schewe | http://mtu.net/~jpschewe




Jon from where did you get new packages (STABLE) for openSUSE 12.1 ?
seeing that name bacula-catalog-postgresql just proove me you are using the FACTORY (aka highly unstable "in terms of packaging")


From  http://ftp.suse.de/pub/opensuse/repositories/Archiving:/Backup:/Factory/openSUSE_12.1 This is where I was told to get the updates for 11.4 as well. Where is there stable version then? I don't need to have the latest version of bacula, just a stable one for openSUSE. 



Don't use that in production, at any moment we can break them (and you can be assured that we will),
Did you really understand what (recently) the description of the project on obs state : experimental

If you want bacula 5.2.3 you can build it from source, pick any other way to have it. Or use those on Factory repo
be be aware there's no warranty at all !! They are broken at this moment and will be broken at least for 2 more weeks

If you reboot ldconfig will destroy the libbaccats symlink done and you have to issue
update-alternative --auto libbaccats-5.2.3.so as a temporary fix

Yeah, I saw that.





--
Jon Schewe | http://mtu.net/~jpschewe

Post Problem with bacula 5.2 and postgresql 
On 01/01/2012 05:49 PM, Jon Schewe wrote:
On Sun, Jan 1, 2012 at 10:06 AM, Bruno Friedmann <bruno < at > ioda-net.ch <mailto:bruno < at > ioda-net.ch>> wrote:

On 01/01/2012 03:13 PM, Jon Schewe wrote:
On Sun, Jan 1, 2012 at 12:37 AM, Jon Schewe <jpschewe < at > mtu.net <mailto:jpschewe < at > mtu.net> <mailto:jpschewe < at > mtu.net
<mailto:jpschewe < at > mtu.net>>> wrote:

My config worked fine with bacula 5.1. I just upgraded to 5.2.3 with OpenSUSE 12.1. I can connect to my postgres database
with the username and password specified in bacula-dir.conf. However when I try and start bacula-dir all I get is:

bacula-dir: dird.c:951 Could not open Catalog "MyCatalog", database "bacula".

There is nothing in the postgres log files. There is no more information logged. What changed in 5.2 from 5.1 that breaks
the authentication?

Got it working. It's the new packages for OpenSUSE that tripped me up. It seems that an upgrade didn't catch the fact that the
packages changed and I needed to add bacula-catalog-postgresql for the database to work, so I didn't have a database backend
installed.

--
Jon Schewe | http://mtu.net/~jpschewe


Jon from where did you get new packages (STABLE) for openSUSE 12.1 ?
seeing that name bacula-catalog-postgresql just proove me you are using the FACTORY (aka highly unstable "in terms of
packaging")


From http://ftp.suse.de/pub/opensuse/repositories/Archiving:/Backup:/Factory/openSUSE_12.1 This is where I was told to get the
updates for 11.4 as well. Where is there stable version then? I don't need to have the latest version of bacula, just a stable
one for openSUSE.

There's none unfortunately.

The most stable I know are located here
http://www.dass-it.de/download/dassit-bacula-rpm-repositories-1

and certainly the 5.0.3 version, the 5.2 is inherited for the factory repository and are less stable for sure.
but there's no build actually for the 11.4 nor 12.1

Sorry for that.


Don't use that in production, at any moment we can break them (and you can be assured that we will),
Did you really understand what (recently) the description of the project on obs state : experimental

If you want bacula 5.2.3 you can build it from source, pick any other way to have it. Or use those on Factory repo
be be aware there's no warranty at all !! They are broken at this moment and will be broken at least for 2 more weeks

If you reboot ldconfig will destroy the libbaccats symlink done and you have to issue
update-alternative --auto libbaccats-5.2.3.so <http://libbaccats-5.2.3.so> as a temporary fix

Yeah, I saw that.


--
Jon Schewe | http://mtu.net/~jpschewe




--

Bruno Friedmann
Ioda-Net Sàrl www.ioda-net.ch

openSUSE Member & Ambassador
GPG KEY : D5C9B751C4653227
irc: tigerfoot

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post Problem with bacula 5.2 and postgresql 
On Sun, Jan 1, 2012 at 12:59 PM, Bruno Friedmann <bruno < at > ioda-net.ch ([email]bruno < at > ioda-net.ch[/email])> wrote:
On 01/01/2012 05:49 PM, Jon Schewe wrote:
On Sun, Jan 1, 2012 at 10:06 AM, Bruno Friedmann <bruno < at > ioda-net.ch ([email]bruno < at > ioda-net.ch[/email]) <mailto:bruno < at > ioda-net.ch ([email]bruno < at > ioda-net.ch[/email])>> wrote:

    On 01/01/2012 03:13 PM, Jon Schewe wrote:

    > On Sun, Jan 1, 2012 at 12:37 AM, Jon Schewe <jpschewe < at > mtu.net ([email]jpschewe < at > mtu.net[/email]) <mailto:jpschewe < at > mtu.net ([email]jpschewe < at > mtu.net[/email])> <mailto:jpschewe < at > mtu.net ([email]jpschewe < at > mtu.net[/email])
    <mailto:jpschewe < at > mtu.net ([email]jpschewe < at > mtu.net[/email])>>> wrote:
    >
    >     My config worked fine with bacula 5.1. I just upgraded to 5.2.3 with OpenSUSE 12.1. I can connect to my postgres database
    >     with the username and password specified in bacula-dir.conf. However when I try and start bacula-dir all I get is:
    >
    >     bacula-dir: dird.c:951 Could not open Catalog "MyCatalog", database "bacula".
    >
    >     There is nothing in the postgres log files. There is no more information logged. What changed in 5.2 from 5.1 that breaks
    >     the authentication?
    >
    > Got it working. It's the new packages for OpenSUSE that tripped me up. It seems that an upgrade didn't catch the fact that the
    > packages changed and I needed to add bacula-catalog-postgresql for the database to work, so I didn't have a database backend
    > installed.
    >
    > --
    > Jon Schewe | http://mtu.net/~jpschewe
    >

    Jon from where did you get new packages (STABLE) for openSUSE 12.1 ?
    seeing that name bacula-catalog-postgresql just proove me you are using the FACTORY (aka highly unstable "in terms of
    packaging")


From  http://ftp.suse.de/pub/opensuse/repositories/Archiving:/Backup:/Factory/openSUSE_12.1 This is where I was told to get the
updates for 11.4 as well. Where is there stable version then? I don't need to have the latest version of bacula, just a stable
one for openSUSE.


There's none unfortunately.
Isn't the point of factory that you experiment with the packages and then put them into a stable repository at some point? If there is no such stable repository, then we all end up using factory.
 

The most stable I know are located here
http://www.dass-it.de/download/dassit-bacula-rpm-repositories-1Right, I was using that one and reported some bugs against it and was told by the maintainer to use the version in factory.
https://bugzilla.novell.com/show_bug.cgi?id=704483


 


and certainly the 5.0.3 version, the 5.2 is inherited for the factory repository and are less stable for sure.
but there's no build actually for the 11.4 nor 12.1

Sorry for that.


    Don't use that in production, at any moment we can break them (and you can be assured that we will),
    Did you really understand what (recently) the description of the project on obs state : experimental

    If you want bacula 5.2.3 you can build it from source, pick any other way to have it. Or use those on Factory repo
    be be aware there's no warranty at all !! They are broken at this moment and will be broken at least for 2 more weeks

    If you reboot ldconfig will destroy the libbaccats symlink done and you have to issue

    update-alternative --auto libbaccats-5.2.3.so <http://libbaccats-5.2.3.so> as a temporary fix

Yeah, I saw that.


--
Jon Schewe | http://mtu.net/~jpschewe





--

Bruno Friedmann
Ioda-Net Sàrl www.ioda-net.ch

openSUSE Member & Ambassador
GPG KEY : D5C9B751C4653227
irc: tigerfoot

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net ([email]Bacula-users < at > lists.sourceforge.net[/email])
https://lists.sourceforge.net/lists/listinfo/bacula-users






--
Jon Schewe | http://mtu.net/~jpschewe

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB