Re: [CentOS] need filesystem recommendation
On Saturday 11 October 2008 15:11:57 Mag Gam wrote: Hi All, I have a backup site and I would like to rsync from production to backup site. However, I would like to have all backups be compressed so I can save space. Can anyone recommend a good way to do this? I am currently using tar and bzip2 to do this. TIA Have a look at BackupPC backuppc.sourceforge,net It is very easy to install from source, there's even an rpm on the testing repo. It does compression and pooling of backups. Tony CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] fail2ban needs shorewall?
On Wednesday 23 July 2008 13:45:31 Kai Schaetzl wrote: I want to try out fail2ban and notice that both, kbs-CentOS-Testing and ATrpms, have shorewall as a dependency. I do not use shorewall and have never used it. I have my own iptables/firewall script and am happy with it. Can I install shorewall without any ill effects to my current sue of iptables or would I need to use shorewall for firewalling from that point on? (It may be a good product, but I really don't want to learn yet another rule syntax.) Kai I installed fail2ban from rpmforge and it has no dependencies. I use it with the default CentOS firewall fail2ban-0.8.2-2.el5.rf.noarch.rpm Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Yun Update problem
On Thursday 17 July 2008 01:45:50 Camron W. Fox wrote: Tony Molloy wrote: On Tuesday 15 July 2008 18:47:51 Tony Molloy wrote: On Tuesday 15 July 2008 18:34:51 Kenneth Burgener wrote: On 7/15/2008 9:57 AM, Tony Molloy wrote: (34/92): selinux-policy-2 100% |=| 381 kB 00:00 http://thomond.csis.ul.ie/mirrors/centos/5/updates/x86_64/RPMS/selinux - po licy-2.4.6-137.1.el5.noarch.rpm: [Errno -1] Package does not match intended download The rpm packages are in my local repo. Is this just a case of my local upstream mirrors being out of sync or have I got a bigger problem. I have seen this error before. I am not sure if the local cache is corrupted or my local repository is corrupted/out of sync. To fix this in the past I usually do a yum clean all and try again. If that doesn't work I delete the problem packages from my local repository, and do a repository sync. Kenneth Thanks for the reply, That's exactly what I did but till have the same problem. It may be that the 2 upstream repos that I sync my local repo to are corrupted. This is the first time I've used the x86_64 repos. When I get a chance I'll try and use a different repo and see what happens. Tony These are internal machines so I had to set up a proxy to get external access. Then I removed my local repos and used the mirrorlist line in the repos definitions and the fastestmirror plugin and the update went OK. So it must be a problem with my 2 upstream mirrors. I'll get onto the mirror masters and try and sort it out with them. Tony Alle, FYI, I installed two x86_64 boxes by hand from a freshly downloaded DVD.iso. The first thing I did was update yum on both machines then ran a yum update. I have no local or third party repositories, but the error was the same for the same packages: (170/189): selinux-policy 100% |=| 911 kB 00:01 http://ftp2.riken.jp/Linux/centos/5.2/updates/x86_64/RPMS/selinux-policy-ta rgeted-2.4.6-137.1.el5.noarch.rpm: [Errno -1] Package does not match intended download lots snipped So it would appear that lots of download sites have the wrong rpms then. I got the good rpms from the following repos * fasttrack: ftp.tudelft.nl * update: ftp.quicknet.nl * base: ftp.quicknet.nl * extras: anorien.csc.warwick.ac.uk * addons: anorien.csc.warwick.ac.uk Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Yun Update problem
Hi, I've just done a clean install of centos-5.2 x86-64. When I do a update I get the following errors = Package Arch Version RepositorySize = Updating: yum noarch 3.2.8-9.el5.centos.2.1 update 582 k Installing for dependencies: yum-fastestmirror noarch 1.1.10-9.el5.centos base 13 k Transaction Summary = Install 1 Package(s) Update 1 Package(s) Remove 0 Package(s) Total download size: 595 k Downloading Packages: (1/2): yum-3.2.8-9.el5.ce 100% |=| 582 kB00:00 http://thomond.csis.ul.ie/mirrors/centos/5/updates/x86_64/RPMS/yum-3.2.8-9.el5.centos.2.1.noarch.rpm: [Errno -1] Package does not match intended download I also get similar errors for some selinux rpms. (34/92): selinux-policy-2 100% |=| 381 kB00:00 http://thomond.csis.ul.ie/mirrors/centos/5/updates/x86_64/RPMS/selinux-policy-2.4.6-137.1.el5.noarch.rpm: [Errno -1] Package does not match intended download (70/92): selinux-policy-t 100% |=| 911 kB00:00 http://thomond.csis.ul.ie/mirrors/centos/5/updates/x86_64/RPMS/selinux-policy-targeted-2.4.6-137.1.el5.noarch.rpm: [Errno -1] Package does not match intended download The rpm packages are in my local repo. Is this just a case of my local upstream mirrors being out of sync or have I got a bigger problem. Thanks, Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Yun Update problem
On Tuesday 15 July 2008 18:34:51 Kenneth Burgener wrote: On 7/15/2008 9:57 AM, Tony Molloy wrote: (34/92): selinux-policy-2 100% |=| 381 kB 00:00 http://thomond.csis.ul.ie/mirrors/centos/5/updates/x86_64/RPMS/selinux-po licy-2.4.6-137.1.el5.noarch.rpm: [Errno -1] Package does not match intended download The rpm packages are in my local repo. Is this just a case of my local upstream mirrors being out of sync or have I got a bigger problem. I have seen this error before. I am not sure if the local cache is corrupted or my local repository is corrupted/out of sync. To fix this in the past I usually do a yum clean all and try again. If that doesn't work I delete the problem packages from my local repository, and do a repository sync. Kenneth Thanks for the reply, That's exactly what I did but till have the same problem. It may be that the 2 upstream repos that I sync my local repo to are corrupted. This is the first time I've used the x86_64 repos. When I get a chance I'll try and use a different repo and see what happens. Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Yun Update problem
On Tuesday 15 July 2008 18:47:51 Tony Molloy wrote: On Tuesday 15 July 2008 18:34:51 Kenneth Burgener wrote: On 7/15/2008 9:57 AM, Tony Molloy wrote: (34/92): selinux-policy-2 100% |=| 381 kB 00:00 http://thomond.csis.ul.ie/mirrors/centos/5/updates/x86_64/RPMS/selinux- po licy-2.4.6-137.1.el5.noarch.rpm: [Errno -1] Package does not match intended download The rpm packages are in my local repo. Is this just a case of my local upstream mirrors being out of sync or have I got a bigger problem. I have seen this error before. I am not sure if the local cache is corrupted or my local repository is corrupted/out of sync. To fix this in the past I usually do a yum clean all and try again. If that doesn't work I delete the problem packages from my local repository, and do a repository sync. Kenneth Thanks for the reply, That's exactly what I did but till have the same problem. It may be that the 2 upstream repos that I sync my local repo to are corrupted. This is the first time I've used the x86_64 repos. When I get a chance I'll try and use a different repo and see what happens. Tony These are internal machines so I had to set up a proxy to get external access. Then I removed my local repos and used the mirrorlist line in the repos definitions and the fastestmirror plugin and the update went OK. So it must be a problem with my 2 upstream mirrors. I'll get onto the mirror masters and try and sort it out with them. Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.2 Missing Dependancy
On Sunday 06 July 2008 07:20:33 Joseph L. Casale wrote: Why don't you try it and see what happens. I did, which is what lead me to believe it only checks the db:) jlc Sorry, Tony Then you have a problem ;-) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.2 Missing Dependancy
On Sunday 06 July 2008 11:39:50 William L. Maltby wrote: On Sun, 2008-07-06 at 06:52 +0100, Tony Molloy wrote: snip The problem would be if yum checks it's db to see if it has previously installed /usr/bin/false and find that it hasn't. In that case it won't wok. If it won't wok, you'l have to cook up something. :-) YUK, YUK! snip Very funny. I'll have to check for typos in future. Of course that one wouldn't have been cought ;-) Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.2 Missing Dependancy
On Saturday 05 July 2008 16:47:03 Jay Leafey wrote: Joseph L. Casale wrote: I am trying to install perl-Digest-Perl-MD5 from rf and it is failing suggesting it needs /usr/bin/false. #yum whatprovides /usr/bin/false yields nothing. My CentOS 5.1 machines don't have this, and this is the same list of yum install items I always use when setting up assp. Any idea what to do? jlc Wierd, I just confirmed the issue. There is not a /usr/bin/false, but there IS a /bin/false on a stock 5.2 install. You might check in the rpmforge forums/list archives for some mention of this problem. I thought I might be able to symlink /bin/false to /usr/bin/false (a kludge, I admit) or copy /bin/false to /usr/bin/false, but neither seems to work for me. Like I said, probably best to check with rpmforge. Sorry! I had no trouble copying it or linking it. ln -s /bin/false /usr/bin/false ls -al /usr/bin/false lrwxrwxrwx 1 root root 10 Jul 5 17:47 /usr/bin/false - /bin/false So that's a quick workaround Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.2 Missing Dependancy
On Sunday 06 July 2008 05:07:38 Joseph L. Casale wrote: I had no trouble copying it or linking it. Yes, but how does that satisfy yum? jlc If the dependancy is purely on /usr/bin./false then when you copy it I think yum should find it. The problem would be if yum checks it's db to see if it has previously installed /usr/bin/false and find that it hasn't. In that case it won't wok. Why don't you try it and see what happens. Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Problem with Full install of 5.2, missing rpm
Hi, I did a standard i386 install of 5.2 on a test machine. Then I ran the following command yum install \* and got the following error. Error: Missing Dependency: pilot-link-devel = 0.11.8 is needed by package gnome-pilot-devel Checking my local repo and my usual upstream mirrors for pilot-link-devel it's not there. [EMAIL PROTECTED] CentOS]# locate pilot-link-devel | grep centos /mirrors/centos/5.1/os/i386/CentOS/pilot-link-devel-0.11.8-16.i386.rpm /mirrors/centos/5.1/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.i386.rpm /mirrors/centos/5.1/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.x86_64.rpm /mirrors/centos/5.2/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.i386.rpm /mirrors/centos/5.2/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.x86_64.rpm As you can see from the above pilot-link-devel is present in both i386 and x86_64 repos for 5.1 but only in the x86_64 repo for 5.2 It's not really a problem I can just leave out gnome-pilot-devel. Is this an oversight or is it deliberate. Thanks for all the good work. Now to get on to my rack of PE2950's Regards, Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem with Full install of 5.2, missing rpm
On Wednesday 25 June 2008 14:21:31 Karanbir Singh wrote: Tony Molloy wrote: [EMAIL PROTECTED] CentOS]# locate pilot-link-devel | grep centos /mirrors/centos/5.1/os/i386/CentOS/pilot-link-devel-0.11.8-16.i386.rpm /mirrors/centos/5.1/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.i386.rpm /mirrors/centos/5.1/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.x86_64.rp m /mirrors/centos/5.2/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.i386.rpm /mirrors/centos/5.2/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.x86_64.rp m As you can see from the above pilot-link-devel is present in both i386 and x86_64 repos for 5.1 but only in the x86_64 repo for 5.2 you have a broken local repo eg: http://mirror.centos.org/centos/5.2/os/i386/CentOS/pilot-link-0.11.8-16.i38 6.rpm - KB That's fine. It's not just my local repo it's both my usual upstream repos ( ftp.heanet.ie and ftp.mirrorservice.org ) as well. I'll just wait till they sync later today. Thank you, Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem with Full install of 5.2, missing rpm
On Wednesday 25 June 2008 14:21:31 Karanbir Singh wrote: Tony Molloy wrote: [EMAIL PROTECTED] CentOS]# locate pilot-link-devel | grep centos /mirrors/centos/5.1/os/i386/CentOS/pilot-link-devel-0.11.8-16.i386.rpm /mirrors/centos/5.1/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.i386.rpm /mirrors/centos/5.1/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.x86_64.rp m /mirrors/centos/5.2/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.i386.rpm /mirrors/centos/5.2/os/x86_64/CentOS/pilot-link-devel-0.11.8-16.x86_64.rp m As you can see from the above pilot-link-devel is present in both i386 and x86_64 repos for 5.1 but only in the x86_64 repo for 5.2 you have a broken local repo eg: http://mirror.centos.org/centos/5.2/os/i386/CentOS/pilot-link-0.11.8-16.i38 6.rpm - KB I spoke too soon!!! The problem is not that pilot-link is missing that's there OK . The problem is that pilot-link-devel is missing. regards, Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem with Full install of 5.2, missing rpm
On Wednesday 25 June 2008 14:27:27 Karanbir Singh wrote: Karanbir Singh wrote: Tony Molloy wrote: [EMAIL PROTECTED] CentOS]# locate pilot-link-devel | grep centos /mirrors/centos/5.1/os/i386/CentOS/pilot-link-devel-0.11.8-16.i386.rpm oop's its the -devel package you are looking for... will investigate. this package isnt in the upstream distro either, so for now, I'd guess a note in the wiki ( Tim ? ) and we can keep investigating whats going on here. - KB As I said it's not a major problem or even a minor one ;-) Regards, Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] aide questions, please
On Thursday 10 April 2008 13:51:02 Steve Campbell wrote: Michael Simpson wrote: On 4/9/08, Steve Campbell [EMAIL PROTECTED] wrote: Jim Perrin wrote: On Wed, Apr 9, 2008 at 3:08 PM, Marc Wiatrowski [EMAIL PROTECTED] wrote: I think those errors are because selinux is off. Hmm, I don't ever really turn selinux off, but I had always thought aide treated it as optional. Could test by setting it to permissive and trying again. This would be interesting to test. I'm not sure if a reboot is required or not. I set permissive in the config file and echoed 1 into /selinux/enforce and then tried firstly the --check, and then an --init. Both still show the faulty lines. I will set it up properly and do a reboot tomorrow to see if it changes things, but for now, it doesn't. steve Hi there It is probably worth doing touch /.autorelabel before the reboot as nothing will have really changed with the above actions this will force relabelling of your fs after the reboot and may give you the context info that you require mike Thanks Mike, I'm not sure I can do the reboot today as I have had to put the server into a temporary production status. The thing that is sort of bothering me, though, is that so much trouble occurs because of selinux when trying to use aide RPMs. Might I not try and generate my own rpms without selinux support or just compile from source? Is there a way I can disable the selinux stuff when using the Centos rpms? I'm still not hearing a definitive answer that selinux is the culprit here and modifying filesystems for a test is a little extreme. I appreciate the help so far, though, and don't mean to sound ungrateful. steve Like yourself I'm thinking of moving from tripwire to aide on our production servers this summer. So I have an interest in this working ;-) First check your selinux setup with sestatus. That will tell you whether it is in enforcing or permissive mode or even disabled. If it's permissive or disabled them selinux wouldn't appear to be your problem as then it shouldn't stop anything from working. If it's in enforcing mode then maybe it is. If it's in enforcing or permissive mode then it will put its error messages in /var/log/audit/audit.log Check there for AVC messages from aide. Regards, Tony. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] backup to disk
On Saturday 29 March 2008 18:54:38 Ray Leventhal wrote: Hi, I'm looking for common practices for backing up user data to disk. My user data is all in /home. I'm also interested in what folks are doing for things backing up os and configs. Any pointers on setting up rsync, cpio, etc would be appreciated. Pointers to good how-to's especially welcome. Currently we're using Arkeia Network Backup (commercial product with which I am in no way affiliated), and it's great, but with disk space so cheap, I'd love to be able to take my current non-raid setup and find a way to get up and running quickly in the case of some failures. Thanks in advance, -Ray If you've got a Linux Server then lookup BackupPC on sourceforge and you'll never look back. Great bit of software. Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dump on remote filesystems?
On Tuesday 29 January 2008 12:43:48 Tom Brown wrote: I have a couple C5 systems I want to back up. My plan is to, one way or another, back them up to a C5 machine in my office. I have samba installed on the systems to back up, the machines are mounted on the system in my office, and a tape library hanging of the system in my office. I was hoping to perform a simple /sbin/dump of the remote systems. I put together a script for another successful backup I have going on a system with local filesystems. But for remote filesystems, I get errors of File Cannot Be Accessed (//remote_system/subdir) which does exist as an smb mounted filesystem. I'd use NFS, but I would like a bit more control and some level of encryption for the user authentication and data being transferred. If a direct dump of remote smb filesystems isn't possible, I may opt to have each system perform their own local dumps, then run a script locally on the tape-connected machine to dump those local dumps, or copy the dumps locally then dump them to tape. If nothing else works, I can always install Windows XP and use Windows backup program, but I'd really like to try and get this going under Linux before going that route. use amanda, www.amanda.org it rocks Or have a look at BackupPC http://backuppc.sourceforge.net/ Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Auth/Security tool at first boot
On Friday 25 January 2008 17:21:47 Joseph L. Casale wrote: What is the name of this tool that appears when you reboot from install and allows you to setup your selinux, iptables and auth configuration? Thanks! jlc firstboot !!! Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.0 /proc Backup/Restore
On Thursday 10 January 2008 23:18:33 Krautkramer, John wrote: Hi, I've recently switched to CentOS 5.0 from RedHat 9.0 and found a new directory /proc which contains virtual files according to the docs. When I try to run my normal backup which uses cpio to create archives, it complains about not being able to access many files in the /proc directory. This is also true of some files in /sys/devices. Searching for something that wouldn't have this problem, I tried mondorescue. One of the first things I noticed is, by default, mondorescue skips the /proc directory. Does anyone know the details of my observations here? Are these files automatically generated at runtime? Thanks is advance for any insight someone can provide here! John Yes, the /proc directory basically contains information on the running kernel and should never be backed up. Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Vsftpd problem
On Tuesday 26 June 2007 13:16, Jim Perrin wrote: On 6/26/07, Tony Molloy [EMAIL PROTECTED] wrote: Is this a permissions problem or does vsftpd not allow separate filesystems to be seen. Have you looked in the log files for errors? Are you using selinux? If you're using selinux, you'll have to adjust the contexts so that vsftpd has access to /mirrors. That's probably it. The SELinux problem strikes again. I should have thought of that. Thanks. Tony ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos