[CentOS-es] Virtualizar un Windows 64 bits
Hola buen día tengo una duda que espero me puedan ayudar a resolver.Actualmente cuento con un centos 5.3 a 32 bits trabajando formidablemente. Se me a pedido que virtualice un Windows pero este windows debe ser a 64 bits. mi duda es: es posible instalar Xen y virtualizar este windows 64 bits aunque me S.O. es de 32bits? tengo que reinstalar centos para que sea de 64 bits? El hardware soporta muy bien los 64 bits. De antemano muchas gracias ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] Error xlog en postgreSQL en CentOS 4.3
Hola a todos, Tengo un servidor local con PostgreSQL 7.4.13 pero lo tengo configurado con dos servidor usando la herramienta drbd. El problema es que ahora me lanza este error al arrancar la base de datos (tras bloqueo del servidor y reinicio no controlado): Jan 19 17:30:49 delfos postgres[6469]: [2-1] LOG: no se pudo abrir /ha/var/lib/pgsql/data/pg_xlog/ (archivo de registro 0, segmento 0): No existe el Jan 19 17:30:49 delfos postgres[6469]: [2-2] fichero o el directorio Jan 19 17:30:49 delfos postgres[6469]: [3-1] LOG: el registro primario de checkpoint no es válido Jan 19 17:30:49 delfos postgres[6469]: [4-1] LOG: no se pudo abrir /ha/var/lib/pgsql/data/pg_xlog/ (archivo de registro 0, segmento 0): No existe el Jan 19 17:30:49 delfos postgres[6469]: [4-2] fichero o el directorio Jan 19 17:30:49 delfos postgres[6469]: [5-1] LOG: el registro secundario de checkpoint no es válido Jan 19 17:30:49 delfos postgres[6469]: [6-1] PANIC: no se pudo localizar un registro de checkpoint válido Jan 19 17:30:49 delfos postgres[6465]: [1-1] LOG: proceso de inicio (PID 6469) fue terminado por una señal 6 Jan 19 17:30:49 delfos postgres[6465]: [2-1] LOG: abortando el inicio debido a una falla en el procesamiento de inicio Jan 19 17:30:51 delfos postgresql: Iniciando servicios postgresql: failed ls -lha /ha/var/lib/pgsql/data/pg_xlog/ total 97M drwx-- 2 postgres postgres 4,0K ene 19 17:19 . drwx-- 9 postgres postgres 4,0K ene 19 17:39 .. -rw--- 1 postgres postgres 16M ene 19 17:39 -rw--- 1 postgres postgres 16M ene 19 17:17 0001 -rw--- 1 postgres postgres 16M ene 19 15:46 000500E6 -rw--- 1 postgres postgres 16M ene 18 17:12 000500E7 -rw--- 1 postgres postgres 16M ene 19 02:00 000500E8 -rw--- 1 postgres postgres 16M ene 19 11:09 000500E9 He intentado ir copiando las carpetas hasta llegar al punto de arrancar el postgres pero lo datos me indica que son corruptos, mensajes como estos: pg_dump: ERROR: xlog flush request 5/E67AE870 is not satisfied --- flushed only to 0/FE2BDC CONTEXT: escribiendo el bloque 662 de la relación 336501/336502 pg_dump: Falló el comando SQL para extraer el contenido de la tabla usuarios: PQendcopy() pg_dump: Mensaje de error del servidor: ERROR: xlog flush request 5/E67AE870 is not satisfied --- flushed only to 0/FE2BDC CONTEXT: escribiendo el bloque 662 de la relación 336501/336502 Warning: pg_exec(): Query failed: ERROR: xlog flush request 5/E6483FE0 is not satisfied --- flushed only to 0/FE2BDC CONTEXT: escribiendo el bloque 122 de la relación title= class=skype_tb_img_flag name=skype_tb_img_f0 class=skype_tb_img_space 336501/336519 class=skype_tb_img_adge in /ha/usr/local/apache/phplib/db_pgsql.inc on line 55 Database error: Invalid SQL: DELETE FROM sessions WHERE changed '20100118174024' AND name = 'Web_Session' PostgreSQL Error: 1 (ERROR: xlog flush request 5/E6483FE0 is not satisfied --- flushed only to 0/FE2BDC CONTEXT: escribiendo el bloque 122 de la relación 336501/336519) Session halted. Alguien le ha pasado algo parecido o alguna pista que me pueda dar. Desde ya, gracias por todo. Saludos. image001.gifimage002.gifimage003.gif___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] mrtg y switch cisco
STG SNMP Traffic Grapher. http://ruben.cheng-ca.com/es/knowledge/network/trafficmon.htm Con esta aplicación se monitoriza el router cisco, series como 2800 o 4800. Tiene que tener bien configurado el router y tener acceso SNMP. Saludos y suerte. _ De: centos-es-boun...@centos.org [mailto:centos-es-boun...@centos.org] En nombre de Krlos Enviado el: martes, 12 de enero de 2010 3:04 Para: centos-es@centos.org Asunto: Re: [CentOS-es] mrtg y switch cisco Mira socio nunca lo he hecho pero pensando a la volada se me ocurre que podrías hacer lo siguiente: Si tu switch Cisco está haciendo VLAN, entonces podrías usar un server Linux en el cual esté corriendo Zebra como puente de esas VLANs, allí podrías poner el MRTG para que reporte el tráfico de la troncalización. Espero haberte ayudado. Saludos, Krlos --- El Dom 10/1/10, ces can arvega...@hotmail.com escribió: De: ces can arvega...@hotmail.com Asunto: Re: [CentOS-es] mrtg y switch cisco Para: centos centos-es@centos.org Fecha: Domingo 10 de Enero de 2010, 12:33 Saludos: gracias por responder pero en realidad la pregunta va mas orientada a mrtg , lo de cisco ya esta configurado ¿pero como hago para que el mrtg me muestre el trafico total? gracias _ Date: Sat, 9 Jan 2010 12:35:13 -0500 From: bleyckl...@gmail.com To: centos-es@centos.org Subject: Re: [CentOS-es] mrtg y switch cisco Lo de Cisco no tiene nada que ver con lo de Linux, pero te voy a dar una ayudadita, lo que quieres hacer es simple, yo por lo general configuro los routers cisco con un simple comando, no se si funcionarà en los switch administrables de cisco, la verdad nunca e configurado un switch administrable de cisco, pero prueba con los comandos: ena conf t snmp-server community tornado se supone que con snmp-server community tornado ya se activa el snmp en general, y al final le pones: exit copy run start enter Saludos y suerte. -- El 8 de enero de 2010 16:17, el linuxero linuxerodep...@hotmail.com escribió: Saludos Comunidad. Deseo hacer reportes con mrtg de switches cisco usando snmp.Quiero que me muestre el total de trafico por switch no por puertos. Gracias. _ Explore the seven wonders of the world Learn more! http://search.msn.com/results.aspx?q=7+wonders+worldmkt=en-USform=QBRE ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es _ Get news, entertainment and everything you care about at Live.com. Check it out! http://www.live.com/getstarted.aspx%20 -Sigue archivo adjunto- ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es _ ¡Capacidad ilimitada de almacenamiento en tu correo! No te preocupes más por el espacio de tu cuenta con Correo Yahoo!: http://pe.mail.yahoo.com/ ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] CentOS 4 en un antiguo PC
the CD media before installation press OK’ y ya no responde al teclado para seleccionar la opcion. Alguien tiene idea de que puede ser y que puedo hacer para proseguir con la instalación?. i586 text esa sería la opción, si se cuelga, algo anda mal en el hw. no estaría mal que consigas un poquito más de ram, aunque centos-4 sí instalaba en 128MB que yo recuerde. saludos epe He probado también con opciones como: I586 nofb I586 skipddl I586 noprobe Y he probado en modo texto pero también pasa por esa pantalla y se cuelga. un saludo y muchas gracias, Benjamin ___ 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] mysql Workbench
I misunderstood that you were pointing to some GUI tools. Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mysql Workbench
From: Rajagopal Swaminathan raju.rajs...@gmail.com My requirement is simple: I want to install few instances of mysql Workbench as successor to other GUI tools for developers whom shall we call hmmm... PHD (replacing the boss with developer in the PHB). and yum has spoiled me to the extent of, what can I say..., yumaholic?.. :) an so this burning desire to find _any_ repository which will help put out the fire of requirements :) Google pointed to this: http://rpms.famillecollet.com/ JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSH slow
On 01/19/2010 12:26 AM, Les Mikesell wrote: ML wrote: Hi All, All of my systems are running 5.4 x64. The are all AMD x64 processors with at least 2gb of RAM in each. I am running SSH on a non standard port. When I SSH into ANY of my systems, I get prompted for my password right away, but after entering, it takes 30+ seconds to get logged in and get a prompt so I can work. I dont quite know what to look for here Does anyone have thoughts? That sounds like a failing reverse DNS lookup or IDENT query dropped by a firewall so you wait for the timeout. Try setting 'UseDNS no' in /etc/ssh/sshd_config. HTH, Timo ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Determine security updates
Hi, is there a way / software to find out which security patches my different CentOS systems are missing? Maybe with the according CESA announcement displayed? TIA, Frank. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Determine security updates
On 01/19/2010 10:32 AM, frank.brodb...@klingel.de wrote: is there a way / software to find out which security patches my different CentOS systems are missing? Maybe with the according CESA announcement displayed? I am working on a bit of code that would make something like this possible in the near future ( ~ a month or so ). However, till then I'd recommend going with just yum list and if you want, some mangling with yum-changelog will give you cve's and bz's. -- Karanbir Singh London, UK| http://www.karan.org/ | twitter.com/kbsingh ICQ: 2522219 | Yahoo IM: z00dax | Gtalk: z00dax GnuPG Key : http://www.karan.org/publickey.asc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Determine security updates
From: frank.brodb...@klingel.de frank.brodb...@klingel.de is there a way / software to find out which security patches my different CentOS systems are missing? Maybe with the according CESA announcement displayed? Try the yum-security package... JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Determine security updates
Or I can highly recommend configuring a local spacewalk server It is certainly usable right now overall (even if still under development in some areas) and the Redhat guys are very quick to squash reported bugs. Getting it runnign here has made my life much easier in provisioning, configuring and general maintenance of our systems... 2010/1/19 John Doe jd...@yahoo.com From: frank.brodb...@klingel.de frank.brodb...@klingel.de is there a way / software to find out which security patches my different CentOS systems are missing? Maybe with the according CESA announcement displayed? Try the yum-security package... JD ___ 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] Determine security updates
is there a way / software to find out which security patches my different CentOS systems are missing? Maybe with the according CESA announcement displayed? I'll put in a plug for a software project that I am developer/contributor for, OpenVAS (Open Vulnerability Assessment Scanner). http://www.openvas.org If you configure OpenVAS to use a SSH enabled login account, it will tell you which security patches you are missing. If you do just a remote scan, it will give you an incomplete list of missing patches. It is cross-platform too. -geoff - Geoff Galitz Blankenheim NRW, Germany http://www.galitz.org/ http://german-way.com/blog/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Determine security updates
Karanbir Singh mail-li...@karan.org schrieb am 19.01.2010 11:48:54: On 01/19/2010 10:32 AM, frank.brodb...@klingel.de wrote: is there a way / software to find out which security patches my different CentOS systems are missing? Maybe with the according CESA announcement displayed? I am working on a bit of code that would make something like this possible in the near future ( ~ a month or so ). However, till then I'd recommend going with just yum list and if you want, some mangling with yum-changelog will give you cve's and bz's. As this is something I'd be very interested in, is there a way I could help? If so feel free to contact me on or off list :-) Thanks, Frank. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Determine security updates
On 01/19/2010 11:08 AM, Geoff Galitz wrote: I'll put in a plug for a software project that I am developer/contributor for, OpenVAS (Open Vulnerability Assessment Scanner). http://www.openvas.org I look at this a while back, well over a year i think now. And the problem was that openvas does not actually test for the Vuln but it tries to use content to assume the exploits will not work. That is a very risky situation to get into. -- Karanbir Singh London, UK| http://www.karan.org/ | twitter.com/kbsingh ICQ: 2522219 | Yahoo IM: z00dax | Gtalk: z00dax GnuPG Key : http://www.karan.org/publickey.asc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Determine security updates
On 01/19/2010 11:07 AM, frank.brodb...@klingel.de wrote: I am working on a bit of code that would make something like this possible in the near future ( ~ a month or so ). However, till then I'd recommend going with just yum list and if you want, some mangling with yum-changelog will give you cve's and bz's. As this is something I'd be very interested in, is there a way I could help? If so feel free to contact me on or off list :-) Absolutely, I plan on putting the code onto a public vcs repo soon. I want to have the basic harness working before going public though. The 'core' of this is an automated test harness that would be used for the centos-distro packages at pre-build, post-build and pre-release stages. -- Karanbir Singh London, UK| http://www.karan.org/ | twitter.com/kbsingh ICQ: 2522219 | Yahoo IM: z00dax | Gtalk: z00dax GnuPG Key : http://www.karan.org/publickey.asc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Determine security updates
I look at this a while back, well over a year i think now. And the problem was that openvas does not actually test for the Vuln but it tries to use content to assume the exploits will not work. That is a very risky situation to get into. In terms of a proper security assessment; this is a debate that we have within the OpenVAS developer community and I am actually on your side with this. I won't bother the Centos list with more details than that unless anyone specifically wants me to go into greater details except to say that this is not technical limitation, just a policy of the authors who are writing the testing scripts. However, in terms of simply looking to see what known patches are missing, the current method of assessment is sufficient and complete. The question assumes that patches already exist and therefore they can be queried for in the RPM database to see if they exist (with the needed info encoded in the release strings). If we are talking about missing patches that do NOT exist, IOW, looking for vulnerabilities that the Centos devs or upstream have not addressed yet... then other tools may be more appropriate. -geoff - Geoff Galitz Blankenheim NRW, Germany http://www.galitz.org/ http://german-way.com/blog/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mysql Workbench
Greetings, On Tue, Jan 19, 2010 at 3:16 PM, John Doe jd...@yahoo.com wrote: From: Rajagopal Swaminathan raju.rajs...@gmail.com Google pointed to this: http://rpms.famillecollet.com/ Thanks. But it doesn't seem to have MySQL Workbench. Some update: From the IRC Channel: hi rajsand, yes, akojima managed to get it done, but there are a few minor things that need to be disabled as centoss gtk version is rather old repo: no, rpm: soon (if everything goes as planned, tomorrow), rajsand, but if you are on in about an hour we can maybe hand you over some pre-release testbuild So fingers crosses ... I also wanted to know how to enable blackhole engine in mysql as centos ships only with MyISAM, MEMORY, InnoDB, BerkeleyDB adn MRG_MYISAM engines by default. S I guess I must absolutely setup my own building from source thingie. BTW, just a small doubt: will using the SRPMs and building a package from that break any compatibility etc. etc. say just enabling blackhole and NDB engine in mysql and rebuilding it? Thanks for all the responses Regards Rajagopal ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] iptables default configuration
Carlos Santana wrote on Mon, 18 Jan 2010 17:54:51 -0600: - The wiki page approach is to flush existing rules and then add required rules to iptables. Is it possible to add/append required rules without flushing existing set of rules You can add rules on-the-fly at runtime and then use service iptables save to save them. This will be automatically loaded on a service iptables start. But it's harder to maintain as a script of your own. I prefer to write a script, run it (which includes flushing etc.) and when it's ok I save that result. Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] UID GID Problems.....
Hoping someone can help me fix something that I apparently messed up, i have the issue that when I untar a file as root the uid and gid that get set are not roots'. I had change a user uid and gid to 1000 via usermo -u etc but somehow it appears to have effected the root user. When I touch files as root the correct uid and gid are root, however when untaring an archive the directory and files are uid and gid =1000. Hope someone can point me in the right directionoh yea, running centos 5.4, and when I run the command id = uid=0, gid=0, etcall appear to be right for rootThanks in advance. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] changing openoffice defaults
it works changing *prop oor:name=Work oor:type=xs:string info descSpecifies the path of the work folder, which can be modified according to the user's needs. The path specified here can be seen in the Open or Save dialog./desc /info value$(work)/value /prop* to *prop oor:name=Work oor:type=xs:string info descSpecifies the path of the work folder, which can be modified according to the user's needs. The path specified here can be seen in the Open or Save dialog./desc /info valuefile:///opt/documents/value /prop * in */opt/ openoffice.org/basis3.1/share/registry/schema/org/openoffice/Office/Common.xcs *just if someone else is interested* *thank you all* * ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Upgrading from Fedora Core 7 to CentOS 5.4
Hi there -- I need to upgrade one of our systems from its current distribution, Fedora Core 7, to the most recent version distribution, release 5.4, of the CentOS operating system. Can I do an in-place upgrade of the operating system without any adverse side-effects? Are there any issues that I should be concerned with before proceeding? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrading from Fedora Core 7 to CentOS 5.4
Quoting Kaplan, Andrew H. ahkap...@partners.org: Hi there -- I need to upgrade one of our systems from its current distribution, Fedora Core 7, to the most recent version distribution, release 5.4, of the CentOS operating system. Can I do an in-place upgrade of the operating system without any adverse side-effects? Are there any issues that I should be concerned with before proceeding? Thanks. Err.. you cant just upgrade from fedora to centos. Take full backup and install centos and then just restore configurations from backup.. -- Eero, RHCE ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] UID GID Problems.....
Hoping someone can help me fix something that I apparently messed up, i have the issue that when I untar a file as root the uid and gid that get set are not roots'. I had change a user uid and gid to 1000 via usermo -u snip If I understand you correctly, the user's files were all uid and gid 1000 (please don't tell me that you're letting RedHat's idiocy of creating a new user as a new group of their very own, rather than, say, a member of the group users), and you tar'd and then untar'd it, it *should* be the user's, tar is doing what it's supposed to do, and saving permissions and ownership. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Upgrading from Fedora Core 7 to CentOS 5.4
Hi there -- I need to upgrade one of our systems from its current distribution, Fedora Core 7, to the most recent version distribution, release 5.4, of the CentOS operating system. Can I do an in-place upgrade of the operating system without any adverse side-effects? Are there any issues that I should be concerned with before proceeding? Thanks. We just went through this a month or so ago on this list. The answer is that it is *very* much *not* a good idea. Do your backups, do a new install, then restore. At best, you might try to install with /etc still there. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] UID GID Problems.....
On Tue, Jan 19, 2010 at 8:43 AM, Tom Bishop bisho...@gmail.com wrote: Hoping someone can help me fix something that I apparently messed up, i have the issue that when I untar a file as root the uid and gid that get set are not roots'. I had change a user uid and gid to 1000 via usermo -u etc but somehow it appears to have effected the root user. When I touch files as root the correct uid and gid are root, however when untaring an archive the directory and files are uid and gid =1000. Hope someone can point me in the right directionoh yea, running centos 5.4, and when I run the command id = uid=0, gid=0, etcall appear to be right for rootThanks in advance. When you untar as root, the UID/GID is always set to that of the user who created the tar file. Only if you untar as a normal user does it change the ownership to the user who untarred it. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] iptables default configuration
On Tue, Jan 19, 2010 at 1:01 AM, Ian Blackwell i...@ikel.id.au wrote: Rob Kampen wrote: Carlos Santana wrote: - What does 'RH-Firewall-1-INPUT' chain means? This also seems to be a predefined chain, although not mentioned in wiki. - The wiki page approach is to flush existing rules and then add required rules to iptables. Is it possible to add/append required rules without flushing existing set of rules? Not sure, but I think this is where 'RH-Firewall-1-INPUT' chain comes into picture (user defined rules). Any explanation or resource link on this would be really helpful. Try using webmin - there are rpm available for it and the interface helps deal with the cryptic items that make up an iptable filter. The reason for the RH-Firewall-1-INPUT chain means you can use the same rule set for multiple items - i.e. both input and forward. I also find it useful to create different chains for different network traffic. For example, I have a chain that allows all web access - ports 80, 443, 8080 etc. I have a different chain for file-share access - e.g. NFS and Samba. This way, I can watch what is happening with those chains specifically, without wading through the significant output of the command iptables -nvL. By using different chains, I can issue a command like watch -d iptables -nvL CentOS-MAIL to monitor network traffic on related ports. This has helped me many times in the past to see where network traffic is being blocked or given access. Just my 2c worth :) Ian ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Thanks for the help everyone.. @ Ian: Could you please share an example on how to define chains and reuse them? That would be really helpful. - CS. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] iptables default configuration
On Tue, Jan 19, 2010 at 7:31 AM, Kai Schaetzl mailli...@conactive.com wrote: Carlos Santana wrote on Mon, 18 Jan 2010 17:54:51 -0600: - The wiki page approach is to flush existing rules and then add required rules to iptables. Is it possible to add/append required rules without flushing existing set of rules You can add rules on-the-fly at runtime and then use service iptables save to save them. This will be automatically loaded on a service iptables start. But it's harder to maintain as a script of your own. I prefer to write a script, run it (which includes flushing etc.) and when it's ok I save that result. Kai Currently my approach is similar to yours, which is shown in the wiki page also. I didn't get what you mean by - 'But it's harder to maintain as a script of your own.'. You are also using script, right? I use git for maintaining versions (not a public repo). - CS. -- Get your web at Conactive Internet Services: http://www.conactive.com ___ 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] UID GID Problems.....
So I downloaded the tar file, wget running as root (su -). Looking at the file permissions owner and group are root but when I untar the file the new directory and all of the files have the UID and GID set to 1000, which was another user and not the one that I logged in with. On Tue, Jan 19, 2010 at 8:44 AM, Brian Mathis brian.mat...@gmail.comwrote: On Tue, Jan 19, 2010 at 8:43 AM, Tom Bishop bisho...@gmail.com wrote: Hoping someone can help me fix something that I apparently messed up, i have the issue that when I untar a file as root the uid and gid that get set are not roots'. I had change a user uid and gid to 1000 via usermo -u etc but somehow it appears to have effected the root user. When I touch files as root the correct uid and gid are root, however when untaring an archive the directory and files are uid and gid =1000. Hope someone can point me in the right directionoh yea, running centos 5.4, and when I run the command id = uid=0, gid=0, etcall appear to be right for rootThanks in advance. When you untar as root, the UID/GID is always set to that of the user who created the tar file. Only if you untar as a normal user does it change the ownership to the user who untarred it. ___ 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] UID GID Problems.....
So I downloaded the tar file, wget running as root (su -). Looking at the file permissions owner and group are root but when I untar the file the new directory and all of the files have the UID and GID set to 1000, which was another user and not the one that I logged in with. Right, that's the uid and gid of whoever tar'd the files up, which clearly seems to be the same, and since you don't have a user with that uid and gid, it just uses the numerical value that it came with. On Tue, Jan 19, 2010 at 8:44 AM, Brian Mathis brian.mat...@gmail.comwrote: On Tue, Jan 19, 2010 at 8:43 AM, Tom Bishop bisho...@gmail.com wrote: Hoping someone can help me fix something that I apparently messed up, i have the issue that when I untar a file as root the uid and gid that get set are not roots'. I had change a user uid and gid to 1000 via usermo -u etc but somehow it appears to have effected the root user. When I touch files as root the correct uid and gid are root, however when untaring an archive the directory and files are uid and gid =1000. Hope someone can point me in the right directionoh yea, running centos 5.4, and when I run the command id = uid=0, gid=0, etcall appear to be right for rootThanks in advance. When you untar as root, the UID/GID is always set to that of the user who created the tar file. Only if you untar as a normal user does it change the ownership to the user who untarred it. ___ 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] mysql Workbench
From: Rajagopal Swaminathan raju.rajs...@gmail.com On Tue, Jan 19, 2010 at 3:16 PM, John Doe wrote: From: Rajagopal Swaminathan Google pointed to this: http://rpms.famillecollet.com/ Thanks. But it doesn't seem to have MySQL Workbench. Oops, I read mysql bench instead of workbench, my bad... JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] UID GID Problems.....
Tom Bishop bisho...@gmail.com schrieb am 19.01.2010 15:53:52: So I downloaded the tar file, wget running as root (su -). Looking at the file permissions owner and group are root but when I untar the file the new directory and all of the files have the UID and GID set to 1000, which was another user and not the one that I logged in with. What do you mean by 'looking at the file permissions'? Do you mean the file permissions of the tarball or the files inside the tarball? Sometimes it can be helpful to provide the actual commands and it's output :-/ What Brian tries to tell you is that if untarring as root the file ownership and modes are preserved as displayed by e.g.: tar tf archive.tar HTH, Frank. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mysql Workbench
Greetings, On Tue, Jan 19, 2010 at 8:39 PM, John Doe jd...@yahoo.com wrote: From: Rajagopal Swaminathan raju.rajs...@gmail.com Thanks. But it doesn't seem to have MySQL Workbench. Oops, I read mysql bench instead of workbench, my bad... Sorry if I have confused you and others. MySQL Workbench is touted to be a replacement, nay, panacea for all our dirty cousin DBA (nowadays, who is not generally accepted with a beard -- disclaimer: I never allowed a beard to grow o me and for an 46/m/Indian am not so bad looking ;-) - will soon post photos) Thanks and Regards, Rajagopal ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] UID GID Problems.....
Tom Bishop wrote on Tue, 19 Jan 2010 07:43:50 -0600: When I touch files as root the correct uid and gid are root, however when untaring an archive the directory and files are uid and gid =1000. Untarring *which* files? The standard behavior of tar is to keep the permissions etc. of the original. So, if they were owned by user x when tarring they will get untarred for user x. If you want to change this have a look at the section Handling of file attributes: of tar --help. Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] UID GID Problems.....
From: Tom Bishop bisho...@gmail.com So I downloaded the tar file, wget running as root (su -). Looking at the file permissions owner and group are root but when I untar the file the new directory and all of the files have the UID and GID set to 1000, which was another user and not the one that I logged in with. Which is the normal behavior... If you tar /etc, you want to preserve file ownership... If you untar etc.tar and all files would become owned by root, it would break many things... If you need, look at -o or --owner tar options (man tar will help)... JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Any news about missing SRPMs?
I noted centos-release source rpm is missing on repositories, and after search a bit I found this thread: http://www.linux-archive.org/centos/272321-centos-release-srpm.html Anyone have news about this? Thanks in advance -- Renato Botelho ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] UID GID Problems.....
Thanks guys, the light bulb finally went off, need more sleep ;).so here is what I think happened, so I run buntu at home on some PC's and had set the uid to one of my users (my wife) to 1000 for nfs stuff, which is the defaul range for ubuntu uid's. So when I downloaded the file and untar the users must have had a uid of a 1000 which on my system equated to my wifes uid...LOL, was too late and it never crossed my mind so when I saw the owner and group as my wife that it was just a shared uid...8) Thanks for the tips On Tue, Jan 19, 2010 at 9:09 AM, frank.brodb...@klingel.de wrote: Tom Bishop bisho...@gmail.com schrieb am 19.01.2010 15:53:52: So I downloaded the tar file, wget running as root (su -). Looking at the file permissions owner and group are root but when I untar the file the new directory and all of the files have the UID and GID set to 1000, which was another user and not the one that I logged in with. What do you mean by 'looking at the file permissions'? Do you mean the file permissions of the tarball or the files inside the tarball? Sometimes it can be helpful to provide the actual commands and it's output :-/ What Brian tries to tell you is that if untarring as root the file ownership and modes are preserved as displayed by e.g.: tar tf archive.tar HTH, Frank. ___ 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] I can't start the SVN server at the boot on CentOS
On 1/12/2010 8:40 AM, Anas Alnaffar wrote: I have just installed an SVN server on a CentOS 5.4 machine. how I can start the SVN server automatically at the boot of the machine. Unless you have some specific reason to run the standalone server, I'd recommend installing mod_dav_svn and using apache as the server (just edit /etc/httpd/conf.d/subversion.conf with the repository location). Also, the stock version supplied with Centos is very old. There's a more current version maintained in the rpmforge repo. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] About GLOBAL vars
Thanks friend, but I don't what I supouse to do there...can you give me an example for this case: # ./path/to/pear/pear as # pear Thanks a lot Saludos Fraternales _ Atte. Alberto García Gómez M:.M:. Administrador de Redes/Webmaster IPI Carlos Marx, Matanzas. Cuba. 0145-2887(30-33) ext 124 - Original Message - From: John Doe jd...@yahoo.com To: CentOS mailing list centos@centos.org Sent: Monday, January 18, 2010 12:21 PM Subject: Re: [CentOS] About GLOBAL vars From: Alberto García Gómez albe...@ipimtzcm.rimed.cu I install XAMPP in a server and know I want some binaries run as they were part of the system (I reaaly don't know if this correct). So I need that -pear- -pecl- and others run as: #pear install [PACKAGE] and not #cd /path/to/pear/ ./pear install [PACKAGE] Add /path/to/bin to the PATH variable. See examples in /etc/profile.d/ JD ___ 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] About GLOBAL vars
From: Alberto García Gómez albe...@ipimtzcm.rimed.cu From: John Doe Add /path/to/bin to the PATH variable. See examples in /etc/profile.d/ Thanks friend, but I don't what I supouse to do there...can you give me an example for this case: # ./path/to/pear/pear as # pear Create /etc/profile.d/mypear.sh and put the line: export PATH=/path/to/pear:$PATH JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] iptables default configuration
Carlos Santana wrote on Tue, 19 Jan 2010 08:51:19 -0600: 'But it's harder to maintain as a script of your own.'. You are also using script, right? The as is ambiguous in this case ;-) Read: But it's (adding on the fly, no script) harder to maintain as if you use a script of your own. Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Moving the system from 5.3 to 5.4
Hello, I built a system based on centos 5.3, now i'm planing to move to 5.4. To do it I rebuilt all rpms making some changes. When I use a common centos 5.3, it automatically detects that 5.4 is available and move update for it when i run yum update. How does this work? How the system detects new version and update for it? I thought centos-release rpm just update repo for it, but I saw this is not the case. Could someone gimme some light? Thanks -- Renato Botelho ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Moving the system from 5.3 to 5.4
Renato Botelho wrote: Hello, I built a system based on centos 5.3, now i'm planing to move to 5.4. To do it I rebuilt all rpms making some changes. When I use a common centos 5.3, it automatically detects that 5.4 is available and move update for it when i run yum update. How does this work? How the system detects new version and update for it? I thought centos-release rpm just update repo for it, but I saw this is not the case. Could someone gimme some light? 5.3 + updates = 5.4 There are usually no major problems in upgrading between point releases, but it is always a good idea to read the release notes. http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.4 -- Bowie ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Moving the system from 5.3 to 5.4
On Tue, Jan 19, 2010 at 5:49 PM, Bowie Bailey bowie_bai...@buc.com wrote: Renato Botelho wrote: Hello, I built a system based on centos 5.3, now i'm planing to move to 5.4. To do it I rebuilt all rpms making some changes. When I use a common centos 5.3, it automatically detects that 5.4 is available and move update for it when i run yum update. How does this work? How the system detects new version and update for it? I thought centos-release rpm just update repo for it, but I saw this is not the case. Could someone gimme some light? 5.3 + updates = 5.4 There are usually no major problems in upgrading between point releases, but it is always a good idea to read the release notes. http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.4 My question is not *how* to update, but how the rpm detects a new version is available and automatically update to rpms from 5.4 version. -- Renato Botelho ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Moving the system from 5.3 to 5.4
Renato Botelho wrote: My question is not *how* to update, but how the rpm detects a new version is available and automatically update to rpms from 5.4 version. I believe it gets the updates from /5/ on the yum repos, not /5.x/ so when /5/ has rolled to be a link to /5.4/ instead of /5.3/, voila, its getting the components from there. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Is CentOS-3 reached EOL?
Hi all, Until when CentOS-3 will be supported and patches will be released?? Many thanks. -- CL Martinez carlopmart {at} gmail {d0t} com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is CentOS-3 reached EOL?
On Jan 19, 2010, at 1:12 PM, carlopmart wrote: Until when CentOS-3 will be supported and patches will be released?? http://wiki.centos.org/FAQ/CentOS3#head-21c807565900c774ccbabb405e07c9552a44876c smime.p7s Description: S/MIME cryptographic signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Moving the system from 5.3 to 5.4
John R Pierce wrote: Renato Botelho wrote: My question is not *how* to update, but how the rpm detects a new version is available and automatically update to rpms from 5.4 version. I believe it gets the updates from /5/ on the yum repos, not /5.x/ so when /5/ has rolled to be a link to /5.4/ instead of /5.3/, voila, its getting the components from there. Exactly. The 5.3 and 5.4 versions are a just collection of updates. When the updates that make up 5.4 are pushed out to the repos, you get updated to 5.4 on your next yum update. -- Bowie ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] iptables default configuration
On Tue, Jan 19, 2010 at 1:31 PM, Kai Schaetzl mailli...@conactive.com wrote: Carlos Santana wrote on Tue, 19 Jan 2010 08:51:19 -0600: 'But it's harder to maintain as a script of your own.'. You are also using script, right? The as is ambiguous in this case ;-) Read: But it's (adding on the fly, no script) harder to maintain as if you use a script of your own. Kai Thanks for clarifying... :) - CS. -- Get your web at Conactive Internet Services: http://www.conactive.com ___ 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] iptables default configuration
On Tue, 2010-01-19 at 14:32 -0600, Carlos Santana wrote: On Tue, Jan 19, 2010 at 1:31 PM, Kai Schaetzl mailli...@conactive.com wrote: Carlos Santana wrote on Tue, 19 Jan 2010 08:51:19 -0600: 'But it's harder to maintain as a script of your own.'. You are also using script, right? The as is ambiguous in this case ;-) Read: But it's (adding on the fly, no script) harder to maintain as if you use a script of your own. Kai Thanks for clarifying... :) - CS. If you're concerned about maintaining a script for your iptables configuration, consider the Shoreline firewall ( www.shorewall.net ) to manage your firewall. The things I like about Shorewall is that it uses human-readable config files, AND it generates iptables chains that are much more comprehensible than the other stuff that I've seen. Naturally, this is just my $0.02 (US) worth. -- Ron Loftin relof...@twcny.rr.com God, root, what is difference ? Piter from UserFriendly ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Bind data directory borked on update from 5.3 to 5.4
I updated my secondary DNS server from 5.3 to 5.4 today. After the update, named would not start. A bit of investigation found that all of the files in /var/named/chroot/var/named/data had been turned into links to themselves! Fortunately, since this is a secondary DNS, all I had to do was delete the files, replace the root hints file and let everything else copy back over from the master. If this had been the master, I would have had to restore from backups. Has anyone else seen this problem? -- Bowie ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bind data directory borked on update from 5.3 to 5.4
Bowie Bailey wrote on Tue, 19 Jan 2010 15:51:40 -0500: Has anyone else seen this problem? No. I usually see some change in the permissions (/var/named/chroot/var/named/ loses group write and named logs some complaints but still works) when updating named. I think I've seen this happen several times and with the last update as well. I've not taken this serious as it didn't stop named from working. I assume the write permissions are only necessary for client DNS updates which I do not use. I remember there was a more serious problem a year or so ago, when an update stopped named from working because it overwrote some files. So, the upgrading experience has been less smooth with named than with other packages, but I haven't seen what you experienced. Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to force iscsi to see the new LUN size
Pasi Kärkkäinen wrote: On Fri, Jan 15, 2010 at 05:34:47PM -0800, Peter Blajev wrote: Hi, I increased the size of one of the LUNs and on CentOS 5.4 if I restart iscsi (`service iscsi restart`) I'll see the the new size but this will disconnect all other LUNs. I'm hoping that there is isciadm or some other command that will force iscsi to rediscover the LUNs but I can't seem to be able to come up with one. Resize2fs says that there is nothing to be done. I'm not using LVM. Any ideas? Try: iscsiadm -m node -R It should work with CentOS 5.3 and newer. Also you might be interested of this: http://pasik.reaktio.net/rhel5-online-iscsi-resize-test.txt -- Pasi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Thank you to all that replied. I studied and followed the document Pasi provided: http://pasik.reaktio.net/rhel5-online-iscsi-resize-test.txt Great step-by-step instructions, right on the point. It worked for me. Thanks again. -- Peter ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Moving the system from 5.3 to 5.4
On Tue, Jan 19, 2010 at 3:30 PM, Bowie Bailey bowie_bai...@buc.com wrote: John R Pierce wrote: Renato Botelho wrote: My question is not *how* to update, but how the rpm detects a new version is available and automatically update to rpms from 5.4 version. I believe it gets the updates from /5/ on the yum repos, not /5.x/ so when /5/ has rolled to be a link to /5.4/ instead of /5.3/, voila, its getting the components from there. Exactly. The 5.3 and 5.4 versions are a just collection of updates. When the updates that make up 5.4 are pushed out to the repos, you get updated to 5.4 on your next yum update. -- Bowie To be more precise, any particular OS version (5.3, 5.4, etc...) is a collection of packages. Each package has its own version number that is totally separate from the OS version. All of the package version information is stored in the RPM database, and the yum tool looks at this database and compares package versions to those on the centos.org servers. If it finds packages that need updating, yum lists them as having an update available. An OS version is a snapshot of package versions that someone (redhat) has decided to stick a version number onto. So centos 5.3 is just as list of packages at a certain version. However, as soon as it is released, any package might have an update to it. OS versions tend to have updates that make some bigger changes to the system, as opposed to typical updates that are mainly security fixes. The centos servers manage the OS versions by making a link from 5 - 5.4, for example. The files in /etc/yum.repos.d define how yum finds the servers and updates. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bind data directory borked on update from 5.3 to 5.4
On Tue, Jan 19, 2010 at 3:51 PM, Bowie Bailey bowie_bai...@buc.com wrote: I updated my secondary DNS server from 5.3 to 5.4 today. After the update, named would not start. A bit of investigation found that all of the files in /var/named/chroot/var/named/data had been turned into links to themselves! Fortunately, since this is a secondary DNS, all I had to do was delete the files, replace the root hints file and let everything else copy back over from the master. If this had been the master, I would have had to restore from backups. Has anyone else seen this problem? -- Bowie Do you have the caching-nameserver package installed? I've heard this can cause problems with files getting overwritten. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bind data directory borked on update from 5.3 to 5.4
On 1/19/2010 5:26 PM, Brian Mathis wrote: On Tue, Jan 19, 2010 at 3:51 PM, Bowie Baileybowie_bai...@buc.com wrote: I updated my secondary DNS server from 5.3 to 5.4 today. After the update, named would not start. A bit of investigation found that all of the files in /var/named/chroot/var/named/data had been turned into links to themselves! Fortunately, since this is a secondary DNS, all I had to do was delete the files, replace the root hints file and let everything else copy back over from the master. If this had been the master, I would have had to restore from backups. Has anyone else seen this problem? -- Bowie Do you have the caching-nameserver package installed? I've heard this can cause problems with files getting overwritten. If you install the caching-nameserver package it assumes you don't have any other configuration (that's that point of it being a caching-nameserver). -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Any news about missing SRPMs?
On 19/01/10 15:48, Renato Botelho wrote: I noted centos-release source rpm is missing on repositories, and after search a bit I found this thread: http://www.linux-archive.org/centos/272321-centos-release-srpm.html Anyone have news about this? Thanks in advance I'll try and get these sorted in the next day or so -- Karanbir Singh kbsi...@karan.org | http://www.karan.org/ | twitter.com/kbsingh ICQ: 2522219 | Yahoo IM: z00dax | Gtalk: z00dax GnuPG Key : http://www.karan.org/publickey.asc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Broadcom bcm5823kpb-5 drivers, do they exist?
On Mon, Jan 18, 2010 at 20:46, Wade Blackwell captainbab...@gmail.com wrote: Good afternoon all, I have a Broadcom BCM5823KPB-5 PCI crypto card that I would like to use on a 2.6.18-164.10.1.el5xen i686 i386 release do assist with crypto operations. Does anyone know if there are drivers for this device? It was originally used in a Cisco Pix to assist with crypto functions under part number 74-3176-01 vac+. The other markings on the board are CT0527 10 747486 M. TIA. I think you should check with openssl guys... -- Marcelo ¿No será acaso que ésta vida moderna está teniendo más de moderna que de vida? (Mafalda) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos