[CentOS-announce] CESA-2012:0705 Important CentOS 5 openoffice.org Update

2012-06-05 Thread Johnny Hughes

CentOS Errata and Security Advisory 2012:0705 Important

Upstream details at : https://rhn.redhat.com/errata/RHSA-2012-0705.html

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

i386:
1c23fd431fae859c3785afc2b01b16efeb245203a7e49fa9f2a24b62fdcd865e  
openoffice.org-base-3.1.1-19.10.el5_8.3.i386.rpm
bcb3f3ad719e0312b65250138969d1a205fedbe4a3355f46fd41216028293926  
openoffice.org-calc-3.1.1-19.10.el5_8.3.i386.rpm
55b2ba11b80c3e21dab5dd14bd8e3d6416266583933078ea25b02d2ff0a7c870  
openoffice.org-core-3.1.1-19.10.el5_8.3.i386.rpm
ca83fd9e9118e7c30c6b5e71185eec35c318cf2069502074b63c910e14603d92  
openoffice.org-draw-3.1.1-19.10.el5_8.3.i386.rpm
41d69d1dc2fe55b62ceee4c3fa5fdd5884da90bf21febb974cdad851fb295b79  
openoffice.org-emailmerge-3.1.1-19.10.el5_8.3.i386.rpm
981feb2f8886b24498dffee83af473d0eea7f3cda9409f39ca4878435c917a3e  
openoffice.org-graphicfilter-3.1.1-19.10.el5_8.3.i386.rpm
30c76183e1689c32a2b79b0aaac12c1f0b6c6d69edbc2d8a7afb0a2fe341ba03  
openoffice.org-headless-3.1.1-19.10.el5_8.3.i386.rpm
822302c49e8eca73eedec5ea1e8d0804b769a567afeee262a734b85bceb5d905  
openoffice.org-impress-3.1.1-19.10.el5_8.3.i386.rpm
944d7530535c918535748eb0eeb064861d4c6cb2efadd4017b76c5f31d9ceb5a  
openoffice.org-javafilter-3.1.1-19.10.el5_8.3.i386.rpm
5592bc1ba4c60b53f064f52b24122a53f9fb9cc29b9d74189122c6c214498076  
openoffice.org-langpack-af_ZA-3.1.1-19.10.el5_8.3.i386.rpm
367e0d854d45343b89ac718f78485ee6f0761e8de8fe0f5b72eb520aa15d7724  
openoffice.org-langpack-ar-3.1.1-19.10.el5_8.3.i386.rpm
2aeab3a79b2277cea12f3f3c0140e77a2074ed86573eee0366b688177f242386  
openoffice.org-langpack-as_IN-3.1.1-19.10.el5_8.3.i386.rpm
04a10c0c890451e6ba10d34cb277b507a1b1de41f813c5198d840407983b67a1  
openoffice.org-langpack-bg_BG-3.1.1-19.10.el5_8.3.i386.rpm
45fcc74f64a6c69f62528da72ec3949c7a1efb4a0ac121729b3fd1ffc9d93b02  
openoffice.org-langpack-bn-3.1.1-19.10.el5_8.3.i386.rpm
d4601a5f73b068823eb0a12ce425368d20fe12cf91cb181127faae7a6b0f37fe  
openoffice.org-langpack-ca_ES-3.1.1-19.10.el5_8.3.i386.rpm
693aa7de0ec87bd9ee47a6962beb6fe5cd15c71328bb235a7c71f1df45f5d759  
openoffice.org-langpack-cs_CZ-3.1.1-19.10.el5_8.3.i386.rpm
cebf9b0a4f5e83938452fdb76f893eae26665d62f8aacab207f6fc2ad26b39f1  
openoffice.org-langpack-cy_GB-3.1.1-19.10.el5_8.3.i386.rpm
fc69e5763d7f1bcf99622af20402ae763fa0f1c220caf5e1e3160f9df55c1fec  
openoffice.org-langpack-da_DK-3.1.1-19.10.el5_8.3.i386.rpm
f6fbc7d3d66688bbe9547549cfbbeefca2e5ee975c44096f1c277b231689a73e  
openoffice.org-langpack-de-3.1.1-19.10.el5_8.3.i386.rpm
ecc7513abe299fa54e6bb051011879e9edb9107b71951612adf38421e48001d3  
openoffice.org-langpack-el_GR-3.1.1-19.10.el5_8.3.i386.rpm
57345fc15f5e0a8a83066f43a4ef5a89cbf97945877daee98fcef5ff70debb91  
openoffice.org-langpack-es-3.1.1-19.10.el5_8.3.i386.rpm
c94d70a0ad100b658954a47fe8c5d166d8f0f40ea40971acd25191ca93f03892  
openoffice.org-langpack-et_EE-3.1.1-19.10.el5_8.3.i386.rpm
7c70a265d2869068adaf89a3b611328a1913a965dcdac9ec553c1e46809cf075  
openoffice.org-langpack-eu_ES-3.1.1-19.10.el5_8.3.i386.rpm
3fdb212ab7fa7cf2e08ce6c76e2589a121740752128faac21b25300776d5bd6f  
openoffice.org-langpack-fi_FI-3.1.1-19.10.el5_8.3.i386.rpm
72232c8dd1b537563d2251938ad098c272be90d2174cf4103b2345ba66888a5f  
openoffice.org-langpack-fr-3.1.1-19.10.el5_8.3.i386.rpm
b602eac042063c58644d4ffcd8790801b22ca46f2b7b3fd8ec0f565d719f96f3  
openoffice.org-langpack-ga_IE-3.1.1-19.10.el5_8.3.i386.rpm
72b0a240f04f7a0e098f459a042078d7c2f35459e1ea7259cb063ac5ff702663  
openoffice.org-langpack-gl_ES-3.1.1-19.10.el5_8.3.i386.rpm
1d9c66e30c9804c77f5f8613ab23f2b92ca14aab2cc75f0d427407b0c7f93a36  
openoffice.org-langpack-gu_IN-3.1.1-19.10.el5_8.3.i386.rpm
cd82153cbbe24111b82b479afa4c3f06df77c7769e70db0b0c3868a01c1aa52d  
openoffice.org-langpack-he_IL-3.1.1-19.10.el5_8.3.i386.rpm
6bb0acd42a3dc038f3b035cd23091b5284fe97876abdbf749e75c903fa9d34f7  
openoffice.org-langpack-hi_IN-3.1.1-19.10.el5_8.3.i386.rpm
128c32840088862be639c9dce217448fcd99166e2fba2def1bf4f04ae125da8a  
openoffice.org-langpack-hr_HR-3.1.1-19.10.el5_8.3.i386.rpm
8bf9500cd77976c8f9931b8c8c3d0454991dd416a33e176d99864be052cec274  
openoffice.org-langpack-hu_HU-3.1.1-19.10.el5_8.3.i386.rpm
2a032f5f770c560563314058a0ceb2a6e28433b2ff170422b70d96e633d3fa4f  
openoffice.org-langpack-it-3.1.1-19.10.el5_8.3.i386.rpm
2387551a6bbf068b76017d8f14997965e31b1a7057f317dcfd8279fe39020a68  
openoffice.org-langpack-ja_JP-3.1.1-19.10.el5_8.3.i386.rpm
270c1b9ad690f941ce893ea06aeca5f52527be017b1e20ecdf5e7031db9feff3  
openoffice.org-langpack-kn_IN-3.1.1-19.10.el5_8.3.i386.rpm
42ec612885c7e704eb7df1e3c9c7997b3e238b5ad092560b7f8278dce19f6fbf  
openoffice.org-langpack-ko_KR-3.1.1-19.10.el5_8.3.i386.rpm
d1021e950a4aa6a724c1f6c8b499e24b0d31f5b1efa1677501f058b090868097  
openoffice.org-langpack-lt_LT-3.1.1-19.10.el5_8.3.i386.rpm
d93a1ff9e929a60f4f57ed13baf7c70060b9c220805edba7c8b9f1f209f7f7c6  
openoffice.org-langpack-ml_IN-3.1.1-19.10.el5_8.3.i386.rpm

[CentOS-announce] CESA-2012:0705 Important CentOS 6 openoffice.org Update

2012-06-05 Thread Johnny Hughes

CentOS Errata and Security Advisory 2012:0705 Important

Upstream details at : https://rhn.redhat.com/errata/RHSA-2012-0705.html

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


i386:
cca114303a2d0edfe0c67a468b8e1e82a2cc206e4e1e1dd9f84ed9adb3d31919  
autocorr-af-3.2.1-19.6.el6_2.7.noarch.rpm
c81ade2281f1eb5d3b179c351332bd8af0c4dccffd032e00d3f0919a1373bc21  
autocorr-bg-3.2.1-19.6.el6_2.7.noarch.rpm
b9a00bf128e4624eaae674f59b69dbc42b6ec976e64e7e1d6106a9116e297071  
autocorr-cs-3.2.1-19.6.el6_2.7.noarch.rpm
b946ff7d5955360b350081e6715e67944b1656be2b36db61d3e9ad3d747cd9e1  
autocorr-da-3.2.1-19.6.el6_2.7.noarch.rpm
e8e28c13a935131fee51b29075c02d35d9a05b23a5fddff8024b1e1fc982e0d7  
autocorr-de-3.2.1-19.6.el6_2.7.noarch.rpm
e6a6d6f30c382fae4eed36b5ae2c907419f178dd26f1d0946e826a34e54bdf2c  
autocorr-en-3.2.1-19.6.el6_2.7.noarch.rpm
00d66ad27d022c7266c29acbc2b4936845f89763d0933029fa8814af23ae0da8  
autocorr-es-3.2.1-19.6.el6_2.7.noarch.rpm
7e494530ac28458af99fd057fbe22a0c0ca764944f6bf544584959c36ddc502b  
autocorr-eu-3.2.1-19.6.el6_2.7.noarch.rpm
968cd8ea08ff524751f022042c37d359cb9446e495e99c40ef105dcb87295df4  
autocorr-fa-3.2.1-19.6.el6_2.7.noarch.rpm
fbf0542380de5ea1d2761f9787fef3e4fa646683b2a898c0ec7005243b85bc4e  
autocorr-fi-3.2.1-19.6.el6_2.7.noarch.rpm
3eac4cc4f78062f45059f1b9337ea82006ebd02de652398f237f45a429b71b51  
autocorr-fr-3.2.1-19.6.el6_2.7.noarch.rpm
c3ccf3a1ff4fa9105ab449170049740290003c04714a7a2300ccf71a2d5b9d72  
autocorr-ga-3.2.1-19.6.el6_2.7.noarch.rpm
8f2b0f659e745662b994d4dfc5ba2b17b82a9018ba88001291d5b782114e62a7  
autocorr-hu-3.2.1-19.6.el6_2.7.noarch.rpm
452eb5c853ca8214209285cd1e5f880ea23a7baec275d1e18471c6b9e540f141  
autocorr-it-3.2.1-19.6.el6_2.7.noarch.rpm
e0b95e268f7130366de716dc3e2162041db67e61a5c6cbcd5474901d678b4f9e  
autocorr-ja-3.2.1-19.6.el6_2.7.noarch.rpm
d5964e7aab4a7dbc3bb080273375a17afea94865018912523489e71086ab7d02  
autocorr-ko-3.2.1-19.6.el6_2.7.noarch.rpm
be19630f23580daa54763a6575a74eeea49f7b5f9a4d9de030f41917f920008e  
autocorr-lb-3.2.1-19.6.el6_2.7.noarch.rpm
b4b4fdd58804740fe3c60a8d2e831e0b8c24916b61ffd360d342badf1a800f1e  
autocorr-lt-3.2.1-19.6.el6_2.7.noarch.rpm
edeca5925aabc256594dcde164ea45b5efefe9f0e374b2d1db2a613360699594  
autocorr-mn-3.2.1-19.6.el6_2.7.noarch.rpm
51f981e1552d779cf0a909bdf81ae6d27211a366c54155c519a934f046e617e7  
autocorr-nl-3.2.1-19.6.el6_2.7.noarch.rpm
1127a523fd2f8c79c3cc7a3ce277b057a6f50e98d202f61bd6e37a25f2aca762  
autocorr-pl-3.2.1-19.6.el6_2.7.noarch.rpm
1806433285637bd75fcfebee97e6eca24e076d199282ea4493fe884843372bd0  
autocorr-pt-3.2.1-19.6.el6_2.7.noarch.rpm
79aff0982f2161afdbc7022877b321e1de96a694874667362c165badf84a4f4f  
autocorr-ru-3.2.1-19.6.el6_2.7.noarch.rpm
5d883a53bd253ea8a3a1d9dc4a61523934818b18b40de310fdd38e80d6e1d9d3  
autocorr-sk-3.2.1-19.6.el6_2.7.noarch.rpm
6936763ad701c16ad10979c5b779f99c3b2f7027aac1516332798ed65cb3fed3  
autocorr-sl-3.2.1-19.6.el6_2.7.noarch.rpm
ced18e44896c26fb838150badb9cb1d36778db0183dd8d40305c9db7438a8b9c  
autocorr-sv-3.2.1-19.6.el6_2.7.noarch.rpm
e8d89dbfe3c00579bd4d946b4a8a9bfe12f7386f29c273aeb6db6291866bc25a  
autocorr-tr-3.2.1-19.6.el6_2.7.noarch.rpm
9a21f74739c1e707e270d57c7c0724a173fd2b16b4d8bc100cfdbae7ce6734fc  
autocorr-vi-3.2.1-19.6.el6_2.7.noarch.rpm
70fd70a9f06a2266e3c84d96ac7df8325837d7a477df099ad529021477ef7000  
autocorr-zh-3.2.1-19.6.el6_2.7.noarch.rpm
686049451fb04c9b7e4cfc4e780cce1e4bc39b13e086160cd39fae8ada7c8c26  
broffice.org-base-3.2.1-19.6.el6_2.7.i686.rpm
71222930ee71794b1b4c6b785f8c73d42f69c7aa8feace4a4935cddef45607e1  
broffice.org-brand-3.2.1-19.6.el6_2.7.i686.rpm
43bf4a2d700aa25af48e9d1bd5e375b1c5c61f543b8eaff58016c3344d25042b  
broffice.org-calc-3.2.1-19.6.el6_2.7.i686.rpm
23d2055bc42b0d663c4f1e3c61202315e162fa284e5472a72640d6a59bd28f24  
broffice.org-draw-3.2.1-19.6.el6_2.7.i686.rpm
f89c8453c4fc293ad4b973ccf721b28141ca227afc301ccb5d3e8eba76dee367  
broffice.org-impress-3.2.1-19.6.el6_2.7.i686.rpm
225312fcc80a0487f6241eb74e9876f5cf215a81263918d6944025e65ece1197  
broffice.org-math-3.2.1-19.6.el6_2.7.i686.rpm
7983503925935fd8481428e7bf50e35075131ef197387bbdd3f0715ea5421c82  
broffice.org-writer-3.2.1-19.6.el6_2.7.i686.rpm
39f7bffc0c768f4086130c64717942e4fcd9ded24ab6c2d9f8441ec6af93fa90  
openoffice.org-base-3.2.1-19.6.el6_2.7.i686.rpm
ed4c880d74f585ca004bb0c63bd70f6005c53ce75ea2c1d5493ecd96000e1cc3  
openoffice.org-base-core-3.2.1-19.6.el6_2.7.i686.rpm
33b8bfa9b19aa57a389f8cfb8bcbf4fd7afd1a34e0a17edfeba93373a2bfb186  
openoffice.org-brand-3.2.1-19.6.el6_2.7.i686.rpm
e34adc6fc151dac62bb9e479026c479044ad4521134d4b633b846503cb5811c3  
openoffice.org-bsh-3.2.1-19.6.el6_2.7.i686.rpm
eb931c532f017f972c6e453ede5ffbe079e7a3b4c7aaf7d3fac0b6ec3bcd6f64  
openoffice.org-calc-3.2.1-19.6.el6_2.7.i686.rpm
3fd54672a4e7e998e6848b882b9d88dabaf671b7a310e9f5d5f5fa77450f26bb  
openoffice.org-calc-core-3.2.1-19.6.el6_2.7.i686.rpm
b9ffbac92504ae0c0c1afe8fc74a5ee5e292f0ebae86e7726e352bf64b8faceb  

[CentOS-announce] CEBA-2012:0708 CentOS 6 cyrus-imapd Update

2012-06-05 Thread Johnny Hughes

CentOS Errata and Bugfix Advisory 2012:0708 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2012-0708.html

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


i386:
315bb942e6e34cb73a06314d7391620440294150be80891806f0295745fbca8d  
cyrus-imapd-2.3.16-6.el6_2.5.i686.rpm
d69cf57d3167921889647a5956865d7b682f96b56edbdfbd36ccec30e93ff7bb  
cyrus-imapd-devel-2.3.16-6.el6_2.5.i686.rpm
a2aafd117dff90b6db7c550c38fe6fcc8ee60eddac50308ae2c74253938ede65  
cyrus-imapd-utils-2.3.16-6.el6_2.5.i686.rpm

x86_64:
3a64f43347de2535102dea28c9dbdeec31c993bf3165d925974481ba61cded7f  
cyrus-imapd-2.3.16-6.el6_2.5.x86_64.rpm
d69cf57d3167921889647a5956865d7b682f96b56edbdfbd36ccec30e93ff7bb  
cyrus-imapd-devel-2.3.16-6.el6_2.5.i686.rpm
ee2d7c8e3190675fa1e72650a3b629e2aa2d9d611f586de008f037ae3f38b127  
cyrus-imapd-devel-2.3.16-6.el6_2.5.x86_64.rpm
6c5720fdd154b12d5641b67269bae2889f63a00f85bba645c6dff3df76602655  
cyrus-imapd-utils-2.3.16-6.el6_2.5.x86_64.rpm

Source:
2657ee0d64cb0d9361885c98b6f04fb10f0965623d8cbc22005dd83d5eb59654  
cyrus-imapd-2.3.16-6.el6_2.5.src.rpm



-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net

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


[CentOS-es] Varias instancias de Postfix.

2012-06-05 Thread Carlos Sura
Buen día,

Estoy interesado en usar o más instancias de Postfix en CentOS. De hecho,
he logrado configurarlo y hacer correr una segunda instancia sin ningún
problema *-hasta ahorita- *.

Lo que sucede es, que yo quisiera saber si hay alguna manera de que las dos
instancias puedan compartir el puerto 25 (asumí que no por defecto)
entonces a la segunda instancia le asigne el puerto 2525. Se suponía o
supone que esto debe funcionar; de hecho lo hace, si uso el servidor SMTP
en el puerto 2525, pero si lo uso en puerto 25, solamente me usa la primera
instancia de Postfix, más no la segunda que corre en el puerto 2525, por lo
cual recurro a alguna recomendación para esto; según yo al tener las dos
instancias (cada una con una IP diferente) se iban a alternar... O es lo
que tenia planeado; pero aún si trato de enviar correos con la función MAIL
de PHP, me utiliza la primera instancia de Postfix *-la que instale por
defecto-.*
*
*
En realidad, el puerto es secundario, yo hice esto con la intención de
aumentar el volumen de correos a enviar al mismo tiempo, ya que Postfix es
muy limitado en eso al respecto; mi servidor es capable así que no hay
problema. Lo que quiero es: Si envío por ejemplo, 1000 correos por minuto
con una sola instancia, entonces teniendo dos instancias, debería enviar
2000 correos por minuto como mínimo (según mi lógica, corregirme si estoy
equivocado).

¿Por qué? tengo una infraestructura escalable a la que muchos, pero muchos
usuarios envían correos, ahora para garantizar que estos lleguen a la
bandeja de entrada, estoy usando Amazon SES (lo cual es independiente, pero
vale mencionar). Entonces, mis soluciones:

a. Instalar varias instancias de Postfix (lo que hice actualmente, pero
dado que corren en diferentes puertos o no sé si hice algo mal, no funciona
duplicando la cantidad de correos que puedo enviar por minuto, además si
utilizo la función MAIL de PHP y desactivo la primera instancia de Postfix,
este no envía correos. Pero si utilizo SMTP, entonces si funciona con la
segunda instancia y la otra IP).

b. Usar un MTA multi-threading como PowerMTA, pero es demasiado caro, de
momento antes de llegar a esta quiero ver soluciones sin costos elevados.

c. Amazon SES tiene un script en perl, lo probé pero la velocidad sigue
siendo igual, no cambio en nada; lo intenté modificar pero no vario mucho,
sigue lento.

d. Use un SMTP de Amazon SES pero llegan mucho más lentos.


Por lo cual amigos, la única solución viable que veo es
las múltiples instancias de Postfix, si alguien me puede indicar respecto a
los puertos o que sea independiente de ello y que se alternen se
lo agradeceré mucho, claro está que no necesito una gran explicación, solo
la base yo me las ingenio luego.

La idea es que teniendo dos instancias de Postfix se dupliquen, teniendo
tres instancias, obviamente se tripliquen la cantidad de correos a enviar
por minuto.

NOTA:
- Uso un solo dominio para salida de correos.
- Tengo 2 IPs no creo que requiera más, pero de ser necesario dispongo de
muchas más.
- CentOS 6.
- Postfix + Dovecot + MySQL + PostfixAdmin  (Cuentas de correo virtuales).
- Si tengo SPF y DKIM funcionando muy bien, incluso DMARC como Gmail
sugiere.
- No hacemos SPAM.
- Si soporta el ancho de banda.


¿Tendrá algo que ver con Dovecot?

En master.cf tengo:
# Dovecot LDA
dovecot   unix  - n n - - pipe flags=DRhu user=usuario:usuario
argv=/usr/libexec/dovecot/deliver -f ${sender} -d
${recipien$

y Amazon SES me obliga a usar el mismo, solo que no usando dovecot, sino
apuntando la ruta a su script.


éxitos,

-- 
Carlos Sura.-
www.carlossura.com
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Varias instancias de Postfix.

2012-06-05 Thread Carlos Sura
2012/6/5 Carlos Sura carlos.su...@googlemail.com

 Buen día,

 Estoy interesado en usar o más instancias de Postfix en CentOS. De hecho,
 he logrado configurarlo y hacer correr una segunda instancia sin ningún
 problema *-hasta ahorita- *.

 Lo que sucede es, que yo quisiera saber si hay alguna manera de que las
 dos instancias puedan compartir el puerto 25 (asumí que no por defecto)
 entonces a la segunda instancia le asigne el puerto 2525. Se suponía o
 supone que esto debe funcionar; de hecho lo hace, si uso el servidor SMTP
 en el puerto 2525, pero si lo uso en puerto 25, solamente me usa la primera
 instancia de Postfix, más no la segunda que corre en el puerto 2525, por lo
 cual recurro a alguna recomendación para esto; según yo al tener las dos
 instancias (cada una con una IP diferente) se iban a alternar... O es lo
 que tenia planeado; pero aún si trato de enviar correos con la función MAIL
 de PHP, me utiliza la primera instancia de Postfix *-la que instale por
 defecto-.*
 *
 *
 En realidad, el puerto es secundario, yo hice esto con la intención de
 aumentar el volumen de correos a enviar al mismo tiempo, ya que Postfix es
 muy limitado en eso al respecto; mi servidor es capable así que no hay
 problema. Lo que quiero es: Si envío por ejemplo, 1000 correos por minuto
 con una sola instancia, entonces teniendo dos instancias, debería enviar
 2000 correos por minuto como mínimo (según mi lógica, corregirme si estoy
 equivocado).

 ¿Por qué? tengo una infraestructura escalable a la que muchos, pero muchos
 usuarios envían correos, ahora para garantizar que estos lleguen a la
 bandeja de entrada, estoy usando Amazon SES (lo cual es independiente, pero
 vale mencionar). Entonces, mis soluciones:

 a. Instalar varias instancias de Postfix (lo que hice actualmente, pero
 dado que corren en diferentes puertos o no sé si hice algo mal, no funciona
 duplicando la cantidad de correos que puedo enviar por minuto, además si
 utilizo la función MAIL de PHP y desactivo la primera instancia de Postfix,
 este no envía correos. Pero si utilizo SMTP, entonces si funciona con la
 segunda instancia y la otra IP).

 b. Usar un MTA multi-threading como PowerMTA, pero es demasiado caro, de
 momento antes de llegar a esta quiero ver soluciones sin costos elevados.

 c. Amazon SES tiene un script en perl, lo probé pero la velocidad sigue
 siendo igual, no cambio en nada; lo intenté modificar pero no vario mucho,
 sigue lento.

 d. Use un SMTP de Amazon SES pero llegan mucho más lentos.


 Por lo cual amigos, la única solución viable que veo es
 las múltiples instancias de Postfix, si alguien me puede indicar respecto a
 los puertos o que sea independiente de ello y que se alternen se
 lo agradeceré mucho, claro está que no necesito una gran explicación, solo
 la base yo me las ingenio luego.

 La idea es que teniendo dos instancias de Postfix se dupliquen, teniendo
 tres instancias, obviamente se tripliquen la cantidad de correos a enviar
 por minuto.

 NOTA:
 - Uso un solo dominio para salida de correos.
 - Tengo 2 IPs no creo que requiera más, pero de ser necesario dispongo de
 muchas más.
 - CentOS 6.
 - Postfix + Dovecot + MySQL + PostfixAdmin  (Cuentas de correo virtuales).
 - Si tengo SPF y DKIM funcionando muy bien, incluso DMARC como Gmail
 sugiere.
 - No hacemos SPAM.
 - Si soporta el ancho de banda.


 ¿Tendrá algo que ver con Dovecot?

 En master.cf tengo:
 # Dovecot LDA
 dovecot   unix  - n n - - pipe flags=DRhu user=usuario:usuario
 argv=/usr/libexec/dovecot/deliver -f ${sender} -d
 ${recipien$

 y Amazon SES me obliga a usar el mismo, solo que no usando dovecot, sino
 apuntando la ruta a su script.


 éxitos,

 --
 Carlos Sura.-
 www.carlossura.com




Una última cosa más que olvide mencionar, en Postfix, en el archivo:
main.cfutilizo la siguiente línea:
alternate_config_directories = /etc/postfix-2   (dónde es la ruta para mi
segunda instancia)

-- 
Carlos Sura.-
www.carlossura.com
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Varias instancias de Postfix.

2012-06-05 Thread Yoinier Hernandez Nieves
El 05/06/2012 3:05, Carlos Sura escribió:
 2012/6/5 Carlos Suracarlos.su...@googlemail.com

 Buen día,

 Estoy interesado en usar o más instancias de Postfix en CentOS. De hecho,
 he logrado configurarlo y hacer correr una segunda instancia sin ningún
 problema *-hasta ahorita- *.

 Lo que sucede es, que yo quisiera saber si hay alguna manera de que las
 dos instancias puedan compartir el puerto 25 (asumí que no por defecto)
 entonces a la segunda instancia le asigne el puerto 2525. Se suponía o
 supone que esto debe funcionar; de hecho lo hace, si uso el servidor SMTP
 en el puerto 2525, pero si lo uso en puerto 25, solamente me usa la primera
 instancia de Postfix, más no la segunda que corre en el puerto 2525, por lo
 cual recurro a alguna recomendación para esto; según yo al tener las dos
 instancias (cada una con una IP diferente) se iban a alternar... O es lo
 que tenia planeado; pero aún si trato de enviar correos con la función MAIL
 de PHP, me utiliza la primera instancia de Postfix *-la que instale por
 defecto-.*
 *
 *
 En realidad, el puerto es secundario, yo hice esto con la intención de
 aumentar el volumen de correos a enviar al mismo tiempo, ya que Postfix es
 muy limitado en eso al respecto; mi servidor es capable así que no hay
 problema. Lo que quiero es: Si envío por ejemplo, 1000 correos por minuto
 con una sola instancia, entonces teniendo dos instancias, debería enviar
 2000 correos por minuto como mínimo (según mi lógica, corregirme si estoy
 equivocado).

 ¿Por qué? tengo una infraestructura escalable a la que muchos, pero muchos
 usuarios envían correos, ahora para garantizar que estos lleguen a la
 bandeja de entrada, estoy usando Amazon SES (lo cual es independiente, pero
 vale mencionar). Entonces, mis soluciones:

 a. Instalar varias instancias de Postfix (lo que hice actualmente, pero
 dado que corren en diferentes puertos o no sé si hice algo mal, no funciona
 duplicando la cantidad de correos que puedo enviar por minuto, además si
 utilizo la función MAIL de PHP y desactivo la primera instancia de Postfix,
 este no envía correos. Pero si utilizo SMTP, entonces si funciona con la
 segunda instancia y la otra IP).

 b. Usar un MTA multi-threading como PowerMTA, pero es demasiado caro, de
 momento antes de llegar a esta quiero ver soluciones sin costos elevados.

 c. Amazon SES tiene un script en perl, lo probé pero la velocidad sigue
 siendo igual, no cambio en nada; lo intenté modificar pero no vario mucho,
 sigue lento.

 d. Use un SMTP de Amazon SES pero llegan mucho más lentos.


 Por lo cual amigos, la única solución viable que veo es
 las múltiples instancias de Postfix, si alguien me puede indicar respecto a
 los puertos o que sea independiente de ello y que se alternen se
 lo agradeceré mucho, claro está que no necesito una gran explicación, solo
 la base yo me las ingenio luego.

 La idea es que teniendo dos instancias de Postfix se dupliquen, teniendo
 tres instancias, obviamente se tripliquen la cantidad de correos a enviar
 por minuto.

 NOTA:
 - Uso un solo dominio para salida de correos.
 - Tengo 2 IPs no creo que requiera más, pero de ser necesario dispongo de
 muchas más.
 - CentOS 6.
 - Postfix + Dovecot + MySQL + PostfixAdmin  (Cuentas de correo virtuales).
 - Si tengo SPF y DKIM funcionando muy bien, incluso DMARC como Gmail
 sugiere.
 - No hacemos SPAM.
 - Si soporta el ancho de banda.


 ¿Tendrá algo que ver con Dovecot?

 En master.cf tengo:
 # Dovecot LDA
 dovecot   unix  - n n - - pipe flags=DRhu user=usuario:usuario
 argv=/usr/libexec/dovecot/deliver -f ${sender} -d
 ${recipien$

 y Amazon SES me obliga a usar el mismo, solo que no usando dovecot, sino
 apuntando la ruta a su script.


 éxitos,

 --
 Carlos Sura.-
 www.carlossura.com




 Una última cosa más que olvide mencionar, en Postfix, en el archivo:
 main.cfutilizo la siguiente línea:
 alternate_config_directories = /etc/postfix-2   (dónde es la ruta para mi
 segunda instancia)

Carlos, has notado si el limite de los emails te lo hace el proceso en 
el CPU, Memoria o en la Ethernet? puede que quien te este capando la 
cantidad de envios de email no sea el postfix, sino carga en el sistema, 
has analizado esto?

Porque en lugar de levantar dos instancias del Postfix, no pones dos 
servidores, cada uno con su instancia y haces balanceo de carga entre 
ambos??

Un saludo.

Yo.


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


Re: [CentOS] XEN or KVM - performance/stability/security?

2012-06-05 Thread Pasi Kärkkäinen
On Sat, May 12, 2012 at 02:38:34PM -0400, Steve Thompson wrote:
 On Sun, 6 May 2012, Pasi Kärkkäinen wrote:
 
 with fork performance I assume you're comparing Xen PV to KVM ?
 Yes, PV has disadvantage (per design) for that workload, since the hypervisor
 needs to check and verify each new process page table, and that has some 
 performance hit.
 For good fork performance you can use Xen HVM VMs, which will perform well 
 for that workload,
 and won't have the mentioned performance hit.
 
 I used both PV and HVM VMs. I don't have the details to hand at the
 moment, but KVM was superior to both. PV drivers where applicable. I
 have been running KVM for about 15 months now, with 30 VM's on one
 host and 38 VM's on another. It has been solid; no problems, but
 unfortunately I had
 problems with Xen.
 

And Xen has been rock solid on my production systems.
So it depends :)

-- Pasi

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


Re: [CentOS] XEN or KVM - performance/stability/security?

2012-06-05 Thread Pasi Kärkkäinen
On Fri, May 11, 2012 at 03:46:43PM -0700, Gordon Messmer wrote:
 A late reply, but hopefully a useful set of feedback for the archives:
 
 On 04/20/2012 05:59 AM, Rafa?? Radecki wrote:
  Key factors from my opint of view are:
  - stability (which one runs more smoothly on CentOS?)
 
 I found that xenconsoled could frequently crash in Xen dom0, and that 
 guests would be unable to reboot until it was fixed.  I also found that 
 paravirt CentOS domUs would not boot if they were updated before the 
 dom0.


This was a problem in RHEL5/CentOS5 Xen. It was fixed in upstream Xen years ago.
I think it was fixed finally in RHEL5/CentOS5 Xen in 5.7 or 5.8.

The workaround was to simply kill+restart xenconsoled. No reboot required.
Also I think the xenconsoled bug only happened on 32bit hosts.

  In short, Xen paravirt was very fragile and troublesome.  I never 
 tested Xen with hardware virtualization.
 

Xen PV has been rock solid for me :)

 I have had no such problems with KVM.  In my experience KVM is much more 
 stable than Xen paravirtualization.  Xen HVM probably would suffer at 
 least some of the same problems.
 

You should compare Xen HVM with KVM, and you said you haven't been running Xen 
HVM.

 
 There have been bugs that allow guests to escalate privileges and access 
 host resources, but they're relatively few.  I don't think there's a 
 significant difference between the two in this area.
 
 Overall I advise the use of KVM.  It should be more stable, and has the 
 advantage of Red Hat support.
 

Xen is supported by Red Hat support in RHEL5.

-- Pasi

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


[CentOS] gnome / gdm mess

2012-06-05 Thread Philippe Naudin
Hello,

My first attempt to install Gnome is not a bright success.

If I boot in runlevel 5, using gdm, I get the login screen, but after
login I get sometimes only the root window (no icons, no toolbar, no
menu, nothing but keyboard shortcuts), sometimes the icons are here but
not the toolbars...

If I use startx from runlevel 3, everything is fine.

As I don't know Gnome, I have very probably messed something during
install (CentOS-6, x86_64, using uptodate netinstall iso, starting
from Minimal Desktop). But I have no clue about where to look, or how
to debug it. 

Can someone point me to some useful doc ?

P.S. I'm surprised to see gdm and X running on tty1 (in runlevel 5,
not 3). Is it correct ? 

Thanks for your help,

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


[CentOS] R packaging question

2012-06-05 Thread Weiner, Michael
I have been working on packaging (for internal use only) multiple
versions of R (eg 2.14.1, 2.14.2, 2.15.0) such that I can install these
RPMs and provide the different versions of R (especially 2.14.x and
2.15.x) to the biostatisticians that require them. I have been messing
around with the R.spec file but I have been unable to get the package to
provide R in the location I would like:

/usr/lib64/R-2.14.1/
/usr/lib64/R-2.15.0/

Now I know this can be done but I am just having some difficulty in
getting it to work correctly. I have tried multiple variations in the
spec playing with adding -%{version} to the paths within the spec file,
as well as even using -libdir=/usr/lib64/R-%{version} which  works to a
point, but basically provides:

/usr/lib64/R-2.14.1/R/
/usr/lib64/R-2.15.0/R/

I have attached the spec file I have been modifying and would appreciate
any insights into getting this packaging correct.

Thank you in advance for any assistance
Michael Weiner

===

 Please consider the environment before printing this e-mail

Cleveland Clinic is ranked one of the top hospitals
in America by U.S.News  World Report (2010).  
Visit us online at http://www.clevelandclinic.org for
a complete listing of our services, staff and
locations.


Confidentiality Note:  This message is intended for use
only by the individual or entity to which it is addressed
and may contain information that is privileged,
confidential, and exempt from disclosure under applicable
law.  If the reader of this message is not the intended
recipient or the employee or agent responsible for
delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  If
you have received this communication in error,  please
contact the sender immediately and destroy the material in
its entirety, whether electronic or hard copy.  Thank you.

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


Re: [CentOS] gnome / gdm mess

2012-06-05 Thread Steven Tardy
On 06/05/2012 06:03 AM, Philippe Naudin wrote:
 Can someone point me to some useful doc ?

google:
site:docs.redhat.com install gnome
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] How to rotate PHP error log - since it belongs to apache

2012-06-05 Thread Alexander Farber
Hello,

I'm using CentOS 6.2 with the stock rpm
php-5.3.3-3.el6_2.8.x86_64
and the following /etc/php.ini file:

  error_reporting = E_ALL  ~E_DEPRECATED
  display_errors = Off
  error_log = /var/log/php/php_errors.log

and that file is very useful for me because I have many custom
PHP-scripts at my site, but that file keeps growing too... :-)

So my question is for how to rotate it (esp. since it should
be owned by apache user) - what do you guys use?

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


Re: [CentOS] How to rotate PHP error log - since it belongs to apache

2012-06-05 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alexander Farber said the following on 05/06/12 15:57:

 So my question is for how to rotate it (esp. since it should be owned by
 apache user) - what do you guys use?

the standard logrotate config /etc/logrotate.d/httpd or a modified copy of it

since the rotation moves the old log and then reloads Apache, you don't have
to worry about the ownership issue



Ciao,
luigi

- -- 
/
+--[Luigi Rosa]--
\

First Law of Socio-Genetics: Celibacy is not hereditary.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/OEeAACgkQ3kWu7Tfl6ZR5xACdGmRGc9sSBZVRiZy1pzuTBVv/
qsEAoKR1NfYc7lYMhtIwuYEtZd+0Rlfk
=jRtF
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to rotate PHP error log - since it belongs to apache

2012-06-05 Thread Alexander Farber
Hello Luigi and others,

On Tue, Jun 5, 2012 at 4:04 PM, Luigi Rosa li...@luigirosa.com wrote:
 Alexander Farber said the following on 05/06/12 15:57:

 So my question is for how to rotate it (esp. since it should be owned by
 apache user) - what do you guys use?

 the standard logrotate config /etc/logrotate.d/httpd or a modified copy of it

 since the rotation moves the old log and then reloads Apache, you don't have
 to worry about the ownership issue

yes, I'm aware of that file and have modified
the docs path in it because I have several vhosts too...

Here is my current /etc/logrotate.d/httpd file:

/var/log/httpd/my_vhost_1/*log {
missingok
notifempty
sharedscripts
delaycompress
postrotate
/sbin/service httpd reload  /dev/null 2/dev/null || true
endscript
}

But my problem is I don't know how to do it best -
i.e. where to put the PHP log file
/var/log/php/php_errors.log
in the directives above and also how to rotate
the logs for all vhosts I have (I currently rotate just
for one - the my_vhost_1 as you can see above)

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


Re: [CentOS] How to rotate PHP error log - since it belongs to apache

2012-06-05 Thread Alexander Farber
And also the files I rotate by the
 /etc/logrotate.d/httpd
belong to root and not Apache

# ls -al /var/log/httpd/my_vhost_1/
-rw-r--r--. 1 root root 144298773 Jun  5 16:17 access_log
-rw-r--r--. 1 root root 391503903 May 13 03:18 access_log-20120513
-rw-r--r--. 1 root root 369049605 May 20 03:35 access_log-20120520
-rw-r--r--. 1 root root 373837973 May 27 03:18 access_log-20120527
-rw-r--r--. 1 root root 381816772 Jun  3 03:32 access_log-20120603
-rw-r--r--. 1 root root  2854 Jun  5 14:01 error_log
-rw-r--r--. 1 root root  4255 May 13 00:40 error_log-20120513
-rw-r--r--. 1 root root  5580 May 19 20:17 error_log-20120520
-rw-r--r--. 1 root root  6634 May 27 00:17 error_log-20120527
-rw-r--r--. 1 root root  6014 Jun  3 02:46 error_log-20120603
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] rsyslog.conf - why the - in this entry? mail.* -/var/log/maillog

2012-06-05 Thread James B. Byrne
In dealing with an unrelated issue I came across this in rsyslog.conf.

# The authpriv file has restricted access.
authpriv.*   /var/log/secure
# Log all the mail messages in one place.
mail.*   -/var/log/maillog
# Log cron stuff
cron.*   /var/log/cron

Why is there a - before /var/log/maillog?  This character is not
present before any of the other log files specified in
/etc/rsyslog.conf.  I have looked in the documents to discover the
purpose of the leading - character in the mail log file
specification but either I missed the reference or it is not there to
be found.


-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte  Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

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


[CentOS] custom kernel build

2012-06-05 Thread Jerry Geis
Hi all,

I have donwloaded 2.6.32.59 from kernel.org,
extracted the source, did make menuconfig to select/deselect items
then did make bzImage, make modules, make modules_install, make install
and rebooted. first message I got was that ext4 was not supported.

So I verified that ext4 was selected and it was. So I looked at the size 
of the
/boot/initramfs* items. My custom one is really small compared to the 
normal one.

My question is - what controls the items that get put in there (the 
initramfs stuff)
when you do a make install for a custom kernel?

Clearly it is not picking up the normal centos items that are in the 
other initramfs files.

Thanks,

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


[CentOS] 75% - 80% Rebuild Complete

2012-06-05 Thread Gene Poole
First I want to thank all of you who responded to me both on this list and 
in the CentOS wiki. Your responses helped greatly! 

I want to say that if you are running CentOS 5 and you do not have a 
overriding reason to go to CentOS 6, stay where you are.  It was so much 
easier installing CentOS 6 on a new machine, migrating is next to 
impossible. 

Here's where I am today: 
1.  The base DVD install would not allow me to run the gnome desktop 
at 1920x1080 resolution with the default nVidia driver, the highest 
resolution I could obtain was 1024x768. However the text screen worked 
just fine after I introduced the video=1920x1080 in the grub.conf file. 
2.  When I installed the nVidia closed source drivers, the gnome 
desktop ran perfectly in the high resolution mode. The text mode then 
dropped to 1024x768 even though it retained the video=1920x1080 parameter 
(could it be those blacklist parameters introduced to disable the noveau 
drivers?). 
3.  During the installation I instituted software raid-1 along with 
LVM.  It all worked perfectly until I got to the Boot Loader screen and 
instead of using the default (/dev/sda) I used what I thought would work 
in a raid-1 environment IF one of the hard drives went bad.  I chose to 
install the boot loader in /dev/md0.  Of course it would not boot.  I 
recovered from this by going through the install and choosing to upgrade a 
existing installation and it allowed me to place the boot loader in 
/dev/sda.  What that leaves me with is a raid-1 environment that works 
great as long as /dev/sda remains.  How do I fix that??? 
4.  I still need to add all of those extra repositories (adobe; 
webmin; rpmfusion; etc). 
5.  I'm still trying to decide if I want a high resolution text screen 
(that I would use almost everyday) or a high resolution GUI screen (that 
I'll only use for certain application installs)???

At my 'real' job, we use RHEL and we've done some things using RHEL 6.2 
for POC (Proof Of Concept) projects.  With a POC, we install using a 
standard installation DVD (as opposed to using our RH Satellite Server). 
All of this to say that there are application installation options that 
really fit the needs of a server installation, you can choose 'Server' and 
'Server GUI', which installs the gnome GUI without selecting a desktop 
environment..  Some things we run require a GUI to install (Oracle DB; IBM 
DB2 UDB; IBM WebSphere; etc.).  How do I select this type of environment 
using CentOS 6.2? In other words, I'm running CentOS 6.2 x86_64 Desktop 

TIA,
Gene Poole

+ It's impossible for everything to be true. +
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] custom kernel build

2012-06-05 Thread Akemi Yagi
On Tue, Jun 5, 2012 at 7:42 AM, Jerry Geis ge...@pagestation.com wrote:

 Clearly it is not picking up the normal centos items that are in the
 other initramfs files.

Because you did not build the kernel 'CentOS' way:

http://wiki.centos.org/HowTos/Custom_Kernel

Also, if you are building from a vanilla kernel (kernel.org), you may
want to look at kernel-ml from ELRepo.

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


Re: [CentOS] How to rotate PHP error log - since it belongs to apache

2012-06-05 Thread John Doe
From: Alexander Farber alexander.far...@gmail.com

 And also the files I rotate by the
 /etc/logrotate.d/httpd
 belong to root and not Apache

Maybe check the create option in the man page...

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


Re: [CentOS] rsyslog.conf - why the - in this entry? mail.* -/var/log/maillog

2012-06-05 Thread Steven Tardy
On 06/05/2012 09:30 AM, James B. Byrne wrote:
 In dealing with an unrelated issue I came across this in rsyslog.conf.
 mail.*   -/var/log/maillog

 Why is there a - before /var/log/maillog?

man syslog.conf
 You may prefix each entry with the minus ‘‘-’’ sign to omit 
syncing the
 file  after every logging.  Note that you might lose 
information if the
 system crashes right behind a write attempt.  Nevertheless 
this  might
 give you back some performance, especially if you run programs 
that use
 logging in a very verbose manner.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] mysql

2012-06-05 Thread Steve Clark
Hello List,

I see that installing mysql in Centos 6.x creates a mysql user
with a login shell of /bin/bash.  Is a default password also installed?

I certainly hope not, but it makes me nervous.

-- 
Stephen Clark
*NetWolves*
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.cl...@netwolves.com
http://www.netwolves.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rsyslog.conf - why the - in this entry? mail.* -/var/log/maillog

2012-06-05 Thread Philippe Naudin
Le mar. 05 juin 2012 10:30:25 CEST, James B. Byrne a écrit:

 In dealing with an unrelated issue I came across this in rsyslog.conf.
 
 # The authpriv file has restricted access.
 authpriv.*   /var/log/secure
 # Log all the mail messages in one place.
 mail.*   -/var/log/maillog
 # Log cron stuff
 cron.*   /var/log/cron
 
 Why is there a - before /var/log/maillog?  This character is not
 present before any of the other log files specified in
 /etc/rsyslog.conf.

It means that writing to this logfile is not followed by a sync.


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


Re: [CentOS] rsyslog.conf - why the - in this entry? mail.* -/var/log/maillog

2012-06-05 Thread Leonard den Ottolander
Hello James,

On Tue, 2012-06-05 at 10:30 -0400, James B. Byrne wrote:
 In dealing with an unrelated issue I came across this in rsyslog.conf.
 
 # The authpriv file has restricted access.
 authpriv.*   /var/log/secure
 # Log all the mail messages in one place.
 mail.*   -/var/log/maillog
 # Log cron stuff
 cron.*   /var/log/cron
 
 Why is there a - before /var/log/maillog?

Better question than it appears at first glance ;) . Nothing in man
rsyslog.conf on C6, but on C5 man syslog.conf it says under ACTIONS,
Regular File: 

You may prefix each entry with the minus ‘‘-’’ sign to omit syncing the
file  after every logging.  Note that you might lose information if the
system crashes right behind a write attempt.  Nevertheless  this  might
give you back some performance, especially if you run programs that use
logging in a very verbose manner.

Now whether that minus is still supported under C6 I can't tell you :) .

Regards,
Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research


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


Re: [CentOS] custom kernel build

2012-06-05 Thread Jerry Geis

 Because you did not build the kernel 'CentOS' way:

 http://wiki.centos.org/HowTos/Custom_Kernel

 Also, if you are building from a vanilla kernel (kernel.org), you may
 want to look at kernel-ml from ELRepo.

Ok - is there a way to build just a module that disables the PAE code?
I'm running on a smaller CPU.

Thanks,

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


Re: [CentOS] mysql

2012-06-05 Thread Leonard den Ottolander
Hello Steve,

On Tue, 2012-06-05 at 10:57 -0400, Steve Clark wrote:
 I see that installing mysql in Centos 6.x creates a mysql user
 with a login shell of /bin/bash.  Is a default password also installed?
 
 I certainly hope not, but it makes me nervous.

See for yourself:

# grep mysql /etc/shadow
mysql:!!:15404::

Regards,
Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research


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


Re: [CentOS] custom kernel build

2012-06-05 Thread Akemi Yagi
On Tue, Jun 5, 2012 at 8:07 AM, Jerry Geis ge...@pagestation.com wrote:

 Because you did not build the kernel 'CentOS' way:

 http://wiki.centos.org/HowTos/Custom_Kernel

 Also, if you are building from a vanilla kernel (kernel.org), you may
 want to look at kernel-ml from ELRepo.

 Ok - is there a way to build just a module that disables the PAE code?
 I'm running on a smaller CPU.

You'd have to modify the config to disable PAE. I suggest you first
try the NONPAE version of ELRepo's kernel-ml to see if that works on
your hardware.

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


Re: [CentOS] 75% - 80% Rebuild Complete

2012-06-05 Thread Les Mikesell
On Tue, Jun 5, 2012 at 9:47 AM, Gene Poole gene.po...@macys.com wrote:

 3.      During the installation I instituted software raid-1 along with
 LVM.  It all worked perfectly until I got to the Boot Loader screen and
 instead of using the default (/dev/sda) I used what I thought would work
 in a raid-1 environment IF one of the hard drives went bad.  I chose to
 install the boot loader in /dev/md0.  Of course it would not boot.  I
 recovered from this by going through the install and choosing to upgrade a
 existing installation and it allowed me to place the boot loader in
 /dev/sda.  What that leaves me with is a raid-1 environment that works
 great as long as /dev/sda remains.  How do I fix that???

The MBR isn't mirrored, so you just have to install grub on the other
drive, usually by executing grub, then:
grub root (hd1,0)
grub setup (hd1)
but the numbers depend on how bios sees the alternate drive when the
primary dies.   It is always a good idea to practice re-installing
grub from an install disk booted in rescue mode so you know how to fix
things even if you have to move your mirror disk into the primary
position to make it boot.

 5.      I'm still trying to decide if I want a high resolution text screen
 (that I would use almost everyday) or a high resolution GUI screen (that
 I'll only use for certain application installs)???

If you sit at the machine, you probably want a high res gui and to do
text work in terminal windows.  If you don't sit at the machine you
probably don't even want X installed for the console.  Run freenx for
occasional (or even regular) remote GUI access, or use ssh with X
forwarding for single GUI applications at a time.

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


Re: [CentOS] rsyslog.conf - why the - in this entry? mail.* -/var/log/maillog

2012-06-05 Thread Jerry Franz
On 06/05/2012 07:30 AM, James B. Byrne wrote:
 In dealing with an unrelated issue I came across this in rsyslog.conf.
 [...]
 Why is there a - before /var/log/maillog?
[...]

A leading '-' indicates the the log is written asynchronously. It is a 
performance tune to keep writing the syslog from thrashing the system 
with syncs. See http://www.rsyslog.com/doc/rsyslog_conf_actions.html

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


Re: [CentOS] rsyslog.conf - why the - in this entry? mail.* -/var/log/maillog

2012-06-05 Thread Philippe Naudin
Le mar. 05 juin 2012 17:06:32 CEST, Leonard den Ottolander a écrit:

 Hello James,
 
 On Tue, 2012-06-05 at 10:30 -0400, James B. Byrne wrote:
  In dealing with an unrelated issue I came across this in rsyslog.conf.
  
  # The authpriv file has restricted access.
  authpriv.*   /var/log/secure
  # Log all the mail messages in one place.
  mail.*   -/var/log/maillog
  # Log cron stuff
  cron.*   /var/log/cron
  
  Why is there a - before /var/log/maillog?
 
 Better question than it appears at first glance ;) . Nothing in man
 rsyslog.conf on C6, but on C5 man syslog.conf it says under ACTIONS,
 Regular File: 
 
 You may prefix each entry with the minus ‘‘-’’ sign to omit syncing the
 file  after every logging.  Note that you might lose information if the
 system crashes right behind a write attempt.  Nevertheless  this  might
 give you back some performance, especially if you run programs that use
 logging in a very verbose manner.
 
 Now whether that minus is still supported under C6 I can't tell you :) .

It seems this is no more necessary.
From http://www.rsyslog.com/doc/v3compatibility.html : In rsyslog v3,
syncing has been turned off by default.
OTOH, it doesn't hurt do let the minus sign in place.


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


Re: [CentOS] mysql

2012-06-05 Thread Steve Clark
On 06/05/2012 11:13 AM, Leonard den Ottolander wrote:
 See for yourself:

 # grep mysql /etc/shadow
 mysql:!!:15404::
Ah - good,  from man 5 shadow...

   encrypted password
Refer to crypt(3) for details on how this string is interpreted.

If the password field contains some string that is not a valid 
result of crypt(3), for
instance ! or *, the user will not be able to use a unix password 
to log in (but the user
may log in the system by other means).

This field may be empty, in which case no passwords are required to 
authenticate as the
specified login name. However, some applications which read the 
/etc/shadow file may
decide not to permit any access at all if the password field is 
empty.

A password field which starts with a exclamation mark means that 
the password is locked.
The remaining characters on the line represent the password field 
before the password was
locked.

-- 
Stephen Clark
*NetWolves*
Director of Technology
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.cl...@netwolves.com
http://www.netwolves.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] What to use on CentOS 6.2 w/ an Epson Stylus Photo 2200

2012-06-05 Thread m . roth
Epson doesn't seem to have one; I see an rpm at openprinting.org, but that
.rpm d/l I started around 11:30 my time, and the d/l slowed, and slowed,
and it's been at 21% and 1 hr 17 min to go for it seems like close to
half an hour. I d/l a tar.bz2, but I'm not sure I want to build and
install it - my use of this printer is temporary, and I want to be able to
uninstall it all.

I also can't seem to find what some of the Epson drivers in the std.
CentOS CUPS packages handle. Anyone have any pointers?

   mark

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


Re: [CentOS] How to rotate PHP error log - since it belongs to apache

2012-06-05 Thread Andre Goree
On 06/05/2012 10:15 AM, Alexander Farber wrote:
 Hello Luigi and others,
 
 On Tue, Jun 5, 2012 at 4:04 PM, Luigi Rosa li...@luigirosa.com wrote:
 Alexander Farber said the following on 05/06/12 15:57:

 So my question is for how to rotate it (esp. since it should be owned by
 apache user) - what do you guys use?

 the standard logrotate config /etc/logrotate.d/httpd or a modified copy of it

 since the rotation moves the old log and then reloads Apache, you don't have
 to worry about the ownership issue
 
 yes, I'm aware of that file and have modified
 the docs path in it because I have several vhosts too...
 
 Here is my current /etc/logrotate.d/httpd file:
 
 /var/log/httpd/my_vhost_1/*log {
 missingok
 notifempty
 sharedscripts
 delaycompress
 postrotate
 /sbin/service httpd reload  /dev/null 2/dev/null || true
 endscript
 }
 
 But my problem is I don't know how to do it best -
 i.e. where to put the PHP log file
 /var/log/php/php_errors.log
 in the directives above and also how to rotate
 the logs for all vhosts I have (I currently rotate just
 for one - the my_vhost_1 as you can see above)
 
 Regards
 Alex
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


Create a different file under /etc/logrotate.d (perhaps name it
phplog, doesn't really mater though) and add the appropriate
configuration options.  I used this website to help me with the
necessary options (though the man page is more than sufficient as well):
 http://www.thegeekstuff.com/2010/07/logrotate-examples/

Here is a custom logrotate conf I created for my catalina logs:


[root@390405-web1 images]# cat /etc/logrotate.d/tomcat
/opt/apache-tomcat-5.5.34/logs/catalina.out {
 daily
 copytruncate
 delaycompress
 missingok
 postrotate
/root/bin/catlog_mv.sh
 endscript
}


If you were wanting to rotate according to the size of the file (perhaps
512MB, whatever works for you though) owned by apache, you might create
a file under /etc/logrotate.d/ containing something like the following:

/var/log/php/php_errors.log {
 size 512MB
 create 644 apache apache
 missingok
 compress
}


There's all kinds of other options you can add as well.  Read the
article I linked earlier and/or the man page, it's really pretty
trivial.  Good luck :)

-- 
Andre Goree
an...@drenet.info
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] What to use on CentOS 6.2 w/ an Epson Stylus Photo 2200

2012-06-05 Thread b.j. mcclure



 Epson doesn't seem to have one; I see an rpm at openprinting.org, but that
 .rpm d/l I started around 11:30 my time, and the d/l slowed, and slowed,
 and it's been at 21% and 1 hr 17 min to go for it seems like close to
 half an hour. I d/l a tar.bz2, but I'm not sure I want to build and
 install it - my use of this printer is temporary, and I want to be able to
 uninstall it all.
 
 I also can't seem to find what some of the Epson drivers in the std.
 CentOS CUPS packages handle. Anyone have any pointers?
 
mark
__
snip

Mark, this system was installed as 6.0 and upgraded to 6.2. 

In /etc/cups/ppd I see two files re Epson 2200 Stylus Photo:
 EPSON_Stylus_Photo_2200_USB_1.ppd and Stylus_Photo_2200.ppd.

These were installed from install DVD. No known issues here.  HTH.

B.J.

-- 
b.j. mcclure keepert...@bellsouth.net

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


Re: [CentOS] What to use on CentOS 6.2 w/ an Epson Stylus Photo 2200

2012-06-05 Thread m . roth
b.j. mcclure wrote:

 Epson doesn't seem to have one; I see an rpm at openprinting.org, but
 that .rpm d/l I started around 11:30 my time, and the d/l slowed, and
slowed,
 and it's been at 21% and 1 hr 17 min to go for it seems like close to
 half an hour. I d/l a tar.bz2, but I'm not sure I want to build and
 install it - my use of this printer is temporary, and I want to be able
 to uninstall it all.

 I also can't seem to find what some of the Epson drivers in the std.
 CentOS CUPS packages handle. Anyone have any pointers?
 snip

 Mark, this system was installed as 6.0 and upgraded to 6.2.

 In /etc/cups/ppd I see two files re Epson 2200 Stylus Photo:
EPSON_Stylus_Photo_2200_USB_1.ppd and Stylus_Photo_2200.ppd.

 These were installed from install DVD. No known issues here.  HTH.

I found gutenprint, gutenprint-cups and gutenprint-foomatic, and installed
them. I found the printer. Restarted cups, and told it to print a test
page.

kernel: usblp0: on fire

*sigh*

  mark, not having a fun week

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


Re: [CentOS] Dual NVidia cards, dual monitor

2012-06-05 Thread Steven Chall

 Steven Chall wrote:
  I've just installed CentOS 6.2 on an HP xw8600 with two NVidia GeForce
  8800 GT video cards in it.  I have two Dell monitors than ran configured
  as a single contiguous desktop when this was a Windows 7 machine.  I've
  only been able to access one of the two monitors under CentOS, although
  the system demonstrates some awareness of the second GPU/monitor, because
 snip
 Either install the proprietary NVidia driver, d/l from their website, by
 hand, or install kmod-nvidia from elrepo, which will build it
 automagically. In either case, it will install an NVidia control panel in
 your menus, and you can select twinview.

mark, on a Dell Precision with that as he types

snip

Thanks, Mark, B.J., the elrepo route worked.  There was a small hitch in that 
the Twinview option wasn't available (it was present but grayed out) on the 
NVidia control panel, but entering nvidia-xconfig --twinview on the command 
line as root did the trick.

Steve

 
-Steve Chall
 Senior Research Software Developer
 Renaissance Computing Institute (RENCI)
 Phone: 919-681-9639
 Email: ste...@renci.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] cluster.conf validating, but cman not starting

2012-06-05 Thread Dirk
Hi all,

since the last yum update cman does not start any more with the 
following entries in /var/log/messages:

 Jun  5 20:50:39 pclus1cent6-02 corosync[1852]:   [MAIN  ] Corosync 
 Cluster Engine ('1.4.1'): started and ready to provide service.
 Jun  5 20:50:39 pclus1cent6-02 corosync[1852]:   [MAIN  ] Corosync 
 built-in features: nss dbus rdma snmp
 Jun  5 20:50:39 pclus1cent6-02 corosync[1852]:   [MAIN  ] Successfully 
 read config from /etc/cluster/cluster.conf
 Jun  5 20:50:39 pclus1cent6-02 corosync[1852]:   [MAIN  ] Successfully 
 parsed cman config
 Jun  5 20:50:39 pclus1cent6-02 corosync[1852]:   [MAIN  ] parse error 
 in config: parse error in config: .
 Jun  5 20:50:39 pclus1cent6-02 corosync[1852]:   [MAIN  ] Corosync 
 Cluster Engine exiting with status 8 at main.c:1680
But the cluster config is okay:
 [root@pclus1cent6-02 ~]# ccs_config_validate
 Configuration validates
Before the last yum update the cluster config was okay, cman started. 
The config has not been changed.

Has anyone run into this problem? Even disabling config validation in 
/etc/sysconfig/cman does not change this behaviour.

I am lost, and my cluster does not start. Any hint or help is highly 
appreciated.

Dirk

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


Re: [CentOS] cluster.conf validating, but cman not starting

2012-06-05 Thread Digimer
On 06/05/2012 03:30 PM, Dirk wrote:
 Hi all,

 since the last yum update cman does not start any more with the
 following entries in /var/log/messages:

 Jun  5 20:50:39 pclus1cent6-02 corosync[1852]:   [MAIN  ] Corosync
 Cluster Engine ('1.4.1'): started and ready to provide service.
 Jun  5 20:50:39 pclus1cent6-02 corosync[1852]:   [MAIN  ] Corosync
 built-in features: nss dbus rdma snmp
 Jun  5 20:50:39 pclus1cent6-02 corosync[1852]:   [MAIN  ] Successfully
 read config from /etc/cluster/cluster.conf
 Jun  5 20:50:39 pclus1cent6-02 corosync[1852]:   [MAIN  ] Successfully
 parsed cman config
 Jun  5 20:50:39 pclus1cent6-02 corosync[1852]:   [MAIN  ] parse error
 in config: parse error in config: .
 Jun  5 20:50:39 pclus1cent6-02 corosync[1852]:   [MAIN  ] Corosync
 Cluster Engine exiting with status 8 at main.c:1680
 But the cluster config is okay:
 [root@pclus1cent6-02 ~]# ccs_config_validate
 Configuration validates
 Before the last yum update the cluster config was okay, cman started.
 The config has not been changed.

 Has anyone run into this problem? Even disabling config validation in
 /etc/sysconfig/cman does not change this behaviour.

 I am lost, and my cluster does not start. Any hint or help is highly
 appreciated.

 Dirk

I've updated CentOS 6.x clusters without issue. Please paste you 
cluster.conf, obfuscating only passwords please.

-- 
Digimer
Papers and Projects: https://alteeve.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] XEN or KVM - performance/stability/security?

2012-06-05 Thread Gordon Messmer
On 06/04/2012 11:36 PM, Pasi Kärkkäinen wrote:

 Xen PV has been rock solid for me :)

Maybe, if we ignore the fact that you seem to be familiar with the 
problem of xenconsoled failing and preventing guests from booting.

 Xen is supported by Red Hat support in RHEL5.

Yes, and RHEL5 will be supported for several years.  However, there does 
not appear to be a plan to support Xen in the future, after RHEL5 
expires.  It would be irrational to invest time and money into training 
on Xen with no expectation that those skills will remain valuable in the 
future.

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


[CentOS] Errors in dmesg

2012-06-05 Thread Gregory Machin
Hi.

I have a RHEL server that has some errors in dmesg , what do they
mean, how do I fix them ?

mtrr: type mismatch for f900,80 old: write-back new: write-combining
mtrr: type mismatch for f900,100 old: write-back new: write-combining
mtrr: type mismatch for f9fe,1 old: write-back new: write-combining
mtrr: type mismatch for f9fc,2 old: write-back new: write-combining
mtrr: type mismatch for f9f8,4 old: write-back new: write-combining
mtrr: type mismatch for f9f0,8 old: write-back new: write-combining
mtrr: type mismatch for f9e0,10 old: write-back new: write-combining
mtrr: type mismatch for f9c0,20 old: write-back new: write-combining
mtrr: type mismatch for f980,40 old: write-back new: write-combining
mtrr: type mismatch for f900,80 old: write-back new: write-combining
mtrr: type mismatch for f9fe,1 old: write-back new: write-combining
mtrr: type mismatch for f9fc,2 old: write-back new: write-combining
mtrr: type mismatch for f9f8,4 old: write-back new: write-combining
mtrr: type mismatch for f9f0,8 old: write-back new: write-combining
mtrr: type mismatch for f9e0,10 old: write-back new: write-combining
mtrr: type mismatch for f9c0,20 old: write-back new: write-combining
mtrr: type mismatch for f980,40 old: write-back new: write-combining
mtrr: type mismatch for f900,80 old: write-back new: write-combining
input: AT Translated Set 2 keyboard as /class/input/input4
altera_installe[6598]: segfault at  rip
 rsp ffd6af2c error 14

INFO: task kjournald:1793 blocked for more than 120 seconds.
echo 0  /proc/sys/kernel/hung_task_timeout_secs disables this message.
kjournald D 810c6a193e40 0  1793843  1819  1789 (L-TLB)
 81183fdc9cf0 0046 810c3fbe4780 810c3f574600
 810c3f574600 000a 810c3f88f7e0 810c3e843860
 0011dd0b95e546c6 a1a4 810c3f88f9c8 000400074c00
Call Trace:
 [8006ecd9] do_gettimeofday+0x40/0x90
 [8005a3ad] getnstimeofday+0x10/0x29
 [800155a2] sync_buffer+0x0/0x3f
 [800637de] io_schedule+0x3f/0x67
 [800155dd] sync_buffer+0x3b/0x3f
 [80063a0a] __wait_on_bit+0x40/0x6e
 [800155a2] sync_buffer+0x0/0x3f
 [80063aa4] out_of_line_wait_on_bit+0x6c/0x78
 [800a34d6] wake_bit_function+0x0/0x23
 [88033e56] :jbd:journal_commit_transaction+0x968/0x10c2
 [8003d7d9] lock_timer_base+0x1b/0x3c
 [880376a3] :jbd:kjournald+0xc1/0x213
 [800a34a8] autoremove_wake_function+0x0/0x2e
 [880375e2] :jbd:kjournald+0x0/0x213
 [800a3290] keventd_create_kthread+0x0/0xc4
 [8003264c] kthread+0xfe/0x132
 [8005dfb1] child_rip+0xa/0x11
 [800a3290] keventd_create_kthread+0x0/0xc4
 [8003254e] kthread+0x0/0x132
 [8005dfa7] child_rip+0x0/0x11

INFO: task VBoxHeadless:20743 blocked for more than 120 seconds.
echo 0  /proc/sys/kernel/hung_task_timeout_secs disables this message.
VBoxHeadless  D 801563dc 0 20743  1   20742 (NOTLB)
 8107717ebd98 0086 000c717ebd18 0001
 0004 000a 810b3acfb040 810c400a4040
 0011dd0835789020 000161a0 810b3acfb228 00040092
Call Trace:
 [88036e55] :jbd:log_wait_commit+0xa3/0xf5
 [800a34a8] autoremove_wake_function+0x0/0x2e
 [8803179a] :jbd:journal_stop+0x1d3/0x203
 [8002f96a] __writeback_single_inode+0x1dd/0x31c
 [800f7454] sync_inode+0x24/0x33
 [8804c37e] :ext3:ext3_sync_file+0xce/0xf8
 [8004fe60] do_fsync+0x52/0xa4
 [800e48c9] __do_fsync+0x23/0x36
 [8005d28d] tracesys+0xd5/0xe0

INFO: task VBoxHeadless:20743 blocked for more than 120 seconds.
echo 0  /proc/sys/kernel/hung_task_timeout_secs disables this message.
VBoxHeadless  D 801563dc 0 20743  1   20742 (NOTLB)
 8107717ebd98 0086 000c717ebd18 0001
 0004 000a 810b3acfb040 810c400a4040
 0011dd0835789020 000161a0 810b3acfb228 00040092
Call Trace:
 [88036e55] :jbd:log_wait_commit+0xa3/0xf5
 [800a34a8] autoremove_wake_function+0x0/0x2e
 [8803179a] :jbd:journal_stop+0x1d3/0x203
 [8002f96a] __writeback_single_inode+0x1dd/0x31c
 [800f7454] sync_inode+0x24/0x33
 [8804c37e] :ext3:ext3_sync_file+0xce/0xf8
 [8004fe60] do_fsync+0x52/0xa4
 [800e48c9] __do_fsync+0x23/0x36
 [8005d28d] tracesys+0xd5/0xe0



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


Re: [CentOS] 75% - 80% Rebuild Complete

2012-06-05 Thread Eugene Poole
OK,  I'm about 90% sure that I've corrected the boot loader situation 
with RAID-1 and the second hard drive.  I haven't tested the correction, 
but here's what I did:

Examined the grub.conf file and noticed that hd0 uses (hd0,1), so
what followed was
grub

grub device (hd1) /dev/sdc
grub root (hd1,1)
grub setup (hd1)
after receiving the successful message
grub quit

I didn't rebuild the boot loader on /dev/sda because it is working (if 
it ain't broke don't fix it).
My situation is that I'm using 4 - 1 TB hard drives and I used the 
following pattern:

/dev/sda | /dev/sdc = First Raid -1 volume
/dev/sdb | /dev/sdd = Second Raid-1 volume

Thanks all for the suggestions and thoughts!

Gene


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


[CentOS] Mysql cluster vs. mysql-libs

2012-06-05 Thread Dennis Jacobfeuerborn
Hi,
it seems even a minimal install of Centos 6.2 now requires mysql-libs as a
dependency for postfix and cronie. When I try to install the mysql cluster
rpms from mysql.com I get a collision between the files.
Since this is the first time I get into contact with mysql cluster I wonder
if somebody has an idea how to resolve this or knows alternative packages
that don't conflict with mysql-libs?

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


Re: [CentOS] 75% - 80% Rebuild Complete

2012-06-05 Thread Markus Falb
On 5.6.2012 17:15, Les Mikesell wrote:
 On Tue, Jun 5, 2012 at 9:47 AM, Gene Poole 
 gene.poole-swiuadtplfgavxtiumw...@public.gmane.org wrote:

 3.  During the installation I instituted software raid-1 along with
 LVM.  It all worked perfectly until I got to the Boot Loader screen and
 instead of using the default (/dev/sda) I used what I thought would work
 in a raid-1 environment IF one of the hard drives went bad.  I chose to
 install the boot loader in /dev/md0.  Of course it would not boot.  I
 recovered from this by going through the install and choosing to upgrade a
 existing installation and it allowed me to place the boot loader in
 /dev/sda.  What that leaves me with is a raid-1 environment that works
 great as long as /dev/sda remains.  How do I fix that???
 
 The MBR isn't mirrored, so you just have to install grub on the other
 drive, usually by executing grub

There is an open bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=799501

I am irritated regularly about this. Because It WORKSFORME.
Of course the mbr isn't mirrored but at installation time it is written
to both disks.

I wipe the mbr of sdb, reinstall and after that
$ dd if=/dev/sdb count=1 bs=512|strings
shows something like GRUB, on *both disks*

in /root/anaconda-ks.cfg I find
bootloader --location=mbr --driveorder=sda,sdb ...

in the original kickstart there is
bootloader --location=mbr ...

I did it per kickstart, is this a problem with manual installs only?
Or only with upgrade mode (Gene said he used upgrade mode)?
But then again there is this bugzilla...
-- 
Kind Regards, Markus Falb



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos