Re: [CentOS-docs] CentOS Wiki Contribution
Am 25.03.11 07:07, schrieb Alex/AT: Hello to everyone on the list. I want to contribute to the Wiki, to the Tips and Tricks section, Installation part thereof, on the topic of Installing CentOS anew to ext4 partition(s). My wikiuser name is AlexeyAsemov. Great, go ahead: http://wiki.centos.org/TipsAndTricks/InstallOnExt4 Can you put a bit more text around what you are doing there (especially why you drop to a shell to do the formatting and partitioning)? Ralph ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] FOG on CentOS Wiki contribution suggestion?
Am 25.03.11 17:15, schrieb Alex Goffe: It will be basic walk through to install fog version 0.29/0.30 on a CentOS server including making the extremely basic 3 changes (http://www.fogproject.org/wiki/index.php?title=Installation_on_CentOS_5.3#Installing_0.29_and_0.30), while using an existing Linux DHCP server. Would you be able to generalize it a bit more (for example only use the latest versions of the script and CentOS), remove the How To install CentOS part and things like that? What really would be great if there would be an rpm of FOG, as we generally frown upon source installs (I gather this is binary stuff, though?). If not possible, please include an overview of what gets installed where by the installer. Generally: Cleanup, tell a bit about FOG and tell a bit more about the installation process. Regards, Ralph ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] FOG on CentOS Wiki contribution suggestion?
Am 26.03.11 21:22, schrieb Ralph Angenendt: Generally: Cleanup, tell a bit about FOG and tell a bit more about the installation process. You can do that here: http://wiki.centos.org/AlexGoffe ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] FOG on CentOS Wiki contribution suggestion?
Fantastic, Will make a start this week. Many thanks, Alex On 26 Mar 2011, at 20:23, Ralph Angenendt ralph.angene...@gmail.com wrote: Am 26.03.11 21:22, schrieb Ralph Angenendt: Generally: Cleanup, tell a bit about FOG and tell a bit more about the installation process. You can do that here: http://wiki.centos.org/AlexGoffe ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
[CentOS] Verify tomcat config
I'm going to retire an old RHEL3 server and move the services to CentOS5. In particular, the web server is giving me a headache. On the old box, there's a hacked-up httpd/mod_jk/tomcat setup, and CentOS is perfect for the new box because the required components are included and the whole setup just works straight from installation. There seems to be surprisingly little documentation or how-tos on how to migrate from the above setup to httpd/mod_proxy_ajp/tomcat. I believe I have it working correctly on a test machine, but am looking for someone to look over the config to make sure it's correct and complete. The desired setup is: - httpd receives all requests - httpd processes all requests for static content - httpd passes all requests for dynamic content to tomcat Most examples I found seem to assume that all queries, including static, are pased on to tomcat. To implement the correct behaviour, I came up with this conf.d fragment: LocationMatch .*WEB-INF.* AllowOverride None deny from all /LocationMatch Proxy * AddDefaultCharset Off Order deny,allow Allow from all /Proxy ProxyPreserveHost on ProxyPassMatch ^(.*\.jsp)$ ajp://localhost:8009/$1 The second bit was much harder to figure out - point tomcat to httpd's DocumentRoot. I came up with the following snippet: use the included /etc/tomcat/server-minimal.xml as server.xml and make the following change: --- server-minimal.xml 2010-10-11 00:16:41.0 +0100 +++ server.xml 2011-03-20 01:48:12.0 + @@ -18,7 +18,9 @@ Engine name=Catalina defaultHost=localhost Realm className=org.apache.catalina.realm.UserDatabaseRealm resourceName=UserDatabase / - Host name=localhost appBase=webapps / + Host name=localhost appBase=webapps + Context path= docBase=/var/www/html reloadable=true / + /Host /Engine /Service Any comments/suggestions? Would I be better of to stick with mod_jk even on CentOS? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Verify tomcat config
On Sat, Mar 26, 2011 at 6:48 AM, lheck...@users.sourceforge.net wrote: I'm going to retire an old RHEL3 server and move the services to CentOS5. In particular, the web server is giving me a headache. On the old box, there's a hacked-up httpd/mod_jk/tomcat setup, and CentOS is perfect for the new box because the required components are included and the whole setup just works straight from installation. Do you need Tomcat6? It's available over at www.jpackage.org, and will be in CentOS 6. Not that this deals with your issue, but I thought you might appreciate a heads up on its availability as a more contemporary version to aim for. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] My new server
I bought a very cheap server yesterday - an HP ProLiant micro server for 160 euro (280 euro with 120 cashback, for some reason). But I was surprised when I opened the box to find it didn't come with keyboard or mouse, and doesn't have the old keyboard/mouse sockets, but requires USB versions. Is that the norm nowadays? Is it possible to convert the old keyboard/mouse plugs? Also there is no CD drive. But there are extensive instructions (on a CD!) about how to instal RHEL-5.5. I'm not complaining, just surprised. I got it as a fall-back for my aging server. The ProLiant is incredibly quiet, at least by comparison. One last thing - there is only one ethernet socket. This surprised me a little, as I can't see how it can be used as a server, without adding a second ethernet input? -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My new server
You get what you pay for. Yes ps/2 plugs are a thing of the past. Servers have for the last 5 or so years been usb only. Usually with a usb in the front as well as in the back. There are usb/ps2 converters but usb/mouse is very cheap. Your adapter would most likely cost the same or more. Lack of cd drive - sounds like you bought too cheap if you need that. Alternatively, pxe boot and install that way. One nic is also quite common. It depends on what you need the server to do. Regards Peter Larsen Timothy Murphy gayle...@eircom.net wrote: I bought a very cheap server yesterday - an HP ProLiant micro server for 160 euro (280 euro with 120 cashback, for some reason). But I was surprised when I opened the box to find it didn't come with keyboard or mouse, and doesn't have the old keyboard/mouse sockets, but requires USB versions. Is that the norm nowadays? Is it possible to convert the old keyboard/mouse plugs? Also there is no CD drive. But there are extensive instructions (on a CD!) about how to instal RHEL-5.5. I'm not complaining, just surprised. I got it as a fall-back for my aging server. The ProLiant is incredibly quiet, at least by comparison. One last thing - there is only one ethernet socket. This surprised me a little, as I can't see how it can be used as a server, without adding a second ethernet input? -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland ___ 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] My new server
On Sat, Mar 26, 2011 at 2:39 PM, Timothy Murphy gayle...@eircom.net wrote: I bought a very cheap server yesterday - an HP ProLiant micro server for 160 euro (280 euro with 120 cashback, for some reason). But I was surprised when I opened the box to find it didn't come with keyboard or mouse, and doesn't have the old keyboard/mouse sockets, but requires USB versions. Is that the norm nowadays? Is it possible to convert the old keyboard/mouse plugs? Also there is no CD drive. But there are extensive instructions (on a CD!) about how to instal RHEL-5.5. I'm not complaining, just surprised. I got it as a fall-back for my aging server. The ProLiant is incredibly quiet, at least by comparison. One last thing - there is only one ethernet socket. This surprised me a little, as I can't see how it can be used as a server, without adding a second ethernet input? -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland ___ Many servers, big or small (cheap or expensive) only come with USB ports, for quite some time now. Probably since you often don't leave the keyboard/mouse plugged into it. USB keyboard / mice are very cheap and USB KVM's are also very common nowdays. One NIC doesn't mean it's not a server. In fact, two NIC's doesn't make a server either. But, if you want a router / gateway / firewall, then you can simply add another NIC if you need to. For 160 euros it's not a bad price, but you can't expect the same features as a more expensive one either. -- 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] Mounting an external USB drive
On Fri, 25 Mar 2011, Todd Cary wrote: With Centos 5.5, my external USB drive appears to self mount in that the icon appears on the desktop and when I double click on it, the files are there. However, I recall that I need to make an entry in the fstab as well as some other changes. When I do a # /sbin/fdisk -l I learn that the device is /dev/sda1 and the system is HPFS/NTFS I am not sure what to enter into the file system table, fstab and if other entries/directories need to be made. If it is mounted, why would you need to make fstab entries? The system already knows enough to make it useful. Regards, -- Tom Diehl tdi...@rogueind.com Spamtrap address mtd...@rogueind.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Mounting an external USB drive
On Sat, Mar 26, 2011 at 9:15 AM, Tom Diehl tdi...@rogueind.com wrote: On Fri, 25 Mar 2011, Todd Cary wrote: With Centos 5.5, my external USB drive appears to self mount in that the icon appears on the desktop and when I double click on it, the files are there. However, I recall that I need to make an entry in the fstab as well as some other changes. When I do a # /sbin/fdisk -l I learn that the device is /dev/sda1 and the system is HPFS/NTFS I am not sure what to enter into the file system table, fstab and if other entries/directories need to be made. If it is mounted, why would you need to make fstab entries? The system already knows enough to make it useful. Regards, USB drive detection has gotten better. If you'd like to see what it's currently mounted as, look in /etc/mtab. You should see its contents in /media/[whatever], where whatever depends on the type and any associated names of the contents of the media. /etc/mtab should give you the basic settings for /etc/fstab, with a bit of tweaking, but I urge you not to rely on /etc/fstab for default mounting: review the use of the noauto if you need to, in order to allow you to mount it only on request. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Mounting an external USB drive
On 3/26/2011 6:46 AM, Nico Kadel-Garcia wrote: On Sat, Mar 26, 2011 at 9:15 AM, Tom Diehltdi...@rogueind.com wrote: On Fri, 25 Mar 2011, Todd Cary wrote: With Centos 5.5, my external USB drive appears to self mount in that the icon appears on the desktop and when I double click on it, the files are there. However, I recall that I need to make an entry in the fstab as well as some other changes. When I do a # /sbin/fdisk -l I learn that the device is /dev/sda1 and the system is HPFS/NTFS I am not sure what to enter into the file system table, fstab and if other entries/directories need to be made. If it is mounted, why would you need to make fstab entries? The system already knows enough to make it useful. Regards, USB drive detection has gotten better. If you'd like to see what it's currently mounted as, look in /etc/mtab. You should see its contents in /media/[whatever], where whatever depends on the type and any associated names of the contents of the media. /etc/mtab should give you the basic settings for /etc/fstab, with a bit of tweaking, but I urge you not to rely on /etc/fstab for default mounting: review the use of the noauto if you need to, in order to allow you to mount it only on request. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Thank you! Just taking me a while to find my way around. And yes, /etc/mtab had the data which sent me to /media/disk. Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My new server
On 03/26/11 5:47 AM, Peter Larsen wrote: One nic is also quite common. while I'd agree with the rest of your assessments, on servers 1 nic is NOT that common, 2 or 4 built in nics is far more common. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My new server
On Sat, Mar 26, 2011 at 3:39 PM, John R Pierce pie...@hogranch.com wrote: On 03/26/11 5:47 AM, Peter Larsen wrote: One nic is also quite common. while I'd agree with the rest of your assessments, on servers 1 nic is NOT that common, 2 or 4 built in nics is far more common. +1 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My new server
On Sat, Mar 26, 2011 at 5:39 PM, John R Pierce pie...@hogranch.com wrote: On 03/26/11 5:47 AM, Peter Larsen wrote: One nic is also quite common. while I'd agree with the rest of your assessments, on servers 1 nic is NOT that common, 2 or 4 built in nics is far more common. Yes, on the larger servers. But micro servers often tend to have a single NIC -- 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] My new server
On 26 Mar 2011, at 15:40, John R Pierce pie...@hogranch.com wrote: while I'd agree with the rest of your assessments, on servers 1 nic is NOT that common, Neither are servers for €160! At that price I would expect to buy another card or just use vlans! Ben Sent from my iPhone ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My new server
On 03/26/11 9:43 AM, Benjamin Donnachie wrote: On 26 Mar 2011, at 15:40, John R Piercepie...@hogranch.com wrote: while I'd agree with the rest of your assessments, on servers 1 nic is NOT that common, Neither are servers for €160! At that price I would expect to buy another card or just use vlans! yeah, I looked up that server... its more like a SOHO mini-NAS, and in fact would be awesome if it just had hotswap trays for the 4 SATA drives, but no, they are not hotswap. its really more of a storage centric micro-PC, but it does have ECC memory. dual core low end athlon, 1-8gb ram, 4 sata bays, 1 pci-express x16 slot and 1 pci-e x1 slot, single NIC, onboard AMD video. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My new server
On Sat, Mar 26, 2011 at 6:46 PM, John R Pierce pie...@hogranch.com wrote: On 03/26/11 9:43 AM, Benjamin Donnachie wrote: On 26 Mar 2011, at 15:40, John R Piercepie...@hogranch.com wrote: while I'd agree with the rest of your assessments, on servers 1 nic is NOT that common, Neither are servers for €160! At that price I would expect to buy another card or just use vlans! yeah, I looked up that server... its more like a SOHO mini-NAS, and in fact would be awesome if it just had hotswap trays for the 4 SATA drives, but no, they are not hotswap. its really more of a storage centric micro-PC, but it does have ECC memory. dual core low end athlon, 1-8gb ram, 4 sata bays, 1 pci-express x16 slot and 1 pci-e x1 slot, single NIC, onboard AMD video. ___ .. and, if it serves content to client PC's, it's a server ;) -- 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] My new server
On Sat, Mar 26, 2011 at 09:46:59AM -0700, John R Pierce wrote: On 03/26/11 9:43 AM, Benjamin Donnachie wrote: On 26 Mar 2011, at 15:40, John R Piercepie...@hogranch.com wrote: while I'd agree with the rest of your assessments, on servers 1 nic is NOT that common, Neither are servers for €160! At that price I would expect to buy another card or just use vlans! yeah, I looked up that server... its more like a SOHO mini-NAS, and in fact would be awesome if it just had hotswap trays for the 4 SATA drives, but no, they are not hotswap. its really more of a storage centric micro-PC, but it does have ECC memory. dual core low end athlon, 1-8gb ram, 4 sata bays, 1 pci-express x16 slot and 1 pci-e x1 slot, single NIC, onboard AMD video. The HP MicroServer does have hot-swappable trays... Great little box. Ray ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My new server
Rudi Ahlers wrote: I bought a very cheap server yesterday - an HP ProLiant micro server for 160 euro But I was surprised when I opened the box to find it didn't come with keyboard or mouse, and doesn't have the old keyboard/mouse sockets, but requires USB versions. Many servers, big or small (cheap or expensive) only come with USB ports, for quite some time now. Probably since you often don't leave the keyboard/mouse plugged into it. You are quite right of course, I was being stupid. I see that in fact my old server (Dell PowerEdge T105) has USB keyboard and mouse, so I can use those temporarily. -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My new server
Peter Larsen wrote: One nic is also quite common. It depends on what you need the server to do. Well, I was hoping to connect one to my ADSL modem (non WiFi) and one to my router (LinkSys WRT54GL router). And I see I have to put in a PCI-E NIC, not a common-or-garden PCI. Why can't they leave things as they are ... -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Error 2002 with MySQL on a new Centos 5.5 installation
With my new Centos installation, I get the following error when I type in # mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) I have Googled the error, but the results do not appear to be helpful Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Error 2002 with MySQL on a new Centos 5.5 installation
2011/3/26 Todd Cary t...@aristesoftware.com: With my new Centos installation, I get the following error when I type in # mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) I have Googled the error, but the results do not appear to be helpful try starting server first and enable it on start: service mysqld start ; chkconfig mysqld on -- Eero ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My new server
On 03/26/11 10:20 AM, Timothy Murphy wrote: And I see I have to put in a PCI-E NIC, not a common-or-garden PCI. Why can't they leave things as they are ... thats what people said about ISA bus when PCI came out and replaced it. btw, make sure you get a LOW PROFILE pci-e card for that thing. a standard height card won't fit either. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] The delays on CentOS 5.6 are causing EPEL incompatibilities
On Friday, March 25, 2011 09:55:34 pm Nico Kadel-Garcia wrote: I'm speaking up for our CentOS repackagers here. That kind of bootstrapping takes cycles and practice, and double checking. In theory, they could. Our CentOS rebuilders have exposed a few dependencies for which the SRPM's are not published (and which our favorite upstream vendor is fixing them, but they *don't have to!!!*. That's not part of a GPL license, it's just good free software practice.) Let me speak up for our CentOS devs too, as the upstream doesn't have to bootstrap in this way. Their bootstrap dates from Mother's Day. Fedora likewise; they have a previous version, and rolling binaries that are pretty well depsolved already. The rebuilders are the ones who have it more difficult, as they have to reproduce a build sequence from a known snapshot point (the last public beta). And the *distribution* as a whole is not covered by the license you might think it is. Les, the upstream source RPMs aren't even the source source for the upstream build; SRPMS are just a by product of the build of the binaries from source in an SCM (managed by Red Hat's koji), and in theory, given the same identical environment that built the upstream binaries they will re-build to the same binary. The environment is the hard thing to replicate, since it is a moving target, and each build changes it slightly. It's questionable if upstream could exactly replicate it from their own source RPM's without significant effort (that is, outside of koji). To their credit they fix those sort of bugs in due time, but as mentioned they are not bound by any license to do so, since the binary build environment isn't part of the 'source code.' Karanbir and Johnny have both posted at length about this issue; Russ as well. What's interesting is the length of time it's taking SL as well to get 4.9 and 5.6 out in GA, as well as CentOS with a GA for 5.6 and 6.0. It seems to be pretty soon due, at least 5.6. As it stands, SL has a GA 6.0, and CentOS has a GA 4.9. I like many others am waiting for that middle piece, a GA 5.6. But I'd rather have it correctly done than quickly done if I have to choose. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] {OT] Re: Installing IMA (Integrity Measurement Architecture) on CentOS 5.5
On Friday, March 25, 2011 03:35:29 pm Les Mikesell wrote: If 'get there' is defined as all redundant copies being in a consistent state, then you'll fail at this point in transactional mode in the fairly likely event that you have a network blip between the db master and slave(s) or one of them is down. Puh-lease. TCP has solved that problem; look into the new algorithms and techniques PostgreSQL 9 brings to the ACID table. Networks at layer 3 are expected to blip; TCP at layer 4 makes it a reliable stream. Or if it goes down both endpoints know it went down, and the database engine has a choice whether to abort and rollback or wait on a retry. Replay write-ahead logs are another way to deal with this. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My new server
On 03/26/11 9:51 AM, Ray Van Dolson wrote: The HP MicroServer does have hot-swappable trays... Great little box. the specs say non-hot-plug repeatedly. http://h18004.www1.hp.com/products/quickspecs/13716_na/13716_na.html http://h10010.www1.hp.com/wwpc/us/en/sm/WF06a/15351-15351-4237916-4237918-4237917-4248009.html and refers to them as 'internal SATA drives' ? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My new server
On Sat, Mar 26, 2011 at 11:13:49AM -0700, John R Pierce wrote: On 03/26/11 9:51 AM, Ray Van Dolson wrote: The HP MicroServer does have hot-swappable trays... Great little box. the specs say non-hot-plug repeatedly. http://h18004.www1.hp.com/products/quickspecs/13716_na/13716_na.html http://h10010.www1.hp.com/wwpc/us/en/sm/WF06a/15351-15351-4237916-4237918-4237917-4248009.html and refers to them as 'internal SATA drives' ? Ah, so I've made my system mad when sliding a drive out in the past and gotten lucky! Whoops! :) Still, a slick little case... Ray ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] The delays on CentOS 5.6 are causing EPEL incompatibilities
On 3/26/11 12:44 PM, Lamar Owen wrote: Les, the upstream source RPMs aren't even the source source for the upstream build; SRPMS are just a by product of the build of the binaries from source in an SCM (managed by Red Hat's koji), and in theory, given the same identical environment that built the upstream binaries they will re-build to the same binary. The environment is the hard thing to replicate, since it is a moving target, and each build changes it slightly. It's questionable if upstream could exactly replicate it from their own source RPM's without significant effort (that is, outside of koji). I don't see how you could miss if you did a 2nd rebuild where the libraries populating the build environment are the product of the source you are shipping (correct dependency listings or not). Or how you can claim to be shipping source that matches your binaries if you don't do it that way. Does an rpmbuild --rebuild of one of the packages in question on a stock RH system create a binary that would fail the CentOS QA? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] {OT] Re: Installing IMA (Integrity Measurement Architecture) on CentOS 5.5
On 3/26/11 12:51 PM, Lamar Owen wrote: On Friday, March 25, 2011 03:35:29 pm Les Mikesell wrote: If 'get there' is defined as all redundant copies being in a consistent state, then you'll fail at this point in transactional mode in the fairly likely event that you have a network blip between the db master and slave(s) or one of them is down. Puh-lease. TCP has solved that problem; look into the new algorithms and techniques PostgreSQL 9 brings to the ACID table. For a single instance. The issue in scaling and failover scenarios is that you need multiple, perhaps many, copies of data, and what cloud databases and the nosql and CAP buzzwords are all about are how to handle the situation when part of that storage is unavailable, or worse, the copies are segmented and still running independently. Networks at layer 3 are expected to blip; TCP at layer 4 makes it a reliable stream. Or if it goes down both endpoints know it went down, and the database engine has a choice whether to abort and rollback or wait on a retry. Replay write-ahead logs are another way to deal with this. Even with a simple replication in an ACID system - if your remote copy also permits updates you have to decide if the whole system should become unavailable because of the single failure or if you should allow potentially conflicting writes to continue while the systems are disconnected. The scalable DBs start with the premise that partitioning is an expected real-world occurrence that applications have to deal with (and the better ones also transparently deal with adding/removing nodes as capacity needs grow and shrink). There are times an application should abort if it can't ensure that all copies have consistency but they may be rare compared to the times you can continue with the newest data you know about. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My new server
And I see I have to put in a PCI-E NIC, not a common-or-garden PCI. Why can't they leave things as they are ... Because a PCIe x1 slot smokes your run of the mill PCI slot any day? -- Drew Nothing in life is to be feared. It is only to be understood. --Marie Curie ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My new server
On 26 Mar 2011, at 17:25, Timothy Murphy gayle...@eircom.net wrote: Well, I was hoping to connect one to my ADSL modem (non WiFi) and one to my router (LinkSys WRT54GL router). If you can't implement vlans, what about 'trunking on the cheap' with both subnets using the same switch? Not ideal, but doable. Ben Sent from my iPhone ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My new server
Am 26.03.2011 um 13:39 schrieb Timothy Murphy: Also there is no CD drive. But there are extensive instructions (on a CD!) about how to instal RHEL-5.5. Best to use cobbler for that anyway. One last thing - there is only one ethernet socket. This surprised me a little, as I can't see how it can be used as a server, without adding a second ethernet input? Use VLAN-trunks. Rainer ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My new server
On 03/26/11 12:51 PM, Rainer Duffner wrote: Use VLAN-trunks. someone using a $350 micro server as his ADSL gateway is highly unlikely to have layer 2 managed switches capable of handling VLANs. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My new server
Am 26.03.2011 um 20:55 schrieb John R Pierce: On 03/26/11 12:51 PM, Rainer Duffner wrote: Use VLAN-trunks. someone using a $350 micro server as his ADSL gateway is highly unlikely to have layer 2 managed switches capable of handling VLANs. E.g. the HP Procurve 1800-8G is quite cheap. I think I paid 200 USD for it. It's no longer sold, but you can pick it up at ebay. Fanless. I took a look at the NL36 server the OP mentioned - and it actually does look quite decent. Maybe not for number-crunching. But for low-end stuff, it looks OK. You might even be able to run e.g. Zimbra on it (with RAM maxed out). Of course, regular backups are highly recommended - but given that, and the 3year on-site warranty also available, it looks to be a good for home-use. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Locked myself out of MySQL
Darn! I must have either made a typo or my use of a ; in the MySQL root password so now I am locked out. Is there a work around or do I have to uninstall MySQL and reinstall? Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Locked myself out of MySQL
Todd Cary writes: Darn! I must have either made a typo or my use of a ; in the MySQL root password so now I am locked out. Is there a work around or do I have to uninstall MySQL and reinstall? service mysqld stop mysqld_safe --user=mysql --skip-grant-tables mysql -u root update mysql.user set password=password(blahcopter) where user=root; flush privileges; exit; service mysqld restart Written from (very volatile) memory so double check the commands.. -- Nux! www.nux.ro ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Locked myself out of MySQL
On Sat, 26 Mar 2011 13:24:40 -0700 Todd Cary t...@aristesoftware.com wrote: Darn! I must have either made a typo or my use of a ; in the MySQL root password so now I am locked out. Is there a work around or do I have to uninstall MySQL and reinstall? --skip-grant-tables Check mysql docs next time. -- Jure Pečar http://jure.pecar.org http://f5j.eu ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My new server
On 3/26/11 2:55 PM, John R Pierce wrote: On 03/26/11 12:51 PM, Rainer Duffner wrote: Use VLAN-trunks. someone using a $350 micro server as his ADSL gateway is highly unlikely to have layer 2 managed switches capable of handling VLANs. I think unmanaged switches will pass vlan trunk traffic and one vlan can be untagged/native. So if the server and one of the routers can add a tagged vlan interface they should be able to have what appears as a private connection on a different subnet. But probably not much better than just overlaying subnets unless you want to do something like nat based on postrouting to an interface. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Locked myself out of MySQL
On 3/26/2011 1:33 PM, n...@nux.ro wrote: Todd Cary writes: Darn! I must have either made a typo or my use of a ; in the MySQL root password so now I am locked out. Is there a work around or do I have to uninstall MySQL and reinstall? service mysqld stop mysqld_safe --user=mysql --skip-grant-tables mysql -u root update mysql.user set password=password(blahcopter) where user=root; flush privileges; exit; service mysqld restart Written from (very volatile) memory so double check the commands.. -- Nux! www.nux.ro ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Wish my memory was close to yours! Thanks! Need to look up mysqld_safe. Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] The delays on CentOS 5.6 are causing EPEL incompatibilities
On Sat, Mar 26, 2011 at 2:53 PM, Les Mikesell lesmikes...@gmail.com wrote: On 3/26/11 12:44 PM, Lamar Owen wrote: Les, the upstream source RPMs aren't even the source source for the upstream build; SRPMS are just a by product of the build of the binaries from source in an SCM (managed by Red Hat's koji), and in theory, given the same identical environment that built the upstream binaries they will re-build to the same binary. The environment is the hard thing to replicate, since it is a moving target, and each build changes it slightly. It's questionable if upstream could exactly replicate it from their own source RPM's without significant effort (that is, outside of koji). I don't see how you could miss if you did a 2nd rebuild where the libraries populating the build environment are the product of the source you are shipping (correct dependency listings or not). Or how you can claim to be shipping source that matches your binaries if you don't do it that way. Does an rpmbuild --rebuild of one of the packages in question on a stock RH system create a binary that would fail the CentOS QA? rpmbuild --rebuild need not work. Dependencies need not be satisified by anything Red Hat publishes, and this has happened and been documented (and addressed in patches upstream). I went slightly nutso with similar issues when I published an updated nx.spec for CentOS 6 in Bugzilla. There are dependencies on audio related devel packages which are not on RHEL 6.0 installation media, but only available in the optional channel of yum-rhn-plugin. CentOS, sensibly, doesn't make these funny distinctions and puts all such publicly licensed packages in one main os repository. This can save a lot of nuttiness when trying to build such packages in mock, but for a while there I thought they hadn't published the darn thing. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Locked myself out of MySQL
On 3/26/2011 1:36 PM, Jure Pečar wrote: On Sat, 26 Mar 2011 13:24:40 -0700 Todd Caryt...@aristesoftware.com wrote: Darn! I must have either made a typo or my use of a ; in the MySQL root password so now I am locked out. Is there a work around or do I have to uninstall MySQL and reinstall? --skip-grant-tables Check mysql docs next time. I did use the MySQL 5 manual and the forum, but like so many details in the computer world, unless I know what to search for, it is hard to get the correct answer. The key here is mysqld_safe. Really sorry to have taken everyone's time...especially for such simple stuff. Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] The delays on CentOS 5.6 are causing EPEL incompatibilities
On Saturday, March 26, 2011 02:53:19 pm Les Mikesell wrote: Does an rpmbuild --rebuild of one of the packages in question on a stock RH system create a binary that would fail the CentOS QA? This is the core of the question. As I don't have an RHEL 6 system available to try, I can't directly answer that. The answer is 'it depends'. But you still miss the issue; the buildroot repository is the binary tree built against, and it could contain binaries that are different from the shipped RHEL system's binaries. Of course, that's with mock, which makes it easier to make something that is not self-hosted; it also makes it possible to build multiple versions of systems on a single buildhost running yet a different version. Straight rpmbuild --rebuild may very well fail with missing build dependencies, which you would then have to go spelunking for in non-RHEL repositories (but they're out there, or SL6 wouldn't be built at all, now would it?). You have the exact source code used to build the package you have installed; you may or may not have all of the same versions of the dependencies that your binary package actually was built against. The question can be distilled as 'is RHEL self-hosting' to which the answer has been for a while 'No, and that isn't a primary goal of RHEL.' Why not? would be a reasonable question right about now. To use an example I work with, current Ardour 3 source code out of subversion (Ardour 3 is in alpha test, and is not released) cannot be compiled against just any version of the JACK development headers and libraries; to get a working executable, you have to compile against a specific version of the jack-devel package; but the built binary can run with any recent version of the JACK library. An Ardour 3 binary could be built and shipped that would work fine with the current JACK 1.96 but was built with 0.120.1 (which is the specific version required for the build to be successful). I would give you a link, but the current 'ardour-dev' archive is only available to members of that list. The point being, there are likely reasons other than carelessness or obfuscation-ness that a package might be built against development headers and libs that are different from the shipping versions (but with compatible sonames, perhaps), or maybe built with a different toolchain (compiler, linker, etc) than the shipping version of those tools, perhaps in order to just get the package to build; it will run fine with the shipping binaries, but may not build with them. And it may be a niche thing, where other packages in the distribution won't build with that particular toolchain I'll finish by pointing to the following resources for learning more about this (and I'm just throwing these out, I've not thoroughly checked everything said in these pages, but notice who is posting in some cases): http://adsm.org/lists/html/Veritas-bu/2010-07/msg00135.html http://www.redhat.com/archives/rhl-list/2004-January/msg02812.html http://www.redhat.com/archives/taroon-beta-list/2003-September/msg00038.html http://www.redhat.com/archives/nahant-beta-list/2004-November/msg00072.html http://www.redhat.com/archives/nahant-beta-list/2004-November/msg00073.html http://www.redhat.com/archives/nahant-list/2006-July/msg00059.html http://www.redhat.com/archives/taroon-list/2004-March/msg00249.html http://www.redhat.com/archives/taroon-list/2004-March/msg00261.html http://www.redhat.com/archives/nahant-list/2006-May/msg00266.html http://www.redhat.com/archives/nahant-list/2006-May/msg00264.html (side note on that last one there was and maybe still is a 'Cisco Enterprise Linux' build..reference: http://fr2.rpmfind.net/linux/RPM/sourceforge/p/project/pi/pipeviewer/OldFiles/pv-0.8.6-1.x86_64.html ) http://www.redhat.com/archives/taroon-list/2005-March/msg00222.html http://www.redhat.com/archives/taroon-list/2005-March/msg00228.html http://www.redhat.com/archives/nahant-list/2006-May/msg00273.html There are more. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Corporate support for CentOS
There have been a number of recent conversations on the developer list and this list about CentOS. My initial thought was why not have CentOS and SL merge. Since they have different goals I can understand the reason not to. So my next question is, has no corporate entity offered to sponsor full time people to work on CentOS? It seems like a lot of companies use CentOS for various things. I can't believe no one is willing to help speed development by paying for people to build full time. Has this subject come up before? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Locked myself out of MySQL
At Sat, 26 Mar 2011 13:24:40 -0700 CentOS mailing list centos@centos.org wrote: Darn! I must have either made a typo or my use of a ; in the MySQL root password so now I am locked out. Is there a work around or do I have to uninstall MySQL and reinstall? Is the data in the database expendable (or is the database empty)? Do you have a database backup? If either of the above, you can probably just do a rm on the MySQL database (after *stopping* the MySQL daemon!) and have MySQL create a fresh, empty database using the MySQL first time install script. And then set the password properly and/or restore the backup (if necessary you can edit the backup file if the password there is 'bad'). Todd -- Robert Heller -- 978-544-6933 / hel...@deepsoft.com Deepwoods Software-- http://www.deepsoft.com/ () ascii ribbon campaign -- against html e-mail /\ www.asciiribbon.org -- against proprietary attachments ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Corporate support for CentOS
Am 26.03.2011 um 22:16 schrieb Gary Scarborough: There have been a number of recent conversations on the developer list and this list about CentOS. My initial thought was why not have CentOS and SL merge. Since they have different goals I can understand the reason not to. So my next question is, has no corporate entity offered to sponsor full time people to work on CentOS? It seems like a lot of companies use CentOS for various things. I can't believe no one is willing to help speed development by paying for people to build full time. Has this subject come up before? Every couple of months. People who have enough money to make significant contributions to this goal usually hire a couple of competent admins and do it in-house. For the rest, there is RHEL - or OEL. Do you think one can undercut RHAT or ORCL? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My new server
On Saturday, March 26, 2011 02:13:49 pm John R Pierce wrote: On 03/26/11 9:51 AM, Ray Van Dolson wrote: The HP MicroServer does have hot-swappable trays... Great little box. the specs say non-hot-plug repeatedly. [snip] and refers to them as 'internal SATA drives' ? While in most cases internal drives aren't considered 'hot-swap' since opening the case isn't typically a thing you'd think of when considering something 'hot-swap,' according to the libATA wiki at https://ata.wiki.kernel.org/index.php/SATA_hardware_features says that the AMD SB820M is AHCI, and supports hot-swap. In most cases, true hot-swap trays and cages for SATA (like the ones for SuperMicro cases, to use one example) have no special 'interposer' logic like some hot-swap IDE and SCSI cages do, that does a staged disconnect when you turn the drive off with the key on the tray; it's a built-in feature of the drive (staggered contacts on the connector pair) and the controller for SATA, and especially AHCI. The 2U 6 tray SATA cage for the SuperMicro box I have has direct pass-through for all 6 of the SATA positions. 80-pin SCA SCSI cages (again, like the 6 tray Supermicro ones) can use the SCA connector's pin stagger to good advantage, and most of the time don't need interposer chips. So you're not likely to damage anything by hot-swapping an internal SATA drive (as long as you issue the ioctls necessary, and things aren't mounted, etc), as long as you don't drop a screw on the running motherboard.which is a real risk, by the way (yeah, I've done that, too). So it's not a good idea, but it could be done in an emergency, I guess (I say I guess, but in fact I have done this more than once, with a tower case where the drives were in easily removeable cages that didn't have screws to drop, and were well away from the motherboard or any other exposed energized components). I've even done it with a laptop running on a liveCD. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Corporate support for CentOS
Well, I ask because there are people supporting SL to the degree that they have full time people working on it, yet they don't actually aim for 100% binary compatibility, just good enough. I have used CentOS for a while and wasn't really aware of SL until recently. With all the projects that get supported by companies it just seems like CentOS would be a natural choice for a large technology company. On Sat, Mar 26, 2011 at 5:29 PM, Rainer Duffner rai...@ultra-secure.dewrote: Am 26.03.2011 um 22:16 schrieb Gary Scarborough: There have been a number of recent conversations on the developer list and this list about CentOS. My initial thought was why not have CentOS and SL merge. Since they have different goals I can understand the reason not to. So my next question is, has no corporate entity offered to sponsor full time people to work on CentOS? It seems like a lot of companies use CentOS for various things. I can't believe no one is willing to help speed development by paying for people to build full time. Has this subject come up before? Every couple of months. People who have enough money to make significant contributions to this goal usually hire a couple of competent admins and do it in-house. For the rest, there is RHEL - or OEL. Do you think one can undercut RHAT or ORCL? ___ 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] My new server
On Sat, Mar 26, 2011 at 3:55 PM, John R Pierce pie...@hogranch.com wrote: On 03/26/11 12:51 PM, Rainer Duffner wrote: Use VLAN-trunks. someone using a $350 micro server as his ADSL gateway is highly unlikely to have layer 2 managed switches capable of handling VLANs. I'm not sure this is an accurate statement. I purchased a 16-port linksys managed 10/100/1000 switch a year ago for $200, and it looks like there are managed switches for $100 now: http://www.amazon.com/gp/redirect.html?ie=UTF8location=http%3A%2F%2Fwww.amazon.com%2Fs%3Fie%3DUTF8%26x%3D0%26ref_%3Dnb_sb_noss%26y%3D0%26field-keywords%3Dmanaged%2520switch%26url%3Dsearch-alias%253Dapstag=tp6708-20linkCode=ur2camp=1789creative=390957 I've been seeing VLANs, jumbo frames, trunking, CLIs, SNMP monitoring, etc. getting added to a lot of the cheap entry level switches. I'm assuming they are adding these features to stand out in the consumer space, even though your average consumer has no idea how to use these features. - Ryan -- http://prefetch.net ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] My new server
On Sat, 2011-03-26 at 19:14 -0400, Matty wrote: On Sat, Mar 26, 2011 at 3:55 PM, John R Pierce pie...@hogranch.com wrote: On 03/26/11 12:51 PM, Rainer Duffner wrote: Use VLAN-trunks. someone using a $350 micro server as his ADSL gateway is highly unlikely to have layer 2 managed switches capable of handling VLANs. I'm not sure this is an accurate statement. I purchased a 16-port linksys managed 10/100/1000 switch a year ago for $200, and it looks like there are managed switches for $100 now: +1, and that is new. My employer purchases used HP Procurve managed switches for sub-$100 a piece. For the great majority of deployments they are more than adequate and the feature set is pretty good. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Corporate support for CentOS
There have been a number of recent conversations on the developer list and this list about CentOS. My initial thought was why not have CentOS and SL merge. Since they have different goals I can understand the reason not to. So my next question is, has no corporate entity offered to sponsor full time people to work on CentOS? It seems like a lot of companies use CentOS for various things. I can't believe no one is willing to help speed development by paying for people to build full time. Has this subject come up before? As far as I can tell, it is as simple as this:- The volunteers that create CentOS like things the way it is and it isn't likely to change. We seen it said a number of times, if we don't like it then go somewhere else. I suggest there might be room for another rebuild project that is open to commercially sponsored, i.e. somewhere else. This would n't be a 'rival' because its aims would be different. I'll be honest though, I don't realistically see enough money coming in to put people full-time onto it, though, when you consider market rate for the skills required. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Corporate support for CentOS
On 03/26/2011 07:46 PM, Ian Murray wrote: There have been a number of recent conversations on the developer list and this list about CentOS. My initial thought was why not have CentOS and SL merge. Since they have different goals I can understand the reason not to. So my next question is, has no corporate entity offered to sponsor full time people to work on CentOS? It seems like a lot of companies use CentOS for various things. I can't believe no one is willing to help speed development by paying for people to build full time. Has this subject come up before? As far as I can tell, it is as simple as this:- The volunteers that create CentOS like things the way it is and it isn't likely to change. We seen it said a number of times, if we don't like it then go somewhere else. I suggest there might be room for another rebuild project that is open to commercially sponsored, i.e. somewhere else. This would n't be a 'rival' because its aims would be different. I'll be honest though, I don't realistically see enough money coming in to put people full-time onto it, though, when you consider market rate for the skills required. What makes you think CentOS is not willing to be commercially sponsored? (Or only work developing CentOS?) I would LOVE to be able to do CentOS as my only job. No one that we know of is willing to pay a full time salary for 1 or 2 or 3 people to develop CentOS. If they would pay for it, we would likely do it. They might be willing for us to let their current employees do some CentOS things ... but not willing to pay for CentOS development. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos