On Monday 10 December 2007 10:40, [EMAIL PROTECTED] wrote:
> On Mon, 3 Dec 2007, Kern Sibbald wrote:
> > You may not be running nscd, but it is in nscd code that the problem is
> > occurring.  That is where you should be looking.  Perhaps removing nscd
> > from your system will help ...
>
> Do you mean, just by removing the binary? 

Removing a binary is not normally a good idea -- I meant to remove the 
package.

> nscd is not a seperate program 
> or package, it's a part of the glibc package, so I don't know if that's a
> good idea? This binary is provided with other distributions (i.e. SuSE) as
> well...

On my CentOS 5 and SuSE 10.2 systems nscd is a separate rpm package, and I was 
suggesting to try removing the package -- assuming that does not break 
everything.

It is possible that glibc is using the code if it is installed (detecting 
shared objects) and does not us it if it is not installed.  I don't know, it 
was just a suggestion ...

>
> >> ClientRunBeforeJob = "/usr/local/bacula/etc/make_catalog_backup mydb
> >
> > I cannot imagine that your problem has anything to do with your catalog
> > backup, which I would definitely keep running for security reasons ...
>
> Sorry, I wasn't clear: I'm still doing my catalog backup, I never disabled
> that. I just started using the same script on another host to make a
> backup of another (but huge) database as well. Maybe I should have renamed
> it to 'make_mysql_backup'.

Well naming conventions are something I'll leave to you :-)

>
> Anyway, today the storage daemon crashed even without this mysql backup.
>
> I guess I'll start this afternoon by upgrading my distribution (so also
> the glibc version will change) and kernel.
>

Yes, as I mentioned, it is related to the gethostbyname_r function in glibc 
(if I remember right) and shouldn't have anything to do with exactly what job 
you are running.   

It is also possible that some other configuration parameter for your OS is 
causing nscd to crash -- e.g. your resolver (/etc/resolv.conf) or your DNS 
configuration ...

Kern

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to