[CentOS-docs] 6.1 Release Notes translations
Hello, I have completed the german translation of the C6.1 release notes and would like to put them up at the wiki. I've also created a user account in the wiki but do not (yet) have write access. Could somebody please help. For now I've got the translation as an odf-file (allready mailed to Ralph as advised by KB). Thanks and cheers Christoph Ralph: Thanks for putting the german notes up. If possible could you please grant my user write access to that page to remedy some errors in the translation? Thanks and cheers Christoph ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS] Missing nss dependency nss-softokn
From: Cal Webster cwebs...@ec.rr.com Error: Package: nss-3.12.10-2.el6_1.x86_64 (updates) Requires: nss-softokn(x86-64) = 3.12.9 Installed: nss-softokn-3.12.7-1.1.el6.x86_64 (@anaconda-CentOS-201106060106.x86_64/6.0) nss-softokn(x86-64) = 3.12.7-1.1.el6 I realize I need to swap in the 6.1 ISO on our internal mirror but the missing package doesn't appear to be on the mirrors either. It is in /os: .../6/os/x86_64/Packages/nss-softokn-3.12.9-3.el6.i686.rpm .../6/os/x86_64/Packages/nss-softokn-3.12.9-3.el6.x86_64.rpm JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] how to find source of data loss / corruption
Hi, 2 websites, hosted on 2 different CentOS 5.7 servers (one being very new, about 3 weeks old) keeps loosing data - but it's more like it's corrupted than being deleted. For example, a photo would be uploaded last night and today when we checked it, it doesn't show on the website. So we check if the file is on the server, and exists but is 0KB in size. Last night it still worked fine. The photo is 482Kb in size. The first time this happened we thought it was due to a bug with CentOS 5.7 + EXT4 + quotas (there's a bug open for this) and since the server's console kept giving errors about possible data corruption we thought it would be best if we move everything to a more stable platform. So we brought a new server, setup CentOS 5.7 + ext3 + quotas (which has been working fine on all our servers for a long time) and moved the data across. A few days down the line and I still see this happening. I'm out of ideas and hope someone could shed some light on the matter. I've checked some suggested search results, but couldn't find any issues with the HDD according to SMART. The servers' both have 4GB RAM and 8Core CPU's.Neither RAM, nor CPU usage is high. Both are setup with RAID10 across 4 entrerprise HDD's, one server has software RAID and the new one hardware RAID. So even when we changed the RAID subsystem it still happens. -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to find source of data loss / corruption
From: Rudi Ahlers r...@softdux.com For example, a photo would be uploaded last night and today when we checked it, it doesn't show on the website. So we check if the file is on the server, and exists but is 0KB in size. Last night it still worked fine. The photo is 482Kb in size. Only the size changed to 0 or were some other stats changed too? Maybe try something like: inotifywait -m --format %T %e %f --timefmt %D %T -r /path/to/dir At least you would know at what time something happens... JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Perl package problems
On 12/13/2011 07:53 PM, Ljubomir Ljubojevic wrote: Vreme: 12/13/2011 06:47 PM, Anne Wilson piše: To avoid similar problems in the future, can you give me some guidelines for priority settings? It seems I got it wrong somewhere:-) Thanks It is not wise to have third-party repositories overwriting base packages. This should only be used by hand per package basis. I have created local repository where I copy packages I wish to replace and only that third-party repository has same priority as official repositories. RPMForge (now RepoForge) has non-violent, or safe repository that *should not* contain packages that overwrite base packages, and violent repository named extras that is meant to overwrite base packages. Thanks. I think that makes it clear - it seems that if I see this sort of problem again I have to look at repositories that are not normally enabled, and consider whether to temporarily enable them. Is it safe to leave rpmfusion-free-updates.repo and rpmfusion-nonree-updates.repo without a specific priority setting? The various testing repos are not enabled. Anne -- Need KDE help? Try http://userbase.kde.org or Http://forum.kde.org signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to find source of data loss / corruption
Hi Rudi we once had a similar problem on a Web: This Web had this in particular that its home-page needed to be deleted daily and of course reinstalled immediately. Then, in a new version of the Web it did not need this delete/reinstall cycle any more, so the webadmin just removed the link to the delete script. He did not remove the delete-script itself from the Web. The effect was, that the home-page was still deleted at random times. What we then found out: We used an internal Search-Engine which crawled this web. And this Search-Engine had not forgotten the link to the delete-script, but invoked it at random times, whenever it crawled the particular Web. Your case: could it be something similar? suomi On 2011-12-15 11:28, Rudi Ahlers wrote: Hi, 2 websites, hosted on 2 different CentOS 5.7 servers (one being very new, about 3 weeks old) keeps loosing data - but it's more like it's corrupted than being deleted. For example, a photo would be uploaded last night and today when we checked it, it doesn't show on the website. So we check if the file is on the server, and exists but is 0KB in size. Last night it still worked fine. The photo is 482Kb in size. The first time this happened we thought it was due to a bug with CentOS 5.7 + EXT4 + quotas (there's a bug open for this) and since the server's console kept giving errors about possible data corruption we thought it would be best if we move everything to a more stable platform. So we brought a new server, setup CentOS 5.7 + ext3 + quotas (which has been working fine on all our servers for a long time) and moved the data across. A few days down the line and I still see this happening. I'm out of ideas and hope someone could shed some light on the matter. I've checked some suggested search results, but couldn't find any issues with the HDD according to SMART. The servers' both have 4GB RAM and 8Core CPU's.Neither RAM, nor CPU usage is high. Both are setup with RAID10 across 4 entrerprise HDD's, one server has software RAID and the new one hardware RAID. So even when we changed the RAID subsystem it still happens. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] When will 6.2 be released.
On 12/10/2011 4:10 AM, Andy Smith wrote: On 10 December 2011 10:41, Hakan Koseogluha...@koseoglu.org wrote: On 10/12/11 03:36, An Yang wrote: I think all the blocks were removed, and 6.2 will be released very soon. Unless it was parked on a hill backwards and now rolling down the hill! Damn, and I haven't even installed 6.0 yet ... slow down !! slow down !! aee !! yup... 5.7 rolling along just fine on my servers... what's the rush? -- Mark If necessity is the mother of invention, then who's the father? --- Paid for by Penguins against modern appliances(R) Linux User Since 1996 Powered by RHEL 4 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] When will 6.2 be released.
On 12/10/2011 6:53 AM, Louis Lagendijk wrote: On Fri, 2011-12-09 at 19:01 -0600, Johnny Hughes wrote: Let's go ahead and get this flame thread started now to save time. The CentOS team sucks ... it took days to do 6.1 ... it is going to take twice as long to get 6.2 My mom said CentOS blows. kbsingh is ugly. hughesjr is old and fat. OK ... that should do. come on Johnny, there are still plenty of people that appreciate the work you guys do and are happy to see 6.1 released. Please give us first a chance to say thank you so much! I understand that it is frustrating to release CentOS 6.1 right after RedHat release 6.2 so you can't even allow yourself to relax a bit (and knowing you guys you HAVE to keep up, not because of the complainer, but because of your pride in what you are doing and its results). Thanks for the work on 6.1! Louis not to mention the holidays... give yourselves a break and have some fun. We'll all still be here come spring! :) -- Mark If necessity is the mother of invention, then who's the father? --- Paid for by Penguins against modern appliances(R) Linux User Since 1996 Powered by RHEL 4 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Yum metadata / CR problems
On 12/14/2011 01:44 PM, Karanbir Singh wrote: On 12/14/2011 12:30 PM, Karanbir Singh wrote: On 12/14/2011 10:53 AM, Dennis Jacobfeuerborn wrote: Isn't there a better way to handle this without breaking yum? I am sure there is, looking into that right now posted a potential fix into the metadata, that should peculate through to mirrors soon and fix the issue for everyone. Great, thanks! Can you elaborate what the fix changes? This accute problem is no biggie as it has a simple manual solution but if it would be necessary to do this on every distro update that wouldn't be ideal. Regards, Dennis ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] UUID for network cards
On 12/14/2011 04:47 PM, Helmut Drodofsky wrote: Hello, with CentOS 6, my new server created an UUID entry in ifcfg-eth0 - additional to HWADDR entry. Up to CentOS 5 the connection to the netwark card was defind only by HWADDR. Now I have a new network card. How can I get the correct UUID? The server connects correct the network with the updated HWADDR without any UUID. Why do I need an UUID? Thank you for help in advance. I'm only speculating here since I did notice the new UUIDs but haven't had to deal with them so far but my guess is that they provide a way for the to uniquely identify the logical interface and have nothing to do with the phyiscal interface itself. For example if you configure bridging you need to tell the interface the bridge they belong to. If you use the name br0 for example and later decide to rename it to bridge0 then you also have to fix all references. If instead you reference the UUID then that is not necessary and you can rename them as you please without breaking any references. Again this is speculation on my part based on how/why the UUIDs for disks where introduced. Regards, Dennis ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Unplugging DVI causes Disabling IRQ #11
I posted this as a bug to redhat's bugzilla I think in January of 2011. -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Scott Johnson Sent: Friday, December 09, 2011 11:39 PM To: centos@centos.org Subject: [CentOS] Unplugging DVI causes Disabling IRQ #11 I have some new PC hardware I'm using with the Intel H67 chipset. I created a bzImage I use for a PXE environment for a recovery mode, installing OS images, etc. The new mobo doesn't have a VGA port but instead DVI. Everytime I unplug the DVI cable it seems to cause Disabling IRQ #11. After that the PC is basically unusable. The /proc/interrupts shows that hdd, usb, nic, RAID controller for some reason all share the same interrupt. What the heck? I tried booting with acpi=off and the bios doesn't seem to offer any IRQ/PnP options. Am I missing a specific driver in my bzImage for the H67 chipset or any ideas of what I could try next? It's been a sad day. bash-2.05b# cat /proc/interrupts CPU0 0: 15185951XT-PIC-XTtimer 1: 4XT-PIC-XTi8042 2: 0XT-PIC-XTcascade 7: 75XT-PIC-XTehci_hcd:usb2 8: 1XT-PIC-XTrtc 11:2090574XT-PIC-XTahci, ehci_hcd:usb1, eth0, rr172x I even see a similar error on a fresh CentOS 5.7 install: irq 169: nobody cared (try booting with the irqpoll option) Call Trace: IRQ [800bdf66] __report_bad_irq+0x30/0x7d [800be1a4] note_interrupt+0x1f1/0x232 [800bd6a5] __do_IRQ+0xfa/0x140 [8006d4c1] do_IRQ+0xe9/0xf7 [8005d615] ret_from_intr+0x0/0xa EOI [801a2220] acpi_safe_halt+0x25/0x36 [801a2a88] acpi_processor_idle_simple+0xe6/0x31c [801a29a2] acpi_processor_idle_simple+0x0/0x31c [80048fe2] cpu_idle+0x95/0xb8 [80078a9a] start_secondary+0x479/0x488 handlers: [801fc748] (usb_hcd_irq+0x0/0x55) Disabling IRQ #169 Thanks for any help. -ScottEJ ___ 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] Cause for kernel panic
From this, is there a way to determine the cause ? kdump is not confirgured nor used, since the fencing of the node renders kdump useless. This is the second time in a few weeks it happens. /var/log/messages should have more information; could you include it? No, unfortunently, the last message in the log is a normal one, an after that it's the boot process. I will look at netconsole as Ross suggested. Regards, ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Apache httpd-2.2.15 updates
Hello Dirce, On Wed, 2011-12-14 at 10:17 -0500, drsyst...@globalcerts.net wrote: I did some research on the Internet, but can't find the following information: are most of the security fixes that appear in httpd-2.2.21 applied to the update on httpd-2.2.15-9? As CentOS is merely a rebuild of Red Hat Enterprise Linux it's probably best to subscribe to the enterprise watch list ( https://www.redhat.com/mailman/listinfo/enterprise-watch-list ) if you want to keep track of upstream security fixes. Note that this list only announces security fixes not bug fixes. For a full list of update announcements visit https://rhn.redhat.com/errata/ . Note that CentOS-6 is a merge of the different versions Red Hat provides, so you might have to browse multiple lists to get a complete overview. Regards, Leonard. -- mount -t life -o ro /dev/dna /genetic/research ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cause for kernel panic
Hello Corey, On Wed, 2011-12-14 at 20:50 -0700, Corey Henderson wrote: /var/log/messages should have more information; could you include it? Please do not ask people to include log files or other attachments to a public mailing list! Information like that should be pasted online (f.e. at http://pastebin.com/ ) and a link to the resource should be used. Regards, Leonard. -- mount -t life -o ro /dev/dna /genetic/research ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Missing nss dependency nss-softokn
On Thu, 2011-12-15 at 02:14 -0800, John Doe wrote: From: Cal Webster cwebs...@ec.rr.com Error: Package: nss-3.12.10-2.el6_1.x86_64 (updates) Requires: nss-softokn(x86-64) = 3.12.9 Installed: nss-softokn-3.12.7-1.1.el6.x86_64 (@anaconda-CentOS-201106060106.x86_64/6.0) nss-softokn(x86-64) = 3.12.7-1.1.el6 I realize I need to swap in the 6.1 ISO on our internal mirror but the missing package doesn't appear to be on the mirrors either. It is in /os: .../6/os/x86_64/Packages/nss-softokn-3.12.9-3.el6.i686.rpm .../6/os/x86_64/Packages/nss-softokn-3.12.9-3.el6.x86_64.rpm Thanks. You're right. I was looking for a version match (nss-softokn-3.12.10-2). Got the 6.1 ISO now so this should be resolved. ./Cal ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Perl package problems
Vreme: 12/15/2011 12:37 PM, Anne Wilson piše: On 12/13/2011 07:53 PM, Ljubomir Ljubojevic wrote: Vreme: 12/13/2011 06:47 PM, Anne Wilson piše: To avoid similar problems in the future, can you give me some guidelines for priority settings? It seems I got it wrong somewhere:-) Thanks It is not wise to have third-party repositories overwriting base packages. This should only be used by hand per package basis. I have created local repository where I copy packages I wish to replace and only that third-party repository has same priority as official repositories. RPMForge (now RepoForge) has non-violent, or safe repository that *should not* contain packages that overwrite base packages, and violent repository named extras that is meant to overwrite base packages. Thanks. I think that makes it clear - it seems that if I see this sort of problem again I have to look at repositories that are not normally enabled, and consider whether to temporarily enable them. Is it safe to leave rpmfusion-free-updates.repo and rpmfusion-nonree-updates.repo without a specific priority setting? The various testing repos are not enabled. You can keep all desired repositories enabled as long as you have yum-plugin-priorities installed and keep third-party repositories with lesser priority (larger number). Like base=1, epel=2, repoforge=3, rpmfusion-* =3, etc. Here is how I decided to setup third party repositories: http://rpms.plnet.rs/CentDOS.repo There are few changes needed like torakat repo with now centosplus kernels. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS-announce Digest, Vol 82, Issue 10
Send CentOS-announce mailing list submissions to centos-annou...@centos.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to centos-announce-requ...@centos.org You can reach the person managing the list at centos-announce-ow...@centos.org When replying, please edit your Subject line so it is more specific than Re: Contents of CentOS-announce digest... Today's Topics: 1. CESA-2011:1820 Moderate CentOS 5 i386 pidgin Update (Johnny Hughes) 2. CESA-2011:1820 Moderate CentOS 5 x86_64 pidginUpdate (Johnny Hughes) 3. CESA-2011:1820 Moderate CentOS 4 i386 pidgin Update (Johnny Hughes) 4. CESA-2011:1820 Moderate CentOS 4 x86_64 pidginUpdate (Johnny Hughes) -- Message: 1 Date: Wed, 14 Dec 2011 19:41:24 + From: Johnny Hughes joh...@centos.org Subject: [CentOS-announce] CESA-2011:1820 Moderate CentOS 5 i386 pidgin Update To: centos-annou...@centos.org Message-ID: 20111214194124.ga8...@chakra.karan.org Content-Type: text/plain; charset=us-ascii CentOS Errata and Security Advisory 2011:1820 Moderate Upstream details at : https://rhn.redhat.com/errata/RHSA-2011-1820.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: 3674fc7a5e1f377a6d9c4cfb5d2dd6cbf9835a388d250e0b8f709229b3b65a57 finch-2.6.6-5.el5_7.4.i386.rpm 137212f38c28475d2bef1e494b92482a17e52d61b8f81b657acc7c49c97a064f finch-devel-2.6.6-5.el5_7.4.i386.rpm 01e0e301d3980c65c1964e43a91026e15080aa571cab05f7d9300764a11ed112 libpurple-2.6.6-5.el5_7.4.i386.rpm 798e49aaf2b26bd5e449fe5a89c4cda5b7ca0a1ed7b3f1a76393a8385c646cac libpurple-devel-2.6.6-5.el5_7.4.i386.rpm 660c71689333ec41338b79b8fd0fdcd34a0a2953f92537f4fedfe92508ab415c libpurple-perl-2.6.6-5.el5_7.4.i386.rpm 64c21ef224e0d1777bc05124b5407581cbae865c8b9542299fa5e7c7a8f15cb7 libpurple-tcl-2.6.6-5.el5_7.4.i386.rpm 3608029cca6e3546175e4642becacb3285ccf98803150faf72b5bab45a964130 pidgin-2.6.6-5.el5_7.4.i386.rpm 72b812daf7bbca1d3601dba97f69efd7fb68ca90439a8fbe465a397c6c5ea6cb pidgin-devel-2.6.6-5.el5_7.4.i386.rpm 54a829623329970130c6f5ace5dfd9f6920e65ae07c4b01490ef39acd14f4e33 pidgin-perl-2.6.6-5.el5_7.4.i386.rpm Source: 490774f8a7a83d9c75c5ca24ca5d0518443fecc4d8347d073a7eb1a797620c36 pidgin-2.6.6-5.el5_7.4.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr, #cen...@irc.freenode.net -- Message: 2 Date: Wed, 14 Dec 2011 19:41:24 + From: Johnny Hughes joh...@centos.org Subject: [CentOS-announce] CESA-2011:1820 Moderate CentOS 5 x86_64 pidgin Update To: centos-annou...@centos.org Message-ID: 20111214194124.ga8...@chakra.karan.org Content-Type: text/plain; charset=us-ascii CentOS Errata and Security Advisory 2011:1820 Moderate Upstream details at : https://rhn.redhat.com/errata/RHSA-2011-1820.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) x86_64: 3674fc7a5e1f377a6d9c4cfb5d2dd6cbf9835a388d250e0b8f709229b3b65a57 finch-2.6.6-5.el5_7.4.i386.rpm 1675eeb73c3afbf82c1bdd0e4b6e54f972baf98c1c0f19fa67c12af19347f957 finch-2.6.6-5.el5_7.4.x86_64.rpm 137212f38c28475d2bef1e494b92482a17e52d61b8f81b657acc7c49c97a064f finch-devel-2.6.6-5.el5_7.4.i386.rpm b78204663c32a118553ddcc1bf36cca307b0e1e0ea5197af3821348efd91f1e4 finch-devel-2.6.6-5.el5_7.4.x86_64.rpm 01e0e301d3980c65c1964e43a91026e15080aa571cab05f7d9300764a11ed112 libpurple-2.6.6-5.el5_7.4.i386.rpm 26305cab8f13626a1d5fc52a0cf78337a8da24aa49ca125bb095d27165d5d69e libpurple-2.6.6-5.el5_7.4.x86_64.rpm 798e49aaf2b26bd5e449fe5a89c4cda5b7ca0a1ed7b3f1a76393a8385c646cac libpurple-devel-2.6.6-5.el5_7.4.i386.rpm 5d6ffb2246080f26a7997d073bacfcc5f2173f44d58dab49bf5abf5abc48f32f libpurple-devel-2.6.6-5.el5_7.4.x86_64.rpm 7b4e813b7b8b3785214b1cf030b8a4a49444676700a2102364b00994fa864155 libpurple-perl-2.6.6-5.el5_7.4.x86_64.rpm d4028e9ad49cb86b60f40cbbe8189709b581bebb9ee4e45fba1ff38f11823460 libpurple-tcl-2.6.6-5.el5_7.4.x86_64.rpm 3608029cca6e3546175e4642becacb3285ccf98803150faf72b5bab45a964130 pidgin-2.6.6-5.el5_7.4.i386.rpm 785322476c8d1aec41d8f3fe537ae365dbca1182a6083dd352c4087939a3491b pidgin-2.6.6-5.el5_7.4.x86_64.rpm 72b812daf7bbca1d3601dba97f69efd7fb68ca90439a8fbe465a397c6c5ea6cb pidgin-devel-2.6.6-5.el5_7.4.i386.rpm de4a9f21cb50fcf4205baae94143b586c40f83972dcd95ab7ae50b91215d1809 pidgin-devel-2.6.6-5.el5_7.4.x86_64.rpm ea6f417605f82adda88bd6ab574a37077e198ac59445703da0a16aae26e9d03d pidgin-perl-2.6.6-5.el5_7.4.x86_64.rpm Source: 490774f8a7a83d9c75c5ca24ca5d0518443fecc4d8347d073a7eb1a797620c36 pidgin-2.6.6-5.el5_7.4.src.rpm -- Johnny Hughes CentOS Project { http://www.centos.org/ } irc: hughesjr,
Re: [CentOS] Perl package problems
On 12/15/2011 04:24 PM, Ljubomir Ljubojevic wrote: You can keep all desired repositories enabled as long as you have yum-plugin-priorities installed and keep third-party repositories with lesser priority (larger number). Like base=1, epel=2, repoforge=3, rpmfusion-* =3, etc. Here is how I decided to setup third party repositories: http://rpms.plnet.rs/CentDOS.repo There are few changes needed like torakat repo with now centosplus kernels. Thanks. That's really helpful. I'll go through mine now and check that they all have the right priorities. Thanks again Anne -- Need KDE help? Try http://userbase.kde.org or Http://forum.kde.org signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Static routes with a metric?
Adding additional info for posterity, and in case anyone else runs across this... On Wed, Dec 7, 2011 at 12:28 PM, Benjamin Franz jfr...@freerun.com wrote: On 12/7/2011 10:03 AM, Matt Garman wrote: Hi, [...] What I basically need to be able to do is this: route add -host h1 gw g1 metric 0 route add -host h1 gw g2 metric 10 Notice that everything is the same except the gateway and metric. I could put this in /etc/rc.local, but was wondering if there's a cleaner way to do it in e.g. the network-scripts directory. If you create files in the /etc/sysconfig/network-scripts directory named according to the scheme route-eth0 route-eth1 route-eth2 it will execute each line in the files as /sbin/ip route add line when each interface is brought up. Look in the /etc/sysconfig/network-scripts/ifup-routes script for all the gory details and features. I actually did just that---looked at the ifup-routes script. The thing that threw me off is the comments about older format versus new format. I probably read into the comments too much, but I thought to myself, I should probably use the new format, as they might some day deprecate the old format. But anyway, the older format is what I need. With the older format, it's exactly what you said above: each line corresponds to running ip route add line. So what I added were lines in this format: addr/mask via gateway dev device metric N A contrived example might be: 10.25.77.0/24 via 192.168.1.1 dev eth0 metric 5 The new format is where each group of three lines corresponds to a route. You have the ADDRESSxx=, NETMASKxx=, GATEWAYxx= lines. Clearly this is less flexible, particularly if you need to set a metric like me. :) Anyway, hopefully that's useful for anyone in a similar situation! -Matt ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Perl package problems
On Thu, Dec 15, 2011 at 10:24 AM, Ljubomir Ljubojevic off...@plnet.rs wrote: You can keep all desired repositories enabled as long as you have yum-plugin-priorities installed and keep third-party repositories with lesser priority (larger number). Like base=1, epel=2, repoforge=3, rpmfusion-* =3, etc. Does this always do what you want when things appear in different repos? Like something you have installed from extras being added later to EPEL, etc.? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Perl package problems
On 12/15/2011 04:24 PM, Ljubomir Ljubojevic wrote: Here is how I decided to setup third party repositories: http://rpms.plnet.rs/CentDOS.repo There are few changes needed like torakat repo with now centosplus kernels. Can you explain, please, about those exclude=*releases statements? What exactly are they excluding? Anne -- Need KDE help? Try http://userbase.kde.org or Http://forum.kde.org signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Perl package problems
On 12/15/2011 01:27 PM, Les Mikesell wrote: On Thu, Dec 15, 2011 at 10:24 AM, Ljubomir Ljubojevic off...@plnet.rs wrote: You can keep all desired repositories enabled as long as you have yum-plugin-priorities installed and keep third-party repositories with lesser priority (larger number). Like base=1, epel=2, repoforge=3, rpmfusion-* =3, etc. Does this always do what you want when things appear in different repos? Like something you have installed from extras being added later to EPEL, etc.? Obviously not ... If you actually want something from a lower rated repo, you must add an: exclude=package_name in the higher rated repo. That in effect no longer looks for the package in the higher rated repo and gets it from the next one down the list. Since all repos do not test the others for interactivity, and since every user might have different repos than everyone else (including local ones, etc.) ... there is no one size fits all solution for adding more than just the base repos. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Perl package problems
Vreme: 12/15/2011 08:27 PM, Les Mikesell piše: On Thu, Dec 15, 2011 at 10:24 AM, Ljubomir Ljubojevicoff...@plnet.rs wrote: You can keep all desired repositories enabled as long as you have yum-plugin-priorities installed and keep third-party repositories with lesser priority (larger number). Like base=1, epel=2, repoforge=3, rpmfusion-* =3, etc. Does this always do what you want when things appear in different repos? Like something you have installed from extras being added later to EPEL, etc.? Plugin Priorities hides packages with the same name, leaving only package from the repo with top most priority (lower number). This prevents visibility and installability of packages in repo's with lower priority (higher number). You can still see them if you add --showduplicates --disableplugin=priorities. EPEL is base-repo friendly, so there should be no problems with EPEL. Trick comes with RepoForge (ex-RPMForge), aTrpms, and other third party repo's. Policy of the RepoForge for example is that they will not recompile their own packages if package they depend on is bumped in EPEL and overrides RepoForge's package with same name. I do understand them, they have limited time and infrastructure to always keep up with EPEL. But only real problems are with Audio/Video packages: players, codecs (decoders, encoders), and supporting libraries. In order to be sure that those packages will work without interruptions, players are compiled with hard-coded dependencies on particular version of libraries, codec packages, etc. We can narrow it down even further to decoders/encoders with licensing issues like MP3. Upstream, CentOS consequently, and EPEL compile for example gstreamer package without license infringing codecs, but all others do. What people do is to install gstreamer from third party repo with gstreamer-bad (or was it -ugly) additional packages. So when upstream or EPEL publishes another version of gstreamer, hard-coded gstreamer-bad dependancy conflicts with new package. So third-party repo would have to rebuild their entire audio/video package group to avoid conflicts. Solution would be that there is communication between EPEL(/upstream) maintainer and third party repos. So there will always be complications, but they are limited to audio/video packages (mostly). -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Perl package problems
Vreme: 12/15/2011 08:32 PM, Anne Wilson piše: On 12/15/2011 04:24 PM, Ljubomir Ljubojevic wrote: Here is how I decided to setup third party repositories: http://rpms.plnet.rs/CentDOS.repo There are few changes needed like torakat repo with now centosplus kernels. Can you explain, please, about those exclude=*releases statements? What exactly are they excluding? I use exclude=*releases so I no repository release package (like centos-release, or epel-release) will update/install *.repo files in /etc/yum/repos.d/ and in doing so add repository entries not controled by me. But there is an error I just saw, it should be exclude=*release, without the trailing s. I will have to fix this as soon as possible. Explanation: When I install CentOS systems, I move original *.repo files to backup subdirectory because they do not contain Enabled= and Priorities= lines, and leave only my own .repo file. If there is no exclude=*release line, then next update of xxx-release would see that their .repo files are missing and would reinstall them. New .repo files would then circumvent priorities plugin and all my work was for nothing. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] 6.x - find interface with link up
In earlier versions 'mii-tool' would iterate over interfaces and show which have link up. In 6.x it wants an interface as a parameter. What is the appropriate way to find which of some number of of interfaces are connected? Better yet, what is the least typing to get the mac addresses of those interfaces? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 6.x - find interface with link up
Les Mikesell wrote: In earlier versions 'mii-tool' would iterate over interfaces and show which have link up. In 6.x it wants an interface as a parameter. What is the appropriate way to find which of some number of of interfaces are connected? Better yet, what is the least typing to get the mac addresses of those interfaces? ethtool, or even lshw. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 6.x - find interface with link up
On Thu, Dec 15, 2011 at 2:56 PM, m.r...@5-cent.us wrote: Les Mikesell wrote: In earlier versions 'mii-tool' would iterate over interfaces and show which have link up. In 6.x it wants an interface as a parameter. What is the appropriate way to find which of some number of of interfaces are connected? Better yet, what is the least typing to get the mac addresses of those interfaces? ethtool, or even lshw. How do you make ethtool iterate over the available interfaces? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] installing gnome, CentOS 6.1
I just rebuilt a box to 6.1 for a user. Shortly after I delivered, she came up to ask about gnome; it had come up as KDE. I looked at the login screen, and in the session type, saw previous, custom, kde, and default. When I investigated, I found not all 7,532,340 gnome packages were installed. Googling for responses only in the last month, I found a lot of groupinstall GNOME Desktop Environment, as opposed to what I put in our PXEboot file months ago, GNOME Desktop Environment (RPM Fusion Free). That didn't work either, and after a bit more googling, found people saying groupinstall Desktop. So, is upstream so GNOMEly that the rest of the desktops/window managers are just chopped liver? mark, annoyed at having to change the ks.cgi *again* ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 6.x - find interface with link up
Les Mikesell wrote: On Thu, Dec 15, 2011 at 2:56 PM, m.r...@5-cent.us wrote: Les Mikesell wrote: In earlier versions 'mii-tool' would iterate over interfaces and show which have link up. In 6.x it wants an interface as a parameter. What is the appropriate way to find which of some number of of interfaces are connected? Better yet, what is the least typing to get the mac addresses of those interfaces? ethtool, or even lshw. How do you make ethtool iterate over the available interfaces? I suppose that would be a script. lshw - which is clearer than just dmidecode, would do it. Dumb question: in /etc/sysconfig/network-scripts, do the ifcfg-* have HWADDRs? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] installing gnome, CentOS 6.1
Karanbir Singh wrote: On 12/15/2011 09:21 PM, m.r...@5-cent.us wrote: PXEboot file months ago, GNOME Desktop Environment (RPM Fusion Free). So wherever that came from, it wasent CentOS I dunno - I used it to install a very early version of 6. *shrug* mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to find source of data loss / corruption
On Thu, Dec 15, 2011 at 1:48 PM, anax a...@ayni.com wrote: Hi Rudi we once had a similar problem on a Web: This Web had this in particular that its home-page needed to be deleted daily and of course reinstalled immediately. Then, in a new version of the Web it did not need this delete/reinstall cycle any more, so the webadmin just removed the link to the delete script. He did not remove the delete-script itself from the Web. The effect was, that the home-page was still deleted at random times. What we then found out: We used an internal Search-Engine which crawled this web. And this Search-Engine had not forgotten the link to the delete-script, but invoked it at random times, whenever it crawled the particular Web. Your case: could it be something similar? suomi Thanx for the advice. We found a script which seems to have been modified somehow, probably hacker or a rootkit - don't yet know, but we're looking to see if we can trace it down. I don't want to reveal the code here due to it's uniqueness and I don't want to attrack further attension to the sites by the attack(er). -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 6.x - find interface with link up
Am 15.12.2011 22:13, schrieb Les Mikesell: On Thu, Dec 15, 2011 at 2:56 PM, m.r...@5-cent.us wrote: Les Mikesell wrote: In earlier versions 'mii-tool' would iterate over interfaces and show which have link up. In 6.x it wants an interface as a parameter. What is the appropriate way to find which of some number of of interfaces are connected? Better yet, what is the least typing to get the mac addresses of those interfaces? ethtool, or even lshw. How do you make ethtool iterate over the available interfaces? How about following? for i in /sys/class/net/eth*; do echo ${i##*/}: cat $i/{carrier,address} done Alexander ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 6.x - find interface with link up
On 12/15/2011 12:45 PM, Les Mikesell wrote: In earlier versions 'mii-tool' would iterate over interfaces and show which have link up. In 6.x it wants an interface as a parameter. What is the appropriate way to find which of some number of of interfaces are connected? Better yet, what is the least typing to get the mac addresses of those interfaces /sbin/ip link ls -- Benjamin Franz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 6.x - find interface with link up
On Thu, Dec 15, 2011 at 3:39 PM, m.r...@5-cent.us wrote: In earlier versions 'mii-tool' would iterate over interfaces and show which have link up. In 6.x it wants an interface as a parameter. What is the appropriate way to find which of some number of of interfaces are connected? Better yet, what is the least typing to get the mac addresses of those interfaces? ethtool, or even lshw. How do you make ethtool iterate over the available interfaces? I suppose that would be a script. lshw - which is clearer than just dmidecode, would do it. Dumb question: in /etc/sysconfig/network-scripts, do the ifcfg-* have HWADDRs? They do, but the case I want to cover is where an existing server is cloned, or the disk has been moved from a failed chassis to a spare. And in this case the existing files will be wrong, and the nics will be named more or less randomly. Assume the hands-on operators don't know much about linux and you can't actively help until they get at least one of the right IP's on the right NIC. With 5.x I'd use mii-tool to find the connected interface (connecting one wire at a time if necessary), then ifconfig on that interface to get the hwaddr, then edit that into the ifcfg-* file for the names I want the active NICs to have, and reboot. That's awkward enough to ask someone to do who already prefers windows, and it looks like it just got harder by having to explicitly run mii-tool for each possible interface (and we always have 4 to 6 per box). There has to be a better way. I thought 6.1 was going to have a new NIC name convention but I haven't had time to look into it and have to make something work now. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 6.x - find interface with link up
On Thu, Dec 15, 2011 at 4:03 PM, Benjamin Franz jfr...@freerun.com wrote: On 12/15/2011 12:45 PM, Les Mikesell wrote: In earlier versions 'mii-tool' would iterate over interfaces and show which have link up. In 6.x it wants an interface as a parameter. What is the appropriate way to find which of some number of of interfaces are connected? Better yet, what is the least typing to get the mac addresses of those interfaces /sbin/ip link ls That looks promising. And '/sbin/ip addr' shows both the state and the mac address - even better. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cause for kernel panic
On Thursday, December 15, 2011 09:51:52 AM Leonard den Ottolander wrote: Please do not ask people to include log files or other attachments to a public mailing list! Information like that should be pasted online (f.e. at http://pastebin.com/ ) and a link to the resource should be used. I must disagree with this; for IRC this is appropriate, since typical IRC chat logs are not indexed by google and the like, nor are questioners encouraged to read the archives of the IRC logs. I can't count the times I've searched for a solution to a problem, found someone with the same issue posting online, tracked down some potential solution, only to find that the pastebin referenced as having the solution was no longer there. Ditto for links to fixes on rapidshare, megaupload, googledocs, and kin. It would be nice to excerpt logs and fixes for future searching through google or directly through the archives. Or, to put it more bluntly, you shouldn't tell people to search the archives but then have people put essential data on an ephemeral resource that is dissociated from the archive. IMHO, of course. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] installing gnome, CentOS 6.1
On 12/15/2011 03:37 PM, Karanbir Singh wrote: On 12/15/2011 09:21 PM, m.r...@5-cent.us wrote: PXEboot file months ago, GNOME Desktop Environment (RPM Fusion Free). So wherever that came from, it wasent CentOS yum groupinstall Desktop Platform Desktop X Window System If you are pointed to CentOS-6.1 that will give you a full desktop with gnome. RPM Fusion is nothing to do with CentOS Gnome. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 6.x - find interface with link up
On Dec 15, 2011, at 3:45 PM, Les Mikesell lesmikes...@gmail.com wrote: In earlier versions 'mii-tool' would iterate over interfaces and show which have link up. In 6.x it wants an interface as a parameter. What is the appropriate way to find which of some number of of interfaces are connected? Better yet, what is the least typing to get the mac addresses of those interfaces? In 5 an 'ifconfig' without parameters would only list up interfaces and one would have to do an 'ifconfig -a' to see all interfaces. Maybe still true in 6? -Ross ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to find source of data loss / corruption
On Thu, Dec 15, 2011 at 1:29 PM, John Doe jd...@yahoo.com wrote: From: Rudi Ahlers r...@softdux.com For example, a photo would be uploaded last night and today when we checked it, it doesn't show on the website. So we check if the file is on the server, and exists but is 0KB in size. Last night it still worked fine. The photo is 482Kb in size. Only the size changed to 0 or were some other stats changed too? Maybe try something like: inotifywait -m --format %T %e %f --timefmt %D %T -r /path/to/dir At least you would know at what time something happens... JD ___ John, Where do I get inotifywait ? yum what provides */inotifywait didn't return anything root@mars:[/]$ yum whatprovides */inotifywait Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.highspeedweb.net * extras: centos.omnispring.com * updates: mirrors.igsobe.com Excluding Packages in global exclude list Finished extras/filelists_db | 206 kB 00:00 updates/filelists_db | 1.7 MB 00:00 No Matches found -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 6.x - find interface with link up
On Thu, Dec 15, 2011 at 5:16 PM, Ross Walker rswwal...@gmail.com wrote: In earlier versions 'mii-tool' would iterate over interfaces and show which have link up. In 6.x it wants an interface as a parameter. What is the appropriate way to find which of some number of of interfaces are connected? Better yet, what is the least typing to get the mac addresses of those interfaces? In 5 an 'ifconfig' without parameters would only list up interfaces and one would have to do an 'ifconfig -a' to see all interfaces. Maybe still true in 6? That's not just 'link up' though. Those are ones that are 'administratively up' with an address assigned. That would be the same set with the default configuration and DHCP service available on all subnets, but we don't have that. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to find source of data loss / corruption
Vreme: 12/16/2011 12:22 AM, Rudi Ahlers piše: John, Where do I get inotifywait ? yum what provides */inotifywait didn't return anything root@mars:[/]$ yum whatprovides */inotifywait Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.highspeedweb.net * extras: centos.omnispring.com * updates: mirrors.igsobe.com Excluding Packages in global exclude list Finished extras/filelists_db | 206 kB 00:00 updates/filelists_db | 1.7 MB 00:00 No Matches found inotify-tools from EPEL? -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos