Re: [CentOS-docs] Permissions on my user page

2010-04-01 Thread Ralph Angenendt
On Tue, Mar 30, 2010 at 3:40 PM, Timo Schoeler
timo.schoe...@riscworks.net wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi (Ralph),

 I'd like to edit my personal page (would be nice to link images from
 here to the interview); could you please grant me the appropriate
 permissions?

Done.

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


Re: [CentOS-virt] RHEL 5.5 Xen fixes

2010-04-01 Thread Pasi Kärkkäinen
On Thu, Apr 01, 2010 at 09:19:34AM +1100, Norman Gaywood wrote:
 On Wed, Mar 31, 2010 at 11:28:56PM +0300, Pasi Kärkkäinen wrote:
  On Wed, Mar 31, 2010 at 03:43:38PM -0400, Grant McWilliams wrote:
  Are these changes in the kernel or changes to the installed Xen? I'm
  wondering if this effects anyone using Xen 3.4 or newer.
  
  I think they're mixed.. you need to go through the bugzillas to figure out.
  (and possibly compare to the kernel changelog above).
 
 This may be a dumb/FA question but how do you run Xen 3.4+ with the latest
 Centos kernel?
 

By using http://gitco.de/repo/ packages. They include only the new hypervisor 
rpms,
you still use the stock centos dom0 kernel.

 Are there centos/redhat kernels rebuilt with newer Xen or do you have
 to do this yourself?


No need to re-build the kernel.
 
 I see source for kernel 2.6.18 with Xen 3.4 here:
 
 http://www.xen.org/products/xen_source.html
 
 but that kernel does not have all the fixes that have gone into the
 RH/Centos 2.6.18 kernel.
 

Yes, http://xenbits.xen.org/linux-2.6.18-xen.hg does have all the latest
xen features and fixes, but it doesn't have driver/security fixes like 
rhel/centos kernel has.

-- Pasi

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


Re: [CentOS-virt] RHEL 5.5 Xen fixes

2010-04-01 Thread Pasi Kärkkäinen
On Thu, Apr 01, 2010 at 09:08:42AM +0300, Pasi Kärkkäinen wrote:
 On Wed, Mar 31, 2010 at 06:29:51PM -0400, Stephen Harris wrote:
  On Thu, Apr 01, 2010 at 09:19:34AM +1100, Norman Gaywood wrote:
   This may be a dumb/FA question but how do you run Xen 3.4+ with the latest
   Centos kernel?
  
  And maybe another dumb question...
  
  What's the difference between xen.org's 3.4.x series and Citrix
  Xenserver 5.5?
  
 
 xen.org 3.4.x is just/only the core hypervisor, while Citrix XenServer 5.5 is 
 a full
 'vmware esx-like' product.. aka full distro including multi-host pool gui 
 management tools.
 

And to add.. RHEL5/CentOS5 is a general purpose OS, which also includes 
virtualization (Xen).

Citrix XenServer is a *dedicated* virtualization platform, only built and 
tested for that purpose.

-- Pasi

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


Re: [CentOS-es] ayuda

2010-04-01 Thread Edgar Rodolfo
Hola amigo, yo te recomendaria que vayas a la pagina de centos.org, ahi en
los menus desplegables buscas information luego documentation y escoges
centos 5.x, ahi hay manuales, y son buenos por q son oficiales:
http://www.centos.org/docs/5/
solo q estan en english, pero no es muy dificil de entender, comenzarias por
installation guide (gia de instalacion), luego vas por implementacion
(deploymente).
Deployment Guide
(Onlinehttp://www.centos.org/docs/5/html/5.2/Deployment_Guide/|
PDF http://www.centos.org/docs/5/html/5.2/pdf/Deployment_Guide.pdf)
Installation Guide
(Onlinehttp://www.centos.org/docs/5/html/5.2/Installation_Guide/|
PDF http://www.centos.org/docs/5/html/5.2/pdf/Installation_Guide.pdf),
saludos...


Edgar  Rodolfo:
https://fedoraproject.org/wiki/User:Edgarr789
http://www.cybernautape.net


El 31 de marzo de 2010 17:12, Elmer Rabanal
eraba...@tecnisoftperu.comescribió:

  Estimados amigos,

 Quiero aprender todo sobre Centos 5.4. Para empezar nunca he usado Linux
 pero creo que nunca es tarde para empezar espero me puedan ayudar a ubicar
 un buen manual para empezar de cero

 Muchas gracias

 Elmer Rabanal Palacios
  --

 Explore the seven wonders of the world Learn 
 more!http://search.msn.com/results.aspx?q=7+wonders+worldmkt=en-USform=QBRE

 --
  E-mail clasificado por el Identificador de Spam Inteligente de Terra. Para
 modificar la categoría clasificada acceda a su webmail.

 --
  Este mensaje ha sido verificado por el E-mail Protegido.
 Antivirus actualizado en 31/03/2010 / Versión: 0.95.3/10676
 ___
 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] ayuda

2010-04-01 Thread Eduardo Grosclaude
2010/4/1 Edgar Rodolfo edgarr...@gmail.com:
 Hola amigo, yo te recomendaria que vayas a la pagina de centos.org, ahi en
 los menus desplegables buscas information luego documentation y escoges
 centos 5.x, ahi hay manuales, y son buenos por q son oficiales:
 http://www.centos.org/docs/5/
 solo q estan en english, pero no es muy dificil de entender, comenzarias por
 installation guide (gia de instalacion), luego vas por implementacion
 (deploymente).
 Deployment Guide (Online | PDF)
 Installation Guide (Online | PDF), saludos...

Esos mismos documentos están disponibles en castellano, sólo que no
están subidos al wiki. Trataremos de corregir esto próximamente.

Mientras tanto lo que podemos hacer es instalar los paquetes de
documentación en castellano en nuestros propios equipos. Por ejemplo,
haciendo como root:

yum install Deployment_Guide-es-ES

Te aparecerá accesible en la zona de documentación del menú del escritorio.

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


Re: [CentOS-es] ayuda

2010-04-01 Thread Mauricio Tapia
Sendmail en los log esta arrojando

grew worklist for var spool mqueue

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


[CentOS-es] Caratula para CentOS 5.2

2010-04-01 Thread jorgito
Gracias Eduardo estàn muy buenas las imagenes ya puedo hacer las portadas 
para mis discos

Algo màs instale en una pequeña maquina con CentOS 5.2 en modo consola y 
tengo pensado montar un server web con joomla 1.5.15 nada todavia estoy en 
el proseso de configuracion pero ahi voy luchando a paso lento pero seguro 
tengo unas cuantas dudas y poco a poco las ire comentando. la que me trae 
hoy es que se como montar una torre de cd   mount /dev/cdrom /mnt pero a la 
hora de montar un dispositivo USB como una memoria me perdi si alguien me 
pudiera ayudar.

Gracias  jorgito 


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


[CentOS-es] grub no inicializa, como si boot intel no lo dejara

2010-04-01 Thread Edgar Rodolfo
Amigos necesito ayuda, agardeciendo de natemano su respuesta, ya que un user
esta q me dice q linux no pasa nada, nunca me habia apsado, trate de instalr
linux fedora, que es de la misma familia de centos, en una maquina q tiene
windows xp, pues lo normal es q grub arranq y nos muestre las opciones a
elegin entre win y linux, siempre me habia pasado eso y nunca me habia
fallado grub, pero ahora no se q apsa, luego de instalr como normalmente lo
hacia, luego de sacar el dvd dela unidad, no aparece grub, sale
initializing  and estabilishing  link..., leugo aparece esto pxe-e61 media
test failure, check cable
pxe-m0f exiting intel boot agent, eso me sale y se palta y nada ni para
adelante ni para atras, ayudenme amigos ya q la pc es de un amigo y trato q
guste linux ya le habia mostrado antes y le gusto, pero ahora no se q pasa
en su pc, solo recuerdo q antes al habia saacdo la pila del pc y lo puso
horas despues  y sospecho q algo haya apsado con bios, aunq me dice q le
puso y normal, antes de poner linux esta muy bien con windows, no se a q se
debe eso, saludos y gracias por la respuesta amigos listeros...
nota secuecncia de arranq no necesita poner en dvd uno le pone el disco
instaaldo sin entrara a la bios y la detecta , pero he visto q si se peude
modificar le puse a hard disk y nada...es un bio q tiene opciones de normal
y advance para boot, estaba en cd/dvd pero le subi de nivel para disco duro
y nada...
Edgar  Rodolfo:
https://fedoraproject.org/wiki/User:Edgarr789
http://www.cybernautape.net
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Caratula para CentOS 5.2

2010-04-01 Thread Eduardo Grosclaude
2010/4/1 jorgito jorg...@alimatic.cu:
  a la hora de montar un dispositivo USB como una memoria me perdi si alguien 
 me
 pudiera ayudar.

Por defecto debería montarse solo. Insertas el pen drive y debería
aparecer debajo de /media (el mío queda en /media/KINGSTON).

Si no es así, busca cuál es el nombre de la partición usando dmesg.
Inmediatamente después de insertar el dispositivo USB pones dmesg y
deberías ver algo parecido a esto:

Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
  Vendor: Kingston  Model: DataTraveler 2.0  Rev: PMAP
  Type:   Direct-Access  ANSI SCSI revision: 00
SCSI device sdb: 15646720 512-byte hdwr sectors (8011 MB)
sdb: Write Protect is off
sdb: Mode Sense: 23 00 00 00
sdb: assuming drive cache: write through
SCSI device sdb: 15646720 512-byte hdwr sectors (8011 MB)
sdb: Write Protect is off
sdb: Mode Sense: 23 00 00 00
sdb: assuming drive cache: write through
 sdb: sdb1
sd 2:0:0:0: Attached scsi removable disk sdb
sd 2:0:0:0: Attached scsi generic sg1 type 0
usb-storage: device scan complete


Como ves, aquí se hace una referencia a sdb1. Este es el nombre de la
partición que necesitas. Como root, montas /dev/sdb1 sobre cualquier
directorio vacío y ya lo tienes accesible. En tu caso el nombre puede
ser distinto y aun puede ser diferente cada vez que insertas el
dispositivo (dependiendo de si hay otros dispositivos USB insertados).

Si esto te funciona y lo quieres tener automontable, te puede servir
el siguiente artículo:
http://wiki.centos.org/es/TipsAndTricks/HAL

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


Re: [CentOS-es] grub no inicializa, como si boot intel no lo dejara

2010-04-01 Thread Eduardo Grosclaude
2010/4/1 Edgar Rodolfo edgarr...@gmail.com:
 Amigos necesito ayuda, agardeciendo de natemano su respuesta, ya que un user
 esta q me dice q linux no pasa nada, nunca me habia apsado, trate de instalr
 linux fedora, que es de la misma familia de centos, en una maquina q tiene
 windows xp, pues lo normal es q grub arranq y nos muestre las opciones a
 elegin entre win y linux, siempre me habia pasado eso y nunca me habia
 fallado grub, pero ahora no se q apsa, luego de instalr como normalmente lo
 hacia, luego de sacar el dvd dela unidad, no aparece grub, sale
 initializing  and estabilishing  link..., leugo aparece esto pxe-e61 media
 test failure, check cable
 pxe-m0f exiting intel boot agent, eso me sale y se palta y nada ni para
 adelante ni para atras, ayudenme amigos ya q la pc es de un amigo y trato q
 guste linux ya le habia mostrado antes y le gusto, pero ahora no se q pasa
 en su pc, solo recuerdo q antes al habia saacdo la pila del pc y lo puso
 horas despues  y sospecho q algo haya apsado con bios, aunq me dice q le
 puso y normal, antes de poner linux esta muy bien con windows, no se a q se
 debe eso, saludos y gracias por la respuesta amigos listeros...
 nota secuecncia de arranq no necesita poner en dvd uno le pone el disco
 instaaldo sin entrara a la bios y la detecta , pero he visto q si se peude
 modificar le puse a hard disk y nada...es un bio q tiene opciones de normal
 y advance para boot, estaba en cd/dvd pero le subi de nivel para disco duro
 y nada...

Puede ser que la BIOS haya olvidado la geometría del disco al sacar
la pila? Tienes una sección de autodetección de discos? Trata de
buscar una función de BIOS que te reconozca el disco rígido.

Si lo que has instalado es Fedora, pues prueba en la lista de Fedora a
ver si hay antecedentes de un caso así.

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


Re: [CentOS] Unable to get software using Yum

2010-04-01 Thread John R Pierce
Jatin Davey wrote:
 http://centos.corenetworks.net/5.3/os/x86_64/repodata/repomd.xml: [Errno 
 14] HTTP Error 404: Not Found
 ...

odd that its using /5.3/ in the path, it should be just /5/

try

yum clean

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


Re: [CentOS] Release 6?

2010-04-01 Thread Rajagopal Swaminathan
Greetings,

On Thu, Apr 1, 2010 at 4:07 AM, Steve Thompson s...@vgersoft.com wrote:
 On Wed, 31 Mar 2010, Milos Blazevic wrote:

 It's going to have an accident, pretty soon, pretty
 soon.

 Steve


aah!... does anybody smell a BOFH here ;)

http://www.theregister.co.uk/odds/bofh/

Regards,

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


Re: [CentOS] Unable to get software using Yum

2010-04-01 Thread Jatin Davey
Thanks John.

Actually had to use yum clean all and then used yum to install the 
net-snmp package and it worked great.
Good to go with my testing.

Appreciate your help in this regard.

Thanks
Jatin

On 4/1/2010 11:39 AM, John R Pierce wrote:
 Jatin Davey wrote:

 http://centos.corenetworks.net/5.3/os/x86_64/repodata/repomd.xml: [Errno
 14] HTTP Error 404: Not Found
 ...
  
 odd that its using /5.3/ in the path, it should be just /5/

 try

  yum clean

 then try again.
 ___
 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] Sending mail from CLI to another SMTP host

2010-04-01 Thread James Bensley
http://www.rdpslides.com/webresources/FAQ00035.htm

-- 
Regards,
James.

http://www.jamesbensley.co.cc/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] adding users on multiple servers

2010-04-01 Thread Bazy
Hello folks,

Unfortunately I have to add 2 users on 200 servers that do not have
centralized authentication or sudo or the same room password. I tried
doing this with expect and su - but the script fails or acts funny.
Please advise me or tell me where I need to look...


Thanks and regards,
Bazy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] adding users on multiple servers

2010-04-01 Thread Rajagopal Swaminathan
Greetings,

On Thu, Apr 1, 2010 at 2:32 PM, Bazy baz...@gmail.com wrote:
 Hello folks,

 Unfortunately I have to add 2 users on 200 servers that do not

have you checked man newusers?

Regards,

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


Re: [CentOS] CUPS and virtual interfaces

2010-04-01 Thread John Doe
From: m.r...@5-cent.us m.r...@5-cent.us
 Yes, the CUPS Manual says: 
 Multiple Listen directives can be provided to
 listen on multiple addresses
 Well, did that... and no joy, from another box, I can still 
 telnet to the server on one of the virtual IPs, port 631. 
 I can't really play around much, here - this is a production 
 box, used by a lot of staff.

Strange; I just created an alias on my PC, told cups to listen on my main IP, 
and it did...

eth0 = 192.168.16.23
eth0:0 = 192.168.16.40

# grep Listen /etc/cups/cupsd.conf
Listen localhost:631
Listen 192.168.16.23:631
Listen /var/run/cups/cups.sock

# netstat -nltp | grep cupsd
tcp0  0 192.168.16.23:631   0.0.0.0:*   
LISTEN  18733/cupsd
tcp0  0 127.0.0.1:631   0.0.0.0:*   
LISTEN  18733/cupsd

$ telnet 192.168.16.40 631
Trying 192.168.16.40...
telnet: connect to address 192.168.16.40: Connection refused
telnet: Unable to connect to remote host: Connection refused

Guess you restarted cupsd... right?

JD


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


Re: [CentOS] adding users on multiple servers

2010-04-01 Thread Bazy
On Thu, Apr 1, 2010 at 12:35 PM, Rajagopal Swaminathan
raju.rajs...@gmail.com wrote:
 Greetings,

 On Thu, Apr 1, 2010 at 2:32 PM, Bazy baz...@gmail.com wrote:
 Hello folks,

 Unfortunately I have to add 2 users on 200 servers that do not

 have you checked man newusers?

 Regards,

 Rajagopal

Thanks Raja. My problem is connecting to those 200 servers and su-ing
in, they all have different root passwords.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] adding users on multiple servers

2010-04-01 Thread Rajagopal Swaminathan
Greetings,

On Thu, Apr 1, 2010 at 3:43 PM, Bazy baz...@gmail.com wrote:

 Thanks Raja. My problem is connecting to those 200 servers and su-ing
 in, they all have different root passwords.

If you have _that_ kind of infrastructure you are better off using a
Directory server too.

If you have telnet, you can try accept to automate it.

Regards,

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


Re: [CentOS] Release 6?

2010-04-01 Thread Mogens Kjaer
On 03/31/2010 09:19 PM, Pasi Kärkkäinen wrote:
...
 Yeah.. and with a fast internet connection it takes LONGER to build up
 the new rpms from the deltarpms compared to just downloading the new rpms 
 as full packages :)

I've noticed that too on my eee 901 with a slow flash disk.

yum remove yum-presto

solved that problem. (Fedora 12; a bit OT for a CentOS list).

Mogens

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


Re: [CentOS] Release 6?

2010-04-01 Thread Mogens Kjaer
On 03/31/2010 11:43 PM, Milos Blazevic wrote:
...
 Current RHEL life cycle is in fact 7 years.
 Interesting, I remember hearing just the opposite - that they're about 
 to reduce the life cycle from 7 to 5 years, since allegedly no one uses 
 the same EL major release for more than 5 years. I mean, can you imagine 
 anyone who used RHEL 2.1 up until less than a year ago?

So, if I set up a server with RHEL 5.5 or CentOS 5.4 today,
I would only get updates until 14-Mar-2012, if the life
time is reduced to 5 years?

That's less than two years.

That's a bit too short lifetime for my servers.

Yes of course, I can upgrade to RHEL 6 when it comes out,
but my reason for paying Red Hat is to avoid the upgrade.

Mogens

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


Re: [CentOS] adding users on multiple servers

2010-04-01 Thread Les Mikesell
Bazy wrote:
 On Thu, Apr 1, 2010 at 12:35 PM, Rajagopal Swaminathan
 raju.rajs...@gmail.com wrote:
 Greetings,

 On Thu, Apr 1, 2010 at 2:32 PM, Bazy baz...@gmail.com wrote:
 Hello folks,

 Unfortunately I have to add 2 users on 200 servers that do not
 have you checked man newusers?

 Regards,

 Rajagopal
 
 Thanks Raja. My problem is connecting to those 200 servers and su-ing
 in, they all have different root passwords.

If you need to manage a bunch of servers centrally, you probably want to set up 
root ssh access with keys so you can script it.  You could use LDAP for central 
authentication for this case, but how do you do updates and other changes?

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


Re: [CentOS] adding users on multiple servers

2010-04-01 Thread Kwan Lowe
On Thu, Apr 1, 2010 at 5:02 AM, Bazy baz...@gmail.com wrote:
 Hello folks,

 Unfortunately I have to add 2 users on 200 servers that do not have
 centralized authentication or sudo or the same room password. I tried
 doing this with expect and su - but the script fails or acts funny.
 Please advise me or tell me where I need to look...

Short of finding some remotely exploitable vulnerability, you'll have
to visit each server and login. Imagine if you *could* create IDs
without root authority? :D

Are the servers identically configured?

If you can login remotely as root you can automate some of them via
expect. What issues were you encountering?

If you're doing this it might be the perfect opportunity to add some
sort of remote management or authentication to the systems.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] System and Server Status help ?

2010-04-01 Thread Roland RoLaNd

dear all,

i can't count the times that webmin came to my rescue.
whenever i face a dead end in doing something through CLI i always turn to 
webmin..
though at the moment i wanna learn how to do things through cli instead of 
relying on webmin as i said..
especially System and Server Status
theres a module that supports such a thing where i can set monitors that checks 
specific services or directories or... and reports the output..
so i wanna do this through command line.. any help ? 
i've checked crontab -l and it doesnt list anything that i've set in webmin
so where is it and how to do it through cli ?


  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Sending mail from CLI to another SMTP host

2010-04-01 Thread Les Mikesell
Fajar Priyanto wrote:
 Hi all,
 Is it possible to send mail from CLI (bash, python) without any LOCAL
 SMTP installed, using SMTP on another machine.
 Care to give a glimpse of the code?
 Thank you.

Personally, I'd use the default Centos install of sendmail because it's there, 
it's easy, and it works the way mail has been intended to work for decades.  
The 
default setup is to accept only from localhost, but send anywhere. If you want 
to relay through a known host, configure SMART_HOST in /etc/mail/sendmail.mc 
and 
restart the sendmail service.  Then your scripts and other programs can simply 
run sendmail to queue/delivey instead of doing it themselves, and can deliver 
to 
local recipients as well as remote.

If you really don't want a mailer and are ok with failures or want to handle 
queuing and retries yourself, the epel repo has perl-Mail-Sender which is a 
fairly complete smtp send-only client.  After installing use perldoc or 'man 
Mail::Sender' to see the documentation.

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


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


Re: [CentOS] Release 6?

2010-04-01 Thread William Warren
I'm not surprised at the delay for RHEL 6.  Consider 2.x is still 
supported this means they are supporting 4 different RHEL versions right 
now.  I would actually wait until at least 2.x dies..if not maybe 3.x 
before spitting out another version.

On 4/1/2010 7:16 AM, Mogens Kjaer wrote:
 On 03/31/2010 11:43 PM, Milos Blazevic wrote:
 ...

 Current RHEL life cycle is in fact 7 years.
 Interesting, I remember hearing just the opposite - that they're about
 to reduce the life cycle from 7 to 5 years, since allegedly no one uses
 the same EL major release for more than 5 years. I mean, can you imagine
 anyone who used RHEL 2.1 up until less than a year ago?
  
 So, if I set up a server with RHEL 5.5 or CentOS 5.4 today,
 I would only get updates until 14-Mar-2012, if the life
 time is reduced to 5 years?

 That's less than two years.

 That's a bit too short lifetime for my servers.

 Yes of course, I can upgrade to RHEL 6 when it comes out,
 but my reason for paying Red Hat is to avoid the upgrade.

 Mogens



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


Re: [CentOS] adding users on multiple servers

2010-04-01 Thread Bazy

 Short of finding some remotely exploitable vulnerability, you'll have
 to visit each server and login. Imagine if you *could* create IDs
 without root authority? :D

 Are the servers identically configured?

 If you can login remotely as root you can automate some of them via
 expect. What issues were you encountering?

 If you're doing this it might be the perfect opportunity to add some
 sort of remote management or authentication to the systems.

I cannot do any changes to the environment therefor I cannot configure
centralized authentication :-) It's fun stuff.
I managed to find a way with perl and Net::SSH::Expect.

The simple expect script would enter the su password and die without
sending the adduser commands.


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


Re: [CentOS] Release 6?

2010-04-01 Thread Rainer Traut
Am 31.03.2010 18:47, schrieb MHR:
 Since 5.5 is now out from Red Hat and most likely our amazing CentOS
 team has already jumped on that, is there any word on Release 6?  IIRC
 it's already a year out of date (base was supposed to be Fedora 10),
 so I have to wonder.

 I didn't see anything jump out at me on the Red Hat site, so - anyone?

Afaik it's based on Fedora 12.
That's what you can read from bugzilla and look at the kernel versions 
the talk about.
eg: kernel-2.6.32-14.el6

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


[CentOS] testing

2010-04-01 Thread William Warren
Having list issues..sorry.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Release 6?

2010-04-01 Thread Mathieu Baudier
 Afaik it's based on Fedora 12.

Recent activity on the EPEL repo mailing list [1] seems to indicate
that they plan to branch EPEL-6 packages from Fedora 12.

I guess that they are well informed, so this supports the idea that
Fedora 12 will be the basis for RHEL 6.

[1] https://www.redhat.com/archives/epel-devel-list/2010-March/msg00078.html
we will be branching EL-6 branches from F-12 branches
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] System and Server Status help ?

2010-04-01 Thread John Doe
From: Roland RoLaNd r_o_l_a_...@hotmail.com
 i can't count the times that webmin came to my rescue.
 whenever i face a dead end in doing something through CLI i always 
 turn to webmin..
 though at the moment i wanna learn how to do things through 
 cli instead of relying on webmin as i said..
 especially System and Server Status
 theres a module that supports such a thing where i can set monitors 
 that checks specific services or directories or... and reports the 
 output..
 so i wanna do this through command line.. any help ? 
 i've checked crontab -l and it doesnt list anything that i've set in webmin
 so where is it and how to do it through cli ?

I suspect Webmin runs as a daemon and does its own scheduling.
Webmin Tip of the Day from the website:
To see what commands Webmin runs for each action you take, use the Webmin 
Actions Log module.
Maybe you will see something...
But I am afraid you won't learn much; typing check_apache or clicking 
check_apache is not much different...
Unless you open the scripts (Perl I think) and you study them...

JD


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


[CentOS] New Newsletter release public

2010-04-01 Thread Geerd-Dietger Hoffmann
Hey

As you all might know the new Newsletter is now online [1].

I just want to thank all the people that have helped and contributed 
again. This is what makes the C in CentOS :)

Cheers Didi

[1] http://wiki.centos.org/Newsletter/Latest
-- 
Hoffmann Geerd-Dietger
http://contact.ribalba.de
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Release 6?

2010-04-01 Thread Benjamin Franz
Mogens Kjaer wrote:
 On 03/31/2010 11:43 PM, Milos Blazevic wrote:
 ...
   
 Current RHEL life cycle is in fact 7 years.
 Interesting, I remember hearing just the opposite - that they're about 
 to reduce the life cycle from 7 to 5 years, since allegedly no one uses 
 the same EL major release for more than 5 years. I mean, can you imagine 
 anyone who used RHEL 2.1 up until less than a year ago?
 

 So, if I set up a server with RHEL 5.5 or CentOS 5.4 today,
 I would only get updates until 14-Mar-2012, if the life
 time is reduced to 5 years?

 That's less than two years.

 That's a bit too short lifetime for my servers
They won't change the cycle for existing releases (they would get into 
contract liability if they did).

RHEL2 is already out of support (it was end-of-lifed on May 31, 2009).

RHEL3 will go out of support Oct 31, 2010.

RHEL4 will go out of support Feb 29, 2012

RHEL5 will go out of support Mar 31, 2014

*If* they change it in the future, it would only apply to the next major 
releases (IOW RHEL6+)

-- 
Benjamin Franz

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


Re: [CentOS] Release 6?

2010-04-01 Thread Niki Kovacs
Mathieu Baudier a écrit :
 Afaik it's based on Fedora 12.
 
 Recent activity on the EPEL repo mailing list [1] seems to indicate
 that they plan to branch EPEL-6 packages from Fedora 12.
 

Recently a friend of mine complained his Debian stable system was too 
conservative, given the somewhat outdated software. I told him not to 
mind, since Debian is bleeding edge compared to my OS of choice.

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


Re: [CentOS] adding users on multiple servers

2010-04-01 Thread Ross Walker
On Apr 1, 2010, at 9:24 AM, Bazy baz...@gmail.com wrote:


 Short of finding some remotely exploitable vulnerability, you'll have
 to visit each server and login. Imagine if you *could* create IDs
 without root authority? :D

 Are the servers identically configured?

 If you can login remotely as root you can automate some of them via
 expect. What issues were you encountering?

 If you're doing this it might be the perfect opportunity to add some
 sort of remote management or authentication to the systems.

 I cannot do any changes to the environment therefor I cannot configure
 centralized authentication :-) It's fun stuff.
 I managed to find a way with perl and Net::SSH::Expect.

 The simple expect script would enter the su password and die without
 sending the adduser commands.

Like another poster suggested, create root .ssh key, copy it to each  
box, modify sshd.conf to allow login via either key or password in  
each box, you hold the key, they hold the password.

You can then use one of those ssh cluster utilities out there that  
issues the same command on a list of servers.

That is the best way and it requires minor changes with zero impact to  
the operational environment.

-Ross

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


Re: [CentOS] Release 6?

2010-04-01 Thread R-Elists
 

 They won't change the cycle for existing releases (they would 
 get into contract liability if they did).
 
 RHEL2 is already out of support (it was end-of-lifed on May 31, 2009).
 
 RHEL3 will go out of support Oct 31, 2010.
 
 RHEL4 will go out of support Feb 29, 2012
 
 RHEL5 will go out of support Mar 31, 2014
 
 *If* they change it in the future, it would only apply to the 
 next major releases (IOW RHEL6+)
 
 --
 Benjamin Franz


wow...

think about it...

remember when *we all* were chomping at the bit for Centos3...

yeah, like horses... that's right... chomping at the bit...   ;-)

at least i seem to recall it was version 3, and then Centos4 came out and we
all needed a migration path from 3 to 4...

and thankfully, there was an easy way... again, if i remember correctly...

seems like yesterday cause we still use version 4 and, of course, some ver 5
too

 - rh

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


Re: [CentOS] adding users on multiple servers

2010-04-01 Thread Ryan Manikowski
If you have your own account on each of the boxes the ssh key method is
the best.

1) Create ssh keys for YOUR unprivileged user account.

2) Add YOUR account to /etc/sudoers by adding:  userALL=NOPASSWD:
/bin/su -

Then from there you can use clusterssh to connect to all the boxes
simultaneously. Issue the 'sudo su -' command while logged in with your
account, then run add the new users on all of the systems.

Just another idea.

 Ryan Manikowski


]] Devision Media Services LLC [[
 www.devision.us
 r...@devision.us | 716.771.2282


On 4/1/2010 10:09 AM, Ross Walker wrote:
 On Apr 1, 2010, at 9:24 AM, Bazy baz...@gmail.com wrote:

   
 Short of finding some remotely exploitable vulnerability, you'll have
 to visit each server and login. Imagine if you *could* create IDs
 without root authority? :D

 Are the servers identically configured?

 If you can login remotely as root you can automate some of them via
 expect. What issues were you encountering?

 If you're doing this it might be the perfect opportunity to add some
 sort of remote management or authentication to the systems.
   
 I cannot do any changes to the environment therefor I cannot configure
 centralized authentication :-) It's fun stuff.
 I managed to find a way with perl and Net::SSH::Expect.

 The simple expect script would enter the su password and die without
 sending the adduser commands.
 
 Like another poster suggested, create root .ssh key, copy it to each  
 box, modify sshd.conf to allow login via either key or password in  
 each box, you hold the key, they hold the password.

 You can then use one of those ssh cluster utilities out there that  
 issues the same command on a list of servers.

 That is the best way and it requires minor changes with zero impact to  
 the operational environment.

 -Ross

 ___
 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] Release 6?

2010-04-01 Thread Les Mikesell
On 4/1/2010 10:14 AM, R-Elists wrote:


 They won't change the cycle for existing releases (they would
 get into contract liability if they did).

 RHEL2 is already out of support (it was end-of-lifed on May 31, 2009).

 RHEL3 will go out of support Oct 31, 2010.

 RHEL4 will go out of support Feb 29, 2012

 RHEL5 will go out of support Mar 31, 2014

 *If* they change it in the future, it would only apply to the
 next major releases (IOW RHEL6+)

 --
 Benjamin Franz


 wow...

 think about it...

 remember when *we all* were chomping at the bit for Centos3...

 yeah, like horses... that's right... chomping at the bit...   ;-)

 at least i seem to recall it was version 3, and then Centos4 came out and we
 all needed a migration path from 3 to 4...

 and thankfully, there was an easy way... again, if i remember correctly...

 seems like yesterday cause we still use version 4 and, of course, some ver 5
 too

I thought 4 was too buggy compared to 3 and held off upgrading most 
machines until 5 was out.  In retrospect that still seems like it was a 
good move even if most of the problems in 4 were eventually fixed in 
updates.  But with many years elapsing between releases, skipping a 
version like that may not be possible again.

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



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


Re: [CentOS] Release 6?

2010-04-01 Thread Les Mikesell
On 4/1/2010 9:11 AM, Niki Kovacs wrote:
 Mathieu Baudier a écrit :
 Afaik it's based on Fedora 12.

 Recent activity on the EPEL repo mailing list [1] seems to indicate
 that they plan to branch EPEL-6 packages from Fedora 12.


 Recently a friend of mine complained his Debian stable system was too
 conservative, given the somewhat outdated software. I told him not to
 mind, since Debian is bleeding edge compared to my OS of choice.

Yeah - remember the good old days when we liked RH (and thus Centos) 
because they had a real release schedule that you could plan around 
instead of when it's ready?

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

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


Re: [CentOS] Release 6?

2010-04-01 Thread nate
Niki Kovacs wrote:

 Recently a friend of mine complained his Debian stable system was too
 conservative, given the somewhat outdated software. I told him not to
 mind, since Debian is bleeding edge compared to my OS of choice.

Maybe your friend needs another distro, of course everyone knows
it's conservative for a reason. I've been a Debian user for 12
years now, and still run it exclusively on my own systems. Though
I use CentOS/RHEL for work stuff. For those 12 years I've run
stable throughout except for about a year in ~2001 when I ran
testing for a little while. Even on my desktops I run stable. If
the hardware is too new(desktops/laptops only) I run Ubuntu
since it has a similar package selection.

I *just* finished upgrading to CentOS 5.4 6 days ago.

nate

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


Re: [CentOS] Release 6?

2010-04-01 Thread MHR
On Thu, Apr 1, 2010 at 9:25 AM, nate cen...@linuxpowered.net wrote:

 I *just* finished upgrading to CentOS 5.4 6 days ago.


How many people got trampled in the rush?

;^)

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


Re: [CentOS] Release 6?

2010-04-01 Thread Scott Silva
on 4-1-2010 6:42 AM Benjamin Franz spake the following:
 Mogens Kjaer wrote:
 On 03/31/2010 11:43 PM, Milos Blazevic wrote:
 ...
   
 Current RHEL life cycle is in fact 7 years.
 Interesting, I remember hearing just the opposite - that they're about 
 to reduce the life cycle from 7 to 5 years, since allegedly no one uses 
 the same EL major release for more than 5 years. I mean, can you imagine 
 anyone who used RHEL 2.1 up until less than a year ago?
 
 So, if I set up a server with RHEL 5.5 or CentOS 5.4 today,
 I would only get updates until 14-Mar-2012, if the life
 time is reduced to 5 years?

 That's less than two years.

 That's a bit too short lifetime for my servers
 They won't change the cycle for existing releases (they would get into 
 contract liability if they did).
 
 RHEL2 is already out of support (it was end-of-lifed on May 31, 2009).
 
 RHEL3 will go out of support Oct 31, 2010.
 
 RHEL4 will go out of support Feb 29, 2012

Since the world will end in 2012, your version 5 installs will be just fine!!!
   LOL


 
 RHEL5 will go out of support Mar 31, 2014
 
 *If* they change it in the future, it would only apply to the next major 
 releases (IOW RHEL6+)
 




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


Re: [CentOS] Release 6?

2010-04-01 Thread R-Elists

  
  RHEL2 is already out of support (it was end-of-lifed on May 
 31, 2009).
  
  RHEL3 will go out of support Oct 31, 2010.
  
  RHEL4 will go out of support Feb 29, 2012
 
 Since the world will end in 2012, your version 5 installs 
 will be just fine!!!
LOL
 

Scott,

hehehe, do you mean biblically or the *kaboom* version re: end of world ?

time tables re: upstream or centos support could be off depending on what
you believe...

 - rh

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


Re: [CentOS] Release 6?

2010-04-01 Thread R-Elists

 
 I thought 4 was too buggy compared to 3 and held off 
 upgrading most machines until 5 was out.  In retrospect that 
 still seems like it was a good move even if most of the 
 problems in 4 were eventually fixed in updates.  But with 
 many years elapsing between releases, skipping a version like 
 that may not be possible again.
 
 -- 
Les Mikesell

Les,

what was buggy for you?

internet facing or just internal servers?

centos and the centos team have been rock solid for us in dealing with
CentOS 4 on our servers.

 - rh

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


Re: [CentOS] Release 6?

2010-04-01 Thread Les Mikesell
On 4/1/2010 12:08 PM, R-Elists wrote:


 I thought 4 was too buggy compared to 3 and held off
 upgrading most machines until 5 was out.  In retrospect that
 still seems like it was a good move even if most of the
 problems in 4 were eventually fixed in updates.  But with
 many years elapsing between releases, skipping a version like
 that may not be possible again.

 --
 Les Mikesell

 Les,

 what was buggy for you?

 internet facing or just internal servers?

 centos and the centos team have been rock solid for us in dealing with
 CentOS 4 on our servers.

I can't remember the exact details.  Some of it had to do with mod_perl 
and the assortment of other perl modules needed for RT, Twiki, and some 
other applications. And maybe the mysql version was wrong for something 
I wanted to run.  A lot of the things weren't technically broken, just 
not particularly good version choices for their time.  I may have had 
some driver problems with a Dell raid controller or firewire too, but I 
could be confusing it with Fedora 5 in the same timeframe.  Anyway, as 
soon as 5.x was out it seemed much easier to deal with.  There are still 
a few Centos 4's in the company that someone else maintains so I guess 
they are OK if you stick to the included software and don't need mod_perl.

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


[CentOS] Looking for an application that simplifies tracking installed packages.

2010-04-01 Thread Yungwei Chen
Hi,

As the number of hosts increases, it's getting harder to keep track of what 
packages have been installed on each host using yum or rpm.
So I am wondering if there's an existing application that helps you keep track 
of what packages installed on each host.  Thanks.

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


[CentOS] centos + ldap + syncrepl (push vs pull)

2010-04-01 Thread aurfalien
Hi,

 From what I gather, OpenLDAP on Centos 5.x pulls LDAP changes from  
central LDAP server to a secondary LDAP server.

So in other words, you can have your second LDAP server pull the db  
based on either;

type=refreshOnly

which mean the pull interval will happen when ever you specify or;

type=refreshAndPersist

which mean after a pull, keep the pipe open for any changes made.

Now in Ubuntu one can have there primary LDAP push the changes to all  
the secondaries.

Can I somehow enable push in Centos OpenLDAP because pull seems pretty  
lame in this case.

I tried but to no avail.

Hope the answer isn't Son, thats just the way it iz.

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


Re: [CentOS] Release 6?

2010-04-01 Thread nate
MHR wrote:
 On Thu, Apr 1, 2010 at 9:25 AM, nate cen...@linuxpowered.net wrote:

 I *just* finished upgrading to CentOS 5.4 6 days ago.


 How many people got trampled in the rush?

You might be surprised how many outages it takes to co-ordinate
such an upgrade in a medium-large environment(and nobody including
me likes to take *everything* down at once though we did have
such an outage a few weeks ago to move a storage array I upgraded
about 30 systems on that day). The fully redundant systems are
easy to upgrade of course but there are lots of systems that are
not fully redundant(and can't be made as such due to application
design).

I tried doing some online upgrades for some of our more important
systems(minus reboot for kernel) but something in the update
wrecked havok on our NFS cluster the systems are very active doing
NFS stuff 24/7. The NFS cluster recovered automatically but each
time it took about 3 hours. I don't know what the upgrade might
of restarted that would of impacted NFS activity. Since the
upgrade there has been no repeats of the issue but during the
upgrade within 30 minutes of upgrading active NFS clients(while
they were doing stuff) caused immediate headaches on the cluster.

I suspect it's the first OS upgrade my company has done at
least on linux.  Looking through my inventory of systems these
are getting a bit stale RHEL3/4:

  1 AS release 3 (Taroon Update 3)
  5 AS release 4 (Nahant Update 1)
  6 AS release 4 (Nahant Update 3)
 36 AS release 4 (Nahant Update 4)
  1 AS release 4 (Nahant Update 6)

I don't count RHEL4-CentOS v5 as an upgrade since it is a complete
re-install. For the most part those will get upgraded when
the systems are retired I think.

nate

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


Re: [CentOS] Looking for an application that simplifies tracking installed packages.

2010-04-01 Thread Kwan Lowe
On Thu, Apr 1, 2010 at 1:32 PM, Yungwei Chen yung...@resolvity.com wrote:
 Hi,



 As the number of hosts increases, it's getting harder to keep track of what
 packages have been installed on each host using yum or rpm.

 So I am wondering if there's an existing application that helps you keep
 track of what packages installed on each host.  Thanks.

The Spacewalk project should do what you want...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] adding users on multiple servers

2010-04-01 Thread Kwan Lowe
On Thu, Apr 1, 2010 at 11:20 AM, Ryan Manikowski r...@devision.us wrote:
 If you have your own account on each of the boxes the ssh key method is
 the best.

 1) Create ssh keys for YOUR unprivileged user account.

 2) Add YOUR account to /etc/sudoers by adding:  user    ALL=NOPASSWD:
 /bin/su -

 Then from there you can use clusterssh to connect to all the boxes
 simultaneously. Issue the 'sudo su -' command while logged in with your
 account, then run add the new users on all of the systems.

Might save a step to just add ALL to the user sudo... That way doesn't
need to su over..
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos + ldap + syncrepl (push vs pull)

2010-04-01 Thread Craig White
On Thu, 2010-04-01 at 10:36 -0700, aurfal...@gmail.com wrote:
 Hi,
 
  From what I gather, OpenLDAP on Centos 5.x pulls LDAP changes from  
 central LDAP server to a secondary LDAP server.
 
 So in other words, you can have your second LDAP server pull the db  
 based on either;
 
 type=refreshOnly
 
 which mean the pull interval will happen when ever you specify or;
 
 type=refreshAndPersist
 
 which mean after a pull, keep the pipe open for any changes made.
 
 Now in Ubuntu one can have there primary LDAP push the changes to all  
 the secondaries.
 
 Can I somehow enable push in Centos OpenLDAP because pull seems pretty  
 lame in this case.
 
 I tried but to no avail.
 
 Hope the answer isn't Son, thats just the way it iz.

my reading of syncrepl matches your understanding but I'm still using
slurpd so what do I know.

You should know that the philosophy of OpenLDAP software developers is
that if you actually want to run an OpenLDAP server using newer edge
features (and syncrepl is surely one of them), then you should be
building the latest from source and not relying on distribution packages
which exist mostly for providing ldap libraries for other software.
There was a recent discussion about this very topic because
Debian/Ubuntu is using a 2.4 version that is also out of date and very
buggy where syncrepl is concerned. Obviously CentOS is using 2.3.43
which is considered out of date by OpenLDAP software developers.

Craig


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

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


Re: [CentOS] Release 6?

2010-04-01 Thread Robert Heller
At Thu, 01 Apr 2010 12:29:26 -0500 CentOS mailing list centos@centos.org 
wrote:

 
 On 4/1/2010 12:08 PM, R-Elists wrote:
 
 
  I thought 4 was too buggy compared to 3 and held off
  upgrading most machines until 5 was out.  In retrospect that
  still seems like it was a good move even if most of the
  problems in 4 were eventually fixed in updates.  But with
  many years elapsing between releases, skipping a version like
  that may not be possible again.
 
  --
  Les Mikesell
 
  Les,
 
  what was buggy for you?
 
  internet facing or just internal servers?
 
  centos and the centos team have been rock solid for us in dealing with
  CentOS 4 on our servers.
 
 I can't remember the exact details.  Some of it had to do with mod_perl 
 and the assortment of other perl modules needed for RT, Twiki, and some 

*I* ended up using the standalone HTTP server for RT and populated the
missing perl mods from rpmforge.

 other applications. And maybe the mysql version was wrong for something 

CentOSPlus is needed for a *proper* version of mysql AND PHP for Joomla!
and WordPress.

 I wanted to run.  A lot of the things weren't technically broken, just 
 not particularly good version choices for their time.  I may have had 
 some driver problems with a Dell raid controller or firewire too, but I 

CentOSPlus has the firewire drivers...

 could be confusing it with Fedora 5 in the same timeframe.  Anyway, as 
 soon as 5.x was out it seemed much easier to deal with.  There are still 
 a few Centos 4's in the company that someone else maintains so I guess 
 they are OK if you stick to the included software and don't need mod_perl.
 

-- 
Robert Heller -- 978-544-6933
Deepwoods Software-- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
hel...@deepsoft.com   -- http://www.deepsoft.com/ModelRailroadSystem/

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


Re: [CentOS] System and Server Status help ?

2010-04-01 Thread Les Mikesell
On 4/1/2010 8:06 AM, Roland RoLaNd wrote:

 dear all,

 i can't count the times that webmin came to my rescue.
 whenever i face a dead end in doing something through CLI i always turn to 
 webmin..
 though at the moment i wanna learn how to do things through cli instead of 
 relying on webmin as i said..
 especially System and Server Status
 theres a module that supports such a thing where i can set monitors that 
 checks specific services or directories or... and reports the output..
 so i wanna do this through command line.. any help ?
 i've checked crontab -l and it doesnt list anything that i've set in webmin
 so where is it and how to do it through cli ?

You'll have to be a lot more specific about what you want to do before 
anyone can help.  For many of the services started by init scripts you 
can execute 'service service_name status' to see if they are running.

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


Re: [CentOS] centos + ldap + syncrepl (push vs pull)

2010-04-01 Thread aurfalien
Thanks Craig,

Do you have multiple secondary LDAPs using slurpd?

Its is pushing or pulling?

I may just use that.

- Brian
On Apr 1, 2010, at 11:15 AM, Craig White wrote:

 On Thu, 2010-04-01 at 10:36 -0700, aurfal...@gmail.com wrote:
 Hi,

 From what I gather, OpenLDAP on Centos 5.x pulls LDAP changes from
 central LDAP server to a secondary LDAP server.

 So in other words, you can have your second LDAP server pull the db
 based on either;

 type=refreshOnly

 which mean the pull interval will happen when ever you specify or;

 type=refreshAndPersist

 which mean after a pull, keep the pipe open for any changes made.

 Now in Ubuntu one can have there primary LDAP push the changes to all
 the secondaries.

 Can I somehow enable push in Centos OpenLDAP because pull seems  
 pretty
 lame in this case.

 I tried but to no avail.

 Hope the answer isn't Son, thats just the way it iz.
 
 my reading of syncrepl matches your understanding but I'm still using
 slurpd so what do I know.

 You should know that the philosophy of OpenLDAP software developers is
 that if you actually want to run an OpenLDAP server using newer edge
 features (and syncrepl is surely one of them), then you should be
 building the latest from source and not relying on distribution  
 packages
 which exist mostly for providing ldap libraries for other software.
 There was a recent discussion about this very topic because
 Debian/Ubuntu is using a 2.4 version that is also out of date and very
 buggy where syncrepl is concerned. Obviously CentOS is using 2.3.43
 which is considered out of date by OpenLDAP software developers.

 Craig


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

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

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


Re: [CentOS] Release 6?

2010-04-01 Thread Les Mikesell
On 4/1/2010 1:35 PM, Robert Heller wrote:


 I thought 4 was too buggy compared to 3 and held off
 upgrading most machines until 5 was out.  In retrospect that
 still seems like it was a good move even if most of the
 problems in 4 were eventually fixed in updates.  But with
 many years elapsing between releases, skipping a version like
 that may not be possible again.

 --
  Les Mikesell

 Les,

 what was buggy for you?

 internet facing or just internal servers?

 centos and the centos team have been rock solid for us in dealing with
 CentOS 4 on our servers.

 I can't remember the exact details.  Some of it had to do with mod_perl
 and the assortment of other perl modules needed for RT, Twiki, and some

 *I* ended up using the standalone HTTP server for RT and populated the
 missing perl mods from rpmforge.

I did have it all working for a while on some machines but it seemed 
like something would break every time I updated anything.

 other applications. And maybe the mysql version was wrong for something

 CentOSPlus is needed for a *proper* version of mysql AND PHP for Joomla!
 and WordPress.

 I wanted to run.  A lot of the things weren't technically broken, just
 not particularly good version choices for their time.  I may have had
 some driver problems with a Dell raid controller or firewire too, but I

 CentOSPlus has the firewire drivers...

I used that too, but eventually replaced my external firewire drives 
with hot-swap SATA bays.  But overall, I could not see anything at all 
that was better in 4.x than 5.x, so I migrated as much as I could 
directly from 3 to 5 and replaced the few 4.x's that I had installed as 
quickly as possible - and it still seems like the right thing to have 
done.  I still have a few 3.x's lingering on, mostly because they never 
break and they have some odd application setups that I'm hoping won't be 
needed much longer so I won't have to re-create them.

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


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


Re: [CentOS] centos + ldap + syncrepl (push vs pull)

2010-04-01 Thread Craig White
slurpd is a push technology and yes, I have multiple 'slaves' on slurpd.

Craig

On Thu, 2010-04-01 at 11:50 -0700, aurfal...@gmail.com wrote:
 Thanks Craig,
 
 Do you have multiple secondary LDAPs using slurpd?
 
 Its is pushing or pulling?
 
 I may just use that.
 
 - Brian
 On Apr 1, 2010, at 11:15 AM, Craig White wrote:
 
  On Thu, 2010-04-01 at 10:36 -0700, aurfal...@gmail.com wrote:
  Hi,
 
  From what I gather, OpenLDAP on Centos 5.x pulls LDAP changes from
  central LDAP server to a secondary LDAP server.
 
  So in other words, you can have your second LDAP server pull the db
  based on either;
 
  type=refreshOnly
 
  which mean the pull interval will happen when ever you specify or;
 
  type=refreshAndPersist
 
  which mean after a pull, keep the pipe open for any changes made.
 
  Now in Ubuntu one can have there primary LDAP push the changes to all
  the secondaries.
 
  Can I somehow enable push in Centos OpenLDAP because pull seems  
  pretty
  lame in this case.
 
  I tried but to no avail.
 
  Hope the answer isn't Son, thats just the way it iz.
  
  my reading of syncrepl matches your understanding but I'm still using
  slurpd so what do I know.
 
  You should know that the philosophy of OpenLDAP software developers is
  that if you actually want to run an OpenLDAP server using newer edge
  features (and syncrepl is surely one of them), then you should be
  building the latest from source and not relying on distribution  
  packages
  which exist mostly for providing ldap libraries for other software.
  There was a recent discussion about this very topic because
  Debian/Ubuntu is using a 2.4 version that is also out of date and very
  buggy where syncrepl is concerned. Obviously CentOS is using 2.3.43
  which is considered out of date by OpenLDAP software developers.
 
  Craig
 
 
  -- 
  This message has been scanned for viruses and
  dangerous content by MailScanner, and is
  believed to be clean.
 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 



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

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


Re: [CentOS] Release 6?

2010-04-01 Thread MHR
On Thu, Apr 1, 2010 at 10:44 AM, nate cen...@linuxpowered.net wrote:

 You might be surprised how many outages it takes to co-ordinate
 such an upgrade in a medium-large environment(and nobody including
 me likes to take *everything* down at once though we did have
 such an outage a few weeks ago to move a storage array I upgraded
 about 30 systems on that day). The fully redundant systems are
 easy to upgrade of course but there are lots of systems that are
 not fully redundant(and can't be made as such due to application
 design).

 I tried doing some online upgrades for some of our more important
 systems(minus reboot for kernel) but something in the update
 wrecked havok on our NFS cluster the systems are very active doing
 NFS stuff 24/7. The NFS cluster recovered automatically but each
 time it took about 3 hours. I don't know what the upgrade might
 of restarted that would of impacted NFS activity. Since the
 upgrade there has been no repeats of the issue but during the
 upgrade within 30 minutes of upgrading active NFS clients(while
 they were doing stuff) caused immediate headaches on the cluster.

 I suspect it's the first OS upgrade my company has done at
 least on linux.  Looking through my inventory of systems these
 are getting a bit stale RHEL3/4:

      1 AS release 3 (Taroon Update 3)
      5 AS release 4 (Nahant Update 1)
      6 AS release 4 (Nahant Update 3)
     36 AS release 4 (Nahant Update 4)
      1 AS release 4 (Nahant Update 6)

 I don't count RHEL4-CentOS v5 as an upgrade since it is a complete
 re-install. For the most part those will get upgraded when
 the systems are retired I think.


I was kind of pulling your leg a little there, but I don't even like
to reboot my standalone desktop - five minutes of downtime is trivial
but I just don't like to do it.  30 systems?  Yoik!

As for moving from 4 to 5, that's not a trivial thing at all - and
it's not an upgrade per se unless you have LOTS of faith in the
process.  I always reinstall across releases, and that's a royal pain
(though usually worth it for the new features, like a newer GNOME and
all that goes with it).

BTW, certain specific upgrades would be really nice.  For one thing,
Google's Chrome browser is now available for Linux, but you have to
have a newer version of (I think it was) gtk that's not available on
RH/C 5 at all - yet.

Ah, well, patience in this particular arena pays off - we get the best
support and solid reliability for free, so a little wait, or even a
long one, is worth it in my book.

CIao.

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


Re: [CentOS] Release 6?

2010-04-01 Thread MHR
On Thu, Apr 1, 2010 at 11:35 AM, Robert Heller hel...@deepsoft.com wrote:

 CentOSPlus has the firewire drivers...


I asked about this a little while back, and I'm pretty sure the
firewire drivers are ok in the non-plus CentOS.

Or did I get that one wrong?

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


Re: [CentOS] centos + ldap + syncrepl (push vs pull)

2010-04-01 Thread aurfalien
Hi Craig,

Will the below config allow me to push using slurp... to the d that is;

primary ldap slapd.conf;
replica uri=ldap://ldap.dns.name:389  
binddn=cn=replicauser,dc=domain,dc=name bindmethod=simple  
credentials=passofreplicauser

secondarie{s} ldap slapd.conf;
updatedn cn=replicauser,dc=domain,dc=name
updateref ldap://ldap.dns.name

- Brian


On Apr 1, 2010, at 12:04 PM, Craig White wrote:

 slurpd is a push technology and yes, I have multiple 'slaves' on  
 slurpd.

 Craig

 On Thu, 2010-04-01 at 11:50 -0700, aurfal...@gmail.com wrote:
 Thanks Craig,

 Do you have multiple secondary LDAPs using slurpd?

 Its is pushing or pulling?

 I may just use that.

 - Brian
 On Apr 1, 2010, at 11:15 AM, Craig White wrote:

 On Thu, 2010-04-01 at 10:36 -0700, aurfal...@gmail.com wrote:
 Hi,

 From what I gather, OpenLDAP on Centos 5.x pulls LDAP changes from
 central LDAP server to a secondary LDAP server.

 So in other words, you can have your second LDAP server pull the db
 based on either;

 type=refreshOnly

 which mean the pull interval will happen when ever you specify or;

 type=refreshAndPersist

 which mean after a pull, keep the pipe open for any changes made.

 Now in Ubuntu one can have there primary LDAP push the changes to  
 all
 the secondaries.

 Can I somehow enable push in Centos OpenLDAP because pull seems
 pretty
 lame in this case.

 I tried but to no avail.

 Hope the answer isn't Son, thats just the way it iz.
 
 my reading of syncrepl matches your understanding but I'm still  
 using
 slurpd so what do I know.

 You should know that the philosophy of OpenLDAP software  
 developers is
 that if you actually want to run an OpenLDAP server using newer edge
 features (and syncrepl is surely one of them), then you should be
 building the latest from source and not relying on distribution
 packages
 which exist mostly for providing ldap libraries for other software.
 There was a recent discussion about this very topic because
 Debian/Ubuntu is using a 2.4 version that is also out of date and  
 very
 buggy where syncrepl is concerned. Obviously CentOS is using 2.3.43
 which is considered out of date by OpenLDAP software developers.

 Craig


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

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

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




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

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

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


Re: [CentOS] centos + ldap + syncrepl (push vs pull)

2010-04-01 Thread Craig White
On Thu, 2010-04-01 at 17:25 -0700, aurfal...@gmail.com wrote:
 Hi Craig,
 
 Will the below config allow me to push using slurp... to the d that is;
 
 primary ldap slapd.conf;
 replica uri=ldap://ldap.dns.name:389  
 binddn=cn=replicauser,dc=domain,dc=name bindmethod=simple  
 credentials=passofreplicauser
 
 secondarie{s} ldap slapd.conf;
 updatedn cn=replicauser,dc=domain,dc=name
 updateref ldap://ldap.dns.name
 

This what I am using... YMMV

(primary - a separate, virtually stanza for each slave)
replica host=linserv1.example.com:389
suffix=dc=example,dc=com
binddn=cn=replica,dc=example,dc=com
credentials=passwordofreplica
bindmethod=simple
tls=yes

(secondary any/all)
updatedncn=replica,dc=example,dc=com
updateref   ldap://linserv2.example.com

Don't forget, cn=replica,dc=example,dc=com must be given write access to
everything via ACL's

Craig


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

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


Re: [CentOS] Release 6?

2010-04-01 Thread nate
MHR wrote:
 but I just don't like to do it.  30 systems?  Yoik!

Out of ~300 ..

 As for moving from 4 to 5, that's not a trivial thing at all - and
 it's not an upgrade per se unless you have LOTS of faith in the
 process.  I always reinstall across releases, and that's a royal pain
 (though usually worth it for the new features, like a newer GNOME and
 all that goes with it).

Funny thing is for me the hardest part is getting the downtime to
do the work, the OS reinstall is easy, the apps already support it
and cfengine automatically configures the systems with everything
they need. I can re-install a system and get the apps re-installed
in ~30 minutes, but it's a real headache for the apps guys to take
the apps down and/or move customers off those systems to other
systems. And I'm not in *that* big of a hurry I have other things
I am working on of course..

I came across a system a few days ago that had an uptime of
over 1000 days...here it is

[r...@us-mon001 ~]# uptime
 19:22:02 up 1012 days,  4:24,  1 user,  load average: 0.04, 0.20, 0.26
[r...@us-mon001 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 1)

Part of me doesn't want to re-install it..(I have no immediate
plans to..)

You know your missing a kernel update or two when your uptime
gets over 3 years.

 BTW, certain specific upgrades would be really nice.  For one thing,
 Google's Chrome browser is now available for Linux, but you have to
 have a newer version of (I think it was) gtk that's not available on
 RH/C 5 at all - yet.

Chrome..google. While I'm sure it's a nice browser I don't trust
google with my information..

 Ah, well, patience in this particular arena pays off - we get the best
 support and solid reliability for free, so a little wait, or even a
 long one, is worth it in my book.

Me too..

nate


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


[CentOS] Could not retrieve mirror list while using yum command

2010-04-01 Thread Jatin Davey
Hi

I wanted to download and install the net-snmp package. Usually on my 
other CentOS boxes i use the following command to do it:

yum install net-snmp

I was able to successfully install net-snmp on 4 of my CentOS boxes but 
not on one of them. It reports me the following error message:

[r...@localhost yum.repos.d]# yum install net-snmp
Loaded plugins: fastestmirror
Determining fastest mirrors
Could not retrieve mirrorlist 
http://mirrorlist.centos.org/?release=5arch=i386repo=os error was
[Errno 4] IOError: urlopen error (110, 'Connection timed out')
Error: Cannot find a valid baseurl for repo: base


Other output that can be some use is :

[r...@localhost yum.repos.d]# ls
CentOS-Base.repo  CentOS-Media.repo


Can someone please let me know what the issue is ? and how to get it 
working ?

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


Re: [CentOS] Could not retrieve mirror list while using yum command

2010-04-01 Thread Jatin Davey
These are my contents of the CentOS-Base.repo file:

[r...@localhost yum.repos.d]# vi CentOS-Base.repo
#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releaseverarch=$basearchrepo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5


Thanks
Jatin

On 4/2/2010 9:08 AM, Jatin Davey wrote:
 Hi

 I wanted to download and install the net-snmp package. Usually on my
 other CentOS boxes i use the following command to do it:

 yum install net-snmp

 I was able to successfully install net-snmp on 4 of my CentOS boxes but
 not on one of them. It reports me the following error message:

 [r...@localhost yum.repos.d]# yum install net-snmp
 Loaded plugins: fastestmirror
 Determining fastest mirrors
 Could not retrieve mirrorlist
 http://mirrorlist.centos.org/?release=5arch=i386repo=os error was
 [Errno 4] IOError:urlopen error (110, 'Connection timed out')
 Error: Cannot find a valid baseurl for repo: base


 Other output that can be some use is :

 [r...@localhost yum.repos.d]# ls
 CentOS-Base.repo  CentOS-Media.repo


 Can someone please let me know what the issue is ? and how to get it
 working ?

 Thanks
 Jatin
 ___
 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] Could not retrieve mirror list while using yum command

2010-04-01 Thread Kwan Lowe
On Thu, Apr 1, 2010 at 11:38 PM, Jatin Davey jasho...@cisco.com wrote:
 Hi

 I wanted to download and install the net-snmp package. Usually on my
 other CentOS boxes i use the following command to do it:

 yum install net-snmp

 I was able to successfully install net-snmp on 4 of my CentOS boxes but
 not on one of them. It reports me the following error message:

 [r...@localhost yum.repos.d]# yum install net-snmp
 Loaded plugins: fastestmirror
 Determining fastest mirrors
 Could not retrieve mirrorlist
 http://mirrorlist.centos.org/?release=5arch=i386repo=os error was
 [Errno 4] IOError: urlopen error (110, 'Connection timed out')
 Error: Cannot find a valid baseurl for repo: base


Can you access the internet from that machine? Do you require a proxy
to connect?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Could not retrieve mirror list while using yum command

2010-04-01 Thread Jatin Davey
Hi Kwan

I executed the following on the host that was having problem:

[r...@localhost yum.repos.d]# wget http://www.google.com
--22:14:25--  http://www.google.com/
Resolving www.google.com... 74.125.19.105, 74.125.19.99, 74.125.19.106, ...
Connecting to www.google.com|74.125.19.105|:80... failed: Connection 
timed out.
Connecting to www.google.com|74.125.19.99|:80... failed: Connection 
timed out.

Which shows that i am not getting connected to the internet.

Now coming to the second point on whether i am using a proxy or not ? , 
I really dont know whether i am using a proxy or not. When i used a 
similar CentOS box on which i was successful in connecting to the 
internet i issues the same command as mentioned above and it got 
connected and downloaded the web file.

How do i find whether i have proxy configured on the host that is 
connecting to the internet ?
If you can guide me through this then i can replicate the configuration 
from the above host to the hosts that are not getting connected to the 
internet.

Thanks
Jatin

On 4/2/2010 10:28 AM, Kwan Lowe wrote:
 On Thu, Apr 1, 2010 at 11:38 PM, Jatin Daveyjasho...@cisco.com  wrote:

 Hi

 I wanted to download and install the net-snmp package. Usually on my
 other CentOS boxes i use the following command to do it:

 yum install net-snmp

 I was able to successfully install net-snmp on 4 of my CentOS boxes but
 not on one of them. It reports me the following error message:

 [r...@localhost yum.repos.d]# yum install net-snmp
 Loaded plugins: fastestmirror
 Determining fastest mirrors
 Could not retrieve mirrorlist
 http://mirrorlist.centos.org/?release=5arch=i386repo=os error was
 [Errno 4] IOError:urlopen error (110, 'Connection timed out')
 Error: Cannot find a valid baseurl for repo: base

  
 Can you access the internet from that machine? Do you require a proxy
 to connect?
 ___
 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] Could not retrieve mirror list while using yum command

2010-04-01 Thread Jatin Davey
Ok, i  figured out the issue , Did some google on it and found this 
useful link on usage of proxy.

http://www.cyberciti.biz/faq/linux-unix-set-proxy-environment-variable/

Thanks Kwan , Thanks kwan for questioning me on the proxy usage.

Thanks
Jatin

On 4/2/2010 10:51 AM, Jatin Davey wrote:
 Hi Kwan

 I executed the following on the host that was having problem:

 [r...@localhost yum.repos.d]# wget http://www.google.com
 --22:14:25--  http://www.google.com/
 Resolving www.google.com... 74.125.19.105, 74.125.19.99, 74.125.19.106, ...
 Connecting to www.google.com|74.125.19.105|:80... failed: Connection
 timed out.
 Connecting to www.google.com|74.125.19.99|:80... failed: Connection
 timed out.

 Which shows that i am not getting connected to the internet.

 Now coming to the second point on whether i am using a proxy or not ? ,
 I really dont know whether i am using a proxy or not. When i used a
 similar CentOS box on which i was successful in connecting to the
 internet i issues the same command as mentioned above and it got
 connected and downloaded the web file.

 How do i find whether i have proxy configured on the host that is
 connecting to the internet ?
 If you can guide me through this then i can replicate the configuration
 from the above host to the hosts that are not getting connected to the
 internet.

 Thanks
 Jatin

 On 4/2/2010 10:28 AM, Kwan Lowe wrote:

 On Thu, Apr 1, 2010 at 11:38 PM, Jatin Daveyjasho...@cisco.com   wrote:

  
 Hi

 I wanted to download and install the net-snmp package. Usually on my
 other CentOS boxes i use the following command to do it:

 yum install net-snmp

 I was able to successfully install net-snmp on 4 of my CentOS boxes but
 not on one of them. It reports me the following error message:

 [r...@localhost yum.repos.d]# yum install net-snmp
 Loaded plugins: fastestmirror
 Determining fastest mirrors
 Could not retrieve mirrorlist
 http://mirrorlist.centos.org/?release=5arch=i386repo=os error was
 [Errno 4] IOError:urlopen error (110, 'Connection timed out')
 Error: Cannot find a valid baseurl for repo: base



 Can you access the internet from that machine? Do you require a proxy
 to connect?
 ___
 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] Could not retrieve mirror list while using yum command

2010-04-01 Thread cornel panceac
2010/4/2 Jatin Davey jasho...@cisco.com

 Ok, i  figured out the issue , Did some google on it and found this
 useful link on usage of proxy.

 http://www.cyberciti.biz/faq/linux-unix-set-proxy-environment-variable/

 or even better:

http://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html



-- 
Among the maxims on Lord Naoshige's wall, there was this one: Matters of
great concern should be treated lightly. Master Ittei commented, Matters
of small concern should be treated seriously.
(Ghost Dog : The Way of The Samurai)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos