[CentOS-docs] Wiki - HowTo VNC-Server
Hi, I found very usefull the VNC-Server HowTo by GeraldClark and PJWelsh. I've just follow this HowTo with CentOS 6, and I just want to add the following notes: PedroCarvalho ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] Wiki - HowTo VNC-Server
Hi, I found very usefull the VNC-Server HowTo by GeraldClark and PJWelsh ( http://wiki.centos.org/HowTos/VNC-Server) Thank you a lot :) I've just follow this HowTo with CentOS 6, and I just want to add the following note: Regarding Chapter 1. Installing required packages, to have the java working through the browser you must add: - yum install tomcat6 - yum install tigervnc-server-applet Best Regards, Pedro Carvalho ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
[CentOS-docs] how to submit corrections for virt-bridge-errors page?
Hi. This page saved me a lot of trouble today, when my Xen 3 multi-bridge setup stopped working after updated from CentOS 5.5 to 5.7: http://www.centos.org/docs/5/html/Virtualization-en-US/ch-virt-bridge-errors.html However there were a couple of errors in the script: use of op instead of OP (variable name mismatch) and use of .. ,, instead of ;; in the shell case structure. I can't tell if these errors are from redhat.com or from CentOS, and I couldn't find the Red Hat source. So I'm posting here just to do something in the general direction of improving this resource. Thank you! Love CentOS. Yours fondly, Aleksey ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-virt] how to add file-based disk space to a guest
hi there, coming back on a old thread. My topic is rather simple : I want to attach a file-based hard drive to a linux guest. I want to understand differences between doing it with command line tools versus virt-manager GUI. - first, creating a disk image on the physical host: qemu-img create -f qcow2 /mnt/qemu_disk_images/disk1.qcow2 15G - then, appending a disk definition into the guest XML file: $ virsh dumxml myguest dump.xml (...) disk type='file' device='disk' driver name='qemu' type='qcow2' cache='default'/ source file='/mnt/qemu_disk_images/disk1.qcow2'/ target dev='vdb' bus='virtio'/ /disk (...) $virsh define myguest dump.xml Then I have to reboot (virsh shudtown + virsh start) the guest to have the new /dev/vdb device available. If I do the same operation from the virt-manager GUI (add hardwarestorageexisting storagevirtio-diskbrowse local file), the /dev/vdb device pops up into the guest, even without rebooting. Can someone tell me the difference between what I do and what the GUI does ? thanks Tom Trey Dockendorf treydock at gmail.com Tue Jul 26 19:44:06 EDT 2011 I'm not aware of a virsh attach disk command but if you duplicate the entries for the existing disk you can then add the new one...something like this... # virsh -c qemu:///system edit VMname disk type='file' device='disk' driver name='qemu' type='qcow2' cache='none'/ source file='/var/lib/libvirt/images/vmname_var.qcow2'/ target dev='vda' bus='virtio'/ address type='pci' domain='0x' bus='0x00' slot='0x04' function='0x0'/ /disk You will have to adjust the values of course. I'm following these documentations to add a file-based disk volume to a KVM guest under Centos 6.0 : http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization/chap-Virtualization-Storage_Volumes.html as instructed, I created a pool then a volume, file-based, e.g : mkdir /mnt/raid/kvm_pool1 virsh # pool-define-as pool1 dir - - - - /mnt/raid/kvm_pool1 virsh # pool-autostart pool1 virsh # vol-create-as pool1 volume1 20G --allocation 15G --format qcow2 now I want to associate volume1 to my guest OS. Following this doc: http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization/sect-Virtualization-Virtualized_block_devices-Adding_storage_devices_to_guests.html - why does this ask me to create a file with dd ? it's already been created before with the virsh pool commands, isn't it? Seems to me I'm bypassing the libvirt/virsh layer if I do that. - after that, the doc tells me to do some stuff with guest XML files. Is'nt there some specific commands provided by virsh to associate a managed Pool to a managed Guest ? - in this case, should I use the virsh attach-disk command ? thanks. -- Tom ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
[CentOS-es] LC_ALL=C y segmentation fault
Estimados Tuve que reiniciar un server de mi casa, para agregarle un HD. Al encenderlo nuevamente, comenzo a arrojar los siguientes errores en pantalla: http://imageshack.us/photo/my-images/189/img2011103100051.jpg/ Alguna idea que puede estar pasando? y lo mas importante, alguna idea de como solucionarlo? Aclaro, que tiene 4 gb de ram, y probe usar de a 1gb para ver cual fallaba. memtest86, no mostro ningun error analizando de a 1gb y el segmentation fault sigue ahi. Por ahora, la unica forma que tengo de arreglarlo es entrando en single user, y reinstalando los paquetes. Eso si, si reinicio, los errores vuelven. -- Diego - Yo no soy paranoico! (pero que me siguen, me siguen) | http://about.me/diegors/bio Vivo gracias al SL, pero los talibanes, merecen un wipe ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] Emulación de teclado KVM
Hace algunas actualizaciones del host CentOS 5.X que no consigo instalar una máquina virtual bajo KVM con un correcto mapa de teclado español. ¿Alguien conoce la causa? ¿Cómo arreglarlo? Las versiones anteriores de libvirt y compañía (digamos, de cuando el 5.4 o 5.5 estaba al día) reproducían fielmente la distribución de teclado en los huéspedes. Ahora, levantando un guest de cualquier distribución, en modo texto, no hay dónde encontrar la barra (shift 7), la ñ, y muchos otros caracteres necesarios. Hoy dejé el 5.7 al día y tampoco pude lograr una instalación con teclado usable. El problema es con imágenes de varios OS (me ha ocurrido con CentOS 5.X, CentOS 6 y con un derivado de Slackware). Con este último, seleccionando qwerty-es, us-acentos, tampoco se consiguen barras ni eñes. En todos los casos estoy partiendo de un CD de instalación y procediendo con el ambiente gráfico de máquinas virtuales virt-manager. Este procedimiento funcionaba perfectamente hace unas semanas. ¡Cualquier idea será agradecida! -- Eduardo Grosclaude Universidad Nacional del Comahue Neuquen, Argentina ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS] CentOS 6 Bug Fix Announcements
On 28/10/2011 23:15, Lamar Owen wrote: FWIW, announcements or no announcements, I've been pretty happy to see the updates coming through CR, and I thank you and the team for this. Back when it was first mentioned I wasn't actually too enthralled with the idea, but what a difference a few months makes. If it weren't for the legwork in making CR a reality the lag in getting 6.1 out would be very difficult to rationalize. I agree, I have no problem at all with the execution of the fixes coming through the CR channel.My problem is slightly different.I work for a company who reclassify all the fixes into their own high, medium and low categories with corresponding rules about who must install them and when they must be installed by. Clearly if no announcements are coming out then there isn't going to be a CentOS 6 control file being built. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] read failed after messages of non existing harddisks
Hi, a cat /proc/partitions shows the two disks. They were direct connected to an scsi port. (Old ide 2 scsi Raids). I disconnected tham a long time ago and never worried about the errors, as the system was up and running very smooth. But now I connect other iscsi systems and the dmes and log is not that easy to monitor with all the unneded messages ... Anny idea, how to remove that partitions with the redhat tools? Regards . Götz Am 28.10.11 18:10, schrieb Richard Mollel: Just reread your post again Actually, cat /proc/partitions, if the said partitions/disks are still being seen by kernel, you will need some sort of system scan to get rid of them, or a reboot. I have a SAN, and qlogic card as HBA, qlogic has a tool for scanning for non-existent partitions and remove them... http://filedownloads.qlogic.com/files/ms/56615/readme_dynamic_lun_22.html and with qlogic, I could have removed the non-existent LUNs via the option refresh: -r, --refresh To refresh, that is remove LUNs that are lost use the options -r|--refresh. This will remove the LUNs which no more exist. How were these disks attached to your system? - Original Message - From: Philippe Naudin philippe.nau...@supagro.inra.fr To: CentOS mailing list centos@centos.org Cc: Sent: Friday, October 28, 2011 9:26 AM Subject: Re: [CentOS] read failed after messages of non existing harddisks Le ven 28 oct 2011 14:08:50 CEST, Götz Reinicke a écrit: Hi, some time ago I removed some physical disks from a server and now I'm still getting dmesg messages like: sd 0:2:2:0: SCSI error: return code = 0x00040001 end_request: I/O error, dev sdc, sector 0 And all lvm tools still grumbel about that disks too: /dev/sdb: read failed after 0 of 4096 at 0: Eingabe-/Ausgabefehler /dev/sdb: read failed after 0 of 4096 at 1746969493504: Eingabe-/Ausgabefehler How may I tell the lvm and the system, that it is ok that this disk do not exist any more? If a software RAID has been removed, don't forget : mdadm --misc --zero-superblock /dev/sdX where sdX is every disk that was part of the RAID. -- Götz Reinicke IT-Koordinator Tel. +49 7141 969 420 Fax +49 7141 969 55 420 E-Mail goetz.reini...@filmakademie.de Filmakademie Baden-Württemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzender des Aufsichtsrats: Jürgen Walter MdL Staatssekretär im Ministerium für Wissenschaft, Forschung und Kunst Baden-Württemberg Geschäftsführer: Prof. Thomas Schadt ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Duplicated packages in CR repo?
On 28.10.2011 15:42, Karanbir Singh wrote: On 10/28/2011 02:31 PM, Tom Brown wrote: do you have a list of the bad packages so that i can remove them from our spacewalk before they cause us an issue? sure, here is the list I removed : ./x86_64/RPMS/xorg-x11-server-Xnest-1.7.7-29el6_1.2.x86_64.rpm ./x86_64/RPMS/xorg-x11-server-Xdmx-1.7.7-29el6_1.2.x86_64.rpm ./x86_64/RPMS/corosynclib-devel-1.2.3-36el6_1.3.i686.rpm ./x86_64/RPMS/xorg-x11-server-source-1.7.7-29el6_1.2.noarch.rpm ./x86_64/RPMS/xorg-x11-server-devel-1.7.7-29el6_1.2.x86_64.rpm ./x86_64/RPMS/xorg-x11-server-Xephyr-1.7.7-29el6_1.2.x86_64.rpm ./x86_64/RPMS/xorg-x11-server-devel-1.7.7-29el6_1.2.i686.rpm ./x86_64/RPMS/corosync-1.2.3-36el6_1.3.x86_64.rpm ./x86_64/RPMS/xorg-x11-server-common-1.7.7-29el6_1.2.x86_64.rpm ./x86_64/RPMS/corosynclib-1.2.3-36el6_1.3.i686.rpm ./x86_64/RPMS/corosynclib-devel-1.2.3-36el6_1.3.x86_64.rpm ./x86_64/RPMS/rsyslog-4.6.2-3el6_1.4.x86_64.rpm ./x86_64/RPMS/xorg-x11-server-Xorg-1.7.7-29el6_1.2.x86_64.rpm ./x86_64/RPMS/rsyslog-gnutls-4.6.2-3el6_1.4.x86_64.rpm ./x86_64/RPMS/corosynclib-1.2.3-36el6_1.3.x86_64.rpm ./x86_64/RPMS/rsyslog-relp-4.6.2-3el6_1.4.x86_64.rpm ./x86_64/RPMS/rsyslog-gssapi-4.6.2-3el6_1.4.x86_64.rpm ./x86_64/RPMS/rsyslog-mysql-4.6.2-3el6_1.4.x86_64.rpm ./x86_64/RPMS/xorg-x11-server-Xvfb-1.7.7-29el6_1.2.x86_64.rpm ./x86_64/RPMS/rsyslog-pgsql-4.6.2-3el6_1.4.x86_64.rpm ./i386/RPMS/rsyslog-gssapi-4.6.2-3el6_1.4.i686.rpm ./i386/RPMS/rsyslog-relp-4.6.2-3el6_1.4.i686.rpm ./i386/RPMS/xorg-x11-server-Xorg-1.7.7-29el6_1.2.i686.rpm ./i386/RPMS/corosynclib-devel-1.2.3-36el6_1.3.i686.rpm ./i386/RPMS/xorg-x11-server-source-1.7.7-29el6_1.2.noarch.rpm ./i386/RPMS/rsyslog-mysql-4.6.2-3el6_1.4.i686.rpm ./i386/RPMS/xorg-x11-server-devel-1.7.7-29el6_1.2.i686.rpm ./i386/RPMS/rsyslog-4.6.2-3el6_1.4.i686.rpm ./i386/RPMS/corosynclib-1.2.3-36el6_1.3.i686.rpm ./i386/RPMS/rsyslog-gnutls-4.6.2-3el6_1.4.i686.rpm ./i386/RPMS/xorg-x11-server-Xdmx-1.7.7-29el6_1.2.i686.rpm ./i386/RPMS/corosync-1.2.3-36el6_1.3.i686.rpm ./i386/RPMS/xorg-x11-server-Xephyr-1.7.7-29el6_1.2.i686.rpm ./i386/RPMS/xorg-x11-server-Xvfb-1.7.7-29el6_1.2.i686.rpm ./i386/RPMS/rsyslog-pgsql-4.6.2-3el6_1.4.i686.rpm ./i386/RPMS/xorg-x11-server-common-1.7.7-29el6_1.2.i686.rpm ./i386/RPMS/xorg-x11-server-Xnest-1.7.7-29el6_1.2.i686.rpm ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Hi KB, thanks for quickly handling this. But aren't the updated xorg-x11-server packages now missing in total? Or are they not yet ready for cr? Regards Patrick -- Lobster LOGsuite GmbH, Hauptstraße 67, D-82327 Tutzing HRB 178831, Amtsgericht München GF: Dr. Martin Fischer, Rolf Henrich ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What happened to 6.1
On 10/30/2011 8:33 PM, Christopher Chan wrote: On Sunday, October 30, 2011 08:38 PM, William Warren wrote: Or move to another distro that has timely security updates and long term support like Centos. What...Ubuntu LTS? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos yeppers. I have 1 cent 5 machine left. Like I said before It it too bad RH is doing what they are doing. It is going to mean the death of RHEL rebuilds...look at what is happening to Centos. Per Johnny's statement they can't truly maintain 100% binary compatibility. It is not the Centos team's fault although they are going to be the biggest casualty. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrading MySQL
From: Jack Fredrikson jackfredrik...@yahoo.com Upon trying to run django, I get this error: ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is required; you have 1.2.1 If I run yum update mysql I don't upgrade (expected). What do? Why are you trying to update mysql when the error says 'MySQLdb'? Check also the version... mysql is 5.x; not 1.x. # yum whatprovides */MySQLdb ... MySQL-python-1.2.1... on CentOS 5 MySQL-python-1.2.3... on CentOS 6. How did you install django? There are django packages from repoforge and elrepo... JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What happened to 6.1
On Monday, October 31, 2011 07:46:59 AM William Warren wrote: Like I said before It it too bad RH is doing what they are doing. It is going to mean the death of RHEL rebuilds...look at what is happening to Centos. Per Johnny's statement they can't truly maintain 100% binary compatibility. It is not the Centos team's fault although they are going to be the biggest casualty. If absolute 100% binary compatibility is not required, but admin-level compatibility and source-level compatibility with upstream EL is, Scientific Linux is covering that niche, and has their 6.1 out. And that's not a criticism of CentOS, either, as the binary compatibility testing CentOS is doing has its purposes. Again, glad there is CR out there. The rebuilding per se isn't the issue; testing against the upstream binaries for compatibility without running afoul of the upstream AUP seems to be the problem. I have a couple of servers on Ubuntu LTS; after experiencing a few issues I'd say go Debian stable rather than Ubuntu LTS, from experience, if you're going to go that route. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] read failed after messages of non existing harddisks
I would assume you have rebooted since removing the drives, in which case they should not be seen by cat /proc/partition, which is a representation of scanned disks during bootup, unless you have other drives still connected that you are not aware of? cat /proc/scsi/scsi should help in narrowing down which devices you are actually looking at. To bridge the gap when what partitions and scsi/scsi is showing, install package (if not there already) lsscsi and run command lsscsi. Sample output: $ lsscsi [0:0:6:0] process PE/PV 1x3 SCSI BP 1.1 - [0:2:0:0] disk MegaRAID LD 0 RAID1 139G 422D /dev/sda [1:0:0:0] mediumx COMPAQ MSL5000 Series 0520 - [1:0:1:0] tape COMPAQ SDLT320 5F5F /dev/st0 [1:0:2:0] tape COMPAQ SDLT320 5F5F /dev/st1 - Original Message - From: Götz Reinicke goetz.reini...@filmakademie.de To: CentOS mailing list centos@centos.org Cc: Sent: Monday, October 31, 2011 5:37 AM Subject: Re: [CentOS] read failed after messages of non existing harddisks Hi, a cat /proc/partitions shows the two disks. They were direct connected to an scsi port. (Old ide 2 scsi Raids). I disconnected tham a long time ago and never worried about the errors, as the system was up and running very smooth. But now I connect other iscsi systems and the dmes and log is not that easy to monitor with all the unneded messages ... Anny idea, how to remove that partitions with the redhat tools? Regards . Götz Am 28.10.11 18:10, schrieb Richard Mollel: Just reread your post again Actually, cat /proc/partitions, if the said partitions/disks are still being seen by kernel, you will need some sort of system scan to get rid of them, or a reboot. I have a SAN, and qlogic card as HBA, qlogic has a tool for scanning for non-existent partitions and remove them... http://filedownloads.qlogic.com/files/ms/56615/readme_dynamic_lun_22.html and with qlogic, I could have removed the non-existent LUNs via the option refresh: -r, --refresh To refresh, that is remove LUNs that are lost use the options -r|--refresh. This will remove the LUNs which no more exist. How were these disks attached to your system? - Original Message - From: Philippe Naudin philippe.nau...@supagro.inra.fr To: CentOS mailing list centos@centos.org Cc: Sent: Friday, October 28, 2011 9:26 AM Subject: Re: [CentOS] read failed after messages of non existing harddisks Le ven 28 oct 2011 14:08:50 CEST, Götz Reinicke a écrit: Hi, some time ago I removed some physical disks from a server and now I'm still getting dmesg messages like: sd 0:2:2:0: SCSI error: return code = 0x00040001 end_request: I/O error, dev sdc, sector 0 And all lvm tools still grumbel about that disks too: /dev/sdb: read failed after 0 of 4096 at 0: Eingabe-/Ausgabefehler /dev/sdb: read failed after 0 of 4096 at 1746969493504: Eingabe-/Ausgabefehler How may I tell the lvm and the system, that it is ok that this disk do not exist any more? If a software RAID has been removed, don't forget : mdadm --misc --zero-superblock /dev/sdX where sdX is every disk that was part of the RAID. -- Götz Reinicke IT-Koordinator Tel. +49 7141 969 420 Fax +49 7141 969 55 420 E-Mail goetz.reini...@filmakademie.de Filmakademie Baden-Württemberg GmbH Akademiehof 10 71638 Ludwigsburg www.filmakademie.de Eintragung Amtsgericht Stuttgart HRB 205016 Vorsitzender des Aufsichtsrats: Jürgen Walter MdL Staatssekretär im Ministerium für Wissenschaft, Forschung und Kunst Baden-Württemberg Geschäftsführer: Prof. Thomas Schadt ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] c6-cr kernel update -- joystick enabled?
Does the new kernel in the Centos 6 cr repository have the joystick enabled again, or is the rpm from elrepo still required to use one? -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS Download Mirrors
Guys, Is there a difference between CentOS 6.0 and centos 6 on the mirror list? Each mirror seems to have a folder for 6.0 and 6 separately. http://mirrors.lga7.us.voxel.net/centos/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS Download Mirrors
On 10/31/11 12:46 PM, Jonathan Vomacka wrote: Is there a difference between CentOS 6.0 and centos 6 on the mirror list? Each mirror seems to have a folder for 6.0 and 6 separately. same difference for now. $ ls -l 6 6.0 6: total 8 lrwxrwxrwx 1 root root 18 Jul 10 16:59 centosplus - ../6.0/centosplus/ lrwxrwxrwx 1 root root 15 Jul 10 16:59 contrib - ../6.0/contrib/ lrwxrwxrwx 1 piercej staff 10 Sep 22 20:37 cr - ../6.0/cr/ lrwxrwxrwx 1 root root 14 Jul 10 16:59 extras - ../6.0/extras/ lrwxrwxrwx 1 root root 17 Jul 10 16:59 fasttrack - ../6.0/fasttrack/ lrwxrwxrwx 1 root root 12 Jul 10 16:59 isos - ../6.0/isos/ lrwxrwxrwx 1 root root 9 Jul 10 16:59 os - ../6.0/os lrwxrwxrwx 1 root root 15 Jul 10 16:59 updates - ../6.0/updates/ 6.0: total 24 drwxr-xr-x 4 piercej staff 4 Jul 7 19:59 centosplus drwxr-xr-x 4 piercej staff 4 Jul 10 06:30 contrib drwxr-xr-x 4 piercej staff 4 Sep 4 17:38 cr drwxr-xr-x 4 piercej staff 4 Jul 10 06:28 extras drwxr-xr-x 4 piercej staff 4 Jul 10 06:39 fasttrack drwxr-xr-x 5 piercej staff 5 Sep 14 08:50 isos drwxr-xr-x 4 piercej staff 4 Jul 3 18:50 os drwxr-xr-x 4 piercej staff 4 Jul 5 19:35 updates once 6.1 is released, the 6 folders will symlink to 6.1 instead. -- john r pierceN 37, W 122 santa cruz ca mid-left coast ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What happened to 6.1
On Sun, Oct 30, 2011 at 7:36 AM, William Warren I think many of us would like to see releases in a timely manner. Centos is now months behind in nearly every version with the onset of cent6. I've started moving boxes to ubuntu due to this increasing delay. The security of many machines is now at stake with these continued delays. But isn't that the purpose of the CR-repo, to insure that CentOS 6.0 users get the latest security updates in a timely manner? -- RonB -- Using CentOS 5.6 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] What happened to 6.1
On Oct 31, 2011, at 1:50 PM, Ron Blizzard wrote: On Sun, Oct 30, 2011 at 7:36 AM, William Warren I think many of us would like to see releases in a timely manner. Centos is now months behind in nearly every version with the onset of cent6. I've started moving boxes to ubuntu due to this increasing delay. The security of many machines is now at stake with these continued delays. But isn't that the purpose of the CR-repo, to insure that CentOS 6.0 users get the latest security updates in a timely manner? No - I think the purpose was to provide updates that fall between releases but given that the 6.1 release hasn't happened, it has assumed the role you suggest, at least at some level. I too moved on to Ubuntu some 6 or so months ago because I could see that CentOS 6 was going to be a problem. While I can appreciate that the CentOS are doing what they can do given the parameters they have to work from, I can only see Red Hat killing off their base in order to protect their base. I'm all for a successful CentOS as I see it just helps the Linux Red Hat ecosystem to have them successfully re-spin the upstream product. Craig ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] openldap missing modules
thanks for the tip, does this dynamic configuration come with openldap 2.4? the version they use in the book is 2.3 which is also the version on centos 5.7 so i guess i'm safe there , but now i'm wondering if this isn't too outdated. does it make's sense to start with learning an older version? i'm basically just looking for a way to familiarise myself with all the terms and tools as i'm fairly new to all this ( i only have experience with apple's open-directory). what do you think? wessel On 10/27/2011 05:28 PM, Craig White wrote: Ubuntu has been using 'dynamic' configuration (aka cn=config and /etc/ldap/slapd.d) for quite some time now but you're using CentOS 5.x which includes an old version of OpenLDAP and uses the 'flat file' configuration (/etc/openldap/slapd.conf) There's bound to be issues at each place where it talks about 'configuration'. My suggestion to you is to use some type of virtualization product (VMWare, VirtualBox, etc.) and install Ubuntu 10.04 LTS on a virtual and then you will track with the book. Craig On Oct 27, 2011, at 5:01 AM, Wessel van der Aart wrote: actually i'm reading this book , ' mastering openldap' from packt publishing, on it, the book uses ubuntu as distro in their examples and i just assumed the working of openldap between distro's wouldn't be any different (except for directory paths). however i removed the moduleload line , ran 'slaptest -v -u -f /etc/openldap/slapd.conf' (the 'database hdb' bit was already there) and now it's fine. Thanks, wessel On 10/26/2011 11:11 PM, Alexander Dalloz wrote: Hi, I assume you are following a random tutorial on the net. Don't do that. It simply does not fit. Instead of using a modulepath just (the proper one on CentOS would be /usr/lib/openldap, as pre-defined in slapd.conf; but the backends are not available as modules on CentOS), define you database properly. Where you see databasebdb in the slapd.conf CentOS ships with, just change bdb into hdb. Alexander ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] NSS ldap problems
I'm having trouble setting up ldap based authenication. I have a virtual (KVM) CentOS 5.4 box set up to authenticate to a 389 (fedora) directory server, and that works fine. However, I set up a virtual box running CentOS 6, and I can't get it to authenicate. I've run authconfig with the appropriate flags, ldapsearch properly finds the data, but I can't log in. /var/log/secure shows that it doesn't find the user, and as a test I came up with the following perl snippet: perl -e 'print join( ,getpwnam(testuser)),\n;' And it properly finds the test user on the 5.4 box, but not the 6.0 box. I've checked /etc/ldap.conf and /etc/openldap/ldap.conf and both seem about right. Here are the ldap related packaged installed on the 6.0 box: [root@vburntest02 ~]# rpm -qa | grep ldap openldap-2.4.19-15.el6_0.2.x86_64 pam_ldap-185-5.el6.x86_64 nss-pam-ldapd-0.7.5-3.el6.x86_64 openldap-clients-2.4.19-15.el6_0.2.x86_64 apr-util-ldap-1.3.9-3.el6.x86_64 Any idea what to check next? Thanks, -- Mitch ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] openldap missing modules
For learning purposes, I think the flat file is much easier to master. I thought Apple's Open-Directory was forked from an older version of OpenLDAP (perhaps 2.1.x). I gather that upstream 6.x and thus CentOS 6.x is using OpenLDAP 2.4.x and probably also dynamic configuration but I haven't installed upstream 6.x or any derivative distribution so I don't know for sure. Dynamic configuration was introduced in OpenLDAP 2.3 and it seemed to me that the book is using dynamic configuration but I could be wrong. It either references using 'cn=config' or it doesn't and that's the indicator of whether it is dynamic or not. Craig On Oct 31, 2011, at 2:57 PM, Wessel van der Aart wrote: thanks for the tip, does this dynamic configuration come with openldap 2.4? the version they use in the book is 2.3 which is also the version on centos 5.7 so i guess i'm safe there , but now i'm wondering if this isn't too outdated. does it make's sense to start with learning an older version? i'm basically just looking for a way to familiarise myself with all the terms and tools as i'm fairly new to all this ( i only have experience with apple's open-directory). what do you think? wessel On 10/27/2011 05:28 PM, Craig White wrote: Ubuntu has been using 'dynamic' configuration (aka cn=config and /etc/ldap/slapd.d) for quite some time now but you're using CentOS 5.x which includes an old version of OpenLDAP and uses the 'flat file' configuration (/etc/openldap/slapd.conf) There's bound to be issues at each place where it talks about 'configuration'. My suggestion to you is to use some type of virtualization product (VMWare, VirtualBox, etc.) and install Ubuntu 10.04 LTS on a virtual and then you will track with the book. Craig On Oct 27, 2011, at 5:01 AM, Wessel van der Aart wrote: actually i'm reading this book , ' mastering openldap' from packt publishing, on it, the book uses ubuntu as distro in their examples and i just assumed the working of openldap between distro's wouldn't be any different (except for directory paths). however i removed the moduleload line , ran 'slaptest -v -u -f /etc/openldap/slapd.conf' (the 'database hdb' bit was already there) and now it's fine. Thanks, wessel On 10/26/2011 11:11 PM, Alexander Dalloz wrote: Hi, I assume you are following a random tutorial on the net. Don't do that. It simply does not fit. Instead of using a modulepath just (the proper one on CentOS would be /usr/lib/openldap, as pre-defined in slapd.conf; but the backends are not available as modules on CentOS), define you database properly. Where you see databasebdb in the slapd.conf CentOS ships with, just change bdb into hdb. Alexander ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Craig White ~ craig.wh...@ttiltd.com 1.800.869.6908 ~~ www.ttiassessments.com Need help communicating between generations at work to achieve your desired success? Let us help! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ibm m1015 w/sandy bridge boot failure
On Thu, Oct 27, 2011 at 09:18:56AM -0500, Matt Garman wrote: I have a server running CentOS 6.0. Last night I replaced the CPU and motherboard. Old hardware: Supermicro x8sil-f + x3440. New hardware: Supermicro x9scl+-f + E3-1230. This is a new Sandy Bridge Xeon. Everything else remained the same, including an IBM m1015 SAS HBA. This is just an IBM re-branded LSI 92xx-8i (9220-8i specifically I believe), which uses the LSI SAS2008 chipset and the megaraid_sas driver. It worked without any issue on the old motherboard/cpu. However, with the new motherboard/cpu, the system makes it through the BIOS POST without any issue. But about half-way through the kernel initialization, it basically locks up. It will sit there for several minutes, doing nothing, then start printing out error messages (I was unable to get a screenshot or take note of the errors). But if I take the m1015 card out, the system boots quickly and without issue, as it always has. I saw this post[1] on the forums, which suggested that Sandy Bridge really needs 6.1, which, for those of us using CentOS, we can only get sorta close to by using the continuous release. So I did a yum install centos-release-cr ; yum update. I let everything install (there were no install errors or problems), and rebooted with the m1015 in back in the system, but the problem remains. So now I'm at a loss. Anyone have any thoughts? [1] http://www.centos.org/modules/newbb/viewtopic.php?topic_id=33878forum=56 SuperMicro actually has a FAQ[1] on a very similar issue: same motherboard, but an LSI 9240 RAID card (very similar to the IBM M1015, same actual chipset I believe), and CentOS 5.5. But the described problem is the same as mine. Simple fix: upgrade BIOS to v1.1a or later. Works for me! [1] http://www.supermicro.com/support/faqs/faq.cfm?faq=12830 Hope this helps anyone with the same problem. -Matt ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NSS ldap problems
On Oct 31, 2011, at 3:10 PM, Mitch Patenaude wrote: I'm having trouble setting up ldap based authenication. I have a virtual (KVM) CentOS 5.4 box set up to authenticate to a 389 (fedora) directory server, and that works fine. However, I set up a virtual box running CentOS 6, and I can't get it to authenicate. I've run authconfig with the appropriate flags, ldapsearch properly finds the data, but I can't log in. /var/log/secure shows that it doesn't find the user, and as a test I came up with the following perl snippet: perl -e 'print join( ,getpwnam(testuser)),\n;' And it properly finds the test user on the 5.4 box, but not the 6.0 box. I've checked /etc/ldap.conf and /etc/openldap/ldap.conf and both seem about right. Here are the ldap related packaged installed on the 6.0 box: [root@vburntest02 ~]# rpm -qa | grep ldap openldap-2.4.19-15.el6_0.2.x86_64 pam_ldap-185-5.el6.x86_64 nss-pam-ldapd-0.7.5-3.el6.x86_64 openldap-clients-2.4.19-15.el6_0.2.x86_64 apr-util-ldap-1.3.9-3.el6.x86_64 Any idea what to check next? I'm not a perl person so I just check from shell with: getent passwd getent group to make sure that the LDAP Users/Groups are indeed listed... authentication clearly won't work until they do. The same /etc/ldap.conf from CentOS 5.x should work with CentOS 6.x You might want to show us the contents of these files... /etc/nsswitch.conf /etc/pam.d/system-auth I also have a 'one-liner' that I use for setting up ldap authentication in a pinch (be sure to substitute for $YOUR_LDAP_SERVER and $YOUR_LDAP_BASE, don't enable ldap tls if you don't have that function working and I'm not so certain about --enablemkhomedir on CentOS 5.x - haven't tried)... authconfig --enableshadow --enableldap --enableldapauth \ --ldapserver=$YOUR_LDAP_SERVER --ldapbasedn=”$YOUR_LDAP_BASE” \ --enableldaptls --enablelocauthorize --enablemkhomedir \ --nostart --updateall YMMV Craig ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NSS ldap problems
On 10/31/2011 4:46 PM, Craig White wrote: Here are the ldap related packaged installed on the 6.0 box: [root@vburntest02 ~]# rpm -qa | grep ldap openldap-2.4.19-15.el6_0.2.x86_64 pam_ldap-185-5.el6.x86_64 nss-pam-ldapd-0.7.5-3.el6.x86_64 openldap-clients-2.4.19-15.el6_0.2.x86_64 apr-util-ldap-1.3.9-3.el6.x86_64 Any idea what to check next? I'm not a perl person so I just check from shell with: getent passwd getent group to make sure that the LDAP Users/Groups are indeed listed... authentication clearly won't work until they do. The same /etc/ldap.conf from CentOS 5.x should work with CentOS 6.x On CentOS 6 getent passwd does not return a list of users, presumably because the list can be quite large. Try $ getent passwd username If your system is set up correctly you will see the entry. Jack ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NSS ldap problems
One difference I ran into with samba authentication is in cent 5 /etc/pam.d/system-auth-ac is the file to change but in cent 6 its /etc/pam.d/password-auth-ac. I found that changes I made only to system-auth-ac in 5 had to be made to both system-auth-ac and password-auth-ac in 6. This was to have authentication work for things like ssh and sudo in centos 6. - Trey On Oct 31, 2011 8:16 PM, Jack Bailey j...@internetguy.net wrote: On 10/31/2011 4:46 PM, Craig White wrote: Here are the ldap related packaged installed on the 6.0 box: [root@vburntest02 ~]# rpm -qa | grep ldap openldap-2.4.19-15.el6_0.2.x86_64 pam_ldap-185-5.el6.x86_64 nss-pam-ldapd-0.7.5-3.el6.x86_64 openldap-clients-2.4.19-15.el6_0.2.x86_64 apr-util-ldap-1.3.9-3.el6.x86_64 Any idea what to check next? I'm not a perl person so I just check from shell with: getent passwd getent group to make sure that the LDAP Users/Groups are indeed listed... authentication clearly won't work until they do. The same /etc/ldap.conf from CentOS 5.x should work with CentOS 6.x On CentOS 6 getent passwd does not return a list of users, presumably because the list can be quite large. Try $ getent passwd username If your system is set up correctly you will see the entry. Jack ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] redhat vs centos
I have been reading the threads on here with great ernest about redhat making a move to throw off centos compilations. I read some stories about microsoft wanting to work closer with centos http://www.theregister.co.uk/2011/05/17/microsoft_and_centos/ I have to update to centos 6 due to some needs of clients who need newer mysql and php (and installing them on centos5 was too hard for me). I am thinking of going ubuntu server but at the same time I have this feeling centos team will pull through, make a new method to streamline this, and redhat will back down and stop being REDa$$-hats. Redhat thinks us 'freebie' people will move to them to get the quicker updates and releases. I look at the pricing and I say they must be out of their minds. The server comes at 1,999 a year for 2 sockets and more than 4 guests...which is what I would need. The virtualization package, which may or may not be needed is thousands more. All for one server. that ain't gonna happen. Personally I am thinking of staying away from all red hat clones due to redhat's actions for my own security. The only thing on the horizon I see is ubuntu server as best supported and up to date. I am teetering tonight. I have downloaded it and am thinking of wiping my new centos6 install and trying it out. How do you all feel about this turn of events and what is your gut feeling on where this is going? And how about them hard drive prices?!! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] redhat vs centos
2011/11/1 Bob Hoffman b...@bobhoffman.com: I have been reading the threads on here with great ernest about redhat making a move to throw off centos compilations. I read some stories about microsoft wanting to work closer with centos http://www.theregister.co.uk/2011/05/17/microsoft_and_centos/ I have to update to centos 6 due to some needs of clients who need newer mysql and php (and installing them on centos5 was too hard for me). You can get updated php and mysql from ius community repo. http://iuscommunity.org/ br, -- Eero, RHCE ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos