[CentOS] Dell 2950 and broadcom
Hi all I'm trying to setup second ethernet on Dell 2950 server but there isn't any eth1 device (in the bios are ON) # dmesg |grep eth eth0: Broadcom NetXtreme II BCM5708 1000Base-T (B2) PCI-X 64-bit 133MHz found at mem f800, IRQ 169, node addr 001c23d878bb eth1: Broadcom NetXtreme II BCM5708 1000Base-T (B2) PCI-X 64-bit 133MHz found at mem f400, IRQ 169, node addr 001c23d878bd bnx2: eth0: using MSI bnx2: eth0 NIC Link is Up, 100 Mbps full duplex # uname -a Linux vmta2.contactlab.it 2.6.18-53.1.6.el5 #1 SMP Wed Jan 23 11:28:47 EST 2008 x86_64 x86_64 x86_64 GNU/Linux # ifconfig -a dev707Link encap:Ethernet HWaddr 00:1C:23:D8:78:BD BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:169 Memory:f400-f4012100 eth0 Link encap:Ethernet HWaddr 00:1C:23:D8:78:BB inet addr:xx Bcast:x Mask:255.255.255.0 inet6 addr: fe80::21c:23ff:fed8:78bb/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:119649 errors:0 dropped:0 overruns:0 frame:0 TX packets:43871 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:91428814 (87.1 MiB) TX bytes:5879945 (5.6 MiB) Interrupt:169 Memory:f800-f8012100 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:14 errors:0 dropped:0 overruns:0 frame:0 TX packets:14 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:848 (848.0 b) TX bytes:848 (848.0 b) # ls -la /sys/class/net/ total 0 drwxr-xr-x 6 root root 0 Jan 24 10:39 . drwxr-xr-x 30 root root 0 Jan 24 10:39 .. drwxr-xr-x 3 root root 0 Jan 24 10:57 dev707 drwxr-xr-x 3 root root 0 Jan 24 10:40 eth0 drwxr-xr-x 3 root root 0 Jan 24 10:40 lo drwxr-xr-x 3 root root 0 Jan 24 10:40 sit0 # lsmod |grep bnx bnx2 190425 0 # cat /etc/modprobe.conf alias eth0 bnx2 alias eth1 bnx2 alias scsi_hostadapter megaraid_sas alias scsi_hostadapter1 ata_piix How can I do to setup eth1 device? kind regards ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dell 2950 and broadcom
Alain Spineux ha scritto: any idea why your eth1 is named dev707 ? no :( Is their any problem to use this name ? every time I reboot system it change name to dev343, dev436 etc etc etc You could try to add this line to /etc/udev/rules.d/70-persistent-net.rules SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1C:23:D8:78:BD", ATTR{type}=="1", NAME="eth1" This is what I use to give different pcmcia card the same name "wlan0" on all my laptop. tahnks, I will try it asap ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.1 on Dell R200 with 6iR?
Plant, Dean ha scritto: Hello list, Can anyone confirm if CentOS 5.1 works happily on a Dell R200 with a SAS 6iR RAID controller. yes its works uname -a Linux x 2.6.18-53.1.4.el5 #1 SMP Fri Nov 30 00:45:55 EST 2007 x86_64 x86_64 x86_64 GNU/Linux dmesg |grep SCSI SCSI subsystem initialized Type: Direct-Access ANSI SCSI revision: 05 Type: Direct-Access ANSI SCSI revision: 05 Type: Direct-Access ANSI SCSI revision: 05 SCSI device sda: 285155328 512-byte hdwr sectors (146000 MB) SCSI device sda: drive cache: write through SCSI device sda: 285155328 512-byte hdwr sectors (146000 MB) SCSI device sda: drive cache: write through Type: CD-ROM ANSI SCSI revision: 05 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.0 -> 5.1
Ashley M. Kirchner escribió: Jim Perrin wrote: If you've been running yum update, you're already at 5.1. You may just need to reboot to load the new kernel. Nope, I don't run yum. I do manual updates. So I've rsynced the updates to a local drives, and then ran rpm against them. There's something about running un-attended updates on a life system. I've had too many cases where I come into the office in the morning and the system is dead because of some update overnight. Never automate the updates. Do them manually, using yum, and selecting the packages you are interested in. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] kernel-module-drbd <=> kernel-2.6.9-55.0.2
Should be clearer now ;) Martin Hamant a écrit : Hello Johnny, I'm looking for the corresponding kernel-module-drbd package to be able to update some kernel's :) If you have time, of course. Le Tue, 26 Jun 2007 18:50:46 -0500 Johnny Hughes <[EMAIL PROTECTED]> écrivait: CentOS Errata and Security Advisory 2007:0488 https://rhn.redhat.com/errata/RHSA-2007-0488.html The following updated files have been uploaded and are currently syncing to the mirrors: i386: kernel-2.6.9-55.0.2.EL.i586.rpm kernel-2.6.9-55.0.2.EL.i686.rpm kernel-devel-2.6.9-55.0.2.EL.i586.rpm kernel-devel-2.6.9-55.0.2.EL.i686.rpm kernel-doc-2.6.9-55.0.2.EL.noarch.rpm kernel-hugemem-2.6.9-55.0.2.EL.i686.rpm kernel-hugemem-devel-2.6.9-55.0.2.EL.i686.rpm kernel-smp-2.6.9-55.0.2.EL.i586.rpm kernel-smp-2.6.9-55.0.2.EL.i686.rpm kernel-smp-devel-2.6.9-55.0.2.EL.i586.rpm kernel-smp-devel-2.6.9-55.0.2.EL.i686.rpm kernel-xenU-2.6.9-55.0.2.EL.i686.rpm kernel-xenU-devel-2.6.9-55.0.2.EL.i686.rpm src: kernel-2.6.9-55.0.2.EL.src.rpm ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] kernel-module-drbd <=> kernel-2.6.9-55.0.2
Le Sat, 07 Jul 2007 08:16:24 -0500 Johnny Hughes <[EMAIL PROTECTED]> écrivait: > Martin Hamant wrote: > > Should be clearer now ;) > > > > Martin Hamant a écrit : > >> Hello Johnny, > >> > >> I'm looking for the corresponding kernel-module-drbd package to be > >> able to update some kernel's :) > >> > >> If you have time, of course. > >> > >> Le Tue, 26 Jun 2007 18:50:46 -0500 > >> Johnny Hughes <[EMAIL PROTECTED]> écrivait: > >> > >>> CentOS Errata and Security Advisory 2007:0488 > >>> > >>> https://rhn.redhat.com/errata/RHSA-2007-0488.html > >>> > >>> The following updated files have been uploaded and are currently > >>> syncing to the mirrors: > >>> > >>> i386: > >>> kernel-2.6.9-55.0.2.EL.i586.rpm > >>> kernel-2.6.9-55.0.2.EL.i686.rpm > >>> kernel-devel-2.6.9-55.0.2.EL.i586.rpm > >>> kernel-devel-2.6.9-55.0.2.EL.i686.rpm > >>> kernel-doc-2.6.9-55.0.2.EL.noarch.rpm > >>> kernel-hugemem-2.6.9-55.0.2.EL.i686.rpm > >>> kernel-hugemem-devel-2.6.9-55.0.2.EL.i686.rpm > >>> kernel-smp-2.6.9-55.0.2.EL.i586.rpm > >>> kernel-smp-2.6.9-55.0.2.EL.i686.rpm > >>> kernel-smp-devel-2.6.9-55.0.2.EL.i586.rpm > >>> kernel-smp-devel-2.6.9-55.0.2.EL.i686.rpm > >>> kernel-xenU-2.6.9-55.0.2.EL.i686.rpm > >>> kernel-xenU-devel-2.6.9-55.0.2.EL.i686.rpm > >>> > >>> src: > >>> kernel-2.6.9-55.0.2.EL.src.rpm > > I am working on the CentOSPlus kernel for this now ... and I should > have the plus kernel and all modules (drbd, xfs) done today. Hello Johnny, So the new common name for drbd modules is kmod-drbd... ? Because when i try this: # yum install kmod-drbd-smp.i686 Setting up Install Process Setting up repositories Reading repository metadata in from local files Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package kmod-drbd-smp.i686 0:0.7.24-1.2.6.9_55.0.2.plus.c4 set to be updated --> Running transaction check --> Processing Dependency: kernel-smp-i686 = 2.6.9-55.0.2.plus.c4 for package: kmod-drbd-smp --> Finished Dependency Resolution Error: Missing Dependency: kernel-smp-i686 = 2.6.9-55.0.2.plus.c4 is needed by package kmod-drbd-smp Whereas I have a basic EL kernel-smp package installed ? -- Martin Hamant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] kernel-module-drbd <=> kernel-2.6.9-55.0.2
Johnny Hughes a écrit : Martin Hamant wrote: Le Sat, 07 Jul 2007 08:16:24 -0500 Johnny Hughes <[EMAIL PROTECTED]> écrivait: Martin Hamant wrote: Should be clearer now ;) Martin Hamant a écrit : Hello Johnny, I'm looking for the corresponding kernel-module-drbd package to be able to update some kernel's :) If you have time, of course. Le Tue, 26 Jun 2007 18:50:46 -0500 Johnny Hughes <[EMAIL PROTECTED]> écrivait: CentOS Errata and Security Advisory 2007:0488 https://rhn.redhat.com/errata/RHSA-2007-0488.html The following updated files have been uploaded and are currently syncing to the mirrors: i386: kernel-2.6.9-55.0.2.EL.i586.rpm kernel-2.6.9-55.0.2.EL.i686.rpm kernel-devel-2.6.9-55.0.2.EL.i586.rpm kernel-devel-2.6.9-55.0.2.EL.i686.rpm kernel-doc-2.6.9-55.0.2.EL.noarch.rpm kernel-hugemem-2.6.9-55.0.2.EL.i686.rpm kernel-hugemem-devel-2.6.9-55.0.2.EL.i686.rpm kernel-smp-2.6.9-55.0.2.EL.i586.rpm kernel-smp-2.6.9-55.0.2.EL.i686.rpm kernel-smp-devel-2.6.9-55.0.2.EL.i586.rpm kernel-smp-devel-2.6.9-55.0.2.EL.i686.rpm kernel-xenU-2.6.9-55.0.2.EL.i686.rpm kernel-xenU-devel-2.6.9-55.0.2.EL.i686.rpm src: kernel-2.6.9-55.0.2.EL.src.rpm I am working on the CentOSPlus kernel for this now ... and I should have the plus kernel and all modules (drbd, xfs) done today. Hello Johnny, So the new common name for drbd modules is kmod-drbd... ? Because when i try this: # yum install kmod-drbd-smp.i686 Setting up Install Process Setting up repositories Reading repository metadata in from local files Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package kmod-drbd-smp.i686 0:0.7.24-1.2.6.9_55.0.2.plus.c4 set to be updated --> Running transaction check --> Processing Dependency: kernel-smp-i686 = 2.6.9-55.0.2.plus.c4 for package: kmod-drbd-smp --> Finished Dependency Resolution Error: Missing Dependency: kernel-smp-i686 = 2.6.9-55.0.2.plus.c4 is needed by package kmod-drbd-smp Whereas I have a basic EL kernel-smp package installed ? Since both the plus and regular module are in the extras directory (and since plus is GREATER than EL) you will need to add this to the extras section of CentOS-Base.repo exclude=kmod-drbd\*plus\* Ok thanks ! Do you think it's possible to do an "auto-select" dependence check ? Or why not create a kmod-drbd-smp package and another kmod-drbd-smp-plus ? Plus, when I issue a: # yum list kmod\* kmod-drbd.i686 0.7.24-1.2.6.9_55.0.2. extras kmod-drbd-hugemem.i686 0.7.24-1.2.6.9_55.0.2. extras kmod-drbd-smp.i686 0.7.24-1.2.6.9_55.0.2. extras kmod-drbd-xenU.i686 0.7.24-1.2.6.9_55.0.2. extras There is nothing I can see about "plus" :O With yum search , i got : kmod-drbd-smp.i686 0.7.24-1.2.6.9_55.0.2. extras Matched from: kmod-drbd-smp kmod-drbd-smp.i686 0.7.24-1.2.6.9_55.0.2. extras Matched from: kmod-drbd-smp Same history :( That's just ideas ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] kernel-module-drbd <=> kernel-2.6.9-55.0.2
Le Tue, 10 Jul 2007 08:40:48 -0500 Johnny Hughes <[EMAIL PROTECTED]> écrivait: > Martin Hamant wrote: > > Johnny Hughes a écrit : > >> Martin Hamant wrote: > >>> Le Sat, 07 Jul 2007 08:16:24 -0500 > >>> Johnny Hughes <[EMAIL PROTECTED]> écrivait: > >>> > >>>> Martin Hamant wrote: > >>>>> Should be clearer now ;) > >>>>> > >>>>> Martin Hamant a écrit : > >>>>>> Hello Johnny, > >>>>>> > >>>>>> I'm looking for the corresponding kernel-module-drbd package > >>>>>> to be able to update some kernel's :) > >>>>>> > >>>>>> If you have time, of course. > >>>>>> > >>>>>> Le Tue, 26 Jun 2007 18:50:46 -0500 > >>>>>> Johnny Hughes <[EMAIL PROTECTED]> écrivait: > >>>>>> > >>>>>>> CentOS Errata and Security Advisory 2007:0488 > >>>>>>> > >>>>>>> https://rhn.redhat.com/errata/RHSA-2007-0488.html > >>>>>>> > >>>>>>> The following updated files have been uploaded and are > >>>>>>> currently syncing to the mirrors: > >>>>>>> > >>>>>>> i386: > >>>>>>> kernel-2.6.9-55.0.2.EL.i586.rpm > >>>>>>> kernel-2.6.9-55.0.2.EL.i686.rpm > >>>>>>> kernel-devel-2.6.9-55.0.2.EL.i586.rpm > >>>>>>> kernel-devel-2.6.9-55.0.2.EL.i686.rpm > >>>>>>> kernel-doc-2.6.9-55.0.2.EL.noarch.rpm > >>>>>>> kernel-hugemem-2.6.9-55.0.2.EL.i686.rpm > >>>>>>> kernel-hugemem-devel-2.6.9-55.0.2.EL.i686.rpm > >>>>>>> kernel-smp-2.6.9-55.0.2.EL.i586.rpm > >>>>>>> kernel-smp-2.6.9-55.0.2.EL.i686.rpm > >>>>>>> kernel-smp-devel-2.6.9-55.0.2.EL.i586.rpm > >>>>>>> kernel-smp-devel-2.6.9-55.0.2.EL.i686.rpm > >>>>>>> kernel-xenU-2.6.9-55.0.2.EL.i686.rpm > >>>>>>> kernel-xenU-devel-2.6.9-55.0.2.EL.i686.rpm > >>>>>>> > >>>>>>> src: > >>>>>>> kernel-2.6.9-55.0.2.EL.src.rpm > >>>> I am working on the CentOSPlus kernel for this now ... and I > >>>> should have the plus kernel and all modules (drbd, xfs) done > >>>> today. > >>> > >>> Hello Johnny, > >>> > >>> So the new common name for drbd modules is kmod-drbd... ? > >>> > >>> Because when i try this: > >>> > >>> # yum install kmod-drbd-smp.i686 > >>> Setting up Install Process > >>> Setting up repositories > >>> Reading repository metadata in from local files > >>> Parsing package install arguments > >>> Resolving Dependencies > >>> --> Populating transaction set with selected packages. Please > >>> wait. ---> Package kmod-drbd-smp.i686 > >>> 0:0.7.24-1.2.6.9_55.0.2.plus.c4 set to be updated > >>> --> Running transaction check > >>> --> Processing Dependency: kernel-smp-i686 = 2.6.9-55.0.2.plus.c4 > >>> for package: kmod-drbd-smp > >>> --> Finished Dependency Resolution > >>> Error: Missing Dependency: kernel-smp-i686 = 2.6.9-55.0.2.plus.c4 > >>> is needed by package kmod-drbd-smp > >>> > >>> Whereas I have a basic EL kernel-smp package installed ? > >> > >> Since both the plus and regular module are in the extras directory > >> (and since plus is GREATER than EL) you will need to add this to > >> the extras section of CentOS-Base.repo > >> > >> exclude=kmod-drbd\*plus\* > > > > Ok thanks ! > > > > Do you think it's possible to do an "auto-select" dependence check ? > > Or why not create a kmod-drbd-smp package and another > > kmod-drbd-smp-plus ? > > > > Plus, when I issue a: > > > > # yum list kmod\* > > kmod-drbd.i686 0.7.24-1.2.6.9_55.0.2. > > extras kmod-drbd-hugemem.i686 > > 0.7.24-1.2.6.9_55.0.2. extras > > kmod-drbd-smp.i686 0.7.24-1.2.6.9_55.0.2. > > extras kmod-drbd-xenU.i686 > > 0.7.24-1.2.6.9_55.0.2. extras > > > > There is nothing I can see about "plus" :O > > > > With yum search , i got : > > > > kmod-drbd-smp.i686 0.7.24-1.2.6.9_55.0.2. > > extras Matched from: > > kmod-drbd-smp > > > > > > kmod-drbd-smp.i686 0.7.24-1.2.6.9_55.0.2. > > extras Matched from: > > kmod-drbd-smp > > > > That is because it is too big to fit ... one of this is the plus one, > the other is not. Yeah. > > I could do any number of things, but the PLUS kernel is by design an > upgrade to the regular kernel ... I guess I could move all plus > modules to the centos plus area. Yes, it seems to be a good idea ! I'm in favor of it ;) > > The exclude should work. > Yep, thanks ! -- Martin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] PHP doesn't connect to PG with SELinux
I just migrated my FC4 server to CentOS 5 and had some problems with DB connections from PHP to a PG server (remote server). The thing is that I couldn't get an error, until I disabled SELinux. At that time, the PG connections started working. Are there any instructions on how to work with SELinux enabled and multiple applications connecting one with another? -- select 'mmarques' || '@' || 'unl.edu.ar' AS email; - Martín Marqués | Programador, DBA Centro de Telemática| Administrador Universidad Nacional del Litoral - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] GNU pascal
Is there a package for CentOS of GNU/Pascal? -- 21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18 - Lic. Martín Marqués | SELECT 'mmarques' || Centro de Telemática| '@' || 'unl.edu.ar'; Universidad Nacional| DBA, Programador, del Litoral | Administrador - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 4gb ram shows as 3.3gb
Tim Verhoeven wrote: Another option is that you try to boot with the PAE kernel. That kernel is made to go over the 4GB boundary on 32bit. Didn't work for me. :-( [EMAIL PROTECTED] ~]# free total used free sharedbuffers cached Mem: 323723618659561371280 0 2635881279996 -/+ buffers/cache: 3223722914864 Swap:0 0 0 [EMAIL PROTECTED] ~]# uname -a Linux newweb.matematica 2.6.18-8.1.8.el5PAE #1 SMP Tue Jul 10 07:50:36 EDT 2007 i686 i686 i386 GNU/Linux -- 21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18 - Lic. Martín Marqués | SELECT 'mmarques' || Centro de Telemática| '@' || 'unl.edu.ar'; Universidad Nacional| DBA, Programador, del Litoral | Administrador - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 4gb ram shows as 3.3gb
Nick wrote: Hi, Running Centos 5 (32bit)... running a server with 4gb of RAM and it's shows up as: [EMAIL PROTECTED] ~]# free total used free sharedbuffers cached Mem: 33695442549668 819876 0 290082382360 -/+ buffers/cache: 1383003231244 Swap: 6291448 06291448 I know 4gb is the limit for a 32bit OS but i thought it would be able to use all of it? Is there another kernel i was supposed to install? The thing is, and I'm still trying to find a solution for one of our servers, the the memory addresses from 4Gb down are used for PCI, VGA, onboard stuff, and even though the memory isn't used, the addresses are, and so they are not passed to the OS. Can you send some info on the motherboard you have? -- 21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18 - Lic. Martín Marqués | SELECT 'mmarques' || Centro de Telemática| '@' || 'unl.edu.ar'; Universidad Nacional| DBA, Programador, del Litoral | Administrador - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 4gb ram shows as 3.3gb
John R Pierce wrote: but thats neither here nor there, PAE is a universal issue for any x86 32bit system with 4GB+ ram, with PAE disabled, the BIOS, PCI, AGP or PCI-express, etc IO spaces consume anywheres from .5 to 1GB of the 32bit address space. PAE is a hardware workaround implemented in pretty much all Intel and AMD CPUs made in the last 5+ years, and allows the OS to access more than 4GB of physical address space. PAE introduces some hardware overhead because it involves larger page tables and another level of indirection in the TLB lookups. CentOS 5 installs defaults to PAE off because there are some systems where PAE is crash-happy.Someone here has already explained how to enable PAE and in fact the original poster tried it and is happy with his full 4GB now. Well, looks like I'm having quite a bit of a problem then. :-( I have PAE kernel running, and all I see is 3.2Gb of the 4Gb. dmidecode gives me this (intel chip): Handle 0x, DMI type 0, 20 bytes. BIOS Information Vendor: Intel Corp. Version: EV91510A.86A.0482.2006.0222.2350 And later this: Handle 0x0041, DMI type 19, 15 bytes. Memory Array Mapped Address Starting Address: 0x000 Ending Address: 0x000C77F Range Size: 3192 MB Physical Array Handle: 0x0040 Partition Width: 0 [snip] Handle 0x0048, DMI type 17, 27 bytes. Memory Device Array Handle: 0x0040 Error Information Handle: 0x003F Total Width: 64 bits Data Width: 64 bits Size: 1024 MB Form Factor: DIMM Set: 2 Locator: J6H2 Bank Locator: CHANNEL B DIMM1 Type: DDR Type Detail: Synchronous Speed: 400 MHz (2.5 ns) Manufacturer: Manufacturer4 Serial Number: SerNum4 Asset Tag: AssetTagNum4 Part Number: PartNum4 Handle 0x0049, DMI type 20, 19 bytes. Memory Device Mapped Address Starting Address: 0x000C000 Ending Address: 0x000C6FF Range Size: 112 MB Physical Device Handle: 0x0048 Memory Array Mapped Address Handle: 0x0041 Partition Row Position: 2 Interleave Position: 2 Interleaved Data Depth: 2 As you can see, the last 1Gb bank is only used at 11%. Any ideas on why I can't see all 4Gb? -- 21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18 - Lic. Martín Marqués | SELECT 'mmarques' || Centro de Telemática| '@' || 'unl.edu.ar'; Universidad Nacional| DBA, Programador, del Litoral | Administrador - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 4gb ram shows as 3.3gb
Nick wrote: Martin Marques wrote: The thing is, and I'm still trying to find a solution for one of our servers, the the memory addresses from 4Gb down are used for PCI, VGA, onboard stuff, and even though the memory isn't used, the addresses are, and so they are not passed to the OS. Can you send some info on the motherboard you have? It's a Dell Poweredge 1950 straight out of the box... What chipset does the motherboard have? Asus, Intel, MSI, etc? -- 21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18 - Lic. Martín Marqués | SELECT 'mmarques' || Centro de Telemática| '@' || 'unl.edu.ar'; Universidad Nacional| DBA, Programador, del Litoral | Administrador - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: Cricket
centos a écrit : Thank you Ugo, But I was asking about Cricket and not Cacti. please let me know if you have installed Cricket as well. Just here : http://dag.wieers.com/rpm/packages/cricket/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: 4gb ram shows as 3.3gb
Scott Silva wrote: Martin Marques spake the following on 7/26/2007 1:46 PM: Tim Verhoeven wrote: Another option is that you try to boot with the PAE kernel. That kernel is made to go over the 4GB boundary on 32bit. Didn't work for me. :-( [EMAIL PROTECTED] ~]# free total used free sharedbuffers cached Mem: 323723618659561371280 0 2635881279996 -/+ buffers/cache: 3223722914864 Swap:0 0 0 [EMAIL PROTECTED] ~]# uname -a Linux newweb.matematica 2.6.18-8.1.8.el5PAE #1 SMP Tue Jul 10 07:50:36 EDT 2007 i686 i686 i386 GNU/Linux The board has to support it. It has to be able to map the underlying memory to a higher address space, and the bios has to notify the OS where this is. Are you using a desktop board as opposed to a server board? Yes: Handle 0x, DMI type 0, 20 bytes. BIOS Information Vendor: Intel Corp. Version: EV91510A.86A.0482.2006.0222.2350 -- 21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18 - Lic. Martín Marqués | SELECT 'mmarques' || Centro de Telemática| '@' || 'unl.edu.ar'; Universidad Nacional| DBA, Programador, del Litoral | Administrador - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: 4gb ram shows as 3.3gb
Scott Silva escribió: Martin Marques spake the following on 7/27/2007 6:43 AM: Yes: Handle 0x, DMI type 0, 20 bytes. BIOS Information Vendor: Intel Corp. Version: EV91510A.86A.0482.2006.0222.2350 Many desktop boards are designed for Windows, and linux isn't quite up to speed on them. You usually need to run Cutting edge distros like Fedora on desktop boards to get the most out of them. That board is 2 years old... -- select 'mmarques' || '@' || 'unl.edu.ar' AS email; - Martín Marqués | Programador, DBA Centro de Telemática| Administrador Universidad Nacional del Litoral - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] incredible heartbeat 2.X depencies
# activating extras repo # issuing "yum install heartbeat" # got : (...tons of depedencies resolution...) ttmkfdir-3.0.9-20.el4.i38 100% |=| 6.6 kB00:00 ---> Package ttmkfdir.i386 0:3.0.9-20.el4 set to be updated --> Running transaction check Dependencies Resolved = Package Arch Version RepositorySize = Installing: heartbeat i386 2.0.7-1.c4 extras1.8 M Installing for dependencies: atk i386 1.8.0-2 base 170 k chkfontpath i386 1.10.0-2 base 13 k cpp i386 3.4.6-8 base 1.6 M curli386 7.12.1-11.el4base 230 k fontconfig i386 2.2.3-7.centos4 base 117 k fonts-xorg-base noarch 6.8.2-1.EL base 7.3 M gnutls i386 1.0.20-3.2.3 base 259 k gtk2i386 2.4.13-22base 4.3 M heartbeat-pils i386 2.0.7-1.c4 extras124 k heartbeat-stonith i386 2.0.7-1.c4 extras223 k libglade2 i386 2.4.0-5 base 91 k libidn i386 0.5.6-1 base 169 k libjpeg i386 6b-33base 127 k libtiff i386 3.6.1-12 base 257 k nx i386 1.5.0-1.centos4 extras2.5 M pango i386 1.6.0-9 base 271 k pygtk2 i386 2.4.0-1 base 639 k switchdesk noarch 4.0.6-3 base 13 k ttmkfdiri386 3.0.9-20.el4 base 44 k xinitrc noarch 4.0.14.3-1 base 26 k xorg-x11i386 6.8.2-1.EL.18base 13 M xorg-x11-Mesa-libGL i386 6.8.2-1.EL.18base 383 k xorg-x11-Mesa-libGLUi386 6.8.2-1.EL.18base 448 k xorg-x11-font-utils i386 6.8.2-1.EL.18base 307 k xorg-x11-libs i386 6.8.2-1.EL.18base 2.7 M xorg-x11-tools i386 6.8.2-1.EL.18base 516 k xorg-x11-xauth i386 6.8.2-1.EL.18base 284 k xorg-x11-xfsi386 6.8.2-1.EL.18base 319 k Transaction Summary = Install 29 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 38 M 38Mb and xorg-x11 seems a bit too much for a "simple" heartbeat, no ? -- Martin Hamant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] incredible heartbeat 2.X depencies
Le Mon, 30 Jul 2007 09:54:29 -0400 "Ross S. W. Walker" <[EMAIL PROTECTED]> écrivait: > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Martin Hamant > > Sent: Monday, July 30, 2007 9:29 AM > > To: centos@centos.org > > Subject: [CentOS] incredible heartbeat 2.X depencies > > > > # activating extras repo > > # issuing "yum install heartbeat" > > > > # got : > > > > (...tons of depedencies resolution...) > > > Yes, heartbeat package currently includes gui and cli parts which > makes it a thick install... :-( > > Hopefully in the future they will split it into 2. > > -Ross Thanks both of you Ross & Johnny, For instance I use 1.2.23cvs, and i was planning to upgrade :) I'll wait for 2.1.2 ! -- Martin Hamant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] kmod-drbd-smp (2.6.9-55.0.2.EL) has unknown symbols (kmod-drbd not).
Hi ! Not very blocking because the smp module loads perfectly. # yum --exclude=kmod-drbd*\plus\* install kmod-drbd Setting up Install Process Setting up repositories Reading repository metadata in from local files Excluding Packages in global exclude list Finished Reducing CentOS-4 - Plus to included packages only Finished Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package kmod-drbd.i686 0:0.7.24-1.2.6.9_55.0.2.EL set to be updated --> Running transaction check Dependencies Resolved = Package Arch Version RepositorySize = Installing: kmod-drbd i686 0.7.24-1.2.6.9_55.0.2.EL extras 472 k Transaction Summary = Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 472 k Is this ok [y/N]: y Downloading Packages: Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: kmod-drbd# [1/1] WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown symbol _spin_unlock_irq WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown symbol _spin_unlock WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown symbol _spin_unlock_irqrestore WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown symbol _spin_lock_irq WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown symbol del_timer_sync WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown symbol _spin_lock_irqsave WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown symbol _spin_lock Installed: kmod-drbd.i686 0:0.7.24-1.2.6.9_55.0.2.EL Complete! # uname -a Linux *** 2.6.9-55.0.2.EL #1 Tue Jun 26 14:08:18 EDT 2007 i686 i686 i386 GNU/Linux # modprobe drbd FATAL: Error inserting drbd (/lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko): Invalid module format (PS: I think something really needs to be done with the --exclude / plus issue) -- Martin Hamant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] kmod-drbd (2.6.9-55.0.2.EL) has unknown symbols (kmod-drbd-smp not).
/!\ sorry, inverted smp and no-smp in the subject ! Le Mon, 30 Jul 2007 16:32:32 +0200 Martin Hamant <[EMAIL PROTECTED]> écrivait: > Hi ! > > Not very blocking because the smp module loads perfectly. > > # yum --exclude=kmod-drbd*\plus\* install kmod-drbd > Setting up Install Process > Setting up repositories > Reading repository metadata in from local files > Excluding Packages in global exclude list > Finished > Reducing CentOS-4 - Plus to included packages only > Finished > Parsing package install arguments > Resolving Dependencies > --> Populating transaction set with selected packages. Please wait. > ---> Package kmod-drbd.i686 0:0.7.24-1.2.6.9_55.0.2.EL set to be > updated --> Running transaction check > > Dependencies Resolved > > = > Package Arch Version > RepositorySize > = > Installing: kmod-drbd i686 > 0.7.24-1.2.6.9_55.0.2.EL extras472 k > > Transaction Summary > = > Install 1 Package(s) > Update 0 Package(s) > Remove 0 Package(s) > Total download size: 472 k > Is this ok [y/N]: y > Downloading Packages: > Running Transaction Test > Finished Transaction Test > Transaction Test Succeeded > Running Transaction > Installing: kmod-drbd# > [1/1] WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs > unknown symbol _spin_unlock_irq > WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown > symbol _spin_unlock > WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown > symbol _spin_unlock_irqrestore > WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown > symbol _spin_lock_irq > WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown > symbol del_timer_sync > WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown > symbol _spin_lock_irqsave > WARNING: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko needs unknown > symbol _spin_lock > > Installed: kmod-drbd.i686 0:0.7.24-1.2.6.9_55.0.2.EL > Complete! > > # uname -a > Linux *** 2.6.9-55.0.2.EL #1 Tue Jun 26 14:08:18 EDT 2007 i686 i686 > i386 GNU/Linux > > # modprobe drbd > FATAL: Error inserting drbd > (/lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko): Invalid module format > > > (PS: I think something really needs to be done with the --exclude / > plus issue) > -- Martin Hamant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problem maillog
Le Mon, 30 Jul 2007 12:55:57 -0300 Adriano Frare <[EMAIL PROTECTED]> écrivait: > Dear Friends, > > How I restart logrotate ? > > Because file /var/log/maillog doesn't rotate log. Hello, maillog rotation is done from /etc/logrotate.d/syslog. You can take a look in it. logrotate is started each day as a cron job /etc/cron.daily/logrotate. cheers -- Martin Hamant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] kmod-drbd (2.6.9-55.0.2.EL) has unknown symbols (kmod-drbd-smp not).
Le Mon, 30 Jul 2007 10:39:38 -0700 "Akemi Yagi" <[EMAIL PROTECTED]> écrivait: > On 7/30/07, Martin Hamant <[EMAIL PROTECTED]> wrote: > > > > # uname -a > > > Linux *** 2.6.9-55.0.2.EL #1 Tue Jun 26 14:08:18 EDT 2007 i686 > > > i686 i386 GNU/Linux > > > > > > # modprobe drbd > > > FATAL: Error inserting drbd > > > (/lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko): Invalid module > > > format > > What do you see with this command? > > /sbin/modinfo /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko > Hi ! Here it is: # /sbin/modinfo /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko filename: /lib/modules/2.6.9-55.0.2.EL/extra/drbd.ko author: Philipp Reisner <[EMAIL PROTECTED]>, Lars Ellenberg <[EMAIL PROTECTED]> description:drbd - Distributed Replicated Block Device v0.7.24 license:GPL parm: use_nbd_major:DEPRECATED! use nbd device major nr (43) instead of the default 147 parm: minor_count:Maximum number of drbd devices (1-255) parm: disable_bd_claim:DONT USE! disables block device claiming vermagic: 2.6.9-55.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.4 depends: -- Martin Hamant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] kmod-drbd-smp (2.6.9-55.0.2.EL) has unknown symbols (kmod-drbd not).
Le Tue, 31 Jul 2007 05:17:08 -0500 Johnny Hughes <[EMAIL PROTECTED]> écrivait: > Martin Hamant wrote: > > Hi ! > > > > Not very blocking because the smp module loads perfectly. > > > > OK ... there was a problem with some of the drbd modules (all except > the smp ones). This problem is now fixed and the changes are syncing > to the mirrors. > > The new version is: kmod-drbd-0.7.24-2.. > > The old (broken) ones have been removed. Yes ! Thank you :) > > > (PS: I think something really needs to be done with the --exclude / > > plus issue) > > OK ... For the drbd-kmod*.plus kernels, they are now in the CentOSPlus > directory / Repository. If you are using CentOSPlus kernel, you need > to also get your module for DRBD (or XFS) from there too. > > If you are using the Base Kernel (non-Plus one) then you would get > your DRBD Modules (or XFS modules) from extras. > > This should prevent the exclude requirement to get non-Plus kernel > modules. > > SO ... if you need a module for the base kernel, it is in extras ... > if you need a module for the centosplus kernel, it is in centosplus. Sounds great. The last problem is if "plus" and "extras" repos are both activated: it occurs for centosbase/centosplus kernels the same way as for kmod-drbd... because last version is determined by the text pattern :( The centosplus repo should be activated with care... About updating drbd modules, what is the current behavior when you issue a "yum update" ? Is the new kmod-drbd is install automatically (like kernels are) ? With the precedent package you'll had to install the new one manually if you didn't want to get stuck with a new fresh default kernel without any drbd support ^^ I'm asking this because it becomes complicated between servers which have drbd modules installed, and others. "yum update" on a drbd-ready machine should not be rebooted after an kernel upgrade as long as the corresponding kmod has not been released (ie: editing grub.conf to change default entry for a while in case of a unexpected reboot). I don't know how it's possible to improve this, maybe a yum plugin which could detect any drbd modules and if it's matches with any installed kernels... what do you think ? Thanks to you :) -- Martin Hamant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] kmod-drbd-smp (2.6.9-55.0.2.EL) has unknown symbols (kmod-drbd not).
Le Tue, 31 Jul 2007 14:16:54 +0200 Martin Hamant <[EMAIL PROTECTED]> écrivait: (snip) > I don't know how it's possible to improve this, maybe a yum plugin > which could detect any drbd modules and if it's matches with > any installed kernels... what do you think ? > > Thanks to you :) > Hmm in other words, I can contribute if something started to improve the system ;) Cheers -- Martin Hamant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] kmod-drbd-smp (2.6.9-55.0.2.EL) has unknown symbols (kmod-drbd not).
Le Fri, 03 Aug 2007 14:08:32 +0200 Daniel de Kok <[EMAIL PROTECTED]> écrivait: > On Fri, 2007-08-03 at 13:49 +0200, Martin Hamant wrote: > > Le Tue, 31 Jul 2007 14:16:54 +0200 > > Martin Hamant <[EMAIL PROTECTED]> écrivait: > > > > (snip) > > > I don't know how it's possible to improve this, maybe a yum plugin > > > which could detect any drbd modules and if it's matches with > > > any installed kernels... what do you think ? > > > > > > Thanks to you :) > > > > > > > Hmm in other words, I can contribute if something started to > > improve the system ;) > > I have written a plugin to carry over modules that are kabi compatible > if no new package was found to cover for the module for a new kernel. > The latest alpha version is available from: > > http://people.centos.org/~daniel/code/yum/3.0/yum-kmodorphans/ > > Please don't use this for production machines! There are still some > glitches that need fixing, and the policy of what to handle still has > to be finalized. Thank you Daniel, I'll take a look ! -- Martin Hamant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] lm_sensors on CentOS 4.5
hello, I have problem to install lm_sensors on CentOS 4.5 (Linux 2.6.9-42.ELsmp). I am getting error message "FATAL: Module bmcsensors not found." after I enter "modprobe bmcsensors". I got advice to install http://bmcsensors-26.sourceforge.net/ into my kernel, but I don't know how to do it. Does somebody has experience how to get lm-sensors working on CentOS 4.5 ? Sincerely, Martin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] booting CentOS in rescrue mode from USB (+over network)
Hello, is there a way to boot CentOS 4.5 from USB flash key in rescue mode ? The prefered solution would be to have booting part of CentOS started by SysLinux and download the content of CD1 from a network server (HTTP), like Anaconda is able to use command "method". Best regards, Martin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] lm_sensors on CentOS 4.5
Yes, I run sensors-detect and it instructed me to load "modprobe bmcsensors", but bmcsensors is not part of the 2.6. kernel. That is why I need help how to get http://bmcsensors-26.sourceforge.net/ running. Otherwise "sensors" returns message that there are not sensors found. The advice to use IPMI from Philip Pokorny seams to be a good way to go for me. But I would still be interested to know if somebody was able to get lm-sensors running on CentOS 4.5. Martin Akemi Yagi wrote: On 8/12/07, Martin Minka <[EMAIL PROTECTED]> wrote: hello, I have problem to install lm_sensors on CentOS 4.5 (Linux 2.6.9-42.ELsmp). I am getting error message "FATAL: Module bmcsensors not found." after I enter "modprobe bmcsensors". I got advice to install http://bmcsensors-26.sourceforge.net/ into my kernel, but I don't know how to do it. Does somebody has experience how to get lm-sensors working on CentOS 4.5 ? Sincerely, Martin I am assuming you have run sensors-detect and started lm_sensors.. Akemi ___ 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] Adding Things to Rescue Mode
Brent, few days ago I opened topic "booting CentOS in rescrue mode from USB (+over network)". Yes, there is type mistake it should be "booting CentOS in rescue mode from USB (+over network)". I got very useful advice from Johnny Hudger. Please see his answer in archive. I use RIP Linux (http://www.tux.org/pub/people/kent-robotti/looplinux/rip/) for emergency situations. There is manual how to add own programs to RIP in their documentation and I was successful. Unfortunately I am not skilled enough to create mix of RIP Linux and CentOS rescue boot environment. Maybe somebody could advice how to build similar distribution based on CentOS rescue. Sincerely, Martin Minka Brent L. Bates wrote: I'd like to add a few things to rescue mode. I'm tired of having to use a floppy with hardware drivers when ever I need to go into rescue mode and there are a few other utilities that I'd like to add as well. How would I go about doing this? Any pointers to FAQ's or "How to's"? I've done some searching, but haven't found anything recent enough to be useful. Thanks for any help. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] running php4 and php5 parallel
Peter Peltonen wrote: Is it possible to run php4 and php5 parallel in Centos4 somehow? If the parallel php5 could be installed from rpm also that would be great also. Not both as apache_mod. You can use one as mod and the other one as cgi. Anyway, PHP4 will almost certainly expire next year (www.gophp5.org) -- 21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18 - Lic. Martín Marqués | SELECT 'mmarques' || Centro de Telemática| '@' || 'unl.edu.ar'; Universidad Nacional| DBA, Programador, del Litoral | Administrador - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOSplus Postfix with mysql/pgsql
Le Fri, 22 Jun 2007 10:14:08 -0500 (CDT) "Brent DiNicola" <[EMAIL PROTECTED]> écrivait: > For those curious, since the devs haven't given an answer yet to the > future of the Postfix with MySQL in CentOS Plus, here is the patch to > add the MySQL support back into Postfix that I used in case anyone > needs it. I might have messed up the naming but I tried to pick > something relevant that wouldn't be later confused with what they > would do too much. > About that, is the following is wanted ? (centosplus activated) # yum --disablerepo=base list postfix Setting up repositories Reading repository metadata in from local files Available Packages postfix.i386 2:2.2.10-1.RHEL4.2.mys centosplus # yum list postfix Setting up repositories Reading repository metadata in from local files Available Packages postfix.i386 2:2.2.10-1.1.el4 base So with that settings, if you don't pass "--disablerepo=base", your postfix instance will be replaced with the one in "base" repo with no mysql support :/ What's the "official" way to install postfix with mysql support and be sure that next time it will be updated with a new version of postfix with mysql support ? Ty ;) -- Martin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOSplus Postfix with mysql/pgsql
Le Wed, 27 Jun 2007 10:07:55 +0200 Martin Hamant <[EMAIL PROTECTED]> écrivait: > Le Fri, 22 Jun 2007 10:14:08 -0500 (CDT) > "Brent DiNicola" <[EMAIL PROTECTED]> écrivait: > > > For those curious, since the devs haven't given an answer yet to the > > future of the Postfix with MySQL in CentOS Plus, here is the patch > > to add the MySQL support back into Postfix that I used in case > > anyone needs it. I might have messed up the naming but I tried to > > pick something relevant that wouldn't be later confused with what > > they would do too much. > > > > About that, is the following is wanted ? > > (centosplus activated) > > # yum --disablerepo=base list postfix > Setting up repositories > Reading repository metadata in from local files > Available Packages > postfix.i386 2:2.2.10-1.RHEL4.2.mys > centosplus # yum list postfix > Setting up repositories > Reading repository metadata in from local files > Available Packages > postfix.i386 2:2.2.10-1.1.el4 base > > > So with that settings, if you don't pass "--disablerepo=base", your > postfix instance will be replaced with the one in "base" repo with no > mysql support :/ > > What's the "official" way to install postfix with mysql support and be > sure that next time it will be updated with a new version of postfix > with mysql support ? > > Ty ;) > On another system: # yum --disablerepo=* --enablerepo=centosplus list all | grep postfix postfix.i386 2:2.1.5-4.2.RHEL4.MYSQ installed postfix-pflogsumm.i386 2:2.2.10-1.RHEL4.2.mys centosplus Result expected (on a working tested system): # yum --disablerepo=* --enablerepo=centosplus list all | grep postfix postfix.i386 2:2.1.5-4.2.RHEL4.mysq installed postfix.i386 2:2.2.10-1.RHEL4.2.mys centosplus postfix-pflogsumm.i386 2:2.2.10-1.RHEL4.2.mys centosplus Where is the "new" postfix 2.2.10 ? I cleaned up cache with "yum clean all" but no way. If I grep "postfix" in primary.xml, I can find it... I just can't understand why it's not list on yum output. md5sum of primary.xml.gz is exactly the same on each system, that's the same metadata. Help would be appreciated :/ -- Martin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] [yum] new problem with columns width output (parsing)
Le Tue, 13 Mar 2007 09:48:44 +0100 Martin Hamant <[EMAIL PROTECTED]> écrivait: > Le Mon, 12 Mar 2007 23:24:52 + > Karanbir Singh <[EMAIL PROTECTED]> écrivait: > > > Martin Hamant wrote: > > > Hi, > > > > > > I have a package named like this : > > > > > > httpd.i386 2.0.59-1.el4s1.5.el4.c > > > centosplus > > > > > > As you see, version is too long for the column width. > > > I tried to export COLUMNS with a higher value : no change. > > > > > > Any idea ? > > > > > > > What are yo trying to do ? for a visual scan it should not make much > > of a difference, and if you are trying to script things for yum - > > use the yum api to write things. > > Hi, > > Thank you for your answer, > I fixed my parsing problem, httpd version number was not concerned. > > In fact that was a problem with a package name returned by the > Jpackage repository (java-1.5.0-sun-compat), as i was excluding to > expect any version number in a package name... my regexp didn't like > it. obviously, i don't like java ... > > Thx :) > This time, this is really a problem with the width of the version string, take a look: (centos 3!) httpd.i386 2.0.52-32.2.ent.centos update httpd-suexec.i3862.0.52-32.2.ent.centos update kernel.i686 2.6.9-55.0.2.ELupdate kernel-smp.i686 2.6.9-55.0.2.ELupdate krb5-libs.i386 1.3.4-49 update krb5-workstation.i3861.3.4-49 update mod_ssl.i386 1:2.0.52-32.2.ent.cent update In my script, I have to get the full version string , how can I do ? Thank you ! -- Martin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOSplus Postfix with mysql/pgsql
Le Wed, 27 Jun 2007 10:43:19 +0200 Martin Hamant <[EMAIL PROTECTED]> écrivait: > > On another system: > # yum --disablerepo=* --enablerepo=centosplus list all | grep postfix > postfix.i386 2:2.1.5-4.2.RHEL4.MYSQ > installed postfix-pflogsumm.i386 > 2:2.2.10-1.RHEL4.2.mys centosplus > > Result expected (on a working tested system): > # yum --disablerepo=* --enablerepo=centosplus list all | grep postfix > postfix.i386 2:2.1.5-4.2.RHEL4.mysq > installed postfix.i386 > 2:2.2.10-1.RHEL4.2.mys centosplus > postfix-pflogsumm.i386 2:2.2.10-1.RHEL4.2.mys > centosplus > > > Where is the "new" postfix 2.2.10 ? > I cleaned up cache with "yum clean all" but no way. > > If I grep "postfix" in primary.xml, I can find it... I just can't > understand why it's not list on yum output. > > md5sum of primary.xml.gz is exactly the same on each system, that's > the same metadata. Help would be appreciated :/ > > Ok ... a coworker added an exclude=postfix in /etc/yum.conf (I found the issue using yum debug options). We will not modify yum.conf directly anymore ! :) Sorrr -- Martin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: [CentOS-announce] CESA-2007:0488 Important CentOS 4 i386 kernel - security update
Hello Johnny, I'm looking for the corresponding kernel-module-drbd package to be able to update some kernel's :) If you have time, of course. Le Tue, 26 Jun 2007 18:50:46 -0500 Johnny Hughes <[EMAIL PROTECTED]> écrivait: > CentOS Errata and Security Advisory 2007:0488 > > https://rhn.redhat.com/errata/RHSA-2007-0488.html > > The following updated files have been uploaded and are currently > syncing to the mirrors: > > i386: > kernel-2.6.9-55.0.2.EL.i586.rpm > kernel-2.6.9-55.0.2.EL.i686.rpm > kernel-devel-2.6.9-55.0.2.EL.i586.rpm > kernel-devel-2.6.9-55.0.2.EL.i686.rpm > kernel-doc-2.6.9-55.0.2.EL.noarch.rpm > kernel-hugemem-2.6.9-55.0.2.EL.i686.rpm > kernel-hugemem-devel-2.6.9-55.0.2.EL.i686.rpm > kernel-smp-2.6.9-55.0.2.EL.i586.rpm > kernel-smp-2.6.9-55.0.2.EL.i686.rpm > kernel-smp-devel-2.6.9-55.0.2.EL.i586.rpm > kernel-smp-devel-2.6.9-55.0.2.EL.i686.rpm > kernel-xenU-2.6.9-55.0.2.EL.i686.rpm > kernel-xenU-devel-2.6.9-55.0.2.EL.i686.rpm > > src: > kernel-2.6.9-55.0.2.EL.src.rpm -- Martin Hamant ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 5.5 Java Process Death
Hi all, I'm running CentOS 5.5 Final, Java version "1.6.0_17" OpenJDK Runtime Environment (IcedTea6 1.7.5) (rhel-1.16.b17.el5-x86_64) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) installed via Yum. We have a java application, packaged as a jar, running on our servers which, periodically, crawls RSS feeds and writes the articles to a database. Randomly, and seemingly without cause, these processes will die, not through the application exiting, or due to my killing it, but due to something that seems to kill without leaving a trace. My first step in diagnosing this was to log all output from the application, as well as sending stderr and stdout to a logfile, but none of these output logs contain anything that would indicate why these processes have died. My next instinct was the kernel-level out of memory killer, but the system is never low on memory (8GB installed, routinely showing 6.5GB in free cache) and usually has somewhere between 1GB and 3GB of memory free at any given point in time. I next thought the system could be hitting bad memory, segfaulting, and killing the process because of that, but I've mirrored the system on an identically configured server in a different datacentre, and the processes are still being killed. The java virtual machine does trigger JVM core dumps on exit, so the process is being killed by something, but the JVM dumps don't have any useful information. My question is: does anyone know what might be causing it, and where I should start looking to diagnose the cause? Thanks. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.5 Java Process Death
Hi Mark, Thanks, I didn't know about the strace command, so that's useful. Fortunately, this is on a dedicated server, so there's a fair amount of free disk. I've also remembered that one server was previously running CentOS 5.4, so I'm rebuilding the mirror server with 5.4 to see if that made a difference. Thanks for the help. Martin On 10 February 2011 18:58, wrote: > Martin Hewitt wrote: >> Hi all, >> >> I'm running CentOS 5.5 Final, Java version "1.6.0_17" OpenJDK Runtime >> Environment (IcedTea6 1.7.5) (rhel-1.16.b17.el5-x86_64) OpenJDK 64-Bit >> Server VM (build 14.0-b16, mixed mode) installed via Yum. >> >> We have a java application, packaged as a jar, running on our servers >> which, periodically, crawls RSS feeds and writes the articles to a >> database. >> >> Randomly, and seemingly without cause, these processes will die, not >> through the application exiting, or due to my killing it, but due to >> something that seems to kill without leaving a trace. > > The hard (but correct) way would be to put try {} catch in the code, and > work your way down. Trying to debug it using a debugger might be real > problematical, if you can't repeatably provoke it. I *suppose* you could > attach strace to it, and dump the o/p into a file (on a filesystem with a > *lot* of disk space) > > mark > > ___ > 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.5 Java Process Death
Hi Mark, I've exhausted the Java avenues for debugging this issue, but, since my last email, the process I pointed strace at has been killed, but I'm afraid the rather raw format of the strace file is lost on me. The last six lines of the ouput file are: clone(child_stack=0x4202a250, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x4202a9d0, tls=0x4202a940, child_tidptr=0x4202a9d0) = 23241 futex(0x4202a9d0, FUTEX_WAIT, 23241, NULL) = -1 EINTR (Interrupted system call) --- SIGHUP (Hangup) @ 0 (0) --- futex(0x2ab0b620a000, FUTEX_WAKE_PRIVATE, 1) = 1 rt_sigreturn(0x2ab0b620a000)= -1 EINTR (Interrupted system call) futex(0x4202a9d0, FUTEX_WAIT, 23241, NULL The SIGHUP is new information, and appears to be what's causing the java app to exit. Surely Java should be aware of the Interrupted system call? There are no other signals in the output file, and the only EINTRs are in the passage above. Looks like I need to delve back into Java... Martin On 10 February 2011 19:37, wrote: > Hey, Martin, > > Martin Hewitt wrote: >> >> Thanks, I didn't know about the strace command, so that's useful. >> Fortunately, this is on a dedicated server, so there's a fair amount >> of free disk. > > If you can do the code changes (and the try/catch is *supposed* to be in > there, according to java style), work your way down, y'know... > > main > > ... > try { > First actual call to do the job > } catch > writeln error; > > And if it fails there, then you know; otherwise, go to the next main call, > sorry, "invocation of a method" > > Then again, this time in each of the main function calls under that, and > step down until you find the function it's dying in. That'll give you a > much better handle on what's happening. > >> Thanks for the help. >> > Good luck. > > mark >> Martin >> >> On 10 February 2011 18:58, wrote: >>> Martin Hewitt wrote: >>>> Hi all, >>>> >>>> I'm running CentOS 5.5 Final, Java version "1.6.0_17" OpenJDK Runtime >>>> Environment (IcedTea6 1.7.5) (rhel-1.16.b17.el5-x86_64) OpenJDK 64-Bit >>>> Server VM (build 14.0-b16, mixed mode) installed via Yum. >>>> >>>> We have a java application, packaged as a jar, running on our servers >>>> which, periodically, crawls RSS feeds and writes the articles to a >>>> database. >>>> >>>> Randomly, and seemingly without cause, these processes will die, not >>>> through the application exiting, or due to my killing it, but due to >>>> something that seems to kill without leaving a trace. >>> >>> The hard (but correct) way would be to put try {} catch in the code, and >>> work your way down. Trying to debug it using a debugger might be real >>> problematical, if you can't repeatably provoke it. I *suppose* you could >>> attach strace to it, and dump the o/p into a file (on a filesystem with >>> a >>> *lot* of disk space) >>> >>> mark >>> >>> ___ >>> 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 > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.5 Java Process Death
Hi Keith, Interesting idea, I've built the Sun SDK on one server, and left the yum-installed version on the other, and have started the same java application on both servers with strace, so I'll see if there's any difference. Thanks for all the help, Martin On 11 Feb 2011, at 07:05, Keith Roberts wrote: > On Fri, 11 Feb 2011, Martin Hewitt wrote: > >> To: CentOS mailing list >> From: Martin Hewitt >> Subject: Re: [CentOS] CentOS 5.5 Java Process Death >> Hi Mark, >> >> I've exhausted the Java avenues for debugging this issue, but, since >> my last email, the process I pointed strace at has been killed, but >> I'm afraid the rather raw format of the strace file is lost on me. >> The last six lines of the ouput file are: > > Do you have different versions of JAVA from different vendors installed? I > don't use Iced Tea as it's not always 100% compatible. Try to use just *one* > vendor's version of JAVA as your active JAVA installation. I only use Sun's > SDK as I have noticed problems using other vendors versions. > > HTH > > Keith Roberts > > >> clone(child_stack=0x4202a250, >> flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, >> parent_tidptr=0x4202a9d0, tls=0x4202a940, child_tidptr=0x4202a9d0) = >> 23241 >> futex(0x4202a9d0, FUTEX_WAIT, 23241, NULL) = -1 EINTR (Interrupted system >> call) >> --- SIGHUP (Hangup) @ 0 (0) --- >> futex(0x2ab0b620a000, FUTEX_WAKE_PRIVATE, 1) = 1 >> rt_sigreturn(0x2ab0b620a000)= -1 EINTR (Interrupted system call) >> futex(0x4202a9d0, FUTEX_WAIT, 23241, NULL >> >> The SIGHUP is new information, and appears to be what's causing the >> java app to exit. Surely Java should be aware of the Interrupted >> system call? >> >> There are no other signals in the output file, and the only EINTRs are >> in the passage above. >> >> Looks like I need to delve back into Java... >> >> Martin >> >> On 10 February 2011 19:37, wrote: >>> Hey, Martin, >>> >>> Martin Hewitt wrote: >>>> >>>> Thanks, I didn't know about the strace command, so that's useful. >>>> Fortunately, this is on a dedicated server, so there's a fair amount >>>> of free disk. >>> >>> If you can do the code changes (and the try/catch is *supposed* to be in >>> there, according to java style), work your way down, y'know... >>> >>> main >>> >>> ... >>> try { >>> First actual call to do the job >>> } catch >>> writeln error; >>> >>> And if it fails there, then you know; otherwise, go to the next main call, >>> sorry, "invocation of a method" >>> >>> Then again, this time in each of the main function calls under that, and >>> step down until you find the function it's dying in. That'll give you a >>> much better handle on what's happening. >>> >>>> Thanks for the help. >>>> >>> Good luck. >>> >>>mark >>>> Martin >>>> >>>> On 10 February 2011 18:58, wrote: >>>>> Martin Hewitt wrote: >>>>>> Hi all, >>>>>> >>>>>> I'm running CentOS 5.5 Final, Java version "1.6.0_17" OpenJDK Runtime >>>>>> Environment (IcedTea6 1.7.5) (rhel-1.16.b17.el5-x86_64) OpenJDK 64-Bit >>>>>> Server VM (build 14.0-b16, mixed mode) installed via Yum. >>>>>> >>>>>> We have a java application, packaged as a jar, running on our servers >>>>>> which, periodically, crawls RSS feeds and writes the articles to a >>>>>> database. >>>>>> >>>>>> Randomly, and seemingly without cause, these processes will die, not >>>>>> through the application exiting, or due to my killing it, but due to >>>>>> something that seems to kill without leaving a trace. >>>>> >>>>> The hard (but correct) way would be to put try {} catch in the code, and >>>>> work your way down. Trying to debug it using a debugger might be real >>>>> problematical, if you can't repeatably provoke it. I *suppose* you could >>>>> attach strace to it, and dump the o/p into a file (on
Re: [CentOS] CentOS 5.5 Java Process Death
Hi Mark, Over the weekend I've been testing the environment under various circumstances, and it seems that the kill issue is not confined to one app - it's afflicting all jars I've packaged with Eclipse. I added in as many try...catch blocks as I could and got no useful output, but it occurred to me that the Eclipse loader is adding in another level of code between my application and the kernel. Due to the fact that Eclipse uses a jar-in-jar loader to package in classpath libraries, I'm going to be experimenting today with a different jar packager and with executing the application without jar packaging. Martin On 11 February 2011 14:13, wrote: > Martin Hewitt wrote: >> Hi Mark, >> >> I've exhausted the Java avenues for debugging this issue, but, since >> my last email, the process I pointed strace at has been killed, but >> I'm afraid the rather raw format of the strace file is lost on me. >> The last six lines of the ouput file are: >> >> clone(child_stack=0x4202a250, >> > At a guess, looks like it's creating a child process. > >> futex(0x4202a9d0, FUTEX_WAIT, 23241, NULL) = -1 EINTR (Interrupted system >> call) >> --- SIGHUP (Hangup) @ 0 (0) --- >> futex(0x2ab0b620a000, FUTEX_WAKE_PRIVATE, 1) = 1 >> rt_sigreturn(0x2ab0b620a000) = -1 EINTR (Interrupted system >> call) >> futex(0x4202a9d0, FUTEX_WAIT, 23241, NULL >> >> The SIGHUP is new information, and appears to be what's causing the >> java app to exit. Surely Java should be aware of the Interrupted >> system call? >> >> There are no other signals in the output file, and the only EINTRs are >> in the passage above. >> > Does the exit status of 129 say anything other than SIGHUP? > >> Looks like I need to delve back into Java... >> > Yeah. I think you need to try what I was suggesting: start wrapping > function calls in try/catch, and work your way down (when you find the one > it fails in, then go into that function, er, method, and wrap the calls in > there (and/or even put a writeln in a few choice spots, until you find the > exact function the SIGHUP (or whatever) is happening in. > > mark "why, yes, I *was* a developer longer than I've been an admin" > >> Martin >> >> On 10 February 2011 19:37, wrote: >>> Hey, Martin, >>> >>> Martin Hewitt wrote: >>>> >>>> Thanks, I didn't know about the strace command, so that's useful. >>>> Fortunately, this is on a dedicated server, so there's a fair amount >>>> of free disk. >>> >>> If you can do the code changes (and the try/catch is *supposed* to be in >>> there, according to java style), work your way down, y'know... >>> >>> main >>> >>> ... >>> try { >>> First actual call to do the job >>> } catch >>> writeln error; >>> >>> And if it fails there, then you know; otherwise, go to the next main >>> call, >>> sorry, "invocation of a method" >>> >>> Then again, this time in each of the main function calls under that, and >>> step down until you find the function it's dying in. That'll give you a >>> much better handle on what's happening. >>> >>>> Thanks for the help. >>>> >>> Good luck. >>> >>> mark >>>> Martin >>>> >>>> On 10 February 2011 18:58, wrote: >>>>> Martin Hewitt wrote: >>>>>> Hi all, >>>>>> >>>>>> I'm running CentOS 5.5 Final, Java version "1.6.0_17" OpenJDK Runtime >>>>>> Environment (IcedTea6 1.7.5) (rhel-1.16.b17.el5-x86_64) OpenJDK >>>>>> 64-Bit >>>>>> Server VM (build 14.0-b16, mixed mode) installed via Yum. >>>>>> >>>>>> We have a java application, packaged as a jar, running on our servers >>>>>> which, periodically, crawls RSS feeds and writes the articles to a >>>>>> database. >>>>>> >>>>>> Randomly, and seemingly without cause, these processes will die, not >>>>>> through the application exiting, or due to my killing it, but due to >>>>>> something that seems to kill without leaving a trace. >>>>> >>>>> The hard (but correct) way would be to put try {} catch in the code, >>>>> and >>>>> work your way down. Trying to debug it using a debugger might be real >
Re: [CentOS] CentOS 5.5 Java Process Death
Hi Mathieu, > Can you please give more details about this "additional" code? How did > you find out? When I package a "Runnable JAR" using the Eclipse Export wizard, in the manifest file, the main-class is given as org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader, which I presume is a little bit of code to redirect the main method to the main method of my actual application. This is the "extra layer" I was referring to. > Do you mean that the application is running in an OSGi runtime? > Can you please give a bit more details about the architecture and > deployment of your application? The architecture is quite simple - the primary test case I'm using is a http request forwarder but I'm keeping it idle to monitor its state. It sets up an HTTP server on port 8080 and listens for requests that match a certain domain, and forwards them on. As I said - no requests are being passed through it while it's in this sandboxed environment. It is a headless application, executed as follows: > java -jar /path/to/my/application.jar > out.log 2&>1 or, in the strace environment: > strace -o strace.out.log java -jar /path/to/my/application.jar > out.log 2&>1 This app is running on a server, but it's just plain Java code, using Jetty as the HTTP server, and no frameworks. Martin On 14 February 2011 11:36, Mathieu Baudier wrote: >> I added in as many try...catch blocks as I could and got no useful >> output, but it occurred to me that the Eclipse loader is adding in >> another level of code between my application and the kernel. > > Can you please give more details about this "additional" code? How did > you find out? > > Do you mean that the application is running in an OSGi runtime? > Can you please give a bit more details about the architecture and > deployment of your application? > > Is it a headless application or with an Eclipse UI? > > I have had similar issues recently with the OpenJDK shipped in CentOS, > and if your application is based on OSGi I may be able to help you > analyze further. > ___ > 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.5 Java Process Death
Hi Mathieu, On 14 Feb 2011, at 12:17, Mathieu Baudier wrote: >> When I package a "Runnable JAR" using the Eclipse Export wizard, in >> the manifest file, the main-class is given as >> org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader, which I presume >> is a little bit of code to redirect the main method to the main method >> of my actual application. This is the "extra layer" I was referring >> to. > > Ok, if I well understand, Eclipse packages a big jar containing all > your code and jar dependencies, and then uses its own classloader to > access them. Yes, this seems to be the case. > > As you suggested this is an interesting trail to follow. I already had > issues with "exotic" classloaders using OpenJdk on CentOS. > > Try indeed to do a "pure" java deployment (java -cp myjar1,myjar2,... > com.example.MyAppWithMainMethod) and see if the issue still happens. > > What was the result of your tests with Sun JRE (cf. your post from Feb 11th)? > Do you have the issue with Sun JRE as well? Yes, I tried with combinations of CentOT 5.4 and 5.5, and the yum-installed JRE and the Sun JRE, all combinations had the same problem, which again led me to believe the JAR was the problem. Martin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.5 Java Process Death
On 14 February 2011 12:17, Mathieu Baudier wrote: >> When I package a "Runnable JAR" using the Eclipse Export wizard, in >> the manifest file, the main-class is given as >> org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader, which I presume >> is a little bit of code to redirect the main method to the main method >> of my actual application. This is the "extra layer" I was referring >> to. > > Ok, if I well understand, Eclipse packages a big jar containing all > your code and jar dependencies, and then uses its own classloader to > access them. > > As you suggested this is an interesting trail to follow. I already had > issues with "exotic" classloaders using OpenJdk on CentOS. > > Try indeed to do a "pure" java deployment (java -cp myjar1,myjar2,... > com.example.MyAppWithMainMethod) and see if the issue still happens. > > What was the result of your tests with Sun JRE (cf. your post from Feb 11th)? > Do you have the issue with Sun JRE as well? > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > Hi All, I've been running our apps as purely as I can (java -cp /path/to/libs/* path.to.the.App) and they're still being send SIGHUP signals for reasons I can't understand. I've added timestamps to my strace output and it seems to come out of the blue: 19:49:07.438591 futex(0x40d889d0, FUTEX_WAIT, 29119, NULL) = -1 EINTR (Interrupted system call) 01:45:14.275055 --- SIGHUP (Hangup) @ 0 (0) --- 01:45:14.275106 futex(0x2b3f32c7a000, FUTEX_WAKE_PRIVATE, 1) = 1 01:45:14.275417 rt_sigreturn(0x2b3f32c7a000) = -1 EINTR (Interrupted system call) 01:45:14.275461 futex(0x40d889d0, FUTEX_WAIT, 29119, NULL Does anyone know why this signal would be sent? Martin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.5 Java Process Death
Hi Cameron, On 18 February 2011 04:33, Cameron Kerr wrote: > > On 17/02/2011, at 9:35 PM, Mathieu Baudier wrote: > >>> I've been running our apps as purely as I can (java -cp >>> /path/to/libs/* path.to.the.App) and they're still being send SIGHUP >>> signals for reasons I can't understand. >> > > I have only started in this thread, but your description of unexplainable > SIGHUPs tweaked my memory from long ago, whereby it turned out to be bad > memory. > > ... > > might be worth checking, stranger things have happened. > > Cheers, > Cameron Thanks, but I've got these tests running on a couple of machines of different generations, so I've ruled out the hardware as being at fault. Martin > ___ > 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.5 Java Process Death
It's strange how one can wake up and suddenly notice a pattern... Looking through the straces, and the disconnect timestamps of the SSH sessions, it seems that the processes are dying as soon as, or shortly after the SSH session is closed. My command is something along the lines of: java -cp /path/to/shared/libs/*:/path/to/class/directory/ path.to.MyApp > out.log 2>&1 & Does anyone have an idea as to why this process is closing when the SSH window that started it closes? Martin On 18 February 2011 09:47, Martin Hewitt wrote: > Hi Cameron, > > On 18 February 2011 04:33, Cameron Kerr wrote: >> >> On 17/02/2011, at 9:35 PM, Mathieu Baudier wrote: >> >>>> I've been running our apps as purely as I can (java -cp >>>> /path/to/libs/* path.to.the.App) and they're still being send SIGHUP >>>> signals for reasons I can't understand. >>> >> >> I have only started in this thread, but your description of unexplainable >> SIGHUPs tweaked my memory from long ago, whereby it turned out to be bad >> memory. >> >> ... >> >> might be worth checking, stranger things have happened. >> >> Cheers, >> Cameron > > Thanks, but I've got these tests running on a couple of machines of > different generations, so I've ruled out the hardware as being at > fault. > > Martin > >> ___ >> 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.5 Java Process Death
On 18 February 2011 09:49, Michael Gliwinski wrote: > On Friday 18 Feb 2011 09:53:39 Martin Hewitt wrote: >> My command is something along the lines of: >> >> java -cp /path/to/shared/libs/*:/path/to/class/directory/ >> path.to.MyApp > out.log 2>&1 & >> >> Does anyone have an idea as to why this process is closing when the >> SSH window that started it closes? > > Try adding 'nohup' before 'java'. Closing SSH session closes the shell which > sends HUP to its children. I've just discovered this command, and have added it to the invocation. > > But, it is not your main problem is it? I mean the app wasn't always started > manually from an interactive shell? > You know, I've been debugging this for so long that I just can't remember. The processes are either started manually, or from a web trigger, which could cause the same behaviour if/when the web server worker thread is detroyed or renewed. > > -- > Michael Gliwinski > Henderson Group Information Services > 9-11 Hightown Avenue, Newtownabby, BT36 4RT > Phone: 028 9034 3319 > > ** > The information in this email is confidential and may be legally privileged. > It is intended solely for the addressee and access to the email by anyone > else is unauthorised. > If you are not the intended recipient, any disclosure, copying, distribution > or any action taken or omitted to be taken in reliance on it, is prohibited > and may be unlawful. > When addressed to our clients, any opinions or advice contained in this > e-mail are subject to the terms and conditions expressed in the governing > client engagement leter or contract. > If you have received this email in error please notify > supp...@henderson-group.com > > John Henderson (Holdings) Ltd > Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern > Ireland, BT36 4RT. > Registered in Northern Ireland > Registration Number NI010588 > Vat No.: 814 6399 12 > * > > ___ > 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.5 Java Process Death
After 3 days of continual operation ( I barely managed 9hrs before ) it seems I have narrowed this down to the saddeningly basic cause of the process being sent the SIGHUP signal when its owner process dies. Using the nohup prefix solves the problem. Thanks for all the help on this everyone! Martin On 19 February 2011 02:18, Anthony wrote: > On 18/02/11 20:49, Michael Gliwinski wrote: >> >> Try adding 'nohup' before 'java'. Closing SSH session closes the shell which >> sends HUP to its children. > I religiously use 'screen' when logging in remotely to do any work. Not > only has saved me from interrupted work the connection breaks, but it is > also saves me from having to remember to use 'nohup' before starting any > Jobs! > > Ciao, > Ak. > > ___ > 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] interview request for ppl who have Shockwave/.Firefox working
Hi, maybe this is not really helpful for you. But maybe you want try fedora linux for websurfing. Its also RHEL based. I don't know why you need a webbrowser on an enterprise linux. For me is links or lynks enough on CentOS ;-) Best regards, -Ursprüngliche Nachricht- Von: centos-boun...@centos.org [mailto:centos-boun...@centos.org] Im Auftrag von ken Gesendet: Montag, 4. April 2011 14:10 An: CentOS mailing list Betreff: Re: [CentOS] interview request for ppl who have Shockwave/.Firefox working On 04/03/2011 08:06 PM Yves Bellefeuille wrote: > On Sunday 03 April 2011 18:41, ken wrote: > >> For a long time now I've wanted to be able to watch videos. I've >> done the "try this!" and "try that!" method and it hasn't worked >> well. So I'm wondering if anyone running CentOS 5.5 has Shockwave on >> Firefox working. > > Are you perhaps confusing Shockwave and Flash? Most videos on the Web > are in Flash format. Simply install flash-plugin, available on > RPMForge, http://rpmrepo.org/RPMforge Yves, What does your "about:plugins" page say? (For explication, see the about:plugins subthread.) Or do you have some other diagnostic which indicates these are not the same? Thanks. ___ 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] disk I/O problems and Solutions
Raid10 should be better on your writes. Random reads and writes are the most important for a db. For random io the more spindles(disks) you have the better. I would use sas over sata if possible. How big is your database? If it is small you may be able to put it on a few solid state drives there really good for random io. I don't know of a website, but one would be nice. -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Alan McKay Sent: Friday, October 09, 2009 9:45 AM To: Alan McKay Subject: [CentOS] disk I/O problems and Solutions Hey folks, CentOS / PostgreSQL shop over here. I'm hitting 3 of my favorite lists with this, so here's hoping that the BCC trick is the right way to do it :-) We've just discovered thanks to a new Munin plugin http://blogs.amd.co.at/robe/2008/12/graphing-linux-disk-io-statistics-wi th-munin.html that our production DB is completely maxing out in I/O for about a 3 hour stretch from 6am til 9am This is "device utilization" as per the last graph at the above link. Load went down for a while but is now between 70% and 95% sustained. We've only had this plugin going for less than a day so I don't really have any more data going back further. But we've suspected a disk issue for some time - just have not been able to prove it. Our system IBM 3650 - quad 2Ghz e5405 Xeon 8K SAS RAID Controller 6 x 300G 15K/RPM SAS Drives /dev/sda - 2 drives configured as a RAID 1 for 300G for the OS /dev/sdb - 3 drives configured as RAID5 for 600G for the DB 1 drive as a global hot spare /dev/sdb is the one that is maxing out. We need to have a very serious look at fixing this situation. But we don't have the money to be experimenting with solutions that won't solve our problem. And our budget is fairly limited. Is there a public library somewhere of disk subsystems and their performance figures? Done with some semblance of a standard benchmark? One benchmark I am partial to is this one : http://wiki.postgresql.org/wiki/PgCon_2009/Greg_Smith_Hardware_Benchmark ing_notes#dd_test One thing I am thinking of in the immediate term is taking the RAID5 + hot spare and converting it to RAID10 with the same amount of storage. Will that perform much better? In general we are planning to move away from RAID5 toward RAID10. We also have on order an external IBM array (don't have the exact name on hand but model number was 3000) with 12 drive bays. We ordered it with just 4 x SATAII drives, and were going to put it on a different system as a RAID10. These are just 7200 RPM drives - the goal was cheaper storage because the SAS drives are about twice as much per drive, and it is only a 300G drive versus the 1T SATA2 drives. IIRC the SATA2 drives are about $200 each and the SAS 300G drives about $500 each. So I have 2 thoughts with this 12 disk array. 1 is to fill it up with 12 x cheap SATA2 drives and hope that even though the spin-rate is a lot slower, that the fact that it has more drives will make it perform better. But somehow I am doubtful about that. The other thought is to bite the bullet and fill it up with 300G SAS drives. any thoughts here? recommendations on what to do with a tight budget? It could be the answer is that I just have to go back to the bean counters and tell them we have no choice but to start spending some real money. But on what? And how do I prove that this is the only choice? -- "Don't eat anything you've ever seen advertised on TV" - Michael Pollan, author of "In Defense of Food" ___ 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] ClamAV help needed
Hi Anne, I have many servers running clamav, simply use the dag repos http://dag.wieers.com/rpm/ and install it via yum "yum install clamav clamd" then run freshclam, thats it. I presume your configuration is not properly done. -- Cualquier duda o consulta estoy a su disposicion. Atentamente / Sincerely MARTIN GARCIA Consultor Linux y redes Nettix Peru EIRL telf: +(511)9-9735-4848 <http://www.nettix.com.pe> mailto:[EMAIL PROTECTED] Anne Wilson wrote: > ClamAV is installed on my CentOS box. I edited the conf file and assumed all > is well. Clearly it isn't. > > Every day I see in logwatch that my signatures are updated, and the database > notified, but if I try to scan a file manually it tells me that my signatures > are 55 days old. > > I tried looking at a how-to, in the hope of identifying the problem, but it is > hopelessly out of date, and I reached the stage where it seemed that > following it any further risked my installation. > > Can someone please give me a quick run-down of the things I should check. > Clearly freshclam is running, but that's about all I know for certain. > > Thanks > > Anne > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > > > > > No virus found in this incoming message. > Checked by AVG. > Version: 8.0.100 / Virus Database: 270.3.0/1505 - Release Date: 6/16/2008 7:20 AM > -- next part -- An HTML attachment was scrubbed... URL: http://lists.centos.org/pipermail/centos/attachments/20080617/c49d457b/attachment-0001.htm -- Este mensaje ha sido analizado por Nettix Peru - MailScanner en busca de virus y otros contenidos peligrosos, y se considera que está limpio. Para soluciones Antispam/Antivirus visite http://www.nettix.com.pe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] UC What happened to 6.1
One exception is those machines behind a firewall that does not allow downloads. The only upgrade path then is to download on another machine and burn DVDs. CR repos are not helpful in such a case! Martin Rushton HPC System Manager, Weapons Technologies Tel: 01959 514777, Mobile: 07939 219057 email: jmrush...@qinetiq.com www.QinetiQ.com QinetiQ - Delivering customer-focused solutions Please consider the environment before printing this email. -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Nataraj Sent: 15 November 2011 23:22 To: CentOS mailing list Subject: Re: [CentOS] What happened to 6.1 This keeps the distributed ISO's compatible with the upstream. Installing the CentOS 6.0 ISO is equivalent to installing the upstream's 6.0 ISO. I once had to deal with a commercial software package that required that it be installed on Redhat 4.2 or something like that. If you installed updates, the software didn't work. The current build problems are hopefully a temporary situation and if they are resolved CentOS users will have the option of the rolling updates or waiting for the update release. For "most" users, installing updates from the CR repo is the best choice, but there could be exceptions. Nataraj ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. QinetiQ may monitor email traffic data and also the content of email for the purposes of security. QinetiQ Limited (Registered in England & Wales: Company Number: 3796233) Registered office: Cody Technology Park, Ively Road, Farnborough, Hampshire, GU14 0LX http://www.qinetiq.com. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] UC UC What happened to 6.1
Only that with fixed point releases you set aside a day or so to download, burn, transport and load. You wouldn't want to be doing that daily on the off chance that something relevant has been added. Horses for courses, the problem won't affect most people as Nataraj said. Martin Rushton HPC System Manager, Weapons Technologies Tel: 01959 514777, Mobile: 07939 219057 email: jmrush...@qinetiq.com www.QinetiQ.com QinetiQ - Delivering customer-focused solutions Please consider the environment before printing this email. -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of John Hodrien Sent: 16 November 2011 10:30 To: CentOS mailing list Subject: Re: [CentOS] UC What happened to 6.1 On Wed, 16 Nov 2011, Rushton Martin wrote: > One exception is those machines behind a firewall that does not allow > downloads. The only upgrade path then is to download on another > machine and burn DVDs. CR repos are not helpful in such a case! I really don't get your point. How is that worse than an update repo, or even a full 6.1 release. In both cases you're forced to get it past your firewall by some method, even if that is sneakernet. jh ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. QinetiQ may monitor email traffic data and also the content of email for the purposes of security. QinetiQ Limited (Registered in England & Wales: Company Number: 3796233) Registered office: Cody Technology Park, Ively Road, Farnborough, Hampshire, GU14 0LX http://www.qinetiq.com. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Corosync init-script broken on CentOS6
Hello all, I am trying to create a corosync/pacemaker cluster using CentOS 6.0. However, I'm having a great deal of difficulty doing so. Corosync has a valid configuration file and an authkey has been generated. When I run /etc/init.d/corosync I see that only corosync is started. >From experience working with corosync/pacemaker before, I know that this is not enough to have a functioning cluster. For some reason the base install (with or without updates) is not starting corosync dependencies. I've even tried using corosync/pacemaker for the EPEL 6 repo, and still the init-script will not start corosync dependencies. Expected: corosync /usr/lib64/heartbeat/stonithd /usr/lib64/heartbeat/cib /usr/lib64/heartbeat/lrmd /usr/lib64/heartbeat/attrd /usr/lib64/heartbeat/pengine Observed: corosync My install options are: %packages @base @core @ha @nfs-file-server @network-file-system-client @resilient-storage @server-platform @server-policy @storage-client-multipath @system-admin-tools pax oddjob sgpio pacemaker dlm-pcmk screen lsscsi -rgmanager %end The logs from the server aren't terribly helpful either: Nov 23 12:13:45 cheapo4 corosync[2509]: [pcmk ] info: spawn_child: Forked child 2515 for process stonith-ng Nov 23 12:13:45 cheapo4 corosync[2509]: [pcmk ] info: spawn_child: Forked child 2516 for process cib Nov 23 12:13:45 cheapo4 corosync[2509]: [pcmk ] info: spawn_child: Forked child 2517 for process lrmd Nov 23 12:13:45 cheapo4 corosync[2509]: [pcmk ] info: spawn_child: Forked child 2518 for process attrd Nov 23 12:13:45 cheapo4 corosync[2509]: [pcmk ] info: spawn_child: Forked child 2519 for process pengine Nov 23 12:13:45 cheapo4 corosync[2509]: [pcmk ] info: spawn_child: Forked child 2520 for process crmd Nov 23 12:13:45 cheapo4 corosync[2509]: [SERV ] Service engine loaded: Pacemaker Cluster Manager 1.1.2 Nov 23 12:13:45 cheapo4 corosync[2509]: [SERV ] Service engine loaded: corosync extended virtual synchrony service Nov 23 12:13:45 cheapo4 corosync[2509]: [SERV ] Service engine loaded: corosync configuration service Nov 23 12:13:45 cheapo4 corosync[2509]: [SERV ] Service engine loaded: corosync cluster closed process group service v1.01 Nov 23 12:13:45 cheapo4 corosync[2509]: [SERV ] Service engine loaded: corosync cluster config database access v1.01 Nov 23 12:13:45 cheapo4 corosync[2509]: [SERV ] Service engine loaded: corosync profile loading service Nov 23 12:13:45 cheapo4 corosync[2509]: [SERV ] Service engine loaded: corosync cluster quorum service v0.1 Nov 23 12:13:45 cheapo4 corosync[2509]: [MAIN ] Compatibility mode set to whitetank. Using V1 and V2 of the synchronization engine. Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] ERROR: pcmk_wait_dispatch: Child process lrmd exited (pid=2517, rc=100) Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] notice: pcmk_wait_dispatch: Child process lrmd no longer wishes to be respawned Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] info: update_member: Node cheapo4.jrz.cbn now has process list: 00111302 (1118978) Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] ERROR: pcmk_wait_dispatch: Child process cib exited (pid=2516, rc=100) Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] notice: pcmk_wait_dispatch: Child process cib no longer wishes to be respawned Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] info: update_member: Node cheapo4.jrz.cbn now has process list: 00111202 (1118722) Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] ERROR: pcmk_wait_dispatch: Child process crmd exited (pid=2520, rc=100) Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] notice: pcmk_wait_dispatch: Child process crmd no longer wishes to be respawned Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] info: update_member: Node cheapo4.jrz.cbn now has process list: 00111002 (1118210) Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] ERROR: pcmk_wait_dispatch: Child process attrd exited (pid=2518, rc=100) Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] notice: pcmk_wait_dispatch: Child process attrd no longer wishes to be respawned Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] info: update_member: Node cheapo4.jrz.cbn now has process list: 00110002 (1114114) Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] ERROR: pcmk_wait_dispatch: Child process pengine exited (pid=2519, rc=100) Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] notice: pcmk_wait_dispatch: Child process pengine no longer wishes to be respawned Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] info: update_member: Node cheapo4.jrz.cbn now has process list: 0012 (1048578) Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] ERROR: pcmk_wait_dispatch: Child process stonith-ng exited (pid=2515, rc=100) Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] notice: pcmk_wait_dispatch: Child process stonith-ng no longer
Re: [CentOS] Corosync init-script broken on CentOS6
Am 23.11.2011 14:24 schrieb "Michel van Deventer" : > > Hi, > > Did you configure corosync ? > Normally corosync starts pacemaker, which in turn starts the heartbeat > deamons. > But you have to configure the latter using for example a pcmk file with > configuration in /etc/corosync/conf.d/ (from the top of my head). Yes. /etc/corosync/services.d/pcmk is configured as per that document; still not getting the expected start behaviour. Corosync does start properly, just not via the init-script. Thanks, -Hal > I normally use : > http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/ > >Regards, > > Michel > > On Wed, 2011-11-23 at 12:16 -0500, Hal Martin wrote: > > Hello all, > > > > I am trying to create a corosync/pacemaker cluster using CentOS 6.0. > > However, I'm having a great deal of difficulty doing so. > > > > Corosync has a valid configuration file and an authkey has been generated. > > > > When I run /etc/init.d/corosync I see that only corosync is started. > > >From experience working with corosync/pacemaker before, I know that > > this is not enough to have a functioning cluster. For some reason the > > base install (with or without updates) is not starting corosync > > dependencies. > > > > I've even tried using corosync/pacemaker for the EPEL 6 repo, and > > still the init-script will not start corosync dependencies. > > > > Expected: > > corosync > > /usr/lib64/heartbeat/stonithd > > /usr/lib64/heartbeat/cib > > /usr/lib64/heartbeat/lrmd > > /usr/lib64/heartbeat/attrd > > /usr/lib64/heartbeat/pengine > > > > Observed: > > corosync > > > > My install options are: > > %packages > > @base > > @core > > @ha > > @nfs-file-server > > @network-file-system-client > > @resilient-storage > > @server-platform > > @server-policy > > @storage-client-multipath > > @system-admin-tools > > pax > > oddjob > > sgpio > > pacemaker > > dlm-pcmk > > screen > > lsscsi > > -rgmanager > > %end > > > > The logs from the server aren't terribly helpful either: > > Nov 23 12:13:45 cheapo4 corosync[2509]: [pcmk ] info: spawn_child: > > Forked child 2515 for process stonith-ng > > Nov 23 12:13:45 cheapo4 corosync[2509]: [pcmk ] info: spawn_child: > > Forked child 2516 for process cib > > Nov 23 12:13:45 cheapo4 corosync[2509]: [pcmk ] info: spawn_child: > > Forked child 2517 for process lrmd > > Nov 23 12:13:45 cheapo4 corosync[2509]: [pcmk ] info: spawn_child: > > Forked child 2518 for process attrd > > Nov 23 12:13:45 cheapo4 corosync[2509]: [pcmk ] info: spawn_child: > > Forked child 2519 for process pengine > > Nov 23 12:13:45 cheapo4 corosync[2509]: [pcmk ] info: spawn_child: > > Forked child 2520 for process crmd > > Nov 23 12:13:45 cheapo4 corosync[2509]: [SERV ] Service engine > > loaded: Pacemaker Cluster Manager 1.1.2 > > Nov 23 12:13:45 cheapo4 corosync[2509]: [SERV ] Service engine > > loaded: corosync extended virtual synchrony service > > Nov 23 12:13:45 cheapo4 corosync[2509]: [SERV ] Service engine > > loaded: corosync configuration service > > Nov 23 12:13:45 cheapo4 corosync[2509]: [SERV ] Service engine > > loaded: corosync cluster closed process group service v1.01 > > Nov 23 12:13:45 cheapo4 corosync[2509]: [SERV ] Service engine > > loaded: corosync cluster config database access v1.01 > > Nov 23 12:13:45 cheapo4 corosync[2509]: [SERV ] Service engine > > loaded: corosync profile loading service > > Nov 23 12:13:45 cheapo4 corosync[2509]: [SERV ] Service engine > > loaded: corosync cluster quorum service v0.1 > > Nov 23 12:13:45 cheapo4 corosync[2509]: [MAIN ] Compatibility mode > > set to whitetank. Using V1 and V2 of the synchronization engine. > > Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] ERROR: > > pcmk_wait_dispatch: Child process lrmd exited (pid=2517, rc=100) > > Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] notice: > > pcmk_wait_dispatch: Child process lrmd no longer wishes to be > > respawned > > Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] info: > > update_member: Node cheapo4.jrz.cbn now has process list: > > 00111302 (1118978) > > Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] ERROR: > > pcmk_wait_dispatch: Child process cib exited (pid=2516, rc=100) > > Nov 23 12:13:46 cheapo4 corosync[2509]: [pcmk ] notice: > > pcmk_wait_dispatch:
Re: [CentOS] UC /etc/cron.d
>From man 8 cron Cron searches /var/spool/cron for crontab files which are named after accounts ... Cron also searches for /etc/crontab and the files in the directory, which are in a different format (see crontab(5) ). So cron itself knows about /etc/cron.d and checks it. No need to have an entry in /etc/crontab Martin Rushton HPC System Manager, Weapons Technologies Tel: 01959 514777, Mobile: 07939 219057 email: jmrush...@qinetiq.com www.QinetiQ.com QinetiQ - Delivering customer-focused solutions Please consider the environment before printing this email. -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Fajar Priyanto Sent: 08 December 2011 08:31 To: CentOS mailing list Subject: Re: [CentOS] /etc/cron.d On Thu, Dec 8, 2011 at 4:27 PM, Cliff Pratt wrote: > You can put a crontab file in there. Just don't alter any of the > others. Crond automatically runs everything in /etc/cron.d, in > /etc/crontab, and in user crontabs. > That's what I thought, but /etc/crontab only mention this: # run-parts 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * root run-parts /etc/cron.daily 22 4 * * 0 root run-parts /etc/cron.weekly 42 4 1 * * root run-parts /etc/cron.monthly No /etc/cron.d ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. QinetiQ may monitor email traffic data and also the content of email for the purposes of security. QinetiQ Limited (Registered in England & Wales: Company Number: 3796233) Registered office: Cody Technology Park, Ively Road, Farnborough, Hampshire, GU14 0LX http://www.qinetiq.com. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] UC Need help in writing a shell/bash script
I knocked up the enclosed under Cygwin: #!/bin/sh ( cat
Re: [CentOS] UC UC Need help in writing a shell/bash script
Demonstration purposes only. I wanted to show the data going is was the user's data as described. The awk script is the key, the cat and sort are merely decoration. Martin Rushton HPC System Manager, Weapons Technologies Tel: 01959 514777, Mobile: 07939 219057 email: jmrush...@qinetiq.com www.QinetiQ.com QinetiQ - Delivering customer-focused solutions Please consider the environment before printing this email. -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of m.r...@5-cent.us Sent: 30 December 2011 15:06 To: CentOS mailing list Subject: Re: [CentOS] UC Need help in writing a shell/bash script Rushton Martin wrote: > I knocked up the enclosed under Cygwin: > > #!/bin/sh > ( > cat < admin ankush > admin amit > powerusers dinesh > powerusers jitendra > EOTx > ) | awk ' > { > grpnm[$1] = grpnm[$1] ", " $2 > } > END { > for (i in grpnm) { > print i ": " substr(grpnm[i], 3) > } > } > ' | sort > Why use cat? Why not just stick the filename in the command line, right after the closing ', and before the pipe? mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. QinetiQ may monitor email traffic data and also the content of email for the purposes of security. QinetiQ Limited (Registered in England & Wales: Company Number: 3796233) Registered office: Cody Technology Park, Ively Road, Farnborough, Hampshire, GU14 0LX http://www.qinetiq.com. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Baffled by selinux
Lars Hecking writes: > > > > Have you tried httpd_use_nfs? > > Slam dunk. Thanks! > Can you be more specific on what file you edited and the syntax of the line you put in and/or edited? While I am able to start apache I am getting several errors in the log files that seem to be related to this. Bruce ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Stateless client
I'm trying to configure an old 64-bit desktop machine as a client for a CentOS server. The client must have no modifiable storage at all so my options seem to be: 1) Stateless network boot 2) Live DVD I've been looking at the latter route, does anyone know if there is a convenient hook so that the live dvd will automatically download and execute a file during bootstrapping? I need to have some state, but held on the server. If there are any instructions for hacking the CentOS live dvd, please point me at them. I'd prefer not to go for a complete stateless network boot, the server will be booted in a number of configurations and it would mean reconfiguring xCAT or similar on each set of disks. Just to be even more awkward, there is no external network connection to the server, which will be running a 64-bit variant. Martin Rushton HPC System Manager, Weapons Technologies Tel: 01959 514777, Mobile: 07939 219057 email: jmrush...@qinetiq.com www.QinetiQ.com QinetiQ - Delivering customer-focused solutions This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. QinetiQ may monitor email traffic data and also the content of email for the purposes of security. QinetiQ Limited (Registered in England & Wales: Company Number: 3796233) Registered office: Cody Technology Park, Ively Road, Farnborough, Hampshire, GU14 0LX http://www.qinetiq.com. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Weird CentOS 5.3 problem
I reimaged a compute node on our cluster with the latest 5.3 updates (we were previously running 5.2), but we kept the kernel at 2.6.18-92.1.10.el5 until I can find time to rebuild some of our kernel modules. After the image install finishes and the system reboots, the eth0 ethernet interface disappears. If I do an ifconfig a, I see what should be eth0, but it¹s listed as __tmp2081258173. [r...@node0770 ~]# ifconfig -a __tmp2081258173 Link encap:Ethernet HWaddr 00:1E:68:86:67:04 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:66 The dmesg output isn¹t very helpful: [r...@node0770 ~]# dmesg|grep eth0 eth0: forcedeth.c: subsystem: 0108e:534b bound to :00:08.0 If I remove our lustre modules that were built for the 2.6.18-92.1.10.el5 kernel and reboot, the eth0 interface reappears. Another piece to this puzzle is that this problem only seems to happen on our Sun X2200¹s. Our Dell 1950¹s work just fine after putting on the 5.3 updates. Anyone know what could cause this behavior? Thanks, Randy ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Weird CentOS 5.3 problem
> From: Robert Heller > Organization: Deepwoods Software > Reply-To: CentOS mailing list > Date: Tue, 19 May 2009 09:46:15 -0400 > To: CentOS mailing list > Cc: > Subject: Re: [CentOS] Weird CentOS 5.3 problem > > At Tue, 19 May 2009 09:04:43 -0400 CentOS mailing list > wrote: > >> >> >> >> I reimaged a compute node on our cluster with the latest 5.3 updates (we >> were previously running 5.2), but we kept the kernel at 2.6.18-92.1.10.el5 >> until I can find time to rebuild some of our kernel modules. After the >> image install finishes and the system reboots, the eth0 ethernet interface >> disappears. If I do an ifconfig Âa, I see what should be eth0, but it¹s >> listed as __tmp2081258173. >> >> [r...@node0770 ~]# ifconfig -a >> __tmp2081258173 Link encap:Ethernet HWaddr 00:1E:68:86:67:04 >> BROADCAST MULTICAST MTU:1500 Metric:1 >> RX packets:0 errors:0 dropped:0 overruns:0 frame:0 >> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 >> collisions:0 txqueuelen:1000 >> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) >> Interrupt:66 >> >> The dmesg output isn¹t very helpful: >> >> [r...@node0770 ~]# dmesg|grep eth0 >> eth0: forcedeth.c: subsystem: 0108e:534b bound to :00:08.0 >> >> >> If I remove our lustre modules that were built for the 2.6.18-92.1.10.el5 >> kernel and reboot, the eth0 interface reappears. Another piece to this >> puzzle is that this problem only seems to happen on our Sun X2200¹s. Our >> Dell 1950¹s work just fine after putting on the 5.3 updates. Anyone know >> what could cause this behavior? > > Check /etc/modprobe.conf (and > /etc/sysconfig/network-scripts/if-cfg-eth0) -- if you are doing a > disk-to-disk backup type of install, the alias for eth0 is very likely > wrong (and the HW address in /etc/sysconfig/network-scripts/if-cfg-eth0 > is also wrong). You may have to manually update these two files on the > 'new' machine, since it likely has a different NIC, requiring a > different driver. It will also have a different MAC (HW) address as > well. In the old days, kudzu would detect this and pop up during the > boot process. > > What does lspci display? > We add the two lines at the end of modprobe.conf for lustre. alias eth0 tg3 alias eth1 tg3 alias eth2 forcedeth alias eth3 forcedeth alias scsi_hostadapter sata_nv options lnet networks="tcp0(eth0)" options ksocklnd enable_irq_affinity=0 The /etc/sysconfig/network-scripts/ifcfg-eth0 has the correct settings for this host. We actually generate this file during the post-install. Here's what it looks like: DEVICE=eth0 BOOTPROTO=none STARTMODE=onboot ONBOOT=yes USERCTL=no TYPE=Ethernet IPV6INIT=no IPADDR=192.168.3.91 BROADCAST=192.168.255.255 NETMASK=255.255.0.0 GATEWAY=192.168.100.1 Here's the lspci output: 00:00.0 RAM memory: nVidia Corporation MCP55 Memory Controller (rev a2) 00:01.0 ISA bridge: nVidia Corporation MCP55 LPC Bridge (rev a3) 00:01.1 SMBus: nVidia Corporation MCP55 SMBus (rev a3) 00:02.0 USB Controller: nVidia Corporation MCP55 USB Controller (rev a1) 00:02.1 USB Controller: nVidia Corporation MCP55 USB Controller (rev a2) 00:04.0 IDE interface: nVidia Corporation MCP55 IDE (rev a1) 00:05.0 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a3) 00:06.0 PCI bridge: nVidia Corporation MCP55 PCI bridge (rev a2) 00:08.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a3) 00:09.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a3) 00:0a.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a3) 00:0b.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a3) 00:0c.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a3) 00:0d.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a3) 00:0f.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a3) 00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] HyperTransport Configuration 00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Address Map 00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Miscellaneous Control 00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Link Control 00:19.0 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] HyperTransport Configuration 00:19.1 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Address Map 00:19.2 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] DRAM Controller 00:19.3 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Miscellaneous Control 00:19.4 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron, Athlon64, Sempron] Link Control 01:05.0 VGA compatible controller: ASPEED Technology, Inc. AST20
[CentOS] Tracking updates
Hi all, I don't know if exists what I'm searching for, or just making the wrong questions to google. I'm searching some kind of tracking system to software updates. If one server is administrated by more than 2 persons, having control of what updates have been installed, and what version of that application is running after the update. Making manual documentation is ok for one server, but doing this for several servers is a big amount of time, and relies on the admin to have the time to do so, but automating this would be great. I someone doing something to have track of the updates? Any recommendation? Cheers, Martín ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Tracking updates
On Wed, 2009-06-10 at 17:42 +0200, Per Qvindesland wrote: > Hi > > Ocsinventory http://www.ocsinventory-ng.org/ might be considered if > not then I could also recommend Spacewalk > http://www.redhat.com/spacewalk/ for something like this both runs > well on Centos > > Per Thanks for your suggestions Per. Correct me if I'm wrong, but as far as I can tell by surfing the sites, they are applications to admin servers, you can use it to install new packages/updates, but it doesn't have a tracking system to let you know what was the previous version, and when it was updated. If I'm wrong, please let me know it. Cheers Martín ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] PCI modems
> >> Hi >> >> It doesn't need to be a PCI modem, but I would prefer one because everything >> can be nicely tucked away than and it's less wiring. But if only oldskool >> external serial modems do the job I'll use that then. >> > > My preference is MultiTech. IIRC, many others on this list have also > preferred them. > Multi-Tech also has a line of PCI modems that work quite nicely. I have on in a Dell Itanium server using qpage to act as our notification pager for Nagios using a TAP-to-SMS gateway. Works like a champ. noe that this is PCI and not PCIexpress. A lot of new servers do not have a pure PCI slot in them anymore. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Problems with Adobe flash-plugin and Firefox-3.5.x under CentOs-5.3 (yum up to date)
Hi, I am running 32-bit Firefox-3.5.3 on Centos-5.3 (64-bit kernel) on a Dell Precision M65 laptop. This is likely a Adobe problem, but maybe someone else has seen this before. Please CC me, as I only receive the digest version of the list. When using the 10.0.32.18-release version of the flash-plugin, trying to access *any* page containing flash (e.g. www.adobe.com) causes the browser to die. This also happens with version 10.0.22.87. Version 9.0.115.0 works fine. To avoid problems with add-ons, Firefox is started with "-safe-mode". As far as I know, the problem also happens with Firefox-3.0.x. # uname -a Linux l6g0223j 2.6.18-128.7.1.el5 #1 SMP Mon Aug 24 08:21:56 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux # rpm -q flash-plugin flash-plugin-10.0.32.18-release Any idea? Anything I can help debugging the problem? Cheers Martin ------ Martin Knoblauch email: k n o b i AT knobisoft DOT de www: http://www.knobisoft.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problems with Adobe flash-plugin and Firefox-3.5.x under CentOs-5.3 (yum up to date) => libcurl.so.3/libcurl.so.4 missing
- Original Message > From: Martin Knoblauch > To: Centos Discussions > Sent: Monday, September 14, 2009 3:16:20 PM > Subject: Problems with Adobe flash-plugin and Firefox-3.5.x under CentOs-5.3 > (yum up to date) > > Hi, > > I am running 32-bit Firefox-3.5.3 on Centos-5.3 (64-bit kernel) on a Dell > Precision M65 laptop. This is likely a Adobe problem, but maybe someone else > has > seen this before. Please CC me, as I only receive the digest version of the > list. > > > When using the 10.0.32.18-release version of the flash-plugin, trying > to access *any* page containing flash (e.g. www.adobe.com) causes the > browser to die. This also happens with version 10.0.22.87. Version > 9.0.115.0 works fine. To avoid problems with add-ons, Firefox is > started with "-safe-mode". As far as I know, the problem also happens > with Firefox-3.0.x. > > # uname -a > Linux l6g0223j 2.6.18-128.7.1.el5 #1 SMP Mon Aug 24 08:21:56 EDT 2009 x86_64 > x86_64 x86_64 GNU/Linux > # rpm -q flash-plugin > flash-plugin-10.0.32.18-release > > > Any idea? Anything I can help debugging the problem? > The problem turns out that libflashplayer.so (Version 10.x) is looking for dynamically loading libcurl.so.3 or libcurl.so.4. This dependency is neither documented, nor present in the flash-plugin RPMs from Adobe (both 32- and 64-bit). The dependency probably should also be present in the firefox RPM itself. I found out by chance when the problem went away after installing the curl.i386 package to get firefox building on my system. Cheers Martin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Problems with Adobe flash-plugin and Firefox-3.5.x under CentOs-5.3 (yum up to date) => libcurl.so.3/libcurl.so.4 missing
- Original Message > From: Bogdan Nicolescu > To: CentOS mailing list > Cc: spamt...@knobisoft.de > Sent: Sunday, September 20, 2009 3:51:48 AM > Subject: Re: [CentOS] Problems with Adobe flash-plugin and Firefox-3.5.x > under CentOs-5.3 (yum up to date) => libcurl.so.3/libcurl.so.4 missing > > On Sat, Sep 19, 2009 at 6:58 AM, Martin Knoblauch wrote: > > - Original Message > > > >> From: Martin Knoblauch > >> To: Centos Discussions > >> Sent: Monday, September 14, 2009 3:16:20 PM > >> Subject: Problems with Adobe flash-plugin and Firefox-3.5.x under > >> CentOs-5.3 > (yum up to date) > >> > >> Hi, > >> > >> I am running 32-bit Firefox-3.5.3 on Centos-5.3 (64-bit kernel) on a Dell > >> Precision M65 laptop. This is likely a Adobe problem, but maybe someone > >> else > has > >> seen this before. Please CC me, as I only receive the digest version of the > >> list. > >> > >> > >> When using the 10.0.32.18-release version of the flash-plugin, trying > >> to access *any* page containing flash (e.g. www.adobe.com) causes the > >> browser to die. This also happens with version 10.0.22.87. Version > >> 9.0.115.0 works fine. To avoid problems with add-ons, Firefox is > >> started with "-safe-mode". As far as I know, the problem also happens > >> with Firefox-3.0.x. > >> > >> # uname -a > >> Linux l6g0223j 2.6.18-128.7.1.el5 #1 SMP Mon Aug 24 08:21:56 EDT 2009 > >> x86_64 > >> x86_64 x86_64 GNU/Linux > >> # rpm -q flash-plugin > >> flash-plugin-10.0.32.18-release > >> > >> > >> Any idea? Anything I can help debugging the problem? > >> > > > > The problem turns out that libflashplayer.so (Version 10.x) is looking for > dynamically loading libcurl.so.3 or libcurl.so.4. This dependency is neither > documented, nor present in the flash-plugin RPMs from Adobe (both 32- and > 64-bit). The dependency probably should also be present in the firefox RPM > itself. > > > > I found out by chance when the problem went away after installing the > curl.i386 package to get firefox building on my system. > > > > Cheers > > Martin > > > > ___ > > CentOS mailing list > > CentOS@centos.org > > http://lists.centos.org/mailman/listinfo/centos > > > > > Documented here under dependencies: > > http://kb2.adobe.com/cps/153/tn_15380.html Hi Bogdan, interesting. Care to tell me how to find that page unless you know that you are looking for "libcurl" or a "library dependency"? Just curious. The official Release Notes on the Adobe Home Page don't show this dependency, neither does the System Requirements page or the README that comes with the RPM. http://www.adobe.com/support/documentation/en/flashplayer/10/Flash_Player_10_Release_Notes.pdf http://www.adobe.com/products/flashplayer/systemreqs/ Q: where are the CentOs RPMS for firefox and flash-plugin coming from? They are available via yum, so are they provided by the CentOs team, or are they coming from the developers? Cheers Martin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how long to reboot server ?
Unless you have zombie processes or are upgrading the kernel, IMHO there is no reason to reboot. -Hal On Thu, Sep 2, 2010 at 1:18 PM, Tim Nelson wrote: > - "mcclnx mcc" wrote: >> we have CENTOS 5 on DELL servers. some servers have longer than one >> year did not reboot. Our consultant suggest we need at least reboot >> once every year to clean out memory junk. >> >> What is your opinion? >> > > If you're running a Windows server, yes, a period reboot is necessary to > 'clean it out'. However, in Linux land, this is not typically necessary as a > 'rule'. You could certainly be running applications with memory leaks or > other special circumstances that warrant a clean boot. > > I have several Linux boxes running a variety of flavors including CentOS, > Debian, and even Redhat (think old 8.x/9.x days) with uptimes ranging between > 13 months to over two years. They're running perfectly without the 'yearly > reboot'. > > --Tim > ___ > 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] Anyone using PHP52 packages from iuscommunity.org?
I've had these PHP 5.3.3 packages installed for quite a while: http:// rpms.famillecollet.com/el5.x86_64/ No problems at all but I went back to 5.2.10 from CentOS Testing because for what I needed it for (phpVirtualBox) 5.2 was sufficient and I did feel a bit better knowing where the 5.2.10 packages came from. Can't tell you anything about reliability of famillecollet though, I just googled something about updating PHP on CentOS 5 and their site was one of the first ones to pop up. Best, Martin -- Rieke Computersysteme GmbH Hellerholz 5 D-82061 Neuried Email: martin[at]rhm[dot]de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] JFS in CentOS
Hello all, I'm relatively new to CentOS, but I've been using linux as my main operating system on both the desktop and server ends for the past 4 years. I currently have a PIII server with two 160GB IDE hard drives in it, in a virtual RAID 1 array. At the time of installation, the only FS choices for the largest partition, 120GB, were ext2 and ext3. I chose ext3, but now am wishing to reformat the partition as JFS to skip long file system check times. I've done Google searches regarding the topic, which lead me to added centos.plus to my repo list, and installed the only kernel I see as being available from CentOSPlus, and yet I still have no JFS modules loaded or anywhere in /lib/modules/. I installed JFSUtils from the CentOSPlus repo, but have no way to use the partition that has been created (by myself, using mkfs.jfs). Short of compiling a kernel with JFS support from the source package provided with CentOS, I don't know what to do. Has anyone else used JFS on CentOS 5.2 successfully? How did you do it? Thanks, Hal ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] KDE4
Is there any repo with binary rpm of KDE 4.1 for CentOS 5? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] RAID 1 Post Install
Hello all, I've got CentOS 5.2 installed on an old Pentium III server. The server is used by a club at my school, and they are rapidly running out of room on the internal IDE drives that are configured in software RAID 1. I have a Silicon Image SATA controller in the server, and I was planning on adding two more SATA hard drives to the computer. Is there a GUI like Disk Druid for initializing hard drives in software RAID 1 *after* the system has been installed? Thanks, Hal ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] RAID 1 Post Install
Just along these lines, would it be possible for me to break RAID 1 on the two internal drives into RAID 0 and then mirror that new RAID 0 array onto a SATA drive using RAID 1 without loosing any data? I used JFS as the file system for the RAID 1 array, so that may have to be changed to XFS as you cannot dynamically expand JFS to the best of my knowledge. -Hal Kai Schaetzl wrote: > Tom Brown wrote on Tue, 02 Dec 2008 17:29:06 +: > > >> http://tldp.org/HOWTO/Software-RAID-HOWTO-5.html >> > > unfortunately that and the mini-howto are both very much outdated. Many of > the stuff it mentions (like mkraid, /etc/raidtab) is not part of the > distro anymore. You use mdadm nowadays. Those parts that contain mdadm > commands are still valid. > > Does this "Silicon Image SATA controller" not include Hardware RAID by > chance? > The basic steps for software-RAID are: > - decide about the partitions the RAID devices will be based on > - if it is used only for data you may probably want to have just one RAID > partition: > mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sda /dev/sdb > (I assume you can use sda and sdb. I always use several RAID partitions, > so I never used the whole disk.) > put LVM on it: > pvcreate /dev/md0 > vgcreate myvolumegroupname /dev/md0 > - creates vg myvolumegroupname on it > - start adding your logical volumes: > lvcreate -L50G --name myname myvolumegroupname > - adds a 50G logical volume named myname > - format that lv: > mkfs.ext3 /dev/myvolumegroupname/myname > - copy any data you like from the old drives > - add the mount points to fstab > - if you don't boot from the RAID partition you are done now > > > Kai > > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] real SATA RAID
As many people have stated in this thread, 3ware and Areca make some good hardware RAID solutions. Software RAID using mdadm works too, quite well, I might add. I was one of those people who stayed away from software RAID in linux, thinking it was too complicated and difficult, I was wrong. It's dead easy to do, and expanding your disks can be done on the fly (if you have a SATA controller that supports hotplugging as many these days do.) Perhaps the best thing about software RAID, in my opinion, is that it's light enough on the machine that a PIII server can be reading/writing to the array at 10MB/s. Now you might say, 10MB/s, who cares? That's small stuff. But, when that's the load the network infrastructure at this location was designed to handle, you don't need anything higher performance. Just my two cents. -Hal Christopher Chan wrote: > Paolo Supino wrote: > >> Hi >> >> Last week I had a lengthy thread in which someone indicated the my SIL >> card is a FRAID (don't know if F stands for the F word or Fake, though >> it doesn't really matter). I want to replace the controller with a >> controller that Linux will see the RAID1 group as a single HD and not >> multiple HDs as it happens with the SIL controller. Recommendations anyone? >> >> > > Adaptec RAID 2405, 3ware, Areca > > > ___ > 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] syslog: CPU stuck for 10s!
Try upgrading to the latest kernel. -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of tblader Sent: Tuesday, March 17, 2009 9:05 AM To: CentOS mailing list Subject: [CentOS] syslog: CPU stuck for 10s! Hi All, I have a Centos 5 box serving NFS3 shares from an LSI megaraid card. The box has been up and down for about a week and trying to figure out what's up. Found a syslog message today about "APIC error on CPU" and after rebooting with NOAPIC, I now get this: # cat /var/log/kernel | grep BUG Mar 17 09:51:05 ofdmz kernel: BUG: soft lockup - CPU#0 stuck for 10s! [migration/0:2] Mar 17 09:52:21 ofdmz kernel: BUG: soft lockup - CPU#0 stuck for 10s! [ssh:3491] Anyone know what this means? I found a thread* from 2006 on this list that mentions updating the bios, but thought I would get a message out early in case this doesn't fix it. Thanks [*] - http://lists.centos.org/pipermail/centos/2006-June/023933.html ___ 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] Looking for a list of default services to disable in centos 5
I am looking for a list of services that you disable by default on your server. Here is what I am disabling so far. avahi-daemon bluetooth cups firstboot haldaemon hidd hplip ip6tables isdn messagebus pcscd rpcgssd rpcidmapd sendmail xfs xinetd yum-updatesd Thanks for any input you provide! Martin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Looking for a list of default services to disable in centos 5
My question was targeted at minimal install that I could start with bare bones. Just what you need to run the os. I would use it to build the rest of my kickstarts with adding the needed services for webservers, databases, etc. I see the usefulness it for example You can pretty much say that everyone with a server build does not need Bluetooth and that most people are going to want syslog running. Thanks for the input! I do see your point about looking at my servers. Martin -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Spiro Harvey Sent: Wednesday, March 25, 2009 1:40 PM To: centos@centos.org Subject: Re: [CentOS] Looking for a list of default services to disable in centos 5 > I am looking for a list of services that you disable by default on > your server. what kind of server? smtp server? pop/imap server? proxy server? web server? ftp server? logging server? voip gateway? firewall? rpm build box? swipe card reader server? development/source repo server? LDAP, NFS? or are you looking for a set of things that we disable by default on all servers? At which point I question your choice of removing sendmail (unless you're replacing it with something like exim or postfix) because most servers need to send mail, even if it's just to alert you when a cron job has barfed. personally I disable, or don't install SE Linux, Network Manager (with extreme prejudice), and anything to do with wireless/bluetooth, and X on every single server. >From there it depends on what the server is doing. We've got a Kickstart server and boot off USB sticks and CDs that allow us to pick generic build types off a menu (eg; web server, smtp server, mail storage server, etc). The kickstart config just pulls down the packages we want, a few scripts get run doing various things like updating all packages, setting up our distributed config system, installing custom packages, and so on. However, I don't see the usefulness in seeing what other people disable. Everybody has different networks, different requirements, and does different things on their boxes. What you should be doing is looking at *your* servers and itemising what they do. Then remove all packages that are not needed to provide those services. -- Spiro Harvey Knossos Networks Ltd 021-295-1923www.knossos.net.nz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Two sets of Heartbeat HTTPD clusters on same subnet
Think here is a faq somewhere on the heartbeat website that recommended using multicast and 2 different ports. Perhaps you could just use 2 diffent udp ports though. Have a look at the halinux faq. -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Fabian Arrotin Sent: Wednesday, April 01, 2009 10:41 AM To: CentOS mailing list Subject: Re: [CentOS] Two sets of Heartbeat HTTPD clusters on same subnet Devraj Mukherjee wrote: > Hi all, > > I am new to Hearbeat so please be kind :) I also posted this on > Linux-HA lists with no responses so I posted it here. > > I have successfully configure two machines to use heartbeat to cluster > httpd. The two nodes are called etk-1 and etk-2. I am trying to > configure another two machines to act as a separate cluster (on the > same IP subnet). These two nodes are called radu-1 and radu-2. > > Obviously being a broadcast protocol radu-1 and radu-2 get these > messages from etk-1 and I can't seem to get radu-1 and radu-2 to > cluster (mostly probably because they are not getting the messages > from the right nodes). > > Should I just change the name of the test, if I do that I get heaps of > WARNING log messages. > > Is it possible to have two sets of clusters in the one IP subnet? > > If yes what do I have to change so these clusters don't send messages > to the wrong nodes. > > heartbeat[3745]: 2009/03/30_04:48:02 ERROR: process_status_message: > bad node [etk-1] in message > heartbeat[3745]: 2009/03/30_04:48:02 ERROR: MSG: Dumping message with 10 fields > heartbeat[3745]: 2009/03/30_04:48:02 ERROR: MSG[0] : [t=NS_ackmsg] > heartbeat[3745]: 2009/03/30_04:48:02 ERROR: MSG[1] : [dest= etk-2] > heartbeat[3745]: 2009/03/30_04:48:02 ERROR: MSG[2] : [ackseq=1a9601] > heartbeat[3745]: 2009/03/30_04:48:02 ERROR: MSG[3] : > [(1)destuuid=0xdf38de8(37 28)] > heartbeat[3745]: 2009/03/30_04:48:02 ERROR: MSG[4] : [src= etk-1] > heartbeat[3745]: 2009/03/30_04:48:02 ERROR: MSG[5] : > [(1)srcuuid=0xdf39248(36 27)] > heartbeat[3745]: 2009/03/30_04:48:02 ERROR: MSG[6] : [hg=499a2a65] > heartbeat[3745]: 2009/03/30_04:48:02 ERROR: MSG[7] : [ts=49cfb452] > heartbeat[3745]: 2009/03/30_04:48:02 ERROR: MSG[8] : [ttl=3] > > I suppose your /etc/ha.d/authkeys files are configured correctly (and not configured to use the same 'secret' for both clusters) You can change the port used by the second cluster , or even better (what i do usually) broadcast in a separate vlan for the heartbeat signal (you don't broadcast to the production network that way, so more efficient) -- -- Fabian Arrotin idea=`grep -i clue /dev/brain` test -z "$idea" && echo "sorry, init 6 in progress" || sh ./answer.sh ___ 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] Best mobile SSH client?
i like MidPSSH http://www.xk72.com/midpssh/ tough its the only mobile SSH client i have used :p ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] BIND9 - automatic zone definition replication to slave
Hello, I have simple question - is there a way to automatically replicate zone definition (not zone itself - this is easy) to slave server using BIND9? Is it BIND built-in or are there prebuilt scripts? Or I have to write that script on my own (started by Cron, transfer file with zone names, create conf file and finallly restart BIND?)? Thank you in advance ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] which FS is appropriate for a 2TB-sized partition?
If it helps: we're running several 10-15TB filesystems with ReiserFS and never had even the slightest problem with it. The current limit, however, is 16TB even for ext4. Or, to be more precise: the filesystem could handle more than 16TB easily, however the tools necessary to create the filesystem (aka mkfs.ext4) have a hard-coded 32-bit limit that's been detected almost three years ago and has still not been fixed. Which should not affect your 2.7TB partition tho ;) Martin -- Rieke Computersysteme GmbH Hellerholz 5 D-82061 Neuried Email: mar...@rhm.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] NetworkManager trouble with CentOS 5.4 and KDE3
I'm evaluating CentOS 5.4 for our company and one of our requirements is that it must also run on laptops. I've managed to get everything working so far except for wireless networks. The problem here seems to be that CentOS fails to provide a knetworkmanager package, and we're using KDE3 for various reasons. Thus, we're limited to Networkmanager-gnome which works but fails to save passwords in KDE3 and only works in Gnome. Of course kwallet is installed but requires knetworkmanager to work. The only solution I found so far was to log into Gnome, connect to the wireless network and save the password but that's certainly NOT an opion. I guess the question is quite simple: how do I get NetworkManager to save passwords in KDE3? It's a critical issue and switching to Gnome is not an option either. Infact it's Novell's decision to ditch KDE3 and focus on KDE4 instead that made us turn our backs on openSUSE in the first place. So, is it possible to solve this teeny-tiny problem some other way? Thanks in advance, Martin -- Rieke Computersysteme GmbH Hellerholz 5 D-82061 Neuried Email: mar...@rhm.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NetworkManager trouble with CentOS 5.4 and KDE3
On Tue, 09 Mar 2010 13:07:07 -0500 Roger K. Wells wrote: > There was a thread, "NetworkManager won't save wireless keys", on this > list on January 14, 2010. I don't know if it was your problem exactly. > If you don't have the thread and would like it let me know & I will > forward it to you. > rkw Thanks, I googled it and found it (Jan 14 by Kevin Kempter). I'll give wicd a shot. Martin -- Rieke Computersysteme GmbH Hellerholz 5 D-82061 Neuried Email: mar...@rhm.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NetworkManager trouble with CentOS 5.4 and KDE3
Interesting. I've installed wicd but it seems to be saving the password wrong. I can connect and it does save something in the password field. However when I restart (or even simply logout and login again) it fails to connect until I manually update the password. Martin -- Rieke Computersysteme GmbH Hellerholz 5 D-82061 Neuried Email: mar...@rhm.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Kernel Panic with wl.ko (Broadcom wireless driver) [CentOS 5.4]
Been experimenting with CentOS 5.4 some more. In order to get my wireless card to work (Broadcom BCM4311) I need Broadcom's wl.ko driver (http:// www.broadcom.com/support/802.11/linux_sta.php). It compiles fine after the necessary modification in typedef.h, loads and wireless works. However, as soon as I put some load on that interface (scp something from another machine, download something with Firefox, etc.) the machine kernel panics. I've tried the stock 2.6.18 kernel, the latest 2.6.18-164-11, and the latest patched 2.6.18-164-11-bug4139.4192.4196 (necessary to get my ALPS touchpad to work). I've tried two different versions of Broadcom's driver: 5.10.79.10 and 5.60.48.36. It doesn't kernel panic when I unload the wl kernel module, plug in a network cable and copy those files over ethernet. I downloaded the 2.6.27 kernel source and compiled my own kernel and it seems to work with that. However, for some weird reason, with any given self-compiled kernel (tried 2.6.18-8, 2.6.25 and 2.6.27) klaptop won't allow me to configure any standby/hibernation options because it doesn't recognize any of them. They do work perfectly fine though, I can pm- suspend the laptop from command-line. Any idea what else I could do? Either getting wl.ko to work with 2.6.18 (does somebody have a version older than 5.10.79.10 that they could email me?) or getting klaptop to realize that the laptop does indeed know how th suspend and hibernate with a non-CentOS-kernel would be fine. Thanks, Martin -- Rieke Computersysteme GmbH Hellerholz 5 D-82061 Neuried Email: mar...@rhm.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] About addition of hardware and kernel
On Wed, 10 Mar 2010 15:30:13 -0500 Jose Luis Marin Perez wrote: > And with the increase of RAM to 4GB? would not have problems with this > kernel? You might not be able to see and access the entire 4GB on a 32-bit system because part of your system memory (up to 512MB) will be reserved for periperal use. Not sure whether or not CentOS has PAE enabled by default, but you'll see that when you first boot the upgraded system. Either way it'll still work just fine. Martin -- Rieke Computersysteme GmbH Hellerholz 5 D-82061 Neuried Email: mar...@rhm.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Kernel Panic with wl.ko (Broadcom wireless driver) [CentOS 5.4]
On Wed, 10 Mar 2010 12:23:46 -0800 Akemi Yagi wrote: > There is a "CentOS" kernel 2.6.24. If you wish to give it a try, you can > download from my site at: > > http://centos.toracat.org/kernel/centos5/realtime/ > > It is a direct rebuild of the Red Hat MRG realtime kernel[1]. Please > note that I offer them for testing purposes, not for production use. Thanks Akemi, suspend and hibernate seem to work with your kernel. Funnily enough it's only KDE3 that doesn't accept my self-compiled kernels. With Gnome I can suspend and hibernate from the System menu while KDE3 doesn't offer me any option to do so. This means there must be something compiled into these kernels, or some option ticked or not ticked, that makes KDE3 realize it's capable of suspending and hibernating. I'll try the wireless module next. Could you tell me what exactly is different about a realtime kernel compared to a non-realtime kernel? Is it just the scheduling? Thanks, Martin -- Rieke Computersysteme GmbH Hellerholz 5 D-82061 Neuried Email: mar...@rhm.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Kernel Panic with wl.ko (Broadcom wireless driver) [CentOS 5.4]
Bad news. Just like my self-compiled 2.6.25 and 2.6.27 kernels my laptop froze with your kernel and the wl.ko module, too. It didn't kernel panic and it lasted significantly longer than with 2.6.18 but it still froze in the end. I'm back to 2.6.18-164-11-bug4139.4192.4196 now. Instead of Broadcom's proprietary wl.ko module I'm now using bcm43xx with an extracted Broadcom firmware that I extracted via b43-fwcutter. That one has been running perfectly fine for the entire day now without freezing, crashing, or anything. And both standby and hibernation seem to work just fine. Martin -- Rieke Computersysteme GmbH Hellerholz 5 D-82061 Neuried Email: mar...@rhm.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NetworkManager trouble with CentOS 5.4 and KDE3
On Wed, 10 Mar 2010 11:22:13 -0600 Rex Dieter wrote: > It's a gnome-keyring bug, only even recently fixed in fedora, > https://bugzilla.redhat.com/453880 > > In particular, > https://bugzilla.redhat.com/show_bug.cgi?id=453880#c38 for a workaround. Thanks a lot Rex. I had to delete wicd again because it failed to save my password too. It actually saved the wrong password - for whatever reason it was stored something completely different not even remotely similar to my WPA key. I'll try that workaround next. Martin -- Rieke Computersysteme GmbH Hellerholz 5 D-82061 Neuried Email: mar...@rhm.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Kernel Panic with wl.ko (Broadcom wireless driver) [CentOS 5.4]
On Thu, 11 Mar 2010 13:56:28 -0800 Akemi Yagi wrote: > I just wanted to let you know (in case you are not aware) that the > kernel 2.6.18-164-11-bug4139.4192.4196 is a test base for the centosplus > kernel. When the next kernel update comes out, it will be "promoted" to > the official cplus kernel. If you would like to continue using this > kernel, please be sure to configure your .repo appropriately ( > http://wiki.centos.org/AdditionalResources/Repositories/CentOSPlus ). > > Akemi Thank you, I was aware of that and have already configured my repos accordingly. I may, however, move to a newer kernel once I figure out why KDE won't recognize any standby or hibernation capabilities with newer kernels. Martin -- Rieke Computersysteme GmbH Hellerholz 5 D-82061 Neuried Email: mar...@rhm.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How can I access a ZIP file that's over 2Gb?
On Sat, 13 Mar 2010 19:20:43 -0500 Stephen Harris wrote: > Nope; standard 32bit Windows XP vs 32bit CentOS 5 > > (bit-width shouldn't matter 32bit OS's can handle large files for over a > decade) The problem with x86 (32-bit) is that there's two different memory limits. The total amoumt of accessible memory is 4GB (2^32 Bytes) but the total amount of memory per process is limited to 2GB. That means that even on 64- bit system and more than 4GB of total memory a 32-bit process cannot access more than that, which is why a ZIP file larger than that can cause trouble on any system. I highly doubt that Windows will be able to decompress that file. Depending on the tool you use (built-in unzip tool? Winzip? Winrar? 7-zip?) you might be able to access the file and view its contents, but you will probably fail unzipping it. Martin -- Rieke Computersysteme GmbH Hellerholz 5 D-82061 Neuried Email: mar...@rhm.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] APIC error on Intel Atom CPU, CentOS 5.x
If it helps I'm experiencing a *very* similar problem with all Atom N270 based company netbooks (Lenovo S10e) with openSUSE 11.2 and Kernel 2.6.31, as well as openSUSE 11.1 and Kernel 2.6.27. Putting load on the NIC works fine until I start rsync. Literally everything else allows me to put load on it - ftp, scp, downloading large files via HTTP, copying via NFS or SMB, etc. But as soon as I start rsync it locks up. It doesn't even start to transfer anything - the NIC instantly dies and more often than not takes the entire system down with it. Every now and then instead of a full lockup I only get a dead NIC. Killing the rsync process hard (-9) and restarting the network often helps. I realize that this is a very different software environment but I was about to try CentOS on that baby next. I'll try the noapic option when I get back to my office but it's interesting how so different environments seem to produce similar errors. I guess what I'm trying to say is that it's probably not a CentOS-specific issue we're dealing with here. Martin -- Rieke Computersysteme GmbH Hellerholz 5 D-82061 Neuried Email: mar...@rhm.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Add default quirk to pm-utils (CentOS 5.4)
I've installed CentOS 5.4 on my new Lenovo Ideapad S12 (Atom-based 12" notebook) and need to add a quirk to pm-suspend in order for the laptop to actually go to sleep. There's a couple of quirks that work just fine so I really don't have a preference. I found several instructions but most of them have failed me because CentOS's pm-utils is too ancient. Newer versions come with a parameter that adds the quirk to hald automatically, the CentOS version of pm-utils does not have this function yet. I've tried adding a /etc/pm/ config.d/99local config file with DISPLAY_QUIRK_VBE_POST="true" and a /etc/ hal/fdi/information/99local-pm-utils-quirks.fdi manually to no avail: false false true false false false But nothing seems to work. Running pm-suspend does not do anything, running pm-suspend --quirk-vbe-post puts the Laptop to sleep. Any ideas? Martin -- Rieke Computersysteme GmbH Hellerholz 5 D-82061 Neuried Email: mar...@rhm.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Add default quirk to pm-utils (CentOS 5.4)
Nevermind, I found it. Had to add a second line to /etc/pm/ config.d/99local. It now contains the following: DISPLAY_QUIRK_S3_MODE="true" QUIRKOPTS="true" Whick quirk I pick doesn't make a difference, I found several that work. This one works just fine and the laptop goes to sleep when I enter start pm-suspend from a shell, close the lid, or select suspend from the klaptop menu. Martin -- Rieke Computersysteme GmbH Hellerholz 5 D-82061 Neuried Email: mar...@rhm.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS press kit
On Tue, 06 Apr 2010 18:43:33 +0100 Geerd-Dietger Hoffmann wrote: > Now comes my question, what do people think should belong in > such a kit. Do you think this is needed? Most peope are probably not even familiar with the concept of a press kit so you may want to consider to elaborate on that a bit. Me, I like the idea although I doubt it's really necessary. Martin -- Rieke Computersysteme GmbH Hellerholz 5 D-82061 Neuried Email: mar...@rhm.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS press kit
On Thu, 08 Apr 2010 16:26:54 -0400 m.roth-x6lchVBUigD1P9xLtpHBDw wrote: >> Me, I like the idea although I doubt it's really necessary. > > Actually, it's probably a good idea. That way, the next time someone > using CentOS at work has to deal with the press - and there are folks > who do - they can hand the link to them, y'know, in language simple > enough even for "reporters". You're probably right. I should've added that I also consider things like twitter, "web 2.0", and social networks totally and utterly unneccessary. That might've put my "I doubt it's necessary" statement into perspective. Martin -- Rieke Computersysteme GmbH Hellerholz 5 D-82061 Neuried Email: martin[at]rhm[dot]de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] UC One-time reboot into alternate kernel?
If you are using GRUB 0.97 (legacy GRUB), then this capability is provided by the "default saved" and "fallback" commands. See sections 4.3.1 and 4.3.2 in the manual: http://www.gnu.org/software/grub/manual/legacy/grub.html >-Original Message- >From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On >Behalf Of Tony Mountifield >Sent: 15 December 2014 11:01 >To: centos@centos.org >Subject: [CentOS] One-time reboot into alternate kernel? > >Apologies if this should be well-known, but I couldn't find anything! > >Situation: a system in a remote location, with no KVM, IPMI or iLO, and >therefore no console access, only ssh. Multiple kernels listed in >grub.conf. > >Is there a way to reboot temporarily into one of the other kernels listed >in grub.conf, without changing the default= line, so that a subsequent >reboot will default back to the original kernel? > >The problem I have is that having changed the default= line to select a >kernel that doesn't boot properly, I need to have someone visit the >console in order manually to select the working kernel again. I would >like to avoid that situation if possible. > >Thanks, >Tony >-- >Tony Mountifield >Work: t...@softins.co.uk - http://www.softins.co.uk >Play: t...@mountifield.org - http://tony.mountifield.org >___ >CentOS mailing list >CentOS@centos.org >http://lists.centos.org/mailman/listinfo/centos This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. QinetiQ may monitor email traffic data and also the content of email for the purposes of security. QinetiQ Limited (Registered in England & Wales: Company Number: 3796233) Registered office: Cody Technology Park, Ively Road, Farnborough, Hampshire, GU14 0LX http://www.qinetiq.com. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Bittorrent clients
Did you try Transmission? You can install just the daemon (provided you wnat to access it from elsewhere) and access it through a neat web UI. Other interesting option is rtorrent if you like console-based apps. Btw, my OT: from Windows 7 to CentOS 6.6? WHY!!? I mean, I use CentOS everywhere I can for my server needs but I think that for a workstation Fedora could be a better fit - my 2cents. On Sun, Dec 28, 2014 at 12:22 PM, Alexandru Chiscan wrote: > >Hey, ktorrent looks pretty good! >Thanks for the hint! > Maybe it's time to give KDE a second look :) > > LEC > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > -- -Martin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] UC C-6, Gnome question
>> On Sun, Jan 11, 2015 at 05:12:48PM -0500, Bill Maltby (C4B) wrote: >> > On Fri, 2015-01-09 at 19:42 -0500, Fred Smith wrote: >> > > >> > In a nutshell, after I would terminate Firefox as part of my normal >> > log off process, there would be another instance of Firefox left >> > hanging around with a ppid of 1 (so it's daemonized", or as I prefer >> > "demonized" ;-)) and using all the CPU it could get (97%-99% of a 6 >> > core AMD in my desktop) while no Firefox windows were open. Figuring >> > it might be saving stuff I checked back many minutes later on many >> > days and cycles and it was always there. Moreover, when normally >> > using Firefox I'd seen 103%, 104% CPU usage etc. >> >> I commonly also find a "stray" firefox running after stopping firefox, >> and it isn't using a window either. it's a nuisance because, when >> there's a firefox update and it wants to restart the browser, it can't >> because there's that darn "stray" one hanging around. Another Firefox "funny" to be aware of occurs if you have a $HOME shared between multiple machines. Firefox will refuse to start on the second machine whilst the first is running Firefox, it believes that there is already an instance running. Rebooting the second machine will not help. The quick-and-dirty way around this is to log in as a different user (and hence different $HOME) on the second machine. This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. QinetiQ may monitor email traffic data and also the content of email for the purposes of security. QinetiQ Limited (Registered in England & Wales: Company Number: 3796233) Registered office: Cody Technology Park, Ively Road, Farnborough, Hampshire, GU14 0LX http://www.qinetiq.com. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos