[CentOS-virt] overlay image on centos 6 do not work

2011-10-04 Thread Kai Krueger
Hello,

   I have some problems with overlay images on a host running centos 6.0

* I have 2 physical hosts, one running centos 5.5, the other running
centos 6.0
* I created a virtual linux host with a raw file image centos6.img
   I can start this vm on both machines.
* then I created an overlay of the file image with
qemu-img create -b centos6.img -f qcow2 centos6.ovl

when I start the VM from the ovelay on the centos6 machine I get:
---
Booting from Hard Disk...
Boot failed: not a bootable disk

No bootable device
---

When booting from the raw-image and adding the overlay as second disk  
I see the following:
== cut here ==
fdisk -l

Disk /dev/vda: 8598 MB, 8598323200 bytes
255 heads, 63 sectors/track, 1045 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000bb12f

Device Boot  Start End  Blocks   Id  System
/dev/vda1   *   11046 8395776   83  Linux

Disk /dev/vdb: 0 MB, 262144 bytes
16 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

Disk /dev/vdb doesn't contain a valid partition table
== cut here ==

As one can see, the overlay image does not have any partition table.

Starting the vm with exactly these images (per nfs-mount) on the  
centos-5.5 host works properly.

Is my problem an known bug or is it an old feature that has been removed?

Best regards,

   Kai Krueger



This message was sent using IMP, the Internet Messaging Program.

___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] kvm-qemu: unable to execute QEMU command savevm (monitor missing?)

2011-10-04 Thread Jason Brian Friedrich
Hey Trey,

just a quick update. If you add the CR repo for CentOS 6.0 you will
get an updated RPM which solves the problem for me.

 - Jason

On Tue, Oct 4, 2011 at 01:43, Trey Dockendorf treyd...@gmail.com wrote:


 On Tue, Sep 27, 2011 at 6:48 AM, Jason Brian Friedrich
 m...@friedrich.org.uk wrote:

 System: CentOS Linux release 6.0 (final)
 Kernel: 2.6.32-71.23.1.el6.x86_64
 KVM: QEMU PC emulator version 0.12.1 (qemu-kvm-0.12.1.2)
 Libvirt: ibvirtd (libvirt) 0.8.1


 Hi everyone,

 I only recently subscribed to this list and hope you can shed some
 light on the following error. I created a VM on my Centos 6 KVM
 machine, used a qcow2 image and wanted to create a snapshot via 'virsh
 snapshot-create' command:

 //
 [root@kvmhost ~]# virsh snapshot-create server01
 error: internal error unable to execute QEMU command 'savevm': The
 command savevm has not been found
 \\

 I googled before the post, found some [0] threads [1], but could not
 find an answer how to solve the problem. If the kvm-qemu lacks the
 support of a savevm monitor, how can I add one? Do I need to recompile
 kvm-qemu with special flags or is simply a RPM package or a module
 missing?

 Thanks in advance,

  - Jason


 [0] http://lists.centos.org/pipermail/centos-virt/2011-July/002557.html
 [1]
 https://www.redhat.com/archives/libvirt-users/2011-August/msg00011.html
 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt

 I ran into this too.  Unfortunately I haven't found a solution either, but
 here's an interesting bug report that shows this effects all the way up to
 Fedora 15,  https://bugzilla.redhat.com/show_bug.cgi?id=727709.  The one fix
 mentioned 89241fe0, I've actually patched into the CentOS libvirt RPM, but
 from testing it doesn't seem to be enough. I now can run the snapshot-create
 command without error, but nothing appears to happen. I've tested creating
 files, taking a snapshot, deleting files and reverting and nothing comes
 back or changes. Also the qcow2 images don't change at all during this time
 either. I'm working on applying the other commits mentioned in Comment #4,
 but am running into problems since most of those commits are 0.9.0+ and I'm
 patching CentOS's 0.8.1.
 I'd love to know if anyone actually has snapshots working in CentOS 5 or 6.
 This is kind of a critical feature to the entire virtualization process.
 - Trey

 ___
 CentOS-virt mailing list
 CentOS-virt@centos.org
 http://lists.centos.org/mailman/listinfo/centos-virt


___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-es] centos cpu

2011-10-04 Thread Eduardo Grosclaude
2011/10/3 César C. arvega...@hotmail.com:

 buenas tardes,

 tengo un centos 5.6 en un servidor ML350 g3  que soporta 4 procesadores xeon 
 de 2 nucleos cada uno, ahora mismo tiene puesto solo un procesador pero
 cada ves que hago un  cat /proc/cpuinfo | grep processor | wc -l me muestra 4 
 procesadores!, ¿que puede estar pasando? ¿se pueden modificar estos valores?

$ cat /proc/cpuinfo | grep processor
processor   : 0
model name  : Intel(R) Pentium(R) M processor 1.73GHz

Quizás tienes hyperthreading (dos pseudocores) y estás contando doble


-- 
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-es] centos cpu

2011-10-04 Thread César C .

 
me muestra lo siguiente:
 
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 15
model   : 2
model name  : Intel(R) Xeon(TM) CPU 2.20GHz
stepping: 7
cpu MHz : 2193.185
cache size  : 512 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 1
apicid  : 0
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat 
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips: 4386.37
 
processor   : 1
vendor_id   : GenuineIntel
cpu family  : 15
model   : 2
model name  : Intel(R) Xeon(TM) CPU 2.20GHz
stepping: 7
cpu MHz : 2193.185
cache size  : 512 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 1
apicid  : 1
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat 
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips: 4385.13

processor   : 2
vendor_id   : GenuineIntel
cpu family  : 15
model   : 2
model name  : Intel(R) Xeon(TM) CPU 2.20GHz
stepping: 7
cpu MHz : 2193.185
cache size  : 512 KB
physical id : 3
siblings: 2
core id : 0
cpu cores   : 1
apicid  : 6
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat 
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips: 4385.20
 
processor   : 3
vendor_id   : GenuineIntel
cpu family  : 15
model   : 2
model name  : Intel(R) Xeon(TM) CPU 2.20GHz
stepping: 7
cpu MHz : 2193.185
cache size  : 512 KB
physical id : 3
siblings: 2
core id : 0
cpu cores   : 1
apicid  : 7
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat 
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
 
 
Como les mencionaba es cierto que la placa soporta 2 procesadores xeon pero 
ahora solo tiene un procesador el otro zocalo de la placa esta vacio, por lo 
que se supone deberia contar 2 cpus pero cuenta 4.
La hemos desarmado y verificado y solo tiene un procesador fisico con 2 nucleos.
¿ que podra ser ?

gracias 
 

 From: eduardo.groscla...@gmail.com
 Date: Tue, 4 Oct 2011 08:41:08 -0300
 To: centos-es@centos.org
 Subject: Re: [CentOS-es] centos cpu
 
 2011/10/3 César C. arvega...@hotmail.com:
 
  buenas tardes,
 
  tengo un centos 5.6 en un servidor ML350 g3  que soporta 4 procesadores 
  xeon de 2 nucleos cada uno, ahora mismo tiene puesto solo un procesador pero
  cada ves que hago un  cat /proc/cpuinfo | grep processor | wc -l me muestra 
  4 procesadores!, ¿que puede estar pasando? ¿se pueden modificar estos 
  valores?
 
 $ cat /proc/cpuinfo | grep processor
 processor : 0
 model name : Intel(R) Pentium(R) M processor 1.73GHz
 
 Quizás tienes hyperthreading (dos pseudocores) y estás contando doble
 
 
 -- 
 Eduardo Grosclaude
 Universidad Nacional del Comahue
 Neuquen, Argentina
 ___
 CentOS-es mailing list
 CentOS-es@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es
  
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] centos cpu

2011-10-04 Thread Christian Araquistain
Pero cuenta el hyper threading por eso muestra 4 CPUs

Saludos ...

*Christian G. Araquistain*





On Tue, Oct 4, 2011 at 11:29 AM, César C. arvega...@hotmail.com wrote:



 me muestra lo siguiente:

 processor   : 0
 vendor_id   : GenuineIntel
 cpu family  : 15
 model   : 2
 model name  : Intel(R) Xeon(TM) CPU 2.20GHz
 stepping: 7
 cpu MHz : 2193.185
 cache size  : 512 KB
 physical id : 0
 siblings: 2
 core id : 0
 cpu cores   : 1
 apicid  : 0
 fdiv_bug: no
 hlt_bug : no
 f00f_bug: no
 coma_bug: no
 fpu : yes
 fpu_exception   : yes
 cpuid level : 2
 wp  : yes
 flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
 pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
 bogomips: 4386.37

 processor   : 1
 vendor_id   : GenuineIntel
 cpu family  : 15
 model   : 2
 model name  : Intel(R) Xeon(TM) CPU 2.20GHz
 stepping: 7
 cpu MHz : 2193.185
 cache size  : 512 KB
 physical id : 0
 siblings: 2
 core id : 0
 cpu cores   : 1
 apicid  : 1
 fdiv_bug: no
 hlt_bug : no
 f00f_bug: no
 coma_bug: no
 fpu : yes
 fpu_exception   : yes
 cpuid level : 2
 wp  : yes
 flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
 pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
 bogomips: 4385.13

 processor   : 2
 vendor_id   : GenuineIntel
 cpu family  : 15
 model   : 2
 model name  : Intel(R) Xeon(TM) CPU 2.20GHz
 stepping: 7
 cpu MHz : 2193.185
 cache size  : 512 KB
 physical id : 3
 siblings: 2
 core id : 0
 cpu cores   : 1
 apicid  : 6
 fdiv_bug: no
 hlt_bug : no
 f00f_bug: no
 coma_bug: no
 fpu : yes
 fpu_exception   : yes
 cpuid level : 2
 wp  : yes
 flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
 pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
 bogomips: 4385.20

 processor   : 3
 vendor_id   : GenuineIntel
 cpu family  : 15
 model   : 2
 model name  : Intel(R) Xeon(TM) CPU 2.20GHz
 stepping: 7
 cpu MHz : 2193.185
 cache size  : 512 KB
 physical id : 3
 siblings: 2
 core id : 0
 cpu cores   : 1
 apicid  : 7
 fdiv_bug: no
 hlt_bug : no
 f00f_bug: no
 coma_bug: no
 fpu : yes
 fpu_exception   : yes
 cpuid level : 2
 wp  : yes
 flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
 pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr


 Como les mencionaba es cierto que la placa soporta 2 procesadores xeon pero
 ahora solo tiene un procesador el otro zocalo de la placa esta vacio, por lo
 que se supone deberia contar 2 cpus pero cuenta 4.
 La hemos desarmado y verificado y solo tiene un procesador fisico con 2
 nucleos.
 ¿ que podra ser ?

 gracias


  From: eduardo.groscla...@gmail.com
  Date: Tue, 4 Oct 2011 08:41:08 -0300
  To: centos-es@centos.org
  Subject: Re: [CentOS-es] centos cpu
 
  2011/10/3 César C. arvega...@hotmail.com:
  
   buenas tardes,
  
   tengo un centos 5.6 en un servidor ML350 g3  que soporta 4 procesadores
 xeon de 2 nucleos cada uno, ahora mismo tiene puesto solo un procesador pero
   cada ves que hago un  cat /proc/cpuinfo | grep processor | wc -l me
 muestra 4 procesadores!, ¿que puede estar pasando? ¿se pueden modificar
 estos valores?
 
  $ cat /proc/cpuinfo | grep processor
  processor : 0
  model name : Intel(R) Pentium(R) M processor 1.73GHz
 
  Quizás tienes hyperthreading (dos pseudocores) y estás contando doble
 
 
  --
  Eduardo Grosclaude
  Universidad Nacional del Comahue
  Neuquen, Argentina
  ___
  CentOS-es mailing list
  CentOS-es@centos.org
  http://lists.centos.org/mailman/listinfo/centos-es

 ___
 CentOS-es mailing list
 CentOS-es@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es

___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] centos cpu

2011-10-04 Thread Javier Aquino H.
Si tu procesador es de doble núcleo te va a mostrar 2 CPUs y si tu placa
soporta HT entonces la cantidad de CPUs se duplica, es por eso que ves 4, en
mi caso yo tengo un procesador de 4 nucleos y veo 8 procesadores.

Slds,

Javier.


-Mensaje original-
De: centos-es-boun...@centos.org [mailto:centos-es-boun...@centos.org] En
nombre de César C.
Enviado el: martes, 04 de octubre de 2011 09:30 a.m.
Para: centos
Asunto: Re: [CentOS-es] centos cpu


 
me muestra lo siguiente:
 
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 15
model   : 2
model name  : Intel(R) Xeon(TM) CPU 2.20GHz
stepping: 7
cpu MHz : 2193.185
cache size  : 512 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 1
apicid  : 0
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips: 4386.37
 
processor   : 1
vendor_id   : GenuineIntel
cpu family  : 15
model   : 2
model name  : Intel(R) Xeon(TM) CPU 2.20GHz
stepping: 7
cpu MHz : 2193.185
cache size  : 512 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 1
apicid  : 1
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips: 4385.13

processor   : 2
vendor_id   : GenuineIntel
cpu family  : 15
model   : 2
model name  : Intel(R) Xeon(TM) CPU 2.20GHz
stepping: 7
cpu MHz : 2193.185
cache size  : 512 KB
physical id : 3
siblings: 2
core id : 0
cpu cores   : 1
apicid  : 6
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips: 4385.20
 
processor   : 3
vendor_id   : GenuineIntel
cpu family  : 15
model   : 2
model name  : Intel(R) Xeon(TM) CPU 2.20GHz
stepping: 7
cpu MHz : 2193.185
cache size  : 512 KB
physical id : 3
siblings: 2
core id : 0
cpu cores   : 1
apicid  : 7
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
 
 
Como les mencionaba es cierto que la placa soporta 2 procesadores xeon pero
ahora solo tiene un procesador el otro zocalo de la placa esta vacio, por lo
que se supone deberia contar 2 cpus pero cuenta 4.
La hemos desarmado y verificado y solo tiene un procesador fisico con 2
nucleos.
¿ que podra ser ?

gracias 
 

 From: eduardo.groscla...@gmail.com
 Date: Tue, 4 Oct 2011 08:41:08 -0300
 To: centos-es@centos.org
 Subject: Re: [CentOS-es] centos cpu
 
 2011/10/3 César C. arvega...@hotmail.com:
 
  buenas tardes,
 
  tengo un centos 5.6 en un servidor ML350 g3  que soporta 4 
  procesadores xeon de 2 nucleos cada uno, ahora mismo tiene puesto solo
un procesador pero cada ves que hago un  cat /proc/cpuinfo | grep processor
| wc -l me muestra 4 procesadores!, ¿que puede estar pasando? ¿se pueden
modificar estos valores?
 
 $ cat /proc/cpuinfo | grep processor
 processor : 0
 model name : Intel(R) Pentium(R) M processor 1.73GHz
 
 Quizás tienes hyperthreading (dos pseudocores) y estás contando doble
 
 
 --
 Eduardo Grosclaude
 Universidad Nacional del Comahue
 Neuquen, Argentina
 ___
 CentOS-es mailing list
 CentOS-es@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es
  
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es
-
Se certificó que el correo no contiene virus.
Comprobada por AVG - www.avg.es
Versión: 2012.0.1809 / Base de datos de virus: 2085/4536 - Fecha de la
versión: 03/10/2011

___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] Raid5 con LVM en Citrix XenServer

2011-10-04 Thread Carlos Ernesto Pruna


Hola amigos estoy teniendo un problema en lo siguiente, tengo un server
que el board tiene implementado raid por hardware pero de ninguna manera
logro que los sistemas que monto detecten el arreglo creado, he probado
con ubuntu, debian, proxmox, citrix,. en fin en realidad lo que
necesito es montar una plataforma de virtualización por lo tanto me
fui para Citrix XenServer 6 recién salidase que xenserver esta
montado sobre centos..el disco del board tiene unos drivers para el
raid pero son muy antiguos no aguantan estos nuevos nucleos...ahora como
no tengo otra alternativa decidí irme por la vía del raid por software
que nadie me lo aconseja pero la cuestión es que necesito tener un raid
montado ahí:

en centos el arreglo se hace con mdadm

ahora esto es lo que tengo:
monte el sistema en un sata2 de 80Gb el sistema es Citrix XenServer v6
y tengo 3 HDD sata2 de 1.5 tera cada uno
la documentación sobre esto no esta muy completa o no se si es que se me
limita por el citrix pero siempre que inicio el proceso me falla en
algun punto o ahi algun comando que no existe o algo por el estilo he
pensado en la variante de montar el proxmox que es basado en debian y he
visto que la doc y las herramientas para montar el raid son un poco +
asequibles...

realmente me gusta + xenserver..

necesito que alguien me de alguna idea algún link o doc que tengan sobre
este asunto:

llevo días batallando con esto:

Salu2 y muchas gracias de antemano!!!

-- 
--
Carlos Ernesto Pruna
carlosepc@gmail.com
==
LinuxUser Registered: #413305 http://counter.li.org
UbuntuUser Registered: #17735 http://ubuntucounter.geekosophical.net
Personal Blog: http://carlosepc.esnoei.com
Blog: http://mycmdline.esnoei.com
Website: http://www.esnoei.com
Twitter: http://twitter.com/kandalfghost
Cell Phone: 1-(786)552-2375 Fax: 1-(305)999-1366


___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS] Choosing a CentOS version

2011-10-04 Thread Emmanuel Noobadmin
On 10/4/11, m.r...@5-cent.us m.r...@5-cent.us wrote:
 Note that the above is true of every single o/s: for example, I think
 Windows XP is approaching EoL, while Internet Exploder 6 is *past* that
 (and there was much rejoicing).

IIRC WinXP is already EoL'd for general end users but still a couple
of years for those on extended commercial support.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Choosing a CentOS version

2011-10-04 Thread Christopher Chan
On Tuesday, October 04, 2011 02:17 PM, Emmanuel Noobadmin wrote:
 On 10/4/11, m.r...@5-cent.usm.r...@5-cent.us  wrote:
 Note that the above is true of every single o/s: for example, I think
 Windows XP is approaching EoL, while Internet Exploder 6 is *past* that
 (and there was much rejoicing).

 IIRC WinXP is already EoL'd for general end users but still a couple
 of years for those on extended commercial support.

up to 2014 and only SP3. Sp2 and older are EOL.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problems with Intel Ethernet and module e1000e

2011-10-04 Thread Volker Poplawski
On 26.09.2011 14:40, John Doe wrote:
 From: Volker Poplawskivol...@openbios.org

 I'm facing a serious problem with the e100e kernel module for Intel
 82574L gigabit nics on Centos 6.

 I had pbms with my Intel 1000e too.
 Installed elrepo's kmod-e1000e and so far so good...

 http://elrepo.org/tiki/kmod-e1000e

Follow up:

Also installed elrepo's e1000e from above url.

No problems so far.


Regards
.Volker
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] guest vms crash host systems

2011-10-04 Thread Brian Mathis
On Mon, Oct 3, 2011 at 10:16 PM, Negative negativebinom...@gmail.com wrote:
 I built guest vm's one for Windows 7 and one for Windows XP using the
 virtual machine manager on a  just updated to centos 5.7, and they are both
 crashing the host machine. They run only  for a few minutes, but suddenly
 freeze, crashing the host.  There is no networking. No X. No way to drop out
 of X. The only way out is a hard reboot. I don't see anything in the logs --
 messages or libvirt logs -- immediately before the crash.

 I haven't found anything like this on the web or on this list. The
 workstation has two xeon E5410s. I noticed that both the kvm-amd and
 kvm-intel modules are loaded, but don't know if that would cause a problem.
 I had an ati firepro graphics card in the machine, but suspected that might
 be the source of some conflict, and I put in an Nvidia card.

 The vm's were built with all the defaults. The configuration is just about
 identical to vms I have running on a smaller machine with a dual core
 Athalon.

 Thanks for any suggestions.


Is this new hardware?  Have you run any hardware burn testing (CPU,
RAM, etc...) and/or memtest86+ on the RAM?  This sounds like a
hardware issue to me.


-☙ Brian Mathis ❧-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 6: hostname and timezone

2011-10-04 Thread Alexander Farber
Hello,

I've purchased a new dedicated CentOS 6.0 / 64 bit server
and have 2 minor problems please:

1) The hostname is reported as CentOS-60-64-minimal at CLI -
 eventhough I've edited /etc/hosts and changed the 2nd line:

127.0.0.1 localhost
176.9.123.123  preferans

2) Why is /etc/localtime a regular file? Should I maybe

rm /etc/localtime
ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime

   Why isn't it done by the CentOS 6.0 install?

Thank you
Alex
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6: hostname and timezone

2011-10-04 Thread John Kennedy
On Tue, Oct 4, 2011 at 15:22, John Kennedy skeb...@gmail.com wrote:

 For changing the hostname without restart use the hostname command:
 hostname newhost.domain.com

 To keep the new hostname between restarts edit /etc/sysconfig/network, and
 change the hostname there.

 Also its a good idea to check /etc/hosts, it can contain the old hostname,
 change/delete it.
  John Kennedy




 On Tue, Oct 4, 2011 at 15:18, Alexander Farber alexander.far...@gmail.com
  wrote:

 Hello,

 I've purchased a new dedicated CentOS 6.0 / 64 bit server
 and have 2 minor problems please:

 1) The hostname is reported as CentOS-60-64-minimal at CLI -
 eventhough I've edited /etc/hosts and changed the 2nd line:

 127.0.0.1 localhost
 176.9.123.123  preferans


Sorry for the top post...Hit send before I looked and changed it...Damn web
interface...
John
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6: hostname and timezone

2011-10-04 Thread John Kennedy
For changing the hostname without restart use the hostname command:
hostname newhost.domain.com

To keep the new hostname between restarts edit /etc/sysconfig/network, and
change the hostname there.

Also its a good idea to check /etc/hosts, it can contain the old hostname,
change/delete it.
 John Kennedy



On Tue, Oct 4, 2011 at 15:18, Alexander Farber
alexander.far...@gmail.comwrote:

 Hello,

 I've purchased a new dedicated CentOS 6.0 / 64 bit server
 and have 2 minor problems please:

 1) The hostname is reported as CentOS-60-64-minimal at CLI -
 eventhough I've edited /etc/hosts and changed the 2nd line:

 127.0.0.1 localhost
 176.9.123.123  preferans

 2) Why is /etc/localtime a regular file? Should I maybe

 rm /etc/localtime
 ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime

   Why isn't it done by the CentOS 6.0 install?

 Thank you
 Alex
 ___
 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] CentOS 6: hostname and timezone

2011-10-04 Thread Alexander Farber
Thank you all,

On Tue, Oct 4, 2011 at 4:26 PM, lists-centos
replies-lists-b3z2-cen...@listmail.innovate.net wrote:
  2 - you can do the symbolic link, but i believe that RH moved
     away from that approach for some reason. the appropriate
     TZ file is copied to /etc/localtime when the TZ is selected
     on install or changed.

is there maybe a command for setting TZ in a CentOS way?

I've looked for redhat-* centos-* system-* in /sbin and /usr/sbin

Regards
Alex
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6: hostname and timezone

2011-10-04 Thread Alexander Farber
And also, which /etc/localtime do I have now?

Is there a way to find out besides running diff?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6: hostname and timezone

2011-10-04 Thread Alexander Farber
Actually I already seem to have the correct timezone file,
but why is the time wrong?


afarber@CentOS-60-64-minimal:~ sudo diff
/usr/share/zoneinfo/Europe/Berlin /etc/localtime

afarber@CentOS-60-64-minimal:~ date
Wed Oct  5 00:35:39 CEST 2011

Should I:

   chkconfig ntp on
   service ntp start

Or is the reasone elsewhere?

Sorry for the basic questions, I'm new to CentOS 6

Regards
Alex
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] guest vms crash host systems

2011-10-04 Thread m . roth
Brian Mathis wrote:
 On Mon, Oct 3, 2011 at 10:16 PM, Negative negativebinom...@gmail.com
 wrote:
 I built guest vm's one for Windows 7 and one for Windows XP using the
 virtual machine manager on a  just updated to centos 5.7, and they are
 both crashing the host machine. They run only  for a few minutes, but
 suddenly freeze, crashing the host.  There is no networking. No X. No
 way to drop out of X. The only way out is a hard reboot. I don't see
 anything in the logs -- messages or libvirt logs -- immediately before
 the crash.
snip
 Is this new hardware?  Have you run any hardware burn testing (CPU,
 RAM, etc...) and/or memtest86+ on the RAM?  This sounds like a
 hardware issue to me.

I agree with Brian - it may be coincidental that you built the VMs, and
then it started crashing.

One other question: is selinux enabled?

mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6: hostname and timezone

2011-10-04 Thread lhecking
Alexander Farber writes:
 Actually I already seem to have the correct timezone file,
 but why is the time wrong?
 
 
 afarber@CentOS-60-64-minimal:~ sudo diff
 /usr/share/zoneinfo/Europe/Berlin /etc/localtime
 
 afarber@CentOS-60-64-minimal:~ date
 Wed Oct  5 00:35:39 CEST 2011
 
 Should I:
 
chkconfig ntp on
service ntp start
 
 Or is the reasone elsewhere?
 
 Sorry for the basic questions, I'm new to CentOS 6
 
 ntp will change the time in small increments only. If there's a big gap,
 and if you can live with a big jump, set the time manually and then enable
 ntp.

 Also check out system-config-date-1.9.60-1.el6.noarch.rpm.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 6: Increase shared memory limits permanently

2011-10-04 Thread Alexander Farber
Hello again,

on CentOS 6 / 64 bit what is please the best way
to permanently increase the shared memory?

I'd like to give shared_buffers = 4096MB
to PostgreSQL 8.4 on my machine with
16 GB RAM, but I currently only have:

   # sysctl -A|grep shm
   kernel.shmmax = 33554432
   kernel.shmall = 2097152
   kernel.shmmni = 4096

and this produces the error in
 /var/lib/pgsql/pgstartup.log:

FATAL:  could not create shared memory segment: Invalid argument
DETAIL:  Failed system call was shmget(key=5432001, size=4399202304, 03600).
HINT:  This error usually means that PostgreSQL's request for a shared
memory segment exceeded your kernel's SHMMAX parameter.  You can
either reduce the request size or reconfigure the kernel with larger
SHMMAX.  To reduce the request size (currently 4399202304 bytes),
reduce PostgreSQL's shared_buffers parameter (currently 524288) and/or
its max_connections parameter (currently 103).
If the request size is already small, it's possible that it is
less than your kernel's SHMMIN parameter, in which case raising the
request size or reconfiguring SHMMIN is called for.
The PostgreSQL documentation contains more information about
shared memory configuration.

And I wonder if I should set shmmax
or shmall and also if these 2 limits
are total for all machine processes
or per process? (i.e. should I allow
a bit more for processes besides PostgreSQL)?

Thank you
Alex
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6: Increase shared memory limits permanently

2011-10-04 Thread John R Pierce
On 10/04/11 8:45 AM, Alexander Farber wrote:
 on CentOS 6 / 64 bit what is please the best way
 to permanently increase the shared memory?

/etc/sysctl.conf



-- 
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


[CentOS] CentOS-announce Digest, Vol 80, Issue 1

2011-10-04 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
centos-annou...@centos.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-requ...@centos.org

You can reach the person managing the list at
centos-announce-ow...@centos.org

When replying, please edit your Subject line so it is more specific
than Re: Contents of CentOS-announce digest...


Today's Topics:

   1. CESA-2011:1349 Important CentOS 5 i386 rpm Update (Karanbir Singh)
   2. CESA-2011:1349 Important CentOS 5 x86_64 rpm  Update
  (Karanbir Singh)


--

Message: 1
Date: Mon, 3 Oct 2011 21:56:34 +
From: Karanbir Singh kbsi...@centos.org
Subject: [CentOS-announce] CESA-2011:1349 Important CentOS 5 i386 rpm
Update
To: centos-annou...@centos.org
Message-ID: 20111003215634.ga8...@chakra.karan.org
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2011:1349 Important

Upstream details at : https://rhn.redhat.com/errata/RHSA-2011-1349.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

i386:
4d585e8b12ce27b13ffb5e0d45f9569b  popt-1.10.2.3-22.el5_7.2.i386.rpm
82008752811345bd48c567d238545cde  rpm-4.4.2.3-22.el5_7.2.i386.rpm
4cf07794cbd47cd8571b8e9874fd0e80  rpm-apidocs-4.4.2.3-22.el5_7.2.i386.rpm
85b67b4e8e65eb788b66f3c6948ea855  rpm-build-4.4.2.3-22.el5_7.2.i386.rpm
9519d6cb24377a322153fdeef3f5999a  rpm-devel-4.4.2.3-22.el5_7.2.i386.rpm
90e0e70797846e33bdf987a5fe0b5e9e  rpm-libs-4.4.2.3-22.el5_7.2.i386.rpm
5879391ce7c0d718981425375e21522f  rpm-python-4.4.2.3-22.el5_7.2.i386.rpm

Source:
688cb231c484ea974b4513723f30e273  rpm-4.4.2.3-22.el5_7.2.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #cen...@irc.freenode.net



--

Message: 2
Date: Mon, 3 Oct 2011 21:56:35 +
From: Karanbir Singh kbsi...@centos.org
Subject: [CentOS-announce] CESA-2011:1349 Important CentOS 5 x86_64
rpm Update
To: centos-annou...@centos.org
Message-ID: 20111003215635.ga8...@chakra.karan.org
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2011:1349 Important

Upstream details at : https://rhn.redhat.com/errata/RHSA-2011-1349.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( md5sum Filename ) 

x86_64:
4d585e8b12ce27b13ffb5e0d45f9569b  popt-1.10.2.3-22.el5_7.2.i386.rpm
641c57febb29ba8b5e392c321c2e6e81  popt-1.10.2.3-22.el5_7.2.x86_64.rpm
9f9374ac2507e34bf32333ff0f746109  rpm-4.4.2.3-22.el5_7.2.x86_64.rpm
6ae381a435da30c8d6a58957eee28d71  rpm-apidocs-4.4.2.3-22.el5_7.2.x86_64.rpm
3bfd537e4171e4da4edce6a902ed9a3b  rpm-build-4.4.2.3-22.el5_7.2.x86_64.rpm
9519d6cb24377a322153fdeef3f5999a  rpm-devel-4.4.2.3-22.el5_7.2.i386.rpm
8d32b2dfc3674f69e436c938dbb90f25  rpm-devel-4.4.2.3-22.el5_7.2.x86_64.rpm
90e0e70797846e33bdf987a5fe0b5e9e  rpm-libs-4.4.2.3-22.el5_7.2.i386.rpm
dea6f90e1b8fcd0749e6a0721e2fb4c6  rpm-libs-4.4.2.3-22.el5_7.2.x86_64.rpm
0ca72c28170c938d5684ecddbf46d47c  rpm-python-4.4.2.3-22.el5_7.2.x86_64.rpm

Source:
688cb231c484ea974b4513723f30e273  rpm-4.4.2.3-22.el5_7.2.src.rpm


-- 
Karanbir Singh
CentOS Project { http://www.centos.org/ }
irc: z00dax, #cen...@irc.freenode.net



--

___
CentOS-announce mailing list
centos-annou...@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


End of CentOS-announce Digest, Vol 80, Issue 1
**
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6: Increase shared memory limits permanently

2011-10-04 Thread Yavor Nikolov
* shmall is total for all processes (in pages)
* shmmax is the maximum size of single contiguous shared memory segment (in
bytes)
Both should be tuned to be large enough (obviously shmmax should be able to
fit into shmall)

If the memory is locked you may  need to tune /etc/security/limits.conf too.

Another setting which affects shared memory are huge pages (I don't know if
PostgreSQL could utilize that feature)

On Tue, Oct 4, 2011 at 18:53, John R Pierce pie...@hogranch.com wrote:

 On 10/04/11 8:45 AM, Alexander Farber wrote:
  on CentOS 6 / 64 bit what is please the best way
  to permanently increase the shared memory?

 /etc/sysctl.conf



 --
 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

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] guest vms crash host systems

2011-10-04 Thread Negative
On Tue, Oct 4, 2011 at 10:41 AM, m.r...@5-cent.us wrote:

 Brian Mathis wrote:
  On Mon, Oct 3, 2011 at 10:16 PM, Negative negativebinom...@gmail.com
  wrote:
  I built guest vm's one for Windows 7 and one for Windows XP using the
  virtual machine manager on a  just updated to centos 5.7, and they are
  both crashing the host machine. They run only  for a few minutes, but
  suddenly freeze, crashing the host. Â There is no networking. No X. No
  way to drop out of X. The only way out is a hard reboot. I don't see
  anything in the logs -- messages or libvirt logs -- immediately before
  the crash.
 snip
  Is this new hardware?  Have you run any hardware burn testing (CPU,
  RAM, etc...) and/or memtest86+ on the RAM?  This sounds like a
  hardware issue to me.


It's about three years old. I had one hardware issue a year ago in which a
video card fried, but it's been great. I will run memtest this afternoon.


 I agree with Brian - it may be coincidental that you built the VMs, and
 then it started crashing.


I should run memtest. I don't know of a tool to check the processors. I use
the machine for analyzing data, and often use most of the 32 gigs of memory
in it, but I doubt I've ever seriously stressed the processors.

I created the two guests with the gui, but since they crash, I started one
without starting X on the host, using virsh. The guest and host both stay
up. When starting using  virsh with the --console switch I get what looks
like a telnet connection. But I know almost nothing about Windows and don't
know what to look at. Networking between the guest and host might be borked
-- and that would've been my fault. Then, every time X is running the guest
and host crash.



 One other question: is selinux enabled?


Yes. No warnings, though.


mark


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] guest vms crash host systems

2011-10-04 Thread Brian Mathis
On Tue, Oct 4, 2011 at 12:05 PM, Negative negativebinom...@gmail.com wrote:
 On Tue, Oct 4, 2011 at 10:41 AM, m.r...@5-cent.us wrote:

 Brian Mathis wrote:
  On Mon, Oct 3, 2011 at 10:16 PM, Negative negativebinom...@gmail.com
  wrote:
  I built guest vm's one for Windows 7 and one for Windows XP using the
  virtual machine manager on a  just updated to centos 5.7, and they are
  both crashing the host machine. They run only  for a few minutes, but
  suddenly freeze, crashing the host. Â There is no networking. No X. No
  way to drop out of X. The only way out is a hard reboot. I don't see
  anything in the logs -- messages or libvirt logs -- immediately before
  the crash.
 snip
  Is this new hardware?  Have you run any hardware burn testing (CPU,
  RAM, etc...) and/or memtest86+ on the RAM?  This sounds like a
  hardware issue to me.

 It's about three years old. I had one hardware issue a year ago in which a
 video card fried, but it's been great. I will run memtest this afternoon.

 I agree with Brian - it may be coincidental that you built the VMs, and
 then it started crashing.

 I should run memtest. I don't know of a tool to check the processors. I use
 the machine for analyzing data, and often use most of the 32 gigs of memory
 in it, but I doubt I've ever seriously stressed the processors.

 I created the two guests with the gui, but since they crash, I started one
 without starting X on the host, using virsh. The guest and host both stay
 up. When starting using  virsh with the --console switch I get what looks
 like a telnet connection. But I know almost nothing about Windows and don't
 know what to look at. Networking between the guest and host might be borked
 -- and that would've been my fault. Then, every time X is running the guest
 and host crash.

 One other question: is selinux enabled?


 Yes. No warnings, though.

        mark


It should not matter what the guest is, so Windows or Linux it
shouldn't be crashing.  If not hardware, it points to a bug in the
hypervisor software.


-☙ Brian Mathis ❧-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6: hostname and timezone

2011-10-04 Thread ken
On 10/04/2011 10:33 AM Alexander Farber wrote:
 And also, which /etc/localtime do I have now?
 
 ...

Please run these commands and copy-paste them w/ output back to me:


cat /etc/sysconfig/clock
/etc/init.d/ntpd status
/sbin/hwclock
date
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6: hostname and timezone

2011-10-04 Thread Alexander Farber
Actually it is working now, thank you all!

[root@preferans afarber]# cat /etc/sysconfig/clock
ZONE=Europe/Berlin
[root@preferans afarber]# /etc/init.d/ntpd status
ntpd (pid  1365) is running...
[root@preferans afarber]# /sbin/hwclock
Tue 04 Oct 2011 07:10:06 PM CEST  -0.797338 seconds
[root@preferans afarber]# date
Tue Oct  4 19:10:09 CEST 2011
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6: Increase shared memory limits permanently

2011-10-04 Thread m . roth
Alexander Farber wrote:
 Hello again,

 on CentOS 6 / 64 bit what is please the best way
 to permanently increase the shared memory?

 I'd like to give shared_buffers = 4096MB
 to PostgreSQL 8.4 on my machine with
 16 GB RAM, but I currently only have:

# sysctl -A|grep shm
kernel.shmmax = 33554432
kernel.shmall = 2097152
kernel.shmmni = 4096

 and this produces the error in
  /var/lib/pgsql/pgstartup.log:
snip
 And I wonder if I should set shmmax

Yes. As a point of information, you do this for Oracle as well.

mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] guest vms crash host systems

2011-10-04 Thread m . roth
Negative wrote:
 On Tue, Oct 4, 2011 at 10:41 AM, m.r...@5-cent.us wrote:
 Brian Mathis wrote:
  On Mon, Oct 3, 2011 at 10:16 PM, Negative negativebinom...@gmail.com
  wrote:
 I built guest vm's one for Windows 7 and one for Windows XP using the
 virtual machine manager on a  just updated to centos 5.7, and they
 are both crashing the host machine. They run only  for a few minutes,
snip
  Is this new hardware?  Have you run any hardware burn testing (CPU,
  RAM, etc...) and/or memtest86+ on the RAM?  This sounds like a
  hardware issue to me.

 It's about three years old. I had one hardware issue a year ago in which a
 video card fried, but it's been great. I will run memtest this afternoon.

 I agree with Brian - it may be coincidental that you built the VMs, and
 then it started crashing.
snip
 -- and that would've been my fault. Then, every time X is running the
 guest and host crash.

 One other question: is selinux enabled?

 Yes. No warnings, though.

More and more it sounds like a hardware issue. Hmm, every time X is
running, and you say you had one video card fried - how did it fry? Also,
is this machine on a good quality surge protector? Have you had a
thunderstorm, or power outages recently?

mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] guest vms crash host systems

2011-10-04 Thread Negative
On Tue, Oct 4, 2011 at 1:18 PM, m.r...@5-cent.us wrote:

 Negative wrote:
  On Tue, Oct 4, 2011 at 10:41 AM, m.r...@5-cent.us wrote:
  Brian Mathis wrote:
   On Mon, Oct 3, 2011 at 10:16 PM, Negative negativebinom...@gmail.com
 
   wrote:
  I built guest vm's one for Windows 7 and one for Windows XP using the
  virtual machine manager on a  just updated to centos 5.7, and they
  are both crashing the host machine. They run only  for a few minutes,
 snip
   Is this new hardware?  Have you run any hardware burn testing (CPU,
   RAM, etc...) and/or memtest86+ on the RAM?  This sounds like a
   hardware issue to me.
 
  It's about three years old. I had one hardware issue a year ago in which
 a
  video card fried, but it's been great. I will run memtest this afternoon.
 
  I agree with Brian - it may be coincidental that you built the VMs, and
  then it started crashing.
 snip
  -- and that would've been my fault. Then, every time X is running the
  guest and host crash.
 
  One other question: is selinux enabled?
 
  Yes. No warnings, though.

 More and more it sounds like a hardware issue. Hmm, every time X is
 running, and you say you had one video card fried - how did it fry? Also,
 is this machine on a good quality surge protector? Have you had a
 thunderstorm, or power outages recently?

mark


The vendor told me that the particular video card model (I forget which) had
some flaw. In any case the fan stopped running, and it heated up. I usually
use the machine remotely but I was at the console at that moment. The
monitor started flickering and then went gray.

The vendor sent a replacement, but I had thrown an old ATI in before it
arrived. When the crashes occurred now, I finally put in the replacement.
Same behavior.

The surge protector is good. I live in NYC and the biggest environmental
hazard is the cleaning lady, who has in the past tripped the surge protector
switch.

I fear you're right about the hardware. But as far as I can tell everything
else works fine. I went overboard in buying two quad processors -- so I
could live with one if that's the problem.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] guest vms crash host systems

2011-10-04 Thread m . roth
Negative wrote:
 On Tue, Oct 4, 2011 at 1:18 PM, m.r...@5-cent.us wrote:
 Negative wrote:
  On Tue, Oct 4, 2011 at 10:41 AM, m.r...@5-cent.us wrote:
  Brian Mathis wrote:
   On Mon, Oct 3, 2011 at 10:16 PM, Negative
 negativebinom...@gmail.com
 
   wrote:
  I built guest vm's one for Windows 7 and one for Windows XP using
  the
  virtual machine manager on a  just updated to centos 5.7, and they
  are both crashing the host machine. They run only  for a few
 minutes,
 snip
   Is this new hardware?  Have you run any hardware burn testing (CPU,
   RAM, etc...) and/or memtest86+ on the RAM?  This sounds like a
   hardware issue to me.
 
snip
 More and more it sounds like a hardware issue. Hmm, every time X is
 running, and you say you had one video card fried - how did it fry?
 Also,
 is this machine on a good quality surge protector? Have you had a
 thunderstorm, or power outages recently?

 The vendor told me that the particular video card model (I forget which)
 had some flaw. In any case the fan stopped running, and it heated up. I
 usually use the machine remotely but I was at the console at that moment.
 The monitor started flickering and then went gray.

 The vendor sent a replacement, but I had thrown an old ATI in before it
 arrived. When the crashes occurred now, I finally put in the replacement.
 Same behavior.

Have you examined the m/b and cards *around* where the card fried? Its
heat death may have affected things around it.

 The surge protector is good. I live in NYC and the biggest environmental
 hazard is the cleaning lady, who has in the past tripped the surge
 protector switch.

g Do you know the story about the mainframe shop, the racks of tapes,
and the cleaning staff?

 I fear you're right about the hardware. But as far as I can tell
 everything else works fine. I went overboard in buying two quad
 processors -- so I could live with one if that's the problem.

A replacement m/b?

   mark


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] guest vms crash host systems

2011-10-04 Thread Toby Bluhm


If you haven't already, check the mainboard  power supply for bad 
capacitors:

http://en.wikipedia.org/wiki/Capacitor_plague

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6: Increase shared memory limits permanently

2011-10-04 Thread Alexander Farber
Thanks, I've put (for my 16GB RAM / 64 bit machine)
into /etc/sysctl.conf: kernel.shmmax = 50

And into postgresql.conf: shared_buffers = 4096MB

I didn't change shmall from the default -

# sysctl -A|grep shm
kernel.shmmax = 50
kernel.shmall = 2097152
kernel.shmmni = 4096

because

# getconf PAGE_SIZE
4096

and 2097152 * 4096  50, correct?

Now PostgreSQL 8.4.x seems to run ok

Regards
Alex
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied

2011-10-04 Thread Alexander Farber
I'm trying to configure mail forwarding through Gmail
on CentOS 6 with postfix, following the blog
http://carlton.oriley.net/blog/?p=31
and I think the blog has missed the step:

# postmap /etc/postfix/sasl_passwd

 - as I've seen in the /var/log/maillog:

postfix/smtp[1926]: fatal: open database /etc/postfix/sasl_passwd.db:
No such file or directory
postfix/master[1831]: warning: process /usr/libexec/postfix/smtp pid
1926 exit status 1
postfix/master[1831]: warning: /usr/libexec/postfix/smtp: bad command
startup -- throttling

But when I try to run postmap, I get

postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied

even though the postfix service is stopped,
the SELinux is permissive and the file is writable:

[root@preferans postfix]# ll
-rw-r--r--. 1 rootroot  20K Jun 25 14:50 access
-rw-r--r--. 1 rootroot  12K Jun 25 14:50 canonical
-rw-r--r--. 1 rootroot 9.7K Jun 25 14:50 generic
-rw-r--r--. 1 rootroot  18K Jun 25 14:50 header_checks
-rw-r--r--. 1 rootroot  27K Oct  4 20:24 main.cf
-rw-r--r--. 1 rootroot  27K Oct  4 20:23 main.cf.OLD
-rw-r--r--. 1 rootroot 5.0K Jun 25 14:50 master.cf
-rw-r--r--. 1 rootroot 6.7K Jun 25 14:50 relocated
-rw-r--r--. 1 postfix root  113 Oct  4 20:25 sasl_passwd
-rw-r--r--. 1 rootroot  13K Jun 25 14:50 transport
-rw-r--r--. 1 rootroot  13K Jun 25 14:50 virtual

Has anybody fought this problem already?

Thank you
Alex
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied

2011-10-04 Thread m . roth
Alexander Farber wrote:
 I'm trying to configure mail forwarding through Gmail
 on CentOS 6 with postfix, following the blog
 http://carlton.oriley.net/blog/?p=31
 and I think the blog has missed the step:

 # postmap /etc/postfix/sasl_passwd

  - as I've seen in the /var/log/maillog:

 postfix/smtp[1926]: fatal: open database /etc/postfix/sasl_passwd.db:
 No such file or directory
snip
 But when I try to run postmap, I get

 postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission
 denied

 even though the postfix service is stopped,
 the SELinux is permissive and the file is writable:

 [root@preferans postfix]# ll
 -rw-r--r--. 1 rootroot  20K Jun 25 14:50 access
snip
One thing I keep finding very annoying with most versions of Linux is the
alias for ll, which is *not* what I was used to in sun, Solaris, Irix, or
Tru64. Out of curiosity, try ls -laF /etc/postfix, and the libexec, and
let's see what permissions and ownerships the *directories* have.

   mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied

2011-10-04 Thread Alexander Farber
Nevermind - solved that by

# sudo chown root.root sasl_passwd

(sorry, too tired in the evening)

On Tue, Oct 4, 2011 at 9:04 PM, Alexander Farber
alexander.far...@gmail.com wrote:
 I'm trying to configure mail forwarding through Gmail
 on CentOS 6 with postfix, following the blog
 http://carlton.oriley.net/blog/?p=31
 and I think the blog has missed the step:

 # postmap /etc/postfix/sasl_passwd

  - as I've seen in the /var/log/maillog:

 postfix/smtp[1926]: fatal: open database /etc/postfix/sasl_passwd.db:
 No such file or directory
 postfix/master[1831]: warning: process /usr/libexec/postfix/smtp pid
 1926 exit status 1
 postfix/master[1831]: warning: /usr/libexec/postfix/smtp: bad command
 startup -- throttling

 But when I try to run postmap, I get

 postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied

 even though the postfix service is stopped,
 the SELinux is permissive and the file is writable:

 [root@preferans postfix]# ll
 -rw-r--r--. 1 root    root  20K Jun 25 14:50 access
 -rw-r--r--. 1 root    root  12K Jun 25 14:50 canonical
 -rw-r--r--. 1 root    root 9.7K Jun 25 14:50 generic
 -rw-r--r--. 1 root    root  18K Jun 25 14:50 header_checks
 -rw-r--r--. 1 root    root  27K Oct  4 20:24 main.cf
 -rw-r--r--. 1 root    root  27K Oct  4 20:23 main.cf.OLD
 -rw-r--r--. 1 root    root 5.0K Jun 25 14:50 master.cf
 -rw-r--r--. 1 root    root 6.7K Jun 25 14:50 relocated
 -rw-r--r--. 1 postfix root  113 Oct  4 20:25 sasl_passwd
 -rw-r--r--. 1 root    root  13K Jun 25 14:50 transport
 -rw-r--r--. 1 root    root  13K Jun 25 14:50 virtual

 Has anybody fought this problem already?

 Thank you
 Alex

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied

2011-10-04 Thread Alexander Farber
Thank you, the ls -laF tip is good

And now I unfortunately get:

postfix/postfix-script[2054]: starting the Postfix mail system
postfix/master[2056]: daemon started -- version 2.6.6, configuration
/etc/postfix
postfix/qmgr[2059]: F10CC31D62CC: from=root@preferans.localdomain,
size=609, nrcpt=1 (queue active)
postfix/smtp[2061]: warning: cannot get RSA certificate from file
/etc/pki/tls/gmail_relay/server.pem: disabling TLS support
postfix/smtp[2061]: warning: TLS library problem:
2061:error:0906D06C:PEM routines:PEM_read_bio:no start
line:pem_lib.c:698:Expecting: TRUSTED CERTIFICATE:
postfix/smtp[2061]: warning: TLS library problem:
2061:error:140DC009:SSL
routines:SSL_CTX_use_certificate_chain_file:PEM lib:ssl_rsa.c:729:
postfix/smtp[2061]: F10CC31D62CC: to=alexander.far...@gmail.com,
orig_to=root, relay=smtp.gmail.com[74.125.39.109]:587, delay=2963,
delays=2963/0.07/0.03/0.01, dsn=5.7.0, status=bounced (host
smtp.gmail.com[74.125.39.109] said: 530 5.7.0 Must issue a STARTTLS
command first. m26sm26530788fac.6 (in reply to MAIL FROM command))
postfix/cleanup[2064]: 2FE0C31D6686:
message-id=20111004191529.2FE0C31D6686@preferans.localdomain
postfix/bounce[2063]: F10CC31D62CC: sender non-delivery notification:
2FE0C31D6686
postfix/qmgr[2059]: 2FE0C31D6686: from=, size=2696, nrcpt=1 (queue active)
postfix/qmgr[2059]: F10CC31D62CC: removed
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied

2011-10-04 Thread Alexander Farber
Eventhough I have at the bottom of main.cf:

 GMail SSL SMTP Relay
relayhost = [smtp.gmail.com]:587
#auth
smtp_sasl_auth_enable=yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

#tls
smtp_use_tls = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = noanonymous
smtp_tls_note_starttls_offer = yes
tls_random_source = dev:/dev/urandom
smtp_tls_scert_verifydepth = 5
smtp_tls_key_file=/etc/pki/tls/gmail_relay/server.key
smtp_tls_cert_file=/etc/pki/tls/gmail_relay/server.pem
smtpd_tls_ask_ccert = yes
smtpd_tls_req_ccert =no
smtp_tls_enforce_peername = no


On Tue, Oct 4, 2011 at 9:18 PM, Alexander Farber
alexander.far...@gmail.com wrote:
 postfix/smtp[2061]: F10CC31D62CC: to=alexander.far...@gmail.com,
 orig_to=root, relay=smtp.gmail.com[74.125.39.109]:587, delay=2963,
 delays=2963/0.07/0.03/0.01, dsn=5.7.0, status=bounced (host
 smtp.gmail.com[74.125.39.109] said: 530 5.7.0 Must issue a STARTTLS
 command first. m26sm26530788fac.6 (in reply to MAIL FROM command))
 postfix/cleanup[2064]: 2FE0C31D6686:
 message-id=20111004191529.2FE0C31D6686@preferans.localdomain
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6: Increase shared memory limits permanently

2011-10-04 Thread Yavor Nikolov
Seems OK for PostgreSQL. You should also take into account the requirements
of the other applications on that server too (if any).
Actually it's 5 000 000 000  2097152 * 4096 == 8 589 934 592. Which is OK.

You can use ipcs monitor the allocated shared memory segments and their
actual size.

http://www.postgresql.org/docs/8.4/static/kernel-resources.html
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Oracle_Tuning_Guide/(This
is for Oracle but its memory tuning is quite similar and you may find
some useful information in this guide).

On Tue, Oct 4, 2011 at 21:56, Alexander Farber
alexander.far...@gmail.comwrote:

 Thanks, I've put (for my 16GB RAM / 64 bit machine)
 into /etc/sysctl.conf: kernel.shmmax = 50

 And into postgresql.conf: shared_buffers = 4096MB

 I didn't change shmall from the default -

 # sysctl -A|grep shm
 kernel.shmmax = 50
 kernel.shmall = 2097152
 kernel.shmmni = 4096

 because

 # getconf PAGE_SIZE
 4096

 and 2097152 * 4096  50, correct?

 Now PostgreSQL 8.4.x seems to run ok

 Regards
 Alex
 ___
 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] guest vms crash host systems

2011-10-04 Thread Negative
On Tue, Oct 4, 2011 at 2:24 PM, m.r...@5-cent.us wrote:

 Negative wrote:
  On Tue, Oct 4, 2011 at 1:18 PM, m.r...@5-cent.us wrote:
  Negative wrote:
   On Tue, Oct 4, 2011 at 10:41 AM, m.r...@5-cent.us wrote:
   Brian Mathis wrote:
On Mon, Oct 3, 2011 at 10:16 PM, Negative
  negativebinom...@gmail.com
  
wrote:
   I built guest vm's one for Windows 7 and one for Windows XP using
   the
   virtual machine manager on a  just updated to centos 5.7, and they
   are both crashing the host machine. They run only  for a few
  minutes,
  snip
Is this new hardware?  Have you run any hardware burn testing (CPU,
RAM, etc...) and/or memtest86+ on the RAM?  This sounds like a
hardware issue to me.
  
 snip
  More and more it sounds like a hardware issue. Hmm, every time X is
  running, and you say you had one video card fried - how did it fry?
  Also,
  is this machine on a good quality surge protector? Have you had a
  thunderstorm, or power outages recently?
 
  The vendor told me that the particular video card model (I forget which)
  had some flaw. In any case the fan stopped running, and it heated up. I
  usually use the machine remotely but I was at the console at that moment.
  The monitor started flickering and then went gray.
 
  The vendor sent a replacement, but I had thrown an old ATI in before it
  arrived. When the crashes occurred now, I finally put in the replacement.
  Same behavior.

 Have you examined the m/b and cards *around* where the card fried? Its
 heat death may have affected things around it.


It looks good to the eye. The capacitors look good.


 
  The surge protector is good. I live in NYC and the biggest environmental
  hazard is the cleaning lady, who has in the past tripped the surge
  protector switch.

 g Do you know the story about the mainframe shop, the racks of tapes,
 and the cleaning staff?


Don't know it but I can imagine.


 
  I fear you're right about the hardware. But as far as I can tell
  everything else works fine. I went overboard in buying two quad
  processors -- so I could live with one if that's the problem.

 A replacement m/b?


That's a tough one!

Since the crashes can be duplicated and are only caused by this one
combination of events, I don't know.

On another machine, I had a case where none of the kvm guests would boot. It
turned out to be a conflict between libvirt and the nvidia proprietary
driver. I used an old version of the video driver until Nvidia caught up.
(It only affected amd processors.)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Expunge Old Email

2011-10-04 Thread Adam Tauno Williams
On Tue, 2011-09-27 at 08:31 -0400, John Hinton wrote:
 For those of you running mailservers on CentOS 6, what are the 
 suggestions for programs to expunge old email? For instance, deleting 
 email from a Spam folder that is 2 weeks old or older.
 I see that Dovecot does have a solution, but was wondering about what 
 others have landed on.

Cyrus IMAP supports an expire annotation on folders that allows
automatic cycling out of messages after the indicated number of days.

http://cyrusimap.web.cmu.edu/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] guest vms crash host systems

2011-10-04 Thread Les Mikesell
On Tue, Oct 4, 2011 at 2:51 PM, Negative negativebinom...@gmail.com wrote:
 
 Since the crashes can be duplicated and are only caused by this one
 combination of events, I don't know.

 On another machine, I had a case where none of the kvm guests would boot. It
 turned out to be a conflict between libvirt and the nvidia proprietary
 driver. I used an old version of the video driver until Nvidia caught up.
 (It only affected amd processors.)

Do you have to use the local video at all?   What happens if you use
freenx and run in a session started from a remote NX client?

-- 
  Les Mikesell
   lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problems with Intel Ethernet and module e1000e

2011-10-04 Thread Dennis Jacobfeuerborn
On 10/04/2011 03:54 PM, Volker Poplawski wrote:
 On 26.09.2011 14:40, John Doe wrote:
 From: Volker Poplawskivol...@openbios.org

 I'm facing a serious problem with the e100e kernel module for Intel
 82574L gigabit nics on Centos 6.

 I had pbms with my Intel 1000e too.
 Installed elrepo's kmod-e1000e and so far so good...

 http://elrepo.org/tiki/kmod-e1000e

 Follow up:

 Also installed elrepo's e1000e from above url.

 No problems so far.

Activating the CR repo and updating the kernel might also fix any issues 
with the e1000e driver (that did the trick for me).

Regards,
   Dennis
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problems with Intel Ethernet and module e1000e

2011-10-04 Thread Lorenzo Martínez Rodríguez
El 04/10/11 22:18, Dennis Jacobfeuerborn escribió:
 On 10/04/2011 03:54 PM, Volker Poplawski wrote:
 On 26.09.2011 14:40, John Doe wrote:
 From: Volker Poplawskivol...@openbios.org

 I'm facing a serious problem with the e100e kernel module for Intel
 82574L gigabit nics on Centos 6.
 I had pbms with my Intel 1000e too.
 Installed elrepo's kmod-e1000e and so far so good...

 http://elrepo.org/tiki/kmod-e1000e
 Follow up:

 Also installed elrepo's e1000e from above url.

 No problems so far.
 Activating the CR repo and*updating the kernel might also fix any issues*
 with the e1000e driver (that did the trick for me).

Or create new ones, as happened to me

 Regards,
 Dennis
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




-- 


Lorenzo Martinez Rodriguez

Visit me:   http://www.lorenzomartinez.es
Mail me to: lore...@lorenzomartinez.es
My blog: http://www.securitybydefault.com
My twitter: @lawwait
PGP Fingerprint: 97CC 2584 7A04 B2BA 00F1 76C9 0D76 83A2 9BBC BDE2

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied

2011-10-04 Thread Craig White

On Oct 4, 2011, at 12:18 PM, Alexander Farber wrote:

 Thank you, the ls -laF tip is good
 
 And now I unfortunately get:
 
 postfix/postfix-script[2054]: starting the Postfix mail system
 postfix/master[2056]: daemon started -- version 2.6.6, configuration
 /etc/postfix
 postfix/qmgr[2059]: F10CC31D62CC: from=root@preferans.localdomain,
 size=609, nrcpt=1 (queue active)
 postfix/smtp[2061]: warning: cannot get RSA certificate from file
 /etc/pki/tls/gmail_relay/server.pem: disabling TLS support
 postfix/smtp[2061]: warning: TLS library problem:
 2061:error:0906D06C:PEM routines:PEM_read_bio:no start
 line:pem_lib.c:698:Expecting: TRUSTED CERTIFICATE:
 postfix/smtp[2061]: warning: TLS library problem:
 2061:error:140DC009:SSL
 routines:SSL_CTX_use_certificate_chain_file:PEM lib:ssl_rsa.c:729:
 postfix/smtp[2061]: F10CC31D62CC: to=alexander.far...@gmail.com,
 orig_to=root, relay=smtp.gmail.com[74.125.39.109]:587, delay=2963,
 delays=2963/0.07/0.03/0.01, dsn=5.7.0, status=bounced (host
 smtp.gmail.com[74.125.39.109] said: 530 5.7.0 Must issue a STARTTLS
 command first. m26sm26530788fac.6 (in reply to MAIL FROM command))
 postfix/cleanup[2064]: 2FE0C31D6686:
 message-id=20111004191529.2FE0C31D6686@preferans.localdomain
 postfix/bounce[2063]: F10CC31D62CC: sender non-delivery notification:
 2FE0C31D6686
 postfix/qmgr[2059]: 2FE0C31D6686: from=, size=2696, nrcpt=1 (queue active)
 postfix/qmgr[2059]: F10CC31D62CC: removed

this is your problem and it is significant...

 postfix/smtp[2061]: warning: TLS library problem:
 2061:error:0906D06C:PEM routines:PEM_read_bio:no start
 line:pem_lib.c:698:Expecting: TRUSTED CERTIFICATE:
 postfix/smtp[2061]: warning: TLS library problem:
 2061:error:140DC009:SSL

There's something wrong with this file as it is not a PEM encoded certificate 
file as is expected.

Easy enough to verify...

openssl x509 -in $YOUR_CERTIFICATE.pem -noout -text

Craig
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied

2011-10-04 Thread Alexander Farber
Hello,

On Tue, Oct 4, 2011 at 10:37 PM, Craig White craig.wh...@ttiltd.com wrote:
 postfix/smtp[2061]: warning: TLS library problem:
 2061:error:0906D06C:PEM routines:PEM_read_bio:no start
 line:pem_lib.c:698:Expecting: TRUSTED CERTIFICATE:
 postfix/smtp[2061]: warning: TLS library problem:
 2061:error:140DC009:SSL

 There's something wrong with this file as it is not a PEM encoded certificate 
 file as is expected.

 Easy enough to verify...

 openssl x509 -in $YOUR_CERTIFICATE.pem -noout -text

oops, sorry, after struggling I've just deleted
that file and installed sendmail. I'll try your suggestion
later though with my development VM.

Could the reason also be that I've started with
a minimalistic CentOS 6 installation and was
missing the cyrus-sasl-plain and cyrus-sasl-md5 packages?

Thank you
Alex
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Migrating CentOS 5 - 6: where to put /etc/inittab respawn scripts?

2011-10-04 Thread Alexander Farber
Hello,

sorry, for 1 more question on CentOS 5 - CentOS 6 migration.

On my old CentOS 5.7 machine I have the following line:

pref:3:respawn:/bin/su -c '/usr/local/pref/pref.pl /tmp/pref-`date
+%a`.txt 21' afarber

and this has served me well, I don't want to install
anything else like daemontools etc. - to keep my web-server
easily reinstallable (or movable to another hoster).

But now I have migrated to CentOS 6.0, added that line
and the init q, but nothing happens - as indeed promised
by the comments in the new /etc/inittab.

Where should I move my line, which docs to read?

The pref.pl is a poll()ing TCP-sockets daemon for a game

Thank you
Alex
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Migrating CentOS 5 - 6: where to put /etc/inittab respawn scripts?

2011-10-04 Thread Brian Mathis
On Tue, Oct 4, 2011 at 5:44 PM, Alexander Farber
alexander.far...@gmail.com wrote:
 Hello,

 sorry, for 1 more question on CentOS 5 - CentOS 6 migration.

 On my old CentOS 5.7 machine I have the following line:

 pref:3:respawn:/bin/su -c '/usr/local/pref/pref.pl /tmp/pref-`date
 +%a`.txt 21' afarber

 and this has served me well, I don't want to install
 anything else like daemontools etc. - to keep my web-server
 easily reinstallable (or movable to another hoster).

 But now I have migrated to CentOS 6.0, added that line
 and the init q, but nothing happens - as indeed promised
 by the comments in the new /etc/inittab.

 Where should I move my line, which docs to read?

 The pref.pl is a poll()ing TCP-sockets daemon for a game

 Thank you
 Alex


This sounds like something you should be using the 'service' framework
for, instead of inittab.  In CentOS 5 you would create a script in
/etc/init.d and start the service from there.  I'm not yet familiar
with CentOS 6, but I would bet looking for docs on how to do that will
lead you in the right direction.


-☙ Brian Mathis ❧-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] postmap: fatal: open database /etc/postfix/sasl_passwd.db: Permission denied

2011-10-04 Thread Craig White

On Oct 4, 2011, at 1:46 PM, Alexander Farber wrote:

 Hello,
 
 On Tue, Oct 4, 2011 at 10:37 PM, Craig White craig.wh...@ttiltd.com wrote:
 postfix/smtp[2061]: warning: TLS library problem:
 2061:error:0906D06C:PEM routines:PEM_read_bio:no start
 line:pem_lib.c:698:Expecting: TRUSTED CERTIFICATE:
 postfix/smtp[2061]: warning: TLS library problem:
 2061:error:140DC009:SSL
 
 There's something wrong with this file as it is not a PEM encoded 
 certificate file as is expected.
 
 Easy enough to verify...
 
 openssl x509 -in $YOUR_CERTIFICATE.pem -noout -text
 
 oops, sorry, after struggling I've just deleted
 that file and installed sendmail. I'll try your suggestion
 later though with my development VM.
 
 Could the reason also be that I've started with
 a minimalistic CentOS 6 installation and was
 missing the cyrus-sasl-plain and cyrus-sasl-md5 packages?

I personally have found postfix much easier to deal with in all phases, 
especially with details such as sasl and ldap.

I think your issue was not understanding what the certificates are, how they 
are created, how they interact, etc. and thus your issue really isn't going to 
be solved with either postfix or sendmail but rather certificates in general.

If you are going to have self-signed certificates, you need a mechanism to:

1 - create a CA (Certificate Authority) and generate a private key and a CA 
Certificate. This private key would be needed to sign certificate requests.

2 - generate a signing request for various services such as an SMTP server - 
this should include a directive to output the key into a separate file. This 
key is NOT the CA key.

3 - sign the request which generates a PEM encoded certificate and thus you 
should end up with 3 files useful for your SMTP server:
- ca certificate
- smtp certificate
- smtp key (for the certificate)

This methodology counts on various SMTP servers to not verify the client 
certificate your SMTP server presents (ie, Google in your case if I recall 
correctly) which is generally the case.

I have implemented a reasonably feature complete set of scripts to be my own CA 
with 4 distinct certificate types (1 for HTTP server, 1 for IMAP servers, 1 for 
SMTP servers and 1 for LDAP servers) and a reasonably feature complete set of 
scripts for an LDAP server (master), LDAP server (slave aka replicant) and LDAP 
clients and at some point, I will try to figure out a way to pass this info on 
to others but I suspect that it will take a long time to document because I 
would suspect that the target audience isn't fully up to speed.

I don't think either of the 2 cyrus-sasl packages you mentioned are required to 
send e-mail via tls to Google's SMTP server but I haven't installed RHEL or 
CentOS 6 so I wouldn't know but those are very small packages and won't hurt to 
install... I think they are both geared to your server authenticating users but 
I am not sure.

Craig

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Migrating CentOS 5 - 6: where to put /etc/inittab respawn scripts?

2011-10-04 Thread Johnny Tan
On Oct 4, 2011 5:45 PM, Alexander Farber alexander.far...@gmail.com
wrote:

 Where should I move my line, which docs to read?

Like recent Ubuntus, C6 uses upstart in place of traditional Sys V init.

Likely, you will want this in /etc/init/ -- note!, not the same as
/etc/init.d/

johnny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] guest vms crash host systems

2011-10-04 Thread Negative
On Tue, Oct 4, 2011 at 4:16 PM, Les Mikesell lesmikes...@gmail.com wrote:

 On Tue, Oct 4, 2011 at 2:51 PM, Negative negativebinom...@gmail.com
 wrote:
  
  Since the crashes can be duplicated and are only caused by this one
  combination of events, I don't know.
 
  On another machine, I had a case where none of the kvm guests would boot.
 It
  turned out to be a conflict between libvirt and the nvidia proprietary
  driver. I used an old version of the video driver until Nvidia caught up.
  (It only affected amd processors.)

 Do you have to use the local video at all?   What happens if you use
 freenx and run in a session started from a remote NX client?


Doesn't freenx use X? I haven't installed but will try it.

What I did try was to leave X off on workstation and built a fedora guest. I
also connected to the workstation from another machine via ssh and I tried
running the virt-viewer via X-forwarding, it stayed up for about 10 or 15
minutes and crashed. Since I could see the console on the work station then,
it showed a kernel panic.

After rebooting I opened a terminal via ssh and it seems ok -- up for about
30 minutes so far, I'll check in the morning.

The trouble with that is I usually connect to the workshop via vnc, so I'm
not sure the guest will be of much use.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] guest vms crash host systems

2011-10-04 Thread Les Mikesell
On Tue, Oct 4, 2011 at 11:41 PM, Negative negativebinom...@gmail.com wrote:

 Do you have to use the local video at all?   What happens if you use
 freenx and run in a session started from a remote NX client?


 Doesn't freenx use X? I haven't installed but will try it.

Yes, it uses X, but it doesn't use the local video hardware.

 What I did try was to leave X off on workstation and built a fedora guest. I
 also connected to the workstation from another machine via ssh and I tried
 running the virt-viewer via X-forwarding, it stayed up for about 10 or 15
 minutes and crashed. Since I could see the console on the work station then,
 it showed a kernel panic.

Not sure what that means.   Freenx would at least keep the sesson
active when you disconnect.


 After rebooting I opened a terminal via ssh and it seems ok -- up for about
 30 minutes so far, I'll check in the morning.

 The trouble with that is I usually connect to the workshop via vnc, so I'm
 not sure the guest will be of much use.

A vncserver session not attached to the local console should also
avoid local hardware issues - but freenx/NX is nicer to use.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Migrating CentOS 5 - 6: where to put /etc/inittab respawn scripts?

2011-10-04 Thread R P Herrold
On Tue, 4 Oct 2011, Johnny Tan wrote:

 Like recent Ubuntus, C6 uses upstart in place of traditional Sys V init.

 Likely, you will want this in /etc/init/ -- note!, not the same as
 /etc/init.d/

I don't know WHAT you are looking at, if anything, but it is 
not a CentOS 6 install;  'upstart' is a non-starter for the 
future, and certainly not in CentOS' upstream's plans

[root@centos6-32 ~]# rpm -qa sys\*
sysvinit-tools-2.87-3.dsf.el6.i686
system-config-firewall-base-1.2.27-3.el6_0.2.noarch
[root@centos6-32 ~]# cd /etc/init.d/
[root@centos6-32 init.d]# ls
atd   crond  iptablesnetfsrsyslogsingle udev-post
auditdfunctions  killall network  sandboxsnmpd
cgconfig  halt   named   rdiscsaslauthd  snmptrapd
cgred ip6tables  netconsole  restorecond  sendmail   sshd
[root@centos6-32 init.d]# ls -al ../rc*
-rwxr-xr-x. 1 root root  2617 Jun 25 00:07 ../rc
-rwxr-xr-x. 1 root root   220 Jun 25 00:07 ../rc.local
-rwxr-xr-x. 1 root root 19088 Jun 25 00:07 ../rc.sysinit

../rc0.d:
total 8
drwxr-xr-x.  2 root root 4096 Oct  3 12:27 .
drwxr-xr-x. 10 root root 4096 Aug 18 07:03 ..
lrwxrwxrwx.  1 root root   13 Oct  3 12:02 K05atd - ../init.d/atd
lrwxrwxrwx.  1 root root   19 Oct  3 12:02 K10saslauthd - ../init.d/saslauthd
lrwxrwxrwx.  1 root root   14 Oct  3 12:02 K25sshd - ../init.d/sshd
lrwxrwxrwx.  1 root root   18 Oct  3 12:02 K30sendmail - ../init.d/sendmail
lrwxrwxrwx.  1 root root   20 Oct  3 12:02 K50netconsole - ../init.d/netconsole
lrwxrwxrwx.  1 root root   15 Oct  3 12:02 K50snmpd - ../init.d/snmpd
  ...

-- Russ herrold
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos