Re: [CentOS] i am not qble to install centos 6
On 07/28/11 23:14, sridhar sri wrote: Hi CentOS Team, i am not able to install CentOS 6.0 , while installing 1) Insert your CentOS 6.0 installation DVD into DVD drive 2) In the pre-boot phase ofsystem startup http://en.wikipedia.org/wiki/Booting pressF11 to enter UEFI Boot Manager 3) Enter'UEFI Boot Settings' 4) Choose'Add Boot Option' 5) Point to'BOOTX64.efi' file, whose exact path is /EFI/EFI/BOOT/BOOTX64.efi on the DVD 6) Add Description (e.g.CentOS 6.0) and optionally add Optional Data (which is passed to the boot image, not necessary) when i press the F11 i am not able go to boot options , for that i used the del and esc, there i am not able to find the UEFI settings, i tried with enabling the ide configuration to raid and enabling the sata0 and sata1 still i am not able to install CentOs . please guide me to install the centos These instructions only apply to EFI systems. Please verify that you have an EFI system instead of a traditional BIOS. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cent OS clustering and Support.
On 04/01/11 11:56, Kumar, Ranjan wrote: Hi, We are a Channel product team within LSI and we are trying to add Cent OS 5.5 to our compatibility Matrix. We found out that LSI currently has a relationship with CentOS for another project on the Internal Storage division but not with the OS Certification team. We require some information on CentOS which will help us plan the deliverables. And considering the timelines we need to deliver at it will be great if someone from CentOS can help us out in this regard. If anybody else also can answer these in the mailing list, we would be grateful. The questions that we have are as follows:- 1)Cluster Support : ·Does CentOS 5.5 provides native cluster support ? ·Is there any cluster suite available for CentOS 5.5 ? ·Can we use the cluster suite in CentOS 4 for 5.5. 2)Does CentOS have any self Certification tool which allows OEMs/Vendors to qualify the OS and post it in their compatibility matrix? One we start our qualification, we might need some help in resolving issues/defects on CentOS. Can we open a channel or Point of contact who will be able to help us out with such issues. I would also request to forward this email to the right forum if the mailing list we are sending to is not the appropriate one. Thanks and Regards. Kumar Ranjan LSI Technologies. Though I'm hijacking your thread and probably crossing some boundaries, however, since LSI is actively trying to enhance their products by testing compatibility with Linux distributions, I find this warranted: Can we look forward to something better than megacli for administering LSI based RAID controllers? I, and many others, have to work with LSI equipment daily and they are cumbersome to manage with the only viable tool, megacli. This tool is a very poorly documented - well let's be honest - undocumented piece of software. Yes, there is MSM (MegaRAID Storage Manager) but that's on the opposite end: it's large, uses java, and can't be run on headless servers. Another main problem with the megacli tool is the erratic way you have to specify command-line arguments and it doesn't always match what's in the help. Plus some examples wouldn't hurt. So, although LSI RAID controllers may be compatible with Linux in the sense that they work, by being able to access the configured RAID arrays, being able to administer them in a better way might make a more convicing argument for compatibility with Linux and eventually make the decision process of choosing LSI products easier. Thanks for listening, Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Virtualization platform choice
On 03/27/11 11:57, Jussi Hirvi wrote: Some may be bored with the subject - sorry... Still not decided about virtualization platform for my webhotel v2 (ns, mail, web servers, etc.). KVM would be a natural way to go, I suppose, only it is too bad CentOS 6 will not be out in time for me - I guess KVM would be more mature in CentOS 6. Any experience with the free VMware vSphere Hypervisor?. (It was formerly known as VMware ESXi Single Server or free ESXi.) http://www.vmware.com/products/vsphere-hypervisor/overview.html I would need a tutorial about that... For example, does that run without a host OS? Can it be managed only via Win clients? Issues with CentOS 4/5 guests (all my systems are currently CentOS 4/5). - Jussi VMware ESXi is definitely a good choice. I use it at work (the free version as well) and haven't regretted it. No tutorials needed, everything's pretty straightforward. Yes, it can only be graphically managed from Windows clients (vsphere client), however the command line tools are available for Linux as well. Tried running the vsphere client using wine but that didn't work. No issues with CentOS 5 guests here. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.5 does not recognise SAS drives with LSI 1068E Controller
On 03/09/11 16:55, Peter Peltonen wrote: I need to do a new CentOS net install on a new server having the Supermicro X7DVL-3 motherboard: http://www.supermicro.com/products/motherboard/xeon1333/5000V/X7DVL-3.cfm Based on that info I assume the board having a 8x SAS Ports via LSI 1068E Controller. We received the server with 3 drives + 1 spare as hw RAID-5 preinstalled. During bootup I see that the drives are initialised and everything seems ok. The issue I am facing is that when trying to install CentOS no hard drives are recognised. *snip* Best regards, Peter That controller doesn't really support RAID, what you're getting is commonly called FakeRAID. It basically helps the BIOS to boot from the RAID arrays you create but leaves the actual RAID calculations etc... to the driver. Configure the board in IT mode (Initiator/Target). That will disable the FakeRAID. It's jumper JPA2 just above the SAS ports. Once you've done that, clean the drives (dd if=/dev/zero of=/dev/sd? bs=1M) so no signatures from the FakeRAID BIOS remain. After that install CentOS as you would normally and use software RAID (which is better anyway). By the way, the X7DVL-3 is a pretty old board, you say this is a new server? I hope you didn't pay alot of money for it. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Fan speed control on Supermicro X8DAL board with CentOS
On 02/06/11 18:48, Ned Slider wrote: You're welcome Chuck. Your question prompted me to update the elrepo kmod-w83627ehf driver package to the latest upstream source (kernel-2.6.37): http://lists.elrepo.org/pipermail/elrepo/2011-February/000488.html By all means give that package a try, but I'm not convinced it will address your problem in this case. Either way, it should be relatively quick and painless to test - updated packages should be available shortly. Maybe someone with more experience of this particular Supermicro M/B will pop up on the list :-) Regards, Ned Actually it's possible a hardware monitoring module is interfering with the FAN speed control duties. Try preventing any hardware monitoring related modules get modprobed. See modprobe.conf how to blacklist modules. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What NAS device(s) do you use? And why?
In one instance we need to host virtual machines, so we don't need anything fancy. I'm happy with running iSCSI / NFS and even AOE. Currently we have a few 2U SuperMicro servers with 24bays, running OpenFiler. But, OpenFiler is outdated and limited when it comes to scalability. Ideally, I would like to have a single host type setup, for when we move a client to a larger / new / different array, he still connects to the same host - i.e. for high availability. I'd stay away from AoE for high availability, I've tried it at home but performance can fluctuate and the AoE driver present in CentOS 5 is way too old. I wasn't able to build a HA setup without corrupting data when failover occured. For what I'm using AoE - to boot my mediacenter - exporting a single LVM LV, it works perfectly fine for me. For more serious uses, iSCSI is definitely the way to go. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Installing Centos 5.5 64 bit issues
On 12/13/10 16:01, benedict dcunha wrote: Dear All, We have a new SUN BLADE X6270 SERVER MODULES and i am trying to install centos 5.5 64 bit . the installations starts fine but when it reaches the point inialthe X server it says initialization done but then gives a fatal error and stops Appreciate if some one could help me and advice regards simon ENOCRYSTALBALL ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] IPV4 is nearly depleted, are you ready for IPV6?
On 12/05/10 12:50, Rudi Ahlers wrote: Seeing as IPV4 is near it's end of life (http://www.internetnews.com/infra/article.php/3915471/IPv4+Nearing+Final+Days.htm), I'm curios as who know whether everyone is ready for the changeover to IPV6? Is anyone using it in production already, and what are your experiences with it? Haven't switched yet, I have IPv6 at home using sixxs. IMO the slow adoption is caused by the complexity IPv6 brings. They should have just modified IP to use 128 bits addresses and leave the rest as is. For example, what is the use of a link scoped IPv6 address? Why would you want to assign an IP address to yourself that's of no use at all? I can't even figure out what address ranges are reserved for private use, is there even such a concept in IPv6? I know that IPv6 is supposed to allow every address to be publicly route-able but having your computers in private ranges and use NAT has big advantages towards security. And what about this arbitrarily chosen /64 subnet? So we're returning back to classfull routing? A provider won't be able to purchase a subnet greater than /64 from for example RIPE? Stateless auto-configuration is a useless feature, just like APIPA. I much prefer DHCP and thankfully it still exists for v6. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ntfs
On 12/05/10 19:22, Ritika Garg wrote: CentOS 5.5 is installed in the system. I installed the package kmod-ntfs-2.1.27-3.el5.elrepo.x86_64.rpm I mounted Seagate external hard disk. I am able to copy contents from the hard disk to the system but not from the system to the hard disk. The ntfs kernel module can only read. If you want write support, use ntfs-3g. It is included in rpmforge. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum-complete-transaction
On 12/04/10 18:00, Johan Scheepers wrote: Les Mikesell wrote: On 12/4/10 4:20 AM, Johan Scheepers wrote: Good day, Some yum instructions I do not know. Kindly some pointers please. There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. The program yum-complete-transaction is found in the yum-utils package. This is where I am lost Just type the command (as root): yum-complete-transaction and if the program is not found, yum install yum-utils yum-complete-transaction Good day, It was not installed. Have done that. Works fine. This one is new to me. Regards Johan So every time something new happens you need your hand held? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] # chkconfig: kill at run level 3
On 12/04/10 21:42, Michael D. Berger wrote: On Sat, 04 Dec 2010 15:25:47 +, Keith Roberts wrote: [...] Please see this old SuSE documentation for a good description of the Linux boot process: http://linuxmafia.com/linux/suse-linux-internals/part2.html [...] Will this SuSE documentation be correct for CentOS, which is RedHat? Mike. The article largely applies yes, but for the latest and greatest just checkout the start up scripts in /etc. They are not that hard to read. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS-virt] SPICE Benchmark
On 11/16/10 21:28, Alexey Vasyukov wrote: Hello again. Unfortunatelly we do not have that much materials in English. (But if you can read Russian - welcome to http://www.ossportal.ru/technologies/rhev. :-) ) If you want just to see SPICE in action it is not hard. You need qemu with SPICE support on server and SPICE client on client. You need to start qemu on server with additional options: -spice port=port,disable-ticketing - use this one if you do not need password protection OR -spice port=port,password=secret - if you need to protect connection After it you can connect from client using spicec -h host -p port Additional options for compression, encryption, etc are described in qemu man page. Best regards, Alexey So as I understand it correctly, this whole SPICE thing is just something like VNC on steroids? Why can't we have this SPICE thing work on physical hosts as well? Glenn ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS] upgrading Centos-Xen when version 6 comes along
On 11/17/10 19:22, Joe Pruett wrote: On Wed, 17 Nov 2010, Rudi Ahlers wrote: Have anyone used both XEN KVM before? What are your experiences with either, in comparison to each other? We've been using XEN for about 4 years now, and only use CentOS as our server platform. I'd hate to move to Debian or OpenSuse just for XEN, and I don't know KVM at all. one big issue that has kept me from switching from xen to kvm is that the default init scripts for kvm don't have suspend/resume for guests when the host os is rebooted. it doesn't even do a shutdown of the guests, it just kills them. also, i haven't looked into whether you can limit cpu/network usage easily with kvm as you can with xen. hopefully some of these issues are fixed in the rhel6 kvm system. Yeah that really ought to be fixed. I wonder why no-one at Red Hat thought of that... Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Best way to configure proprietary NVidia driver on CentOS ?
On 11/12/10 23:34, Nicolas Kovacs wrote: Hi, What's the best (cleanest, easiest, whatever) way to install the proprietary NVidia driver on CentOS 5.5 ? Usually I'm using the RPMForge 3rd party repo and compile the odd missing package myself from a Fedora SRPM. But the nvidia packages look a bit like a mess. DKMS has errors in the startup script (looking for a nonexistent log_action_msg and the likes), so I wonder if it's best to just download the driver from nvidia.com and build it myself. Then I thought : I'd rather ask. Cheers, Niki I use the driver from nvidia.com. The setup process is a no brainer. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Boot failure after install on IBM x3550 M3
On 11/11/10 14:22, Toralf Lund wrote: I'm trying to install CentOS 5.5 on a couple of servers of type IBM System x3550 M3, but it's not going too well. Actually, the install setup phase runs as expected, and the actual installation also appears to be successful, but the system will not boot - I just get a message (presumably) from BIOS saying that boot from hard disk 0. If I start the installer again after this, or boot rescue mode off the install DVD, the installation is correctly found, however. Does anyone have any idea what may cause this and/or how I can fix the problem? Or is there at least anyone out there who has tried CentOS on the same type of hardware? Note that I've tried (re)installing several times, and also tested CentOS 5.4, but the result is always the same. I've also used CentOS without any problems on an x3550 M2, i.e. a slightly older variant of the hardware. I've (so far) installed with the default disk layout and package selection. - Toralf Make sure all the firmware is up to date. I've had an IBM x3550 M3 and it couldn't even boot a Windows 2008 R2 64 bit CD with the firmware it shipped with. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Boot failure after install on IBM x3550 M3
On 11/11/10 16:25, Toralf Lund wrote: RedShift wrote: On 11/11/10 14:22, Toralf Lund wrote: I'm trying to install CentOS 5.5 on a couple of servers of type IBM System x3550 M3, but it's not going too well. Actually, the install setup phase runs as expected, and the actual installation also appears to be successful, but the system will not boot [ ... ] Make sure all the firmware is up to date. I've had an IBM x3550 M3 and it couldn't even boot a Windows 2008 R2 64 bit CD with the firmware it shipped with. That seems like a useful tip, but do you know what exactly I need to install and where to find it? I'm looking at an IBM download page right now, but it's a little confusing - I can't seem to find anything that it's obviously the *system* firmware, only entries like Firmware for Rack Tower LCD UPS and Firmware for Local Console Manager. - Toralf What's the model and type? It should be -yyy where x can be 0-9 and y can be 0-9 A-z. You can find it on the front of the chassis. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Boot failure after install on IBM x3550 M3
On 11/11/10 16:39, Toralf Lund wrote: RedShift wrote: On 11/11/10 16:25, Toralf Lund wrote: RedShift wrote: On 11/11/10 14:22, Toralf Lund wrote: I'm trying to install CentOS 5.5 on a couple of servers of type IBM System x3550 M3, but it's not going too well. Actually, the install setup phase runs as expected, and the actual installation also appears to be successful, but the system will not boot [ ... ] Make sure all the firmware is up to date. I've had an IBM x3550 M3 and it couldn't even boot a Windows 2008 R2 64 bit CD with the firmware it shipped with. That seems like a useful tip, but do you know what exactly I need to install and where to find it? I'm looking at an IBM download page right now, but it's a little confusing - I can't seem to find anything that it's obviously the *system* firmware, only entries like Firmware for Rack Tower LCD UPS and Firmware for Local Console Manager. - Toralf What's the model and type? It should be -yyy where x can be 0-9 and y can be 0-9 A-z. You can find it on the front of the chassis. It's 7944-K1G I've selected 7944 along with System x and System x3550 M3 at http://www-933.ibm.com/support/fixcentral/, but like I said, couldn't find anything obvious. - Toralf Search for UEFI firmware. Those IBM servers don't have a classic BIOS anymore, they are EFI based. I looked it up following your model/type and found the updates. http://www-933.ibm.com/support/fixcentral/systemx/quickorder?parent=ibm/Systemx3550M3product=ibm/systemx/7944platform=Allfunction=fixIdfixids=ibm_fw_uefi_d6e149a_linux_32-64source=fc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] httpd RPM newer than 2.0.63 avail for CentOS 4.x?
On 11/07/10 06:17, Philip Amadeo Saeli wrote: I'm maintaining an internet-facing web server which is now running httpd 2.0.63 (httpd-2.0.63-2.el4s1.centos.2) which is now neary 2.5 years old(!?!). I need to move to either 2.0.64 or 2.2.12 or later. However, I've been unable to find available RPMs for such releases for CentOS 4.x. I have to believe that others have these needs also. In light of this, how do others keep up with security upgrades for the httpd? I'm rather new to this aspect of things, so am still in the process of sorting things out in this regard. Any help would be appreciated. Thanks! --Phil Upgrade to the latest 5 release. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Semi-Authoritative DNS?
On 11/05/10 16:54, Tim Nelson wrote: Greetings All- I have an odd need for a 'semi-authoritative' DNS server. Let's say I have a zone for 'domain.com' with public DNS servers. However, I wanted to run an internal DNS server for internal things. Public resolution of 'www.domain.com' would yield the public IPs, private resolution of 'www.domain.com' would yield the internal private IPs. Easy enough. BUT, what if there is a DNS record present on the public nameservers that is *not* present on the internal nameserver? Typically, DNS will say 'no record found' when it could really forward the request to the public DNS. Is it possible to configure this? So, the internal 'domain.com' zone will be authoritative for records it has but forward queries for those records it does not have, even on the same domain? I hope that made sense. Maybe there is a better way of accomplishing this? The systems in question are running Centos 5.5 x86_64 with BIND bind-9.3.6-4.P1.el5_4.1 . --Tim You have to use views for this. Check the example BIND configuration files that come with the package (/usr/share/doc/bind...). It's sometimes called split horizon DNS as well, you may have better luck googling that. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Copying root partition
On 11/04/10 12:56, Nicolas Thierry-Mieg wrote: John R Pierce wrote: On 11/04/10 4:28 AM, Timothy Murphy wrote: I recently transferred the / partition on my CentOS server from a small disk to a large disk, using rsync -auvz. This works fine, except that I get dozens of selinux warnings when I re-boot. I'm running selinux in permissive mode. Is there any way to make sure that all the files in a partition are kosher as far as selinux is concerned? I would use dump | restore for that, on a file system by file system basis. rsync won't maintain inodes or permissions very well, and certainly won't handle selinux extended attributes doesn't rsync -X do that? touch /.autorelabel reboot That should fix it. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] was, PATA Hard Drive woes, is SMART
On 11/03/10 19:04, m.r...@5-cent.us wrote: Warren Young wrote: On 11/3/2010 11:27 AM, m.r...@5-cent.us wrote: Yeah, but I have problems with smartmon: More likely, problems with SMART. S.M.A.R.T. is D.U.M.B. :) It's better than nothing, but sometimes not by a whole lot. one server that's got two bad sectors, which SMART reports. I've followed the instructions on how to make the log messages go away, and fsck -c... but on reboot, SMART seems to ignore what badblocks found, and the irritating messages are back. It may be that SpinRite could fix that by forcing a remap. Dunno if we have SpinRite around here. Another option -- which I didn't mention because it probably isn't an option for the original poster, but which may work with your servers -- is that some high-end RAID systems can do something like SpinRite at level 4+, as can ZFS. They call it resilvering. I don't think these No joy - it's a plain SATA drive, the root drive on a server we use for backups. ext3, and no, I'm not going to change filesystem types The real thing is why does SMART ignore the results of badblocks (for those who aren't sure, that's invoked when you do fsck -c), and for that matter, why the drive (Seagate ST3170811AS) doesn't automagically relocate those blocks. mark mark Auto relocation happens ONLY when writing to foobar sectors. The drive WILL NOT relocate sectors that you are reading from because it cannot trust the content. SMART reports the number of sectors that have been reallocated. That means, the drive was writing to a sector, found out it was unreliable and decided to remap that sector. It is not abnormal for drives to develop _a few_ bad sectors over the years. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] PATA Hard Drive woes
On 11/03/10 17:01, Keith Roberts wrote: There were no sectors remapped, which is odd as there were bad sectors originally on the drive. I ran MemTest86+ out of curiousity, and there are 5120 Errors, some at 0.4MB 0.5 MB. You should fix that first. The BIOS has been playing up, not recognising the Primary Master drive. This is the channel the Hitachi disk was on when it developed the sector read errors. Could a bad controller or bad RAM cause Hard Drive sector errors? Neither bad RAM or a bad controllor can physically damage a hard drive. A bad controller will not cause reallocated sectors. It can however cause UDMA CRC errors and other weird non-SMART related behaviour. The drive is as good as uninstalled, so I may as well send it for replacement. Send the output of smartctl -a /dev/yourdisk, that'll give us more factual data than speculation. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] was, PATA Hard Drive woes, is SMART
On 11/03/10 19:57, m.r...@5-cent.us wrote: SMART reports the number of sectors that have been reallocated. That means, the drive was writing to a sector, found out it was unreliable and decided to remap that sector. It is not abnormal for drives to develop _a few_ bad sectors over the years. Agreed. And these two bad sectors developed many months ago, and the number is not increasing, so I'm not really worried about them; all I want is to make the irritating messages in the logfiles go, and stay, away. mark smartd is supposed to do that. The number of reallocated sectors is a prefailure SMART attribute. If it goes up in a short time your disk is failing. You can use the -I option in smartd.conf to ignore certain attributes. See man smartd. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] chroot from 32-bit to 64-bit filesystem?
On 10/20/10 19:23, Scott Johnson wrote: I have a 32-bit PXE environment and I want to chroot to a CentOS x64 root filesystem. Of course that doesn't work. Any tricks or hacks that would allow me to do that? Currently I get the error: chroot: /bin/bash: Exec format error What if I updated my PXE environment to 64-bit. Could I then chroot to a 32-bit? I use PXE to quickly troubleshoot both 32-bit and 64-bit arch. Thanks. -Scott Booting an x86-64 kernel with the proper config options set to enable execution of 32 bit binaries should allow you to do that. I think. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] securing centos 5.2 for public usage
On 09/18/10 12:08, Roland RoLaNd wrote: Dear all, i Just finished setting up an apache service on a centos 5.2 VM machine. i need to secure this machine as i'm soon to be setting a public IP over it where i'd be opening up the following services: 1. http 2. https 3. ssh Things i've done so far: 1. stopped root ssh access in sshd.conf 2. tried configuring PAM so i get a more secure ssh passwords (dictionary wise) as well as tried setting up a 2 times authentication failure for the account to be disabled for 12 hours (i couldnl't succeed in setting this up) 3. disabled port forwarding (to deny outsiders to tunnel through the server inside my network) couldn't succeed with this either. Any help or advice would be greatly appreciated.. thanks, --Roland Start by upgrading to the latest release... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Samba and (and maybe other characters) in paths/files
On 06/25/10 22:48, Tom H wrote: On Fri, Jun 25, 2010 at 2:45 PM, Miguel Medalhamiguelmeda...@sapo.pt wrote: I have samba installed on my server, with a fileshare. When connecting to samba, using windows, filesnames with (double quotes) in them become gibberish on the windows client. Since Windows doesn't allow double quotes in filenames, Samba doesn't either. Samba can serve files with to Linux clients. It's a Windows limitation not a Samba one. Thanks. Well that's a bit sad really... Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Samba and (and maybe other characters) in paths/files
Hello I have samba installed on my server, with a fileshare. When connecting to samba, using windows, filesnames with (double quotes) in them become gibberish on the windows client. Under linux I connect to these fileshares using NFS, and the names are correct (I also created them this way). I've made a screenshot: http://users.webmind.be/~glenn/samba.PNG How can I fix this? Thanks, Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS5 and samba
On 04/16/10 15:00, lheck...@users.sourceforge.net wrote: We're trying to migrate RHEL3 and CentOS4 based samba servers over to CentOS5, but it's a bleeding disaster. We cannot get it to work reliably with any version of CentOS5, i386 or x86_64, the included 3.0.x version of samba or 3.4.x/3.5.x compiled from source. The symptoms are: read access is extremely slow, write access seems to work in principle (e.g. creating a zeros-sized file on a share), but writing even small files (100k) to the share eventually times out with out of memory or disk space errors. These shares are home directories NFS-mounted on the samba server. Shares of local disks work fine as expected. We have played with oplock settings and got some improvements, but not reliably, and this seems to effect XP and Seven clients differently. Surely we are not the first to run into this sort of issue? Given the range of tested software, the problem appears to be specific to CentOS5. --- This message and any attachments may contain Cypress (or its subsidiaries) confidential information. If it has been received in error, please advise the sender and immediately delete this message. --- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Try mounting your NFS volumes with: rsize=32768,wsize=32768 Are the NFS servers on the same network speed as the samba servers? Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Tiny webserver to run as root
Hi all Does anyone have a suggestion for some software, a tiny webserver that is able to run as root and execute CGI scripts? It should be smaller than apache and preferably even smaller than lighttpd. It doesn't need a whole lot of features, it only needs to be able to execute CGI scripts. I have tried a few: nanoweb (which is written in php as well) but has some problems with CGI scripts and when it runs in multi process mode it brings the system load up to exactly 1.00. Nullhttpd, but it's old and unmaintained. Tinyhttpd isn't up for the job as well (kept crashing at times). Thanks, Best regards, Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Optimizing CentOS for gigabit firewall
On 12/20/09 16:22, Chan Chung Hang Christopher wrote: Les Mikesell wrote: Timo Schoeler wrote: What about NetBSD? I heard that NetBSD has the best network stack out there. Maybe NetBSD with pf is the best choice? NetBSD is a very nice OS, I personally like it most (out of all BSDs out there); however, as can be read on http://www.netbsd.org/docs/network/pf.html there's the 'usual lag': OpenBSD implements feature X in 4.6, wait some time to see it implemented elsewhere. One of the biggest strengths of OpenBSD is that it's really a completely rounded piece of work. Keep it that way. pf will perform best on OpenBSD, with all the nice features it has. Has anyone used Firewall Builder to create a complex set of iptables rules? Or compared performance where it built the same thing for linux/iptables and bsd/pf? Are you joking? That piece of crap just puts everything into one single chain. I never EVER use Firewall Builder after I saw the results the first time. For a BRIDGING firewall, there is absolutely NO WAY that Linux/netfilter can keep up with OpenBSD/pf. I doubt that Linux/netfilter can even reach half the performance of OpenBSD/pf. Have you got some figures to back that up? Everybody's saying OpenBSD's pf performance is superior, yet nobody has posted some proof. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] /etc/cron.weekly/99-raid-check
Jancio Wodnik wrote: W dniu 30.11.2009 14:08, Farkas Levente pisze: hi, it's been a few weeks since rhel/centos 5.4 released and there were many discussion about this new feature the weekly raid partition check. we've got a lot's of server with raid1 system and i already try to configure them not to send these messages, but i'm not able ie. i already add to the SKIP_DEVS all of my swap partitions (since i read it on linux-kernel list that there can be mismatch_cnt even though i still not understand why?). but even the data partitions (ie. all of my servers all raid1 partitions) produce this error (ie. ther mismatch_cnt is never 0 at the weekend). and this cause all of my raid1 partitions are rebuild during the weekend. and i don't like it:-( so my questions: - is it a real bug in the raid1 system? - is it a real bug in my disk which runs raid (not really believe since it's dozens of servers)? - the /etc/cron.weekly/99-raid-check is wrong in rhel/centos-5.4? or what's the problem? can someone enlighten me? thanks in advance. regards. Hi. I have this problem on my 2 servers (Both Centos 5.4) - every weekend my raid1 set is rebuild, because mismatch_cnt is never 0 at the weekend. What is really going on ? My 1TB disk whith raid1 are rebuild every weekend. They aren't being rebuilt, they are being checked if the data on the RAID disks are consistent. There are various reasons why mismatch_cnt can be higher than 0, for example aborted writes. Generally it's not really something to be worried about if you have for example a swap partition in your RAID array. If you do a repair and then a check the mismatch_cnt should reset to 0. Has anybody make bugzilla this ? I don't think so, this is a feature, not a bug... And as long as it's shipped with upstream it'll be shipped with CentOS. Best regards, Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] install CENTOS 5.4 X86_64 failed???
Tait Clarridge wrote: On Tue, 2009-11-24 at 14:47 -0700, Dennis Kibbe wrote: I just download CENTOS 5.4 DVD ISO X86_64 version from internet. I tried to install it on DELL server and get following error message before RPM start install: parted_1.8.1-23.els.x86_64.rpm can NOT open anyone know why? Should I download it again from any good site? If I install CENTOS 5.3 and use yum update, will it go to CENTOS 5.4? Thanks. Did you check that the DVD was good with mediacheck? md5sum'ed the ISO? No need to download again if the ISO is OK. dennisk Also, burn at the slowest speed to ensure that there are no errors. I have had this problem and solved it by burning at a slow speed, although it will take a lot longer to burn the DVD. Burning at a slower speed usually does NOT increase burn quality. You may have a bad writer or bad DVD R's. Use DVD-R's for maximum compatibility. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Automatical resync of MD, why?
happymaster23 wrote: Hello, I have three MDs on two HDDs in RAID 1. In last days, thanks to my monitoring (which is installed longer time), I have recognized, that one of these MDs is automatically started resync. First was at 25th October and second resync of the same MD was today. It started in same daytime (about 4:00 AM). Now is MD resynced and working well. Can someone tell me what means this automatic resync? Is it standard? Is it means some possible problems with one HDD (but other two MDs are working without resync)? Thank you Martin Šťastný Have a look at /etc/cron.weekly Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] kvm package difference - v36 via yum, v83 via DVD
Brian Schueler wrote: Hi! As far as I can see there is no kvm in the base repository but the older version 36 in CentOS-Extras. Version 83 that belongs to 5.4 is only found on the install DVD and CD-Set. So it's different when installing kvm later with yum which results in kvm-36 than choosing 'Virtualization' on DVD install that installs kvm-83. It's also a difference between installing from network and DVD, even when the same Kickstart file is used when kvm is selected. What is the reason of the base-repo/media difference? kvm was used to be served by CentOS extras, RHEL as of 5.4 now includes kvm as an alternative to xen. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mismatch_cnt after 5.3 - 5.4 upgrade
Devin Reade wrote: Saturday I did an upgrade from 5.3 (original install) to 5.4. Saturday night, /etc/cron.weekly reported the following: /etc/cron.weekly/99-raid-check: WARNING: mismatch_cnt is not 0 on /dev/md0 md0 holds /boot and resides, mirrored, on sda1 and sdb1. md1 holds an LVM volume containing the remaining filesytems, including swap. The underlying hardware is just a few months hold, has passed the usual memtest stuff, and has been running 5.3 well for a few months. I'm *guessing* that due to the timing, this is related to the upgrade. I have to admit that I forgot myself and instead of doing the glibc updates as recommended, I only did: yum clean all yum update yum rpm -e --nodeps perl-5.8.8-18.el5_3.1.i386 (see today's perl thread) yum update perl.x86_64 yum update shutdown -r now I've taken a backup of /boot dump after the upgrade, but have not yet reenabled normal backups. My hunch is that something in the upgrade process touched sda1 but not sdb1, and that removing sdb1 from the mirror and reattaching it for resync would be sufficient, however I was looking for comments on this from anyone with experience or opinion on the matter. Googling the issue doesn't seem to turn up any recent related results. Also, could the upgrade have touched the bootblock on sda1 but not sdb1 and thus trigger this problem? Devin What exactly is the mismatch_cnt value? If it's not too much, it is most likely coming from your swap partition. Run a check, if that doesn't fail I wouldn't worry about it. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] RAID advice? and KVM advice?
Dave Stevens wrote: Hello All, In the not too distant future I will be commissioning a new CentOS (5.4?) box with 4 identical SATA drives. I'd like to set them up as RAID 1+0 for speed and redundancy. I've read the RHEL 5 deployment guide on raid setup and it seems to cover the basics of software raid pretty well, but doesn't cover 1+0. Does anyone have a reference for that kind of configuration? Hello The current anaconda doesn't allow you to select RAID10, however, RAID10 does work if you configure such an array manually. I'd also like to have two virtual domains, one for CentOS and one for Debian. any suggestions for setup docs for that kind of arrangement? Read the virtualization docs. Best regards, Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Backing up a centos serveR? how to ? Newbie question..
David Suhendrik wrote: may be rsync help You Or u can try raid 0[mirrorig] for replicate failover triying drbd and heartbeat but I've tested and unsuccessfull on my zimbra machines RAID IS NOT A BACKUP. I repeat. RAID IS NOT A BACKUP. Nor is replication. Best regards, Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.4? anyone?
aurfal...@gmail.com wrote: On Thu, Oct 15, 2009 at 11:46 AM, Les Mikesell lesmikes...@gmail.com wrote: It's not fun on the other side of this fence either. Being kept in the dark makes you imagine all sorts of scary things. Oh give me a break. The CentOS developers have consistently released a solid distribution. If I have to choose between an arbitrary release date and a rock solid distribution, guess which way I'm going to go. I really think the best way to approach this -- since it appears to be an issue every time there is a point release -- is to figure eight weeks after the Red Hat release. Then you'll be pleasantly surprised when the release is out sooner than that. Agreed with Ron. I used RHEL5.4, broke a bunch of stuff so I switched back to Centos 5,3. Be specific, what stuff broke? I would almost encourage that Centos waits for RHEL patch release to the kernel before they release it or bugs just get duplicated. Actually... duplicated bugs is intended. Or does Centos do that already? No, CentOS does not apply any patches that upstream doesn't apply. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Failing Hard Disk?
Stewart Williams wrote: Hi All, I am fairly certain that this disk is failing in my server, and I am replacing it straight away anyway. However, I'd appreciate the views of the list just to be sure as I value your opinion(s). Your disk has failed. Replace it. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [Slightly OT] Data Preservation
ML wrote: HI All, So I have 5 1U servers (running Windows) that have Ultra 320 SCSI Drives in them. The owner of these boxes wants the drives captured in their current states to .iso or .cdr or something where if the need arises the data can be viewed, used again, etc. So what is the best approach? Boot from a Live CD, hook up a USB external HD and do what? Can I create a .iso or .cdr (or some other portable format) and have it created on the external USB? Thoughts on this process would be appreciated. -ML Hello I'd use an external hard drive and use ntfsclone or partimage to make an image. You do have to take the server offline though, if someone has suggestions for tools that can do this while windows is running, that'd be awesome. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Request for hpacucli output from people running HP Smart Array controllers
Hello all I'm gathering the output of the hpacucli program from as much configurations as possible. If you can find some free time for me, can you send me the output of: hpacucli ctrl all show detail hpacucli ctrl slot=1 show config hpacucli ctrl slot=1 array all show hpacucli ctrl slot=1 array A show hpacucli ctrl slot=1 physicaldrive all show hpacucli ctrl slot=1 physicaldrive 2I:1:1 show hpacucli ctrl slot=1 logicaldrive all show hpacucli ctrl slot=1 logicaldrive 1 show Replace the slot=, array, physicaldrive and logicaldrive entries with what matches your specific setups (if possible, for all slots, arrays, physical and logical drives). I need as much as possible, normal working configurations and exotic setups like failed drives, arrays in rebuilding or failed state, hot-spares, etc... Much appreciated! Thanks, Best regards, Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] RPM complaining it needs .so files, while these are actually present
Hello When I try to install a package I built myself (java-1.6.0-sun-1.6.0.16-1jpp.x86_64.rpm - took the java-1.6.0 srpm from jpackage and bumped the version number), it complains: Error: Missing Dependency: libodbcinst.so()(64bit) is needed by package java-1.6.0-sun-1.6.0.16-1jpp.x86_64 (java-1.6.0-sun-1.6.0.16-1jpp.x86_64.rpm) Error: Missing Dependency: libodbc.so()(64bit) is needed by package java-1.6.0-sun-1.6.0.16-1jpp.x86_64 (java-1.6.0-sun-1.6.0.16-1jpp.x86_64.rpm) However, I definately have these files: [r...@centos5 x86_64]# ls -l /usr/lib64/libodbcinst* -rw-r--r-- 1 root root 270528 Jan 7 2007 /usr/lib64/libodbcinst.a -rw-r--r-- 1 root root 1038232 Jan 7 2007 /usr/lib64/libodbcinstQ.a lrwxrwxrwx 1 root root 20 Aug 29 20:59 /usr/lib64/libodbcinst.so - libodbcinst.so.1.0.0 lrwxrwxrwx 1 root root 20 Aug 29 20:58 /usr/lib64/libodbcinst.so.1 - libodbcinst.so.1.0.0 -rwxr-xr-x 1 root root 78088 Jan 7 2007 /usr/lib64/libodbcinst.so.1.0.0 [r...@centos5 x86_64]# (I left out libodbc*, I have these files as well but it would be too much and useless to post here) Why isn't the dependency management realizing I have the files needed? Thanks, Best regards, Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] my fonts look horrible (centos5.3/xfce)
Ryan Pugatch wrote: Yes, I changed the variable in the spec and installed the RPM I built. I am on a 64-bit machine but did not install a 32-bit RPM. Looks like there are two versions.. the original and mine. What should I do? Requested output: [r...@localhost ~]$ rpm -qi freetype Name: freetype Relocations: (not relocatable) Version : 2.2.1 Vendor: CentOS Release : 21.el5_3 Build Date: Fri 22 May 2009 10:04:13 AM EDT Install Date: Thu 27 Aug 2009 01:06:54 PM EDT Build Host: builder16.centos.org Group : System Environment/Libraries Source RPM: freetype-2.2.1-21.el5_3.src.rpm Size: 626801 License: BSD/GPL dual license Signature : DSA/SHA1, Fri 22 May 2009 05:22:59 PM EDT, Key ID a8a447dce8562897 URL : http://www.freetype.org Summary : A free and portable font rendering engine Description : The FreeType engine is a free and portable font rendering engine, developed to provide advanced font support for a variety of platforms and environments. FreeType is a library which can open and manages font files as well as efficiently load, hint and render individual glyphs. FreeType is not a font server or a complete text-rendering library. Name: freetype Relocations: (not relocatable) Version : 2.2.1 Vendor: (none) Release : 20Build Date: Thu 27 Aug 2009 04:24:21 PM EDT Install Date: Thu 27 Aug 2009 04:25:44 PM EDT Build Host: localhost.localdomain Group : System Environment/Libraries Source RPM: freetype-2.2.1-20.src.rpm Size: 655297 License: BSD/GPL dual license Signature : (none) Packager: Pugatch Ryan URL : http://www.freetype.org Summary : A free and portable font rendering engine Description : The FreeType engine is a free and portable font rendering engine, developed to provide advanced font support for a variety of platforms and environments. FreeType is a library which can open and manages font files as well as efficiently load, hint and render individual glyphs. FreeType is not a font server or a complete text-rendering library. Why do you have two freetypes installed? That shouldn't be possible. They should have conflicting files. Fix this first. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] my fonts look horrible (centos5.3/xfce)
Ryan Pugatch wrote: Hi all, I can't seem to get my fonts to look decent under CentOS. I was able to make them look pretty good under Ubuntu, but for the life of me I can't make them look decent on CentOS. Screenshots: http://img199.imageshack.us/img199/8563/ss1rzo.jpg http://img199.imageshack.us/img199/7655/ss2ocf.jpg http://img196.imageshack.us/img196/6040/ss3j.jpg http://img196.imageshack.us/img196/466/uiprefs.jpg Any advice is appreciated because this sucks :) Ryan Get the freetype source RPM and recompile it with the bytecode interpreter enabled. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Using Thunderbird as local mail reader
Kristopher Kane wrote: What do you mean locally? Is your mailbox stored on the same system you use daily or do you mean it is on a server on your subnet? The OP probably means reading a local maildir/mbox. As far as I know it's not possible to read maildirs/mbox's using thunderbird. Kmail Kan do it though, it's part of the Kdepim pacKage. Best regards, Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] p800 and HP
Hello Rainer Duffner wrote: Am 21.08.2009 um 19:08 schrieb Peter Kjellstrom: On Friday 21 August 2009, Joseph L. Casale wrote: We have a few (p800). My opinion is that they're acceptable but not fast. Heard this a few times now, in the interest of getting something better next time, what have you found equally reliable but faster? Nothing as cheap as a full dl185 that's for sure unless you count SUNs thor (thumper ng) machines but then you'll have to do the raid part in software somehow. Yeah, but that is as easy as zpool create tank raidz2 dev1 dev2 dev3 dev4 dev5 dev6 etc. zfs create tank/bigdisk It's as simple as that when creating your RAID, true. It's more tricky if you have to boot off it, even more if you have to start replacing disks. I have nothing against software RAID, it works fine for me, but you have to know what you're doing. If you really want to go with a HW controller, try Areca or the high- end 3Ware models. IMHO 3ware has kind of fallen out of grace with me, their latests lines were expensive and overall performance was bad compared to Areca. Maybe that has changed in meanwhile but I'm not buying them anymore. As mentioned in any ZFS document, when you use a HW-raidcontroller, the OS never knows if a drive is broken or showing errors. The HW hides that from the OS. That's basically the whole point of a hardware RAID controller. But it doesn't mean the OS can't analyze the RAID controller's (and disks) status, see next paragraph. You have to have closed-source drivers like the HP utils to tell you that. Not entirely true, the cciss driver is open source and you can use an easy utility like cciss_vol_status to monitor your RAID. Though if you want to manage your RAID array beyond basic checking of status and replacing broken disks, you'll have to use the HP management utilities (you can get them from their website), which are, yes, a bit dire. Such as requiring 32 bit libs in their 64 bit packages, FAIL if you ask me. (Note that you don't have to use HP's driver for cciss for their management utilities to work - they work fine with the drivers that ship with CentOS). In addition, smartmontools is capable of monitoring the individual disks behind a cciss RAID controller. Even more, the failure LEDs on the backplanes work, something I haven't seen possible to use in combination with software RAID. If your data-set will, over the lifespan of that server, never grow beyond the original size of the array, then you can go with a HW- raidcontroller. Otherwise, go ZFS. I see no reason why a growing dataset is an argument against a hardware RAID controller. You can just add disks, create new arrays and use LVM. My few pro's/con's software vs. hardware RAID: Software RAID: + Portable: any controller will work and the management is the same + Can span anything that's a block device + Cheap + In RAID 1 10, the independent parts are readable without the RAID functioning - Failure LED's don't work - Removing a drive can be tricky involving the scsi remove-single-device command. Once this command didn't even work and yanking out the disk without the remove command made the server lock up. - When replacing disks on a bootable set, you have to remember to re-install the bootloader Hardware RAID: + Failure LED's work when used in conjunction with a backplane (might require additional cabling) + Possibility for a battery backed write cache + Just works (at least for HP) +- Somewhat portable if you remain within the same brand. Excellent experience with HP Smart Array controllers in this regard. - Management tools can be a PITA on linux. - Expensive - Some controllers have such a way of storing the data on disk that you can't read them back on a regular controller without additional tools Best regards, Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS-docs] Request for wiki page Tomcat6 from Red Hat SRPMs
Hello Is it possible to create a wiki page under my user (GlennMatthys)? Title: Tomcat 6 from Red Hat SRPMs Category: Howtos Reference: http://lists.centos.org/pipermail/centos/2009-August/080416.html Reference: http://lists.centos.org/pipermail/centos/2009-August/080495.html Thanks, Best regards, Glenn Matthys ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] Request for wiki page Tomcat6 from Red Hat SRPMs
Filipe Brandenburger wrote: Hi, On Tue, Aug 11, 2009 at 09:10, RedShiftredsh...@pandora.be wrote: Is it possible to create a wiki page under my user (GlennMatthys)? Title: Tomcat 6 from Red Hat SRPMs Category: Howtos Tomcat 6 is also available from JPackage.org's JPP 5.0: http://mirrors.dotsrc.org/jpackage/5.0/generic/free/repodata/repoview/T.group.html Hello When I look at the repository [1] there is no tomcat6 package there. So it appears lots of RPMs are missing, including tomcat6. I tried another mirror and it gave me the same result. I think it would be good to investigate the possibility of using those instead of building them yourself. It should be a lot less painful to do it, it should be less dependent on the current environment (you saw yourself how having a certain package installed had side effects on your build) and I think it would also work with the OpenJDK that is bundled with CentOS 5.3. I will try again to compile the troublesome package using OpenJDK 1.6, but as the devs themselves have mentioned, it currently doesn't build with Java 1.6, only with 1.5. (For those that aren't following: [2]). I didn't try it myself (and for me it would be difficult to compare it to the one from RedHat) but I would suggest that you to do that before writing the Wiki page. I remember reading on the CentOS list that there was some interest in building the other repositories that Red Hat supports (Web Application Stack, etc...), has this interest been lost? Thanks, Best regards, Glenn [1] http://jpackage.netmindz.net/5.0/redhat-el-5.0/free/RPMS/ [2] http://lists.centos.org/pipermail/centos/2009-August/080416.html ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS] Building tomcat6, SRPM jakarta-commons-dbcp-1.2.1-7jpp.ep1.2.ep5.el5.src.rpm fails to build
RedShift wrote: Filipe Brandenburger wrote: Hi, On Mon, Aug 10, 2009 at 13:56, RedShiftredsh...@pandora.be wrote: I've installed the JDK 1.5 and used alternatives --config java to use the 1.5 JDK from Sun. However, the same compilation error still occurs. How do I tell rpmbuild or the .spec to use the Sun JDK? I believe it should be using JDK 1.5. From a closer look at the output, I believe the problem might be in file /usr/lib/jvm-exports/java/jdbc-stdext.jar, which might be JDBC (from where I think java.sql.Wrapper comes) for Java 6. Where do you have this file installed from? Hello [r...@testserver build]# rpm -qf /usr/lib/jvm-exports/java/jdbc-stdext.jar java-1.6.0-openjdk-1.6.0.0-1.2.b09.el5 I wonder why the build procedure is looking at that file... Do you have CLASSPATH exported when you run rpmbuild? If so, try unsetting it before running the command. I did not have the CLASSPATH environment variable set. You may also try to move that file (and maybe the Xerces file) to another directory and then try to build the package again. That jdbc-stdext.jar file gave me a clue, I did a yum remove java-1.6.0-openjdk-1.6.0.0-1.2.b09.el5, and now the package builds. As I'm using the Sun implementation now the openjdk one is obsolete, however, I wonder how Red Hat builds the RPMs. Did they use the Sun JDK as well? I also see you are building the RPM as root, that is not advisable (as a bogus or malicious spec file might damage your system), you should build RPMs as a regular user, if you want more details on how to do that look at this Wiki article: http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment#head-556b8aa080c4fc427757f25b9c229f600827f09d I know, but this is only on a test machine, security is not really a high priority at the moment. HTH, Filipe Thank you for your help. Up to the next challenge. Best regards, Glenn Hello I managed to build tomcat6 and it's working! I have documented the process and if allowed I'll put it on the wiki. Thanks again for your help, Best regards, Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Building tomcat6, SRPM jakarta-commons-dbcp-1.2.1-7jpp.ep1.2.ep5.el5.src.rpm fails to build
Hello all I'm trying to build tomcat6 from the SRPMs provided at [1], but I appear to have hit a wall. One of the dependencies of tomcat6-6.0.18-8.18.1.noarch [2] is jakarta-commons-dbcp-tomcat5 (provided by jakarta-commons-dbcp [3]). (I don't see why it's requiring tomcat5 components, maybe that's my problem). When I try to build jakarta-commons-dbcp, compilation fails: BEGIN BUILD OUTPUT [r...@testserver build]# rpmbuild --rebuild --without maven jakarta-commons-dbcp-1.2.1-7jpp.ep1.2.ep5.el5.src.rpm buildlog 21 warning: InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID 37017186 warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root Installing jakarta-commons-dbcp-1.2.1-7jpp.ep1.2.ep5.el5.src.rpm Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.70693 + umask 022 + cd /root/rpmbuild/BUILD + cat If you dont want to build with maven, give rpmbuild option '--without maven' + rm -rf /var/tmp/jakarta-commons-dbcp-1.2.1-buildroot + cd /root/rpmbuild/BUILD + rm -rf commons-dbcp-1.2.1 + /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/commons-dbcp-1.2.1-src-RHCLEAN.tar.bz2 + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd commons-dbcp-1.2.1 ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chown -Rhf root . ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chgrp -Rhf root . + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp LICENSE.txt ../LICENSE + find . -name '*.jar' -exec rm -f '{}' ';' + gzip -dc /root/rpmbuild/SOURCES/commons-build.tar.gz + tar xf - + cp -p /root/rpmbuild/SOURCES/dbcp-tomcat5-build.xml . + echo 'Patch #0 (commons-dbcp-1.2.1-project_xml.patch):' Patch #0 (commons-dbcp-1.2.1-project_xml.patch): + patch -p0 -b --suffix .sav -s + echo 'Patch #1 (commons-dbcp-1.2.1-TestJOCLed.patch):' Patch #1 (commons-dbcp-1.2.1-TestJOCLed.patch): + patch -p0 -b --suffix .sav -s + echo 'Patch #2 (commons-dbcp-1.2.1-TestConnectionPool.patch):' Patch #2 (commons-dbcp-1.2.1-TestConnectionPool.patch): + patch -p0 -b --suffix .sav -s + echo 'Patch #3 (commons-dbcp-1.2.1-navigation_xml.patch):' Patch #3 (commons-dbcp-1.2.1-navigation_xml.patch): + patch -p0 -b --suffix .sav -s + echo 'Patch #4 (commons-dbcp-1.2.1-project_properties.patch):' Patch #4 (commons-dbcp-1.2.1-project_properties.patch): + patch -p0 -b --suffix .sav -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.70693 + umask 022 + cd /root/rpmbuild/BUILD + cd commons-dbcp-1.2.1 ++ build-classpath jdbc-stdext xerces-j2 + export CLASSPATH=/usr/lib/jvm-exports/java/jdbc-stdext.jar:/usr/share/java/xerces-j2.jar + CLASSPATH=/usr/lib/jvm-exports/java/jdbc-stdext.jar:/usr/share/java/xerces-j2.jar ++ build-classpath commons-pool ++ build-classpath commons-collections ++ build-classpath junit ++ build-classpath jndi ++ build-classpath xml-commons-apis + ant -Dbuild.sysclasspath=first -Dcommons-pool.jar=/usr/share/java/commons-pool.jar -Dcommons-collections.jar=/usr/share/java/commons-collections.jar -Djunit.jar=/usr/share/java/junit.jar -Djndi.jar=/usr/lib/jvm-exports/java/jndi.jar -Dsax2.jar=/usr/share/java/xml-commons-apis.jar -Djava.io.tmpdir=. -Dtest.failonerror=false dist test Buildfile: build.xml init: clean: prepare-nojdbc3: prepare-jdbc3: [echo] JDBC 3 was detected. prepare: compile: [mkdir] Created dir: /root/rpmbuild/BUILD/commons-dbcp-1.2.1/build/classes [javac] Compiling 39 source files to /root/rpmbuild/BUILD/commons-dbcp-1.2.1/build/classes [javac] /root/rpmbuild/BUILD/commons-dbcp-1.2.1/src/java/org/apache/commons/dbcp/BasicDataSource.java:43: org.apache.commons.dbcp.BasicDataSource is not abstract and does not override abstract method isWrapperFor(java.lang.Class?) in java.sql.Wrapper [javac] public
Re: [CentOS] Building tomcat6, SRPM jakarta-commons-dbcp-1.2.1-7jpp.ep1.2.ep5.el5.src.rpm fails to build
Filipe Brandenburger wrote: Hi, On Mon, Aug 10, 2009 at 10:25, RedShiftredsh...@pandora.be wrote: I have found a few references on the errors with some conclusive information on the tomcat mailinglist [4], stating that dbcp won't build with a java 6 compiler. So at this point my mind is blank, now what?. Well, you can try to install JDK 1.5.0 from Sun and see if it builds then. For instructions: http://wiki.centos.org/HowTos/JavaOnCentOS#head-3f98853bcb757ab29ddf3aa8e2b5c939f59445d6 I would also recommend that you use the JPackage (www.jpackage.org) repositories for Java software, they package Java software in RPMs for and IMO it works very well. HTH, Filipe Hello I've installed the JDK 1.5 and used alternatives --config java to use the 1.5 JDK from Sun. However, the same compilation error still occurs. How do I tell rpmbuild or the .spec to use the Sun JDK? Thanks, Best regards, Glenn Matthys ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Building tomcat6, SRPM jakarta-commons-dbcp-1.2.1-7jpp.ep1.2.ep5.el5.src.rpm fails to build
Filipe Brandenburger wrote: Hi, On Mon, Aug 10, 2009 at 13:56, RedShiftredsh...@pandora.be wrote: I've installed the JDK 1.5 and used alternatives --config java to use the 1.5 JDK from Sun. However, the same compilation error still occurs. How do I tell rpmbuild or the .spec to use the Sun JDK? I believe it should be using JDK 1.5. From a closer look at the output, I believe the problem might be in file /usr/lib/jvm-exports/java/jdbc-stdext.jar, which might be JDBC (from where I think java.sql.Wrapper comes) for Java 6. Where do you have this file installed from? Hello [r...@testserver build]# rpm -qf /usr/lib/jvm-exports/java/jdbc-stdext.jar java-1.6.0-openjdk-1.6.0.0-1.2.b09.el5 I wonder why the build procedure is looking at that file... Do you have CLASSPATH exported when you run rpmbuild? If so, try unsetting it before running the command. I did not have the CLASSPATH environment variable set. You may also try to move that file (and maybe the Xerces file) to another directory and then try to build the package again. That jdbc-stdext.jar file gave me a clue, I did a yum remove java-1.6.0-openjdk-1.6.0.0-1.2.b09.el5, and now the package builds. As I'm using the Sun implementation now the openjdk one is obsolete, however, I wonder how Red Hat builds the RPMs. Did they use the Sun JDK as well? I also see you are building the RPM as root, that is not advisable (as a bogus or malicious spec file might damage your system), you should build RPMs as a regular user, if you want more details on how to do that look at this Wiki article: http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment#head-556b8aa080c4fc427757f25b9c229f600827f09d I know, but this is only on a test machine, security is not really a high priority at the moment. HTH, Filipe Thank you for your help. Up to the next challenge. Best regards, Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Battery condition tools CentOS/Dell
Kwan Lowe wrote: Hello all: Does anyone know of a tool/project that will allow me to read the battery condition (not the charge status) on a Dell laptop battery? Under XP there is a utility that warns that the battery is still holding a charge but that the battery is degraded and should be replaced. Also, not sure if this is possible, but I would like to control how the laptop charges the battery. I tend to have the laptop plugged in most of the time and this constant charging state is apparently very bad for battery lifetime. So a charge/drain cycle is supposedly better. Thanks, Kwan Li-ion batteries should be charged early and often. Deep discharging will shorten its lifetime as part of their normal usage cycle. I don't see how charging them to 100% is negative for the battery's lifetime as they do not have the memory effect. Li-ion batteries degrade as soon as they are produced, when they are not being used you should charge them to about 60% and store them somewhere cool, dry and without light. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Battery condition tools CentOS/Dell
Kwan Lowe wrote: On Wed, Aug 5, 2009 at 11:14 AM, Blake Hudsonbl...@ispn.net wrote: How old is your laptop? This may be a case of expectations not meeting reality. As the Wiki article linked previously mentions, LiION batteries deteriorate over time and with use (as do all batteries). In my experience, a typical laptop battery (treated well) will last 2 years while maintaining the majority of its original capacity. After 5 years, the battery run time is often inadequate to meet the needs of the owner. When purchasing a laptop, I would have the expectation that the battery will need replaced every 2-3 years - if the laptop is used, assume that it needs a new battery. The laptop is about 18 months old, so the battery was nearing its end but I'd hoped for at least another 6 months of useful time (more than 10 minutes). The battery is in worse condition than three identical batteries in the other 3 laptops purchased at the same time. The main difference is that this laptop is plugged in continuously while the others are mobile. That's usually a symptom of an individual cell that has failed. You could open up the batterypack and start replacing the individual cells, but I'd recommend just getting a new battery or even a new laptop... Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] postfix and mail origin checks
Karanbir Singh wrote: On 07/29/2009 01:58 PM, RedShift wrote: Emails to other destinations should remain unaffected. ^^ The easiest way is probably to edit master.cf and make smtpd only listen on localhost:25. well, no. The machine gets a few thousand other emails from all over the place. Would not want to stop that :) Otherwise us an access table. how ? Start by setting up recipient classes, like this: everybody = permit limited = check_client_access hash:/etc/postfix/tables/limited_client_access smtpd_restriction_classes = everybody, limited smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination check_recipient_access hash:/etc/postfix/tables/recipient_access And now for the tables: recipient_access: mypreci...@example.net limited * everybody limited_client_access: 1.2.3.4 OK * REJECT I'm quickly writing this almost all out of my head so it might not be entirely drop into place. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] BIND vulnerability
Kenneth Porter wrote: Slashdot carried this story yesterday on a BIND vulnerability: http://it.slashdot.org/story/09/07/29/0028231/New-DoS-Vulnerability-In-All-Versions-of-BIND-9 According to a commenter, this should provide a temporary countermeasure: iptables -A INPUT -p udp --dport 53 -j DROP -m u32 --u32 '30270xF=5' Haven't tested it, would like to know the results... Glenn The upstream report: https://www.isc.org/node/474 Red Hat's Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=514292 From what I'm reading, if one has an Internet-facing master for a zone, one is vulnerable, even if dynamic DNS isn't being used. ___ 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] Default PHP Build ! include Mysql Support?
Chuck wrote: Do you need to roll your own PHP build to support MySQL now? I don't see support built into the included libphp module.. Thx, CC Use yum search php and watch the output very closely, that should (hopefully...) give you the clues you need to enable support for MySQL. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] PCI modems
Hi all, I'm currently searching for a PCI modem that will be used to receive faxes. I've tried out a few modems but they all use conexant chipsets, which need out-of-tree kernel drivers and currently doesn't work here (kernel oops when the installation script modprobes the driver). Does anyone know of a PCI modem that works out of the box with in-tree kernel drivers? Thanks, Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] PCI modems
Robert Heller wrote: At Thu, 23 Jul 2009 14:05:49 +0200 CentOS mailing list centos@centos.org wrote: Hi all, I'm currently searching for a PCI modem that will be used to receive faxes. I've tried out a few modems but they all use conexant chipsets, which need out-of-tree kernel drivers and currently doesn't work here (kernel oops when the installation script modprobes the driver). Does anyone know of a PCI modem that works out of the box with in-tree kernel drivers? Does it *have* to be a PCI (internal) modem? Except for a few *very expensive* ones (3Com/US Robotics *used* to make one I think), they are all 'controllerless' modems (aka 'winmodems'). Controllerless modems are poorly support under Linux, and there is little or no motivation for the kernel developers to bother supporting them. It might actually be easier to get an old ISA modem card (off eBay), except modern computers don't have ISA busses anymore :-). It would actually be cheaper (and far easier) to get an *external* RS232 modem. At worst you'll need a serial port card (Lava's PCI serial port cards are quite well supported). In effect the combination of a Lava PCI serial port card and a RS232 modem would be a PCI modem, although the 'modem' itself would be external. Hi It doesn't need to be a PCI modem, but I would prefer one because everything can be nicely tucked away than and it's less wiring. But if only oldskool external serial modems do the job I'll use that then. Just to confirm, something like this one: http://www.usr-emea.com/products/p-dialup-product.asp?prod=hom-5631aloc=bene will just work out of the box? Thanks, Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Intel Graphics support in future releases
Ron Blizzard wrote: Since my computers use built-in Intel graphics chips (which work great with CentOS 5.3), I've been worrying about Ubuntu's (and other cutting edge distributions) problems with these. It appears to be an Xorg problem. What I don't understand is why Xorg would release something that only half worked with a large segment of the computers out there. I'm also wondering how Red Hat / CentOS will handle such a problem -- or have they already addressed it? Probably shouldn't worry about a possible problem, but I do anyhow. I had the same question in the back of my mind. There are some great evolutions going on right now, but they take a lot of time to mature. I've also been wondering about desktop environments, since fedora 10/11 use KDE 4, which, even 4.2, I find very low in quality compared to 3.5, how will Red Hat provide a decent desktop? (Don't remind me of Gnome, I've used it for years and I still don't like it). Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Swap priorities with swapon (Is my swap drive working?)
James Bensley wrote: Hey Listee's I have a CentOS server with 2GB of ram and a swap drive of 4GB; swapon -a shows my swap drive as 4GB with only about 350 bytes in use (which is fine as my server idles with about 350-400MB ram usage so no swap should be in use. However my one and only swap drive had a priority of -1. I had read that the swap drive priority doesn't matter too much because I only have one swap drive so the kernel hasn't got to make a choice but also that after a certain kernel version (which is think was like 1.3.x?) it didn't even use the priority value and my kernel is newer (I have 2.6.18-128.1.6.e15). Basically I have read difference things from difference source on the old interwebwrok and seek clarification. In the confusion I set my swap drive priority from -1 to 1 because I thought that if the drive priority were a negative value it might not actually use the swap drive. Ultimately I can't tell because there currently isn't enough memory usage demand on the server. On a side note: I'm a reformed Windows admin and have seen the light and am moving each server one at a time over to Linux so I am used to poor memory management and needing massive page files. Realistically the swap drive shouldn't been in use but I am just worried then when this server goes live it will hit 2GB of ram usage and the swap won't kick in. Is there anyway I can check? If your system starts to swap, it really needs more memory. Otherwise you're just fine. Swap is only a last resort. Don't worry about it. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how to build php5-cgi from source
Tim Ke wrote: I am on an old version of Cent OS, and not able to use yum to update the packages. Any way to build php-cgi executable from the php source code? 2009/6/6 Pintér Tibor tib...@tibyke.hu mailto:tib...@tibyke.hu Tim Ke írta: Does anyone has experience on how to build php5-cgi from source? ./configure. make make install t Yes, use the instructions on http://be.php.net/manual/en/install.unix.php. When you configure php, use /usr/local as prefix (don't install to /usr, since that can possibly conflict with installed packages). If you really are compiling manually (not using packages), be very aware of what you are doing. You can easily shoot yourself in the foot. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] httpd crashes after signal HUP
Hello I'm running CentOS 5.3 with httpd-2.2.3-22.el5.centos.x86_64 and php-5.1.6-23.2.el5_3.x86_64. When the logrotate scripts run and send the HUP signal to httpd, the httpd process quits instead of reloading. The only thing I can find in the logs is this: [Sun Apr 19 04:02:04 2009] [notice] seg fault or similar nasty error detected in the parent process There wasn't any segfault reported in dmesg and I couldn't find anything else in the other logs (messages, etc...) It's reproducable every time, when I send the HUP signal to the master httpd process the same thing happens. My configuration is nothing special, just the stock one, with a few unnecesary modules commented out and one virtual host. Thanks, Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] httpd crashes after signal HUP
- Oorspronkelijk bericht - Van : RedShift [mailto:redsh...@pandora.be] Verzonden : zondag , april 19, 2009 09:42 AM Aan : centos@centos.org Onderwerp : [CentOS] httpd crashes after signal HUP Hello I'm running CentOS 5.3 with httpd-2.2.3-22.el5.centos.x86_64 and php-5.1.6-23.2.el5_3.x86_64. When the logrotate scripts run and send the HUP signal to httpd, the httpd process quits instead of reloading. The only thing I can find in the logs is this: [Sun Apr 19 04:02:04 2009] [notice] seg fault or similar nasty error detected in the parent process There wasn't any segfault reported in dmesg and I couldn't find anything else in the other logs (messages, etc...) It's reproducable every time, when I send the HUP signal to the master httpd process the same thing happens. My configuration is nothing special, just the stock one, with a few unnecesary modules commented out and one virtual host. A follow-up, I cannot seem to reproduce this on my laptop (using i386 instead of x86_64) with the same configuration. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] httpd crashes after signal HUP
Per Qvindesland wrote: Have you tried this: http://www.electrictoolbox.com/seg-fault-or-similar-nasty-error/ Per Yes, I have tried it, but that's a workaround, not a real solution. Glenn --- Original message follows --- *Subject: *Re: [CentOS] httpd crashes after signal HUP *From: *RedShift redsh...@pandora.be *To: *CentOS mailing list centos@centos.org *Date: *19-04-2009 9:49 - Oorspronkelijk bericht - Van : RedShift [mailto:redsh...@pandora.be] Verzonden : zondag , april 19, 2009 09:42 AM Aan : centos@centos.org Onderwerp : [CentOS] httpd crashes after signal HUP Hello I'm running CentOS 5.3 with httpd-2.2.3-22.el5.centos.x86_64 and php-5.1.6-23.2.el5_3.x86_64. When the logrotate scripts run and send the HUP signal to httpd, the httpd process quits instead of reloading. The only thing I can find in the logs is this: [Sun Apr 19 04:02:04 2009] [notice] seg fault or similar nasty error detected in the parent process There wasn't any segfault reported in dmesg and I couldn't find anything else in the other logs (messages, etc...) It's reproducable every time, when I send the HUP signal to the master httpd process the same thing happens. My configuration is nothing special, just the stock one, with a few unnecesary modules commented out and one virtual host. A follow-up, I cannot seem to reproduce this on my laptop (using i386 instead of x86_64) with the same configuration. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] httpd crashes after signal HUP
Kai Schaetzl wrote: RedShift wrote on Sun, 19 Apr 2009 10:20:32 +0200: Yes, I have tried it, but that's a workaround, not a real solution. Well, after reading just the first few lines I think the point is that a PHP accelerator (APC) is involved. Kai There is no PHP accelerator involved. It's all standard. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] httpd crashes after signal HUP
RedShift wrote: Hello I'm running CentOS 5.3 with httpd-2.2.3-22.el5.centos.x86_64 and php-5.1.6-23.2.el5_3.x86_64. When the logrotate scripts run and send the HUP signal to httpd, the httpd process quits instead of reloading. The only thing I can find in the logs is this: [Sun Apr 19 04:02:04 2009] [notice] seg fault or similar nasty error detected in the parent process There wasn't any segfault reported in dmesg and I couldn't find anything else in the other logs (messages, etc...) It's reproducable every time, when I send the HUP signal to the master httpd process the same thing happens. My configuration is nothing special, just the stock one, with a few unnecesary modules commented out and one virtual host. Thanks, Glenn I figured out it was coming from a PHP extension called MAPI, that comes shipped with a piece of software I use (Zarafa). This problem didn't occur on my laptop because it didn't have the mapi.so extension loaded. So this is not a CentOS problem. For reference: http://forums.zarafa.com/viewtopic.php?f=9t=2225 Best regards, Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Urgent: filesystem corruption on 2.6.18-128.1.6.el5
Gordon Messmer wrote: Gordon Messmer wrote: I opened bug 494927 with Red Hat after seeing this kernel error on two different hosts, just a few days after updating or installing CentOS 5.3: https://bugzilla.redhat.com/show_bug.cgi?id=494927 In an attempt to confirm this bug, I set up a system under KVM and started three loops to generate filesystem activity. I ran bonnie++ as two different users in separate directories under /var/tmp, and an additional loop copying /usr to a directory under /var/tmp and then removing it. The /var filesystem became corrupt relatively quickly. I'm now nearly certain that there is a severe filesystem corruption bug in 2.6.18-128.1.6.el5. Please, if you are running this kernel, reboot your systems into single user mode and check your filesystems with fsck -f. Your filesystems may appear clean despite corruption. My test system exhibited this behavior. Even though the corruption should have Just to be clear, this corruption appears on the HOST, not inside the KVM virtual machine? Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS automatically blocks port 80 out-of-the-box
David M Lemcoe Jr. wrote: Let me clarify. When I install the web server packages on a Cent install. You have to do that yourself. You know, do what a sysadmin does? :-) Glenn --Original Message-- From: Brian Mathis Sender: centos-boun...@centos.org To: CentOS Mailing list ReplyTo: CentOS Mailing list Sent: Apr 7, 2009 19:00 Subject: Re: [CentOS] CentOS automatically blocks port 80 out-of-the-box On Tue, Apr 7, 2009 at 6:57 PM, David M Lemcoe Jr. fo...@lemcoe.com wrote: Maybe I just haven't installed enough distros, but the times I've installed CentOS, I've had to remember that by default, iptables is blocking inbound port 80 requests. This leads me to believe that I have a non-OS firewall error because I can ping but not http request. Is there a particular reason for this? Or is it a fail on my end? Thanks, David Not every server is a web server. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Sent from my Verizon Wireless BlackBerry ___ 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] Chroot Install
Marcus Moeller wrote: Good Morning, I want to update my CF-Microdrive for my router with CentOS (currently there is Slacky on it). I have attached the microdrive to my notebook using a pcmcia CF adapter. Within my CentOS installation the drive is detected correctly as ide_cf and all partitions are shown. But as the installer does not ship the necessary modules for a pcmcia ide installation i am searching for a way to either add these, or to prepare the device from my box within a chroot environment. Any ideas? Best Regards Marcus Hi This may be of interest to you: http://wiki.centos.org/HowTos/ManualInstall I haven't gotten around to fixing up some of the remarks made by others, but you should get the general idea. Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] acpid events failing after first suspend
Hello I've configured acpid on my laptop to make the powerbutton hibernate the laptop. I modified /etc/acpid/events/power.conf with the following content: event=PWRF action=/usr/bin/pm-hibernate On the first boot it works like it should, but after the laptop has resumed, the powerbutton doesn't respond anymore. This is an extract from /var/log/acpid when the powerbutton responds: [Wed Apr 1 15:36:46 2009] client connected from 2332[0:0] [Wed Apr 1 15:36:46 2009] 1 client rule loaded [Wed Apr 1 15:37:16 2009] received event button/power PWRF 0080 0001 [Wed Apr 1 15:37:16 2009] notifying client 2198[68:68] [Wed Apr 1 15:37:16 2009] notifying client 2332[0:0] [Wed Apr 1 15:37:16 2009] executing action /usr/bin/pm-hibernate [Wed Apr 1 15:37:16 2009] BEGIN HANDLER MESSAGES [Wed Apr 1 18:10:47 2009] END HANDLER MESSAGES [Wed Apr 1 18:10:47 2009] action exited with status 0 [Wed Apr 1 18:10:47 2009] completed event button/power PWRF 0080 0001 After the first resume, nothing like that appears in the logs, like the powerbutton was never pushed. I have acpid version 1.0.4-7.el5 installed, I did not experience this issue on another distro which ships with acpid 1.0.8. Thanks, Best regards, Glenn Matthys ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS-docs] paging GlennMatthys
R P Herrold wrote: I have checked the ML archive for the last six months, and do not find a poster using 'Glenn' as their name. I wanted to contact that author, but no WikiPage for him exists with contact information Glenn, please contact me so I might discuss a page's future with you. As such to address the issue more generally I made a small addition at: Make yourself 'contactable' http://wiki.centos.org/HowTos/Wiki/Editing | Please assist people examining the revision history of a | wiki page in finding you, so that they may suggest revisions | when a page is unclear or stale. Add a Personal Homepage with | (at a minimum): your WikiName, a mailto link email address, | and the needed category indexing link footer: | | | CategoryHomepage -- Russ herrold Hello, Glenn Matthys, answering your page... Best regards, Glenn ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS] Installing on partitionable RAID arrays
RedShift wrote: Glenn Matthys As a follow-up, I found the documentation I wrote how to install CentOS without any installer: # First, setup your disks to your liking. You can use whatever you want here, ... snip ... (PS: I've also attached the documentation as install_centos.txt, but mailman will probably strip it) Attachment came through fine for me. Very interesting - might make a nice Wiki article, and could be included on a LiveCD as a way of bootstrapping a CentOS install. I'll have a go at that. You can find the wikipage here: http://wiki.centos.org/HowTos/ManualInstall Best regards, Glenn ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS-docs] Request for wiki page
Hello Is it possible to create a wiki page under my user (GlennMatthys)? Title: Manual install of CentOS without the installer Category: Howtos Reference: http://lists.centos.org/pipermail/centos/2009-March/073802.html Reference: http://lists.centos.org/pipermail/centos/2009-March/073806.html Thanks, Best regards, Glenn Matthys ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] Request for wiki page
Ralph Angenendt wrote: RedShift wrote: Hello Is it possible to create a wiki page under my user (GlennMatthys)? Title: Manual install of CentOS without the installer Category: Howtos Reference: http://lists.centos.org/pipermail/centos/2009-March/073802.html If you make sure your rpm commands actualy do work :D (put at least an -i in there). Go ahead. I hope you are okay with the CC license. Ralph The $rpm is explained in the text, I will replace it with a correct command in the wiki version. (You could easily assign $rpm to be rpm --target /target -i in your shell) Thanks, Best regards, Glenn Matthys ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS] Installing on partitionable RAID arrays
Phil Schaffner wrote: RedShift wrote: Another way to get CentOS on such a configuration would be to do everything manually, thus installing the base system by creating the necessary disk allocations and then rpm -i all the required packages to get it to boot. (I've done this before, it's not a big deal, you just need to follow a certain order - I remember documenting it somewhere but forgot). But since this method is probably not officially documented anywhere or even supported I'll most likely won't get any support if this setup were to fail somehow (like when upgrading between minor versions). I've tried STFW'ing, but searching for centos and partitionable arrays is too ambiguous. I tried googling too, and came up with lots of docs on partitionable arrays, but nothing on installing. Can't say for sure without testing, but I suspect GRUB would choke on this. Would probably still need at least a /boot on a separate partition, or a standard RAID1. GRUB works at least with a RAID 1 setup. (I run it in production on another distro). On a partitionable RAID 1, the data can still be read independently from the disks (that allows GRUB to work). If you have two disks you would install your GRUB MBR twice, once on both disks using the GRUB shell. I haven't tried other RAID forms but I see no reason why the built-in RAID 10 would not work as well. Thanks, Best regards, Glenn Matthys As a follow-up, I found the documentation I wrote how to install CentOS without any installer: # First, setup your disks to your liking. You can use whatever you want here, ... snip ... (PS: I've also attached the documentation as install_centos.txt, but mailman will probably strip it) Attachment came through fine for me. Very interesting - might make a nice Wiki article, and could be included on a LiveCD as a way of bootstrapping a CentOS install. I'll have a go at that. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Installing on partitionable RAID arrays
Raja Subramanian wrote: On Thu, Mar 26, 2009 at 5:42 PM, RedShift redsh...@pandora.be wrote: Since linux 2.6, the md layer has a feature called partitionable arrays. So instead of having two disks, creating an identical partition table on both and then putting those partitions in RAID 1, you take those two disks and put them in one partitionable RAID 1 array (in mdadm terms, mdp) and create a partition table on the new RAID device. The advantages are quite clear compared to the old non-partitionable arrays. For the uninitiated, would you be kind enough to elaborate the advantages of mdp? I have always created identical partitions on the raw disks first, and the used mdadm on top. I also create my partitions ~200MB smaller than raw disk capacity to ensure minor size differences between disks (eg. 160GB HDD from Seagate is not exactly same size as a 160GB disk from Samsung) will not prevent me from adding them to a raid set. Does mdp handle this scenario? When you run a partitionable array you don't have to care about the partition table on the independent disks. So when a disk fails, you don't have to recreate the exact same partition table, you just swap the device using the mdadm tool. Another advantage is that you don't have to do the disk swap for every partition. For example, in the old scenario, you have two disks (sda and sdb) with 4 partitions on them each. On those 4 partitions you create your RAID arrays, like md0=sda1,sdb1; md1=sda2,sdb2; and so forth. When sda fails, you have to remove the failed disk from all of the 4 RAID arrays and when you've put in the new disk, you have to signal all 4 arrays that the new disk is to be used. Not only do you have to execute 4 times as much commands, reconstruction of the 4 arrays will take place in parallel leading to slow disk access during reconstruction. When reconstructing a partitionable array using whole disks, reconstruction will always be sequential. In the disks not being equal scenario: you can limit the size of the RAID array during creation with the -z parameter (man mdadm, chapter For create, build, or grow:). So instead of limiting the size of the partitions you create, you limit the whole size of the RAID array. So having a smaller replacement disk is no problem as long as it's equal or bigger than the array size you defined during creation. Best regards, Glenn Matthys ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Installing on partitionable RAID arrays
Mogens Kjaer wrote: RedShift wrote: ... Not only do you have to execute 4 times as much commands, reconstruction of the 4 arrays will take place in parallel leading to slow disk access during reconstruction. Is this right? When I have replaced a disk and added several partitions to an array, the rebuild is done one partition at a time. The /proc/mdstat would say delayed on the partitiones waiting. Mogens I must be mistaken then, it's been a long time since I've used regular md devices. Best regards, Glenn Matthys ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos