[CentOS-docs] Article for wiki consideration
I've recently documented simple use of a VServer with CentOS host and guest. toracat@ said that it might be worthwhile putting on the wiki. The present article is located at http://home.nyc.rr.com/computertaijutsu/vserver.html If it does get to the wiki, I would remove the fedora section and also add a notice at the beginning of the article with dire warnings about using a non-stock kernel. (I would probably copy the warning on red background from http://wiki.centos.org/HowTos/Custom_Kernel) Thank you for your consideration. Sincerely, -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Faith: You can't trust guys. Buffy: You can trust some guys. Really, I've read about them. ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] Article for wiki consideration
On Tue, May 27, 2008 at 1:12 PM, Scott Robbins [EMAIL PROTECTED] wrote: I've recently documented simple use of a VServer with CentOS host and guest. toracat@ said that it might be worthwhile putting on the wiki. The present article is located at http://home.nyc.rr.com/computertaijutsu/vserver.html If it does get to the wiki, I would remove the fedora section and also add a notice at the beginning of the article with dire warnings about using a non-stock kernel. (I would probably copy the warning on red background from http://wiki.centos.org/HowTos/Custom_Kernel) Thank you for your consideration. Sincerely, -- Scott Robbins Ralph, If / when you set up this page and give edit rights to Scott, could you also add him to http://wiki.centos.org/HowTos/KVM ? He wrote that article but was too shy (lazy?) to claim that. :-) Akemi / toracat ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
[CentOS-docs] Re: Article for wiki consideration
On Tue, May 27, 2008 at 04:12:59PM -0400, Scott Robbins wrote: I overlooked the instructions to include my username. Below is a copy of what I sent today--with user name included. :) I've recently documented simple use of a VServer with CentOS host and guest. toracat@ said that it might be worthwhile putting on the wiki. The present article is located at http://home.nyc.rr.com/computertaijutsu/vserver.html If it does get to the wiki, I would remove the fedora section and also add a notice at the beginning of the article with dire warnings about using a non-stock kernel. (I would probably copy the warning on red background from http://wiki.centos.org/HowTos/Custom_Kernel) My wiki user name is Scott Robbins Thank you for your consideration. Sincerely, -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Xander: Okay, this is starting to grate my cheese. These woods aren't that big. Now, I know we've beein going straight because I've been following the North Star. Willow: Xander, that's not the North Star. It's an airplane. Xander: No, that's not an airplane. That's definitely...a blimp. But I can see how one would make that airplane mistake. ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
[CentOS-es] Nombre del paquete de desarrollo de la biblioteca de C
Estimados ¿Cómo se llama el paquete de desarrollo de la biblioteca de C en CentOS? Quiero instalarlo pero no se como se llama. Gracias por los aportes. Saludos cordiales, Hector Martínez R. La información contenida en esta transmisión es confidencial y no puede ser usada o difundida por personas distintas a su(s) destinatario(s). El uso no autorizado de la información contenida en este correo puede ser sancionado criminalmente de conformidad con la Ley Chilena. Si ha recibido un correo por error, por favor destrúyalo y notifique al remitente. El Departamento de Informática del Ministerio de Educación le recomienda, para el buen desempeño de su correo, lo siguiente: - Revise su correo diariamente - Pida confirmación de los correos que envía - Oriéntese de las buenas practicas en el uso del correo ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
RE: [CentOS] Re: memorial day kernel panic
sbeam wrote: On Tuesday 27 May 2008 11:39, Scott Silva wrote: Running memtest for 24 hours should be enough to test the ram. A 3ware 7006 is a fairly old card. Does it have the latest bios available from 3ware? You could always eliminate the 3ware controller by installing a drive on whatever built in controller it has. this is a production server, so running an extended memtest not going to happen. But I can swap it out and put it in a backup system to do the test. It's beginning to look a lot like a RAM issue as I have now seen a couple segfaults from programs that have always run fine. Every kernel panic message is different (crashed again 1 hour ago). Fans and case temp are nominal. the 3ware card was just purchased last month, it has the latest firmware and bios installed. the memory is from PQI - supposed to be an OK brand right? it has a lifetime warranty... heh next steps... HA and fault-tolerant clustering, per the adjacent thread... this is the cautionary tale come to life. It would be great if there were a simple machine that you could plug a bunch of dimms of varying types into and it will perform high-speed tests on them continuously and flag ones that show an error. Then you could test all memory modules thoroughly before putting them into production servers (or any server for that matter). -Ross __ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: memorial day kernel panic
this is a production server, so running an extended memtest not going to happen. But I can swap it out and put it in a backup system to do the test. It's beginning to look a lot like a RAM issue as I have now seen a couple segfaults from programs that have always run fine. Every kernel panic message is different (crashed again 1 hour ago). Fans and case temp are nominal Some Tyan boards are known as being very picky with RAM. If you want to avoid problems, you should really stick to the types listed in Tyan's memory compatibility list. Perhaps the same can be said about any board today. It seems that the times of generic RAM are gone. See Tyan's web site. I have a Tyan board that several times destroyed a DIMM or two upon reboot, and only upon reboot. It did not happen during operation or when doing a hard reboot. No virus found in this outgoing message. Checked by AVG. Version: 8.0.100 / Virus Database: 269.24.1/1469 - Release Date: 27-05-2008 13:25 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] USB modem on centos
I am playing with a USR (us robotics) USB modem model 5637. in the past I used internal modems and had no issues. One this unit I plugged it in, dmesg says its recogized. I did ln -s /dev/ttyACM0 /dev/ttyS4 this works. I then did cu -l /dev/ttyS4 type AT and I get OK... looking good. When I ATDT my number I get a connection at 1200 baud (which I should) and funny characters... I thought looks like a parity thing. I then did cu -e -l /dev/ttyS4 type AT and I get OK... Now when I do ATDT my number I get a connection at 1200 baud and I get readable characters. In the past internal PCI modems I never had to do anything special, just the cu -l /dev/ttyS4. I thought modem to modem handled all that speed/parity stuff and computer to modem just always worked given the correct baud rate. Does anyone know what the issue might be here. The reason I am asking is my program that talks to the modems (computer to modem) has always been setup for 8 data no parity and has always worked. When I use my program on the USB modem it is not working and I assumed from the parity issue above using cu to demonstrate. When I change my program to be 7 data bits and even parity it still did not work. Was wondering if anyone had any USB modem experience on centos and might know what is going on? Thanks, Jerry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: memorial day kernel panic
Ross S. W. Walker wrote: It would be great if there were a simple machine that you could plug a bunch of dimms of varying types into and it will perform high-speed tests on them continuously and flag ones that show an error. Then you could test all memory modules thoroughly before putting them into production servers (or any server for that matter). and DIMMs could pass that hardware tester and still fail in a production server due to differences in timing, capacitive/inductive signal load, etc. especially sensitive are systems that use dual bank interleaving on a single memory bus. actually, said machines DO exist, known as ATE (Automatic Test Equipment) but they cost $1M's ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Strange slapd behavior...
Hi Are you using nss_ldap on that server? have you modified /etc/nsswitch.conf? If that's the case try adding the following line to /etc/ldap.conf nss_initgroups_ignoreusers root,ldap Best. --- El mar 27-may-08, Stjepan Gros lt;[EMAIL PROTECTED]gt; escribió: De:: Stjepan Gros lt;[EMAIL PROTECTED]gt; Asunto: [CentOS] Strange slapd behavior... A: centos@centos.org Fecha: martes, 27 mayo, 2008, 10:56 am Hi all, I have problems on one CentOS 4.6 with slapd. Namely, after trying to start it (via /etc/init.d/ldap start) it waits for very long in configuration check. Interestingly, when I try to start it manually, but without -u ldap option it starts immediately. What puzzles me more is the use of NETLINK socket when started with -u option that doesn't appear in strace output without using the option. I did grep through the source of the openldap for NETLINK but nothing was found. Can someone shed some lite on what's happening? Thanks, Stjepan ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Yahoo! Deportes Beta ¡No te pierdas lo último sobre el torneo clausura 2008! Entérate aquí http://deportes.yahoo.com___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS-Samba question
On Sun, May 25, 2008 at 3:38 AM, Christopher Chan [EMAIL PROTECTED] wrote: Do they should up if you run the command below in the Linux host? smbclient -L //localhost I'm guessing you meant show up and yes, everything looks normal, but only if I use a -U option with a known user. Is there a way to allow printer access without a user login? Not even the home share? Have you created a machine account for the XP guest? Not sure what a machine account is - there is a user account on the host that has the same user name and password as the one on the guest. Thanks. mhr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: memorial day kernel panic {Scanned}
Scott Silva wrote: on 5-27-2008 10:16 AM Ross S. W. Walker spake the following: sbeam wrote: On Tuesday 27 May 2008 11:39, Scott Silva wrote: Running memtest for 24 hours should be enough to test the ram. A 3ware 7006 is a fairly old card. Does it have the latest bios available from 3ware? You could always eliminate the 3ware controller by installing a drive on whatever built in controller it has. this is a production server, so running an extended memtest not going to happen. But I can swap it out and put it in a backup system to do the test. It's beginning to look a lot like a RAM issue as I have now seen a couple segfaults from programs that have always run fine. Every kernel panic message is different (crashed again 1 hour ago). Fans and case temp are nominal. the 3ware card was just purchased last month, it has the latest firmware and bios installed. the memory is from PQI - supposed to be an OK brand right? it has a lifetime warranty... heh next steps... HA and fault-tolerant clustering, per the adjacent thread... this is the cautionary tale come to life. It would be great if there were a simple machine that you could plug a bunch of dimms of varying types into and it will perform high-speed tests on them continuously and flag ones that show an error. Then you could test all memory modules thoroughly before putting them into production servers (or any server for that matter). That is why a good long burn in test is a worthwhile thing to plan for. That is unless you need to rush a replacement server out quickly. Yes, but even then, with say 16GB or 32GB of memory it happens that some errors just fall through the cracks. I usually run memtest86 for 48 hours, and then run a burn in test with some load. There are simple machines for testing memory, but they tend to be very expensive and time consuming. Manufacturers can't take the time to do thorough memory tests before they ship, so they usually do some quick go-nogo tests and depend on their warranty dept. to do the hard tests. I don't think it would pay for anyone to buy one of these testers, unless you are a very large var like Dell or HP. It is easier (and probably cheaper) to just send new ram out and send the returns back to your supplier for them to check. I actually found a memory testing system for around $4K, yes it's about the cost of a well equiped server, but if it works well it should earn it's keep pretty quick. It's called RAMCHECK, I priced out the DDR/DDR2 unit, but there is add-ons for SODIMM, SDRAM, EDO, if you got it fully loaded I suspect it would be around $5K. Company's called Innovations http://www.memorytesters.com/ They're Government registered and CDW seems to resell it, so it isn't completely suspect. -Ross __ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Fault tolerance with webservers
Interested in this discussion too, for reasons recently discussed... On Tuesday 27 May 2008 09:07, Fajar Priyanto wrote: For a starter, there is a very simple tool for this. It's http://www.inlab.de/balance.html 2. RedHat Cluster Suite dan Piranha (http://www.redhat.com) 3. Linux Virtual Server (http://www.linuxvirtualserver.org) Do all of these (or IPVS or Cluster Suite/GFS) take care of real-time sharing of storage (sessions, database, files, logs) between all nodes? For a LAMP or JEE or any other HTTP stack serving anything but readonly static files, this is usually a requirement. GFS is for sharing filesystem I know and there are howtos. So would you put Balance or LVS on top of GFS, or... Would HA/DRBD be on the short list? http://www.drbd.org/ in our case we have a two-node cluster anyway so this seems like the most straightforward option. Or would something else be superior, more up-to-date? Sam ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: memorial day kernel panic
on 5-27-2008 11:24 AM sbeam spake the following: On Tuesday 27 May 2008 13:16, Miguel Medalha wrote: Some Tyan boards are known as being very picky with RAM. If you want to avoid problems, you should really stick to the types listed in Tyan's memory compatibility list. hmm. well the spec sheet just says unbuffered DDR 266/200 and that is what we got. I never noticed there was a list of recommended memory, but your comment made me look and I found one. PQI is not on the list :( But... we had a similar system with the same mobo and ram stick - only one 512M, not 2x1G like these - that was running for years with nary a hiccup until the disks died. The one we are having problems with was its upgrade/replacement. Maybe this is a problem though. thanks Sam Just because memory has a lifetime warranty doesn't mean that it is guaranteed to not be bad on arrival, or to not fail quickly. It just means they will send you new ones if they break. It does happen, and more often then you might think. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Strange slapd behavior...
On Tue, May 27, 2008 at 7:50 PM, Ramon Nieto [EMAIL PROTECTED] wrote: Hi Are you using nss_ldap on that server? have you modified /etc/nsswitch.conf? If that's the case try adding the following line to /etc/ldap.conf nss_initgroups_ignoreusers root,ldap Thanks, that solved all the problems! Stjepan Best. --- El mar 27-may-08, Stjepan Gros [EMAIL PROTECTED] escribió: De:: Stjepan Gros [EMAIL PROTECTED] Asunto: [CentOS] Strange slapd behavior... A: centos@centos.org Fecha: martes, 27 mayo, 2008, 10:56 am Hi all, I have problems on one CentOS 4.6 with slapd. Namely, after trying to start it (via /etc/init.d/ldap start) it waits for very long in configuration check. Interestingly, when I try to start it manually, but without -u ldap option it starts immediately. What puzzles me more is the use of NETLINK socket when started with -u option that doesn't appear in strace output without using the option. I did grep through the source of the openldap for NETLINK but nothing was found. Can someone shed some lite on what's happening? Thanks, Stjepan ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Yahoo! Deportes Beta ¡No te pierdas lo último sobre el torneo clausura 2008! Entérate aquí http://deportes.yahoo.com ___ 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] smp falls back to up mode on quad core
Hi, I'm running Centos 5.1 on an Intel Quad 2 Core with four Q6600 processors. Despite Centos 5 supporting multiple cores (SPM), it doesn't seem to work for me: 1) a dmesg shows that only one processor is seen: SPM alternatives: switching to UP code, etc. 2) file /proc/cpuinfo shows only one processor 3) top with option 1 (to toggle between seeing all processors or an average) shows only 1 processor. I've googled this, and other people have found this kind of trouble, but I was not able to find any solutions. By the way: I've installed windows xp to see if it was a bios problem, but windows sees the 4 processors just fine. Any ideas? Thanks, Julian. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] smp falls back to up mode on quad core
Sure, find below, I add other stuff as well. Note that there is some bug in the Bios. This does not prevent Centos to boot, and, since Windows sees all four processors, I reckon it shouldn't be the problem...? uname -a Linux localhost.localdomain 2.6.18-53.1.21.el5PAE #1 SMP Tue May 20 10:03:06 EDT 2008 i686 i686 i386 GNU/Linux cat /proc/cpuinfo processor: 0 vendor_id: GenuineIntel cpu family: 6 model: 15 model name: Intel(R) Core(TM)2 Quad CPUQ6600 @ 2.40GHz stepping: 11 cpu MHz: 2400.184 cache size: 4096 KB physical id: 0 siblings: 1 core id: 0 cpu cores: 1 fdiv_bug: no hlt_bug: no f00f_bug: no coma_bug: no fpu: yes fpu_exception: yes cpuid level: 10 wp: yes flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc up pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm bogomips: 4802.08 * dmesg Linux version 2.6.18-53.1.21.el5PAE ([EMAIL PROTECTED]) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Tue May 20 10:03:06 EDT 2008 BIOS-provided physical RAM map: BIOS-e820: - 0009fc00 (usable) BIOS-e820: 0009fc00 - 000a (reserved) BIOS-e820: 000e - 0010 (reserved) BIOS-e820: 0010 - cf213000 (usable) BIOS-e820: cf213000 - cf215000 (reserved) BIOS-e820: cf215000 - cf2c8000 (usable) BIOS-e820: cf2c8000 - cf3e5000 (ACPI NVS) BIOS-e820: cf3e5000 - cf3e8000 (usable) BIOS-e820: cf3e8000 - cf3f3000 (ACPI data) BIOS-e820: cf3f3000 - cf3f4000 (usable) BIOS-e820: cf3f4000 - cf3ff000 (ACPI data) BIOS-e820: cf3ff000 - cf40 (usable) BIOS-e820: cf40 - d000 (reserved) BIOS-e820: f000 - f800 (reserved) BIOS-e820: fff0 - 0001 (reserved) BIOS-e820: 0001 - 00012c00 (usable) 3904MB HIGHMEM available. 896MB LOWMEM available. found SMP MP-table at 000fe200 Memory for crash kernel (0x0 to 0x0) notwithin permissible range disabling kdump NX (Execute Disable) protection: active On node 0 totalpages: 1228800 DMA zone: 4096 pages, LIFO batch:0 Normal zone: 225280 pages, LIFO batch:31 HighMem zone: 999424 pages, LIFO batch:31 DMI 2.4 present. Using APIC driver default Intel MultiProcessor Specification v1.4 Virtual Wire compatibility mode. OEM ID: Product ID: APIC at: 0xFEE0 Processor #0 6:15 APIC version 20 Enabling APIC mode: Flat. Using 0 I/O APICs BIOS bug, no explicit IRQ entries, using default mptable. (tell your hw vendor) Processors: 1 Allocating PCI resources starting at d200 (gap: d000:2000) Detected 2400.184 MHz processor. Built 1 zonelists. Total pages: 1228800 Kernel command line: ro root=/dev/VolGroup00/LogVol00 acpi=off rhgb quiet mapped APIC to d000 (fee0) Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 CPU 0 irqstacks, hard=c074 soft=c072 PID hash table entries: 4096 (order: 12, 16384 bytes) Console: colour VGA+ 80x25 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 4067796k/4915200k available (2078k kernel code, 46260k reserved, 859k data, 220k init, 3197740k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 4802.08 BogoMIPS (lpj=2401041) Security Framework v1.0.0 initialized SELinux: Initializing. SELinux: Starting in permissive mode selinux_register_security: Registering secondary module capability Capability LSM initialized as secondary Mount-cache hash table entries: 512 CPU: After generic identify, caps: bfebfbff 2010 e3bd 0001 CPU: After vendor identify, caps: bfebfbff 2010 e3bd 0001 monitor/mwait feature present. using mwait in idle threads. CPU: L1 I cache: 32K, L1 D cache: 32K CPU: L2 cache: 4096K CPU: Physical Processor ID: 0 CPU: Processor Core ID: 0 CPU: After all inits, caps: bfebfbff 2010 0940 e3bd 0001 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. Checking 'hlt' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 13k freed CPU0: Intel(R) Core(TM)2 Quad CPU
Re: [CentOS] Centosplus vmware kernels....???
On Tue, May 27, 2008 at 1:07 PM, Tom Bishop [EMAIL PROTECTED] wrote: OK, so I need to bring up a new vm and was wondering what the state of vm kernels for centos. I have read this http://bugs.centos.org/view.php?id=2189 about the tick divider but it wasn't clear what the best step forward is for centos 5.1 was, i usually ran with the clocksource=pit option and it looked like that and the divider option caused a problem. I have in the past compiled my own but was wondering what others were now doing, thanks in advance 8-) Thanks to Tru, kernel-vm is all up-to-date and you can find it here: http://people.centos.org/tru/kernel-vm/ and yes, using the clocksource=pit option should not be an issue with these kernels. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: memorial day kernel panic
On Tue, 2008-05-27 at 14:24 -0400, sbeam wrote: On Tuesday 27 May 2008 13:16, Miguel Medalha wrote: Some Tyan boards are known as being very picky with RAM. If you want to avoid problems, you should really stick to the types listed in Tyan's memory compatibility list. hmm. well the spec sheet just says unbuffered DDR 266/200 and that is what we got. I never noticed there was a list of recommended memory, but your comment made me look and I found one. PQI is not on the list :( But... we had a similar system with the same mobo and ram stick - only one 512M, not 2x1G like these - that was running for years with nary a hiccup until the disks died. The one we are having problems with was its upgrade/replacement. Maybe this is a problem though. I recently had a problem upgrading to 2x1GB PC3200 ( DDR 400) in one of my home units. Ultimate solution: tweaked the DRAM voltage to 2.7 volts. Took a long time because I didn't want to fry the DIMMS and there were no specs anywhere that specified the voltage. But, my *deduced* solution is that the greater capacity at max frequency needed higher voltage to drive the increased speed/capacity (was PC2700 @ 1GB). Might work for you. And of course, YMMV, you keep the pieces, etc. thanks Sam snip sig stuff HTH -- Bill ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to move my MBR
Scott Moseman wrote: The BIOS determines which disk (the first) will be chosen to boot from. I have no problems configuring the boot order in the BIOS. I must have the MBR on /dev/hdc (which is being removed). The /boot partition is on /dev/sda (where I want to move MBR). To make a plain bootsector copy: dd if=/dev/sda of=/dev/sdb bs=512 count=1 sda = old MBR source and sdb = new MBR source, I assume? So, in my instance, I'm going to want to run it in this syntax: dd if=/dev/hdc of=/dev/sda bs=512 count=1 I'm assuming the first 512 bytes are allocated purely for MBR and won't hold any data that could be overwritten? Would that be true? It is not guaranteed to be true. Every disc has an MBR. The MBR has three fields (depending on how one counts, some say two). One field is the code area, another is the Partition Table (PT) and the third is the Boot Marker (some include this in the PT). You don't want to copy the PT from one disc to another. Copying all 512 bytes will overwrite the PT. Mike -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I can explain it for you, but I can't understand it for you. I speak only for myself, and I am unanimous in that! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to move my MBR
Scott Moseman wrote: I copied over the MBR from hdc to sda. I found a 4.4 LiveCD, but apparently its damaged so it wouldn't boot. I attempted to put everything back and when I rebooted it went into a GRUB screen instead of a normal boot. I had no idea how to get it to boot from there, so instead of taking the time to figure it out, I decided it was time to make the plunge to CentOS 5. So I'm now on CentOS 5 and my old /home hard drive is completely history. :) You likely overwrote your PT. See my other post. If you can recover your PT, you'll likely get your data back. Before fiddling like this always (1) make a complete backup of your system (2) display and archive your PTs using fdisk or similar (3) make complete copies of your MBRs on each disc, and BRs for each partition. Mike -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I can explain it for you, but I can't understand it for you. I speak only for myself, and I am unanimous in that! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centosplus vmware kernels....???
Akemi Yagi wrote: On Tue, May 27, 2008 at 1:07 PM, Tom Bishop [EMAIL PROTECTED] wrote: OK, so I need to bring up a new vm and was wondering what the state of vm kernels for centos. I have read this http://bugs.centos.org/view.php?id=2189 about the tick divider but it wasn't clear what the best step forward is for centos 5.1 was, i usually ran with the clocksource=pit option and it looked like that and the divider option caused a problem. I have in the past compiled my own but was wondering what others were now doing, thanks in advance 8-) Thanks to Tru, kernel-vm is all up-to-date and you can find it here: http://people.centos.org/tru/kernel-vm/ and yes, using the clocksource=pit option should not be an issue with these kernels. Akemi So if I understand this correctly, one should not be using a stock kernel when running inside a vm, but should use the kernel-vm kernel? Russ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Xen tools
I have been playing around with Citrix XenServer Express. It seems pretty cool, and mostly meets my needs, except that the Express (Free) version only supports up to 4GB of RAM. I have 8GB on my machines. Since XenServer is based on Xen, I should be able to just install a base install of CentOS and use a third party management client to get all (most?) of the functionality of the XenServer without having to be limited to 4GB of RAM. Can someone recommend tools that I can use to manage the Xen hosts? I see there is Ganeti, but that seems to be linux only. I would prefer a windows or a web client, as I intend to have the actual Xen hosts be as stripped down installation as possible. As far as being able to utilize 8GB in CentOS do I need to install the x86_64 version, or is there some sort of AWE support? I remember reading that x86_64 version has some compatibility issues. Thanks in advance, Russ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centosplus vmware kernels....???
On Tue, May 27, 2008 at 3:33 PM, Ruslan Sivak [EMAIL PROTECTED] wrote: Akemi Yagi wrote: On Tue, May 27, 2008 at 1:07 PM, Tom Bishop [EMAIL PROTECTED] wrote: OK, so I need to bring up a new vm and was wondering what the state of vm kernels for centos. I have read this http://bugs.centos.org/view.php?id=2189 about the tick divider but it wasn't clear what the best step forward is for centos 5.1 was, i usually ran with the clocksource=pit option and it looked like that and the divider option caused a problem. I have in the past compiled my own but was wondering what others were now doing, thanks in advance 8-) Thanks to Tru, kernel-vm is all up-to-date and you can find it here: http://people.centos.org/tru/kernel-vm/ and yes, using the clocksource=pit option should not be an issue with these kernels. Akemi So if I understand this correctly, one should not be using a stock kernel when running inside a vm, but should use the kernel-vm kernel? Russ You *can* run the distro kernel inside a vm. The CentOS bug entry referred to by the original poster explains in great details why a kernel with 100hz clock rate (kernel-vm) gives you improved performance compared to the distro standard kernel (1000hz) and handles clock drifts better. Recent distro kernels offer a new kernel option divider= that lets you reduce the clock rate. This should eventually eliminate the need for the kernel-vm. However, at the moment, the divider= option has a bug that causes problems when it is combined with clocksource=pit. And the timer pit is often used when the system clock tends to go faster. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] smp falls back to up mode on quad core
Thanks. I'll try the acpi thing. Regarding the Bios, I've got the last version. Kubuntu has no problems either to see the 4 cores... I'll see what I can do tomorrow. On Tue, May 27, 2008 at 6:29 PM, MHR [EMAIL PROTECTED] wrote: On Tue, May 27, 2008 at 1:41 PM, John R Pierce [EMAIL PROTECTED] wrote: Julian Echave wrote: Sure, find below, I add other stuff as well. Note that there is some bug in the Bios. This does not prevent Centos to boot, and, since Windows sees all four processors, I reckon it shouldn't be the problem...? yeah, looks like its probably broken ACPI data in the BIOS. see if the mainboard or system vendor has a BIOS update to fix this. just because operating system X works, doesn't mean its 'right'. You can try adding 'noacpi' to your boot string in your grub.conf file and see if that helps. I have an AMD Athlon 64 x2 on an ECS mobo that is known to have a problem with acpi. If I try to run without the noacpi switch, it runs very poorly and crashes or halts within minutes of booting, if it boots at all. With the flag, it runs smooth as silk. mhr ___ 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] FireFox
Can anyone tell me if there are plans to update Firefox to the new 3.0 for Centos 4.5? Seems like only the 1.5 version has been placed in the repos and I think it should be time for an upgrade. If I'm looking in the wrong place let me know also. Thnx. -- Regards Robert Smile... it increases your face value! Linux User #296285 http://counter.li.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FireFox
On Tue, May 27, 2008 at 5:22 PM, Robert Spangler [EMAIL PROTECTED] wrote: Can anyone tell me if there are plans to update Firefox to the new 3.0 for Centos 4.5? Seems like only the 1.5 version has been placed in the repos and I think it should be time for an upgrade. If I'm looking in the wrong place let me know also. Thnx. It will depend upon if Red Hat will release a version for Red Hat Enterprise Linux. The best bet will be that they will not release it until RHEL-4.7 goes into beta testing. -- Stephen J Smoogen. -- BSD/GNU/Linux How far that little candle throws his beams! So shines a good deed in a naughty world. = Shakespeare. The Merchant of Venice ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: FireFox
on 5-27-2008 4:22 PM Robert Spangler spake the following: Can anyone tell me if there are plans to update Firefox to the new 3.0 for Centos 4.5? Seems like only the 1.5 version has been placed in the repos and I think it should be time for an upgrade. If I'm looking in the wrong place let me know also. Thnx. I wouldn't count on it. CentOS 4 (now at 4.6) is in maintenance only mode, and unless someone adds it to plus, I doubt it will make it in. From the CentOS wiki; quote How long will CentOS-4 updates be supported? We intend to support CentOS-4 updates until Feb 29, 2012. The current plan is this: Full Updates (including hardware updates): Currently to Feb 29, 2008 Maintenance Updates: Mar 1, 2008 to Feb 29, 2012 Full Updates - During the Full Updates phase, new hardware support will be provided at the discretion of CentOS via Update Sets. Additionally, all available and qualified errata will be provided via Update Sets (or individually {and immediately} for Security level errata.) Update Sets normally will be released 2-4 times per year, with new ISOs released as part of each Update Set. In the 4.x numbering scheme, the .x is the number of the Update Set. Maintenance Updates - During the Maintenance updates phase, only Security errata and select mission critical bug fixes will be released. There will be few, if any, Update Sets released. /quote -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS-Samba question
MHR wrote: On Sun, May 25, 2008 at 3:38 AM, Christopher Chan [EMAIL PROTECTED] wrote: Do they should up if you run the command below in the Linux host? smbclient -L //localhost I'm guessing you meant show up and yes, everything looks normal, but only if I use a -U option with a known user. Is there a way to allow printer access without a user login? Try adding 'guest ok = yes' to the printer share configuration. Not even the home share? Have you created a machine account for the XP guest? Not sure what a machine account is - there is a user account on the host that has the same user name and password as the one on the guest. ...I think you need to pick a bit more on Windows networking...more reading of the books/documentation provided with samba should help. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FireFox
On Tuesday 27 May 2008 19:31, Stephen John Smoogen wrote: On Tue, May 27, 2008 at 5:22 PM, Robert Spangler [EMAIL PROTECTED] wrote: Can anyone tell me if there are plans to update Firefox to the new 3.0 for Centos 4.5? Seems like only the 1.5 version has been placed in the repos and I think it should be time for an upgrade. If I'm looking in the wrong place let me know also. Thnx. It will depend upon if Red Hat will release a version for Red Hat Enterprise Linux. The best bet will be that they will not release it until RHEL-4.7 goes into beta testing. Can I use one out of the Fedora's repos? If so, which repo? -- Regards Robert Smile... it increases your face value! Linux User #296285 http://counter.li.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS-Samba question
On Tue, May 27, 2008 at 4:51 PM, Christopher Chan [EMAIL PROTECTED] wrote: Try adding 'guest ok = yes' to the printer share configuration. I will - thanks. ...I think you need to pick a bit more on Windows networking...more reading of the books/documentation provided with samba should help. Definitely - I'm working on that in my copious (gales of laughter) spare time, along with the other two or three hundred projects :-) mhr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Fault tolerance with webservers
sbeam wrote: Interested in this discussion too, for reasons recently discussed... On Tuesday 27 May 2008 09:07, Fajar Priyanto wrote: For a starter, there is a very simple tool for this. It's http://www.inlab.de/balance.html 2. RedHat Cluster Suite dan Piranha (http://www.redhat.com) 3. Linux Virtual Server (http://www.linuxvirtualserver.org) Do all of these (or IPVS or Cluster Suite/GFS) take care of real-time sharing of storage (sessions, database, files, logs) between all nodes? For a LAMP or JEE or any other HTTP stack serving anything but readonly static files, this is usually a requirement. GFS is for sharing filesystem I know and there are howtos. So would you put Balance or LVS on top of GFS, or... Would HA/DRBD be on the short list? http://www.drbd.org/ in our case we have a two-node cluster anyway so this seems like the most straightforward option. Or would something else be superior, more up-to-date? Sam I think for a two nodes with real time storage sharing heartbeat / drbd would offer what you want. There's a pretty simple how to on the centos wiki to get you up and running. I've not really used the RedHat cluster suite, but I 'think' it can offer a similar solution. http://wiki.centos.org/HowTos/Ha-Drbd -Ross- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centosplus vmware kernels....???
Thanks much, I have in the past compiled my own but thought I would check. A big THANKS to whoever provides them... On Tue, May 27, 2008 at 3:17 PM, Akemi Yagi [EMAIL PROTECTED] wrote: On Tue, May 27, 2008 at 1:07 PM, Tom Bishop [EMAIL PROTECTED] wrote: OK, so I need to bring up a new vm and was wondering what the state of vm kernels for centos. I have read this http://bugs.centos.org/view.php?id=2189 about the tick divider but it wasn't clear what the best step forward is for centos 5.1 was, i usually ran with the clocksource=pit option and it looked like that and the divider option caused a problem. I have in the past compiled my own but was wondering what others were now doing, thanks in advance 8-) Thanks to Tru, kernel-vm is all up-to-date and you can find it here: http://people.centos.org/tru/kernel-vm/ and yes, using the clocksource=pit option should not be an issue with these kernels. 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
[CentOS] Secure iptables settings
Is it feasible to write protect the /etc/sysconfig/iptables file so nothing can overwrite it, such that at least the config is persistent through a reboot? If not, is there a better way to accomplish this? Thanks! jlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] clustered mail server?
On Sat, 2008-05-17 at 19:23 +0100, Karanbir Singh wrote: I've started liking roundcube a bit more than squirrelmail. but roundcube is very basic. SquirrelMail has a *LOT* of plugins and can be made to do almost anything these days. And the community around squirrelmail is much larger than roundcube. I recently started using RoundCube, and I like it primarily because it has an awesome interface (compared to other web mail options in F/OSS world). I agree that SquirrelMail is still much more functional. With so many plugins, users and better support, it's just about always the best option. Having said that, I'm going to stick with RoundCube. If SquirrelMail ever gets a total interface overhaul, I'll most likely go back to it. Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.22.14-72.fc6 i686 GNU/Linux 21:30:46 up 31 days, 15:26, 2 users, load average: 0.62, 0.54, 0.46 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FireFox
On Tue, 2008-05-27 at 17:19 -0700, MHR wrote: On Tue, May 27, 2008 at 5:02 PM, Robert Spangler [EMAIL PROTECTED] wrote: Can I use one out of the Fedora's repos? If so, which repo? You can just pull down the latest version from mozilla.org - they're pretty good about compatibility. I'd try it out in a different install directory, though, just to be sure, but you can always uninstall it and re-load the release version if it doesn't work right for you. I chose not to uninstall the distributed one. I unpackaed the 3.0rc1 tarball in the $HOME of a user and run it from there. ]$ ls -l bin/firefox lrwxrwxrwx 1 hardtolove hardtolove 32 May 21 13:07 bin/firefox - /home/hardtolove/firefox/firefox Then, modify PATH assignment in ~/.bash_profile to something like this $ echo $PATH /home/hardtolove/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin This lets all other users get the box-stock version while I test the new one. So far it's looking pretty good. mhr snip sig stuff HTH -- Bill ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centosplus vmware kernels....???
Ruslan Sivak wrote: Thanks to Tru, kernel-vm is all up-to-date and you can find it here: http://people.centos.org/tru/kernel-vm/ and yes, using the clocksource=pit option should not be an issue with these kernels. Akemi So if I understand this correctly, one should not be using a stock kernel when running inside a vm, but should use the kernel-vm kernel? It depends on the host hardware and OS - many combinations have trouble servicing the 1000hz guest clock which has to be simulated in software. Also, some host systems have variable speed CPUs controlled by power managment which throws off the guests: http://kb.vmware.com/selfservice/microsites/search.do?language=en_UScmd=displayKCexternalId=1591 -- Les Mikesell [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re:Re: [CentOS] why there is no liblua5.1.so in /usr/lib?
Thanks.I have resolve it by using your method. 在2008-05-27,noro [EMAIL PROTECTED] 写道: hi, i installed mod_security2.5.4 i installed lua and liblua from epel repo http://download.fedora.redhat.com/pub/epel/5/i386/repoview/L.group.html name of file is not: /usr/lib/liblua5.1.so but: liblua-5.1.so n. hello all: I want to install ModSecurity v2.5.4 in my system. I do the following setup to install the lua tar -xzvf lua-5.1.3.tar.gz cd lua-5.1.3/src make linux cd .. make install The ModSecurity ask me to add LoadFile /usr/lib/liblua5.1.so to the http.conf,but there is no liblua5.1.so in /usr/lib. I have search it and i didn't find the solution. Can any one tell me why there is no liblua5.1.so in /usr/lib Thanks for any reply. http://mail.163.com/hd/all/redirect/sos.htm 伊利525健康中国公益日 http://popme.163.com/link/004403_0526_654.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 mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bind Help
On Tue, May 27, 2008 at 11:12 AM, Joseph L. Casale [EMAIL PROTECTED] wrote: I wondered if I could include the external view in the first view, or I suppose I can simply copy the details from the second view into the first, but that forces me to keep it updated in two places... Use includes for the common parts. You create a common.inc or similar, and then include this file from both the internal and external view. When you have to change something in the common area, you just have to edit it in common.inc (except for the serial of the zones, which you will still have to increment in both.) IIRC the syntax is: $INCLUDE common.inc Please refer to bind documentation for more information on this statement. HTH, Filipe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] USB modem on centos
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jerry Geis Sent: Tuesday, May 27, 2008 1:43 PM To: CentOS ML Subject: [CentOS] USB modem on centos I am playing with a USR (us robotics) USB modem model 5637. in the past I used internal modems and had no issues. One this unit I plugged it in, dmesg says its recogized. I did ln -s /dev/ttyACM0 /dev/ttyS4 this works. I then did cu -l /dev/ttyS4 type AT and I get OK... looking good. When I ATDT my number I get a connection at 1200 baud (which I should) and funny characters... I thought looks like a parity thing. I then did cu -e -l /dev/ttyS4 type AT and I get OK... Now when I do ATDT my number I get a connection at 1200 baud and I get readable characters. In the past internal PCI modems I never had to do anything special, just the cu -l /dev/ttyS4. I thought modem to modem handled all that speed/parity stuff and computer to modem just always worked given the correct baud rate. Does anyone know what the issue might be here. The reason I am asking is my program that talks to the modems (computer to modem) has always been setup for 8 data no parity and has always worked. When I use my program on the USB modem it is not working and I assumed from the parity issue above using cu to demonstrate. When I change my program to be 7 data bits and even parity it still did not work. Was wondering if anyone had any USB modem experience on centos and might know what is going on? Thanks, Jerry - Why don't you try a different Init String like ATF. It maybe a driver issue also. You may need a ndis wrapper. Also it should be 8 none 1 Usb modems and for that fact NIC card don't really get along so good in Linux. JohnStanley ___ 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] Secure iptables settings
On Tue, May 27, 2008 at 9:33 PM, Joseph L. Casale [EMAIL PROTECTED] wrote: Is it feasible to write protect the /etc/sysconfig/iptables file so nothing can overwrite it, such that at least the config is persistent through a reboot? If not, is there a better way to accomplish this? chmod a=r /etc/sysconfig/iptables ??? chattr +i /etc/sysconfig/iptables ??? I really didn't understand what you are trying to accomplish. Please give more details, perhaps explain what problem are you trying to solve. Filipe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos