Re: [CentOS-docs] What's an Enterprise class OS
On Sat, 2008-11-08 at 09:29 -0500, Scott Robbins wrote: On Sat, Nov 08, 2008 at 12:59:02PM +, Ned Slider wrote: Hi all, One of the concepts we see arise on the forums time and time again that's poorly understood is the concept of an Enterprise Class OS and everything that involves. I think it would be of benefit to have a one stop page to point users to that explains the concepts and provides the information required. Much of this content already exists on the Wiki but it is scattered over many individual pages and new users often don't find it (new users often don't search at all!) IMO, the FAQ, http://www.centos.org/modules/smartfaq/ is the proper place for this sort of information. Regardless of whether the questioners search or not, a frequently asked questiuon belongs there. Maybe the CentOS page needs to highlight the FAQ more by moving it out from under the Information drop-down and putting it as a big splash right there on the home page? snip -- Bill ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
[CentOS-docs] What's an Enterprise class OS
Hi all, One of the concepts we see arise on the forums time and time again that's poorly understood is the concept of an Enterprise Class OS and everything that involves. I think it would be of benefit to have a one stop page to point users to that explains the concepts and provides the information required. Much of this content already exists on the Wiki but it is scattered over many individual pages and new users often don't find it (new users often don't search at all!) I'm thinking something that covers the following topics: Relationship with the upstream product stability and long term support (vs bleeding edge) Support lifecycle backporting Not installing software from source ... Much of this could be a narrative linking to existing content on the Wiki where possible - not really that much new content, just bringing it all together in one place in an easy to read/navigate format. Initially I envisaged this as an About type page but that already exists (in title), so maybe something like Understanding an Enterprise Class Operating System. I'd also written a forum post in the FAQ and ReadMe First section on Installing Software: http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408forum=47 and am wondering about transferring this content to the Wiki too - maybe under the /HowTos/PackageManagement section, and some of that obviously relates to the content above. IMHO it makes sense to have this information centrally available on the Wiki rather than separately on the forums. I guess the reason for this post stems from frustration that the information is there on the Wiki but many new users are simply not finding it (I think forum users are maybe less inclined to search before asking than ML users). This makes me think we need to look at how we can restructure the information on the Wiki to make it more accessible or maybe produce pages that bring together related but individually scattered content in a more structured (easier to find and navigate) manner. ATM we tend to find ourselves writing the same answers over and over again which demonstrates a need for a centralised page covering all of this related content. Any thoughts? ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] What's an Enterprise class OS
William L. Maltby wrote: On Sat, 2008-11-08 at 09:29 -0500, Scott Robbins wrote: On Sat, Nov 08, 2008 at 12:59:02PM +, Ned Slider wrote: Hi all, One of the concepts we see arise on the forums time and time again that's poorly understood is the concept of an Enterprise Class OS and everything that involves. I think it would be of benefit to have a one stop page to point users to that explains the concepts and provides the information required. Much of this content already exists on the Wiki but it is scattered over many individual pages and new users often don't find it (new users often don't search at all!) IMO, the FAQ, http://www.centos.org/modules/smartfaq/ is the proper place for this sort of information. Regardless of whether the questioners search or not, a frequently asked questiuon belongs there. Maybe the CentOS page needs to highlight the FAQ more by moving it out from under the Information drop-down and putting it as a big splash right there on the home page? snip Good point Bill. Maybe these issues just need splitting up into individual FAQs and adding to that section. And if the answer requires much more than a couple of sentences then a separate page can be created and linked to provide a more in depth answer. BTW, a more maintained version of the FAQs now resides on the Wiki: http://wiki.centos.org/FAQ ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] What's an Enterprise class OS
On Sat, 2008-11-08 at 17:05 +, Ned Slider wrote: As Bill suggested, if the FAQ section were more comprehensive, that would work equally well. For me, it's as much an issue of structuring the information in a way that makes it easy to find/link to as it is about merely creating the relevant content. Creating subtitles/sorting the FAQs would help with the readability. As an example, here are the Postix FAQs: http://www.seaglass.com/postfix/faq.html When looking for a reference to post in response to a question, I often find it hard to locate questions in the FAQs that I know exist, but sometimes that's because of the web vs. wiki FAQs issue (i.e., I'm looking in the wrong one). Steve ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] What's an Enterprise class OS
Akemi Yagi wrote: Many of you on this mailing list may still remember the longish thread regarding the writing of a HowTo rpmbuild article. At that time, I quoted several forum posts to demonstrate the fact that we repeatedly *type* the same answer each time a new person asks the same question. This was because there wasn't really a good single point of reference we could use and the best way of responding was to write the whole thing out (again and again). At lease for me, the most propelling reason for creating a new article is to make things easier for people helping new users rather than to expect new users to read it. And the article/subject Ned is proposing is indeed worth writing. With so many people switching from Fedora and other distros, we have been having so many occasions in which we should explain what an enterprise class OS (thus CentOS) is about. See, you put that so much better than I did! As Bill suggested, if the FAQ section were more comprehensive, that would work equally well. For me, it's as much an issue of structuring the information in a way that makes it easy to find/link to as it is about merely creating the relevant content. ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] What's an Enterprise class OS
On Sat, 2008-11-08 at 12:25 -0500, Steve Tindall wrote: snip When looking for a reference to post in response to a question, I often find it hard to locate questions in the FAQs that I know exist, but sometimes that's because of the web vs. wiki FAQs issue (i.e., I'm looking in the wrong one). Great miinds think alike! ;-) I've started another thread that touches on this exact issue. snip Steve snip sig stuff -- Bill ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
[CentOS] Re: correct way to set centos 5 amd64 to performance mode
Jerry Geis schrieb: what is the correct way to set an AMD64 CPU into performance mode at boot time? I have tried doing service network cpuspeed start, then killall -SIGUSR1 cpuspeed and this works but I cant get it working this way at boot. I have set chkconfig cpuspeed on but that didnt seem to help. I just want this particular machine to boot in performance mode and stay there. Jerry Performance mode is the default; cpuspeed sets it to ondemand. So you need to /sbin/chkconfig cpuspeed off After a reboot, the CPU(s) will be in performance mode. HTH, Kay ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] HA Storage Cookbook?
On Fri, Nov 7, 2008 at 9:03 PM, Les Mikesell [EMAIL PROTECTED] wrote: Gordon McLellan wrote: Les, That's pretty much my problem. I was hoping to kill two birds with one stone here. First order of business is to replace the single drive with a raid array. Second order was to replace a single iscsi server with duo of machines. If one machine had some sort of non-recoverable problem, the other could pick-up the torch and carry on, even if that means I need to flip a switch to make it happen. My solution for semi-critical stuff (i.e. a few minutes of downtime won't cost the 6 figures it would take to prevent it) has been to use RAID1 in a chassis with hot-swap carriers and keep a spare chassis handy. That way the common case of a disk failure doesn't even cause a slowdown and you can rebuild at an off-peak time without shutting down and in the much less likely case of a motherboard failure you yank the drives, put them in the other box and reboot. But, that means you are probably limited to 6 disks total with half used as mirrors and you still need backups for software or site disasters. The next step up from this would be DRBD to keep hot copies on the spare machine but I've always gotten away with one spare chassis for several active servers (and sometime using it for testing other things too...). You do need to know about the NIC hardware address in /etc/sysconfig/ifcfg-eth? when swapping disks around, though. -- Les Mikesell [EMAIL PROTECTED] ___ I've been contemplating a setup similar to what you're referring to. Basically, take two PC's, (say a Dell PE 860 - I got some of these), and then network-RAID the two PC's, and setup them up with HA to offer one single IP to the network. Thus, if either one of them fails, you still have the other one left. If space (i.e. rackspace) is a problem, then 2x1U's won't cost that much, and they can take 2 HDD's each, so you could seup RAID 1 (mirror) on the 2 HDD's as well. If you can afford 2U space, then you can setup a 2950 with 6 drives each, which has more capacity, and the 2 servers clustered will give redundancy. Has anyone done something like this? What was your experience with this? I know SuperMicro has a chassis that can take 2x small factor motherboards, which means you can setup something like this on the same chassis. -- Kind Regards Rudi Ahlers ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Perl Trouble
Dave, --On 8. November 2008 10:04:25 + Dave Cross [EMAIL PROTECTED] wrote: The module that you want is already build as an rpm. It is contained within perl-Class-Accessor. Thanks, installing that has helped. Your local Perl installation is, however, somewhat broken by the sounds of it. My recommendation would be to remove all of the modules that you have installed using CPAN (you'll find them in the site-perl directory) and reinstall them from rpms. I will stick to installing the modules from rpms. By the way, seems that there are some missing dependencies: The module I installed for usage is perl-Nagios-Plugin, but that did not lead to installation of perl-Class-Accessor. Should I inform someone of that (whom? how?). Thanks for your help, Dirk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Perl Trouble
2008/11/8 Dirk H. Schulz [EMAIL PROTECTED]: I am running several CentOS 5.2 servers with similar configuration. On all of them I received the following error when using a certain perl module: Base class package Class::Accessor::Fast is empty. (Perhaps you need to 'use' the module which defines that package first.) On most of the servers installing Class::Accessor::Fast manually via CPAN shell has resolved the problem, but there is two of them where this did not help. I know that during setup of these hosts I used yum and cpan shell both to install perl modules; I guess that was wrong to do. Mixing CPAN based module installations with rpm-based module installations is a terrible idea as rpm (or yum) and CPAN install modules in different directories (vendor-perl vs site-perl) so you can (as you have found) end up with two versions of the same module installed. This is a recipe for disaster. My advice is to never mix CPAN installations of Perl modules with rpm installations. And given that the system installation of Perl already comes with a number of rpm modules installed, I only ever add rpm-based modules to that installation. If you want to do CPAN installations then I recommend building your own version of Perl and installing it completely separate to the system installation. You might be interested in by presentation Perl in RPM-Land which goes into this in more detail. http://www.slideshare.net/davorg/perl-in-rpmland-presentation/ Now even an install Bundle::CPAN in cpan shell does not solve the problem. How can I find out what exactly goes wrong there? Googling for the error message does not show up anything helpful. The module that you want is already build as an rpm. It is contained within perl-Class-Accessor. Your local Perl installation is, however, somewhat broken by the sounds of it. My recommendation would be to remove all of the modules that you have installed using CPAN (you'll find them in the site-perl directory) and reinstall them from rpms. Let me know if you need any more help. Dave... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Perl Trouble
2008/11/8 Dirk H. Schulz [EMAIL PROTECTED]: I will stick to installing the modules from rpms. By the way, seems that there are some missing dependencies: The module I installed for usage is perl-Nagios-Plugin, but that did not lead to installation of perl-Class-Accessor. Should I inform someone of that (whom? how?). That's strange. The META.yaml[1] for that module clearly includes Class::Accessor as a pre-requisite. And I'd expect that to filter through to become an rpm dependency. But looking at the spec file for the rpm[2], it's clearly missing (with a few other dependencies). Looks like the rpm spec was built by Dag Wieers [EMAIL PROTECTED] - you might want to mention your problem to him. Actually, a better approach might be to use the official RPM Forge feedback mechanisms[3]. Hope that helps, Dave... [1] http://search.cpan.org/src/TONVOON/Nagios-Plugin-0.27/META.yml [2] http://svn.rpmforge.net/svn/trunk/rpms/perl-Nagios-Plugin/perl-Nagios-Plugin.spec [3] https://rpmrepo.org/RPMforge/Feedback ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS-announce Digest, Vol 45, Issue 5
Send CentOS-announce mailing list submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than Re: Contents of CentOS-announce digest... Today's Topics: 1. CESA-2008:0971 Important CentOS 4 ia64 net-snmp - security update (Pasi Pirhonen) 2. CESA-2008:0971 Important CentOS 3 ia64 net-snmp - security update (Pasi Pirhonen) 3. CESA-2008:0971 Important CentOS 4 s390(x) net-snmp - security update (Pasi Pirhonen) 4. CESA-2008:0971 Important CentOS 3 s390(x) net-snmp - security update (Pasi Pirhonen) -- Message: 1 Date: Fri, 7 Nov 2008 22:07:46 +0200 From: Pasi Pirhonen [EMAIL PROTECTED] Subject: [CentOS-announce] CESA-2008:0971 Important CentOS 4 ia64 net-snmp - security update To: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii CentOS Errata and Security Advisory 2008:0971 https://rhn.redhat.com/errata/RHSA-2008-0971.html The following updated files have been uploaded and are currently syncing to the mirrors: ia64: updates/ia64/RPMS/net-snmp-5.1.2-13.c4.2.ia64.rpm updates/ia64/RPMS/net-snmp-devel-5.1.2-13.c4.2.ia64.rpm updates/ia64/RPMS/net-snmp-libs-5.1.2-13.c4.2.ia64.rpm updates/ia64/RPMS/net-snmp-perl-5.1.2-13.c4.2.ia64.rpm updates/ia64/RPMS/net-snmp-utils-5.1.2-13.c4.2.ia64.rpm -- Pasi Pirhonen - [EMAIL PROTECTED] - http://pasi.pirhonen.eu/ Top-postings silently ignored -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.centos.org/pipermail/centos-announce/attachments/20081107/fd849c61/attachment-0001.bin -- Message: 2 Date: Fri, 7 Nov 2008 22:12:17 +0200 From: Pasi Pirhonen [EMAIL PROTECTED] Subject: [CentOS-announce] CESA-2008:0971 Important CentOS 3 ia64 net-snmp - security update To: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii CentOS Errata and Security Advisory 2008:0971 https://rhn.redhat.com/errata/RHSA-2008-0971.html The following updated files have been uploaded and are currently syncing to the mirrors: ia64: updates/ia64/RPMS/net-snmp-5.0.9-2.30E.25.ia64.rpm updates/ia64/RPMS/net-snmp-devel-5.0.9-2.30E.25.ia64.rpm updates/ia64/RPMS/net-snmp-libs-5.0.9-2.30E.25.ia64.rpm updates/ia64/RPMS/net-snmp-perl-5.0.9-2.30E.25.ia64.rpm updates/ia64/RPMS/net-snmp-utils-5.0.9-2.30E.25.ia64.rpm -- Pasi Pirhonen - [EMAIL PROTECTED] - http://pasi.pirhonen.eu/ Top-postings silently ignored -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.centos.org/pipermail/centos-announce/attachments/20081107/fa8d04c1/attachment-0001.bin -- Message: 3 Date: Fri, 7 Nov 2008 23:43:12 +0200 From: Pasi Pirhonen [EMAIL PROTECTED] Subject: [CentOS-announce] CESA-2008:0971 Important CentOS 4 s390(x) net-snmp - security update To: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii CentOS Errata and Security Advisory 2008:0971 https://rhn.redhat.com/errata/RHSA-2008-0971.html The following updated files have been uploaded and are currently syncing to the mirrors: s390: updates/s390/RPMS/net-snmp-5.1.2-13.c4.2.s390.rpm updates/s390/RPMS/net-snmp-devel-5.1.2-13.c4.2.s390.rpm updates/s390/RPMS/net-snmp-libs-5.1.2-13.c4.2.s390.rpm updates/s390/RPMS/net-snmp-perl-5.1.2-13.c4.2.s390.rpm updates/s390/RPMS/net-snmp-utils-5.1.2-13.c4.2.s390.rpm s390x: updates/s390x/RPMS/net-snmp-5.1.2-13.c4.2.s390x.rpm updates/s390x/RPMS/net-snmp-devel-5.1.2-13.c4.2.s390x.rpm updates/s390x/RPMS/net-snmp-libs-5.1.2-13.c4.2.s390x.rpm updates/s390x/RPMS/net-snmp-perl-5.1.2-13.c4.2.s390x.rpm updates/s390x/RPMS/net-snmp-utils-5.1.2-13.c4.2.s390x.rpm -- Pasi Pirhonen - [EMAIL PROTECTED] - http://pasi.pirhonen.eu/ Top-postings silently ignored -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.centos.org/pipermail/centos-announce/attachments/20081107/c3ab28ca/attachment-0001.bin -- Message: 4 Date: Fri, 7 Nov 2008 23:44:35 +0200 From: Pasi Pirhonen [EMAIL PROTECTED] Subject: [CentOS-announce] CESA-2008:0971 Important CentOS 3 s390(x) net-snmp - security update To: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain;
Re: [CentOS] updated Apache mod_expires?
On Fri, Nov 7, 2008 at 4:45 PM, Jed Reynolds [EMAIL PROTECTED] wrote: I noticed that the apache rpm httpd-2.2.3-11.el5_1.centos.3.src.rpm has a bug in mod_expires. https://issues.apache.org/bugzilla/show_bug.cgi?id=39774 Please forgive a dumb question: how risky would using a Fedora httpd RPM be on a CentOS5 install? What I'd recommend would be to file a bug upstream at bugzilla.redhat.com (if one doesn't already exist). That way others who might run into this bug can get the benefit as well. It may also result in a quick test package produced so that you can see if the issue gets fixed. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] windows auth in linux world
Christopher Chan wrote: RobertH wrote: it is not my expertise so i need to get some direction please so i can google better on this one. looks like to many choices and i am sure some are time wasters. for those of you that have done it, what is your recommendation on the absolute easiest / fastest implementation to get a centos file (space) server to auth from a windows domain controller? Others have already told you what software to use and hinted at how to do it...I have a question. Are you going to have more than one centos based file servers? If you are, you may want to also use ldap as the backend rid store for winbind to keep the uid mappings consistent across all centos boxes. Just my two cents (again) : you don't need a ldap based backed to have a consistent uid mappings accross all samba servers : just use the idmap_rid function in smb.conf to be sure that uid mappings are not served on a 'first use, first served' but by using the rid part of the windows SID an all samba servers . More informations on http://www.redhatmagazine.com/2007/11/12/tips-and-tricks-how-can-i-configure-winbind-to-synchronize-user-and-group-ids-across-multiple-red-hat-enterprise-linux-hosts-on-active-directory-accounts/ -- - Fabian Arrotin [EMAIL PROTECTED] Internet network currently down, TCP/IP packets delivered now by UPS/Fedex ... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: correct way to set centos 5 amd64 to performance mode
what is the correct way to set an AMD64 CPU into performance mode at boot time? I have tried doing service network cpuspeed start, then killall -SIGUSR1 cpuspeed and this works but I cant get it working this way at boot. I have set chkconfig cpuspeed on but that didnt seem to help. I just want this particular machine to boot in performance mode and stay there. Jerry Open /etc/sysconfig/cpuspeed and edit the GOVERNOR setting: GOVERNOR=performance /Johnny ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Appliance platform
I have a project that I need some hardware pointers for. I need to build some Centos appliances (dedicated boxes to do one thing only). Target cost is under $250/box. Need: OS: Centos 5 Hardware Cost: less than $250 USD USB: at least 2 (not including keyboard) Memory: at least 128K Storage: prefer flash (USB stick OK) Network: 10 Base T Want: Height: less than 4 (fit on a 3RU shelf) Width: less than 10 (slide keyboard beside CPU on rack shelf)\ Display: 80x25 (or better) LCD on front of case (comes that way or I mount it there) Network: 2 x 10 Base T Application (in case anyone cares): Move better-than-FM quality audio across a leased audio circuit with delay under 10 seconds. No Internet exposure. Obviously one box is required at each end, and the encoding box works much harder than the decoding box. Software to run will probably be Ices - Icecast - network - mplayer. Will be using USB audio interfaces, probably something like the M-Audio Fast Track Pro. Because of the nature of the application, once it is booted up the only disk activity is occasional logging when there is a problem with the connection. Any advice, web links, battle scars, or advice gladly accepted. Ted Miller Indiana, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Appliance platform
I have a project that I need some hardware pointers for. I need to build some Centos appliances (dedicated boxes to do one thing only). Target cost is under $250/box. Given the rest of the requirements, I would say something like: http://www.mini-box.com/M200-LCD-Enclosure Find a distro more suited to the low power/mem environment like busybox or something. jlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Appliance platform
On Saturday 08 November 2008 12:27:15 Ted Miller wrote: I have a project that I need some hardware pointers for. I need to build some Centos appliances (dedicated boxes to do one thing only). Target cost is under $250/box. Need: OS: Centos 5 Hardware Cost: less than $250 USD USB: at least 2 (not including keyboard) Memory: at least 128K Storage: prefer flash (USB stick OK) Network: 10 Base T TigerDirect sells refurbished computers starting at $100. -- Bobby ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Appliance platform
Ted Miller wrote: Application (in case anyone cares): Move better-than-FM quality audio across a leased audio circuit with delay under 10 seconds. No Internet exposure. Obviously one box leased audio circuit meaning ISDN ? your $250 target price includes not only the built in flat panel and audio adapters but also the ISDN adapter? sounds like you're trying to reinvent the Telos Zephyr. http://www.telos-systems.com/?/xport/default.htm have fun! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Where is the file that sets aliases?
I was having a problem in a shell script that turned out to be cp being aliased to 'cp -i'. Not a showstopper, once you realise it, but it did beg the question as to where this file is. I was told to look in /etc/profile.d, but that doesn't seem to be the case on my CentOS box. I can list aliases, so I know the file exists, but where? Anne signature.asc Description: This is a digitally signed message part. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Where is the file that sets aliases?
On Sat, 2008-11-08 at 18:57 +, Anne Wilson wrote: I was having a problem in a shell script that turned out to be cp being aliased to 'cp -i'. Not a showstopper, once you realise it, but it did beg the question as to where this file is. I was told to look in /etc/profile.d, but that doesn't seem to be the case on my CentOS box. I can list aliases, so I know the file exists, but where? ~/.bashrc FTR, you can use \cp to get around this. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] PLEASE don't CC me; I'm already subscribed signature.asc Description: This is a digitally signed message part ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Where is the file that sets aliases?
On Sat, Nov 8, 2008 at 10:57 AM, Anne Wilson [EMAIL PROTECTED] wrote: I was having a problem in a shell script that turned out to be cp being aliased to 'cp -i'. Not a showstopper, once you realise it, but it did beg the question as to where this file is. I was told to look in /etc/profile.d, but that doesn't seem to be the case on my CentOS box. I can list aliases, so I know the file exists, but where? Try /etc/profile. mhr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Where is the file that sets aliases?
On Saturday 08 November 2008 19:00:56 Ignacio Vazquez-Abrams wrote: On Sat, 2008-11-08 at 18:57 +, Anne Wilson wrote: I was having a problem in a shell script that turned out to be cp being aliased to 'cp -i'. Not a showstopper, once you realise it, but it did beg the question as to where this file is. I was told to look in /etc/profile.d, but that doesn't seem to be the case on my CentOS box. I can list aliases, so I know the file exists, but where? ~/.bashrc That seems to be the place to add user-specific ones, but where are the global default ones? FTR, you can use \cp to get around this. I was told that, and also told that it was advisable to use the full path in a script, particularly if it is to be run by cron. I chose the full-path solution. Anne signature.asc Description: This is a digitally signed message part. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Where is the file that sets aliases?
On Saturday 08 November 2008 19:00:12 MHR wrote: On Sat, Nov 8, 2008 at 10:57 AM, Anne Wilson [EMAIL PROTECTED] wrote: I was having a problem in a shell script that turned out to be cp being aliased to 'cp -i'. Not a showstopper, once you realise it, but it did beg the question as to where this file is. I was told to look in /etc/profile.d, but that doesn't seem to be the case on my CentOS box. I can list aliases, so I know the file exists, but where? Try /etc/profile. That doesn't appear to define cp, l, ll, ls, mv, rm or which, all of which are listed by the command 'alias'. Anne signature.asc Description: This is a digitally signed message part. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Where is the file that sets aliases?
On Sat, 2008-11-08 at 19:39 +, Anne Wilson wrote: That seems to be the place to add user-specific ones, but where are the global default ones? All global default files are in /etc/skel. -- Ignacio Vazquez-Abrams [EMAIL PROTECTED] PLEASE don't CC me; I'm already subscribed signature.asc Description: This is a digitally signed message part ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Reinstalled Windows and GRUB - Cannot boot Linux - fstab and grub.conf errors?
Background: This is a dual boot (Windows XP and CentOS 5.2 (32 bit) box. There were four (4) NTFS partitions. The C partition got full. I deleted the 4 NTFS partitions and did a clean install of Windows XP, into one (1) NTFS partition. I knew that I would need to install GRUB again and I did that, using the CentOS 5 Installation DVD. When I tried to boot into Linux, no joy. this is the GRUB error I got: Booting 'CentOS (2.6.18-92.1.17.el5)' root (hd0,2) Filesystem type unknown, partition type 0x8e Kernel /vmlinuz-2.6.18-92.1.17.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet Error 17: Cannot mount selected partition Press any key to continue (same error, trying to boot the 2 older Linux Kernels) The CentOS 5 Installation DVD apparently is now damaged (Murphy's Law). I have available to me: (a) CentOS 5.2 i386 Live CD (I am running on that, as I write this email) (b) Knoppix Live Disk, V.5.1.1 (c) SystemRescueCD V.0.2.15 The partitions on my hard drive, as shown by QTParted on the Knoppix Live CD are now: 01 /dev/hda1 ntfs Active 02 /dev/hda2 ext3 (/boot) 03 /dev/hda3 unknown (CentOS LVM) My belief is that /hda3 is not mounted. If I click on the Local Hard Drives Icon under disc it only shows hda2 (the Linux /boot partition). How and where do I fix that? When I view /etc/fstab as centos user with the CentOS 5.2 Live CD, I see that the line I had to mount the NTFS data partition (E: when I had 4 NTFS partitions) showed it as /dev/hda6 Now, the only NTFS partition, C, is /dev/hda1. Viewing it as centos user, in gedit, it is read only. When I try to view it as root, it shows me a /etc/fstab file that apparently is created by the LiveCD and doesn't show the Windows partition. How do I edit the /etc/fstab file so I can change it from /hda6 to /hda1? Here's the file contents: /dev/VolGroup00/LogVol00 / ext3defaults1 1 LABEL=/boot /boot ext3defaults1 2 devpts /dev/ptsdevpts gid=5,mode=620 0 0 tmpfs /dev/shmtmpfs defaults0 0 proc/proc procdefaults0 0 sysfs /syssysfs defaults0 0 /dev/VolGroup00/LogVol01 swapswapdefaults0 0 /dev/hda6 /mnt/win ntfs-3g rw,umask=,defaults 0 0 TIA! Lanny ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] A broader CentOS information sharing issue? [ Was What's an Enterprise class OS ]
On Sat, 2008-11-08 at 08:55 -0800, Akemi Yagi wrote: snip Many of you on this mailing list may still remember the longish thread regarding the writing of a HowTo rpmbuild article. At that time, I quoted several forum posts to demonstrate the fact that we repeatedly *type* the same answer each time a new person asks the same question. This was because there wasn't really a good single point of reference we could use and the best way of responding was to write the whole thing out (again and again). At lease for me, the most propelling reason for creating a new article is to make things easier for people helping new users rather than to expect new users to read it. And the article/subject Ned is proposing is indeed worth writing. With so many people switching from Fedora and other distros, we have been having so many occasions in which we should explain what an enterprise class OS (thus CentOS) is about. Agree 100%. I just want to mention that the OP, combined with your post, really opens a whole can of worms, when considered in the light of things such as what you mention and the assumption that the user base is growing. I thought it might be useful to the project to think about this. If not, just ignore this please. In projects I've seen in the past, the addressing of things such as _effective_ FAQs, proper indoctrination of new users (in ML, fora and chat rooms) into the _basics_ of the project are usually delayed until the swelling volume forces action to be taken just for sanity/survival of the hittest. :-) Although these things weren't ignored, they are often considered, effectively, in isolation. Consideration or estimations of user-base constituency, user-base size, project growth, degree of confusion experienced by new users, ... often miss the mark. The folks who try to actively help get hit the hardest with repetitive questions. the most frequent symptom of the need for a re-examination. Often these don't make it into a FAQ or other standard frequently referenced place because of a lack of a FAQ coordinator or maintainer or a lack of effective support from the rest of the group in proposing new potential FAQ entries. Further, the new user often doesn't review the FAQ (or other resources) until someone gets really ticked and says something like It's in the FAQ - GO READ IT. Some mild coercion when a user signs up for an ML, forum or chat room could help alleviate that situation. If the FAQ is well maintained, organized, supported by appropriate proposals, and somewhat forcefully introduced to new sign-ups, ML and fora support folks might see reduced repetition and could also use it, via a quick inclusion of a URL, to expeditiously answer some of the oft seen issues. However, this is an isolated stab at a larger problem, IMO. The number of informative articles on the wiki can be expected to continue to grow. There are also many links in the list archives that reference outside resources, such as blogs or other web sites, that answer many questions. This list has already entertained a thread that proposes some consolidation of activity in the fora and mailing lists. Unresolved, IIRC. The basic issue here is that in a project with a user base as diverse as CentOS (regardless of a strong skew of the profiles towards one or another group, like administrators or programmers, or ...), there are too many portals to obtaining information: Planet/People/.../FAQ/Forum/ML/homer page Information drop-down, ... Combined with search engines, all this conspires to overwhelm a new user, especially of the user is in a time-constrained environment where a quick resolution is needed. If my sense of the growing popularity is correct, I suggest that now is a good time to start a thorough discussion about the information infrastructure and ways of ... encouraging new users to use the infrastructure _and_ reduce the number of possible paths that exist to finding needed information. A combination of single path access to all these information resources, a new sign-up introduction to this path, a dedicated support team to keep the components current and a commitment of all those who participate to constantly propose (and generate/maintain where possible) these components should be considered. If something results from this thread, I volunteer to help as I can, although most of you realize that my skills are limited and dated. But I still can learn relatively quickly. It's just that I seem to fit the profile I read long ago: younger folks grasp, retain and more quickly recall details while older folks tend to grasp, integrate and apply concepts more quickly without being as nimble about the details of things. Akemi snip sig stuff -- Bill ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Hiding Files in Samba
I may need a strong shot of coffee but I though putting hide files = /~*/ as follows in the samba config file would hide files with a tilde. [homes] comment = Home Directories browseable = no writable = yes hide files = /~*/ Unfortunately after restarting the server the files are still visible. Regards, Vandaman. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: Reinstalled Windows and GRUB - Cannot boot Linux - fstab and grub.conf errors?
There is a Permissions problem, when I try to access /boot/grub/grub.conf and /etc/fstab so I can edit them. How can I do that, using the Live CD's I have? I need root access. On 11/8/08, Lanny Marcus [EMAIL PROTECTED] wrote: Background: This is a dual boot (Windows XP and CentOS 5.2 (32 bit) box. There were four (4) NTFS partitions. The C partition got full. I deleted the 4 NTFS partitions and did a clean install of Windows XP, into one (1) NTFS partition. I knew that I would need to install GRUB again and I did that, using the CentOS 5 Installation DVD. When I tried to boot into Linux, no joy. this is the GRUB error I got: Booting 'CentOS (2.6.18-92.1.17.el5)' root (hd0,2) Filesystem type unknown, partition type 0x8e Kernel /vmlinuz-2.6.18-92.1.17.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet Error 17: Cannot mount selected partition Press any key to continue (same error, trying to boot the 2 older Linux Kernels) The CentOS 5 Installation DVD apparently is now damaged (Murphy's Law). I have available to me: (a) CentOS 5.2 i386 Live CD (I am running on that, as I write this email) (b) Knoppix Live Disk, V.5.1.1 (c) SystemRescueCD V.0.2.15 The partitions on my hard drive, as shown by QTParted on the Knoppix Live CD are now: 01 /dev/hda1 ntfs Active 02 /dev/hda2 ext3 (/boot) 03 /dev/hda3 unknown (CentOS LVM) My belief is that /hda3 is not mounted. If I click on the Local Hard Drives Icon under disc it only shows hda2 (the Linux /boot partition). How and where do I fix that? When I view /etc/fstab as centos user with the CentOS 5.2 Live CD, I see that the line I had to mount the NTFS data partition (E: when I had 4 NTFS partitions) showed it as /dev/hda6 Now, the only NTFS partition, C, is /dev/hda1. Viewing it as centos user, in gedit, it is read only. When I try to view it as root, it shows me a /etc/fstab file that apparently is created by the LiveCD and doesn't show the Windows partition. How do I edit the /etc/fstab file so I can change it from /hda6 to /hda1? Here's the file contents: /dev/VolGroup00/LogVol00 / ext3defaults1 1 LABEL=/boot /boot ext3defaults1 2 devpts /dev/ptsdevpts gid=5,mode=620 0 0 tmpfs /dev/shmtmpfs defaults0 0 proc/proc procdefaults0 0 sysfs /syssysfs defaults0 0 /dev/VolGroup00/LogVol01 swapswapdefaults0 0 /dev/hda6 /mnt/win ntfs-3g rw,umask=,defaults 0 0 TIA! Lanny ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Where is the file that sets aliases?
On Saturday 08 November 2008 20:38:43 William L. Maltby wrote: /etc/bashrc But be aware that root-specific ones are here on 5.x # grep alias .bashrc # User specific aliases and functions alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' I'm sorry, but I just can't understand why I can't find these Anne signature.asc Description: This is a digitally signed message part. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Where is the file that sets aliases?
Anne Wilson wrote: On Saturday 08 November 2008 20:38:43 William L. Maltby wrote: /etc/bashrc But be aware that root-specific ones are here on 5.x # grep alias .bashrc # User specific aliases and functions alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' I'm sorry, but I just can't understand why I can't find these bash runs... /etc/profile /etc/bashrc and $HOME/.bash_profile or $HOME/.bash_login or $HOME/.profile upon starting a login shell... the standard supplied profiles by default also run /etc/profile.d/*.sh $HOME/.bashrc and this last runs /etc/bashrc I note that the commands you're seeing are aliased explicitly in /root/.bashrc [EMAIL PROTECTED] ~]# cat /root/.bashrc # .bashrc # User specific aliases and functions alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi by default in most every RH system I checked, from the above CentOS 5 all the way back to RH Linux 6.2 [EMAIL PROTECTED] /root]# ls -la .bashrc -rw-r--r--1 root root 176 Aug 23 1995 .bashrc [EMAIL PROTECTED] /root]# rpm -qf .bashrc rootfiles-5.2-5 [EMAIL PROTECTED] /root]# rpm -qi rootfiles Name: rootfilesRelocations: (not relocateable) Version : 5.2 Vendor: Red Hat Software Release : 5 Build Date: Sun Mar 21 20:00:32 1999 Install date: Wed Feb 23 13:13:29 2000 Build Host: porky.devel.redhat.com Group : System Environment/Base Source RPM: rootfiles-5.2-5.src.rpm Size: 1912 License: public domain Packager: Red Hat Software http://developer.redhat.com/bugzilla/ Summary : The basic required files for the root user's directory. Description : The rootfiles package contains basic required files that are placed in the root user's account. These files are basically the same as the files found in the etcskel package, which are placed in regular users' home directories. note the date on that .bashrc file, heh. 13 years ago. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Hiding Files in Samba
I may need a strong shot of coffee but I though putting hide files = /~*/ as follows in the samba config file would hide files with a tilde. [homes] comment = Home Directories browseable = no writable = yes hide files = /~*/ Unfortunately after restarting the server the files are still visible. If you have Windows Explorer set to show hidden files, they will appear in a dim color. Quoting from the book Using Samba at http://oreilly.com/catalog/samba/chapter/book/ch05_02.html « Instead of simply hiding files beginning with a dot, you can also specify a string pattern to Samba for files to hide, using the |hide| |files| option. For example, let's assume that we specified the following in our example |[data]| share: [data] hide files = /*.java/*README*/ If we want to prevent users from seeing files at all, we can instead use the |veto| |files| option. This option, which takes the same syntax as the |hide| |files| option, specifies a list of files that should never be seen by the user. For example, let's change the |[data]| share to the following: [data] veto files = /*.java/*README*/ » ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] only backup selected files
Hi I have number of selected files to backup and it is also in different folders How can I make it easy? eg: tar zcvf select-file.tar.gz from selected file or tar zcvf select-file.tar.gz (from selected files in file.txt)? Thank you for your help - Now with a new friend-happy design! Try the new Yahoo! Canada Messenger___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] only backup selected files
chloe K wrote: Hi I have number of selected files to backup and it is also in different folders How can I make it easy? eg: tar zcvf select-file.tar.gz from selected file or tar zcvf select-file.tar.gz (from selected files in file.txt)? Thank you for your help I'm sure there will be other ideas but in the absence of an include these files file option, you could employ a simple loop to append the files in a list to a tar archive. For example, if you had a file named include with these 3 records /bin/gawk /etc/fstab /etc/resolv.conf This would cause the 3 files to be archived as included.tar. [EMAIL PROTECTED] ~]$ while read inc ; do echo including: $inc ; tar -v -r $inc -f included.tar ; done include Just to be sure [EMAIL PROTECTED] ~]$ tar -tvf included.tar -rwxr-xr-x root/root320416 2007-03-14 09:48:15 bin/gawk -rw-r--r-- root/root 874 2008-09-23 09:53:40 etc/fstab -rw-r--r-- root/root 135 2008-08-21 21:18:43 etc/resolv.conf [EMAIL PROTECTED] ~]$ The real challenge here is to compile the include file correctly. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Appliance platform
John R Pierce wrote: Ted Miller wrote: Application (in case anyone cares): Move better-than-FM quality audio across a leased audio circuit with delay under 10 seconds. No Internet exposure. Obviously one box leased audio circuit meaning ISDN ? Typo, a leased data circuit. Working with 256K per audio stream. your $250 target price includes not only the built in flat panel and audio adapters but also the ISDN adapter? No, $250 price tag includes only the computer, not the audio adapter or the display. sounds like you're trying to reinvent the Telos Zephyr. http://www.telos-systems.com/?/xport/default.htm Not really. The Zephyr is a short term use unit, what I want will be installed and operate for years at a time, preferably without any operator interaction Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Appliance platform
Joseph L. Casale wrote: I have a project that I need some hardware pointers for. I need to build some Centos appliances (dedicated boxes to do one thing only). Target cost is under $250/box. Given the rest of the requirements, I would say something like: http://www.mini-box.com/M200-LCD-Enclosure By the time I fully configure the box it is slightly over my target price, but given the user interaction on the front panel, I think I can live with that. Have you used this box, or others from mini-box? Ted Miller Indiana, USA ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] centralized logs server and also storing the logs on the local server
Hi Friends, I am running most of my company's Linux Servers on Centos 4.x/5.x 32 and 64-bit. I am now trying to configure a centralized logging server where logs of all the linux servers will be stored and also I want to store all the logs on the local server aka means logs will be sent to the central log server but also will be stored on the local server. The reason for storing the logs locally is because we have offices in different cities and few more offices are coming up and it is good to store the logs locally so that when the connectivity b/w the offices break the logs does not get lost. There are lots of configuration available on internet which tells how to send the logs to the centralized log server but I did not find any configuration where logs can be stored locally as well as send to the centralized log. Moreover I am also looking for logs analyzer tool which can generate reports separately for each host for ex there are logs of 15 servers are stored on the server and this logs analyzer tool should generate reports separately for each host. Thanks Regards Ankush ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos