Re: [CentOS] packages in "base" that are not in "nobase"
Centos wrote: Not sure if I understand want you mean, but... You can do a nobase install, list all installed packages (rpm -qa), and save this to a file. Then install the base, en list all installed packages again. Export again to a file en diff those two files... Ah, I should've thought of this, but was not thinking outside the box. But Johnny's link to the comps.xml has exactly what I want, so that saves me a step. Thanks for the suggestion nonetheless, Bart. johnn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] packages in "base" that are not in "nobase"
Johnny Hughes wrote: Probably the easiest way to do what you want is to look at the comps.xml file directly. Awesome! A bit hard to read, but it was exactly what I was looking for. It actually has the "core" group and the "base" group separate! Thanks Johnny. johnn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] packages in "base" that are not in "nobase"
Is there a way to list the packages that are in a "base" install, but that are not in a "nobase" (core) install? I did a nobase install, then ran "yum groupinstall Base", but this just lists everything in base, including the core packages. Mainly, I'm just looking to audit the packages, and add only necessary ones back to a nobase install. So far, I've come up with sendmail, man, logwatch, logrotate, vixie-cron. johnn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mdadm exim mysql
Jim Perrin wrote: This is an odd dep chain. It would seem that exim requires mysql for some odd reason. mdadm doesn't, but does require that the system have an smtp-daemon, which is a dep satisfied by exim, postfix, or sendmail. mostly, install sendmail or postfix, and you can then remove exim and mysql without fear. Wow, that is odd but it worked. Learn something new every day :). Thanks Jim. johnn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] mdadm exim mysql
I installed a CentOS-5 core OS (using --nobase in my kickstart). For some reason, it included mysql-5.0.22. When I do "yum remove mysql", it says it will also remove exim and mdadm for dependencies. I don't care that exim will be removed, but I need mdadm as I'm doing software RAID. But why are these even related? When I do: rpm -q --requires mysql neither exim or mdadm is listed as being a requirement. johnn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: rootpw and graphical mode?
semi linux wrote: > The only thin I can think of is that maybe my crypted password > contains an escape sequence that might not be properly handled in > anaconda? The crypted password might end on a character like '/' or '.' -- are you grabbing the complete string? johnn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: rootpw and graphical mode?
semi linux wrote: Here is the relevant section of the kickstart: (does prompt for pw): lang en_US keyboard us timezone America/Los_Angeles --utc rootpw textpw # rootpw --iscrypted *** reboot logging --level=debug graphical # text install autostep --autoscreenshot driverdisk --type=ext2 --source=http:///3w9650SE-x86_64-9.4.1.1.img url --url http://*/CentOS5 bootloader --location=mbr --append="[EMAIL PROTECTED]" zerombr clearpart --all --initlabel part swap --recommended --ondisk=sda part /boot --fstype "ext3" --ondisk=sda --size 200 part / --fstype "ext3" --ondisk=sda --size 10 auth --useshadow --enablemd5 network --bootproto=dhcp --device=eth0 --hostname=temp --onboot=yes --noipv6 firewall --disabled selinux --disabled xconfig --defaultdesktop=gnome --startxonboot --resolution=1024x768 --depth=32 If I uncomment these lines and re-comment their counterparts, then is prompts. - The prompt is the default password prompt. - The auth line is in there. - I don't necessarily need graphical but it's a whole lot nicer due to the screenshots provided Any other hints or suggestions? Looks about right. Where are you getting the crypted root pw? Are you sure it's valid/complete? Other than that, I don't have any other suggestions. johnn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Chrooting SFTP over SSH2
Nigel Kendrick wrote: As per the subject line - if I look up setting up chroot jails for SFTP over SSH2 I'm led to various Web sites and patches and also to a CentOS wiki page dated 2005, but what's the 'best' or 'correct' way to set this up for Centos 4.5 and 5? Yeah, it's going to be a patch/hack until chroot is native to openssh which might never happen. rssh and scponly are the two to look at (I use rssh). If sftp is not a requirement, you should really look into ftp/tls aka ftps. You can use vsftpd and it natively does chroot and even virtual users. A simple config change to do tls and you get certificate-based security. Also, nearly every Windows & Mac gui ftp client supports ftps for free or in their "basic" version (some clients require "pro" versions to get sftp capability). johnn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: rootpw and graphical mode?
semi linux wrote: Sorry, should have specified - I'm using kickstart to load my machine(s). On 9/4/07, semi linux <[EMAIL PROTECTED]> wrote: Is there some kind of caveat to using the rootpw --iscrypted directive and then specifying a graphical install? I'm able to do this with no prompts. I always seem to get the prompt coming up... If I remove the graphical and do a text install, it works fine and if I remove the --iscrypted and put a plain-text password in there, it works as well. What do you mean "remove the graphical" -- as far as I can tell, it's graphical by default. The absence of the word "text" means it'll do a graphical install. When you get a prompt, what is it asking for? Do you have a line for "auth" or "authconfig"? (In general, make sure you have all the required directives like "lang", "keyboard", etc.) johnn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] nfs installation
ok i got the nfs-utils installed how do i start the daemon? im install nfs-server on centos 4.5 by the way. I don't know if 4.5 is radically different, but on 5.0, nfs came with the base install. I simply added my directory-to-share & permissions in /etc/exports then did a "service nfs start" (and "chkconfig nfs on" if you want it to persist across reboots). johnn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] "near native" performance with xen?
Daniel de Kok wrote: On Mon, 2007-08-06 at 16:54 -0400, Johnn Tan wrote: What error messages are you seeing? On one of my machines, I have four domU's (kernel 2.6.18-8.1.8.el5xen), each with 4 VCPUs. I don't see any errors in any of the domU's dmesg. But /proc/cpuinfo shows they are each using all 4 CPUs. Soft lockups on CPUs: http://bugs.centos.org/view.php?id=2161 Thanks for the link Daniel. I am not experiencing this at all. I now have 11 machines where I've assigned all available VCPUs to every domU running on each machine. I just did a reboot on one of them and checked the domU dmesg and do not see this. I'm thinking it's either the kernel version or, like the user states, maybe it's something with HyperThreading. johnn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] "near native" performance with xen?
Daniel de Kok wrote: On Mon, 2007-08-06 at 14:55 -0400, Johnn Tan wrote: Assigning all the VCPUs. Having more than one vcpu currently emits non-fatal error messages, at least with the C5 domU kernel. I didn't have time to look into that yet. What error messages are you seeing? On one of my machines, I have four domU's (kernel 2.6.18-8.1.8.el5xen), each with 4 VCPUs. I don't see any errors in any of the domU's dmesg. But /proc/cpuinfo shows they are each using all 4 CPUs. When I try to over-assign memory though, I definitely get errors and the domU is not created. The Xen hypervisor requires 64MB RAM. If you don't do much work in dom0 you can set the dom0 memory fairly low. I have seen people setting it to 64 MB RAM. Good to know. I'm a little hesitant to set it at 64MB, but I feel a little more comfortable now bringing it further down from the 512MB that I've been using as a dom0 minimum. What about 32-bit v. 64-bit OS, for the dom0 and for the domU? (I'll be using CentOS-5.) Anything else? A 64-bit dom0 with 32-bit domUs isn't currently supported in CentOS 5, but it it will in 5.1. Yes, I'm looking forward to that, plus some of the other updates in 5.1. But I'm curious whether 32-bit domU on 32-bit dom0 is more performant than 64-bit domU on 64-bit dom0. I'm about to do my own test of this sometime this week, but was wondering if others had already tried it. johnn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] "near native" performance with xen?
Ross S. W. Walker wrote: Of course you need physical volumes but look for a storage solution that will also run as direct to disk as possible, maybe something based on the newer SATA/SAS where the RAID logic is built into the enclosure and a plain SATA/SAS card is in the server which can be actively shared between multiple domUs. If that is out of your budget then use some type of hardware RAID for your volumes to get rid of any use of software RAID in dom0 for guest storage. I'm not sure what the distinction is between your first paragraph and the second. When I read the first paragraph, I thought: "hardware RAID" but it seems like you're referring to something else. Same goes for the network side of things. Install the latest PV drivers in the domUs to get the latest advances. I didn't realize these existed. I just used whatever was pulled down when I install xen/kernel-xen via yum. Where can I get these PV drivers? Big thanks, Ross. This was extremely helpful! johnn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] "near native" performance with xen?
Just wondering if there was a howto or other URL that explains what is needed to achieve "near native" performance on a xen domU -- for this purpose, I am thinking about a single domU running on a physical server, in comparison to that same physical server running the same kernel but non-xenified. For instance, using a physical partition for VBD v. using a file-backed one is one of the more obvious ones. Assigning all the VCPUs. And as much RAM as you can get away with (maybe leaving the dom0 with 512MB). But are there others? Since I'm doing paravirtualization, I assume I don't need to turn on VT in the BIOS? What about 32-bit v. 64-bit OS, for the dom0 and for the domU? (I'll be using CentOS-5.) Anything else? johnn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] tomcat error on x86_64 with 2.6.18-8.1.8.el5xen & jre 1.6.*
I get the same error as this person: http://www.centos.org/modules/newbb/viewtopic.php?topic_id=9349 Like the poster, I get the error with tomcat 6.0.13 on x86_64, kernel 2.6.18-8.1.8.el5xen and both jre 1.6.0_01 and 1.6.0_02 When I revert to jre 5u12 on the same kernel, I don't get the problem. If I stay with jre 6, but use kernel 2.6.18-8.el5, I also don't get the error. So it's not clear to me whether this is a java problem or a kernel problem. Any hints? For now, I can use jre 5u12, but I could file a bug if I could figure out which one is actually causing the error. johnn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos