FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 07-03-2008, 11:21 PM
Ben
 
Default BackupPC won't fork after CentOS 5.2 upgrade

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

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-04-2008, 12:07 AM
Johnny Hughes
 
Default BackupPC won't fork after CentOS 5.2 upgrade

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.el5


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.

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-04-2008, 01:24 AM
Ben
 
Default BackupPC won't fork after CentOS 5.2 upgrade

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
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-04-2008, 12:15 PM
Johnny Hughes
 
Default BackupPC won't fork after CentOS 5.2 upgrade

Ben wrote:

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?



version 3.1.0 ... 1 x86_64 machine, 2 i386 machines

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-08-2008, 12:55 AM
Ben
 
Default BackupPC won't fork after CentOS 5.2 upgrade

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
 
Old 07-08-2008, 08:47 AM
Johnny Hughes
 
Default BackupPC won't fork after CentOS 5.2 upgrade

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,
Johnny Hughes


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-08-2008, 10:25 AM
Ben
 
Default BackupPC won't fork after CentOS 5.2 upgrade

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?


Ben
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-08-2008, 02:44 PM
Johnny Hughes
 
Default BackupPC won't fork after CentOS 5.2 upgrade

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.


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-08-2008, 11:48 PM
Ben
 
Default BackupPC won't fork after CentOS 5.2 upgrade

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
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 07-24-2008, 01:49 AM
Kenneth Porter
 
Default BackupPC won't fork after CentOS 5.2 upgrade

--On Friday, July 04, 2008 9:21 AM +1000 Ben
<abnormaliti@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?


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 04:44 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org