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. Any ideas would be appreciated. Ben PS. Here is a list of installed perl packages. # rpm -qa | grep perl perl-String-CRC32-1.4-2.fc6 perl-Crypt-DES-2.05-4.el5 perl-Compress-Zlib-1.42-1.fc6 perl-DateTime-Format-Mail-0.30-4.el5 perl-libwww-perl-5.805-1.1.1 perl-MIME-Lite-3.01-5.el5 nagios-plugins-perl-1.4.11-2.el5 perl-Config-IniFiles-2.39-6.el5 perl-Digest-SHA1-2.11-1.2.1 perl-Digest-HMAC-1.01-15 perl-File-RsyncP-0.68-1.c5 mod_perl-2.0.2-6.3.el5 perl-Params-Validate-0.88-3.el5 perl-URI-1.35-3 perl-Archive-Zip-1.16-1.2.1 perl-DateTime-0.41-1.el5 perl-DateTime-Format-W3CDTF-0.04-1.el5 perl-HTML-Parser-3.55-1.fc6 perl-XML-Parser-2.34-6.1.2.2.1 perl-Time-modules-2003.1126-4.el5.1 perl-MailTools-1.77-1.el5 perl-5.8.8-10.el5_2.3 perl-Net-SNMP-5.2.0-1.el5.1 perl-BSD-Resource-1.28-1.fc6.1 perl-Class-Singleton-1.03-3.el5 perl-HTML-Tagset-3.10-2.1.1 perl-XML-RSS-1.31-1.el5 perl-Geo-IP-1.28-3.el5 perl-TimeDate-1.16-5.el5
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. > > Any ideas would be appreciated. > > Ben > > > PS. Here is a list of installed perl packages. > # rpm -qa | grep perl > perl-String-CRC32-1.4-2.fc6 > perl-Crypt-DES-2.05-4.el5 > perl-Compress-Zlib-1.42-1.fc6 > perl-DateTime-Format-Mail-0.30-4.el5 > perl-libwww-perl-5.805-1.1.1 > perl-MIME-Lite-3.01-5.el5 > nagios-plugins-perl-1.4.11-2.el5 > perl-Config-IniFiles-2.39-6.el5 > perl-Digest-SHA1-2.11-1.2.1 > perl-Digest-HMAC-1.01-15 > perl-File-RsyncP-0.68-1.c5 > mod_perl-2.0.2-6.3.el5 > perl-Params-Validate-0.88-3.el5 > perl-URI-1.35-3 > perl-Archive-Zip-1.16-1.2.1 > perl-DateTime-0.41-1.el5 > perl-DateTime-Format-W3CDTF-0.04-1.el5 > perl-HTML-Parser-3.55-1.fc6 > perl-XML-Parser-2.34-6.1.2.2.1 > perl-Time-modules-2003.1126-4.el5.1 > perl-MailTools-1.77-1.el5 > perl-5.8.8-10.el5_2.3 > perl-Net-SNMP-5.2.0-1.el5.1 > perl-BSD-Resource-1.28-1.fc6.1 > perl-Class-Singleton-1.03-3.el5 > perl-HTML-Tagset-3.10-2.1.1 > perl-XML-RSS-1.31-1.el5 > perl-Geo-IP-1.28-3.el5 > perl-TimeDate-1.16-5.el5I am running backuppc on 3 CentOS-5.2 machines (and several more on CentOS-4.6 machines). I had no issues after upgrading to 5.2 on those machines. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 251 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20080703/343b7ce6/attachment-0002.sig>
Johnny Hughes wrote:> 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. >> >> Any ideas would be appreciated. >> >> Ben > > I am running backuppc on 3 CentOS-5.2 machines (and several more on > CentOS-4.6 machines). > > I had no issues after upgrading to 5.2 on those machines.Good to hear. Are they i386 or x86_64? Are they using 3.0 or 3.1? Ben
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
Johnny Hughes wrote:> Ben wrote: >> 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? > > Look in the release notes for C5 (search for nss_ldap): > > http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.2 > > Try my fixed RPM here: > > http://people.centos.org/hughesjr/nss_ldap/5/ > > Upstream bugzilla entry here: > > https://bugzilla.redhat.com/show_bug.cgi?id=448014Thanks for the pointer. Is your RPM any different to the one the Testing Repo as documented in the release notes? Ben
Johnny Hughes wrote:> Ben wrote: >> Johnny Hughes wrote: >>> Ben wrote: >>>> 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? >>> >>> Look in the release notes for C5 (search for nss_ldap): >>> >>> http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.2 >>> >>> Try my fixed RPM here: >>> >>> http://people.centos.org/hughesjr/nss_ldap/5/ >>> >>> Upstream bugzilla entry here: >>> >>> https://bugzilla.redhat.com/show_bug.cgi?id=448014 >> >> Thanks for the pointer. >> >> Is your RPM any different to the one the Testing Repo as documented >> in the release notes? > > It is the same RPM, just in a different place so I can link it from > the RH bugzilla entry too.Thanks Johnny, i went and applied the RPM from testing and all works as expected. Thanks for your help. Ben
Kenneth Porter
2008-Jul-24 01:49 UTC
[CentOS] BackupPC won't fork after CentOS 5.2 upgrade
--On Friday, July 04, 2008 9:21 AM +1000 Ben <abnormaliti at clivepeeters.com.au> 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.What RPM are you using for BackupPC?
Seemingly Similar Threads
- Re: how to install BackupPC on CentOS 5.2 -- how do I use Test repository?
- how to install BackupPC on CentOS 5.2 -- use Testing repository
- BackupPC 3.1.0 on CentOS 5.2 triggers SE Linux denial
- Problems with perl upgrading CentOS 5.1 to 5.2
- Backuppc-updates on CentOS