[CentOS-announce] CESA-2009:1584 Important CentOS 5 i386 java-1.6.0-openjdk Update

2009-11-18 Thread Karanbir Singh

CentOS Errata and Security Advisory 2009:1584 Important

Upstream details at : https://rhn.redhat.com/errata/RHSA-2009-1584.html

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

i386:
161ce7c3a3234e39bb7798902fe90bf0  
java-1.6.0-openjdk-1.6.0.0-1.7.b09.el5.i386.rpm
8c1e087409b6e7ca930aac591a7150e8  
java-1.6.0-openjdk-demo-1.6.0.0-1.7.b09.el5.i386.rpm
100733463353ee725a2bed10aef6d7ee  
java-1.6.0-openjdk-devel-1.6.0.0-1.7.b09.el5.i386.rpm
f23aeacc4ec5e67d03f3f3e531af68eb  
java-1.6.0-openjdk-javadoc-1.6.0.0-1.7.b09.el5.i386.rpm
1cf7340c800b65fe132b5d9d136040cb  
java-1.6.0-openjdk-src-1.6.0.0-1.7.b09.el5.i386.rpm

Source:
5f29e3911f2fc807cb0de5fdb7137c7f  java-1.6.0-openjdk-1.6.0.0-1.7.b09.el5.src.rpm


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

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


[CentOS-announce] CESA-2009:1584 Important CentOS 5 x86_64 java-1.6.0-openjdk Update

2009-11-18 Thread Karanbir Singh

CentOS Errata and Security Advisory 2009:1584 Important

Upstream details at : https://rhn.redhat.com/errata/RHSA-2009-1584.html

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

x86_64:
67b5c789d3cc543a98aece3291cb029f  
java-1.6.0-openjdk-1.6.0.0-1.7.b09.el5.x86_64.rpm
026f7aff5a643d5725d20f25a9ae7f20  
java-1.6.0-openjdk-demo-1.6.0.0-1.7.b09.el5.x86_64.rpm
af5b9f22a93a31955956419584b04793  
java-1.6.0-openjdk-devel-1.6.0.0-1.7.b09.el5.x86_64.rpm
f6f522d7a9a601918eab70f47690ad32  
java-1.6.0-openjdk-javadoc-1.6.0.0-1.7.b09.el5.x86_64.rpm
ef539754cd3f506660c5bf800656dd4b  
java-1.6.0-openjdk-src-1.6.0.0-1.7.b09.el5.x86_64.rpm

Source:
5f29e3911f2fc807cb0de5fdb7137c7f  java-1.6.0-openjdk-1.6.0.0-1.7.b09.el5.src.rpm


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

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


[CentOS-virt] Xen domU default gateway missing/ARP table full

2009-11-18 Thread Ken Bass
I have been trying to figure out why my domU NIC becomes unreachable 
(could not even ping) at various times. (Normally when the server was 
trying to update clamav from the various busy mirrors at 4am). There 
also seemed to be some latency when connecting which I chalked up to it 
being a virtual machine.

When I checked my logs, I found thousands of :
Nov 17 04:07:52 nomad kernel: Neighbour table overflow.
and applications reporting errors such as:
Nov 17 04:08:05 nomad freshclam[4085]: nonblock_connect: connect(): fd=5 
errno=105: No buffer space available

I am running a routed (not bridged) configuration.

What I figured out is that each Centos 5.4 domU is maintaining an ARP 
table. That table is filling up which causes the network to be 
unreachable until entries are purged from the cache. Since this is a 
routed configuration, the ARP table should really only consist of two or 
three entries, my domU, my dom0, and the gateway.

It appears the networking-scripts until Centos are ignoring the GATEWAY 
entry. I end up with route of:
169.254.0.0 *   255.255.0.0 U 0  00 eth0
default *   0.0.0.0 U 0  00 eth0

The default route should be the specific IP address in my 
/etc/sysconfig/network file. When I manually add the route, the arp 
table issue
is fixed. The network stack no longer trys to query an arp entry for 
every IP address.

I found this bug at Xen which was closed as INVALID saying 'Centos is 
broken'. That was from 2006.
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=596

Any ideas on what is broken and what the correct fix is? Right now, I 
just added

/sbin/route add -net 0.0.0.0 netmask 0.0.0.0 gw x.x.x.x

to my /etc/rc.local which seems like a hack solution.

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


Re: [CentOS-es] Medir Tasa de Escritura / Lectura en Disco

2009-11-18 Thread Osvaldo Rivas
Eduardo, Gracias por la respuesta.
  - Original Message - 
  From: Eduardo Grosclaude 
  To: centos-es@centos.org 
  Sent: Tuesday, November 17, 2009 7:57 AM
  Subject: Re: [CentOS-es] Medir Tasa de Escritura / Lectura en Disco





  2009/11/17 Osvaldo Rivas spad...@gmail.com

Hola lista, quisiera verificar a que velocidad escribe y lee mi equipo en 
disco. Existe algún comando que pueda utilizar?. Tengo Discos SAS.

  Has visto sdparm? No dejes de estudiar el manual, puede tener opciones 
peligrosas.
  La versión del comando hdparm que tenemos en la distro me parece que no es 
apto para discos sdX (algún compañero puede aclarar esto?). El manual en línea 
de hdparm que está en http://linuxreviews.org/man/hdparm/ habla específicamente 
de SATA/SAS, pero difiere bastante del que tengo en mi CentOS 5.4 (que no los 
menciona).



  -- 
  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] Medir Tasa de Escritura / Lectura en Disco

2009-11-18 Thread Osvaldo Rivas
probé con hdparm

exactamente lo siguiente:

 hdparm -tT /dev/cciss/c0d0p1

y me arroja


/dev/cciss/c0d0p1:
 Timing cached reads:   19992 MB in  2.00 seconds = 9997.52 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for 
device
 Timing buffered disk reads:  286 MB in  3.01 seconds =  94.87 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for 
device

Estuve leyendo y no se si será porque el disco es SAS o es el problema que 
estoy buscando, ya que estoy tratando de medir la velocidad debido a que se me 
hace que las copias de archivos son muy lentas.

- Original Message - 
  From: Diego Mayol 
  To: centos-es@centos.org 
  Sent: Tuesday, November 17, 2009 6:24 AM
  Subject: Re: [CentOS-es] Medir Tasa de Escritura / Lectura en Disco


  Hola Osvaldo:

  ¿Qué tal si pruebas con hdparm?

  Ejemplo:

  #hdparm -tT /dev/i2o/hda

  Un saludo,
  DM

  El mar, 17-11-2009 a las 03:25 -0300, Osvaldo Rivas escribió: 
Hola lista, quisiera verificar a que velocidad escribe y lee mi equipo en 
disco. Existe algún comando que pueda utilizar?. Tengo Discos SAS. 
 
Desde ya, muchas gracias. 
___
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


[CentOS-es] Reunión sub-sitios localizados

2009-11-18 Thread Ernesto Celis
Buen día lista:

Hace un par de semanas Karanbir, uno de los desarrolladores de CentOS,
convocó a una sesión de 40 a 60 minutos vía VoIP, para discutir el avance y
/ o los planes de los sub-sitios localizados. Karanbir solicitó de ser
posible la presencia de miembros de las diferentes comunidades de usuarios
interesados en el tema, la cita es *hoy 18 de noviembre a las 17:45 UTC*.

Estoy enterado que varios de los miembros de esta lista siguen también la
lista CentOS-devel, pero no esta de más avisar,por aquello de los
despistados.

Durante la reunión que nosotros tuvimos en el canal #centos-es hace 3 meses
o un poco más, tocamos este tema; recuerdo que algunos mostramos interés por
participar en este esfuerzo.

Aquellos interesados estén pendientes en el IRC #centos, pues es por ese
medio que se notificará la dirección de VoIP donde se llevara a cabo la
reunión.

Para esto es necesario contar con un cliente de VoIP que se capá de conectar
a direcciones del tipo algo@centos.org, el idioma será Ingles (supongo),
pues se esta convocando a los equipos de Infraestructura, arte y equipo de
web no hay como tal, por el momento; además de miembros de diferentes
comunidades, como la nuestra.

Saludos
Ernesto Celis (Usuario Linux #323140)
irc.freenode.net #centos-es
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Medir Tasa de Escritura / Lectura en Disco

2009-11-18 Thread Eduardo Grosclaude
2009/11/18 Osvaldo Rivas spad...@gmail.com:
 probé con hdparm

 exactamente lo siguiente:

  hdparm -tT /dev/cciss/c0d0p1

 y me arroja


 /dev/cciss/c0d0p1:
  Timing cached reads:   19992 MB in  2.00 seconds = 9997.52 MB/sec
 HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl
 for device
  Timing buffered disk reads:  286 MB in  3.01 seconds =  94.87 MB/sec
 HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl
 for device

 Estuve leyendo y no se si será porque el disco es SAS o es el problema que
 estoy buscando, ya que estoy tratando de medir la velocidad debido a que se
 me hace que las copias de archivos son muy lentas.

Qué versión de hdparm estás usando? Acá hay algo bueno:
http://www.cyberciti.biz/faq/hdiodrive_cmdidentify-failed-inappropriate-ioctl-device/

-- 
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] Reunión sub-sitios localizados

2009-11-18 Thread Ernesto Celis
El 18 de noviembre de 2009 11:38, Ernesto Celis
celisdelafue...@gmail.comescribió:

 Buen día lista:

 Hace un par de semanas Karanbir, uno de los desarrolladores de CentOS,
 convocó a una sesión de 40 a 60 minutos vía VoIP, para discutir el avance y
 / o los planes de los sub-sitios localizados. Karanbir solicitó de ser
 posible la presencia de miembros de las diferentes comunidades de usuarios
 interesados en el tema, la cita es *hoy 18 de noviembre a las 17:45 UTC*.


Correción, es a las 19:45 UTC



 Estoy enterado que varios de los miembros de esta lista siguen también la
 lista CentOS-devel, pero no esta de más avisar,por aquello de los
 despistados.

 Durante la reunión que nosotros tuvimos en el canal #centos-es hace 3 meses
 o un poco más, tocamos este tema; recuerdo que algunos mostramos interés por
 participar en este esfuerzo.

 Aquellos interesados estén pendientes en el IRC #centos, pues es por ese
 medio que se notificará la dirección de VoIP donde se llevara a cabo la
 reunión.

 Para esto es necesario contar con un cliente de VoIP que se capá de
 conectar a direcciones del tipo algo@centos.org, el idioma será Ingles
 (supongo), pues se esta convocando a los equipos de Infraestructura, arte y
 equipo de web no hay como tal, por el momento; además de miembros de
 diferentes comunidades, como la nuestra.

 Saludos
 Ernesto Celis (Usuario Linux #323140)
 irc.freenode.net #centos-es

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


[CentOS-es] ayuda para instalar Directory Server en Centos- 5.3 desde una maquina virtual

2009-11-18 Thread Max Denis Mestanza Cabanillas
Saludos a esta gran comunidad en español de centos, bueno recien me estoy
adentrando en lo que es linux soy novato todavia, tengo un problema para
isntalar el Directory Server en CENTOS 5.3 lo estoy trabajando desde una
maquina virtulal, me he guiado de un archivo colgado en internet bueno de
aca lo descarge
http://www.cdsl.cl/wiki/doku.php?id=como_instalar_centos_directory_server_en_centos_5
he seguido los pasoss uno a uno y al final me da este error :


Are you ready to set up your servers? [yes]:
Creating directory server . . .
Your new DS instance 'dhcppc4' was successfully created.
Creating the configuration directory server . . .
Error: failed to open an LDAP connection to host 'dhcppc4.localdomain' port
'389' as user 'cn=Directory Manager'.  Error: unknown.
Failed to create the configuration directory server
Exiting . . .
Log file is '/tmp/setupM3AYo1.log'
--

quisiera saber el motivo de este error y de que forma podre solucionarlo...
al parecer estoy pensando que es por estar trabajando desde una maquina
virtual de VMWARE.
-- 

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


[CentOS] Removing respawning process from inittab w/o killing it

2009-11-18 Thread Timo Schoeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi list,

I need to remove an entry of inittab which is used to (re)spawn a process:

mydemon:2345:respawn:/usr/sbin/mydemon /dev/null 21

So, I would comment out that entry and reload init running ``telinit
q''. IIRC, this would lead to the currently running daemon being killed.
I don't want to /try/ whether I'm right, as those are production systems.

Is there any possibility (given that ``telinit q'' kills the running
process) to 'keep the process alive' _and_ reload init?

Thanks,

Timo

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org

iD8DBQFLA8Syfg746kcGBOwRAjy1AKCPvwHnMVUwDN+6WDPjHebth7q1owCfUsp5
c7KoNas8jThxoP72c3JzK7Q=
=yWef
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Removing respawning process from inittab w/o killing it

2009-11-18 Thread William L. Maltby

On Wed, 2009-11-18 at 10:56 +0100, Timo Schoeler wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi list,
 
 I need to remove an entry of inittab which is used to (re)spawn a process:
 
 mydemon:2345:respawn:/usr/sbin/mydemon /dev/null 21
 
 So, I would comment out that entry and reload init running ``telinit
 q''. IIRC, this would lead to the currently running daemon being killed.
 I don't want to /try/ whether I'm right, as those are production systems.
 
 Is there any possibility (given that ``telinit q'' kills the running
 process) to 'keep the process alive' _and_ reload init?

If I understand what man telinit intends, it looks like the -u or
-U might do what you want.

Test it on some local desktop system since you can't test on your
production?

-- 
Bill

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


Re: [CentOS] Removing respawning process from inittab w/o killing it

2009-11-18 Thread Timo Schoeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

thus William L. Maltby spake:
| On Wed, 2009-11-18 at 10:56 +0100, Timo Schoeler wrote:
| -BEGIN PGP SIGNED MESSAGE-
| Hash: SHA1
|
| Hi list,
|
| I need to remove an entry of inittab which is used to (re)spawn a
process:
|
| mydemon:2345:respawn:/usr/sbin/mydemon /dev/null 21
|
| So, I would comment out that entry and reload init running ``telinit
| q''. IIRC, this would lead to the currently running daemon being killed.
| I don't want to /try/ whether I'm right, as those are production systems.
|
| Is there any possibility (given that ``telinit q'' kills the running
| process) to 'keep the process alive' _and_ reload init?
|
| If I understand what man telinit intends, it looks like the -u or
| -U might do what you want.

It says:

U or u tell  init  to  re-execute itself (preserving the state). No re-
examining of /etc/inittab file happens. Run level should be  one
of Ss12345, otherwise request would be silently ignored.

I'll try it; it doesn't seem to touch the running state, however, it
also doesn't re-examine /etc/inittab (but that is what I actually want
it to do).

| Test it on some local desktop system since you can't test on your
| production?

I prepare an equal setup in VirtualBox, so I can test beforehand.

Thanks,

Timo

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org

iD8DBQFLA82Gfg746kcGBOwRAvfTAKCuR7kRudvHBIW9RK8feUyPfzeHKACfYkDQ
dw+tPHPTJYm9jknewFXaMGU=
=VUGF
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Removing respawning process from inittab w/o killing it

2009-11-18 Thread Timo Schoeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

thus Timo Schoeler spake:
| thus William L. Maltby spake:
| | On Wed, 2009-11-18 at 10:56 +0100, Timo Schoeler wrote:
| | -BEGIN PGP SIGNED MESSAGE-
| | Hash: SHA1
| |
| | Hi list,
| |
| | I need to remove an entry of inittab which is used to (re)spawn a
| process:
| |
| | mydemon:2345:respawn:/usr/sbin/mydemon /dev/null 21
| |
| | So, I would comment out that entry and reload init running ``telinit
| | q''. IIRC, this would lead to the currently running daemon being
killed.
| | I don't want to /try/ whether I'm right, as those are production
systems.
| |
| | Is there any possibility (given that ``telinit q'' kills the running
| | process) to 'keep the process alive' _and_ reload init?
| |
| | If I understand what man telinit intends, it looks like the -u or
| | -U might do what you want.
|
| It says:
|
| U or u tell  init  to  re-execute itself (preserving the state). No re-
| examining of /etc/inittab file happens. Run level should be  one
| of Ss12345, otherwise request would be silently ignored.
|
| I'll try it; it doesn't seem to touch the running state, however, it
| also doesn't re-examine /etc/inittab (but that is what I actually want
| it to do).

Just tried it: Seems to work that way. Thanks again!

| | Test it on some local desktop system since you can't test on your
| | production?
|
| I prepare an equal setup in VirtualBox, so I can test beforehand.
|
| Thanks,
|
| Timo
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org

iD8DBQFLA83ffg746kcGBOwRArCcAJ9jzetSjTFkMp5F6wF9BS+/O18I7QCfUqOC
L/4TQFyq20zOPF4XSaiX8Fg=
=gJyU
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Inquiry:What is the equivalent of ping -f -l on the CentOS server?

2009-11-18 Thread hadi motamedi
Dear All
To find the optimum MTU size , on the MS Windows client , we need to try for
C:\ping www.google.com -f -l 1472 and then do for trial and error to find
the optimum size . Can you please do me favor and let me know what is the
equivalent of ping -f -l on the CentOS server ?
Let me thank you in advance
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Inquiry:What is the equivalent of ping -f -l on the CentOS server?

2009-11-18 Thread Eero Volotinen
Quoting hadi motamedi motamed...@gmail.com:

 Dear All
 To find the optimum MTU size , on the MS Windows client , we need to try for
 C:\ping www.google.com -f -l 1472 and then do for trial and error to find
 the optimum size . Can you please do me favor and let me know what is the
 equivalent of ping -f -l on the CentOS server ?
 Let me thank you in advance


Please, do not ping flood google!

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

--
Eero

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


Re: [CentOS] Inquiry:What is the equivalent of ping -f -l on the CentOS server?

2009-11-18 Thread hadi motamedi
Sorry. It was just an example . I wanted to ask you for the equivalent of
ping -f -l in its general format . Please help me.

On Wed, Nov 18, 2009 at 12:26 PM, Eero Volotinen eero.voloti...@iki.fiwrote:

  Quoting hadi motamedi motamed...@gmail.com:

 Dear All
 To find the optimum MTU size , on the MS Windows client , we need to try
 for
 C:\ping www.google.com -f -l 1472 and then do for trial and error to
 find
 the optimum size . Can you please do me favor and let me know what is the
 equivalent of ping -f -l on the CentOS server ?
 Let me thank you in advance


 Please, do not ping flood google!

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

 --
 Eero


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


Re: [CentOS] Inquiry:What is the equivalent of ping -f -l on the CentOS server?

2009-11-18 Thread Eero Volotinen
Quoting hadi motamedi motamed...@gmail.com:

 Sorry. It was just an example . I wanted to ask you for the equivalent of
 ping -f -l in its general format . Please help me.

man ping

--
Eero

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


[CentOS] OT: Using rdesktop as terminal client to Windows 2008 R2

2009-11-18 Thread carlopmart
Hi all,

  I am using rdesktop as a terminal client to connect to Windows Terminal 
Server 
over years without problems until now. I have a problems with five Windows 2008 
R2 
servers: point cursor turns black when I connect to them. But this problem 
disappears if I turn on windows 7 theme on these servers, but performance it is 
very 
very bad.

  This problem only appears with windows 2008 R2 and not on Windows 2008 SP2 or 
Windows 2003 R2 servers.

  I have tried to add: Option SWcursor true (nvidia graphics card using 
native 
nvidia drivers), on my xorg.conf without luck.

  My laptop is centOS 5.4 fully updated with rdesktop-1.6.0-3.

  Any ideas??

  Thanks.
-- 
CL Martinez
carlopmart {at} gmail {d0t} com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Using rdesktop as terminal client to Windows 2008 R2

2009-11-18 Thread Marcelo M. Garcia
carlopmart wrote:
 Hi all,
 
   I am using rdesktop as a terminal client to connect to Windows Terminal 
 Server 
 over years without problems until now. I have a problems with five Windows 
 2008 R2 
 servers: point cursor turns black when I connect to them. But this problem 
 disappears if I turn on windows 7 theme on these servers, but performance it 
 is very 
 very bad.
 
   This problem only appears with windows 2008 R2 and not on Windows 2008 SP2 
 or 
 Windows 2003 R2 servers.
 
   I have tried to add: Option SWcursor true (nvidia graphics card using 
 native 
 nvidia drivers), on my xorg.conf without luck.
 
   My laptop is centOS 5.4 fully updated with rdesktop-1.6.0-3.
 
   Any ideas??
 
   Thanks.
Hi

I had the same problem and seems to be the version of rdesktop. I solved 
  compiling the new version (1.6).

Regards

mg.

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


Re: [CentOS] OT: Using rdesktop as terminal client to Windows 2008 R2

2009-11-18 Thread carlopmart
Marcelo M. Garcia wrote:
 carlopmart wrote:
 Hi all,

   I am using rdesktop as a terminal client to connect to Windows Terminal 
 Server 
 over years without problems until now. I have a problems with five Windows 
 2008 R2 
 servers: point cursor turns black when I connect to them. But this problem 
 disappears if I turn on windows 7 theme on these servers, but performance it 
 is very 
 very bad.

   This problem only appears with windows 2008 R2 and not on Windows 2008 SP2 
 or 
 Windows 2003 R2 servers.

   I have tried to add: Option SWcursor true (nvidia graphics card using 
 native 
 nvidia drivers), on my xorg.conf without luck.

   My laptop is centOS 5.4 fully updated with rdesktop-1.6.0-3.

   Any ideas??

   Thanks.
 Hi
 
 I had the same problem and seems to be the version of rdesktop. I solved 
   compiling the new version (1.6).
 
 Regards
 
 mg.

But I am using 1.6 version ...


-- 
CL Martinez
carlopmart {at} gmail {d0t} com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to setup High Availability or Redundancy for CentOS 5.3 with Vicidial and Asterisk?

2009-11-18 Thread Ross Walker
On Nov 17, 2009, at 9:42 PM, Sam Acosta acosta@gmail.com wrote:

 Hello guys,

 We've been having some problem setting up the High Availability for  
 Vicidial and Asterisk with CentOS 5.3.

 The VoIP quality are degraded and systems becomes so unstable.

 Are there are other better options.

Maybe the poor quality is due to network congestion?

You didn't say what you were using now for HA.

I have heard of people using Xen with PCI pass-through as a way to  
provide high-availability to Asterisk. Have 2 Xen boxes with identical  
hardware, but that can be problematic.

Probably the best way is to have multiple physical (small 1u boxes)  
Asterisk gateways and a central Asterisk router in a VM. Each gateway  
is expendible as long as one remains standing, the router will route  
calls to the best available gateway. If the router goes down, it can  
be brought up in another virtual server. Just need to make sure the  
virtualization technology can handle the throughput with as little  
additional latency as possible. Xen should be able to as long as you  
give the domU enough scheduler credits.

There are many ways to skin this cat.

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


Re: [CentOS] Inquiry:What is the equivalent of ping -f -l on the CentOS server?

2009-11-18 Thread Robert


hadi motamedi wrote:
 Sorry. It was just an example . I wanted to ask you for the equivalent 
 of ping -f -l in its general format . Please help me.
snip

The equivalent of man is man, therefore the equivalent of man ping 
is man ping.  That is also the equivalent of man ping in the RedHat 
Linux 7.2 from which you apparently *have* migrated since your initial 
post here on Sept 12:

 Dear All
 Can you please do me favor and let me know what are the highlights of 
 major benefits of CentOS Release 5 (Final) over the RedHat Linux 7.2 
 (Enigma) as we are going to migrate to it ?
 Thank you in advance
 Regards
 H.Motamedi

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


Re: [CentOS] format level 3 prompt

2009-11-18 Thread Mike - email ignored
On Tue, 17 Nov 2009 22:11:55 -0800, John R Pierce wrote:

 Mike - email ignored wrote:
 How do I format the prompt at level 3?  One of my accounts has it
 right, but not the other. I guessed that it was in .tcshrc which was
 missing from the bad account so I copied it from the good account, but
 it made no difference.
   
   
 depends on what shell you're using   bash uses $HOME/.bash_profile

Its bash.  Following from .bash_profile to .bashrc to /etc/bashrc,
and noting that at level 3, $TERM=linux, I should be calling
/etc/sysconfig/bash-prompt-default, if I have one, which I don't.

But root gets it right, and myUser gets it wrong.

   cd; grep -i .*

shows only the .tcshrc which I should have realized is not the one.
So how is root getting it right?

Mike.

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


Re: [CentOS] format level 3 prompt

2009-11-18 Thread m . roth
 On Tue, 17 Nov 2009 22:11:55 -0800, John R Pierce wrote:

 Mike - email ignored wrote:
 How do I format the prompt at level 3?  One of my accounts has it
 right, but not the other. I guessed that it was in .tcshrc which was
 missing from the bad account so I copied it from the good account, but
 it made no difference.


 depends on what shell you're using   bash uses $HOME/.bash_profile

 Its bash.  Following from .bash_profile to .bashrc to /etc/bashrc,
 and noting that at level 3, $TERM=linux, I should be calling
 /etc/sysconfig/bash-prompt-default, if I have one, which I don't.

 But root gets it right, and myUser gets it wrong.

cd; grep -i .*

 shows only the .tcshrc which I should have realized is not the one.
 So how is root getting it right?

Ah! Permission/ownership problem?

  mark

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


[CentOS] CentOS 5 - VNC Server - Gnome Font Problem - Pango Warning

2009-11-18 Thread KJS
Hi Guys,

 I am getting a strange font problem (see 
 http://lh6.ggpht.com/_NirUcVREM8k/SwPNpSUJ2AI/Ago/3eZiO8j2pEg/s640/font-issue.png)
  
 for a user logging in over VNC Server, I am also logged in over VNC 
 however I am no experiencing any problems... This was the case on 
 CentOS 5.3 and on 5.4 (after upgrade).

 I have tried removing the .vnc dir in the users home dir and re 
 running vncserver so that it recreates it, however the problem 
 persists...

 I found this in the VNC logs:

 (nautilus:14718): Pango-WARNING **: No builtin or dynamically
 loaded modules were found. Pango will not work correctly.
 This probably means there was an error in the creation of:
 '/etc/pango/pango.modules'
 You should create this file by running pango-querymodules.
 Fontconfig error: Cannot load default config file
 (nautilus:14718): Pango-WARNING **: pango_shape called with bad font, 
 expect ugly output
 (nautilus:14718): Pango-WARNING **: pango_font_get_glyph_extents 
 called with bad font, expect ugly output
 (nautilus:14718): Pango-WARNING **: _pango_cairo_font_install called 
 with bad font, expect ugly output
 Introspect error: Launch helper exited with unknown return code 0
 could not attach to desktop process


 So naturally I attempted what it suggested, again the problem still 
 persists.

 Has anyone seen this before, or have any suggestions?

 Thanks in advance!

 KJS


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


Re: [CentOS] Inquiry:What is the equivalent of ping -f -l on the CentOS server?

2009-11-18 Thread Les Mikesell
Robert wrote:
 
 hadi motamedi wrote:
 Sorry. It was just an example . I wanted to ask you for the equivalent 
 of ping -f -l in its general format . Please help me.
 snip
 
 The equivalent of man is man, therefore the equivalent of man ping 
 is man ping. 

That works for ping, but hasn't been a good generalization since the gnu 
versions of things started updating only info pages.  So, for example, 
the equivalent of what you'd expect from man tar is info tar.
$ man tar |wc -l
457
$ info tar 2/dev/null |wc -l
1469

-- 
   Les Mikesell
lesmikes...@gmail.com

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


Re: [CentOS] format level 3 prompt

2009-11-18 Thread Mike - email ignored
On Wed, 18 Nov 2009 08:25:48 -0700, m.roth-x6lchVBUigD1P9xLtpHBDw wrote:
[...]
 
 Ah! Permission/ownership problem?
 
   mark

Good suggestion.  I found that for myUser .bashrc had the wrong
permissions and .bash_profile was missing!  I am sure that this
happened because I copied /home/myUser was copied in from backup
before the account was created.  We won't do that again.

But now, I still do not see how the prompt is set since I have
no /etc/sysconfig/bash-prompt-default .

Mike.

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


Re: [CentOS] format level 3 prompt

2009-11-18 Thread m . roth
 On Wed, 18 Nov 2009 08:25:48 -0700, m.roth-x6lchVBUigD1P9xLtpHBDw wrote:
 [...]

 Ah! Permission/ownership problem?

 Good suggestion.  I found that for myUser .bashrc had the wrong
 permissions and .bash_profile was missing!  I am sure that this
 happened because I copied /home/myUser was copied in from backup
 before the account was created.  We won't do that again.

 But now, I still do not see how the prompt is set since I have
 no /etc/sysconfig/bash-prompt-default .

From the code /etc/bashrc:
...
screen)
if [ -e /etc/sysconfig/bash-prompt-screen ]; then
PROMPT_COMMAND=/etc/sysconfig/bash-prompt-screen
else
PROMPT_COMMAND='echo -ne
\033_${us...@${hostname%%.*}:${PWD/#$HOME/~}; echo -ne \033\\'
fi
;;
...

 mark

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


Re: [CentOS] format level 3 prompt

2009-11-18 Thread Rob Kampen

Mike - email ignored wrote:

On Wed, 18 Nov 2009 08:25:48 -0700, m.roth-x6lchVBUigD1P9xLtpHBDw wrote:
[...]
  

Ah! Permission/ownership problem?

  mark



Good suggestion.  I found that for myUser .bashrc had the wrong
permissions and .bash_profile was missing!  I am sure that this
happened because I copied /home/myUser was copied in from backup
before the account was created.  We won't do that again.

But now, I still do not see how the prompt is set since I have
no /etc/sysconfig/bash-prompt-default .
  

Neither do I - just /etc/bashrc

Mike.

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


[CentOS] version pinning with yum

2009-11-18 Thread m . roth
Well, there's a bug in the globbing for the tcsh with 5.4, and my boss has
filed a bug report. Meanwhile, I downgraded tcsh on those systems whose
users use that as their shell.

Until it's resolved, he wants me to pin the version. Googling, I see
someone a few years ago, answering someone's question, suggested adding
exclude=openoffice*
near the top of /etc/yum.conf.

I also see, more recently, several additional yum-related rpms, such as
yum-versionlock.

Will the first solution work (editing yum.conf), and, if so, for tcsh,
would I need the asterisk, or would
exclude=tcsh
work?

Alternatively, is that deprecated, and if so, which additional yum-related
package is recommended for this?

   mark

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


Re: [CentOS] version pinning with yum

2009-11-18 Thread Larry Brigman
On Wed, Nov 18, 2009 at 8:33 AM,  m.r...@5-cent.us wrote:
 Well, there's a bug in the globbing for the tcsh with 5.4, and my boss has
 filed a bug report. Meanwhile, I downgraded tcsh on those systems whose
 users use that as their shell.

 Until it's resolved, he wants me to pin the version. Googling, I see
 someone a few years ago, answering someone's question, suggested adding
 exclude=openoffice*
 near the top of /etc/yum.conf.

 I also see, more recently, several additional yum-related rpms, such as
 yum-versionlock.

 Will the first solution work (editing yum.conf), and, if so, for tcsh,
 would I need the asterisk, or would
 exclude=tcsh
 work?

This should work if you are only wanting to exclude one package.
The open office example has the wildcard because it is multiple packages.

Haven't used yum-versionlock but it would need to be loaded on all
machines to apply
the lock.  The other method although sometimes outputting more info when doing
'yum update' works as stated.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] version pinning with yum

2009-11-18 Thread m . roth
Larry,

Larry wroote:
 On Wed, Nov 18, 2009 at 8:33 AM,  m.r...@5-cent.us wrote:
 Well, there's a bug in the globbing for the tcsh with 5.4, and my boss
 has filed a bug report. Meanwhile, I downgraded tcsh on those systems
 whose users use that as their shell.

 Until it's resolved, he wants me to pin the version. Googling, I see
 someone a few years ago, answering someone's question, suggested adding
 exclude=openoffice*
 near the top of /etc/yum.conf.

 I also see, more recently, several additional yum-related rpms, such as
 yum-versionlock.
snip
 This should work if you are only wanting to exclude one package.
 The open office example has the wildcard because it is multiple packages.
snip
That's what I needed to know, and yup, it's only the one package. Thanks!

  mark

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


Re: [CentOS] format level 3 prompt

2009-11-18 Thread Mike - email ignored
On Wed, 18 Nov 2009 09:22:44 -0700, m.roth-x6lchVBUigD1P9xLtpHBDw wrote:

 On Wed, 18 Nov 2009 08:25:48 -0700, m.roth-x6lchVBUigD1P9xLtpHBDw
 wrote: [...]

 Ah! Permission/ownership problem?

 Good suggestion.  I found that for myUser .bashrc had the wrong
 permissions and .bash_profile was missing!  I am sure that this
 happened because I copied /home/myUser was copied in from backup before
 the account was created.  We won't do that again.

 But now, I still do not see how the prompt is set since I have no
 /etc/sysconfig/bash-prompt-default .
 
From the code /etc/bashrc:
 ...
 screen)
 if [ -e /etc/sysconfig/bash-prompt-screen ]; then
 PROMPT_COMMAND=/etc/sysconfig/bash-prompt-screen
 else
 PROMPT_COMMAND='echo -ne
 \033_${us...@${hostname%%.*}:${PWD/#$HOME/~}; echo -ne \033\\'
 fi
 ;;
 ...
 
  mark

Not so.  With this debug:

---

echo TERM = $TERM

# are we an interactive shell?
if [ $PS1 ]; then
case $TERM in
   xterm*)
  if [ -e /etc/sysconfig/bash-prompt-xterm ]; then
 PROMPT_COMMAND=/etc/sysconfig/bash-prompt-xterm
  else
 PROMPT_COMMAND='echo -ne \033]0;${us...@${hostname%%.*}:${PWD/#
$HOME/~}; echo -ne \007'
  fi
  ;;
   screen)
echo doing screen
  if [ -e /etc/sysconfig/bash-prompt-screen ]; then
 PROMPT_COMMAND=/etc/sysconfig/bash-prompt-screen
  else
  PROMPT_COMMAND='echo -ne \033_${us...@${hostname%%.*}:${PWD/#$HOME/
~}; echo -ne \033\\'
  fi
  ;;
   *)
echo doing default
  [ -e /etc/sysconfig/bash-prompt-default ]  PROMPT_COMMAND=/etc/
sysconfig/bash-prompt-default
   ;;
esac

---

I get:

TERM = linux
doing default

The mystery remains.

Mike.

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


Re: [CentOS] format level 3 prompt

2009-11-18 Thread Nicolas Thierry-Mieg
Mike - email ignored wrote:
 On Wed, 18 Nov 2009 09:22:44 -0700, m.roth-x6lchVBUigD1P9xLtpHBDw wrote:

 But now, I still do not see how the prompt is set since I have no
 /etc/sysconfig/bash-prompt-default .

  From the code /etc/bashrc:
 ...
  screen)
  if [ -e /etc/sysconfig/bash-prompt-screen ]; then
  PROMPT_COMMAND=/etc/sysconfig/bash-prompt-screen
  else
  PROMPT_COMMAND='echo -ne
 \033_${us...@${hostname%%.*}:${PWD/#$HOME/~}; echo -ne \033\\'
  fi
  ;;
 ...

   mark

 Not so.  With this debug:

snip
 ---

 I get:

 TERM = linux
 doing default

 The mystery remains.

what do you get with these:
echo $PROMPT_COMMAND
echo $PS1

if $PROMPT_COMMAND has a value you could grep for it (or for 
PROMPT_COMMAND) in /etc and subdirs, and try to find it?

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


Re: [CentOS] format level 3 prompt

2009-11-18 Thread m . roth
 On Wed, 18 Nov 2009 09:22:44 -0700, m.roth-x6lchVBUigD1P9xLtpHBDw wrote:
 Mike wrote:
 On Wed, 18 Nov 2009 08:25:48 -0700, m.roth-x6lchVBUigD1P9xLtpHBDw
 wrote: [...]

 But now, I still do not see how the prompt is set since I have no
 /etc/sysconfig/bash-prompt-default .

From the code /etc/bashrc:
 ...
 screen)
 if [ -e /etc/sysconfig/bash-prompt-screen ]; then
 PROMPT_COMMAND=/etc/sysconfig/bash-prompt-screen
 else
 PROMPT_COMMAND='echo -ne
 \033_${us...@${hostname%%.*}:${PWD/#$HOME/~}; echo -ne \033\\'
 fi
 ;;
 ...
snipo
 I get:

 TERM = linux
 doing default

 The mystery remains.

No, we're getting closer. What you need to find out is what's setting TERM
to linux, which is further back than /etc/bashrc. Is the user logging
directly onto the Linux box, or are they from, say, a WinDoze box via
putty, or ...?

   mark

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


[CentOS] CentOS-announce Digest, Vol 57, Issue 9

2009-11-18 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-2009:1584 Important CentOS 5 i386java-1.6.0-openjdk
  Update (Karanbir Singh)
   2. CESA-2009:1584 Important CentOS 5 x86_64  java-1.6.0-openjdk
  Update (Karanbir Singh)


--

Message: 1
Date: Wed, 18 Nov 2009 10:19:02 +
From: Karanbir Singh kbsi...@centos.org
Subject: [CentOS-announce] CESA-2009:1584 Important CentOS 5 i386
java-1.6.0-openjdk Update
To: centos-annou...@centos.org
Message-ID: 20091118101902.ga2...@tantra.karan.org
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2009:1584 Important

Upstream details at : https://rhn.redhat.com/errata/RHSA-2009-1584.html

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

i386:
161ce7c3a3234e39bb7798902fe90bf0  
java-1.6.0-openjdk-1.6.0.0-1.7.b09.el5.i386.rpm
8c1e087409b6e7ca930aac591a7150e8  
java-1.6.0-openjdk-demo-1.6.0.0-1.7.b09.el5.i386.rpm
100733463353ee725a2bed10aef6d7ee  
java-1.6.0-openjdk-devel-1.6.0.0-1.7.b09.el5.i386.rpm
f23aeacc4ec5e67d03f3f3e531af68eb  
java-1.6.0-openjdk-javadoc-1.6.0.0-1.7.b09.el5.i386.rpm
1cf7340c800b65fe132b5d9d136040cb  
java-1.6.0-openjdk-src-1.6.0.0-1.7.b09.el5.i386.rpm

Source:
5f29e3911f2fc807cb0de5fdb7137c7f  java-1.6.0-openjdk-1.6.0.0-1.7.b09.el5.src.rpm


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



--

Message: 2
Date: Wed, 18 Nov 2009 10:19:03 +
From: Karanbir Singh kbsi...@centos.org
Subject: [CentOS-announce] CESA-2009:1584 Important CentOS 5 x86_64
java-1.6.0-openjdk Update
To: centos-annou...@centos.org
Message-ID: 20091118101903.ga2...@tantra.karan.org
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2009:1584 Important

Upstream details at : https://rhn.redhat.com/errata/RHSA-2009-1584.html

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

x86_64:
67b5c789d3cc543a98aece3291cb029f  
java-1.6.0-openjdk-1.6.0.0-1.7.b09.el5.x86_64.rpm
026f7aff5a643d5725d20f25a9ae7f20  
java-1.6.0-openjdk-demo-1.6.0.0-1.7.b09.el5.x86_64.rpm
af5b9f22a93a31955956419584b04793  
java-1.6.0-openjdk-devel-1.6.0.0-1.7.b09.el5.x86_64.rpm
f6f522d7a9a601918eab70f47690ad32  
java-1.6.0-openjdk-javadoc-1.6.0.0-1.7.b09.el5.x86_64.rpm
ef539754cd3f506660c5bf800656dd4b  
java-1.6.0-openjdk-src-1.6.0.0-1.7.b09.el5.x86_64.rpm

Source:
5f29e3911f2fc807cb0de5fdb7137c7f  java-1.6.0-openjdk-1.6.0.0-1.7.b09.el5.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 57, Issue 9
**
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] format level 3 prompt

2009-11-18 Thread Frank . Brodbeck
Hi,

I'd try this as a quickshot:

find /etc /root /home -type f -exec grep -l PS3 {} \;

than I'd take a closer look at the files that will show up. And I'd 
read bash(1) closely to learn which files are being read in which 
order and especially when.

If all of the above doesn't lead me anywhere, I'd start poking 
around on a mailing list to see if somebody could explain me what's 
going on, but maybe that's just me.

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


Re: [CentOS] format level 3 prompt

2009-11-18 Thread Mike - email ignored
On Wed, 18 Nov 2009 17:48:58 +0100, Nicolas Thierry-Mieg wrote:

 Mike - email ignored wrote:
[...]

 I get:

 TERM = linux
 doing default

 The mystery remains.
 
 what do you get with these:
 echo $PROMPT_COMMAND
 echo $PS1
 
 if $PROMPT_COMMAND has a value you could grep for it (or for
 PROMPT_COMMAND) in /etc and subdirs, and try to find it?

[myu...@mbrc40 ~]$ echo $PROMPT_COMMAND

[myu...@mbrc40 ~]$ echo $PS1
[...@\h \W]\$

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


Re: [CentOS] format level 3 prompt

2009-11-18 Thread Les Mikesell
Mike - email ignored wrote:
 On Wed, 18 Nov 2009 09:22:44 -0700, m.roth-x6lchVBUigD1P9xLtpHBDw wrote:
 
 On Wed, 18 Nov 2009 08:25:48 -0700, m.roth-x6lchVBUigD1P9xLtpHBDw
 wrote: [...]
 Ah! Permission/ownership problem?

 Good suggestion.  I found that for myUser .bashrc had the wrong
 permissions and .bash_profile was missing!  I am sure that this
 happened because I copied /home/myUser was copied in from backup before
 the account was created.  We won't do that again.

 But now, I still do not see how the prompt is set since I have no
 /etc/sysconfig/bash-prompt-default .
 From the code /etc/bashrc:
 ...
 screen)
 if [ -e /etc/sysconfig/bash-prompt-screen ]; then
 PROMPT_COMMAND=/etc/sysconfig/bash-prompt-screen
 else
 PROMPT_COMMAND='echo -ne
 \033_${us...@${hostname%%.*}:${PWD/#$HOME/~}; echo -ne \033\\'
 fi
 ;;
 ...

  mark
 
 Not so.  With this debug:
 
 ---
 
 echo TERM = $TERM
 
 # are we an interactive shell?
 if [ $PS1 ]; then
 case $TERM in
xterm*)
   if [ -e /etc/sysconfig/bash-prompt-xterm ]; then
  PROMPT_COMMAND=/etc/sysconfig/bash-prompt-xterm
   else
  PROMPT_COMMAND='echo -ne \033]0;${us...@${hostname%%.*}:${PWD/#
 $HOME/~}; echo -ne \007'
   fi
   ;;
screen)
 echo doing screen
   if [ -e /etc/sysconfig/bash-prompt-screen ]; then
  PROMPT_COMMAND=/etc/sysconfig/bash-prompt-screen
   else
   PROMPT_COMMAND='echo -ne \033_${us...@${hostname%%.*}:${PWD/#$HOME/
 ~}; echo -ne \033\\'
   fi
   ;;
*)
 echo doing default
   [ -e /etc/sysconfig/bash-prompt-default ]  PROMPT_COMMAND=/etc/
 sysconfig/bash-prompt-default
;;
 esac
 
 ---
 
 I get:
 
 TERM = linux
 doing default
 
 The mystery remains.

That looks right for a direct console login.  What did you expect to happen?

-- 
   Les Mikesell
 lesmikes...@gmail.com


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


Re: [CentOS] format level 3 prompt

2009-11-18 Thread Mike - email ignored
On Wed, 18 Nov 2009 09:50:54 -0700, m.roth-x6lchVBUigD1P9xLtpHBDw wrote:

[...]
 No, we're getting closer. What you need to find out is what's setting
 TERM to linux, which is further back than /etc/bashrc. Is the user
 logging directly onto the Linux box, or are they from, say, a WinDoze
 box via putty, or ...?
 
mark

Direct.

Mike.

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


Re: [CentOS] format level 3 prompt

2009-11-18 Thread Mike - email ignored
On Wed, 18 Nov 2009 18:00:25 +0100, Frank.Brodbeck-E4aVwrWTXLGELgA04lAiVw
wrote:

 Hi,
 
 I'd try this as a quickshot:
 
 find /etc /root /home -type f -exec grep -l PS3 {} \;
 
 than I'd take a closer look at the files that will show up. And I'd read
 bash(1) closely to learn which files are being read in which order and
 especially when.
 
 If all of the above doesn't lead me anywhere, I'd start poking around on
 a mailing list to see if somebody could explain me what's going on, but
 maybe that's just me.
 
 Frank.

[r...@mbrc40 ~]# find /etc /root /home -type f -exec grep -l PS3 {} \;
/etc/termcap
/etc/pki/tls/certs/ca-bundle.crt
/etc/alsa/cards/PS3.conf
/root/.ssh/exe/psftp.exe
/root/.ssh/exe/putty.exe
/root/.mozilla/firefox/l2cth6mq.default/Cache/61FD9500d01
/root/nvidia/NVIDIA-Linux-x86-190.42-pkg1.run
[... I removed results in .pan2]

In termcap, it is in a comment.

in ca-bundle.crt, its in the base64 (don't tell anyone)

Nothing else seems relevant.

Mike.








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


Re: [CentOS] format level 3 prompt

2009-11-18 Thread Bart Schaefer
On Wed, Nov 18, 2009 at 8:48 AM, Nicolas Thierry-Mieg
nicolas.thierry-m...@imag.fr wrote:
 what do you get with these:
 echo $PROMPT_COMMAND
 echo $PS1

Isn't Mike (the OP) asking about PS3 rather than PS1 ?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Workaround for RH #502499?

2009-11-18 Thread Chris Boyd

On Nov 18, 2009, at 1:57 AM, Mogens Kjaer wrote:

 Can you boot with the additional option:
 
 hda=noprobe

Good point.  It's an ATA drive, not SATA.  Sorry 'bout that.

Will give that a try.

--Chris

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


Re: [CentOS] php config security concern for c5

2009-11-18 Thread Joe Pruett
 what in the docs are you reading to indicate forcetype won't work?

 http://httpd.apache.org/docs/2.2/mod/core.html#forcetype
 says it works only if given in directory-type context and that's unlikely to
 happen here. You would rather set the FilesMatch global.

i think that directory context is not just Directory, and the text at 
the url says the directive may be placed in directory, location, or 
files which i assume means filesmatch as well.

 i just
 put that in to match the addtype clause i removed.  i didn't even check to
 see if the php module sets the type to text/html by default already.

 it does, but you can override it. I guess you can*not* override Forcetype,
 which might be a problem. Many PHP outputs will not be text.

i did some more testing and i was able to override the forcetype (if it 
truly is working) via header('content-type'), like you'd do for serving 
images via php.  i guess i haven't tested without forcetype yet...

 I think the AddType can stay there just fine. It's the AddHandler directive
 that creates the problem. And one may rather consider this a bug in httpd.
 AFAIK, the multiple extension handling is mostly there to allow content
 negotiation. If so, then this functionality should be limited to the options
 that are available to content-negotiation in that given configuration - e.g.
 php.en php.es and not to any unknown string.

right, the reason is to allow foo.en.html or foo.html.en.  i'm not sure i 
agree that is good, but for simple text conditionals it is fine.  using it 
for php is just bad.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5 - VNC Server - Gnome Font Problem - Pango Warning

2009-11-18 Thread Kai Schaetzl
Kjs wrote on Wed, 18 Nov 2009 15:53:11 +:







Please put stuff that needs recycling where it belongs.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] format level 3 prompt

2009-11-18 Thread Jim Perrin
On Wed, Nov 18, 2009 at 12:19 PM, Bart Schaefer
barton.schae...@gmail.com wrote:

 Isn't Mike (the OP) asking about PS3 rather than PS1 ?

I interpreted his question to be asking about PS1 at runlevel 3, but
it was a bit hazy given the terminology used.


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] my local mirror stopped working

2009-11-18 Thread Alan McKay
Hey folks,

I've had a local mirror set up for some time now and it has always
worked, but suddently stopped.   I don't think the fact that it
stopped work has anything to do with when I blew away that machine and
changed it from Centos 5.3 to a Fedora Core 11 box.  But I'm not sure
how that could make any difference since it is just serving that stuff
over the web.  It still works great for Kickstart installs.  I still
have a nightly cron job to update from my closest mirror thusly :

rsync  -avSHP --delete --exclude local* --exclude isos
rsync://mirror.csclub.uwaterloo.ca/centos/5.3/
/var/www/html/ks/centos/5.3/

Here is the error I get when trying to run yum now.  Note that I check
for the file it is complaining about and it exists but is .gz format
and not .bz2.   I guess I could gunzip then bzip to fix the problem?
But I'd really like to understand why this started.

http://yum/ks/centos/5/updates/x86_64/repodata/filelists.sqlite.bz2:
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: failure: repodata/filelists.sqlite.bz2 from updates: [Errno
256] No more mirrors to try.

As I've reported before to the list, here is how I've set it up :

* On my PC I've created /var/www/html/ks for doing kickstart
installs, and it shows up at http://192.168.0.222/ks/
* the Centos 5.3 DVDs got downloaded - both 32 bit and 64 bit

mkdir /mnt/C5.3_{32,64}
chmod 0777 /mnt/C5.3_{32,64}
mount -ro loop /home/amckay/Desktop/CentOS-5.3-i386-bin-DVD.iso /mnt/C5.3_32
mount -ro loop /home/amckay/Desktop/CentOS-5.3-x86_64-bin-DVD.iso /mnt/C5.3_64
mkdir -p /var/www/html/ks/centos/5.3/{os,updates}/{i386,x86_64}
pushd /var/www/html/ks/centos/
ln -s 5.3 5
popd
rsync -avHPS /mnt/C5.3_64/ /var/www/html/ks/centos/5.3/os/x86_64/
rsync -avHPS /mnt/C5.3_32/ /var/www/html/ks/centos/5.3/os/i386/
rsync  -avSHP --delete --exclude local* --exclude isos
rsync://mirror.csclub.uwaterloo.ca/centos/5.3/
/var/www/html/ks/centos/5.3/
chown -R apache:apache /var/www/html/ks/

And when I do a Kickstart install, it works just fine.   AFter the
install in the %post I change the Centos-Base.repo to point to my
local repo thus :

[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=os
baseurl=http://yum/ks/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#released updates
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=updates
baseurl=http://yum/ks/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

Note that the name yum does properly resolve to my box.

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] php config security concern for c5

2009-11-18 Thread Kai Schaetzl
Joe Pruett wrote on Wed, 18 Nov 2009 09:39:30 -0800 (PST):

 i think that directory context is not just Directory, and the text at 
 the url says the directive may be placed in directory,
 location, or 
 files which i assume means filesmatch as well.

Right. I was getting the German version of this page and I swear it didn't 
include the Files thing last time I looked. Now it does. And it looks like it 
has been added during the last days as it is still missing an or.
So, you are right, yes.

 i did some more testing and i was able to override the forcetype (if it 
 truly is working) via header('content-type'), like you'd do for serving 
 images via php.  i guess i haven't tested without forcetype yet...

Thanks for the info. Still, I think you can keep the AddType directive and not 
use ForceType because the problem is only the AddHandler directive that 
overrides the mime-type for the image.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] my local mirror stopped working

2009-11-18 Thread Jim Perrin
On Wed, Nov 18, 2009 at 1:24 PM, Alan McKay alan.mc...@gmail.com wrote:

 rsync  -avSHP --delete --exclude local* --exclude isos
 rsync://mirror.csclub.uwaterloo.ca/centos/5.3/
 /var/www/html/ks/centos/5.3/

This is your issue. Your rsync command  calls the minor version
specifically, which can be a bad thing.


Now that 5.4 has been released, 5.3 is going away, and will be (if it
hasn't already) removed from the mirrors.

If you're going to call it out specifically by version, you'll want to
pay close attention to when the release announcements for new versions
come out.



-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] my local mirror stopped working

2009-11-18 Thread Alan McKay
 This is your issue. Your rsync command  calls the minor version
 specifically, which can be a bad thing.

Aha - OK.   The thing is I want to maintain my 5.3 mirror - I guess it
makes sense for me to stop calling rsync for it does it?  Since there
will be no more updates to it?

On my mirror I have 5.3 and 5.4, but my 5 symlink points to 5.3.   I
guess I should change everything over to include the minor number
then?




-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] my local mirror stopped working

2009-11-18 Thread John R Pierce
Alan McKay wrote:

 On my mirror I have 5.3 and 5.4, but my 5 symlink points to 5.3.   I
 guess I should change everything over to include the minor number
 then?
   

5 updated is 5.45.3 is a snapshot in time.


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


[CentOS] simple NFSv4 setup

2009-11-18 Thread Joshua Baker-LePain
I'm trying to setup a simple NFSv4 mount between two x86_64 hosts.  On the 
server, I have this in /etc/exports:

/export $CLIENT(ro,fsid=0)
/export/qb3 $CLIENT(rw,nohide)

ON $CLIENT, I mount via:

mount -t nfs4 $SERVER:/qb3 /usr/local/sge62/qb3

However:

$ touch /usr/local/sge62/qb3/foo
touch: cannot touch `/usr/local/sge62/qb3/foo': Read-only file system

I'd really rather not export the pseudo-root read-write, so how do I get 
this working?  Any hints would be appreciated -- thanks.

-- 
Joshua Baker-LePain
QB3 Shared Cluster Sysadmin
UCSF
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] simple NFSv4 setup

2009-11-18 Thread Joshua Baker-LePain
On Wed, 18 Nov 2009 at 4:05pm, Tim Nelson wrote

 - Joshua Baker-LePain jl...@duke.edu wrote:

 /export $CLIENT(ro,fsid=0)
 /export/qb3 $CLIENT(rw,nohide)

 Your export:

 /export/qb3 $CLIENT(rw,nohide)

 And your mount:

 mount -t nfs4 $SERVER:/qb3 /usr/local/sge62/qb3

 The remote path is wrong. Either that's a typo or could be the cause of 
 your problem?

No, that's how NFSv4 mounts work -- it's relative to the pseudo-root (the 
fsid=0 entry) on the server.  And the mount succeeds.  But it's a 
read-only mount, where it should be rw.

-- 
Joshua Baker-LePain
QB3 Shared Cluster Sysadmin
UCSF
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] High load averages with latest kernel and USB drives?

2009-11-18 Thread Benjamin Smith
On Tuesday 17 November 2009 15:37:24 Todd Denniston wrote:
 Benjamin Smith wrote, On 11/17/2009 01:46 PM:
  See comments below...
 
  On Tuesday 17 November 2009 07:52:01 Todd Denniston wrote:
  Benjamin Smith wrote, On 11/16/2009 10:56 PM:
  I have a 1TB USB drive plugged into a USB2 port that I use to back up
  the production drives (which are SCSI). It's working fine, but while
  doing backups (hourly) the load average on the server shoots up from
  the normal 0.5 - 1.5 or so up to a high between 10 and 30. Strangely,
  even though the load is high the server is completely responsive,
  even the USB drives being accessed are!
 
  Using top to diagnose, nothing seems to be particularly high! IoWait
  seems reasonable (10-30%) and CPUs are 0.5%, Idle is 70-90%. Even
  accessing the USB partition while the load is high is responsive!
 
 you might add another field to top while you are watching, Last used cpu
  (SMP), i.e., start top
 press f
 press j
 press enter
 
 this should let you see if your process is bouncing between processors.

The process pg_dump is adhering fine to processor 1. I see usb-storage 
bouncing between processors - I've seen it on 3, 4, 7 over perhaps a minute. 
What could you recommend next? 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


[CentOS] Intel i7-940, DX58S0 motherboard, Radeon X1950 Pro video card

2009-11-18 Thread Frank Cox
This computer is my main desktop machine --- an Intel i7-940 CPU and DX58S0
motherboard with a Radeon X1950 Pro video card. It's currently running Fedora 11
and working just fine.

However, I have been slowly moving all of my computer stuff off of Fedora
and onto Centos, and this (and my Acer Aspire One laptop) are the only Fedora
installations that I now have left.

Does anyone have any experience with this CPU, motherboard and video card on
Centos? This hardware (sound, video, ethernet, what-have-you) works fine on
Fedora 11; can I expect it to also work fine with Centos 5.4?  The ethernet
isn't a big deal because I can easily slap another network card into it, but
the rest isn't quite so easy to substitute.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] my local mirror stopped working

2009-11-18 Thread Mogens Kjaer
On 11/18/2009 08:26 PM, Alan McKay wrote:
...
 On my mirror I have 5.3 and 5.4, but my 5 symlink points to 5.3.   I
 guess I should change everything over to include the minor number
 then?

If you mirror 5 as well you'll get the symlink change
automagically when the minor version number changes.

Mogens


-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: m...@crc.dk Homepage: http://www.crc.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] High load averages with latest kernel and USB drives?

2009-11-18 Thread Amos Shapira
Sorry can't suggest much about the usb issue but for such frequent
backups, as well as to enable poin-in-time-recovery (PITR) you should
consider log archiving. It should also save you heaps of load on cpu,
disk, network and postgresql server.

-Amos

On 11/17/09, Benjamin Smith li...@benjamindsmith.com wrote:
 I'm having a server report a high load average when backing up Postgres
 database files to an external USB drive. This is driving my loadbalancers
 all
 out of kilter and causing a large volume of network monitor alerts.

 I have a 1TB USB drive plugged into a USB2 port that I use to back up the
 production drives (which are SCSI). It's working fine, but while doing
 backups
 (hourly) the load average on the server shoots up from the normal 0.5 - 1.5
 or
 so up to a high between 10 and 30. Strangely, even though the load is high
 the server is completely responsive, even the USB drives being accessed are!

 Backup script is really simple, run via cron, pretty much just:

 #! /bin/sh
 hour=`date +%k`;
 pg_dump options mydatabase  /media/backups/mydatabase.$hour.pgsql;

 where /media/backups is the mount point for the USB drive.

 Using top to diagnose, nothing seems to be particularly high! IoWait seems
 reasonable (10-30%) and CPUs are 0.5%, Idle is 70-90%. Even accessing the
 USB
 partition while the load is high is responsive!

 I'm guessing that something changed in how load average is counted?

 Server Stats:
   Late model 8-way Xeon, SuperMicro brand.
   CentOS 4.x  / 64 (all updates applied, booted after last kernel update)
   Kernel 2.6.9-89.0.16.ELsmp
   4 GB ECC RAM
   300 GB SCSI HDD.
   Standard Apache/PHP, Postgres 8.4.

 Any idea how to revert to the old load average tracking behavior short of
 using a stale and potentially insecure kernel?

 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.

 ___
 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