[CentOS-es] Ayuda Squid no arranca
Saludos me podrian ayudar e instalado el squid cinfigurandolo en modo convencional, me indica el siguiente error ya he instalado y desintalado el squid varias veces, y de todos modos me indica el mismo error service squid start Iniciando squid: /etc/init.d/squid: line 42: 3222 Abortado $SQUID $SQUID_OPTS /var/log/squid/squid.out 21 [FALLÓ] [root@host-190-95-198-58 squid]# more /var/log/squid/squid.out FATAL: Could not determine fully qualified hostname. Please set 'visible_hostna me' Squid Cache (Version 2.6.STABLE21): Terminated abnormally. CPU Usage: 0.006 seconds = 0.005 user + 0.001 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Ayuda Squid no arranca
visible hostname [nombre de host de tu server] Sls 2011/5/24 Roberto Chavez Caiche rocha...@hotmail.com Saludos me podrian ayudar e instalado el squid cinfigurandolo en modo convencional, me indica el siguiente error ya he instalado y desintalado el squid varias veces, y de todos modos me indica el mismo error service squid start Iniciando squid: /etc/init.d/squid: line 42: 3222 Abortado $SQUID $SQUID_OPTS /var/log/squid/squid.out 21 [FALLÓ] [root@host-190-95-198-58 squid]# more /var/log/squid/squid.out FATAL: Could not determine fully qualified hostname. Please set 'visible_hostna me' Squid Cache (Version 2.6.STABLE21): Terminated abnormally. CPU Usage: 0.006 seconds = 0.005 user + 0.001 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es -- Anthony Mogrovejo cel 01-995319333 Consultor IT Linux User # 433253 Ubuntu User # 9562 www.anferinux.blogspot.com www.kdetony.org twitter: @kde_tony ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Ayuda Squid no arranca
Coloca el nombre y la ip de tu servidor proxy (el que estas tratando de colocar en producciòn) en el archivo /etc/hosts, colocando la ip el nombre completo y el nombre corto... algo como la siguiente entrada: 10.10.10.4myproxy.mamaron.commyproxy. Saludos. Carlos R. 2011/5/24 Anthony Mogrovejo tony001...@gmail.com visible hostname [nombre de host de tu server] Sls 2011/5/24 Roberto Chavez Caiche rocha...@hotmail.com Saludos me podrian ayudar e instalado el squid cinfigurandolo en modo convencional, me indica el siguiente error ya he instalado y desintalado el squid varias veces, y de todos modos me indica el mismo error service squid start Iniciando squid: /etc/init.d/squid: line 42: 3222 Abortado $SQUID $SQUID_OPTS /var/log/squid/squid.out 21 [FALLÓ] [root@host-190-95-198-58 squid]# more /var/log/squid/squid.out FATAL: Could not determine fully qualified hostname. Please set 'visible_hostna me' Squid Cache (Version 2.6.STABLE21): Terminated abnormally. CPU Usage: 0.006 seconds = 0.005 user + 0.001 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 0 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es -- Anthony Mogrovejo cel 01-995319333 Consultor IT Linux User # 433253 Ubuntu User # 9562 www.anferinux.blogspot.com www.kdetony.org twitter: @kde_tony ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es -- Carlos Restrepo M. Administrador de Sistemas Profesional Linux LPI 101 - 102 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition
On 05/23/2011 12:24 PM, John R Pierce wrote: yes,butt SSD has to erase and write a LARGE block all at once, so they don't do so well with the sorts of 8k random writes that write intensive applications like relational databases commonly perform. Many SSD are faster at writing even to already used blocks than disk drives are. Still, to stay on topic, the suggestion that I put forth was to use the SSD for external journals for ext3 filesystems with journal=data. In that case, the OS should pretty much always be writing full blocks to the SSD, so there should be even less concern about small random writes. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] OT: wifi, phone, power in India and Malaysia
A not so technical friend in India is shopping for a laptop. He often travels and stays months in Malaysia and so needs to be able to use the laptop there as well. He typically connects to the internet via wifi, but sometimes must use a telephone line (yes, with a modem). And of course there will be times when he has to plug into mains power to recharge the battery. So to be able to fully use his future laptop in both India and Malaysia, I need to know: Are the wifi standards the same in both India and Malaysia? And will the same wifi card work in both countries? Similarly, will the modem work in both countries? And, too, is the mains power the same in India and Malaysia? If there is an incompatibility in any of these, what is the simplest resolution? I should probably get him an extended warranty also. Is there such a warranty which would allow him to have the laptop fixed in either country, depending upon where he happens to be? Am I overlooking any considerations? Thanks in advance for your sage experience. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: wifi, phone, power in India and Malaysia
On Tue, May 24, 2011 at 05:48:16AM -0400, ken wrote: Off-topic content trimmed. While I commend you on the use of the OT tag in the message's Subject I feel I have to ask... _why_ would you choose to post this here? I didn't see a single item that was even remotely on-topic for this list. Can't you locate a more appropriate list for this query? John -- The machine has got to be accepted, but it is probably better to accept it rather as one accepts a drug -- that is, grudgingly and suspiciously. Like a drug, the machine is useful, dangerous, and habit-forming. The oftener one surrenders to it the tighter its grip becomes. -- George Orwell (1903-1950), novelist pgpUwDhaTqw6R.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition
On 23 May 2011 11:04, John Hodrien j.h.hodr...@leeds.ac.uk wrote: On Mon, 23 May 2011, Rudi Ahlers wrote: Doesn't SATA and SAS drives also wear out? Not in such a clear way related to usage. You could have a SATA disk that you write to 24 hours a day and it could last for years. With an SSD, you'd be certain to kill your disk in months if you treated it like that. On the other hand, I'd imagine an SSD used for solely reads could last a *very* long time. i have been using an 8GB PATA interface SSD (mlc) for *years* now as the sole disc on a laptop running centos for several hours on a daily basis. Other than a noticeable slowdown once it got to the point of having to do the erase before write (that TRIM would alleviate though not on this drive) it is still way faster than the spinning drive it replaced. This laptop (Dell Latitude L400) also has only 256MB of RAM and runs a desktop so swap is used an awful lot. I now have a lot of SSDs in production and have only seen spinning discs go bad for no real reason (especially WD 3.5inch and hitachi 2,5inch for some reason) whereas the SSDs have been rock solid. Either i am just lucky or maybe the guys that were recommending several years ago using SSDs for the zil in super large ZFS disc storage setups were correct. :) Pretty soon extra large storage will be flash on PCIe - SSD -spinning discs as the data ages. Quite where it will then go to for really long term i'm not sure ?tape ?cloud. I can heartily recommend moving to SSD for OS / swap / cache / db especially when CentOS 6 comes out -though in order to use TRIM on non-swap partitions you will need to be using ext4 (no LVM) and have the discard option set. mike ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] [Thread Cop] [was: Re: OT: wifi, phone, power in India and Malaysia]
On 05/24/2011 06:17 AM John R. Dennison wrote: On Tue, May 24, 2011 at 05:48:16AM -0400, ken wrote: While I commend you on the use of the OT tag in the message's Subject... Thank you. I didn't see a single item that was even remotely on-topic for this list. Which is why it was labeled off-topic (OT:). Difficult to understand? Rather than getting your undies in a bunch, why not just hit the Delete button when you see a Subject line starting with OT:? Alternatively, there are a variety of ways to filter mail by the contents of the Subject line (and other parameters) programmatically. Do this and you'd never have to see an OT: labeled message again in your entire life. Judging from past experience, I guess we're now to enjoy three or four days of posts about OT posts (as opposed to perhaps four replies actually relevant to the original post). Finally, I'd suggest a list convention whereby if someone wishes to discuss/dispute tangential issues of this kind, they should prepend the words [Thread Cop] to the Subject line. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [Thread Cop] [was: Re: OT: wifi, phone, power in India and Malaysia]
Who pissed in your cornflakes this morning John? :-) Yeah the CentOS mailing list is for CentOS matters but nowhere in the list rules have I seen one that says we can't post off topic questions. Asking if the power in another country is compatible with yours (or a friend's) laptop is off-topic but still within the bounds of an acceptable tech question for a *technical* mailing list. -- Drew Nothing in life is to be feared. It is only to be understood. --Marie Curie This started out as a hobby and spun horribly out of control. -Unknown ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: wifi, phone, power in India and Malaysia
On 05/24/2011 10:48 AM, ken wrote: A not so technical friend in India is shopping for a laptop. try the iLUG mailing lists, there are some very clued up people there who would be able to give you better feedback than this list. I recommend the ilugc ( chennai ) list and the ilugd ( delhi ) lists. - KB ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition
On 5/23/2011 7:42 PM, Rudi Ahlers wrote: On Tue, May 24, 2011 at 1:30 AM, Kevin K kevi...@fidnet.com wrote: A SSD drive can be a SATA drive. SATA is the connection/protocol between the drive and the computer. Not quite. SATA is a type of drive, same as IDE / ATA, SCSI, SATA :) SATA is the connection. This is why you can have SATA hard drives and DVD drives. The same goes for IDE, SCSI, USB, and Firewire. They are connection types for accessing storage devices. They can connect to traditional hard drives, SSD drives, DVD drives, raid enclosures, etc. -- Bowie ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition
On Tue, May 24, 2011 at 3:51 PM, Bowie Bailey bowie_bai...@buc.com wrote: On 5/23/2011 7:42 PM, Rudi Ahlers wrote: On Tue, May 24, 2011 at 1:30 AM, Kevin K kevi...@fidnet.com wrote: A SSD drive can be a SATA drive. SATA is the connection/protocol between the drive and the computer. Not quite. SATA is a type of drive, same as IDE / ATA, SCSI, SATA :) SATA is the connection. This is why you can have SATA hard drives and DVD drives. The same goes for IDE, SCSI, USB, and Firewire. They are connection types for accessing storage devices. They can connect to traditional hard drives, SSD drives, DVD drives, raid enclosures, etc. -- Bowie ___ So what do you call an actual SATA HDD then It's still a SATA HDD, and it's still different from IDE, SCSI, SAS, SSD -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition
On 5/24/2011 10:05 AM, Rudi Ahlers wrote: On Tue, May 24, 2011 at 3:51 PM, Bowie Bailey bowie_bai...@buc.com wrote: On 5/23/2011 7:42 PM, Rudi Ahlers wrote: On Tue, May 24, 2011 at 1:30 AM, Kevin K kevi...@fidnet.com wrote: A SSD drive can be a SATA drive. SATA is the connection/protocol between the drive and the computer. Not quite. SATA is a type of drive, same as IDE / ATA, SCSI, SATA :) SATA is the connection. This is why you can have SATA hard drives and DVD drives. The same goes for IDE, SCSI, USB, and Firewire. They are connection types for accessing storage devices. They can connect to traditional hard drives, SSD drives, DVD drives, raid enclosures, etc. -- Bowie ___ So what do you call an actual SATA HDD then It's still a SATA HDD, and it's still different from IDE, SCSI, SAS, SSD Personally, I would call it an SATA HDD vs an SATA SSD. The same would be true of a SCSI HDD vs a SCSI SSD. At the moment, if you say SATA drive, most people will understand you to mean hard drive simply because the solid state drives are not common enough. If the price drops and they start taking over the market, then the understanding of SATA drive will probably change to refer to an SSD. From Wikipedia: Serial ATA (SATA or Serial Advanced Technology Attachment) is a computer bus interface for connecting host bus adapters to mass storage devices such as hard disk drives and optical drives. -- Bowie ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: wifi, phone, power in India and Malaysia
--- On Tue, 5/24/11, ken geb...@mousecar.com wrote: From: ken geb...@mousecar.com Subject: [CentOS] OT: wifi, phone, power in India and Malaysia To: CentOS Mailing List centos@centos.org Date: Tuesday, May 24, 2011, 5:48 AM A not so technical friend in India is shopping for a laptop. He often travels and stays months in Malaysia and so needs to be able to use the laptop there as well. He typically connects to the internet via wifi, but sometimes must use a telephone line (yes, with a modem). And of course there will be times when he has to plug into mains power to recharge the battery. So to be able to fully use his future laptop in both India and Malaysia, I need to know: Are the wifi standards the same in both India and Malaysia? And will the same wifi card work in both countries? Wifi is wifi, never heard of a wifi A or B. Similarly, will the modem work in both countries? see above... And, too, is the mains power the same in India and Malaysia? All laptops I have thus far encountered, have power adapters that take in anywhere from 100-250V. You should be covered worldwide if your meets those requirements. This friend might have used a phone-charger or hair-dryer, what voltage were those? If there is an incompatibility in any of these, what is the simplest resolution? I should probably get him an extended warranty also. Is there such a warranty which would allow him to have the laptop fixed in either country, depending upon where he happens to be? Extended warranties :-) for a laptop purchased in the U.S.? Try Toshiba or Samsung, but again, only your friend can tell you whether he has ever seen a Toshiba shop or Samsung shop. If he goes to rural areas, chances are none of those would be present anyways. Am I overlooking any considerations? YES. A big one for foreign travel people is a GSM modem, whereby one would use a SIM card from their phone for internet access. I really doubt that part of the world would have any dial-up access as you claim. They never caught up to it, and landline are rarely available. However, GSM 3G access is abundant, even in the remotest of areas. Thanks in advance for your sage experience. ___ 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] OT: wifi, phone, power in India and Malaysia
On Tue, May 24, 2011 at 05:48:16AM -0400, ken wrote: A not so technical friend in India is shopping for a laptop. He often travels and stays months in Malaysia and so needs to be able to use the laptop there as well. He typically connects to the internet via wifi, but sometimes must use a telephone line (yes, with a modem). And of course there will be times when he has to plug into mains power to recharge the battery. So to be able to fully use his future laptop in both India and Malaysia, I need to know: Just to be radical and actually offer some response to the OP: Are the wifi standards the same in both India and Malaysia? And will the same wifi card work in both countries? Although WIFI standards have progressed through a number of phases over recent years, I think most WIFI cards will handle most standards. Look for a card that handled a bunch of them. You should also be able to do a few searches and find out what standards are the latest, etc. I do not think WIFI standards are country specific, although some countries might be a little more up-to-date than others. Similarly, will the modem work in both countries? Telephone modems are more basic and as long as the dial-up handshake signals are reasonably modern, there should be no problem - other than the slow speed and higher tendancy to drop out. If you want to do anything like web searching over the modem you need to be able to do IP over PPP. But, that is pretty standard everywhere. And, too, is the mains power the same in India and Malaysia? Most chargers/power supplies on laptops nowdays can handle any power condition that you might encounter around the world - other than no power at all. Most will handle 110-240 volts and 50-60 Hz. Just make sure you get a charger that does that and there is no problem. You may need to have a couple of adapters for the plugs to make them match. Most travel stores in any of the countries I have been in sell those adapters for not too much. If there is an incompatibility in any of these, what is the simplest resolution? Google is your friend. Do some searches. Just remember that many people - millions - travel between countries with their laptop computers nowdays and have no serious compatibility problems. India is a very computer literate country - at least in the urban areas. Malaysia, at least in Kuala Lumpur is quite up-to-date as well. I don't know about outlying areas. I should probably get him an extended warranty also. Is there such a warranty which would allow him to have the laptop fixed in either country, depending upon where he happens to be? That may well exist, but probably would be quite expensive relative to just buying a new machine. Fixing a laptop anywhere may also take a long time. He might be switching countries before he got it back. Am I overlooking any considerations? Backups. Make sure he does backups of his useful data to some reliable media. Don't worry about the OS, or any standard files from the company or other standard source. Those can be reinstalled. Keep the working files in a separate directory tree and back that directory tree up frequently, maybe even daily if the data is important. Depending on quantity of data, burn a CD, use a USB stick or an external USB hard drive. If you use a stick or an external drive, I would suggest at least a 3 unit rotation - maybe even a few more so your new backup doesn't overwrite a too recent one. Note that backups are not infallible and it is good to have several in case something is wrong with a couple of them. Run a good OS on it such as FreeBSD or CentOS, at least dual-booted with your MS-xxx. Even if he still mostly uses MS-xxx, one of those can help you out of situations. (By 'at least dual-booted with MS-xxx' I mean even if you still keep MS on the machine and don't completely turn it over to FreeBSD or CentOS. maybe use 1/3 or 1/2 of the disk for FreeBSD or CentOS and the rest for MS, or whatever.) Thanks in advance for your sage experience. Sage is really good in roasted poultry such as turkey or chicken. jerry ___ 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] OT: wifi, phone, power in India and Malaysia
On 05/24/2011 03:29 PM, Richard Mollel wrote: Similarly, will the modem work in both countries? see above... i dont think thats true. There are plenty of places I've travelled to where the modem in my laptop ( this was 2002 - 2004 ) didnt work. Eg. the modem that worked fine in the UK didnt work in the US, didnt detect the dialtone, didnt work in australia - the DTMF tones were slightly different and pulse dialing didnt work etc. - KB ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: wifi, phone, power in India and Malaysia
On 05/24/2011 03:29 PM, Richard Mollel wrote: Am I overlooking any considerations? YES. A big one for foreign travel people is a GSM modem, whereby one would use a SIM card from their phone for internet access. I really doubt that part of the world would have any dial-up access as you claim. They never caught up to it, and landline are rarely available. However, GSM 3G access is abundant, even in the remotest of areas. And also, the 3g auction went through in India a few months back. I would be very surprised if you had 3g anywhere at the moment ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition
On Tue, May 24, 2011 at 4:22 PM, Bowie Bailey bowie_bai...@buc.com wrote: On 5/24/2011 10:05 AM, Rudi Ahlers wrote: On Tue, May 24, 2011 at 3:51 PM, Bowie Bailey bowie_bai...@buc.com wrote: On 5/23/2011 7:42 PM, Rudi Ahlers wrote: On Tue, May 24, 2011 at 1:30 AM, Kevin K kevi...@fidnet.com wrote: A SSD drive can be a SATA drive. SATA is the connection/protocol between the drive and the computer. Not quite. SATA is a type of drive, same as IDE / ATA, SCSI, SATA :) SATA is the connection. This is why you can have SATA hard drives and DVD drives. The same goes for IDE, SCSI, USB, and Firewire. They are connection types for accessing storage devices. They can connect to traditional hard drives, SSD drives, DVD drives, raid enclosures, etc. -- Bowie ___ So what do you call an actual SATA HDD then It's still a SATA HDD, and it's still different from IDE, SCSI, SAS, SSD Personally, I would call it an SATA HDD vs an SATA SSD. The same would be true of a SCSI HDD vs a SCSI SSD. At the moment, if you say SATA drive, most people will understand you to mean hard drive simply because the solid state drives are not common enough. If the price drops and they start taking over the market, then the understanding of SATA drive will probably change to refer to an SSD. From Wikipedia: Serial ATA (SATA or Serial Advanced Technology Attachment) is a computer bus interface for connecting host bus adapters to mass storage devices such as hard disk drives and optical drives. -- Bowie ___ But don't you think that a SSD, or rather Solid State Drive, would still be seen as a different type of drive than a SATA drive, even though they share the same type of bus connector + power cable? I know you get some USB type SSD's, but people still refer to them as SSD drives, and not USB drives -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Initial 6.0 trees in QA
In case you didn't see it, the initial CentOS 6 trees have been released to QA: http://qaweb.dev.centos.org/node/81 -- Paul Heinlein heinl...@madboa.com http://www.madboa.com/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition
On Tue, 24 May 2011, Rudi Ahlers wrote: But don't you think that a SSD, or rather Solid State Drive, would still be seen as a different type of drive than a SATA drive, even though they share the same type of bus connector + power cable? A SATA SSD is different to a SATA HDD. Yes. And the OS can tell (if it wants to) that they are different. But a SATA drive is a term that encompasses both if you ask me. I know you get some USB type SSD's, but people still refer to them as SSD drives, and not USB drives I think we're just saying be carefuly what you say. SSD after all stands for Solid State Drive. So SATA drive (as you keep saying) sounds like the superset of HDDs and SSDs if you ask me, rather than SATA HDD which is what you're trying to say. Other people using ambiguous terms doesn't make you more right. jh ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition
On 5/24/2011 11:25 AM, Rudi Ahlers wrote: On Tue, May 24, 2011 at 4:22 PM, Bowie Bailey bowie_bai...@buc.com wrote: Personally, I would call it an SATA HDD vs an SATA SSD. The same would be true of a SCSI HDD vs a SCSI SSD. At the moment, if you say SATA drive, most people will understand you to mean hard drive simply because the solid state drives are not common enough. If the price drops and they start taking over the market, then the understanding of SATA drive will probably change to refer to an SSD. From Wikipedia: Serial ATA (SATA or Serial Advanced Technology Attachment) is a computer bus interface for connecting host bus adapters to mass storage devices such as hard disk drives and optical drives. But don't you think that a SSD, or rather Solid State Drive, would still be seen as a different type of drive than a SATA drive, even though they share the same type of bus connector + power cable? I know you get some USB type SSD's, but people still refer to them as SSD drives, and not USB drives We are discussing two different things here. 1) What does SATA mean? 2) What do people mean when they say SATA drive? Unfortunately, common language tends to be general and vague. People tend to use terms in ways that are not technically correct -- ever heard someone refer to their tower case as a CPU? Technically, SATA refers to the bus, connector, and power. Whether the general understanding of SATA drive will shift when SSDs become more prevalent is unknown (but likely). Personally, I understand the general meaning of terms like SATA drive, but I know what the technical term actually means and if someone seems to be confusing the technical term with the (non-technical) general usage, then I will correct them. -- Bowie ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition
On 05/24/2011 08:25 AM, Rudi Ahlers wrote: But don't you think that a SSD, or rather Solid State Drive, would still be seen as a different type of drive than a SATA drive, even though they share the same type of bus connector + power cable? Interface and media type are completely independent. You can have SATA DVD, SSD, hard drives, Blue Ray, magnetic tape drives, etc.. You can have SAS DVD, SSD, hard drives, Blue Ray,tape drives, etc.. You can have USB DVD, SSD, hard drives, Blue Ray, magnetic tape drives, etc.. That a drive uses a SATA interface tells you *nothing* about the physical media itself. You are making a category error. It is as if you claimed a laptop was fundamentally different because you were using it with a 230V AC to DC power adaptor instead of a 120V AC to DC power adaptor. I know you get some USB type SSD's, but people still refer to them as SSD drives, and not USB drives I know a lot of people who call hard drives 'memory' - that doesn't make them right. The correct way to describe it is 'a SSD drive *with a USB interface*' or 'a SSD drive *with a SATA interface*'. -- Benjamin Franz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] scsi3 persistent reservations in cluster storage fencing
--On Friday, May 20, 2011 02:28:18 PM -0700 John R Pierce pie...@hogranch.com wrote: [snip] One question I have is: how well will this scale with several strings of 100 SAS drives on the same HA pair of servers? Can SAS storage instead be fenced at the SES/expander level rather than having to use reservations with each separate drive? It's been a few years since I've used SCSI reservations as a fencing method (as in about the time that wide SCSI was taking over from narrow SCSI, and while it fenced nicely, it sometimes caused bus errors when you detached the dead node from the bus). However if you are using a set of disks as a logical unit from the cluster's perspective (like having set of disks acting as a RAID device), then IIRC it is sufficient to use a reservation on a single disk as your fence for the entire disk set (rather than using a reservation on every single disk). Of course, of your storage cabinet has a few different disk sets in it, you'd need additional reservations (one per set). But, as I said, it's been a few years so I'd investigate it more rather than depending on *just* the above comment. In recent years I've tended to use various mechanisms to kill power to the node as my preferred fencing method. The linux-ha and pacemaker lists may be a better source of current information. Devin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: wifi, phone, power in India and Malaysia
On 05/24/2011 10:38 AM Karanbir Singh wrote: On 05/24/2011 03:29 PM, Richard Mollel wrote: Similarly, will the modem work in both countries? see above... i dont think thats true. There are plenty of places I've travelled to where the modem in my laptop ( this was 2002 - 2004 ) didnt work. Eg. the modem that worked fine in the UK didnt work in the US, didnt detect the dialtone, didnt work in australia - the DTMF tones were slightly different and pulse dialing didnt work etc. - KB Yes, exactly. If we think about it just a little bit, a lot of stars have to line up just so for for two countries-- even countries speaking approximately the same language-- to adopt exactly the same technology. As with phones, this may also be the case for wireless. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: wifi, phone, power in India and Malaysia
On 05/24/11 7:29 AM, Richard Mollel wrote: Wifi is wifi, never heard of a wifi A or B. actually, there's 802.11 (original, rarely used anymore), 802.11a, .11b. .11g. and .11n, and .11n comes in multiple flavors. Most everything these days is .11b/g or b/g/n compatible. In various countries, there are different allotments of how many 2.4Ghz 'channels' are available for unlicensed use like wifi. see http://en.wikipedia.org/wiki/IEEE_802.11#Channels_and_international_compatibility for a summary of this specific issue. my general experience regarding all this is the business model laptops from the major makers (for instance, the Latitudes from Dell) tend to come with wifi (and modems etc) that support multinational standards that can be reconfigured for different locales.consumer grade stuff is less likely to have this ability enabled. -- john r pierceN 37, W 123 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition
--On Monday, May 23, 2011 05:05:38 PM -0700 R - elists list...@abbacomm.net wrote: what specific units are considered server grade ssd's ? What you want to look for in your drive specs are the acronyms SLC and MLC. SLC is enterprise grade, smaller capacity, expensive MLC is consumer grade, larger capacity, cheap(er) Expected lifetimes are typically at least 10x better for SLC. Devin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition
On 05/24/11 9:36 AM, Devin Reade wrote: --On Monday, May 23, 2011 05:05:38 PM -0700 R - elists list...@abbacomm.net wrote: what specific units are considered server grade ssd's ? What you want to look for in your drive specs are the acronyms SLC and MLC. SLC is enterprise grade, smaller capacity, expensive MLC is consumer grade, larger capacity, cheap(er) Expected lifetimes are typically at least 10x better for SLC. also you want SSD that has a supercap on its internal cache so pending writes aren't lost in a power failure scenario. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 5.6 PHP 5.3 and SquirrelMail
OK, so I did an upgrade to PHP 5.3 on one of my servers. I noticed the uninstall of php also removed SquirrelMail and it won't install under PHP 5.3. Has anybody worked this out with a good RPM or repo solution? -- John Hinton 877-777-1407 ext 502 http://www.ew3d.com Comprehensive Online Solutions ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition
On 05/24/2011 09:57 AM, John R Pierce wrote: also you want SSD that has a supercap on its internal cache so pending writes aren't lost in a power failure scenario. You know, I've asked people about that in the past since the whole block read/erase/write cycle seems like a risk in the event of power loss, but never got any satisfactory answer. What manufacturers/models offer that feature? Are most drives with caps clearly labeled? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.6 PHP 5.3 and SquirrelMail
Why not just install SquirrelMail the old fashioned way? cd /var/www wget http://downloads.sourceforge.net/project/squirrelmail/stable/1.4.21/squirrelmail-1.4.21.tar.gz?r=http%3A%2F%2Fsquirrelmail.org%2Fdownload.phpts=1306258610use_mirror=superb-sea2; tar xvzf squirrelmail-1.4.21.tar.gz Done. On Tue, May 24, 2011 at 1:00 PM, John Hinton webmas...@ew3d.com wrote: OK, so I did an upgrade to PHP 5.3 on one of my servers. I noticed the uninstall of php also removed SquirrelMail and it won't install under PHP 5.3. Has anybody worked this out with a good RPM or repo solution? -- John Hinton 877-777-1407 ext 502 http://www.ew3d.com Comprehensive Online Solutions ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Steven Crothers steven.croth...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition
If you're referring to capacitors, I do not believe modern SSD's used those. Or at least ones I've seen didn't (that I recall). On Tue, May 24, 2011 at 1:32 PM, Gordon Messmer yiny...@eburg.com wrote: On 05/24/2011 09:57 AM, John R Pierce wrote: also you want SSD that has a supercap on its internal cache so pending writes aren't lost in a power failure scenario. You know, I've asked people about that in the past since the whole block read/erase/write cycle seems like a risk in the event of power loss, but never got any satisfactory answer. What manufacturers/models offer that feature? Are most drives with caps clearly labeled? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Steven Crothers steven.croth...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition
On 05/24/11 10:32 AM, Gordon Messmer wrote: On 05/24/2011 09:57 AM, John R Pierce wrote: also you want SSD that has a supercap on its internal cache so pending writes aren't lost in a power failure scenario. You know, I've asked people about that in the past since the whole block read/erase/write cycle seems like a risk in the event of power loss, but never got any satisfactory answer. What manufacturers/models offer that feature? Are most drives with caps clearly labeled? I just looked at OCZ's marketing fluff--err--webpile and it appears the Vertex EX and PRO drives advertise that they have a supercapacitor. the others I sampled didn't. http://www.ocztechnology.com/ocz-vertex-2-pro-series-sata-ii-2-5-ssd.html my superficial scan of Intel's webpile didn't turn up any reference to them on the x25-e or 510 drives. ah, the intel 320 series has power failure protection which presumably means something like a supercap to supply sufficient power to complete any pending write cycles.. There's an article on anandtech detailing datalosses on many SSDs on power failure scenarios. (and, please folks, UPS's are great, but they fail too, you can't rely on them for data protection). -- john r pierceN 37, W 123 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: wifi, phone, power in India and Malaysia
--- On Tue, 5/24/11, Karanbir Singh mail-li...@karan.org wrote: From: Karanbir Singh mail-li...@karan.org Subject: Re: [CentOS] OT: wifi, phone, power in India and Malaysia To: CentOS mailing list centos@centos.org Date: Tuesday, May 24, 2011, 10:39 AM On 05/24/2011 03:29 PM, Richard Mollel wrote: Am I overlooking any considerations? YES. A big one for foreign travel people is a GSM modem, whereby one would use a SIM card from their phone for internet access. I really doubt that part of the world would have any dial-up access as you claim. They never caught up to it, and landline are rarely available. However, GSM 3G access is abundant, even in the remotest of areas. And also, the 3g auction went through in India a few months back. I would be very surprised if you had 3g anywhere at the moment I thought Africa (East to be specific) was supposedly backwards technologically, I do get 3G there...and Indian was supposed to be forefront as far as tech is concerned. Anyways, I would imagine GSM would be available in the remotest of areas in India as it is now in most parts of E.Africa, No? Intention was to highlight the need for a GSM modem, not actual availability of it. Please respond to the original poster if you have further info on availability. ___ 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] SSD for Centos SWAP /tmp /var/ partition
On 05/24/2011 02:01 PM, John R Pierce wrote: On 05/24/11 10:32 AM, Gordon Messmer wrote: On 05/24/2011 09:57 AM, John R Pierce wrote: also you want SSD that has a supercap on its internal cache so pending writes aren't lost in a power failure scenario. You know, I've asked people about that in the past since the whole block read/erase/write cycle seems like a risk in the event of power loss, but never got any satisfactory answer. What manufacturers/models offer that feature? Are most drives with caps clearly labeled? I just looked at OCZ's marketing fluff--err--webpile and it appears the Vertex EX and PRO drives advertise that they have a supercapacitor. the others I sampled didn't. http://www.ocztechnology.com/ocz-vertex-2-pro-series-sata-ii-2-5-ssd.html my superficial scan of Intel's webpile didn't turn up any reference to them on the x25-e or 510 drives. ah, the intel 320 series has power failure protection which presumably means something like a supercap to supply sufficient power to complete any pending write cycles.. There's an article on anandtech detailing datalosses on many SSDs on power failure scenarios. (and, please folks, UPS's are great, but they fail too, you can't rely on them for data protection). Thats why you have servers with redundant power supplies with each power supply plugged into a separate ups. -- Stephen Clark *NetWolves* Sr. Software Engineer III Phone: 813-579-3200 Fax: 813-882-0209 Email: steve.cl...@netwolves.com http://www.netwolves.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: wifi, phone, power in India and Malaysia
--- On Tue, 5/24/11, John R Pierce pie...@hogranch.com wrote: From: John R Pierce pie...@hogranch.com Subject: Re: [CentOS] OT: wifi, phone, power in India and Malaysia To: centos@centos.org Date: Tuesday, May 24, 2011, 12:24 PM On 05/24/11 7:29 AM, Richard Mollel wrote: Wifi is wifi, never heard of a wifi A or B. actually, there's 802.11 (original, rarely used anymore), 802.11a, .11b. .11g. and .11n, and .11n comes in multiple flavors. Most everything these days is .11b/g or b/g/n compatible. In various countries, there are different allotments of how many 2.4Ghz 'channels' are available for unlicensed use like wifi. see http://en.wikipedia.org/wiki/IEEE_802.11#Channels_and_international_compatibility for a summary of this specific issue. my general experience regarding all this is the business model laptops from the major makers (for instance, the Latitudes from Dell) tend to come with wifi (and modems etc) that support multinational standards that can be reconfigured for different locales. consumer grade stuff is less likely to have this ability enabled. What i meant to say is that I have not heard of wifi thats strictly sort of regional. Most routers support all the major bands, and many laptops (as you pointed out) support those bands (abgn,..) Alternatively, a GSM router is all he needs, and his wifi enabled laptop would be happy either way, even if running centos. http://www.amazon.com/gp/product/B002OT93M6/ref=pd_lpo_k2_dp_sr_1?pf_rd_p=486539851pf_rd_s=lpo-top-stripe-1pf_rd_t=201pf_rd_i=B002KDBB58pf_rd_m=ATVPDKIKX0DERpf_rd_r=0QYB43T0PRMT6BWZWWDY -- john r pierce N 37, W 123 santa cruz ca mid-left coast ___ 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] scheduling differences between CentOS 4 and CentOS 5?
On Mon, 23 May 2011, Mag Gam wrote: I would like to confirm Matt's claim. I too experienced larger latencies with Centos 5.x compared to 4.x. My application is very network sensitive and its easy to prove using lat_tcp. Russ, I am curious about identifying the problem. What tools do you recommend to find where the latency is coming from in the application? I went through the obvious candidates: system calls (loss of control of when if ever the scheduler decides to let your process run again) polling v select polling is almost always a wrong approach when latency reduction is in play (reading and understanding: man 2 select_tut is time very well spent) choice of implementation language -- the issue here being if one uses a scripting language, one cannot 'see' the time leaks Doing metrics permits both 'hot spot' analysis, and moves the coding from 'guesstimation' to software engineering. We use graphviz, and gnuplot on the plain text 'CSV-style' timings files to 'see' outliers and hotspots Knuth's admonition about premature optimization applies here of course A sensible process might be: Make it work correctly, THEN make it fast Some people add a precursor step of: make it compile but this seems to me a less efficient process than simply proceeding up with a clean design at the start, and the expedient of 'stubbing' out unimplemented portions. Then replace the stubs with 'correctly' funcitoning refactorings (... I just did this with part of my build tools, writing a meta-code outline of what I wanted, and then implementing the metacode) The C++ code of the 'trading-shim' tool (GPLv3+) was produced in just this fashion over the last few years, and compared to all the competitors in its class, outpaces them all in terms of minimal latency .. most of that competition being Java based, or in some other scripting language. The 'shim' runs like a scalded dog ;) -- Russ herrold ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition
On Tue, May 24, 2011 at 8:01 PM, John R Pierce pie...@hogranch.com wrote: (and, please folks, UPS's are great, but they fail too, you can't rely on them for data protection). -- john r pierce N 37, W 123 santa cruz ca mid-left coast ___ RAID cards, and RAID Card's battery caches also fail :) -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: RHEL 6.1 is out
On Mon, May 23, 2011 14:15, Scott Silva wrote: on 5/23/2011 11:02 AM Ljubomir Ljubojevic spake the following: snip Then everybody cough on that and started endless flame-war. I survived the rapture to come back to this? LMAO http://www.ebiblefellowship.com/outreach/tracts/may21/ No! No! This topic IS the RAPTURE. First there will be wars and rumours of wars. . . -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:byrn...@harte-lyne.ca Harte Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: RHEL 6.1 is out
James B. Byrne wrote: On Mon, May 23, 2011 14:15, Scott Silva wrote: on 5/23/2011 11:02 AM Ljubomir Ljubojevic spake the following: snip Then everybody cough on that and started endless flame-war. I survived the rapture to come back to this? LMAO http://www.ebiblefellowship.com/outreach/tracts/may21/ No! No! This topic IS the RAPTURE. First there will be wars and rumours of wars. . . That's ok, this isn't the thread you want. Move along, move along mark you can go about your business... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Initial 6.0 trees in QA
On Tue, May 24, 2011 11:33, Paul Heinlein wrote: In case you didn't see it, the initial CentOS 6 trees have been released to QA: http://qaweb.dev.centos.org/node/81 Now, perhaps, some civility will return to the list. I recall this from my previous life: Dost think in a moment of anger 'Tis well with thy brothers to fight? They prosper, who burn in the morning, The letters they wrote overnight. Looking forward to working with CentOS-6. -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:byrn...@harte-lyne.ca Harte Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: RHEL 6.1 is out
centos-boun...@centos.org wrote: James B. Byrne wrote: On Mon, May 23, 2011 14:15, Scott Silva wrote: on 5/23/2011 11:02 AM Ljubomir Ljubojevic spake the following: snip Then everybody cough on that and started endless flame-war. I survived the rapture to come back to this? LMAO http://www.ebiblefellowship.com/outreach/tracts/may21/ No! No! This topic IS the RAPTURE. First there will be wars and rumours of wars. . . Flamewars and rumors of flamewars... That's ok, this isn't the thread you want. Move along, move along mark you can go about your business... Jedi and their never mind tricks. Jeesh. When the 7th seal is opened there will be silence in heaven for about the space of half an hour (Rev 8:1), implying that the net will be down world-wide. THAT will cause Armageddon all by itself (Rev 9:16, 16:16). Shortly thereafter an Angel will decree that there will be time no longer (Rev 10:6). THAT will wreck *serious* havoc for all time- or time-card related businesses and laws. Synchronous data streams will be a thing of the past (pun intended). Skynet will probably launch on everybody (Rev 13:13), as it can't tell friend from foe, as all tokens are timed out (pun intended). Yesiree, before the Great Rapture, we who read this list are all going to be out of work. Who want to try to top me for spiritual silliness? Insert spiffy .sig here: Life is complex: it has both real and imaginary parts. Life is not measured by the number of breaths we take, but by the moments that take our breath away. //me *** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. www.Hubbell.com - Hubbell Incorporated** ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: RHEL 6.1 is out
Brunner, Brian T. wrote: centos-boun...@centos.org wrote: James B. Byrne wrote: On Mon, May 23, 2011 14:15, Scott Silva wrote: on 5/23/2011 11:02 AM Ljubomir Ljubojevic spake the following: snip Then everybody cough on that and started endless flame-war. I survived the rapture to come back to this? LMAO http://www.ebiblefellowship.com/outreach/tracts/may21/ No! No! This topic IS the RAPTURE. First there will be wars and rumours of wars. . . Flamewars and rumors of flamewars... That's ok, this isn't the thread you want. Move along, move along mark you can go about your business... Jedi and their never mind tricks. Jeesh. When the 7th seal is opened there will be silence in heaven for about the space of half an hour (Rev 8:1), implying that the net will be down world-wide. THAT will cause Armageddon all by itself (Rev 9:16, 16:16). Nahhh, the 'Net won't be down, but all those people who a) should never be allowed near a keyboard, and b) have said something WRONG on the 'Net, will suddenly be silenced, whether because they've suddenly thought about what they were saying, or because millions of voices suddenly cry out in fear and terror And then we'll be able to log them off, and finish cleaning the Internet. Shortly thereafter an Angel will decree that there will be time no longer (Rev 10:6). THAT will wreck *serious* havoc for all time- or No, in fact, time will be shorter - they'll announce a new shorter tick for the atomic clocks. time-card related businesses and laws. Synchronous data streams will be Ah, but ethernet packets will continue, correctly. a thing of the past (pun intended). Skynet will probably launch on everybody (Rev 13:13), as it can't tell friend from foe, as all tokens are timed out (pun intended). And they'll have to resort to using RFC 1149 or RFC 2549. Yesiree, before the Great Rapture, we who read this list are all going to be out of work. I thought that wasn't till Oct. 21. Or maybe he's missed another decimal point. Wonder if it will coincide with the prediction from latest edition of Edgar Cayce's posthumous book, of when Atlantis will rise from the Atlantic? Who want to try to top me for spiritual silliness? All I can say is, beam us up Scotty, there's *no* intelligent life here. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: RHEL 6.1 is out
--On Tuesday, May 24, 2011 4:46 PM -0400 James B. Byrne byrn...@harte-lyne.ca wrote: No! No! This topic IS the RAPTURE. First there will be wars and rumours of wars. . . Delayed until October. :P http://news.yahoo.com/s/ap/20110524/ap_on_re_us/us_apocalypse_saturday ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] securing ldap with tls and security
Hello, I'm trying to set up a centos 5.3 machine to do authentication via openldap. I've got it working, I'm not sure if I have it 100% right, but I can use ldapsearch to query the directory, use finger, id, chown, and other utilities with ldap usernames and groups, log in via ssh as an ldap user and if it's a new user automatically have the home directory created. Having got this far if anyone with a working ldap authentication system could give my config a sanity check let me know. My goal now is to get tls encryption going so that usernames and passwords aren't sent in the clear. I'm using self-signed certificates for now. Any help appreciated. Thanks. Dave. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] securing ldap with tls and security
On Tue, May 24, 2011 at 04:49:09PM -0400, David Mehler wrote: Hello, I'm trying to set up a centos 5.3 machine to do authentication via openldap. I've got it working, I'm not sure if I have it 100% right, but I can use ldapsearch to query the directory, use finger, id, chown, and other utilities with ldap usernames and groups, log in via ssh as an ldap user and if it's a new user automatically have the home directory created. Having got this far if anyone with a working ldap authentication system could give my config a sanity check let me know. My goal now is to get tls encryption going so that usernames and passwords aren't sent in the clear. I'm using self-signed certificates for now. I'm going to post a link to my own page on it---which has links to other pages. Among other things, it goes through TLS. http://home.roadrunner.com/~computertaijutsu/ldap.html -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Willow: The school paper is edging on depressing lately. Have you guys noticed that? Oz: I don't know. I always go straight to the obits. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] securing ldap with tls and security
David Mehler wrote: Hello, I'm trying to set up a centos 5.3 machine to do authentication via openldap. I've got it working, I'm not sure if I have it 100% right, but I can use ldapsearch to query the directory, use finger, id, chown, and other utilities with ldap usernames and groups, log in via ssh as an ldap user and if it's a new user automatically have the home directory created. Having got this far if anyone with a working ldap authentication system could give my config a sanity check let me know. My goal now is to get tls encryption going so that usernames and passwords aren't sent in the clear. I'm using self-signed certificates for now. First, I suspect you'll get a ton of replies saying that you should upgrade to 5.6 from 5.3. Second, you've gotten that far; when I was dealing with openldap, I rather liked webmin to do my sanity checks for it. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] securing ldap with tls and security
On Tue, 24 May 2011, David Mehler wrote: Having got this far if anyone with a working ldap authentication system could give my config a sanity check let me know. My goal now is to get tls encryption going so that usernames and passwords aren't sent in the clear. I'm using self-signed certificates for now. This /etc/ldap.conf works well for me on CentOS 5: - % - # failover doesn't work using the newer 'uri' directive. # can go to ldap1; use ldap2 for backup host ldap1.domain.com ldap2.domain.com port 389 base dc=domain,dc=com # encrypt queries over the wire; our servers require it ssl start_tls tls_checkpeer yes tls_cacertdir /etc/openldap/cacerts # set time limits fairly low to get benefit of failover bind_timelimit 30 idle_timelimit 120 timelimit 30 # a stock centos/rhel directive; its utility is murky to me nss_initgroups_ignoreusers root,ldap,named,avahi,haldaemon,dbus,radvd,tomcat,radiusd,news,mailman - % - Prior to switching to LDAP, I download the CA certificate used to sign the ldap1 and ldap2 server certs and hash it for OpenSSL. I typically do it via the %post section in kickstart: curl http://www.domain.com/ca/ca.domain.com.crt \ -s -o /etc/openldap/cacerts/ca.domain.com.pem /usr/sbin/cacertdir_rehash /etc/openldap/cacerts -- Paul Heinlein heinl...@madboa.com http://www.madboa.com/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: RHEL 6.1 is out
on 5/24/2011 1:06 PM Brunner, Brian T. spake the following: snip When the 7th seal is opened there will be silence in heaven for about the space of half an hour (Rev 8:1), implying that the net will be down world-wide. THAT will cause Armageddon all by itself (Rev 9:16, 16:16). I thought the silence in heaven line meant that women will be showing up later! ;) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] securing ldap with tls and security
On Tue, May 24, 2011 at 4:52 PM, Scott Robbins scot...@nyc.rr.com wrote: I'm going to post a link to my own page on it---which has links to other pages. Among other things, it goes through TLS. http://home.roadrunner.com/~computertaijutsu/ldap.html Scott, I didn't read through the whole document, but yours is one of the most complete and useful ones that I've seen. Definitely a great resource for anyone setting up an OpenLDAP server for the first (or fifth) time. Regards, M ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.6 PHP 5.3 and SquirrelMail
On Tue, May 24, 2011 at 01:00:01PM -0400, John Hinton wrote: OK, so I did an upgrade to PHP 5.3 on one of my servers. I noticed the uninstall of php also removed SquirrelMail and it won't install under PHP 5.3. Has anybody worked this out with a good RPM or repo solution? Dump the CentOS php53 package and use the 5.3 provided by the IUS repository. See http://wiki.centos.org/AdditionalResources/Repositories for more information and links to IUS. CentOS' 5.3 doesn't Provide: php and has some other issues the last time I looked. John -- A teacher affects eternity; he can never tell where his influence stops. -- Henry Brooks Adams (1838-1918), US historian, journalist, novelist, and educator, The Education of Henry Adams, Ch 20 (1907) pgpKS8w9FAysL.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] securing ldap with tls and security
--On Tuesday, May 24, 2011 02:12:51 PM -0700 Paul Heinlein heinl...@madboa.com wrote: This /etc/ldap.conf works well for me on CentOS 5: - % - # failover doesn't work using the newer 'uri' directive. # can go to ldap1; use ldap2 for backup host ldap1.domain.com ldap2.domain.com port 389 I have a working failover config that uses the uri syntax: uri ldaps://ldap1.example.com ldaps://ldap2.example.com Note that 'port' is _not_ set in my config file. Devin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] securing ldap with tls and security
I think that the most secure setup is to use both LDAPI (ldap connections over Unix sockets) for connections inside the ldap server and TLS for connections from everywhere else on the network. Plus, ldapi connections are much faster than TCP connections. Am I wrong? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [Thread Cop] [was: Re: OT: wifi, phone, power in India and Malaysia]
On May 24, 2011, at 5:58 AM, Drew wrote: Who pissed in your cornflakes this morning John? :-) I think he urinated in his own cornflakes. - aurf ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] securing ldap with tls and security
On Tue, May 24, 2011 at 05:37:01PM -0400, Meenoo Shivdasani wrote: On Tue, May 24, 2011 at 4:52 PM, Scott Robbins scot...@nyc.rr.com wrote: I'm going to post a link to my own page on it---which has links to other pages. Among other things, it goes through TLS. http://home.roadrunner.com/~computertaijutsu/ldap.html Scott, I didn't read through the whole document, but yours is one of the most complete and useful ones that I've seen. Definitely a great resource for anyone setting up an OpenLDAP server for the first (or fifth) time. Thanks for the kind words. I sat down to write the document that I wished I'd had when I had to learn it. :) -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Willow: The only solution is the final solution. Xander: Nuke the school? I like that. Willow: Not quite. Exorcism. Cordelia: Are you crazy? I saw that movie. Even the priest died. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [Thread Cop] [was: Re: OT: wifi, phone, power in India and Malaysia]
On Tue, May 24, 2011 at 03:26:54PM -0700, aurfal...@gmail.com wrote: On May 24, 2011, at 5:58 AM, Drew wrote: Who pissed in your cornflakes this morning John? :-) I think he urinated in his own cornflakes. This is so very appropriate in a distro mailing list. And it's refreshing to see that I am not the only one that thinks that this entire thread is misplaced being here; seems the guidelines for the CentOS lists have been updated today. You all may care to take a look. John -- Sometimes a man wants to be stupid if it lets him do a thing his cleverness forbids. -- John Steinbeck (1902-1968), novelist, Nobel laureate, East of Eden, 1952 pgpWmjqyyPgk8.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition
On May 24, 2011, at 10:25 AM, Rudi Ahlers wrote: But don't you think that a SSD, or rather Solid State Drive, would still be seen as a different type of drive than a SATA drive, even though they share the same type of bus connector + power cable? I know you get some USB type SSD's, but people still refer to them as SSD drives, and not USB drives Depends on what level you are looking. Generically, it is a sequence of blocks, just like a rotating hard drive appears. Proper ID commands can find out more detailed information on it. Some computers, like the Macbook Air, have SSD but it is NOT SATA. It is plugged into an expansion slot. I have also seen other SSDs that plug into PCI Express slots.___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: wifi, phone, power in India and Malaysia
On 05/24/2011 07:07 PM, Richard Mollel wrote: And also, the 3g auction went through in India a few months back. I would be very surprised if you had 3g anywhere at the moment I thought Africa (East to be specific) was supposedly backwards technologically, I do get 3G there...and Indian was supposed to be forefront as far as tech is concerned. Anyways, I would imagine GSM would be available in the remotest of areas in India as it is now in most parts of E.Africa, No? Intention was to highlight the need for a GSM modem, not actual availability of it. Please respond to the original poster if you have further info on availability. 3G is very different to just bog-standard gsm, the data carrier on gsm gen 1 is just under 9600bps ( try loading the google homepage on that, with the 'instant' feature on ). gprs and gen2 gets a bit better - 2.5 ( or EDGE ) is somewhat available in some parts of the world, 3G or 3.5G in much smaller numbers. Even here in the UK 3G and 3.5G coverage leaves much to be desired once you step out of the large cities. - KB ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [Thread Cop] [was: Re: OT: wifi, phone, power in India and Malaysia]
On May 24, 2011, at 3:32 PM, John R. Dennison wrote: On Tue, May 24, 2011 at 03:26:54PM -0700, aurfal...@gmail.com wrote: On May 24, 2011, at 5:58 AM, Drew wrote: Who pissed in your cornflakes this morning John? :-) I think he urinated in his own cornflakes. This is so very appropriate in a distro mailing list. Sorry John, I will review the Centos guidelines tonight for sure as I want to be a good person. However you must be a rich man from crapping all those diamonds every morning. A line borrowed from a great film, Stripes; Lighten up Francis - aurf ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: wifi, phone, power in India and Malaysia
John R Pierce wrote: On 05/24/11 7:29 AM, Richard Mollel wrote: Wifi is wifi, never heard of a wifi A or B. actually, there's 802.11 (original, rarely used anymore), 802.11a, .11b. .11g. and .11n, and .11n comes in multiple flavors. Most everything these days is .11b/g or b/g/n compatible. Only regional problem could be using 11n radios that are locked of certain region. Any 11a/b/g radio will just work, there is no difference. You might need to change country code if for example you have US code set and AP is on 12 and 13th channel (ETSI). But 11a/b/g hardware is the same. Ljubomir ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [Thread Cop] [was: Re: OT: wifi, phone, power in India and Malaysia]
On 05/24/2011 11:40 PM, aurfal...@gmail.com wrote: This is so very appropriate in a distro mailing list. Sorry John, I will review the Centos guidelines tonight for sure as I want to be a good person. can we cut this out please ? - KB ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: wifi, phone, power in India and Malaysia
ken wrote: Similarly, will the modem work in both countries? You better make sure your Linux distro has drivers for the modem. for connexant modem there as no free driver (at least for CentOS 5.x) Ljubomir ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] yum check-updates script not working correctly
Hi all... A few weeks ago, I installed (and configured) the three recommended scripts to run yum update check via cron.daily on my CentOS 5.6 server (a Dell 2650). Although it is clearly configured to check only, it appears to be updating, instead. Has something (environmentally?) changed between the version of CentOS under which those scripts were originally authored and version 5.6, or do I have something (and please, tell me what!) mis-configured somewhere?? Every couple of days (when there are updates, obviously) I'll see something like this in my Logwatch report: - yum Begin Packages Updated: nss_ldap-253-37.el5_6.1.i386 poppler-0.5.4-4.4.el5_6.17.i386 ksh-20100202-1.el5_6.5.i386 poppler-utils-0.5.4-4.4.el5_6.17.i386 -- yum End - The scripts are set up as follows: in /etc/cron.daily/yum.cron: - yum.cron -- #!/bin/sh # Pull in sysconfig settings . /etc/sysconfig/yum-check if [ -f /var/lock/subsys/yum ]; then if [ ${CHECKONLY} = yes ];then /usr/bin/yum-check fi else /usr/bin/yum -R 10 -e 0 -d 0 -y update yum /usr/bin/yum -R 120 -e 0 -d 0 -y update fi -- in /etc/sysconfig/yum-check: -- yum-check - # yes sets yum to check for updates and mail only if patches are available # no does enable autoupdate if /var/lock/subsys/yum is available CHECKONLY=yes # defaults to root, leave empty if .forward/alias in place for root MAILTO= # Set to yes for debugging only! You'll get a mail for each run! CHECKWRK=no # Seconds to randomize startup, if running from cron to balance load RANGE=3600 -- and, in /usr/bin/yum-check: -- yum-check - #!/bin/sh # # Name: yum-check # Author: Michael Heiming - 2005-03-11 # Function: Run from cron to check for yum updates # and mail results # Version: 0.7 (initial) # 2005-03-120.8 randomize startup (cron only) # Config: /etc/sysconfig/yum # Pull in sysconfig settings . /etc/sysconfig/yum-check maila=${MAILTO:=root} yumdat=/tmp/yum-check-update.$$ yumb=/usr/bin/yum # wait a random interval if there is not a controlling terminal, # for load management if ! [ -t ] then num=$RANDOM let num %= ${RANGE:=1} sleep $num fi rm -f ${yumdat%%[0-9]*}* $yumb check-update $yumdat yumstatus=$? case $yumstatus in 100) cat $yumdat |\ mail -s Alert ${HOSTNAME} updates available! $maila exit 0 ;; 0) # Only send mail if debug is turned on if [ ${CHECKWRK} = yes ];then cat $yumdat |\ mail -s Yum check succeeded ${HOSTNAME} zero patches available. $maila fi exit 0 ;; *) # Unexpected yum return status (echo Undefined, yum return status: ${yumstatus} \ [ -e ${yumdat} ] cat ${yumdat} )|\ mail -s Alert ${HOSTNAME} problems running yum. $maila esac [ -e ${yumdat} ] rm ${yumdat} -- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum check-updates script not working correctly
brian wrote: #!/bin/sh # Pull in sysconfig settings . /etc/sysconfig/yum-check if [ -f /var/lock/subsys/yum ]; then if [ ${CHECKONLY} = yes ];then /usr/bin/yum-check fi else /usr/bin/yum -R 10 -e 0 -d 0 -y update yum /usr/bin/yum -R 120 -e 0 -d 0 -y update For starters, there is DEBUG option so turn it ON. Then for testing, change above code from optional check to mandatory by disabling scripts ability to install updates. There could be something preventing script to get ${CHECKONLY} environment variable. Add code to echo that variable, to check for this. Ljubomir ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] How to resolve Centos Linux Version 5.5 x86_32 Callgrind Version 3.6.1 cg_annotate : Line 1 Missing command line error?
Good afternoon, We are running callgrind and cg_annotate version 3.6.1 on Centos Linux Version 5.5 x86_32. One month ago Mr. Josef Weidenorfer issued a special patch that fixed callgrind on Centos Linux Version 5.5 x86_32. We can now profile complex C++ programs which use our own shared library libmdMatchup.so. However, when we use version 3.6.1 cg_annotate callgrind.out.22533 --auto = yes -I/home/frankc/DQTTest6/MatchUpLib/Source, we obtain the error. Line 1 Missing command line. callgrind.out.22533 was created using the command line: /home/frankc/DQTTest2/valgrind-3.6.1/coregrind/valgrind --tool=callgrind --dump-instr=yes --simulate-cache=yes --collect-jumps=yes ./MatchUpAccurate.exe. MatchUpAccurate.exe uses a special shared library libmdMatchup.so Could some engineer or programmer please tell us what we are doing wrong in using callgrind and cg_annotate? Please let us know if other programmers/developers have been able to use cg_annotate version 3.6.1 on Centos Linux Version 5.5 x86_32. I am including the top 50 lines of Callgrind.out.22533 below in case you have time to look at our problem. Thank you. version: 1 creator: callgrind-3.6.1 pid: 22533 cmd: ./MatchUpAccurate.exe part: 1 desc: I1 cache: 16384 B, 32 B, 8-way associative desc: D1 cache: 8192 B, 64 B, 4-way associative desc: LL cache: 524288 B, 64 B, 8-way associative desc: Timerange: Basic block 0 - 1024808 desc: Trigger: Program termination positions: instr line events: Ir Dr Dw I1mr D1mr D1mw ILmr DLmr DLmw summary: 51414468282 24200786461 13006654839 651776228 364795898 154843814 202585 5324012 59432151 ob=(10) /home/frankc/DQTTest6/MatchUpTest/lirh5g_deb/MatchUpAccurate.exe fl=(20) /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/iostream fn=(8384) __tcf_0 0x804e2d8 76 1 0 1 1 0 0 1 +1 * 1 +2 * 1 0 1 +1 * 1 +3 * 1 0 1 1 cfi=(14) ??? cfn=(1026) 0x0804f422 calls=1 0x804f422 -76 * * 2 2 +5 * 1 +6 * 1 +6 * 1 0 1 +3 * 1 0 1 cob=(7) /usr/lib/libstdc++.so.6.0.8 cfi=(7) ??? cfn=(8390) std::ios_base::Init::~Init() calls=1 0x3e30b70 -76 * * 26 12 8 5 3 0 4 3 cob=(1) /lib/ld-2.5.so cfi=(1) ??? cfn=(176) _dl_runtime_resolve calls=1 0xae7440 -76 * * 1428 508 202 3 40 5 0 16 3 * * 5 3 2 1 2 +5 * 1 +3 * 1 1 +1 * 1 1 +1 * 1 1 fl=(27) /usr/include/sys/stat.h fn=(1290) fstat 0x80517e8 448 18 0 18 18 0 0 3 +1 * 18 +2 * 18 0 18 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: RHEL 6.1 is out
On Wednesday, May 25, 2011 04:06 AM, Brunner, Brian T. wrote: Yesiree, before the Great Rapture, we who read this list are all going to be out of work. Who want to try to top me for spiritual silliness? You've already been topped if you have not noticed by a certain person who's been trumpeting dates for many years. It's really funny that Rev 8 talks about trumpets and destruction hitting a third of various things...when apparently a third of the world population are Christian. How's trumpeting your own doom for spiritual silliness? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSD for Centos SWAP /tmp /var/ partition
On May 24, 2011, at 11:40 AM, Bowie Bailey bowie_bai...@buc.com wrote: On 5/24/2011 11:25 AM, Rudi Ahlers wrote: On Tue, May 24, 2011 at 4:22 PM, Bowie Bailey bowie_bai...@buc.com wrote: Personally, I would call it an SATA HDD vs an SATA SSD. The same would be true of a SCSI HDD vs a SCSI SSD. At the moment, if you say SATA drive, most people will understand you to mean hard drive simply because the solid state drives are not common enough. If the price drops and they start taking over the market, then the understanding of SATA drive will probably change to refer to an SSD. From Wikipedia: Serial ATA (SATA or Serial Advanced Technology Attachment) is a computer bus interface for connecting host bus adapters to mass storage devices such as hard disk drives and optical drives. But don't you think that a SSD, or rather Solid State Drive, would still be seen as a different type of drive than a SATA drive, even though they share the same type of bus connector + power cable? I know you get some USB type SSD's, but people still refer to them as SSD drives, and not USB drives We are discussing two different things here. 1) What does SATA mean? 2) What do people mean when they say SATA drive? Unfortunately, common language tends to be general and vague. People tend to use terms in ways that are not technically correct -- ever heard someone refer to their tower case as a CPU? Technically, SATA refers to the bus, connector, and power. Whether the general understanding of SATA drive will shift when SSDs become more prevalent is unknown (but likely). Personally, I understand the general meaning of terms like SATA drive, but I know what the technical term actually means and if someone seems to be confusing the technical term with the (non-technical) general usage, then I will correct them. A SATA drive can be either a HDD or SSD, the term drive tends to refer to fixed media block device as opposed to say a multimedia (optical) or streaming media (tape) block device. Each device type has it's own particular command set. Though SSD drives and their TRIM command kind of changes things for fixed media devices, but the SCSI PUNCH command has found a common use. Transport, commands and interface make up the standard. Things get a little strange though when SATA is tunneled through USB or SAS and SATA commands, like TRIM, which don't have a corresponding SCSI command aren't supported, so you can't TRIM a SATA SSD on a SAS controller. The SCSI equivalent to TRIM is PUNCH which is safer then TRIM, but more complex and the two can't interoperate, it is intended to be used in SANs as well as SSDs so the initiators can free up thin provisioned space as needed. -Ross ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos