Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC
Hi, Les Mikesell wrote on 2008-12-16 19:39:54 -0600 [Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC]: Which brings up the question - why would anyone install a 4.x now if you don't already have something old that you need to keep working on it? he does - an old project partner. Jim McNamara had written on 2008-12-16 12:35:04 -0500 [same thread]: The company I work for got roped in using it for an individual project, as another vendor brought in to do the telephony portion of this project will only work on RHEL 4.5 and luckily (for the bottom line) CentOS 4.7. Regards, Holger -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC
Jim McNamara wrote: Thanks again for everyone's help, I'm a longtime lurker on these boards, and I was quite pleased to have support when my usualy install conditions were thrown out! I'm still curious about the real cause of your problem, though. I revived an old vmware image of Centos 4.x, updated to 4.7, then installed a backuppc 3.1.0, taking defaults from the configure.pl script for about everything except putting the cgi interface in /var/www/cgi-bin and images under /var/www/html/backuppc, and the only thing it took to make it work was changing the group of /var/www/cgi-bin/BackupPC_Admin to apache and then making it suid again. It does have httpd-suexec installed but it isn't complaining. Is your backuppc user id below 500? That could have been a problem - the default suexec configuration sets 500 as the minimum uid to permit. Below that is reserved for system ids and the system tools like 'adduser' should start at 501. -- Les Mikesell lesmikes...@gmail.com -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Greg J Roy is out of the office.
I will be out of the office starting 17/12/2008 and will not return until 12/01/2009. I will respond to your message upon my return. For issues previously handled in an MSSD capactiy, please contact Brian Anidjar, Ryan Crasto and/or Pete Duynstee. For issues involving Build or Project items in HIS, please contact TW Tam, Baljeet Sehmi and/or Michael Sharak. For issues in eBHS Steady State, please contact Barnie Leung and/or Kevin Tse. Seasons greetings and a happy new year to you. ~G-- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC
On Wed, Dec 17, 2008 at 12:49 PM, Les Mikesell l...@futuresource.com wrote: Jim McNamara wrote: Thanks again for everyone's help, I'm a longtime lurker on these boards, and I was quite pleased to have support when my usualy install conditions were thrown out! I'm still curious about the real cause of your problem, though. I revived an old vmware image of Centos 4.x, updated to 4.7, then installed a backuppc 3.1.0, taking defaults from the configure.pl script for about everything except putting the cgi interface in /var/www/cgi-bin and images under /var/www/html/backuppc, and the only thing it took to make it work was changing the group of /var/www/cgi-bin/BackupPC_Admin to apache and then making it suid again. That is also how I did it, once the issue I had with setuid were solved. I chose more Debian-ish directories (/usr/share/backuppc/cgi-bin/BackupPC_Admin), but that is more or less how I did it. It does have httpd-suexec installed but it isn't complaining. Is your backuppc user id below 500? That could have been a problem - the default suexec configuration sets 500 as the minimum uid to permit. Below that is reserved for system ids and the system tools like 'adduser' should start at 501. I had thought about that. My initial install had user/group backuppc both as 150, then I upped both uid and gid to 1012, still the same problems existed. Maybe something was messed up by moving uis/gid around? It is functional now with both uid and gid set to 1012. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backing up the backup to an external USB drive
Am Mittwoch, den 17.12.2008, 12:08 -0200 schrieb Rodrigo Real: Hi Rob Owens wrote: My experience in booting the usb disk was successful, I had some problems with grub and fstab, which I guess are not easy to avoid. you could avoid that sda-problem by using uuid's in the fstab. .ka -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] CentOS 4.7 suid fails repeatedly with BackupPC
On Tue, Dec 16, 2008 at 5:25 PM, Adam Goryachev mailingli...@websitemanagers.com.au wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm guessing your telephony system will be some commercial version of asterisk? I would seriously question the idea of putting both your telephony system and backuppc on the same machine ! Apart from keeping the backups on the same system as your live server, there are the performance impacts which may easily cause problems to your telephone call quality. Just a heads up I would prefer two separate boxes for the task. I don't believe it is commercial asterisk, but I don't know and wasn't consulted on that. There is a PCI card added that directly interfaces with PRI phone lines. That card wasn't provided by the people that insisted on RHEL 4.5/CentOS 4.7, and cost around $5000 US dollars, which is well more than the brand new servers themselves cost. I haven't touched asterisk in years (2003 or 2004 was the last time I used it), but at that time everything I knew about was done over TCP/IP, and this card isn't TCP/IP, it is some direct interface. This BackupPC isn't going to be backing up an office or anything of the sort, there's just 2 linux servers, one doing the telephony and the other being the database of data to make the calls from. As what is really important is the database, it made more sense to put BackupPC on the telephony server. A 3rd (BackupPC only) server was ruled out on space and cost, so the point of failure kicked in. If the telephony box dies the database still exists, and the telephony is under contract to be rebuilt (though /var thereby /var/lib/backuppc as well lives on its own SAS disks), whereas keeping the database backup is my responsibility, and I'm familiar with BackupPC, though again, obviously not installing it on an out-of-date OS that's new to me! Beyond all that, the telephony will be silent well above 99.9% of the time. It isn't making phone calls unless something on the order of natural disaster or a terrorist attack occur, and the continental US (save one day of infamy in 2001) is relatively safe. Our geographic location is light on natural disasters, but should one occur, this entire install is put in place to forewarn folks. Should the true purpose of this box kick on, I can easily script a something along the lines of {if telephony = ON, then /etc/init.d./backuppc stop}. Thanks again for everyone's help, I'm a longtime lurker on these boards, and I was quite pleased to have support when my usualy install conditions were thrown out! -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Backing up the backup to an external USB drive
Hi Rob Owens wrote: I thought about something similar a while back. I never got anywhere with it, but the plan was to use Knoppix or Knoppix-like technology to have all the hardware automatically detected and configured at boot. That way the hard drive could be installed in any machine and it would work. This info may be outdated: Knoppix has 3 configuration options for a hard drive installation. The one you would want is called Knoppix, and it basically runs the live cd system on a hard drive. All the live cd startup scripts run, so hardware is detected automatically. I don't think Knoppix would be the best distro to use, due to its mish-mash of repositories, but maybe a Debian live cd or Ubuntu live cd would do the trick for you. I'm just not sure how to install them to the hard drive in Knoppix mode. The approach I am proposing is a little simpler than that, I only want to have a bootable usb system which is equal to the backuppc system, and which could easily replace it. Of course I will not have all the hardware detection that the liveCDs do, so maybe somethings will still be done by hand. Let me tell you what happened in my tests. After 33 hours dd'ing the pool to the usb disk, it finally ended, so I am really considering a eSata case, there is no way to wait 33 hours each time I want to sync the server with the usb case. My experience in booting the usb disk was successful, I had some problems with grub and fstab, which I guess are not easy to avoid. Depending on how many disks I have on the machine the device is recognized as sdb, sdd, etc, so I should, at least, dinamically generate the fstab file, which I am not willing to do right now. By now I could live with this kind of manual operation. Below you will find the script I made for doing the sync operation, this is a very simple script which only solves my problem, but maybe this can help others and maybe you could help improving it. Sorry for some portuguese comments... Rodrigo #!/bin/bash /etc/init.d/backuppc stop || exit umount /var/lib/backuppc || exit echo Fazendo backup do /boot mount /dev/sdd1 /mnt/sdd1 || exit time rsync -a --delete-after /boot/* /mnt/sdd1/ umount /mnt/sdd1 echo Fazendo backup do barra mount /dev/sdd2 /mnt/sdd2 || exit time rsync -ax --delete-after --exclude=/proc --exclude=/dev --exclude=/sys --exclude=/mnt --exclude=/var/lib/backuppc --exclude=/tmp /* /mnt/sdd2/ mkdir /mnt/sdd2/proc /mnt/sdd2/dev /mnt/sdd2/sys /mnt/sdd2/mnt /mnt/sdd2/tmp /mnt/sdd2/var/lib/backuppc chmod 777 /mnt/sdd2/tmp chmod o+t /mnt/sdd2/tmp ## acertando o fstab cat EOF /mnt/sdd2/etc/fstab # /etc/fstab: static file system information. # # file system mount point type options dump pass proc/proc procdefaults0 0 /dev/sdb2 / reiserfs defaults0 1 #/dev/sdb1/boot reiserfs notail 0 2 /dev/sdb3 /var/lib/backuppc reiserfs defaults0 2 /dev/sdb4 noneswapsw,pri=1 0 0 /dev/hda/media/cdrom0 udf,iso9660 user,noauto 0 0 EOF umount /mnt/sdd2 echo Fazendo backup da area de dados do backuppc lvcreate -L1G -s -n bkp_snapshot /dev/vg/backup || exit time dd if=/dev/vg/bkp_snapshot of=/dev/sdd3 lvremove -f /dev/vg/bkp_snapshot mount /var/lib/backuppc /etc/init.d/backuppc start -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Problem Backing up the localhost
Hi all, I've been using BackupPC to backup Windows clients for over a year and all is running well. I've got other data on the BackupPC server that I'd like to backup regularly also, but I'm having problems getting the server to backup the '/' and '/boot' directories. The client are being backed up by rsyncd running on the clients. In reviewing the documentation, rsync is the best to backup a Linux (FC4) server. I'm excluding the directories '/proc' '/mnt' (BackupPC data is stored on a drive mounted from here) and '/var/log'. The logs report the following: 2008-12-17 18:20:16 full backup started for directory '/boot' 2008-12-17 18:21:08 full backup started for directory '/' 2008-12-17 18:21:09 Got fatal error during xfer (fileListReceive failed) 2008-12-17 18:21:14 Backup aborted (fileListReceive failed) BackupPC v3.0.0 rsync-2.6.8-1.FC4.1 Any pointers would be much appreciated. Brian Butler Arc Products bbut...@arc-products.com -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/