[prev in list] [next in list] [prev in thread] [next in thread] 

List:       centos
Subject:    Re: [CentOS] BackupPC won't fork after CentOS 5.2 upgrade
From:       Ben <abnormaliti () clivepeeters ! com ! au>
Date:       2008-07-08 0:55:03
Message-ID: 4872BAE7.509 () clivepeeters ! com ! au
[Download RAW message or body]

Ben wrote:
> For some time now i have been running BackupPC 3.1.0 on CentOS 5.1 
> x86_64 however after upgrading to CentOS 5.2 BackupPC will not start.
>
> "sudo /etc/init.d/backuppc start" return OK but there is no BackupPC 
> processes.
>
> This fails also.
> # sudo -u backuppc /usr/bin/BackupPC -d
> # echo $?
> 0
>
> This succeeds, but of course does not fork.
> # sudo -u backuppc /usr/bin/BackupPC
>
> So for some reason after the CentOS 5.2 upgrade it will not fork into 
> the background.
>
> I have run the perl debugger over it and up until the fork everything 
> is fine.
>
> Nothing appears in the LOG.
>
With some help from the BackupPC list i have narrowed the problem down 
to the NSS config, I use LDAP to resolve users and groups.

In /etc/nsswitch.conf this is what is there and was there with CentOS 
5.1, with this config BackupPC will not background.
<snip>
passwd:     files ldap
shadow:     files ldap
group:      files ldap
<snip>

However, with this in nsswitch.conf the service will background.
<snip>
passwd:     files ldap
shadow:     files
group:      files ldap
<snip>

Apparently this has been seen to affect dhcpd too, but with the 
"services" nss database.

Any ideas on this?  What has changed between 5.1 and 5.2?

Ben
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic