[CentOS-docs] Re: General translation questions

2008-08-26 Thread 徐浩 Simon XU
Hi Ralph,

 there is someone on the centos-docs mailing list who also wants to (at least) 
 offer a translation of the Release Notes into chinese (simplified in this
 case). As those are subtleties(?) which are completely wasted on a eurocentric
 guy like me.
   
I don't think this guy is making any sense because there's simply no
difficult for all Chinese people to read the CentOS release notes in
Traditional Chinese.
 Is there a need to do that?
No need to do that. The Chinese language I used to translate CentOS
stuff was Traditional Chinese, which is readable to all Chinese people.
The history of Simplified Chinese is less than 50 years and it is only
used in Chinese mainland, while Traditional Chinese is not only used in
Chinese mainland, but also in Taiwan, Hongkong, Macao, and generally all
overseas Chinese communities (Singapore, Malaysia, Indonesia, America,
etc.) It is true that people in Chinese mainland have got used to using
Simplified Chinese, however, almost all of them can still read and write
Traditional Chinese because it is still used everywhere. At the same
time, the prestige of Traditional Chinese is increasing in Chinese mainland.
  Is it sensible to do that?
I don't think so. The reasons are:
1) There's no law mentioning this.
2) I don't think the Chinese government would care about this, they are
even now considering returning to Traditional Chinese.
3) Nobody had ever said anything about this since I translated the
release notes into Traditional Chinese.
  Would you care to join us on [EMAIL PROTECTED]
OK.
  Is there a possibility to work together (if you want to)?
Yes, I think I can work with other Chinese translators.
 Is there a possibility to do translations which can be read by 
 mainland chinese and taiwanese people without offending anyone politically or 
 personally?
   
Yes. The only way is to use Traditional Chinese, which are readable to
all Chinese people.
 I'd like your opinions on that and I really think it would be great if you 
 could
 join the docs mailing list.
   
Trust me, Traditional Chinese is the true Chinese language, for anyone
who is truely Chinese, he would never turn against Traditional Chinese,
because it's the language Chinese people have been using for thousands
of years, it's the very root and essence of Chinese history and culture.


Thank you for concerning about the Chinese translation of the CentOS
release notes. I really appreciate that.


Best regards,
Hao XU
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Re: General translation questions

2008-08-26 Thread Nathanael Lee
Of course I can join with traditional Chinese translation if you like.All 
Chinese are Chinese,I just want to do it in details. Thanks Simon.


2008-08-26 



Nathanael Lee 



发件人: 徐浩 Simon XU 
发送时间: 2008-08-26  21:06:57 
收件人: Ralph Angenendt 
抄送: centos-docs 
主题: [CentOS-docs] Re: General translation questions 
 
Hi Ralph,
 there is someone on the centos-docs mailing list who also wants to (at least) 
 offer a translation of the Release Notes into chinese (simplified in this
 case). As those are subtleties(?) which are completely wasted on a eurocentric
 guy like me.
   
I don't think this guy is making any sense because there's simply no
difficult for all Chinese people to read the CentOS release notes in
Traditional Chinese.
 Is there a need to do that?
No need to do that. The Chinese language I used to translate CentOS
stuff was Traditional Chinese, which is readable to all Chinese people.
The history of Simplified Chinese is less than 50 years and it is only
used in Chinese mainland, while Traditional Chinese is not only used in
Chinese mainland, but also in Taiwan, Hongkong, Macao, and generally all
overseas Chinese communities (Singapore, Malaysia, Indonesia, America,
etc.) It is true that people in Chinese mainland have got used to using
Simplified Chinese, however, almost all of them can still read and write
Traditional Chinese because it is still used everywhere. At the same
time, the prestige of Traditional Chinese is increasing in Chinese mainland.
  Is it sensible to do that?
I don't think so. The reasons are:
1) There's no law mentioning this.
2) I don't think the Chinese government would care about this, they are
even now considering returning to Traditional Chinese.
3) Nobody had ever said anything about this since I translated the
release notes into Traditional Chinese.
  Would you care to join us on [EMAIL PROTECTED]
OK.
  Is there a possibility to work together (if you want to)?
Yes, I think I can work with other Chinese translators.
 Is there a possibility to do translations which can be read by 
 mainland chinese and taiwanese people without offending anyone politically or 
 personally?
   
Yes. The only way is to use Traditional Chinese, which are readable to
all Chinese people.
 I'd like your opinions on that and I really think it would be great if you 
 could
 join the docs mailing list.
   
Trust me, Traditional Chinese is the true Chinese language, for anyone
who is truely Chinese, he would never turn against Traditional Chinese,
because it's the language Chinese people have been using for thousands
of years, it's the very root and essence of Chinese history and culture.
Thank you for concerning about the Chinese translation of the CentOS
release notes. I really appreciate that.
Best regards,
Hao XU
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Amavisd Howto

2008-08-26 Thread Ralph Angenendt
Will F. wrote:
 Please let me know how I may contribute.

As Ned already is okay with that, just add your stuff to that page - you
have write permissions on there now.

Cheers,

Ralph


pgptWV2v3Az0X.pgp
Description: PGP signature
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS-docs] Re: General translation questions

2008-08-26 Thread Hao XU
Nathanael Lee wrote:
 Of course I can join with traditional Chinese translation if you
 like.All Chinese are Chinese,I just want to do it in details. Thanks
 Simon.


Hi Nathan,

Thank you for your understanding.
So we are the Chinese translation team of CentOS, aren't we? :-)


Regards,
Hao XU
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Re: General translation questions

2008-08-26 Thread Nathanael Lee
Yes.Of course! I trid so hard to find someone to work together with Chinese


2008-08-26 



Nathanael Lee 



发件人: Hao XU 
发送时间: 2008-08-26  21:36:40 
收件人: Mail list for wiki articles 
抄送: 
主题: [CentOS-docs] Re: General translation questions 
 
Nathanael Lee wrote:
 Of course I can join with traditional Chinese translation if you
 like.All Chinese are Chinese,I just want to do it in details. Thanks
 Simon.
Hi Nathan,
Thank you for your understanding.
So we are the Chinese translation team of CentOS, aren't we? :-)
Regards,
Hao XU
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] Re: General translation questions

2008-08-26 Thread Ralph Angenendt
Nathanael Lee wrote:

 Hao XU wrote:
 Thank you for your understanding.  So we are the Chinese translation
 team of CentOS, aren't we? :-)

 Yes.Of course! I trid so hard to find someone to work together with
 Chinese

Great. Thank you very much, guys.

Give me a bit of time to institute that on the wiki, I'm at work at the
moment.

Cheers,

Ralph


pgpqQ32s9znUF.pgp
Description: PGP signature
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS-announce] CESA-2008:0836 Moderate CentOS 3 i386 libxml2 - security update

2008-08-26 Thread Tru Huynh
CentOS Errata and Security Advisory CESA-2008:0836

libxml2 security update for CentOS 3 i386:
https://rhn.redhat.com/errata/RHSA-2008-0836.html

The following updated file has been uploaded and is currently syncing to
the mirrors:

i386:
updates/i386/RPMS/libxml2-2.5.10-11.i386.rpm
updates/i386/RPMS/libxml2-devel-2.5.10-11.i386.rpm
updates/i386/RPMS/libxml2-python-2.5.10-11.i386.rpm

source:
updates/SRPMS/libxml2-2.5.10-11.src.rpm

You may update your CentOS-3 i386 installations by running the command:

yum update libxml2\*

Tru
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B


pgpmfFXGZJPPz.pgp
Description: PGP signature
___
CentOS-announce mailing list
CentOS-announce@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


Re: [CentOS-virt] xen+drbd Question

2008-08-26 Thread Aleksandar Ivanisevic

Lorenzo Quatrini wrote:

I was just starting doing some test following this article:

http://fghaas.wordpress.com/2007/09/03/drbd-806-brings-full-live-migration-for-xen-on-drbd/

So if you say that doesn't work I'll give up on this and I'll go directly to
Openvz (actually proxmox)


Eh, never trust someone you met over the Internet ;) I've actually used 
that same page as a starting point for my tests and it's definitely not 
usable for me.


Don't know much about proxmox but it seems to be the right approach, use 
openvz for stuff that is distro/kernel/OS agnostic and KVM/XEN/whatever 
for full virtualization.


I'm now trying to achieve the same thing using openvz-xen kernel, but 
only not to waste all the work i've invested in getting the xen cluster 
going. Maybe I'll move to kvm after all, but I don't know yet if it 
would read xen disk images.



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


RE: [CentOS-virt] xen+drbd Question

2008-08-26 Thread Ross S. W. Walker
Alexandre Biancalana wrote:
 
 Hi list,
 
  I installed two new servers to be our virtualization HA. This servers
 have CentOS 5.2, Xen 3.0.3, Drbd 8.2.6. The setup is ok, lvm drbd
 resources sincronizing, Guest VM running without any problem.
 
 My only doubt is that I can only use drbd resources inside guest vms
 when I specify the disk resource in vms config like this:
 
 disk   = ['phy:/dev/VolGroup00/vappprtem01,hda,w' ]
 
 if I specify de disk like:
 
 disk   = [drbd:vappprtem01,hda,w' ]
 
 The Guest VM found the disk but this appear with zero size.
 
 As far what I read the second way is the correct to live migration
 work without any race condiction...
 
 This link say that centos has a problem with block-drbd script
 provided by drbd, is anybody aware of that ?
 
 http://lists.xensource.com/archives/html/xen-users/2008-08/msg00176.html
 
 Any hints ?

Just specify the drbd devices directly as:

disk = ['phy:/dev/drbd0,hda,w' ]

And you should be ok. There is no need to use the scripts.

Be sure you don't specify the underlying device, but the drbd device!

Using the underlying device will cause the replicas to become
out-of-sync as what is written to the underlying device will
not be replicated and a consistency check will bring your drbd
resources offline!

You are also going to want to use the multi-master as master-slave
is too difficult to get to work properly between xend and heartbeat!

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


Re: [CentOS-virt] xen+drbd Question

2008-08-26 Thread Jerry Amundson
On Tue, Aug 26, 2008 at 11:25 AM, Ross S. W. Walker
[EMAIL PROTECTED] wrote:
 Alexandre Biancalana wrote:
 On 8/26/08, Ross S. W. Walker [EMAIL PROTECTED] wrote:
   If you upgrade to xen.org release of Xen then you can use the
   block-drbd script to specify by drbd resource name instead of
   device, but that's just fluff in stuff, and doesn't have
   anything to do with the ability to live migrate which is all
   handled by the allow-two-primaries option.

True. In my case : CentOS 5.3, incl. kernel-xen and heartbeat, Xen.org
3.x, DRBD 8.2.
It works, but has no cookie-cutter howto.

 Are you saying that we can only use block-drbd script with Xen 3.2 ?

It's really not so much the Xen version, but the distro.

 It might work with the Xen 3.1 libraries too, but that's also
 irrelevant as CentOS/RHEL has decided to use the Xen 3.0.3
 libraries (though they are using the Xen 3.1 hypervisor, go
 figure!).

How did you determine they are different versions?

 Linbit wrote the block-drbd script for Xen 3.1 (maybe 3.2) and
 up, but definitely not pre-3.1.

 For the definitive answer though I recommend posting on
 drbd-user. Someone there might even have a work-around to
 get it to work on earlier Xen libraries...

http://lists.linbit.com/pipermail/drbd-user/2008-August/010077.html

jerry

-- 
There's plenty of youth in America - it's time we find the fountain of smart.
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


[CentOS-es] Problemas con el crontab de un usuario

2008-08-26 Thread Fernando Romero
Tengo un usuario (oracle) con el que ejecuto una tarea en el crontab, pero no 
se ejecuta, me tira este error:

X-Cron-Env: HOME=/home/oracle
X-Cron-Env: PATH=/usr/bin:/bin
X-Cron-Env: LOGNAME=oracle
X-Cron-Env: USER=oracle

/home/oracle/rman/domingo.sh: line 2: rman: command not found

este es el crontab

17 23 * * 5 /home/oracle/rman/domingo.sh

Pero si yo lo ejecuto desde la linea de comandos con el mismo usuario el script 
se ejcuta sin problemas

Donde puede estar el error?

Este es el contenido del script que corro en el crontab

#!/bin/bash
rman target sys/[EMAIL PROTECTED] rcvcat rman/[EMAIL PROTECTED] log 
/u04/datos/backup/cau/log/domingo/rman.log append @domingo.rman

Y llama a este otro scritp

#!/bin/bash
run
{
backup
incremental level 0 cumulative
skip inaccessible
tag domingo_level_0
format '/u04/datos/backup/cau/full_%d_%s_%p'
database;
sql 'alter system archive log current';
copy current controlfile to '/u04/datos/backup/cau/controlfilebck/domingo.ctl';
change archivelog all crosscheck;
backup
format '/u04/datos/backup/cau/archlogbck/ar_%d_%s_%p'
archivelog all;
#delete input;
}

Saludos y gracias___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Problemas con el crontab de un usuario

2008-08-26 Thread O. T. Suarez
Hola:

 /home/oracle/rman/domingo.sh: line 2: rman: command not found
Una consulta, el comando rman esta en /usr/bin o /bin?
 X-Cron-Env: PATH=/usr/bin:/bin
Acorde a esta linea, el cron solo reconoce esos path, tienes dos
soluciones si no es asi, una es copiar el comando rman para uno de
esos dos lugares (no la recomiendo, pues son binarios del sistema).
La otra es poner una variable en tu fichero del crontab
PATH=/usr/bin:/bin:/usr/local/bin
si rman estuviera en /usr/local/bin/rman
Saludos
Osvaldo
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Problemas con el crontab de un usuario

2008-08-26 Thread Fernando Romero

Este es el contenido del script que corro en el crontab

#!/bin/bash
rman target sys/[EMAIL PROTECTED] rcvcat rman/[EMAIL PROTECTED] log 
/u04/datos/backup/cau/log/domingo/rman.log append @domingo.rman


Y llama a este otro scritp

#!/bin/bash
run
{
backup
incremental level 0 cumulative
skip inaccessible
tag domingo_level_0
format '/u04/datos/backup/cau/full_%d_%s_%p'
database;
sql 'alter system archive log current';
copy current controlfile to 
'/u04/datos/backup/cau/controlfilebck/domingo.ctl';

change archivelog all crosscheck;
backup
format '/u04/datos/backup/cau/archlogbck/ar_%d_%s_%p'
archivelog all;
#delete input;
}

Saludos y gracias

- Original Message - 
From: Ing. Ernesto Pérez Estévez [EMAIL PROTECTED]

To: centos-es@centos.org
Sent: Tuesday, August 26, 2008 11:51 AM
Subject: Re: [CentOS-es] Problemas con el crontab de un usuario



Fernando Romero wrote:
Tengo un usuario (oracle) con el que ejecuto una tarea en el crontab, 
pero no se ejecuta, me tira este error:


X-Cron-Env: HOME=/home/oracle
X-Cron-Env: PATH=/usr/bin:/bin
X-Cron-Env: LOGNAME=oracle
X-Cron-Env: USER=oracle

/home/oracle/rman/domingo.sh: line 2: rman: command not found


y el script dentro qué dice ? me parece que le falta algo en la línea 1 o 
2


--
Saludos!
epe

Ing. Ernesto Pérez Estévez
http://www.NuestroServer.com/

USA: +1 305 359 4495 / España: +34 91 761 7884
Ecuador: +593 2 341 2402 / + 593 9 9246504
Mexico: +52 55 1163 8640 / Italia: +39 06 916504876

___
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] Problemas con el crontab de un usuario

2008-08-26 Thread Fernando Romero

Este es el path donde esta el binario de oracle
/u01/appl/oracle/product/10/bin/rman

Se lo pase asi:
PATH=/u01/appl/oracle/product/10/bin/rman
36 16 * * 1-6 /home/oracle/rman/domingo.sh  /home/oracle/crontab.log

Voy cambiando la hora para probarlo pero cuando le pongo el path 
directamente no se ejcuta


- Original Message - 
From: O. T. Suarez [EMAIL PROTECTED]

To: centos-es@centos.org
Sent: Tuesday, August 26, 2008 4:03 PM
Subject: Re: [CentOS-es] Problemas con el crontab de un usuario



Hola:
Volvamos al inicio.


este es el crontab
17 23 * * 5 /home/oracle/rman/domingo.sh

ok, El cron ejecuta el comando domingo.sh



Este es el contenido del script que corro en el crontab
#!/bin/bash
rman target sys/[EMAIL PROTECTED] rcvcat rman/[EMAIL PROTECTED] log
/u04/datos/backup/cau/log/domingo/rman.log append @domingo.rman


La primera linea del script domingo.sh invoca un comando: rman y luego
sigue.. target sys/[EMAIL PROTECTED] 
Al menos eso es lo que interpreto del script que copiastes. Por eso es
que asumo que rman es un binario, es lo primero que aparece en el
script. Si no lo es, entonces no entiendo el script como funciona.

Saludos
Osvaldo
___
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] Problemas con el crontab de un usuario

2008-08-26 Thread O. T. Suarez
Hola:

Si el binario es este:
 Este es el path donde esta el binario de oracle
 /u01/appl/oracle/product/10/bin/rman

 Se lo pase asi:
 PATH=/u01/appl/oracle/product/10/bin/rman
 36 16 * * 1-6 /home/oracle/rman/domingo.sh  /home/oracle/crontab.log
deberia quedarte asi el path
PATH=/u01/appl/oracle/product/10/bin
que ademas, diria, mejor asi:
PATH=/u01/appl/oracle/product/10/bin:/usr/bin/:/bin
En el path pones los directorios donde estan los binarios, no el binario en si.

 Voy cambiando la hora para probarlo pero cuando le pongo el path
 directamente no se ejcuta
La otra variente es que en el script domingo.sh en vez de poner
rman 
pongas el bnario con el camino completo
/u01/appl/oracle/product/10/bin/rman .
Saludos
Osvaldo
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Problemas con el crontab de un usuario

2008-08-26 Thread Fernando Romero
No hay caso, cuando modifico algo no se ejcuta, ni poniendo el path ni 
agregandole la ruta en el script
/u01/appl/oracle/product/10/bin/rman target sys/[EMAIL PROTECTED] rcvcat 
rman/[EMAIL PROTECTED] log /u04/datos/backup/cau/log/domingo/rman.log append 
@domingo.rman


Ahora cuando no le pongo el path o no le agrego la ruta se ejcuta tirandome 
el primer error que postee

Probe hacerlo con el crontab de root pero no lo ejecuta
Saludos
- Original Message - 
From: O. T. Suarez [EMAIL PROTECTED]

To: centos-es@centos.org
Sent: Tuesday, August 26, 2008 4:43 PM
Subject: Re: [CentOS-es] Problemas con el crontab de un usuario



Hola:

Si el binario es este:

Este es el path donde esta el binario de oracle
/u01/appl/oracle/product/10/bin/rman

Se lo pase asi:
PATH=/u01/appl/oracle/product/10/bin/rman
36 16 * * 1-6 /home/oracle/rman/domingo.sh  /home/oracle/crontab.log

deberia quedarte asi el path
PATH=/u01/appl/oracle/product/10/bin
que ademas, diria, mejor asi:
PATH=/u01/appl/oracle/product/10/bin:/usr/bin/:/bin
En el path pones los directorios donde estan los binarios, no el binario 
en si.



Voy cambiando la hora para probarlo pero cuando le pongo el path
directamente no se ejcuta

La otra variente es que en el script domingo.sh en vez de poner
rman 
pongas el bnario con el camino completo
/u01/appl/oracle/product/10/bin/rman .
Saludos
Osvaldo
___
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] Problemas con el crontab de un usuario

2008-08-26 Thread Fernando Romero
Lo que veo que me esta dandoi error es el oracle home donde esta el binario 
creo

X-Cron-Env: SHELL=/bin/sh
X-Cron-Env: HOME=/home/oracle -- este es el del usuario
X-Cron-Env: LOGNAME=oracle
X-Cron-Env: USER=oracle

y este seria el del binario /u01/appl/oracle/product/10

Message file RMANlang.msb not found

Verify that ORACLE_HOME is set properly

- Original Message - 
From: O. T. Suarez [EMAIL PROTECTED]

To: centos-es@centos.org
Sent: Tuesday, August 26, 2008 4:43 PM
Subject: Re: [CentOS-es] Problemas con el crontab de un usuario



Hola:

Si el binario es este:

Este es el path donde esta el binario de oracle
/u01/appl/oracle/product/10/bin/rman

Se lo pase asi:
PATH=/u01/appl/oracle/product/10/bin/rman
36 16 * * 1-6 /home/oracle/rman/domingo.sh  /home/oracle/crontab.log

deberia quedarte asi el path
PATH=/u01/appl/oracle/product/10/bin
que ademas, diria, mejor asi:
PATH=/u01/appl/oracle/product/10/bin:/usr/bin/:/bin
En el path pones los directorios donde estan los binarios, no el binario 
en si.



Voy cambiando la hora para probarlo pero cuando le pongo el path
directamente no se ejcuta

La otra variente es que en el script domingo.sh en vez de poner
rman 
pongas el bnario con el camino completo
/u01/appl/oracle/product/10/bin/rman .
Saludos
Osvaldo
___
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] Problemas con el crontab de un usuario

2008-08-26 Thread Fernando Romero

O sea que estoy al horno con esto...

- Original Message - 
From: O. T. Suarez [EMAIL PROTECTED]

To: centos-es@centos.org
Sent: Tuesday, August 26, 2008 5:29 PM
Subject: Re: [CentOS-es] Problemas con el crontab de un usuario



Hola Fernando:
El problema es comun, acabo de googlear un poco y aparte de tu post en
el foro de starlinux.net que aun no te han respondido, si encontre
otros post similares.
El problema es que los scripts de Oracle requieren determinadas
variables seteadas para ejecutarse.
El usuario oracle evidentemente las tiene pero ni el propio root las
tiene. no se trata de permisos o path, sino de variables de entorno.
Googlea y sobre todo, busca por los foros de Oracle porque no es un
tema de bash, sino especifico de oracle.
Saludos
Osvaldo


2008/8/26 Fernando Romero [EMAIL PROTECTED]:
Lo que veo que me esta dandoi error es el oracle home donde esta el 
binario

creo
X-Cron-Env: SHELL=/bin/sh
X-Cron-Env: HOME=/home/oracle -- este es el del usuario
X-Cron-Env: LOGNAME=oracle
X-Cron-Env: USER=oracle

y este seria el del binario /u01/appl/oracle/product/10

Message file RMANlang.msb not found

Verify that ORACLE_HOME is set properly

- Original Message - From: O. T. Suarez [EMAIL PROTECTED]
To: centos-es@centos.org
Sent: Tuesday, August 26, 2008 4:43 PM
Subject: Re: [CentOS-es] Problemas con el crontab de un usuario



Hola:

Si el binario es este:


Este es el path donde esta el binario de oracle
/u01/appl/oracle/product/10/bin/rman

Se lo pase asi:
PATH=/u01/appl/oracle/product/10/bin/rman
36 16 * * 1-6 /home/oracle/rman/domingo.sh  /home/oracle/crontab.log


deberia quedarte asi el path
PATH=/u01/appl/oracle/product/10/bin
que ademas, diria, mejor asi:
PATH=/u01/appl/oracle/product/10/bin:/usr/bin/:/bin
En el path pones los directorios donde estan los binarios, no el binario
en si.


Voy cambiando la hora para probarlo pero cuando le pongo el path
directamente no se ejcuta


La otra variente es que en el script domingo.sh en vez de poner
rman 
pongas el bnario con el camino completo
/u01/appl/oracle/product/10/bin/rman .
Saludos
Osvaldo
___
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 mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Problemas con el crontab de un usuario

2008-08-26 Thread Wilder Deza
Holas, saludos gente una consulta como hago para ver los sitios 
navegados de un ip en mi proxy squid.. espero sus respuestas lo más 
pronto posible


* *

Saludos,

*Wilder Deza*

*GAMMA CARGO SAC***

*/Área/**/ de /**/Sistemas/*

Phone: + 51 (1) 222 4176 ext. /205* */

Fax : + 51 (1) 221 4955

Nextel: 51 (1) 403*8302

Visit us on: www.gammacargo.com http://www.gammacargo.com/

E-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

/“Su opinión es importante para nosotros, en/

/ caso consultas / sugerencias / comentarios/

/favor escribir a: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]”/



Fernando Romero escribió:

O sea que estoy al horno con esto...

- Original Message - From: O. T. Suarez [EMAIL PROTECTED]
To: centos-es@centos.org
Sent: Tuesday, August 26, 2008 5:29 PM
Subject: Re: [CentOS-es] Problemas con el crontab de un usuario



Hola Fernando:
El problema es comun, acabo de googlear un poco y aparte de tu post en
el foro de starlinux.net que aun no te han respondido, si encontre
otros post similares.
El problema es que los scripts de Oracle requieren determinadas
variables seteadas para ejecutarse.
El usuario oracle evidentemente las tiene pero ni el propio root las
tiene. no se trata de permisos o path, sino de variables de entorno.
Googlea y sobre todo, busca por los foros de Oracle porque no es un
tema de bash, sino especifico de oracle.
Saludos
Osvaldo


2008/8/26 Fernando Romero [EMAIL PROTECTED]:
Lo que veo que me esta dandoi error es el oracle home donde esta el 
binario

creo
X-Cron-Env: SHELL=/bin/sh
X-Cron-Env: HOME=/home/oracle -- este es el del usuario
X-Cron-Env: LOGNAME=oracle
X-Cron-Env: USER=oracle

y este seria el del binario /u01/appl/oracle/product/10

Message file RMANlang.msb not found

Verify that ORACLE_HOME is set properly

- Original Message - From: O. T. Suarez [EMAIL PROTECTED]
To: centos-es@centos.org
Sent: Tuesday, August 26, 2008 4:43 PM
Subject: Re: [CentOS-es] Problemas con el crontab de un usuario



Hola:

Si el binario es este:


Este es el path donde esta el binario de oracle
/u01/appl/oracle/product/10/bin/rman

Se lo pase asi:
PATH=/u01/appl/oracle/product/10/bin/rman
36 16 * * 1-6 /home/oracle/rman/domingo.sh  
/home/oracle/crontab.log


deberia quedarte asi el path
PATH=/u01/appl/oracle/product/10/bin
que ademas, diria, mejor asi:
PATH=/u01/appl/oracle/product/10/bin:/usr/bin/:/bin
En el path pones los directorios donde estan los binarios, no el 
binario

en si.


Voy cambiando la hora para probarlo pero cuando le pongo el path
directamente no se ejcuta


La otra variente es que en el script domingo.sh en vez de poner
rman 
pongas el bnario con el camino completo
/u01/appl/oracle/product/10/bin/rman .
Saludos
Osvaldo
___
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 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] Problema con el Squid

2008-08-26 Thread Wilder Deza
Hola alguien me puede ayudar a como consultar las paginas navegadas de 
un pc, quiero saber que persona de tal ip accede a que paginas porfa 
ayuda


* *

Saludos,



*Wilder Deza*

*GAMMA CARGO SAC***

*/Área/**/ de /**/Sistemas/*

Phone: + 51 (1) 222 4176 ext. /205* */

Fax : + 51 (1) 221 4955

Nextel: 51 (1) 403*8302

Visit us on: www.gammacargo.com http://www.gammacargo.com/

E-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]



/“Su opinión es importante para nosotros, en/

/ caso consultas / sugerencias / comentarios/

/favor escribir a: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]”/





Yusdel Reyes Oliva escribió:
Gracias ya lo solucione, al parecer el problema estaba en el cache con 
los permisos pero ya funciona, elimine todas las carpetas de cache, 
despues di squid -z y listo inicio perfectamente.


GRACIAS

Rhonny Lanz escribió:



El día 2/09/08, *Yusdel Reyes Oliva* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] escribió:




Saludos a todos, alguno de ustedes me puede decir que significa
este mensaje de error que me da el squid y como puedo
solucionarlo. ya que intento levantar ese servicio y me da FALLÓ.


Hola buen dia,

Creo que olvidaste colocar el mensaje de error de squid.

--
Rhonny Lanz R.
Linux Counter 377315
Debian Lenny User
Cel 0412-5019537
:~$ /Caracas_ Venezuela/
Blog -- http://lanzr.blogspot.com/


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



__ Información de NOD32, revisión 2500 (20070903) __

Este mensaje ha sido analizado con NOD32 antivirus system
http://www.nod32.com
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Problema con el Squid

2008-08-26 Thread Ernesto Miranda
Fuerzalo a que use proxy, obviamente con squid... en el servidor usa
squidview, que te permite ver online l que está pasando a traves de él y
para ver los históricos, sarg o a mano revisar elo log del squid..

Saludos
Ernesto Miranda R.


Wilder Deza escribió:
 Hola alguien me puede ayudar a como consultar las paginas navegadas de
 un pc, quiero saber que persona de tal ip accede a que paginas porfa
 ayuda

 * *

 Saludos,



 *Wilder Deza*

 *GAMMA CARGO SAC***

 */Área/**/ de /**/Sistemas/*

 Phone: + 51 (1) 222 4176 ext. /205* */

 Fax : + 51 (1) 221 4955

 Nextel: 51 (1) 403*8302

 Visit us on: www.gammacargo.com http://www.gammacargo.com/

 E-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]



 /“Su opinión es importante para nosotros, en/

 / caso consultas / sugerencias / comentarios/

 /favor escribir a: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]”/





 Yusdel Reyes Oliva escribió:
 Gracias ya lo solucione, al parecer el problema estaba en el cache
 con los permisos pero ya funciona, elimine todas las carpetas de
 cache, despues di squid -z y listo inicio perfectamente.

 GRACIAS

 Rhonny Lanz escribió:


 El día 2/09/08, *Yusdel Reyes Oliva* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] escribió:



 Saludos a todos, alguno de ustedes me puede decir que significa
 este mensaje de error que me da el squid y como puedo
 solucionarlo. ya que intento levantar ese servicio y me da FALLÓ.


 Hola buen dia,

 Creo que olvidaste colocar el mensaje de error de squid.

 -- 
 Rhonny Lanz R.
 Linux Counter 377315
 Debian Lenny User
 Cel 0412-5019537
 :~$ /Caracas_ Venezuela/
 Blog -- http://lanzr.blogspot.com/
 


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


 __ Información de NOD32, revisión 2500 (20070903) __

 Este mensaje ha sido analizado con NOD32 antivirus system
 http://www.nod32.com
 

 ___
 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] Problema con el Squid

2008-08-26 Thread Wilder Deza

Podrías ser un poco más claro, pasa que no conozco mucho aún sobre el tema..

* *

Saludos,



*Wilder Deza*

*GAMMA CARGO SAC***

*/Área/**/ de /**/Sistemas/*

Phone: + 51 (1) 222 4176 ext. /205* */

Fax : + 51 (1) 221 4955

Nextel: 51 (1) 403*8302

Visit us on: www.gammacargo.com http://www.gammacargo.com/

E-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]



/“Su opinión es importante para nosotros, en/

/ caso consultas / sugerencias / comentarios/

/favor escribir a: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]”/





Ernesto Miranda escribió:

Fuerzalo a que use proxy, obviamente con squid... en el servidor usa
squidview, que te permite ver online l que está pasando a traves de él y
para ver los históricos, sarg o a mano revisar elo log del squid..

Saludos
Ernesto Miranda R.


Wilder Deza escribió:
  

Hola alguien me puede ayudar a como consultar las paginas navegadas de
un pc, quiero saber que persona de tal ip accede a que paginas porfa
ayuda

* *

Saludos,



*Wilder Deza*

*GAMMA CARGO SAC***

*/Área/**/ de /**/Sistemas/*

Phone: + 51 (1) 222 4176 ext. /205* */

Fax : + 51 (1) 221 4955

Nextel: 51 (1) 403*8302

Visit us on: www.gammacargo.com http://www.gammacargo.com/

E-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]



/“Su opinión es importante para nosotros, en/

/ caso consultas / sugerencias / comentarios/

/favor escribir a: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]”/





Yusdel Reyes Oliva escribió:


Gracias ya lo solucione, al parecer el problema estaba en el cache
con los permisos pero ya funciona, elimine todas las carpetas de
cache, despues di squid -z y listo inicio perfectamente.

GRACIAS

Rhonny Lanz escribió:
  

El día 2/09/08, *Yusdel Reyes Oliva* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] escribió:



Saludos a todos, alguno de ustedes me puede decir que significa
este mensaje de error que me da el squid y como puedo
solucionarlo. ya que intento levantar ese servicio y me da FALLÓ.


Hola buen dia,

Creo que olvidaste colocar el mensaje de error de squid.

--
Rhonny Lanz R.
Linux Counter 377315
Debian Lenny User
Cel 0412-5019537
:~$ /Caracas_ Venezuela/
Blog -- http://lanzr.blogspot.com/



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


__ Información de NOD32, revisión 2500 (20070903) __

Este mensaje ha sido analizado con NOD32 antivirus system
http://www.nod32.com
  



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




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

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


Re: [CentOS-es] Problema con el Squid

2008-08-26 Thread Ing. Ernesto Pérez Estévez

Wilder Deza wrote:
Hola alguien me puede ayudar a como consultar las paginas navegadas de 
un pc, quiero saber que persona de tal ip accede a que paginas porfa 
ayuda


Si el usuario está usando squid, entonces sería bueno instales el sARG 
(está en el repo de rpmforge)


el sarg te dará un chisme de TODO lo que el usuario navega, eso es lo 
que buscas


saludos!
epe
Ing. Ernesto Pérez Estévez
http://www.NuestroServer.com/

USA: +1 305 359 4495 / España: +34 91 761 7884
Ecuador: +593 2 341 2402 / + 593 9 9246504
Mexico: +52 55 1163 8640 / Italia: +39 06 916504876
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Problema con el Squid

2008-08-26 Thread Wilder Deza
ya me imagino que ese sarg que me dices lo instalo con un yum, esa 
aplicacion tiene gui o algo por el estilo.


* *

Saludos,



*Wilder Deza*

*GAMMA CARGO SAC***

*/Área/**/ de /**/Sistemas/*

Phone: + 51 (1) 222 4176 ext. /205* */

Fax : + 51 (1) 221 4955

Nextel: 51 (1) 403*8302

Visit us on: www.gammacargo.com http://www.gammacargo.com/

E-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]



/“Su opinión es importante para nosotros, en/

/ caso consultas / sugerencias / comentarios/

/favor escribir a: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]”/





Ing. Ernesto Pérez Estévez escribió:

Wilder Deza wrote:
Hola alguien me puede ayudar a como consultar las paginas navegadas 
de un pc, quiero saber que persona de tal ip accede a que paginas 
porfa ayuda


Si el usuario está usando squid, entonces sería bueno instales el sARG 
(está en el repo de rpmforge)


el sarg te dará un chisme de TODO lo que el usuario navega, eso es lo 
que buscas


saludos!
epe
Ing. Ernesto Pérez Estévez
http://www.NuestroServer.com/

USA: +1 305 359 4495 / España: +34 91 761 7884
Ecuador: +593 2 341 2402 / + 593 9 9246504
Mexico: +52 55 1163 8640 / Italia: +39 06 916504876


___
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] Problema con el Squid

2008-08-26 Thread Ernesto Miranda
No que yo sepa, pero lo puedes configurar si utilizas webmin
(www.webmin.com) en tu servidor, tiene un módulo de configuración de
sarg, bastante bueno.

Saludos
Ernesto Miranda

Wilder Deza escribió:
 ya me imagino que ese sarg que me dices lo instalo con un yum, esa
 aplicacion tiene gui o algo por el estilo.

 * *

 Saludos,



 *Wilder Deza*

 *GAMMA CARGO SAC***

 */Área/**/ de /**/Sistemas/*

 Phone: + 51 (1) 222 4176 ext. /205* */

 Fax : + 51 (1) 221 4955

 Nextel: 51 (1) 403*8302

 Visit us on: www.gammacargo.com http://www.gammacargo.com/

 E-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]



 /“Su opinión es importante para nosotros, en/

 / caso consultas / sugerencias / comentarios/

 /favor escribir a: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]”/





 Ing. Ernesto Pérez Estévez escribió:
 Wilder Deza wrote:
 Hola alguien me puede ayudar a como consultar las paginas navegadas
 de un pc, quiero saber que persona de tal ip accede a que paginas
 porfa ayuda

 Si el usuario está usando squid, entonces sería bueno instales el
 sARG (está en el repo de rpmforge)

 el sarg te dará un chisme de TODO lo que el usuario navega, eso es lo
 que buscas

 saludos!
 epe
 Ing. Ernesto Pérez Estévez
 http://www.NuestroServer.com/

 USA: +1 305 359 4495 / España: +34 91 761 7884
 Ecuador: +593 2 341 2402 / + 593 9 9246504
 Mexico: +52 55 1163 8640 / Italia: +39 06 916504876
 

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

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


Re: [CentOS-es] Problema con el Squid

2008-08-26 Thread Wilder Deza
y no hay manera de ver lo que quiero mediante los log del squid..??? 
digo porq me da cierto temor al instalar el sarg o el webalizer.. quizás 
se me desconfigura el squid como ya en una oportunidad en una prueba..


* *

Saludos,



*Wilder Deza*

*GAMMA CARGO SAC***

*/Área/**/ de /**/Sistemas/*

Phone: + 51 (1) 222 4176 ext. /205* */

Fax : + 51 (1) 221 4955

Nextel: 51 (1) 403*8302

Visit us on: www.gammacargo.com http://www.gammacargo.com/

E-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]



/“Su opinión es importante para nosotros, en/

/ caso consultas / sugerencias / comentarios/

/favor escribir a: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]”/





Ernesto Miranda escribió:

No que yo sepa, pero lo puedes configurar si utilizas webmin
(www.webmin.com) en tu servidor, tiene un módulo de configuración de
sarg, bastante bueno.

Saludos
Ernesto Miranda

Wilder Deza escribió:
  

ya me imagino que ese sarg que me dices lo instalo con un yum, esa
aplicacion tiene gui o algo por el estilo.

* *

Saludos,



*Wilder Deza*

*GAMMA CARGO SAC***

*/Área/**/ de /**/Sistemas/*

Phone: + 51 (1) 222 4176 ext. /205* */

Fax : + 51 (1) 221 4955

Nextel: 51 (1) 403*8302

Visit us on: www.gammacargo.com http://www.gammacargo.com/

E-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]



/“Su opinión es importante para nosotros, en/

/ caso consultas / sugerencias / comentarios/

/favor escribir a: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]”/





Ing. Ernesto Pérez Estévez escribió:


Wilder Deza wrote:
  

Hola alguien me puede ayudar a como consultar las paginas navegadas
de un pc, quiero saber que persona de tal ip accede a que paginas
porfa ayuda


Si el usuario está usando squid, entonces sería bueno instales el
sARG (está en el repo de rpmforge)

el sarg te dará un chisme de TODO lo que el usuario navega, eso es lo
que buscas

saludos!
epe
Ing. Ernesto Pérez Estévez
http://www.NuestroServer.com/

USA: +1 305 359 4495 / España: +34 91 761 7884
Ecuador: +593 2 341 2402 / + 593 9 9246504
Mexico: +52 55 1163 8640 / Italia: +39 06 916504876


___
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 mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


RE: [CentOS-es] Problema con el Squid

2008-08-26 Thread Hector Martínez Romo
Aquí hay un how to 
http://linux.ues.edu.sv/servidor/maracosas/gatocosas/documentos/portables/Manual%20Analizador%20sarg.pdf

saludos

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Wilder Deza
Enviado el: Martes, 26 de Agosto de 2008 17:26
Para: centos-es@centos.org
Asunto: Re: [CentOS-es] Problema con el Squid

ya me imagino que ese sarg que me dices lo instalo con un yum, esa
aplicacion tiene gui o algo por el estilo.

* *

Saludos,



*Wilder Deza*

*GAMMA CARGO SAC***

*/Área/**/ de /**/Sistemas/*

Phone: + 51 (1) 222 4176 ext. /205* */

Fax : + 51 (1) 221 4955

Nextel: 51 (1) 403*8302

Visit us on: www.gammacargo.com http://www.gammacargo.com/

E-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]



/Su opinión es importante para nosotros, en/

/ caso consultas / sugerencias / comentarios/

/favor escribir a: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]/





Ing. Ernesto Pérez Estévez escribió:
 Wilder Deza wrote:
 Hola alguien me puede ayudar a como consultar las paginas navegadas
 de un pc, quiero saber que persona de tal ip accede a que paginas
 porfa ayuda

 Si el usuario está usando squid, entonces sería bueno instales el sARG
 (está en el repo de rpmforge)

 el sarg te dará un chisme de TODO lo que el usuario navega, eso es lo
 que buscas

 saludos!
 epe
 Ing. Ernesto Pérez Estévez
 http://www.NuestroServer.com/

 USA: +1 305 359 4495 / España: +34 91 761 7884
 Ecuador: +593 2 341 2402 / + 593 9 9246504
 Mexico: +52 55 1163 8640 / Italia: +39 06 916504876
 

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

La información contenida en esta transmisión es confidencial y no puede ser 
usada o difundida por personas distintas a su(s) destinatario(s).
El uso no autorizado de la información contenida en este correo  puede ser 
sancionado criminalmente de conformidad con la Ley Chilena.
Si ha recibido un correo por error, por favor destrúyalo y notifique al 
remitente.
El Departamento de Informática del Ministerio de Educación le recomienda, para 
el buen desempeño de su correo, lo siguiente:
- Revise su correo diariamente
- Pida confirmación de los correos que envía
- Oriéntese de las buenas practicas en el uso del correo

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


[CentOS-es] Nombres de archivos largos

2008-08-26 Thread Victor Ramirez
Hola que tal un Saludo a todos,

Tengo un problema y quiero saber si alguien me puede ayudar, tengo un
servidor de archivos (samba) con Centos 5 resulta que aqui se aloja bastante
informacion de algunas areas tecnicas de la empresa, por cuestiones que aun
no me explico decidieron separar la informacion y la van a poner por
desgracia en Windows Server, bueno mi problema radica en que la informacion
tiene archivos con rutas bastante largas me atrvo a decir que mas de 300
caracteres en la ruta y no es exageracion y cuando los quiero pasar la gente
de windows me dice que algunos archivos se cortan los nombres a 8 caracteres
y lo malo es que son como 100GB con el mismo caso. Alguien sabe si hay algun
software de terceros que me pueda ayudar, hice unas pruebas con
Totalcommander en windows y me paso la informacion que tenia acentos y
caracteres especiales.

Les agradezco como siempre su valiosa ayuda.

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


Re: [CentOS-es] Problema con el Squid

2008-08-26 Thread Ernesto Miranda
O sea, a mano lo puedes hacer sin problemas.. un simple #grep IP
/var/log/squi/squid.log basta pero no temas instalarlo.. yo uso
squid desde hace ya unos 7 años y tambien sarg y nunca se me ha
desconfigurado, ya que ambos son diferentes en su configuración...si
necesito bastante disco, ya que el sarg te revisa el squid.log para
hacer su informe y es bastante completo.. y ahora con webmin, los
informes me quedan impecables..

Saludos
Ernesto Miranda

Wilder Deza escribió:
 y no hay manera de ver lo que quiero mediante los log del squid..???
 digo porq me da cierto temor al instalar el sarg o el webalizer..
 quizás se me desconfigura el squid como ya en una oportunidad en una
 prueba..

 * *

 Saludos,



 *Wilder Deza*

 *GAMMA CARGO SAC***

 */Área/**/ de /**/Sistemas/*

 Phone: + 51 (1) 222 4176 ext. /205* */

 Fax : + 51 (1) 221 4955

 Nextel: 51 (1) 403*8302

 Visit us on: www.gammacargo.com http://www.gammacargo.com/

 E-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]



 /“Su opinión es importante para nosotros, en/

 / caso consultas / sugerencias / comentarios/

 /favor escribir a: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]”/





 Ernesto Miranda escribió:
 No que yo sepa, pero lo puedes configurar si utilizas webmin
 (www.webmin.com) en tu servidor, tiene un módulo de configuración de
 sarg, bastante bueno.

 Saludos
 Ernesto Miranda

 Wilder Deza escribió:
  
 ya me imagino que ese sarg que me dices lo instalo con un yum, esa
 aplicacion tiene gui o algo por el estilo.

 * *

 Saludos,



 *Wilder Deza*

 *GAMMA CARGO SAC***

 */Área/**/ de /**/Sistemas/*

 Phone: + 51 (1) 222 4176 ext. /205* */

 Fax : + 51 (1) 221 4955

 Nextel: 51 (1) 403*8302

 Visit us on: www.gammacargo.com http://www.gammacargo.com/

 E-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]



 /“Su opinión es importante para nosotros, en/

 / caso consultas / sugerencias / comentarios/

 /favor escribir a: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]”/





 Ing. Ernesto Pérez Estévez escribió:

 Wilder Deza wrote:
  
 Hola alguien me puede ayudar a como consultar las paginas navegadas
 de un pc, quiero saber que persona de tal ip accede a que paginas
 porfa ayuda
 
 Si el usuario está usando squid, entonces sería bueno instales el
 sARG (está en el repo de rpmforge)

 el sarg te dará un chisme de TODO lo que el usuario navega, eso es lo
 que buscas

 saludos!
 epe
 Ing. Ernesto Pérez Estévez
 http://www.NuestroServer.com/

 USA: +1 305 359 4495 / España: +34 91 761 7884
 Ecuador: +593 2 341 2402 / + 593 9 9246504
 Mexico: +52 55 1163 8640 / Italia: +39 06 916504876
 


 ___
 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 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] Problema con el Squid

2008-08-26 Thread Ing. Ernesto Pérez Estévez

Wilder Deza wrote:
ya me imagino que ese sarg que me dices lo instalo con un yum, esa 
aplicacion tiene gui o algo por el estilo.


una vez la instales te generará una página web por cada día y podrás ver 
ahi las estadísticas


saludos
epe

Ing. Ernesto Pérez Estévez
http://www.NuestroServer.com/

USA: +1 305 359 4495 / España: +34 91 761 7884
Ecuador: +593 2 341 2402 / + 593 9 9246504
Mexico: +52 55 1163 8640 / Italia: +39 06 916504876
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] Webalizer

2008-08-26 Thread Aland Laines
tengo instalado el WEBALIZER desde un rpm, pero no tengo idea de donde
cambiar el idioma de los reportes, si alguien me ilumina se lo agradecere..
muchas gracias..

-- 
Aland Laines Calonge
Tecnico en Informatica
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS] screen not sourcing .bashrc

2008-08-26 Thread Matt Arnilo S. Baluyos (Mailing Lists)
Hi everyone,

I use the screen command from time to time and what i would still
have to figure out how to do is for it to be able to source .bashrc
and read my user-defined configuration (aliases for example).

I have already added the source /root/.bashrc line on
/root/.screenrc but it doesn't seem to be working.

Would anyone know how this should work?

Thanks,
Matt

-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: YumRepo Warning: not using ftp, http[s], or file for repos, skipping - 5 is not a valid release or hasnt been released yet

2008-08-26 Thread Rudi Ahlers
On Thu, Aug 21, 2008 at 3:37 PM, Rudi Ahlers [EMAIL PROTECTED] wrote:

 Hi all

 Does anyone know what causes this error?
 I have setup a local CentOS repository, with mrepo, and can succesfully use
 it for updates  installation of just about anything. Yet, this error comes
 up.

 Here's my /etc/yum.conf:

 # PUT YOUR REPOS HERE OR IN separate files named file.repo
 # in /etc/yum.repos.d

 [base-local]
 name=CentOS-$releasever - Base
 #mirrorlist=
 http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=os
 baseurl=http://192.168.10.10/repo/centos5/$basearch/os
 gpgcheck=1
 enabled=1
 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

 [updates-local]
 name=CentOS-$releasever - Updates
 #mirrorlist=
 http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=updates
 baseurl=http://192.168.10.10/repo/centos5/$basearch/updates
 gpgcheck=1
 enabled=1
 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

 [addons-local]
 name=CentOS-$releasever - Addons
 #mirrorlist=
 http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=addons
 baseurl=http://192.168.10.10/repo/centos5/$basearch/addons
 gpgcheck=1
 enabled=1
 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

 [extras-local]
 name=CentOS-$releasever - Addons
 #mirrorlist=
 http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=addons
 baseurl=http://192.168.10.10/repo/centos5/$basearch/extras
 gpgcheck=1
 enabled=1
 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5


 And when I browse to http://192.168.10.10/repo/centos5 - it looks similar
 to the online CentOS repositories, but only with the x86 folder.

 --

 Kind Regards
 Rudi Ahlers



Does anyone know how to fix this?
-- 

Kind Regards
Rudi Ahlers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] data rate on NIC card

2008-08-26 Thread Michel van Deventer
On Tue, 2008-08-26 at 11:20 +0530, Gopinath Achari wrote:
 hi 
 
 
 how to check the data rate on the nic card in centos
 i.e, at what speed the data is transmitted and received on
 ethernet interface in terms of kbps or bps
 any command is available in centos 5.1
You can use ethtool  to check for negotiated networkspeeds.
If you want to check for current speeds of network connections, I
usually use iptraf.

Regards,

Michel



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


Re: [CentOS] data rate on NIC card

2008-08-26 Thread Gopinath Achari
thank u. this tool is very usefull

On Tue, 2008-08-26 at 08:48 +0200, Michel van Deventer wrote:

 On Tue, 2008-08-26 at 11:20 +0530, Gopinath Achari wrote:
  hi 
  
  
  how to check the data rate on the nic card in centos
  i.e, at what speed the data is transmitted and received on
  ethernet interface in terms of kbps or bps
  any command is available in centos 5.1
 You can use ethtool  to check for negotiated networkspeeds.
 If you want to check for current speeds of network connections, I
 usually use iptraf.
 
   Regards,
 
   Michel
 
 
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Re: Problems with perl upgrading CentOS 5.1 to 5.2 [SOLVED?]

2008-08-26 Thread ArcosCom Linux User
Taking a view into perl packages (classes) needed by spamassassin
(qmail-toaster package), I saw that there are a script that install the
classes using CPAN.

I discovered that CPAN installed packages goes into a diferent directory
that distro ones.

The workaround (solution) I found is rename this directory and install the
needed packages manually from rpmforge repository.

All appears to be working now.

The steps have been:
   1) Rename /usr/lib/perl5/site_perl.
   2) Update perl packages.
   3) Install the needed clases as packages (from rpmforge) instead from
CPAN.
   4) Reinstall packages broken because they install manually any
propietary perl classes into the system (vmware-server for example).

Thanks to all for the help.

Regards

El Lun, 25 de Agosto de 2008, 6:00, Eric Shubert escribió:
 Eric Shubert wrote:
 Here's a list of perl modules on an up-to-date COS5.2 toaster. I would
 try
 upgrading any packages that do not match these.

 You do have the proper rpmforge yum repo configured, don't you? It
 appears
 that you have some el5.rf packages, but there are some packages for
 which
 there are updates available.

 I'm not confident that this will fix your problem, but it won't hurt,
 and
 might just fix it. There's something on your system hanging around from
 a
 2.6.9 kernel, which I think is earlier than FC5 and COS5. Strange. Might
 have picked it up with the latest upgrade? I can't imagine how, unless
 you
 had an incorrect repo configured at some point.

 (Oops - forgot the list!):
 [EMAIL PROTECTED] ~]# yum list installed | grep perl
 perl.i3864:5.8.8-10.el5_2.3 installed
 perl-Archive-Tar.noarch  1.38-1.el5.rf  installed
 perl-Compress-Raw-Zlib.i386  2.011-1.el5.rf installed
 perl-Compress-Zlib.noarch2.011-1.el5.rf installed
 perl-Crypt-OpenSSL-Bignum.i386   0.04-1.el5.rf  installed
 perl-Crypt-OpenSSL-RSA.i386  0.25-1.el5.rf  installed
 perl-Crypt-PasswdMD5.noarch  1.3-1.2.el5.rf installed
 perl-DBD-MySQL.i386  3.0007-1.fc6   installed
 perl-DBI.i3861.605-1.el5.rf installed
 perl-Digest-HMAC.noarch  1.01-15installed
 perl-Digest-SHA.i386 5.47-1.el5.rf  installed
 perl-Digest-SHA1.i3862.11-1.2.1 installed
 perl-Encode-Detect.i386  1.01-1.el5.rf  installed
 perl-Error.noarch0.17014-1.el5.rf   installed
 perl-Geography-Countries.noarch  1.4-2.2.el5.rf installed
 perl-HTML-Parser.i3863.56-1.el5.rf  installed
 perl-HTML-Tagset.noarch  3.20-1.el5.rf  installed
 perl-IO-Compress-Base.noarch 2.011-1.el5.rf installed
 perl-IO-Compress-Zlib.noarch 2.011-1.el5.rf installed
 perl-IO-Socket-INET6.noarch  2.54-1.el5.rf  installed
 perl-IO-Socket-SSL.noarch1.13-1.el5.rf  installed
 perl-IO-Zlib.noarch  1.09-1.el5.rf  installed
 perl-IP-Country.noarch   2.24-1.el5.rf  installed
 perl-Mail-DKIM.noarch0.32-1.el5.rf  installed
 perl-Mail-DomainKeys.noarch  1.0-1.el5.rf   installed
 perl-Mail-SPF.noarch 2.005-1.el5.rf installed
 perl-Mail-SPF-Query.noarch   1.999.1-2.el5.rf   installed
 perl-MailTools.noarch2.03-1.el5.rf  installed
 perl-Net-CIDR.noarch 0.11-1.2.el5.rfinstalled
 perl-Net-CIDR-Lite.noarch0.20-1.2.el5.rfinstalled
 perl-Net-DNS.i3860.63-1.el5.rf  installed
 perl-Net-Daemon.noarch   0.43-1.el5.rf  installed
 perl-Net-IP.noarch   1.25-2.fc6 installed
 perl-Net-Ident.noarch1.20-1.2.el5.rfinstalled
 perl-Net-SSLeay.i386 1.32-1.el5.rf  installed
 perl-NetAddr-IP.i386 4.007-1.el5.rf installed
 perl-PlRPC.noarch0.2020-1.el5.rfinstalled
 perl-Socket6.i3860.20-1.el5.rf  installed
 perl-String-CRC32.i386   1.4-2.fc6  installed
 perl-Sys-Hostname-Long.noarch1.4-1.2.el5.rf installed
 perl-TimeDate.noarch 1:1.16-5.el5   installed
 perl-URI.noarch  1.35-3 installed
 perl-libwww-perl.noarch  5.805-1.1.1installed
 perl-version.i3860.74-1.el5.rf  installed


 ArcosCom Linux User wrote:
 Linux myhost 2.6.18-92.1.10.1.el5_ArcosComPAE #1 SMP Wed Aug 6 22:16:52
 CEST 2008 i686 

Re: [CentOS] apache

2008-08-26 Thread John R Pierce

Mad Unix wrote:

How can I pass the following Oracle 10g variables to my apache?

ORACLE_BASE=/u01/oracle
ORACLE_HOME=/u01/oracle/10g
ORACLE_SID=king
LD_LIBRARY_PATH=$ORACLE_HOME/lib
LD_LIBRARY_PATH_32=$ORACLE_HOME/lib32
PATH=$PATH:$ORACLE_HOME/bin
NLS_LANG=AMERICAN_AMERICA.AR8MSWIN1256; export NLS_LANG
NLS_DATE_FORMAT=dd-mm- ; export NLS_DATE_FORMAT
export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH 
LD_LIBRARY_PATH_32 PATH



I start my apache through service httpd start...
[EMAIL PROTECTED] script]# ps -ef | grep apache
apache   28494 15315  0 04:02 ?00:00:01 /usr/sbin/httpd -k start
apache   28495 15315  0 04:02 ?00:00:01 /usr/sbin/httpd -k start
apache   28496 15315  0 04:02 ?00:00:00 /usr/sbin/httpd -k start
apache   28497 15315  0 04:02 ?00:00:01 /usr/sbin/httpd -k start
apache   28499 15315  0 04:02 ?00:00:01 /usr/sbin/httpd -k start
apache   28500 15315  0 04:02 ?00:00:01 /usr/sbin/httpd -k start
apache   28502 15315  0 04:02 ?00:00:00 /usr/sbin/httpd -k start
apache   28503 15315  0 04:02 ?00:00:00 /usr/sbin/httpd -k start
root 31178 16299  0 08:36 pts/200:00:00 grep apache


you would put those variable assignments in the front of 
/etc/init.d/httpd  ...


but why would/should Apache care about your Oracle server?


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


[CentOS] Help me

2008-08-26 Thread T. Batbaatar
Hi all

I use the CentOS4.4 with ISPConfigVersion: 2.2.24

Sometimes my server network card deactivated.

How to fix this problem.

My BIND 9.2.4 how to update.

 
Batbaatar Tuya




Phone: 976 99076364
[EMAIL PROTECTED]
www.BIIRBEH.MN
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help me

2008-08-26 Thread John R Pierce

T. Batbaatar wrote:

Hi all

I use the CentOS4.4 with *ISPConfig**Version:* 2.2.24



ISPConfig is not a CentOS 4 package as far as I know, so I dunno what 
significance this has in regards to the rest of your questions.



Sometimes my server network card deactivated.

How to fix this problem.



nowheres near enough information to answer this.   this could be  a 
hardware problem with the server, it could be a network problem with the 
local area network, it could be a configuration problem, its very hard 
to say based only on whats given here.





My BIND 9.2.4 how to update.


# yum update bind

will fetch the latest bind supported on CentOS 4.   Actually, you 
probably should run...


# yum update

as there are quite a few other critical system updates since 4.4 was 
released.  



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


Re: [CentOS] Help me

2008-08-26 Thread Sadaruwan Samaraweera
Hi,
 I think you need to get the proper device drivers not the generic ones that
comes with the CentOS. Try updating your drivers or sometimes when you
install a vendor driver or any other driver after a kernel update or a full
system update you've to reinstall the drivers, It can recompile tt self to
mach the new kernel. So try updating or getting a new driver from the
vendor.

Regards,
Sadaruwan

On Tue, Aug 26, 2008 at 12:54 PM, T. Batbaatar [EMAIL PROTECTED] wrote:

 Hi all

 I use the CentOS4.4 with *ISPConfig**Version:* 2.2.24

 Sometimes my server network card deactivated.

 How to fix this problem.

 My BIND 9.2.4 how to update.

 
 Batbaatar Tuya



 Phone: 976 99076364
 [EMAIL PROTECTED]
 www.BIIRBEH.MN

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


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


Re: [CentOS] Help me

2008-08-26 Thread Sadaruwan Samaraweera
Hi Again,

  It's not your ISPConfig software that giving trouble it's your
hardware drivers or your network card it self check them both.

Regards,
Sadaruwan

On Tue, Aug 26, 2008 at 1:37 PM, John R Pierce [EMAIL PROTECTED] wrote:

 T. Batbaatar wrote:

 Hi all

 I use the CentOS4.4 with *ISPConfig**Version:* 2.2.24


 ISPConfig is not a CentOS 4 package as far as I know, so I dunno what
 significance this has in regards to the rest of your questions.

  Sometimes my server network card deactivated.

 How to fix this problem.



 nowheres near enough information to answer this.   this could be  a
 hardware problem with the server, it could be a network problem with the
 local area network, it could be a configuration problem, its very hard to
 say based only on whats given here.



 My BIND 9.2.4 how to update.


 # yum update bind

 will fetch the latest bind supported on CentOS 4.   Actually, you probably
 should run...

 # yum update

 as there are quite a few other critical system updates since 4.4 was
 released.

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

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


Re: [CentOS] Re: YumRepo Warning: not using ftp, http[s], or file for repos, skipping - 5 is not a valid release or hasnt been released yet

2008-08-26 Thread Ralph Angenendt
Rudi Ahlers wrote:
  #mirrorlist=
  http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=os

Is that one line or are those two lines?

Ralph


pgppJW49Ifld5.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] apache

2008-08-26 Thread Mad Unix
Am running Oracle10g on the server, I do OCI connection from php/apache to
my DB 10g
so how would you insert the values to apache...

On Tue, Aug 26, 2008 at 9:18 AM, John R Pierce [EMAIL PROTECTED] wrote:

 Mad Unix wrote:

 How can I pass the following Oracle 10g variables to my apache?

 ORACLE_BASE=/u01/oracle
 ORACLE_HOME=/u01/oracle/10g
 ORACLE_SID=king
 LD_LIBRARY_PATH=$ORACLE_HOME/lib
 LD_LIBRARY_PATH_32=$ORACLE_HOME/lib32
 PATH=$PATH:$ORACLE_HOME/bin
 NLS_LANG=AMERICAN_AMERICA.AR8MSWIN1256; export NLS_LANG
 NLS_DATE_FORMAT=dd-mm- ; export NLS_DATE_FORMAT
 export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH
 LD_LIBRARY_PATH_32 PATH


 I start my apache through service httpd start...
 [EMAIL PROTECTED] script]# ps -ef | grep apache
 apache   28494 15315  0 04:02 ?00:00:01 /usr/sbin/httpd -k start
 apache   28495 15315  0 04:02 ?00:00:01 /usr/sbin/httpd -k start
 apache   28496 15315  0 04:02 ?00:00:00 /usr/sbin/httpd -k start
 apache   28497 15315  0 04:02 ?00:00:01 /usr/sbin/httpd -k start
 apache   28499 15315  0 04:02 ?00:00:01 /usr/sbin/httpd -k start
 apache   28500 15315  0 04:02 ?00:00:01 /usr/sbin/httpd -k start
 apache   28502 15315  0 04:02 ?00:00:00 /usr/sbin/httpd -k start
 apache   28503 15315  0 04:02 ?00:00:00 /usr/sbin/httpd -k start
 root 31178 16299  0 08:36 pts/200:00:00 grep apache


 you would put those variable assignments in the front of /etc/init.d/httpd
  ...

 but why would/should Apache care about your Oracle server?


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




-- 
Madunix_at_Gmail
Sysadmin

Computers are useless. They can only give you answers - Pablo Picasso
Never trust a computer you can't throw out a window. - Steve Wozniak
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT - Offline uncorrectable sectors

2008-08-26 Thread Lorenzo Quatrini
Nifty Cluster Mitch ha scritto:
 
 Bottom line... use vendor tools
 Vendors like error reports from their tools for RMA processing and warranty...
 
 BTW: smartd is a good thing.  For me any disk that smartd had made noise 
 about has failed...  often with weeks or months of warning... 
 

So... ok, I see the point: I should monitor for SMART errors and then use
vendor tools to fix things...

(BTW, the pc which triggered the tread reallocated the sector by himself: I
guess that finally the OS tried to write to the bad sector and the disk did all
the magic relocation thing)

Also I finally noticed that badblocs has a non-distructive read-write mode (the
man page is outdated and doesn't mention that) which can be used routinely (say
once at month) to force a check of the whole disk.

Thanks to all for the explanation

Regards

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


Re: [CentOS] virt-install error: virDomainLookupByName() failed got unknown HTTP error code 400

2008-08-26 Thread Graeme West

Sorry to bump my own thread, but does anyone have any ideas about this?

I've now tried virtually every combination of options in virt-manager and 
virt-install, and nothing seems to avoid this error (or let me get beyond the 
networking screen in virt-manager).

Has anyone encountered anything like this before?


Thanks,

Graeme


On 6 Aug 2008, at 09:41, Graeme West wrote:

Hi there,
I've been happily installing VMs in CentOS 5.2's Xen implementation using 
virt-manager. However, my latest attempt to use the install wizard in 
virt-manager failed when I got to the networking screen. The 'forward' button 
was unresponsive, and I was unable to proceed. I checked the virt-manager logs, 
and saw this appearing immediately after I tried to proceed:

/root/.virt-manager/virt-manager.log:

[Tue, 05 Aug 2008 16:16:53 virt-manager 20637] ERROR (virt-manager:132) 
Traceback (most recent call last):
 File /usr/share/virt-manager/virtManager/create.py, line 294, in forward
   if(self.validate(notebook.get_current_page()) != True):
 File /usr/share/virt-manager/virtManager/create.py, line 974, in validate
   vm = self.connection.vmm.lookupByName(name)
 File /usr/lib64/python2.4/site-packages/libvirt.py, line 646, in lookupByName
   if ret is None:raise libvirtError('virDomainLookupByName() failed', 
conn=self)
libvirtError: virDomainLookupByName() failed got unknown HTTP error code 400
None



There was also a lot of this in the main system log (1-2 messages per second):
[Tue, 05 Aug 2008 16:16:53 virt-manager 20637] DEBUG (connection:580) Couldn't 
fetch domain id 3; it probably went away

So I tried to use virt-install on the shell instead, but got much the same 
error:

[EMAIL PROTECTED] swadmin]# virt-install --hvm --name=zurich.gcal.ac.uk 
--ram=2048 --file=/var/lib/xen/images/zurich.gcal.ac.uk.img --vnc --vcpus=2 
--cdrom=/home/swadmin/software/OpenSolaris/sol-nv-b93-x86-dvd.iso 
--network=bridge:xenbr0


Starting install...
virDomainLookupByName() failed got unknown HTTP error code 400
Domain installation may not have been
successful.  If it was, you can restart your domain
by running 'virsh start zurich.gcal.ac.uk'; otherwise, please
restart your installation.
Tue, 05 Aug 2008 17:30:18 ERRORvirDomainLookupByName() failed got unknown 
HTTP error code 400
Traceback (most recent call last):
 File /usr/bin/virt-install, line 502, in ?
   main()
 File /usr/bin/virt-install, line 462, in main
   dom = guest.start_install(conscb,progresscb)
 File /usr/lib/python2.4/site-packages/virtinst/Guest.py, line 813, in 
start_install
   return self._do_install(consolecb, meter)
 File /usr/lib/python2.4/site-packages/virtinst/Guest.py, line 829, in 
_do_install
   self._create_devices(meter)
 File /usr/lib/python2.4/site-packages/virtinst/Guest.py, line 727, in 
_create_devices
   nic.setup(self.conn)
 File /usr/lib/python2.4/site-packages/virtinst/Guest.py, line 287, in setup
   vm = conn.lookupByName(name)
 File /usr/lib64/python2.4/site-packages/libvirt.py, line 646, in lookupByName
   if ret is None:raise libvirtError('virDomainLookupByName() failed', 
conn=self)
libvirtError: virDomainLookupByName() failed got unknown HTTP error code 400

It suggests I try to start the domain anyway, but it hasn't been created:
[EMAIL PROTECTED] swadmin]# virsh start zurich.gcal.ac.uk
libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName
error: failed to get domain 'zurich.gcal.ac.uk'


Any ideas would be much appreciated.


Thanks,

Graeme West


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Email has been scanned for viruses by Altman Technologies' email management 
servicehttp://www.altman.co.uk/emailsystems

ATT1.txt


Glasgow Caledonian University is a registered Scottish charity, number SC021474
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] apache

2008-08-26 Thread Ralph Angenendt
Mad Unix wrote:
 Am running Oracle10g on the server, I do OCI connection from php/apache to
 my DB 10g
 so how would you insert the values to apache...

To quote John (reading helps!):

| you would put those variable assignments in the front of /etc/init.d/httpd

Though I still don't understand why that would be needed.

Ralph


pgpdfSjVj9Apb.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: YumRepo Warning: not using ftp, http[s], or file for repos, skipping - 5 is not a valid release or hasnt been released yet

2008-08-26 Thread Rudi Ahlers
On Tue, Aug 26, 2008 at 10:30 AM, Ralph Angenendt
[EMAIL PROTECTED][EMAIL PROTECTED]
 wrote:

 Rudi Ahlers wrote:
   #mirrorlist=
  
 http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=os

 Is that one line or are those two lines?

 Ralph

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


Hi Ralph,

That is one full line:

#mirrorlist=
http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=addons


But as you can see, it's commented out, so it shouldn't even be read, right?




-- 

Kind Regards
Rudi Ahlers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] RH's servers breached

2008-08-26 Thread Ian Forde
On Tue, 2008-08-26 at 13:54 +1200, Tony Wicks wrote:
  
  So there are new packages anyway in spite of the other bits.
  
  Hi all, have I missed something or is there a CentOS update for 5x but
 none
  for 4x ? I've made sure my mirror is synced and looked around at a few
  others but can't seem to see an update ?
 
 I just fired up my 4.6 and did yum update. No ssh packages, so the
 problem is not yours.
 
 Do any of the maintainers have a comment on the 4x SSH update availability ?
 I have a couple of SSH bastion servers that I have shut down until the
 update is out just in case so was wondering as to when it would turn up.

I wouldn't worry about it too much unless there are unrelated security
fixes.  The SSH updates are against 4.7, so it would most likely be the
case that your current 4.6-based sshd package is still pretty solid...
The issue was against the then-current sshd packages... which would have
been issued after the ones you're currently using...

-I

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


Re: [CentOS] Help me

2008-08-26 Thread Ian Forde
On Tue, 2008-08-26 at 13:39 +0530, Sadaruwan Samaraweera wrote:
 Hi,
  I think you need to get the proper device drivers not the generic
 ones that comes with the CentOS. Try updating your drivers or
 sometimes when you install a vendor driver or any other driver after a
 kernel update or a full system update you've to reinstall the drivers,
 It can recompile tt self to mach the new kernel. So try updating or
 getting a new driver from the vendor.

Without more information on the specific issue, the advice you just gave
regarding using vendor drivers can be extraordinarily dangerous.  I
would recommend:

1. OP giving more info (like, for example, specifics on the problem, hw
config, etc...)
2. Patching CentOS

before offering any solutions that can lead one down a painful path...
as an example, many vendors defer to the network drivers offered in the
kernel and have deprecated their own.  Nvidia, for one, comes to mind...

-I


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


Re: [CentOS] apache

2008-08-26 Thread Ian Forde
On Tue, 2008-08-26 at 10:42 +0200, Ralph Angenendt wrote:
 Mad Unix wrote:
  Am running Oracle10g on the server, I do OCI connection from php/apache to
  my DB 10g
  so how would you insert the values to apache...
 
 To quote John (reading helps!):
 
 | you would put those variable assignments in the front of /etc/init.d/httpd
 
 Though I still don't understand why that would be needed.

I've run into this... the OCI component needs some information about
where Oracle is... my advise would be to *NOT* modify
the /etc/init.d/httpd script.  Better to put the declarations
into /etc/sysconfig/httpd.  That's what the file is there for, and if
you upgrade the Apache RPM, you don't have to worry about your startup
script mods...

-I

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


Re: [CentOS] apache

2008-08-26 Thread Mad Unix
i did the following, created a startup script
[EMAIL PROTECTED] script]$ cat start_apache.sh
#!/bin/bash
ORACLE_BASE=/u01/oracle
ORACLE_HOME=/u01/oracle/10g
ORACLE_SID=king
LD_LIBRARY_PATH=$ORACLE_HOME/lib
LD_LIBRARY_PATH_32=$ORACLE_HOME/lib32
PATH=$PATH:$ORACLE_HOME/bin
NLS_LANG=AMERICAN_AMERICA.AR8MSWIN1256; export NLS_LANG
NLS_DATE_FORMAT=dd-mm- ; export NLS_DATE_FORMAT
export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH LD_LIBRARY_PATH_32
PATH
/usr/sbin/apachectl start

and call it from the rc.local...


On Tue, Aug 26, 2008 at 11:16 AM, Ian Forde [EMAIL PROTECTED] wrote:

 On Tue, 2008-08-26 at 10:42 +0200, Ralph Angenendt wrote:
  Mad Unix wrote:
   Am running Oracle10g on the server, I do OCI connection from php/apache
 to
   my DB 10g
   so how would you insert the values to apache...
 
  To quote John (reading helps!):
 
  | you would put those variable assignments in the front of
 /etc/init.d/httpd
 
  Though I still don't understand why that would be needed.

 I've run into this... the OCI component needs some information about
 where Oracle is... my advise would be to *NOT* modify
 the /etc/init.d/httpd script.  Better to put the declarations
 into /etc/sysconfig/httpd.  That's what the file is there for, and if
 you upgrade the Apache RPM, you don't have to worry about your startup
 script mods...

-I

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




-- 
Madunix_at_Gmail
Sysadmin

Computers are useless. They can only give you answers - Pablo Picasso
Never trust a computer you can't throw out a window. - Steve Wozniak
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] (Global/Any) setting for show hidden files? - SOLVED

2008-08-26 Thread Karanbir Singh

MHR wrote:

On Mon, Aug 25, 2008 at 11:33 AM, MHR [EMAIL PROTECTED] wrote:

Is there a setting somewhere in the global arena of CentOS that
controls whether or not hidden (.prefixed) files are displayed in
file lists?



Never mind - apparently if you right-click in the file list and select
show hidden files, it sticks system-wide.


by changing the Subject line, and not retaining the reply-to context in 
the mailheaders, you end up creating a new thread each time. so can you 
not do that please ?


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


Re: [CentOS] OT - Offline uncorrectable sectors

2008-08-26 Thread William L. Maltby

On Tue, 2008-08-26 at 10:38 +0200, Lorenzo Quatrini wrote:
 snip

 Also I finally noticed that badblocs has a non-distructive read-write mode 
 (the
 man page is outdated and doesn't mention that) which can be used routinely 
 (say
 once at month) to force a check of the whole disk.

From man badblocks:

-n Use non-destructive read-write mode.  By  default  only  a  non-
   destructive  read-only  test  is  done.  This option must not be
   combined with the -w option, as they are mutually exclusive.

Note the phrase beginning with By default only I'll admit it could
be more clearly stated.

 
 Thanks to all for the explanation
 
 Regards
 
 Lorenzo Quatrini
 snip

-- 
Bill

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


Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Ian jonhson
I have downloaded the src.rpm according the wiki instructions.
however, when I executed

$ rpm -i kernel-2.6.18-92.1.10.el5.src.rpm

I got a lot of warnings and after the following command:

$ rpmbuild -bp --target=`uname -m` kernel-2.6.spec 2 prep-err.log |
tee prep-out.log

No files are created in BUILD directory. The prep-err.log said:

error: Failed build dependencies:
unifdef is needed by kernel-2.6.18-92.1.10.el5.x86_64

My hardware is a 64bit machine. Are there something different in kernel version
32 and 64? or, something I miss?


Thanks again,

Ian


On Mon, Aug 25, 2008 at 8:39 PM, Akemi Yagi [EMAIL PROTECTED] wrote:
 On Mon, Aug 25, 2008 at 5:14 AM, Ian jonhson [EMAIL PROTECTED] wrote:
 Hi,

 My jobs need to recompile the kernel codes, but I don't know
 how to yum the kernel source codes.

 Any help?

 First look in http://wiki.centos.org/HowTos/I_need_the_Kernel_Source

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

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

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


Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Romeo Ninov

Do you have installed kernel-devel package?

Ian jonhson  wrote / napísal(a):

I have downloaded the src.rpm according the wiki instructions.
however, when I executed

$ rpm -i kernel-2.6.18-92.1.10.el5.src.rpm

I got a lot of warnings and after the following command:

$ rpmbuild -bp --target=`uname -m` kernel-2.6.spec 2 prep-err.log |
tee prep-out.log

No files are created in BUILD directory. The prep-err.log said:

error: Failed build dependencies:
unifdef is needed by kernel-2.6.18-92.1.10.el5.x86_64

My hardware is a 64bit machine. Are there something different in kernel version
32 and 64? or, something I miss?


Thanks again,

Ian


On Mon, Aug 25, 2008 at 8:39 PM, Akemi Yagi [EMAIL PROTECTED] wrote:
  

On Mon, Aug 25, 2008 at 5:14 AM, Ian jonhson [EMAIL PROTECTED] wrote:


Hi,

My jobs need to recompile the kernel codes, but I don't know
how to yum the kernel source codes.

Any help?
  

First look in http://wiki.centos.org/HowTos/I_need_the_Kernel_Source

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

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



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

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


Re: [CentOS] screen not sourcing .bashrc

2008-08-26 Thread Filipe Brandenburger
On Tue, Aug 26, 2008 at 02:14, Matt Arnilo S. Baluyos (Mailing Lists)
[EMAIL PROTECTED] wrote:
 I use the screen command from time to time and what i would still
 have to figure out how to do is for it to be able to source .bashrc
 and read my user-defined configuration (aliases for example).

Screen opens a login shell, which means it will only read
.bash_profile and not .bashrc. However, that is the same kind of shell
that you have when you open a Konsole/Terminal/rxvt/xterm window, or
when you log in to the console, or when you open a SSH session, so is
it that only your screen sessions don't source .bashrc while the
others all do?

To have the desired effect of reading .bashrc always, it's common (and
the default) that your .bash_profile contains the following lines:

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

Did you remove these?

 I have already added the source /root/.bashrc line on
 /root/.screenrc but it doesn't seem to be working.

No, this is not going to work, since .screenrc accepts screen
commands, not bash commands.

 Would anyone know how this should work?

This should work. Try removing your .screenrc (or renaming to a backup
name) and seeing if it works after you do.

If it still does not work, post the contents of ~/.bash_profile,
~/.bashrc, ~/.screenrc and maybe also /etc/profile, /etc/bashrc and
/etc/screenrc, and then we may be able to help you some more.

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


Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Filipe Brandenburger
On Tue, Aug 26, 2008 at 08:14, Ian jonhson [EMAIL PROTECTED] wrote:
 error: Failed build dependencies:
unifdef is needed by kernel-2.6.18-92.1.10.el5.x86_64

Yum is your friend.

$ yum whatprovides unifdef
...
unifdef.x86_64 : Unifdef tool for removing ifdef'd lines
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] apache

2008-08-26 Thread Jim Perrin
On Tue, Aug 26, 2008 at 6:01 AM, Mad Unix [EMAIL PROTECTED] wrote:
 i did the following, created a startup script
 [EMAIL PROTECTED] script]$ cat start_apache.sh
 #!/bin/bash
 ORACLE_BASE=/u01/oracle
 ORACLE_HOME=/u01/oracle/10g
 ORACLE_SID=king
 LD_LIBRARY_PATH=$ORACLE_HOME/lib
 LD_LIBRARY_PATH_32=$ORACLE_HOME/lib32
 PATH=$PATH:$ORACLE_HOME/bin
 NLS_LANG=AMERICAN_AMERICA.AR8MSWIN1256; export NLS_LANG
 NLS_DATE_FORMAT=dd-mm- ; export NLS_DATE_FORMAT
 export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH LD_LIBRARY_PATH_32
 PATH
 /usr/sbin/apachectl start

 and call it from the rc.local...

Which completely circumvents the usual process for starting up apache,
and will be wiped away with a simple 'service httpd restart' or even
better (the weekly logrotate), and require you to reboot the machine
or call your script again.  That might not be the *best* solution.

Ian's previous post about setting variables in /etc/sysconfig/httpd is
correct. Define the vars in /etc/sysconfig/httpd, and make sure you
export them there.

This is the intended use and the 'redhat' method.



-- 
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] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Ian jonhson
On Tue, Aug 26, 2008 at 8:18 PM, Romeo Ninov [EMAIL PROTECTED] wrote:
 Do you have installed kernel-devel package?


Sure. but the problem is still there.


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


Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Romeo Ninov

What about kernel-headers

Ian jonhson  wrote / napísal(a):

On Tue, Aug 26, 2008 at 8:18 PM, Romeo Ninov [EMAIL PROTECTED] wrote:
  

Do you have installed kernel-devel package?




Sure. but the problem is still there.


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

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


Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Jim Perrin
On Tue, Aug 26, 2008 at 8:44 AM, Romeo Ninov [EMAIL PROTECTED] wrote:
 What about kernel-headers

Rather than guessing, why not look at the output from the rpm command
he ran, which gives the name of the package he's missing? Filipe
nailed this one a little earlier in the thread with unifdef.x86_64
needing to be installed.



-- 
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] virt-install error: virDomainLookupByName() failed got unknown HTTP error code 400

2008-08-26 Thread Graeme West

I found what it was: there were some incomplete virtual machine configuration 
files in /etc/xen which I'd generated for testing previously. Because they 
weren't complete and their IDs weren't attached to any actual VM, they were 
screwing up any calls to virDomainLookupByName() . Removing them did the trick.

Hope this helps somebody.

Graeme

On 26 Aug 2008, at 09:42, Graeme West wrote:

Sorry to bump my own thread, but does anyone have any ideas about this?

I've now tried virtually every combination of options in virt-manager and 
virt-install, and nothing seems to avoid this error (or let me get beyond the 
networking screen in virt-manager).

Has anyone encountered anything like this before?


Thanks,

Graeme


On 6 Aug 2008, at 09:41, Graeme West wrote:

Hi there,
I've been happily installing VMs in CentOS 5.2's Xen implementation using 
virt-manager. However, my latest attempt to use the install wizard in 
virt-manager failed when I got to the networking screen. The 'forward' button 
was unresponsive, and I was unable to proceed. I checked the virt-manager logs, 
and saw this appearing immediately after I tried to proceed:

/root/.virt-manager/virt-manager.log:

[Tue, 05 Aug 2008 16:16:53 virt-manager 20637] ERROR (virt-manager:132) 
Traceback (most recent call last):
 File /usr/share/virt-manager/virtManager/create.py, line 294, in forward
   if(self.validate(notebook.get_current_page()) != True):
 File /usr/share/virt-manager/virtManager/create.py, line 974, in validate
   vm = self.connection.vmm.lookupByName(name)
 File /usr/lib64/python2.4/site-packages/libvirt.py, line 646, in lookupByName
   if ret is None:raise libvirtError('virDomainLookupByName() failed', 
conn=self)
libvirtError: virDomainLookupByName() failed got unknown HTTP error code 400
None



There was also a lot of this in the main system log (1-2 messages per second):
[Tue, 05 Aug 2008 16:16:53 virt-manager 20637] DEBUG (connection:580) Couldn't 
fetch domain id 3; it probably went away

So I tried to use virt-install on the shell instead, but got much the same 
error:

[EMAIL PROTECTED] swadmin]# virt-install --hvm --name=zurich.gcal.ac.uk 
--ram=2048 --file=/var/lib/xen/images/zurich.gcal.ac.uk.img --vnc --vcpus=2 
--cdrom=/home/swadmin/software/OpenSolaris/sol-nv-b93-x86-dvd.iso 
--network=bridge:xenbr0


Starting install...
virDomainLookupByName() failed got unknown HTTP error code 400
Domain installation may not have been
successful.  If it was, you can restart your domain
by running 'virsh start zurich.gcal.ac.uk'; otherwise, please
restart your installation.
Tue, 05 Aug 2008 17:30:18 ERRORvirDomainLookupByName() failed got unknown 
HTTP error code 400
Traceback (most recent call last):
 File /usr/bin/virt-install, line 502, in ?
   main()
 File /usr/bin/virt-install, line 462, in main
   dom = guest.start_install(conscb,progresscb)
 File /usr/lib/python2.4/site-packages/virtinst/Guest.py, line 813, in 
start_install
   return self._do_install(consolecb, meter)
 File /usr/lib/python2.4/site-packages/virtinst/Guest.py, line 829, in 
_do_install
   self._create_devices(meter)
 File /usr/lib/python2.4/site-packages/virtinst/Guest.py, line 727, in 
_create_devices
   nic.setup(self.conn)
 File /usr/lib/python2.4/site-packages/virtinst/Guest.py, line 287, in setup
   vm = conn.lookupByName(name)
 File /usr/lib64/python2.4/site-packages/libvirt.py, line 646, in lookupByName
   if ret is None:raise libvirtError('virDomainLookupByName() failed', 
conn=self)
libvirtError: virDomainLookupByName() failed got unknown HTTP error code 400

It suggests I try to start the domain anyway, but it hasn't been created:
[EMAIL PROTECTED] swadmin]# virsh start zurich.gcal.ac.uk
libvir: Xen error : Domain not found: xenUnifiedDomainLookupByName
error: failed to get domain 'zurich.gcal.ac.uk'


Any ideas would be much appreciated.


Thanks,

Graeme West


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Email has been scanned for viruses by Altman Technologies' email management 
servicehttp://www.altman.co.uk/emailsystems

ATT1.txt


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Email has been scanned for viruses by Altman Technologies' email management 
servicehttp://www.altman.co.uk/emailsystems

ATT1.txt


Glasgow Caledonian University is a registered Scottish charity, number SC021474
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT - Offline uncorrectable sectors

2008-08-26 Thread Lorenzo Quatrini
William L. Maltby ha scritto:
From man badblocks:
 
 -n Use non-destructive read-write mode.  By  default  only  a  non-
destructive  read-only  test  is  done.  This option must not be
combined with the -w option, as they are mutually exclusive.
 
 Note the phrase beginning with By default only I'll admit it could
 be more clearly stated.
 
The Italian translation of the man page is outdated... I guess I sould stick
with the original version of man pages, or at least remember to check them.

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


[CentOS] Slow Xen on CentOS 5.2?

2008-08-26 Thread Eduardo Grosclaude
Hello,
Should Xen still work on CentOS 5.2 with 1GB RAM? On my Toshiba
Satellite notebook  Xen performed reasonably well as of CentOS 5.0.
After I updated the system, Xen takes an unusable startup time. Every
task at boot, since nash is fired, seems to take increasingly longer.
I can't seem to find any references to this problem. Where should I look first?
Thanks in advance

-- 
Eduardo Grosclaude
Universidad Nacional del Comahue
Neuquen, Argentina
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] postfix install error: fatal file /etc/postfix/main.cf: parameter setgid_group: unknown group name: postdrop

2008-08-26 Thread Rainer Traut

Hi,

sys: Centos 5.2 x86_64

Trying to switch from sendmail to postfix I did:

# yum remove sendmail

which resulted in erasing of:
mdadm sendmail-doc sendmail sendmail-cf mutt fetchmail redhat-lsb 



I did then:

yum -y install redhat-lsb.x86_64 postfix

and got this error:

  Installing: postfix  # [1/2]
postfix: fatal: file /etc/postfix/main.cf: parameter setgid_group: 
unknown group name: postdrop

warning: group postdrop does not exist - using root
warning: group postdrop does not exist - using root
warning: group postdrop does not exist - using root
warning: group postdrop does not exist - using root
  Installing: redhat-lsb   # [2/2]

I checked and indeed there is no group postdrop on the system.
On an El5 system I see the group.

Thx
Rainer


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


Re: [CentOS] postfix install error: fatal file /etc/postfix/main.cf: parameter setgid_group: unknown group name: postdrop

2008-08-26 Thread nate
Rainer Traut wrote:

 I checked and indeed there is no group postdrop on the system.
 On an El5 system I see the group.


 Are you using any sort of network authentication system like
NIS or LDAP? Or just standard local files?

nate

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


Re: [CentOS] postfix install error: fatal file /etc/postfix/main.cf: parameter setgid_group: unknown group name: postdrop

2008-08-26 Thread Ned Slider

Rainer Traut wrote:

Hi,

sys: Centos 5.2 x86_64

Trying to switch from sendmail to postfix I did:

# yum remove sendmail

which resulted in erasing of:
mdadm sendmail-doc sendmail sendmail-cf mutt fetchmail redhat-lsb

I did then:

yum -y install redhat-lsb.x86_64 postfix

and got this error:

  Installing: postfix  # [1/2]
postfix: fatal: file /etc/postfix/main.cf: parameter setgid_group: 
unknown group name: postdrop

warning: group postdrop does not exist - using root
warning: group postdrop does not exist - using root
warning: group postdrop does not exist - using root
warning: group postdrop does not exist - using root
  Installing: redhat-lsb   # [2/2]

I checked and indeed there is no group postdrop on the system.
On an El5 system I see the group.

Thx
Rainer




You don't need to remove sendmail, you can just use system-switch-mail 
to set postfix as the MTA.


There is documentation on setting up a basic postfix server (on CentOS 
5) on the Wiki here:


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


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


Re: [CentOS] postfix install error: fatal file /etc/postfix/main.cf: parameter setgid_group: unknown group name: postdrop

2008-08-26 Thread Rainer Traut

nate schrieb:

Rainer Traut wrote:


I checked and indeed there is no group postdrop on the system.
On an El5 system I see the group.



 Are you using any sort of network authentication system like
NIS or LDAP? Or just standard local files?


No NIS or LDAP, plain local files.

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


Re: [CentOS] postfix install error: fatal file /etc/postfix/main.cf: parameter setgid_group: unknown group name: postdrop

2008-08-26 Thread nate
Rainer Traut wrote:

 No NIS or LDAP, plain local files.

I haven't tried CentOS 5.2 yet(keep seeing reports of issues),
postfix in 5.1 worked fine for me and in 4.x. I suggest just
adding the group manually and removing/re-installing the
postfix rpm. Perhaps there is a bug in the 5.2 RPM that
doesn't add the group correctly for some reason.

What I'd probably do is just copy/paste the postdrop entry from
the other system's /etc/group file to the system that doesn't
have it.

I use the same password/group/shadow files across CentOS 4, 5,
and FC8 (and in the past FC4, and FC5) so the UIDs/GIDs are
pretty compatible.

nate

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


Re: [CentOS] apache

2008-08-26 Thread Greg Bailey

Jim Perrin wrote:

On Tue, Aug 26, 2008 at 6:01 AM, Mad Unix [EMAIL PROTECTED] wrote:
  

i did the following, created a startup script
[EMAIL PROTECTED] script]$ cat start_apache.sh
#!/bin/bash
ORACLE_BASE=/u01/oracle
ORACLE_HOME=/u01/oracle/10g
ORACLE_SID=king
LD_LIBRARY_PATH=$ORACLE_HOME/lib
LD_LIBRARY_PATH_32=$ORACLE_HOME/lib32
PATH=$PATH:$ORACLE_HOME/bin
NLS_LANG=AMERICAN_AMERICA.AR8MSWIN1256; export NLS_LANG
NLS_DATE_FORMAT=dd-mm- ; export NLS_DATE_FORMAT
export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH LD_LIBRARY_PATH_32
PATH
/usr/sbin/apachectl start

and call it from the rc.local...



Which completely circumvents the usual process for starting up apache,
and will be wiped away with a simple 'service httpd restart' or even
better (the weekly logrotate), and require you to reboot the machine
or call your script again.  That might not be the *best* solution.

Ian's previous post about setting variables in /etc/sysconfig/httpd is
correct. Define the vars in /etc/sysconfig/httpd, and make sure you
export them there.

This is the intended use and the 'redhat' method.
  


Also, depending on whether or not you're invoking CGI scripts, etc., you 
may need the following directive in your httpd.conf:


PassEnv LD_LIBRARY_PATH

with one or more of the environment variables you set in the 
/etc/sysconfig/httpd file mentioned above.


-Greg


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


Re: [CentOS] postfix install error: fatal file /etc/postfix/main.cf: parameter setgid_group: unknown group name: postdrop

2008-08-26 Thread Rainer Traut

Thx for your answer.

Ned Slider schrieb:

Rainer Traut wrote:

Trying to switch from sendmail to postfix I did:

# yum remove sendmail

which resulted in erasing of:
mdadm sendmail-doc sendmail sendmail-cf mutt fetchmail redhat-lsb

I did then:

yum -y install redhat-lsb.x86_64 postfix

and got this error:

  Installing: postfix  # 
[1/2]
postfix: fatal: file /etc/postfix/main.cf: parameter setgid_group: 
unknown group name: postdrop

warning: group postdrop does not exist - using root
warning: group postdrop does not exist - using root
warning: group postdrop does not exist - using root
warning: group postdrop does not exist - using root
  Installing: redhat-lsb   # 
[2/2]


You don't need to remove sendmail, you can just use system-switch-mail 
to set postfix as the MTA.




I knew that thx.
I tested the exact same steps on our internal testmachine. Must admit it 
has EL5.2 x86_64 on it but did not show this behaviour.


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


Re: [CentOS] postfix install error: fatal file /etc/postfix/main.cf: parameter setgid_group: unknown group name: postdrop

2008-08-26 Thread Rainer Traut

Ok, think I found the cause...

The server I try to install to has heartbeat/cluster software installed.
I already has a group with GID 90:
# grep 90 /etc/group
haclient:x:90:

The postfix rpm has hardcoded:
/usr/sbin/groupadd -g 90 -r postdrop 2/dev/null

So that's the reason I get the messages...

Thx for all your help
Rainer


Rainer Traut schrieb:

Thx for your answer.

Ned Slider schrieb:

Rainer Traut wrote:

Trying to switch from sendmail to postfix I did:

# yum remove sendmail

which resulted in erasing of:
mdadm sendmail-doc sendmail sendmail-cf mutt fetchmail redhat-lsb

I did then:

yum -y install redhat-lsb.x86_64 postfix

and got this error:

  Installing: postfix  # 
[1/2]
postfix: fatal: file /etc/postfix/main.cf: parameter setgid_group: 
unknown group name: postdrop

warning: group postdrop does not exist - using root
warning: group postdrop does not exist - using root
warning: group postdrop does not exist - using root
warning: group postdrop does not exist - using root
  Installing: redhat-lsb   # 
[2/2]


You don't need to remove sendmail, you can just use system-switch-mail 
to set postfix as the MTA.




I knew that thx.
I tested the exact same steps on our internal testmachine. Must admit it 
has EL5.2 x86_64 on it but did not show this behaviour.




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


Re: [CentOS] apache

2008-08-26 Thread Mad Unix
Can I do the following

vi /etc/sysconfig/httpd

# Configuration file for the httpd service.

#
# The default processing model (MPM) is the process-based
# 'prefork' model.  A thread-based model, 'worker', is also
# available, but does not work with some modules (such as PHP).
# The service must be stopped before changing this variable.
#
#HTTPD=/usr/sbin/httpd.worker

#
# To pass additional options (for instance, -D definitions) to the
# httpd binary at startup, set OPTIONS here.
#
#OPTIONS=

#
# By default, the httpd process is started in the C locale; to
# change the locale in which the server runs, the HTTPD_LANG
# variable can be set.
#
#HTTPD_LANG=C
ORACLE_BASE=/u01/oracle
ORACLE_HOME=/u01/oracle/10g
ORACLE_SID=king
LD_LIBRARY_PATH=$ORACLE_HOME/lib
LD_LIBRARY_PATH_32=$ORACLE_HOME/lib32
PATH=$PATH:$ORACLE_HOME/bin
NLS_LANG=AMERICAN_AMERICA.AR8MSWIN1256; export NLS_LANG
NLS_DATE_FORMAT=dd-mm- ; export NLS_DATE_FORMAT
export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH LD_LIBRARY_PATH_32
PATH
~

On Tue, Aug 26, 2008 at 2:25 PM, Jim Perrin [EMAIL PROTECTED] wrote:

 On Tue, Aug 26, 2008 at 6:01 AM, Mad Unix [EMAIL PROTECTED] wrote:
  i did the following, created a startup script
  [EMAIL PROTECTED] script]$ cat start_apache.sh
  #!/bin/bash
  ORACLE_BASE=/u01/oracle
  ORACLE_HOME=/u01/oracle/10g
  ORACLE_SID=king
  LD_LIBRARY_PATH=$ORACLE_HOME/lib
  LD_LIBRARY_PATH_32=$ORACLE_HOME/lib32
  PATH=$PATH:$ORACLE_HOME/bin
  NLS_LANG=AMERICAN_AMERICA.AR8MSWIN1256; export NLS_LANG
  NLS_DATE_FORMAT=dd-mm- ; export NLS_DATE_FORMAT
  export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH
 LD_LIBRARY_PATH_32
  PATH
  /usr/sbin/apachectl start
 
  and call it from the rc.local...

 Which completely circumvents the usual process for starting up apache,
 and will be wiped away with a simple 'service httpd restart' or even
 better (the weekly logrotate), and require you to reboot the machine
 or call your script again.  That might not be the *best* solution.

 Ian's previous post about setting variables in /etc/sysconfig/httpd is
 correct. Define the vars in /etc/sysconfig/httpd, and make sure you
 export them there.

 This is the intended use and the 'redhat' method.



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




-- 
Madunix_at_Gmail
Sysadmin

Computers are useless. They can only give you answers - Pablo Picasso
Never trust a computer you can't throw out a window. - Steve Wozniak
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: YumRepo Warning: not using ftp, http[s], or file for repos, skipping - 5 is not a valid release or hasnt been released yet

2008-08-26 Thread Scott Silva




Hi Ralph,

That is one full line:

#mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=addons 
http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=addons



But as you can see, it's commented out, so it shouldn't even be read, right?


What does your mirrors directory structure look like?
If you browse to http://192.168.10.10/repo/centos5/5/os
Does it resolve properly?
Is the Centos directory the next level down?



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



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


[CentOS] Re: (Global/Any) setting for show hidden files? - SOLVED

2008-08-26 Thread Scott Silva

on 8-26-2008 4:16 AM Karanbir Singh spake the following:

MHR wrote:
On Mon, Aug 25, 2008 at 11:33 AM, MHR 
[EMAIL PROTECTED] wrote:

Is there a setting somewhere in the global arena of CentOS that
controls whether or not hidden (.prefixed) files are displayed in
file lists?



Never mind - apparently if you right-click in the file list and select
show hidden files, it sticks system-wide.


by changing the Subject line, and not retaining the reply-to context in 
the mailheaders, you end up creating a new thread each time. so can you 
not do that please ?


- KB

Gmail also seems to sometimes munge the threading headers.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



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


Re: [CentOS] postfix install error: fatal file /etc/postfix/main.cf: parameter setgid_group: unknown group name: postdrop

2008-08-26 Thread nate
Rainer Traut wrote:
 Ok, think I found the cause...

 The server I try to install to has heartbeat/cluster software installed.
 I already has a group with GID 90:

Makes sense then, where did heartbeat/cluster software come from?
If it's a supported package on RHEL-based systems it shouldn't add
a user or group with a conflicting ID.

nate

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


[CentOS] Re: Slow Xen on CentOS 5.2?

2008-08-26 Thread Eduardo Grosclaude
On Tue, Aug 26, 2008 at 11:09 AM, Eduardo Grosclaude
[EMAIL PROTECTED] wrote:
 After I updated the system, Xen takes an unusable startup time. Every

Guess what, Virtual Dave
(http://wiki.xdroop.com/space/VMware/Server/Clock+on+CentOS) is right.
Just disable cpuspeed.
Thank you, Virtual Dave

-- 
Eduardo Grosclaude
Universidad Nacional del Comahue
Neuquen, Argentina
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: YumRepo Warning: not using ftp, http[s], or file for repos, skipping - 5 is not a valid release or hasnt been released yet

2008-08-26 Thread Rudi Ahlers
On Tue, Aug 26, 2008 at 5:13 PM, Scott Silva [EMAIL PROTECTED] wrote:



 Hi Ralph,

 That is one full line:

 #mirrorlist=
 http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=addons
 http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=addons
 


 But as you can see, it's commented out, so it shouldn't even be read,
 right?

  What does your mirrors directory structure look like?
 If you browse to http://192.168.10.10/repo/centos5/5/os
 Does it resolve properly?
 Is the Centos directory the next level down?



 --



Hey Ralph,

Now that I read your email, I think I see the error.

I have now changed the URL's to look like this:
http://192.168.10.11/repo/centos5/x86_64/updates 
http://192.168.10.11/repo/centos5/x86_64/os

I still get the same error though. When I browse to that folder with Lynx, I
can see all the RPM's for that folder - which looks like this:
http://mirror.centos.org/centos/5/updates/x86_64/RPMS/
-- 

Kind Regards
Rudi Ahlers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: YumRepo Warning: not using ftp, http[s], or file for repos, skipping - 5 is not a valid release or hasnt been released yet

2008-08-26 Thread Scott Silva

on 8-26-2008 9:06 AM Rudi Ahlers spake the following:


On Tue, Aug 26, 2008 at 5:13 PM, Scott Silva 
[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:




Hi Ralph,

That is one full line:


#mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=addons

http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=addons

http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=addons

http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=addons



But as you can see, it's commented out, so it shouldn't even be
read, right?

What does your mirrors directory structure look like?
If you browse to http://192.168.10.10/repo/centos5/5/os
Does it resolve properly?
Is the Centos directory the next level down?



-- 




Hey Ralph,

Now that I read your email, I think I see the error.

I have now changed the URL's to look like this: 
http://192.168.10.11/repo/centos5/x86_64/updates  
http://192.168.10.11/repo/centos5/x86_64/os


I still get the same error though. When I browse to that folder with 
Lynx, I can see all the RPM's for that folder - which looks like this: 
http://mirror.centos.org/centos/5/updates/x86_64/RPMS/


It needs to look like this;
http://mirror.centos.org/centos/5/updates/x86_64
with the repodata available.



--

Kind Regards
Rudi Ahlers




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



--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



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


Re: [CentOS] slow Perl on CentOS 5

2008-08-26 Thread Akemi Yagi
On Mon, Aug 25, 2008 at 1:30 PM, Florin Andrei [EMAIL PROTECTED] wrote:
 If your Perl apps are unusually slow on CentOS 5, have a look at this blog:

 http://blog.vipul.net/2008/08/24/redhat-perl-what-a-tragedy/

 In a nutshell: some Perl apps are 100x slower on RedHat / CentOS 5 compared
 to other distributions.

 Bugzilla entry:

 https://bugzilla.redhat.com/show_bug.cgi?id=379791
 --
 Florin Andrei

Just forwarding a posting on the Scientifix Linux mailing list that is
addressing the same perl issue and calling for collaborative effort
with CentOS.

Akemi

=== forwarded message ===
Date: Tue, 26 Aug 2008 08:58:40 -0700
Sender:   Mailling list for Scientific Linux users worldwide
From: Keith Lofstrom
Subject:  Horribly Broken RHEL5/SL5 Perl
Comments: To: Scientific Linux

This just in: http://blog.vipul.net/2008/08/24/redhat-perl-what-a-tragedy/

Summary: The Upstream Vendor version of Perl has a patch to the
bless[] function that makes it /extremely/ slow. Most of us do not
write that kind of of fancy Perl, but a lot of us use one of the 1500+
CPAN modules that do. The slowdown can be over 100x with some
programs. This affects Fedora 9 as well as the various version 5
distros. TUV-patched Perl version 5.8.8 also breaks the Math::GSL
package that I wrote about a few days ago. It runs fine with 5.10 .
What to do? Some people are downloading and recompiling Perl;
we have version 5.8.8, while version 5.10 is available . A few are
abandoning Perl. A few are abandoning TUV-inspired distros. A few
are buying way more hardware than they would otherwise need.
Since some of the scientific community (especially the life sciences)
are running huge amounts of Perl, this is probably a Big Deal. We
should explore the problem further with TUV and the CentOS
community. If a fix is not forthcoming from TUV, I reluctantly suggest
that we get together with the CentOS people and fork this portion of
 the distro, perhaps standardizing on Perl 5.10 . There are people
in the Perl community ready to assist us.

Keith
--
Keith Lofstrom [log in to unmask] Voice (503)-520-1993
KLIC --- Keith Lofstrom Integrated Circuits --- Your Ideas in Silicon
Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: apache

2008-08-26 Thread Scott Silva

on 8-26-2008 8:11 AM Mad Unix spake the following:

Can I do the following


Snip?
What is wrong with the advice given already?




Ian's previous post about setting variables in /etc/sysconfig/httpd is
correct. Define the vars in /etc/sysconfig/httpd, and make sure you
export them there.

This is the intended use and the 'redhat' method.


Did you try this instead of every other idea you have proposed?





Computers are useless. They can only give you answers - Pablo Picasso


Answers are useless if you don't listen to them.


Never trust a computer you can't throw out a window. - Steve Wozniak

AMEN!







--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



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


Re: [CentOS] Re: (Global/Any) setting for show hidden files? - SOLVED

2008-08-26 Thread Bart Schaefer
On Tue, Aug 26, 2008 at 8:22 AM, Scott Silva [EMAIL PROTECTED] wrote:
 on 8-26-2008 4:16 AM Karanbir Singh spake the following:

 by changing the Subject line, and not retaining the reply-to context in
 the mailheaders, you end up creating a new thread each time. so can you not
 do that please ?

 Gmail also seems to sometimes munge the threading headers.

If you click the Edit Subject link in gmail, it discards the other
threading headers.  Gmail will only let you continue a thread if you
leave the subject unchanged.

This does prevent the oft-seen complaint about people using the
reply action to start a new thread.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] apache

2008-08-26 Thread Jeff
On Tue, Aug 26, 2008 at 10:11 AM, Mad Unix [EMAIL PROTECTED] wrote:
 Can I do the following

 vi /etc/sysconfig/httpd

 # Configuration file for the httpd service.

 #
 # The default processing model (MPM) is the process-based
 # 'prefork' model.  A thread-based model, 'worker', is also
 # available, but does not work with some modules (such as PHP).
 # The service must be stopped before changing this variable.
 #
 #HTTPD=/usr/sbin/httpd.worker

 #
 # To pass additional options (for instance, -D definitions) to the
 # httpd binary at startup, set OPTIONS here.
 #
 #OPTIONS=

 #
 # By default, the httpd process is started in the C locale; to
 # change the locale in which the server runs, the HTTPD_LANG
 # variable can be set.
 #
 #HTTPD_LANG=C
 ORACLE_BASE=/u01/oracle
 ORACLE_HOME=/u01/oracle/10g
 ORACLE_SID=king
 LD_LIBRARY_PATH=$ORACLE_HOME/lib
 LD_LIBRARY_PATH_32=$ORACLE_HOME/lib32
 PATH=$PATH:$ORACLE_HOME/bin
 NLS_LANG=AMERICAN_AMERICA.AR8MSWIN1256; export NLS_LANG
 NLS_DATE_FORMAT=dd-mm- ; export NLS_DATE_FORMAT
 export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH LD_LIBRARY_PATH_32
 PATH
 ~
snip

Yes, that is the right way. But one point that was not clearly made is
that you probably ALSO need to add to your apache configuration:

PassEnv ORACLE_BASE ORACLE_HOME [etc.]

This make the values available to PHP.


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


RE: [CentOS] apache

2008-08-26 Thread Ross S. W. Walker
Jeff wrote:
 On Tue, Aug 26, 2008 at 10:11 AM, Mad Unix [EMAIL PROTECTED] wrote:
  Can I do the following
 
  vi /etc/sysconfig/httpd
 
  # Configuration file for the httpd service.
 
  #
  # The default processing model (MPM) is the process-based
  # 'prefork' model.  A thread-based model, 'worker', is also
  # available, but does not work with some modules (such as PHP).
  # The service must be stopped before changing this variable.
  #
  #HTTPD=/usr/sbin/httpd.worker
 
  #
  # To pass additional options (for instance, -D definitions) to the
  # httpd binary at startup, set OPTIONS here.
  #
  #OPTIONS=
 
  #
  # By default, the httpd process is started in the C locale; to
  # change the locale in which the server runs, the HTTPD_LANG
  # variable can be set.
  #
  #HTTPD_LANG=C
  ORACLE_BASE=/u01/oracle
  ORACLE_HOME=/u01/oracle/10g
  ORACLE_SID=king
  LD_LIBRARY_PATH=$ORACLE_HOME/lib
  LD_LIBRARY_PATH_32=$ORACLE_HOME/lib32
  PATH=$PATH:$ORACLE_HOME/bin
  NLS_LANG=AMERICAN_AMERICA.AR8MSWIN1256; export NLS_LANG
  NLS_DATE_FORMAT=dd-mm- ; export NLS_DATE_FORMAT
  export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH 
 LD_LIBRARY_PATH_32
  PATH
  ~
 snip
 
 Yes, that is the right way. But one point that was not clearly made is
 that you probably ALSO need to add to your apache configuration:
 
 PassEnv ORACLE_BASE ORACLE_HOME [etc.]
 
 This make the values available to PHP.

Or you could add those environment variables in /etc/profile.d, create
a file called oracle.sh and put those environment variables there, then
in /etc/httpd/conf.d create a file called oracle, and add the PassEnv
directives there.

At least this way the environment variables are available to all
local processes and users.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


[CentOS] specialix module

2008-08-26 Thread Jerry Geis

I am wondering if it is possible to just grab the specialix.c file
and compile that one module (not the entire kernel) and of course load 
that module

and have it work.

Is that possible?

Jerry

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


Re: [CentOS] specialix module

2008-08-26 Thread Luciano Rocha
On Tue, Aug 26, 2008 at 12:54:36PM -0400, Jerry Geis wrote:
  I am wondering if it is possible to just grab the specialix.c file
  and compile that one module (not the entire kernel) and of course load that 
  module
  and have it work.
 
  Is that possible?

Usually, yes.

But be wary of differences between the kernel versions (different
signatures for internal functions: INIT_WORK, kmem_cache_x, etc.;
or different types).

Regards,
Luciano Rocha

-- 
lfr
0/0


pgp4aCkhvFFVb.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] iptables question

2008-08-26 Thread Joseph L. Casale
When do you know you need the -m multiport option? I see examples with -dport 
xx:xxx for example that sometimes use it and sometimes don't?
I have read the man page and see what -m multiport requires, but don't see 
the requirement involving its use.

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


Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread MHR
On Tue, Aug 26, 2008 at 5:49 AM, Jim Perrin [EMAIL PROTECTED] wrote:

 Rather than guessing, why not look at the output from the rpm command
 he ran, which gives the name of the package he's missing? Filipe
 nailed this one a little earlier in the thread with unifdef.x86_64
 needing to be installed.


I remember running into this a while back.  That being the case,
shouldn't unifdef be included in kernel-devel, or at least one of the
packages that are required for building a kernel?  Seems like it
sticks out like a sore thumb this way

Alternatively, how do I go about suggesting this in a formal way
(bugzilla, etc.)?

Thanks.

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


Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Akemi Yagi
On Tue, Aug 26, 2008 at 10:32 AM, MHR [EMAIL PROTECTED] wrote:
 On Tue, Aug 26, 2008 at 5:49 AM, Jim Perrin [EMAIL PROTECTED] wrote:

 Rather than guessing, why not look at the output from the rpm command
 he ran, which gives the name of the package he's missing? Filipe
 nailed this one a little earlier in the thread with unifdef.x86_64
 needing to be installed.

 I remember running into this a while back.  That being the case,
 shouldn't unifdef be included in kernel-devel, or at least one of the
 packages that are required for building a kernel?  Seems like it
 sticks out like a sore thumb this way

 Alternatively, how do I go about suggesting this in a formal way
 (bugzilla, etc.)?

Alan and I are now talking about this so we can amend the Wiki article
appropriately.  According to him, unifdef is not required on his
32-bit system.  I will update on this subject as soon as I gather more
info.

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


Re: [CentOS] iptables question

2008-08-26 Thread Ned Slider

Joseph L. Casale wrote:

When do you know you need the -m multiport option? I see examples with -dport 
xx:xxx for example that sometimes use it and sometimes don't?
I have read the man page and see what -m multiport requires, but don't see 
the requirement involving its use.

Thanks!
jlc


I'll take a guess but am happy to be corrected if someone knows better...

My understanding is that --dport can only specify a single port (--dport 
80) or port range (--dport 137:139) inclusive. Use of the multiport 
module allows up to 15 ports (or port ranges) to be specified.


As for a potential usage - off the top of my head, suppose you wanted to 
open ports 137-139 and 445 for SMB/Samba. This could be achieved with a 
single rule using the multiport module whereas 2 individual rules would 
otherwise be needed. Again, suppose you wanted to open ports 21 (FTP), 
22 (SSH) and 110 (POP3) to a select IP address - you could do this in a 
single rule rather than 3 individual rules which opens up possibilities 
for optimizing/minimizing the number of iptables rules within a chain.


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


Re: [CentOS] (Global/Any) setting for show hidden files? - SOLVED

2008-08-26 Thread MHR
On Tue, Aug 26, 2008 at 4:16 AM, Karanbir Singh [EMAIL PROTECTED] wrote:

 by changing the Subject line, and not retaining the reply-to context in the
 mailheaders, you end up creating a new thread each time. so can you not do
 that please ?


Hmm - I did that on purpose because (I thought) I had been soundly
thrashed in prior efforts for not doing that.

So, to clarify:  when an issue is solved, modify the subject: line so
to indicate and do NOT start a new thread?

Foo - I thought I had it right this time

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


Re: [CentOS] Re: (Global/Any) setting for show hidden files? - SOLVED

2008-08-26 Thread MHR
On Tue, Aug 26, 2008 at 9:24 AM, Bart Schaefer
[EMAIL PROTECTED] wrote:
 On Tue, Aug 26, 2008 at 8:22 AM, Scott Silva [EMAIL PROTECTED] wrote:
 on 8-26-2008 4:16 AM Karanbir Singh spake the following:

 by changing the Subject line, and not retaining the reply-to context in
 the mailheaders, you end up creating a new thread each time. so can you not
 do that please ?

 Gmail also seems to sometimes munge the threading headers.

 If you click the Edit Subject link in gmail, it discards the other
 threading headers.  Gmail will only let you continue a thread if you
 leave the subject unchanged.

 This does prevent the oft-seen complaint about people using the
 reply action to start a new thread.

Strange - I used to do that (edit the subject, in gmail) to start a
new thread and it did not do the right thing either.

I don't do that any more, but yowch!

(heavy sigh, Orcan smile)

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


Re: [CentOS] (Global/Any) setting for show hidden files? - SOLVED

2008-08-26 Thread Karanbir Singh

MHR wrote:

On Tue, Aug 26, 2008 at 4:16 AM, Karanbir Singh [EMAIL PROTECTED] wrote:

by changing the Subject line, and not retaining the reply-to context in the
mailheaders, you end up creating a new thread each time. so can you not do
that please ?



Hmm - I did that on purpose because (I thought) I had been soundly
thrashed in prior efforts for not doing that.

So, to clarify:  when an issue is solved, modify the subject: line so
to indicate and do NOT start a new thread?

Foo - I thought I had it right this time


I, for one, dont think its worth wasting time with the SOLVED word in 
the subject lines. noone searches through achieves with the word 
'SOLVED' in there.


But, whatever people do - thread sanity is way more important than 
changing subject lines. people looking for info on a topic almost always 
follow threads.

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


Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread MHR
On Tue, Aug 26, 2008 at 10:36 AM, Akemi Yagi [EMAIL PROTECTED] wrote:
 On Tue, Aug 26, 2008 at 10:32 AM, MHR [EMAIL PROTECTED] wrote:

 I remember running into this a while back.  That being the case,
 shouldn't unifdef be included in kernel-devel, or at least one of the
 packages that are required for building a kernel?  Seems like it
 sticks out like a sore thumb this way

 Alternatively, how do I go about suggesting this in a formal way
 (bugzilla, etc.)?

 Alan and I are now talking about this so we can amend the Wiki article
 appropriately.  According to him, unifdef is not required on his
 32-bit system.  I will update on this subject as soon as I gather more
 info.


Many thanks!  Let me know if I can help.

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


Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread Akemi Yagi
On Tue, Aug 26, 2008 at 11:12 AM, MHR [EMAIL PROTECTED] wrote:
 On Tue, Aug 26, 2008 at 10:36 AM, Akemi Yagi [EMAIL PROTECTED] wrote:
 On Tue, Aug 26, 2008 at 10:32 AM, MHR [EMAIL PROTECTED] wrote:

 I remember running into this a while back.  That being the case,
 shouldn't unifdef be included in kernel-devel, or at least one of the
 packages that are required for building a kernel?  Seems like it
 sticks out like a sore thumb this way

 Alternatively, how do I go about suggesting this in a formal way
 (bugzilla, etc.)?

 Alan and I are now talking about this so we can amend the Wiki article
 appropriately.  According to him, unifdef is not required on his
 32-bit system.  I will update on this subject as soon as I gather more
 info.

 Many thanks!  Let me know if I can help.

You can certainly help.  So, from what you wrote I suppose you
encountered the same dependency problem and then manually installed
unifdef.  Was this indeed the case?  Also, this happened on an x86_64
system?

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


Re: [CentOS] (Global/Any) setting for show hidden files? - SOLVED

2008-08-26 Thread MHR
On Tue, Aug 26, 2008 at 11:09 AM, Karanbir Singh [EMAIL PROTECTED] wrote:

 I, for one, dont think its worth wasting time with the SOLVED word in the
 subject lines. noone searches through achieves with the word 'SOLVED' in
 there.

Actually, if I thought I would find it on a reliable basis, I would.
But I suppose that just putting the word SOLVED at the front of the
email (or front of the bottom-post part) would work for that as well.

 But, whatever people do - thread sanity is way more important than changing
 subject lines. people looking for info on a topic almost always follow
 threads.

Good point - well taken.  I will keep this in mind for future posts
that fit the category.

Thanks.

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


Re: [CentOS] postfix mysql_pgsql update?

2008-08-26 Thread Duncan

Karanbir Singh wrote:

John Thomas wrote:

Should postfix-2.3.3-2.el5.centos.mysql_pgsql be updated for:
https://rhn.redhat.com/errata/RHSA-2008-0839.html
and, if so, may I humbly request it?


I will look into this today, at the moment the openssh issue takes 
priority! News on that front in the next few hours. I know lots of 
people are waiting for feedback on that.


Regards,

- KB 

Another humble request here :)

thanks

Dunc

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


Re: [CentOS] how can I get the kernel source codes of CentOS5.2

2008-08-26 Thread MHR
On Tue, Aug 26, 2008 at 11:20 AM, Akemi Yagi [EMAIL PROTECTED] wrote:

 You can certainly help.  So, from what you wrote I suppose you
 encountered the same dependency problem and then manually installed
 unifdef.  Was this indeed the case?  Also, this happened on an x86_64
 system?


Yes, yes, and yes, not necessarily in that order  ;^)

I routinely build a kernel with NTFS read/write support whenever a new
kernel comes out, partly to get the support, but mostly to keep my
hand at building kernels alive and kicking (?).  My primary desktop is
an AMD 64x2 and I always run CentOS x86_64 kernels.

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


Re: [CentOS] Re: YumRepo Warning: not using ftp, http[s], or file for repos, skipping - 5 is not a valid release or hasnt been released yet

2008-08-26 Thread Rudi Ahlers
On Tue, Aug 26, 2008 at 6:12 PM, Scott Silva [EMAIL PROTECTED] wrote:

 on 8-26-2008 9:06 AM Rudi Ahlers spake the following:


 On Tue, Aug 26, 2008 at 5:13 PM, Scott Silva [EMAIL PROTECTED]mailto:
 [EMAIL PROTECTED] wrote:



Hi Ralph,

That is one full line:

#mirrorlist=
 http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=addons

 http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=addons
 

 http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=addons

 http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=addons
 



But as you can see, it's commented out, so it shouldn't even be
read, right?

What does your mirrors directory structure look like?
If you browse to http://192.168.10.10/repo/centos5/5/os
Does it resolve properly?
Is the Centos directory the next level down?



--


 Hey Ralph,

 Now that I read your email, I think I see the error.

 I have now changed the URL's to look like this:
 http://192.168.10.11/repo/centos5/x86_64/updates 
 http://192.168.10.11/repo/centos5/x86_64/os

 I still get the same error though. When I browse to that folder with Lynx,
 I can see all the RPM's for that folder - which looks like this:
 http://mirror.centos.org/centos/5/updates/x86_64/RPMS/


 It needs to look like this;
 http://mirror.centos.org/centos/5/updates/x86_64
 with the repodata available.


Well, this is how mrepo has rsync'ed the upstream repository - so, how do I
get mrepo todo it properly?




  --

 Kind Regards
 Rudi Ahlers


 

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



 --
 MailScanner is like deodorant...
 You hope everybody uses it, and
 you notice quickly if they don't


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




-- 

Kind Regards
Rudi Ahlers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] iptables question

2008-08-26 Thread Joseph L. Casale
My understanding is that --dport can only specify a single port (--dport
80) or port range (--dport 137:139) inclusive. Use of the multiport
module allows up to 15 ports (or port ranges) to be specified.

Ned,
So to write --dport 5060,1:6 you need to write:
-m multiport -p udp -dport 5060,1:6
Correct?

Thanks for the help!
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


  1   2   >