Re: [CentOS-es] Script Nagios
buenas, estimados tengo el siguiente problema: tengo el siguiente script que me saca la cantidad de canales activos en el asterisk, locamente hace lo que quiero, pero al sacarlo desde el server nagios no me devuelve el valor requerido. cat check_chanels.sh #!/bin/sh CANALES=$(asterisk -rx core show channels $k | grep active calls | cut -d\ -f 1 ) echo $CANALES exit 0 localmente me devuelve este valor: sh check_chanels.sh 14 Este valor es el numero de canales activos. al hacer la misma consulta por nagios a traves de nrpe me da lo siguiente: sip1 Canales Activos OK 03-05-2008 05:15:36 2d 18h 53m 41s 1/4 CHECK_NRPE: No output returned from daemon. al hacer el siguiente cambio en el bash: #!/bin/sh CANALES=$(asterisk -rx core show channels $k | grep active calls | cut -d\ -f 1 ) #echo x$CANALES echo Canales $CANALES exit 0 me da esto en la maquina local: sh check_chanels.sh Canales 11 y en el nagios me pasa esto. sip1 Canales Activos OK 03-05-2008 05:20:36 2d 18h 56m 42s 1/4 Canales Tambien trate de concatenarlo pasandolo como string y solo me da la variable. Atte. Fernando Quil Ayala ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Ayuda con OpenVpn e Iptables
Freddy Angulo wrote: Hola Amigos: he configurado una vpn con OpenVpn en Centos 5, la cual funciona con normalidad y me conecto a las pc remotamente sin ningun problema. El inconvenienet se origina cuando coloco mi firewall en Drop. la conexion no se pierde pero no hago ping y no me puedo conectar a las pc remotamente. en mi firewall he colocado esto: modprobe tun IPTABLES=/sbin/iptables IF_WAN=eth0 IF_LAN=eth1 IP_WAN=IP PUBLICA IP_LAN=default gateway de mi red LAN_LAN=192.168.0.0/24 iptables -A INPUT -i tun+ -j ACCEPT iptables -A FORWARD -i tun+ -j ACCEPT iptables -A INPUT -i tap+ -j ACCEPT iptables -A FORWARD -i tap+ -j ACCEPT $IPTABLES -A INPUT -p udp -i $IF_WAN --dport 1194 -j ACCEPT $IPTABLES -A OUTPUT -p udp -o $IF_WAN --sport 1194 -j ACCEPT $IPTABLES -A FORWARD -s 0/0 -i $IF_LAN -p udp --dport 1194 -j ACCEPT pero aun con estas reglas no me conecto cuando esta en DROP. Saben si tengo q levantar algun modulo adicional o crear alguna ruta estatica. Espero me puedna ayudar Gracias ¡Capacidad ilimitada de almacenamiento en tu correo! No te preocupes más por el espacio de tu cuenta con Correo Yahoo!: http://correo.espanol.yahoo.com/ ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es Podes pasar la conf de tu firewall completa? ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] Ayuda con Squid
Hola a todos. Necesito su opinio, con respecto a lo que esta saliendo en mi servidor proxy. ERROR El URL solicitado no se ha podido conseguir Mientras se intentaba traer el URL: http://es.openoffice.org/programa/index.html Ha ocurrido el siguiente problema: * * Conexión fallida. * El sistema ha devuelto el siguiente mensaje: /(110) Connection timed out/ El equipo remoto o la red pueden estar fuera de servicio. Por favor, intente de nuevo la petición. El siguiente mensaje es mostrados en algunas paginas. En otras paginas si puedo navegar, lo extraño es que hasta el viernes, todo estaba bien. Sera que alguien me puede dar alguna sugerencia de lo que esta pasando. No estoy haciendo un proxy transparente. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] java y exe
Una consulta amigos . Gobierno equipos en el cual el nuevo soft. de gestion sigue siendo diseñado en java , pero esta vez , el ejecutable es un .exe Intente con un wine , y normal lo instala , pero no lo ejecuta , me salen sentencias de error , justamente de java, Quizas alguno en la lista me podria brindar mas luces sobre el tema. Como podria ejecutar este .exe (instalador) de tal forma que java sea el que lo soporta y lo interprete. alguna idea ? gracias de antemano -- Gino Alania Hurtado Nitcom Labs (http://www.nitcom.com) ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Ayuda con Squid
No sera problema de tus DNS ya que no creo sea de squid debido a que te da un mensaje de conexión fallida y eso como el mismo mensaje lo dice es porque no logra establecer la conexión con el host remoto, o son dns o en ese rato esa dirección estubo caida, trata haciendo ping a las direcciones desde el server ya que si no estas transparente no lo podras hacer desde una terminal. 2008/3/10, Alexander López Lapo [EMAIL PROTECTED]: Hola a todos. Necesito su opinio, con respecto a lo que esta saliendo en mi servidor proxy. ERROR El URL solicitado no se ha podido conseguir Mientras se intentaba traer el URL: http://es.openoffice.org/programa/index.html Ha ocurrido el siguiente problema: * * Conexión fallida. * El sistema ha devuelto el siguiente mensaje: /(110) Connection timed out/ El equipo remoto o la red pueden estar fuera de servicio. Por favor, intente de nuevo la petición. El siguiente mensaje es mostrados en algunas paginas. En otras paginas si puedo navegar, lo extraño es que hasta el viernes, todo estaba bien. Sera que alguien me puede dar alguna sugerencia de lo que esta pasando. No estoy haciendo un proxy transparente. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] Instalacion de RoundCube en Centos
Hola Estoy en un proceso de migracion de mi server viejo a mi nuevo server 4.6, entoces quiero instalar como webmail RoundCube, hasta ahora usaba Squirrelmail, quiero migrar a RounCube, pero tengo algunas dudas: 1 Me pordrian hablar sobre su experiencia con este webmail, que tal es de instalar, de configurar y de manejar. 2 Alguno de ustedes tiene experiencia en la migracion que quiero hacer de Squirrelmail a RoundCube. 3 Que tan cierto es que se marea con manejos de grandes cantidades de correo. 4 Mi internet es limitada, pueden enviarme algunos links que me sirvan para el proceso que quiero hacer. Disculpen pero es que de verdad que tengo necesidad de resolver esto lo mas rapido posible y no tengo libertad con el internet. -- salu2 luisito ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Administracion remota.
Fequay escribió: *Por ssh, si es sin entorno grafico no necesitas mas. On Thu, 06 Mar 2008 08:52:35 -0500, Enrique Rosario wrote* Salu2 Tengo dos server centos 5. Un interno y el otro de cara al exterior los dos en modo texto sin interfaces graficas instaladas. Como podria administrarlos de forma remota por ejemplo desde mi casa pero de forma segura. Algunos me comentan que webmin pero realmente estoy un poco reacio a instalar este en el de cara a internet. Otros me dicen que openssh o vnc. Para ustedes cual es mas seguro pensando en que los tengo en solo texto. Atte. Fernando Quil Ayala ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es Bueno, yo no lo uso, pero me quedo la duda, si quisiera usar remotamente el entorno gráfico que opciones hay ??? Saludos. -- Atte. Mauricio César Ramírez Torres. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS] /etc/resolv.conf - Number of Nameservers
On Sun, 2008-03-09 at 22:02 -0700, John R Pierce wrote: Manish Kathuria wrote: What is the maximum number of nameservers mentioned in /etc/resolv.conf which will be queried while looking up a hostname or IP address in the present version ? Earlier implementations had a ceiling of 3 name servers which could be queried. Has there been any increase ? only one server is ever queried. only if it if it can't be reached at all will it fall back on the 2nd one (and if that can't be reached, the 3rd) a answer of 'host not found' from the primary server does /not/ trigger any fallback, instead it returns not found. so, why would you need more than 3 ? DNS servers should have a . uptime. The idea is to switch between multiple internet links for the same internal network, without making frequent changes to /etc/resolv.conf. The ISPs here don't allow DNS look ups from an IP not belong to their address, so a number of look up requests get denied when the outgoing connection is through another ISP. Of course, I can run a caching nameserver on the small network or use Open DNS servers but that adds to the delay. Thank you, Manish ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Anyone installed the amazon downloader on 5.1?
Hi; I hope that these links will be help you... ftp://fr2.rpmfind.net/linux/fedora/development/i386/os/Packages/libcurl-7.18.0-2.fc9.i386.rpm ftp://fr2.rpmfind.net/linux/Mandrake/2008.0/i586/media/main/release/libboost1-1.33.1-6mdv2008.0.i586.rpm ftp://fr2.rpmfind.net/linux/Mandrake/2008.0/i586/media/main/updates/libboost1-1.33.1-6.1mdv2008.0.i586.rpm sincerely yours... 2008/3/10, fred smith [EMAIL PROTECTED]: Just tried to install the Amazon-downloader on Centos 5.1 (the Fedora 8 version, which seems the closest match of any they offer). Of course it gets a bazillion unfulfilled dependencies. so I tried yum localinstall ./a*m and it trundles along for a while finding several of the packages available then spews out this: Error: Missing Dependency: libboost_date_time.so.3 is needed by package amazonmp3 Error: Missing Dependency: libboost_signals.so.3 is needed by package amazonmp3 Error: Missing Dependency: libboost_iostreams.so.3 is needed by package amazonmp3 Error: Missing Dependency: libboost_thread-mt.so.3 is needed by package amazonmp3 Error: Missing Dependency: libcurl.so.4 is needed by package amazonmp3 Can anyone point me to a repo where I could find these? Or other tricks for getting this to work? Thanks! -- Fred Smith -- [EMAIL PROTECTED] Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of heaven, but only he who does the will of my Father who is in heaven. -- Matthew 7:21 (niv) - ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- Tolun ARDAHANLI Bilgisayar Muhendisi E-posta:[EMAIL PROTECTED] Icq:326600 Tolun ARDAHANLI Computer Engineer E-mail:[EMAIL PROTECTED] Icq:326600 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] /etc/resolv.conf - Number of Nameservers
Manish Kathuria wrote: The idea is to switch between multiple internet links for the same internal network, without making frequent changes to /etc/resolv.conf. The ISPs here don't allow DNS look ups from an IP not belong to their address, so a number of look up requests get denied when the outgoing connection is through another ISP. Of course, I can run a caching nameserver on the small network or use Open DNS servers but that adds to the delay. not half as bad as having every lookup try and go to the first server in /etc/resolv.conf, then fail, and try the 2nd, repeating until one resolves. sounds like you should be running a caching name server, maybe even something thats aware of your ISP multiplexing scheme so it can dynmically choose forwarders a local caching name server shouldn't add any significant delay, and will greatly speed up frequent lookups. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS5.1 PHP 5.2 RPMs?
Karanbir Singh wrote: James Fidell wrote: Is there a PHP 5.2 build for CentOS5.1 anywhere? Unfortunately I need a fix for a SOAP bug that is present in the current 5.1.6 release. Not yet, but we are working on it - there should be something there in the next few days. Will this be as part of the centosplus repository, or elsewhere? James ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] parsing /proc/cmdline
On Fri, 2008-03-07 at 11:59 -0500, Ross S. W. Walker wrote: Ross S. W. Walker wrote: Jerry Geis wrote: Hi - I am not an expert at shell script writing. If /proc/cmdline looks like option1 option2 ... ks=http://192.168.1.8/ks/ks.cfg option3 option 4 ... How can I get the 192.168.1.8 out of this cmdline. Try: # IPADDR=`cat /proc/cmdline | sed 's/.*\/\([1-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)\/.*/\1/'` This will find an IP in between /.../ Actually shorter sed line: # IPADDR=`cat /proc/cmdline | sed 's/.*\/\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\)\/.*/\1/'` And shorter still: sed 's/.*\/\(\([0-9]\+\.\)\{3,\}[0-9]\+\).*/\1/' which uses \{3,\} to specify the 3 occurrences of [0-9]\+\. However, I would simply go for something like: sed 's,.*http://\(.*\)/ks/.*,\1,' Jim ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] SSH, SCP connections to remote MySQL Database using OpenOffice Possible?
I'm trying to find a way to get remote connections from my Linux Desktop machine to a remote Linux box which is hosting a MySQL database, via SSH port 22, and then once connection is established, log in to the database port 3306 and have either an SSH and or SCP connection established so I can securely do edits and queries. I am able to connect this way from my Windows machine to remote server using Navicat. Both the windows desktop and the server are set up this way. I just can't figure out how to get my Linux desktop and the remote Linux box to talk this way. I can connect to the remote database via Linux desktop, it's just via an un encrypted connection through port 3306. For obvious reasons I don't want to do it that way. I tried connecting to the remote database in the same way I use Konqueror for FTP over SSH, i.e., by connecting via the fish protocol over port 22 -by enterning into OpenOffice Base for the server URL: fish://[EMAIL PROTECTED]:22 and the error that comes up in either OO Base or Calc said I must specify a port number after the : , which I did, and it still won't connect that way. My question is, is OpenOffice Calc able to connect to remote databases via SSH and or SCP? If so, do I need a plug in for that, or need to configure calc to do that in some way? How would I do this, or which plug in(s) do I need? _ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSH, SCP connections to remote MySQL Database using OpenOffice Possible?
On Mon, Mar 10, 2008 at 7:50 AM, Therese Trudeau [EMAIL PROTECTED] wrote: I can connect to the remote database via Linux desktop, it's just via an un encrypted connection through port 3306. For obvious reasons I don't want to do it that way. My question is, is OpenOffice Calc able to connect to remote databases via SSH and or SCP? If so, do I need a plug in for that, or need to configure calc to do that in some way? How would I do this, or which plug in(s) do I need? No, but what you could do is use an ssh tunnel to accomplish this. Something along the lines of ssh -L 3307:database.example.net:3306 database.example.net This will tell your system to tunnel the local port 3307 through the database box, TO the database box on port 3306. From this point, after you connect via ssh with the above command, you can simply point your database software to the local 3307 port in plain text, and it'll travel over ssh to the remote box. I've probably done a bad job explaining this, so I'll go get some more coffee. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: kickstart post section
Jerry Geis wrote: Is there a way in the %post section of install to continue to have the VT3 logging but also log that to a file. Somehow using tee perhaps? I have found --log=/tmp/post-install.log but then that shows nothing on VT3. I would like to have both if possible. Log to VT and a file. THanks, Jerry Kickstart in RHEL5/CentOS 5 you can do this %post ( do your stuff here ) 1/root/kickstart-post-install.log 21 Not sure if older versions of RHEL/CentOS support that. nate Nate, I tried the above suggestion and it did not have the desired effect. Everything gets logged to log file. I was hoping for a way to log to the file and also still see it on the screen also. Is there a way to do that? Jerry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Recommendations for a ?real RAID 1 card on Centos box
On Mon, Mar 10, 2008 at 12:17:29AM -0400, Therese Trudeau enlightened us: Ah great i'll check out the URL thanks. One thing, an earlier poster reccomended RAID 5 instead of RAID 1. I guess if one only has 2 drives RAID 1 is the way to go but if I have 4 drives he said go with RAID 5 over RAID 1. Isn't RAID 1 mirroring a better solution for a 4 drive array or am I missing something here? You'll get 4 copies of the same data if you do RAID 1 accross 4 drives. Your best bets for 4 drives will be RAID 5, RAID 6 or RAID 10. Each has its advantages and disadvantages, so you'll have to read up on them and make a decision as to which is best for your use. Matt -- Matt Hyclak Department of Mathematics Department of Social Work Ohio University (740) 593-1263 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Newer MySQL in centos-plus?
Hi List, I'm noticing that the CentOS-plus repo for 4.6 has MySQL 5.0.54 in it, but the CentOS 5.1 repo does not have a newer rpm, leaving the newest easily-available version as the vendor-provided mysql 5.0.22. Is there a reason for this? We're wanting to try a newer MySQL under CentOS 5.1 -- do any of the standard repos include such an RPM? Thanks! -Jeff ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: kickstart post section
I tried the above suggestion and it did not have the desired effect. Everything gets logged to log file. I was hoping for a way to log to the file and also still see it on the screen also. Have you tried something like this: %post ( do your stuff here ) 21 | tee post-install.log ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] SSH, SCP connections to remote MySQL Database using OpenOffice Possible?
I can connect to the remote database via Linux desktop, it's just via an un encrypted connection through port 3306. For obvious reasons I don't want to do it that way. My question is, is OpenOffice Calc able to connect to remote databases via SSH and or SCP? If so, do I need a plug in for that, or need to configure calc to do that in some way? How would I do this, or which plug in(s) do I need? No, but what you could do is use an ssh tunnel to accomplish this. Something along the lines of ssh -L 3307:database.example.net:3306 database.example.net This will tell your system to tunnel the local port 3307 through the database box, TO the database box on port 3306. From this point, after you connect via ssh with the above command, you can simply point your database software to the local 3307 port in plain text, and it'll travel over ssh to the remote box. I've probably done a bad job explaining this, so I'll go get some more coffee. Hehe THANKS Jim I need some too! So when I ssh -L 3307:database.example.net:3306, am I doing this via terminal prior to connecting with Calc (or base), then start up base and enter in just the regular database.example.net into the Server URL field in Clac or base? Or do I need to enter ssh -L 3307:database.example.net:3306 just once in to the Server URL FIeld from within OpenOffice Calc or VBase? _ Helping your favorite cause is as easy as instant messaging. You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Newer MySQL in centos-plus?
J. Potter wrote: Hi List, I'm noticing that the CentOS-plus repo for 4.6 has MySQL 5.0.54 in it, but the CentOS 5.1 repo does not have a newer rpm, leaving the newest easily-available version as the vendor-provided mysql 5.0.22. Is there a reason for this? We're wanting to try a newer MySQL under CentOS 5.1 -- do any of the standard repos include such an RPM? There is a newer mysql in the RHWAS stuff we are building, newer than 5.0.22. Should be in the centos repos soon -- Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS5.1 PHP 5.2 RPMs?
James Fidell wrote: Karanbir Singh wrote: James Fidell wrote: Is there a PHP 5.2 build for CentOS5.1 anywhere? Unfortunately I need a fix for a SOAP bug that is present in the current 5.1.6 release. Not yet, but we are working on it - there should be something there in the next few days. Will this be as part of the centosplus repository, or elsewhere? It will definitely be a part of the centosplus repo ( to ensure we get some upgrade path sanity from centos-4 ), however it might also be available as a separate repo itself. If you have centosplus enabled, you will see it for sure! -- Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSH, SCP connections to remote MySQL Database using OpenOffice Possible?
On Mon, Mar 10, 2008 at 09:18:55AM -0400, Therese Trudeau enlightened us: I can connect to the remote database via Linux desktop, it's just via an un encrypted connection through port 3306. For obvious reasons I don't want to do it that way. My question is, is OpenOffice Calc able to connect to remote databases via SSH and or SCP? If so, do I need a plug in for that, or need to configure calc to do that in some way? How would I do this, or which plug in(s) do I need? No, but what you could do is use an ssh tunnel to accomplish this. Something along the lines of ssh -L 3307:database.example.net:3306 database.example.net This will tell your system to tunnel the local port 3307 through the database box, TO the database box on port 3306. From this point, after you connect via ssh with the above command, you can simply point your database software to the local 3307 port in plain text, and it'll travel over ssh to the remote box. I've probably done a bad job explaining this, so I'll go get some more coffee. Hehe THANKS Jim I need some too! So when I ssh -L 3307:database.example.net:3306, am I doing this via terminal prior to connecting with Calc (or base), then start up base and enter in just the regular database.example.net into the Server URL field in Clac or base? Or do I need to enter ssh -L 3307:database.example.net:3306 just once in to the Server URL FIeld from within OpenOffice Calc or VBase? You should enter localhost:3307. That connects to the local end of your SSH tunnel. Matt -- Matt Hyclak Department of Mathematics Department of Social Work Ohio University (740) 593-1263 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Recommendations for a real RAID 1 card on Centos box
Karanbir Singh wrote: Therese Trudeau wrote: I'm just really looking for a RAID card that will do RAID 1, with four drive capacity, i.e., a master drive with the OS and applications installed and mirrored, and a slave drive for data and photos, graphic design, video, etc also mirrored. What would battery built into a RAID card do for me? the whole point of a BBU is that you can turn on write back caching - and get a fair win in write performance on regular tasks. You can turn on write back caching if you have a UPS as well (provided your UPS is wired into your system for a graceful shutdown) I've never noticed any data loss from write cache being enabled on a 3ware card that didn't have a BBU. Not to say that BBU is a not a good idea in any case. Of the ~400 3Ware cards I've used(90% of them being 8006-2), only a handful have had a BBU. But all of them were backed either by a basic UPS or a full UPS with generator backup. I haven't run a computer without a UPS since 1996 ? It's second nature these days I don't even remember to recommend them anymore. Of course I may of had data loss, but in the past 8 years it's not been anything that I've personally noticed. I'm not sure if all 3Ware models support BBU or not. For anything real serious like I prefer bigger dedicated storage systems, my array of choice these days comes from 3PAR (entry level pricing ~$90k), really makes my job easy and stress free. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Recommendations for a real RAID 1 card on Centos box
Therese Trudeau wrote: Ah great i'll check out the URL thanks. One thing, an earlier poster reccomended RAID 5 instead of RAID 1. I guess if one only has 2 drives RAID 1 is the way to go but if I have 4 drives he said go with RAID 5 over RAID 1. Isn't RAID 1 mirroring a better solution for a 4 drive array or am I missing something here? Depends on your needs, RAID 1 is certainly faster. RAID 1+0 faster still, but requires more disk(s/space). Going back to my preferred array vendor, 3PAR, their software/hardware provides the ability to do online RAID conversions to/from RAID 0, 1+0, and 5+0 (3+1 parity to 8+1 parity) with no impact to the server. It also provides the ability to run multiple raid levels on the same physical disks because the RAID is made up of portions of the disks (each disk split into 256MB chunks), rather than the full physical disks themselves. Really flexible/powerful/fast. I love it! On my array I run RAID 1+0 on the outer regions of the disk(~7% faster than the inner regions), and RAID 5+0 (8+1) on the inner regions of the disks. Of course this sort of technology isn't priced for the desktop unless your doing something like desktop consolidation with virtualization or remote application hosting/thin client. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: kickstart post section
Jerry Geis wrote: I tried the above suggestion and it did not have the desired effect. Everything gets logged to log file. I was hoping for a way to log to the file and also still see it on the screen also. Is there a way to do that? As another poster noted you can use tee, which should do the job. For my systems I have the server email me upon initial reboot among other things the contents of the post-install for review. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Recommendations for a real RAID 1 card on Centos box
nate wrote: Therese Trudeau wrote: Ah great i'll check out the URL thanks. One thing, an earlier poster reccomended RAID 5 instead of RAID 1. I guess if one only has 2 drives RAID 1 is the way to go but if I have 4 drives he said go with RAID 5 over RAID 1. Isn't RAID 1 mirroring a better solution for a 4 drive array or am I missing something here? Depends on your needs, RAID 1 is certainly faster. RAID 1+0 faster still, but requires more disk(s/space). Going back to my preferred array vendor, 3PAR, their software/hardware provides the ability to do online RAID conversions to/from RAID 0, 1+0, and 5+0 (3+1 parity to 8+1 parity) with no impact to the server. It also provides the ability to run multiple raid levels on the same physical disks because the RAID is made up of portions of the disks (each disk split into 256MB chunks), rather than the full physical disks themselves. Really flexible/powerful/fast. I love it! On my array I run RAID 1+0 on the outer regions of the disk(~7% faster than the inner regions), and RAID 5+0 (8+1) on the inner regions of the disks. Of course this sort of technology isn't priced for the desktop unless your doing something like desktop consolidation with virtualization or remote application hosting/thin client. I just had to put my .02 in here: The key requirement here is technology for the desktop. Since this is going to be a single user box I really do not recommend mucking around with hardware RAID at all. You have 4 disks, create a software RAID mirror out of disk 1 and 2, and a software mirror out of 3 and 4. Make a VG out of the first mirror, call it CentOS and put the OS and all your applications there, including home. Make a VG out of the second mirror, call it Work and put all your work material there. Then you can always upgrade the OS disks without touching your work disks. You can export your work disks VG, move the disks over to a new machine and work there. Create snapshots of your work disks, backup your work onto your OS disks, etc. A couple of 80 or 160GB disks for the CentOS VG, a couple of 320GB disks for the Work VG and your good to go. If you want any advise on setting up LVM and LVs for different file systems I, and everyone on the list, would be happy to give their opinions. This is the easiest, most flexible and fastest way to get a good performing redundant desktop setup. -Ross __ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. smime.p7s Description: S/MIME cryptographic signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: error mounting NFS client on NFS server
on 3-7-2008 10:55 PM Rudi Ahlers spake the following: My NFS server is on 192.168.10.10, with the following setup in /etc/exports: /backup 192.168.10.0/24(rw) Then, form a client (192.168.10.11), I run mount 192.168.10.10:/backup /bck, but get the following error: [EMAIL PROTECTED] [~]# mount 192.168.10.10:/backup /bck mount.nfs: Input/output error On the main server, I see this in /var/log/messages: Mar 8 08:42:52 venus kernel: kjournald starting. Commit interval 5 seconds Mar 8 08:42:52 venus kernel: EXT3 FS on dm-6, internal journal Mar 8 08:42:52 venus kernel: EXT3-fs: mounted filesystem with ordered data mode. Mar 8 08:43:02 venus mountd[10383]: authenticated mount request from 192.168.10.11:989 for /backup (/backup) Does your nfs user have access to that directory on NFS server? -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] centos ldap client authentication
On Sun, 2008-03-09 at 23:24 -0400, Dave wrote: Hello, I've got a FreeBSD openldap server set up and i'd like to authenticate to it with a centos 5.1 client. The server is also acting as a client itself and user access works fine from it. On the clientside I'm getting an error can not search ldap server, server is unavailable. This is with pam_ldap. I'm using tls encryption. On the client if i do: ldapsearch -xZ i get every entry in my directory. And if i do: ldapsearch -xZ -L '(uid=user)' i get a specific user out of it, so i'm concluding the error is in my /etc/ldap.conf file. I've added ldap to my nsswitch.conf file clientside to the passwd, shadow, and group lines. On the server i'm seeing a tls negotiation failure error msg and the client as i said can not search ldap server. system-config-authentication does more than edit /etc/ldap.conf and /etc/nsswitch.com, it also changes /etc/pam.d/system-auth and that is pretty necessary. Suggest that you run the tool Craig ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Recommendations for a real RAID 1 card on Centos box
nate wrote the whole point of a BBU is that you can turn on write back caching - and get a fair win in write performance on regular tasks. You can turn on write back caching if you have a UPS as well (provided your UPS is wired into your system for a graceful shutdown) UPS isnt going to help in cases where something breaks on the inner side ( psu fail, mobo fail, ram blows up etc ). But, I am with Ross on this one - if its just a desktop machine, it might be well worth doing a bit of RTFM, and setting up a md-raid/lvm volume and be done with it. -- Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] SSH, SCP connections to remote MySQL Database using OpenOffice Possible?
I can connect to the remote database via Linux desktop, it's just via an un encrypted connection through port 3306. For obvious reasons I don't want to do it that way. My question is, is OpenOffice Calc able to connect to remote databases via SSH and or SCP? If so, do I need a plug in for that, or need to configure calc to do that in some way? How would I do this, or which plug in(s) do I need? No, but what you could do is use an ssh tunnel to accomplish this. Something along the lines of ssh -L 3307:database.example.net:3306 database.example.net This will tell your system to tunnel the local port 3307 through the database box, TO the database box on port 3306. From this point, after you connect via ssh with the above command, you can simply point your database software to the local 3307 port in plain text, and it'll travel over ssh to the remote box. I've probably done a bad job explaining this, so I'll go get some more coffee. Hehe THANKS Jim I need some too! So when I ssh -L 3307:database.example.net:3306, am I doing this via terminal prior to connecting with Calc (or base), then start up base and enter in just the regular database.example.net into the Server URL field in Clac or base? Or do I need to enter ssh -L 3307:database.example.net:3306 just once in to the Server URL FIeld from within OpenOffice Calc or VBase? You should enter localhost:3307. That connects to the local end of your SSH tunnel. OK this is what I tried - I opened up terminal on my local desktop machine, and I issued the command: ssh -L 3307:domain.name.of.DesktopLocalMySQLserver:3306 [EMAIL PROTECTED] Then I started up OpenOffice Calc, clicked on FileNewDatabase, and in the area where it asks for the ServerURL, I entered in: localhost:3307 and just below it where it asks for the port number I also entered in 3307 (the default is 3306). The error I got was Illegal Connection Port Value 3307:3307: and I could not connect. _ Need to know the score, the latest news, or you need your Hotmail®-get your fix. http://www.msnmobilefix.com/Default.aspx___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: Recommendations for a “real RAID 1 card on Centos box
on 3-9-2008 5:36 PM Therese Trudeau spake the following: So these cards are just plug n play? Just plug them in, no software or drivers required, all mirroring is managed by firmware built into the card RAID card itself? Drivers are required for all storage adapters(RAID or not). 3Ware handles raid in hardware, not in software, it has a bios which you'd typically use to configure the array, you can boot off of the array, etc. 3Ware also offers a management tool for linux (CLI and/or web based) which allows for monitoring, and controlling the adapter's configuration settings. 3Ware has had their linux drivers in the kernel for at least... 8 years now? maybe longer. So any linux distro should have no trouble detecting the card. The latest 9650 cards are pretty new and use a new driver, which may or may not be supported, CentOS 5.1 should work with it fine though(support for CentOS 4 was added almost a year ago, I think with v4.5) They also support hot swap, provided the interface to the disk supports it(typically a hot swap backplane). Great thanks for that info Nate, I just checked out their web site, looks like the 9500S-4LP would suit my needs for a desktop machine. I've been leary about desktop RAID cards because a few years ago, I bought an adaptec 1210SA RAID card which supposedly does RAID 1 I never could get the darn thing to work in my old windows machine and years later found out it is really a fake raid card. It's been collecting dust ever since may as well throw it out. The drivers it required never worked with W2K. But the Centos server I use has adaptec SCSI RAID controller in it, I guess on the high end for SCSI RAID, adaptec is known for good raid cards, but the one I bought sure did nothing for me for my desktop. _ Adaptec makes both true HW raid and re-sells fakeraid cards. I guess they wanted a piece of both pies. But 3ware only makes HW raid cards AFAIK. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Re: kickstart post section
Jerry Geis wrote: Jerry Geis wrote: Is there a way in the %post section of install to continue to have the VT3 logging but also log that to a file. Somehow using tee perhaps? I have found --log=/tmp/post-install.log but then that shows nothing on VT3. I would like to have both if possible. Log to VT and a file. THanks, Jerry Kickstart in RHEL5/CentOS 5 you can do this %post ( do your stuff here ) 1/root/kickstart-post-install.log 21 Not sure if older versions of RHEL/CentOS support that. nate Nate, I tried the above suggestion and it did not have the desired effect. Everything gets logged to log file. I was hoping for a way to log to the file and also still see it on the screen also. Is there a way to do that? Jerry It looks like this: %post ( do your stuff here ) 21 | tee /root/post-install.log works except for 1 item. I do a yum udpate in the post section and NONE of the data that gets printed during the yum update was logged. Everything else was logged just fine. Any idea there? Jerry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] FTP aborting
ftp ftp.ietf.org cd rfc prompt mget *index* gets part way through then. local: rfc-index-latest remote: rfc-index-latest 227 Entering Passive Mode (64,170,98,32,156,203) 150 Opening BINARY mode data connection for rfc-index-latest (4042 bytes). *** glibc detected *** ftp: malloc(): memory corruption: 0x091645d0 *** === Backtrace: = /lib/libc.so.6[0x3c714c] /lib/libc.so.6(__libc_malloc+0x7e)[0x3c82ee] /lib/libc.so.6(__strdup+0x30)[0x3ccd20] /lib/libselinux.so.1(matchpathcon+0x11a)[0xe4568a] /usr/lib/libkrb5support.so.0[0x113abd] /usr/lib/libkrb5support.so.0(krb5int_labeled_fopen+0x37)[0x113dc7] ftp[0x327288] ftp[0x321dbf] ftp(main+0x48a)[0x32] /lib/libc.so.6(__libc_start_main+0xdc)[0x375dec] ftp[0x31c8c1] === Memory map: 0011-00118000 r-xp fd:00 2910060 /usr/lib/libkrb5support.so.0.1 00118000-00119000 rwxp 7000 fd:00 2910060 /usr/lib/libkrb5support.so.0.1 00119000-00122000 r-xp fd:00 2392104/lib/libnss_files-2.5.so 00122000-00123000 r-xp 8000 fd:00 2392104/lib/libnss_files-2.5.so 00123000-00124000 rwxp 9000 fd:00 2392104/lib/libnss_files-2.5.so 00124000-0012f000 r-xp fd:00 2392103 /lib/libgcc_s-4.1.2-20070626.so.1 0012f000-0013 rwxp a000 fd:00 2392103 /lib/libgcc_s-4.1.2-20070626.so.1 00141000-0017c000 r-xp fd:00 2392133/lib/libsepol.so.1 0017c000-0017d000 rwxp 0003a000 fd:00 2392133/lib/libsepol.so.1 0017d000-00187000 rwxp 0017d000 00:00 0 001ad000-001af000 r-xp fd:00 2392095/lib/libdl-2.5.so 001af000-001b r-xp 1000 fd:00 2392095/lib/libdl-2.5.so 001b-001b1000 rwxp 2000 fd:00 2392095/lib/libdl-2.5.so 00251000-002e1000 r-xp fd:00 2910095/usr/lib/libkrb5.so.3.3 002e1000-002e4000 rwxp 0008f000 fd:00 2910095/usr/lib/libkrb5.so.3.3 00319000-0033 r-xp fd:00 3411576/usr/kerberos/bin/ftp 0033-00333000 rwxp 00016000 fd:00 3411576/usr/kerberos/bin/ftp 00333000-0036 rwxp 00333000 00:00 0 0036-0049a000 r-xp fd:00 2392089/lib/libc-2.5.so 0049a000-0049c000 r-xp 0013a000 fd:00 2392089/lib/libc-2.5.so 0049c000-0049d000 rwxp 0013c000 fd:00 2392089/lib/libc-2.5.so 0049d000-004a rwxp 0049d000 00:00 0 004ed000-00506000 r-xp fd:00 2392082/lib/ld-2.5.so 00506000-00507000 r-xp 00019000 fd:00 2392082/lib/ld-2.5.so 00507000-00508000 rwxp 0001a000 fd:00 2392082/lib/ld-2.5.so 005d7000-005ee000 r-xp fd:00 289/usr/lib/libkrb4.so.2.0 005ee000-005ef000 rwxp 00017000 fd:00 289/usr/lib/libkrb4.so.2.0 005ef000-005f4000 rwxp 005ef000 00:00 0 007fa000-007fb000 r-xp 007fa000 00:00 0 [vdso] 008e2000-008e4000 r-xp fd:00 2394063/lib/libcom_err.so.2.1 008e4000-008e5000 rwxp 1000 fd:00 2394063/lib/libcom_err.so.2.1 00956000-00959000 r-xp fd:00 2903959/usr/lib/libdes425.so.3.0 00959000-0095a000 rwxp 2000 fd:00 2903959/usr/lib/libdes425.so.3.0 009f4000-00a19000 r-xp fd:00 2911662/usr/lib/libk5crypto.so.3.1 00a19000-00a1a000 rwxp 00025000 fd:00 2911662/usr/lib/libk5crypto.so.3.1 00ad7000-00adb000 r-xp fd:00 2392102/lib/libnss_dns-2.5.so 00adb000-00adc000 r-xp 3000 fd:00 2392102/lib/libnss_dns-2.5.so 00adc000-00add000 rwxp 4000 fd:00 2392102/lib/libnss_dns-2.5.so 00b94000-00ba3000 r-xp fd:00 2394062/lib/libresolv-2.5.so 00ba3000-00ba4000 r-xp e000 fd:00 2394062/lib/libresolv-2.5.so 00ba4000-00ba5000 rwxp f000 fd:00 2394062/lib/libresolv-2.5.so 00ba5000-00ba7000 rwxp 00ba5000 00:00 0 00d9c000-00dc9000 r-xp fd:00 2911664 /usr/lib/libgssapi_krb5.so.2.2 00dc9000-00dca000 rwxp 0002d000 fd:00 2911664 /usr/lib/libgssapi_krb5.so.2.2 00e38000-00e4d000 r-xp fd:00 2392271/lib/libselinux.so.1 00e4d000-00e4f000 rwxp 00015000 fd:00 2392271/lib/libselinux.so.1 00ea5000-00eaa000 r-xp fd:00 2392117/lib/libcrypt-2.5.so 00eaa000-00eab000 r-xp 4000 fd:00 2392117/lib/libcrypt-2.5.so 00eab000-00eac000 rwxp 5000 fd:00 2392117/lib/libcrypt-2.5.so 00eac000-00ed3000 rwxp 00eac000 00:00 0 00ff1000-00ff3000 r-xp fd:00 2394061/lib/libkeyutils-1.2.so 00ff3000-00ff4000 rwxp 1000 fd:00 2394061/lib/libkeyutils-1.2.so 08b36000-09187000 rw-p 08b36000 00:00 0 b7e0-b7e21000 rw-p b7e0 00:00 0 b7e21000-b7f0 ---p b7e21000 00:00 0 b7f71000-b7f93000 rwAborted any help? I am sitting in the IETF RUCUS BOF, and I want to grab a number of rfcs ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSH, SCP connections to remote MySQL Database using OpenOffice Possible?
On Mon, Mar 10, 2008 at 12:38:34PM -0400, Therese Trudeau enlightened us: I can connect to the remote database via Linux desktop, it's just via an un encrypted connection through port 3306. For obvious reasons I don't want to do it that way. My question is, is OpenOffice Calc able to connect to remote databases via SSH and or SCP? If so, do I need a plug in for that, or need to configure calc to do that in some way? How would I do this, or which plug in(s) do I need? No, but what you could do is use an ssh tunnel to accomplish this. Something along the lines of ssh -L 3307:database.example.net:3306 database.example.net This will tell your system to tunnel the local port 3307 through the database box, TO the database box on port 3306. From this point, after you connect via ssh with the above command, you can simply point your database software to the local 3307 port in plain text, and it'll travel over ssh to the remote box. I've probably done a bad job explaining this, so I'll go get some more coffee. Hehe THANKS Jim I need some too! So when I ssh -L 3307:database.example.net:3306, am I doing this via terminal prior to connecting with Calc (or base), then start up base and enter in just the regular database.example.net into the Server URL field in Clac or base? Or do I need to enter ssh -L 3307:database.example.net:3306 just once in to the Server URL FIeld from within OpenOffice Calc or VBase? You should enter localhost:3307. That connects to the local end of your SSH tunnel. OK this is what I tried - I opened up terminal on my local desktop machine, and I issued the command: ssh -L 3307:domain.name.of.DesktopLocalMySQLserver:3306 [EMAIL PROTECTED] Then I started up OpenOffice Calc, clicked on FileNewDatabase, and in the area where it asks for the ServerURL, I entered in: localhost:3307 and just below it where it asks for the port number I also entered in 3307 (the default is 3306). The error I got was Illegal Connection Port Value 3307:3307: and I could not connect. I think what you really want is ssh -L 3307:localhost:3306 remote.db.server The host in the middle is relative to the end machine. You could also probably do ssh -L 3307:remote.db.server:3306 remote.db.server (for that matter, I don't see why you couldn't do ssh -L 3306:... as long as you don't have mysql running on your desktop) Matt -- Matt Hyclak Department of Mathematics Department of Social Work Ohio University (740) 593-1263 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FTP aborting
On Mon, Mar 10, 2008 at 01:21:00PM -0400, Robert Moskowitz wrote: ftp ftp.ietf.org cd rfc prompt mget *index* gets part way through then. ... any help? What about some context information (http://www.catb.org/~esr/faqs/smart-questions.html) CentOS version? arch? glibc version? ftp (or lftp?)... How reproducible? could be a network driver glitch NIC, make and model, driver (modinfo) ... Tru -- Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance) http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B pgpT2K7Ea3NIv.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Cron in logwatch
When I enable logging = 5 (medium) in logwatch, I get my cron log updates but hourly as well which is to frequent? How can I get cron log updates in the once-daily logwatch I am used to when logging is set to low? Thanks! jlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] root vs. user login
hi all, when i login as root, i got: [EMAIL PROTECTED] html]# any other user, i got: -bash-3.1$ what do i need to change for user profile or during user creation process to make it looks like: [EMAIL PROTECTED] html]# thanks t. hiep ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] root vs. user login
On Mon, 10 Mar 2008 11:07:48 -0700 (PDT) Hiep Nguyen [EMAIL PROTECTED] wrote: what do i need to change for user profile or during user creation process to make it looks like: That's normally set through .bashrc as contained in /etc/skel so it's inherited by all new users when they are created. For existing users, you can just copy /etc/skel/.bashrc to their home directory. -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FTP aborting
On Mon, Mar 10, 2008 at 02:04:21PM -0400, Robert Moskowitz wrote: thanks. Now I know some info to supply! :D Centos 5.1, everything current as of yesterday. ftp-0.17-33.fc6.i386.rpm glibc-2.5-18.el5_1.1.i686.rpm glibc-common-2.5-18.el5_1.1.i386.rpm glibc-devel-2.5-18.el5_1.1.i386.rpm glibc-headers-2.5-18.el5_1.1.i386.rpm How reproducible? could be a network driver glitch Keeps happening, I switched to wget and not having problems. are you using the latest kernel? (uname -a) 2.6.18-53.1.14.el5 NIC, make and model, driver (modinfo) ... using dkms ipw3945. dkms-2.0.17.6-1.el5.rf.noarch.rpm dkms-ipw3945-1.2.1-1.nodist.rf.noarch.rpm ipw3945-firmware-1.14.2-1.nodist.rf.noarch.rpm ipw3945d-1.7.22-4.nodist.rf.i386.rpm I could not reproduce it on my 32 and 64 bits machines but they are both using plain wired ethernet (not wifi) on a local disk. local or NFS/remote storage? is lftp showing the same issue? Tru -- Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance) http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B pgpawXjfH35by.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FTP aborting
thanks. Now I know some info to supply! Tru Huynh wrote: On Mon, Mar 10, 2008 at 01:21:00PM -0400, Robert Moskowitz wrote: ftp ftp.ietf.org cd rfc prompt mget *index* gets part way through then. ... any help? What about some context information (http://www.catb.org/~esr/faqs/smart-questions.html) CentOS version? arch? glibc version? ftp (or lftp?)... Centos 5.1, everything current as of yesterday. ftp-0.17-33.fc6.i386.rpm glibc-2.5-18.el5_1.1.i686.rpm glibc-common-2.5-18.el5_1.1.i386.rpm glibc-devel-2.5-18.el5_1.1.i386.rpm glibc-headers-2.5-18.el5_1.1.i386.rpm How reproducible? could be a network driver glitch Keeps happening, I switched to wget and not having problems. NIC, make and model, driver (modinfo) ... using dkms ipw3945. dkms-2.0.17.6-1.el5.rf.noarch.rpm dkms-ipw3945-1.2.1-1.nodist.rf.noarch.rpm ipw3945-firmware-1.14.2-1.nodist.rf.noarch.rpm ipw3945d-1.7.22-4.nodist.rf.i386.rpm ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FTP aborting
Tru Huynh wrote: On Mon, Mar 10, 2008 at 02:04:21PM -0400, Robert Moskowitz wrote: thanks. Now I know some info to supply! :D Centos 5.1, everything current as of yesterday. ftp-0.17-33.fc6.i386.rpm glibc-2.5-18.el5_1.1.i686.rpm glibc-common-2.5-18.el5_1.1.i386.rpm glibc-devel-2.5-18.el5_1.1.i386.rpm glibc-headers-2.5-18.el5_1.1.i386.rpm How reproducible? could be a network driver glitch Keeps happening, I switched to wget and not having problems. are you using the latest kernel? (uname -a) 2.6.18-53.1.14.el5 Yes. I was oblique saying I was current as of yesterday... NIC, make and model, driver (modinfo) ... using dkms ipw3945. dkms-2.0.17.6-1.el5.rf.noarch.rpm dkms-ipw3945-1.2.1-1.nodist.rf.noarch.rpm ipw3945-firmware-1.14.2-1.nodist.rf.noarch.rpm ipw3945d-1.7.22-4.nodist.rf.i386.rpm I could not reproduce it on my 32 and 64 bits machines but they are both using plain wired ethernet (not wifi) on a local disk. local or NFS/remote storage? local. is lftp showing the same issue? Ohhh. Let me try this. Forgot about lftp, infact have never used it... It worked fine. lftp ftp.ietf.org cd rfc mget *index* and no crash. Tru ___ 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] internet search (not relate to Centos)
hi all, i have a little problem and seek for your advice. search jade sterling on google, msn or any other, the return is: Offering surplus bar and rod, selling to the Forging Industry, CNC Machining Industry and Screw Machine Industry supplying hot rolled and cold finished i went through all my pages and can't find Offering surplus. my question is how do i remove these words??? i hope i don't have to contact google or msn. thanks, t. hiep sorry for off-topic posting. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] internet search (not relate to Centos)
What words do you want to remove, and from what pages do you want to remove these words from? -- Original message from Hiep Nguyen [EMAIL PROTECTED]: -- hi all, i have a little problem and seek for your advice. search "jade sterling" on google, msn or any other, the return is: Offering surplus bar and rod, selling to the Forging Industry, CNC Machining Industry and Screw Machine Industry supplying hot rolled and cold finished i went through all my pages and can't find "Offering surplus". my question is how do i remove these words??? i hope i don't have to contact google or msn. thanks, t. hiep sorry for off-topic posting. ___ 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] internet search (not relate to Centos)
surplus is the word i would like to remove from all pages. t. hiep On Mon, 10 Mar 2008, [EMAIL PROTECTED] wrote: What words do you want to remove, and from what pages do you want to remove these words from? -- Original message from Hiep Nguyen [EMAIL PROTECTED]: -- hi all, i have a little problem and seek for your advice. search jade sterling on google, msn or any other, the return is: Offering surplus bar and rod, selling to the Forging Industry, CNC Machining Industry and Screw Machine Industry supplying hot rolled and cold finished i went through all my pages and can't find Offering surplus. my question is how do i remove these words??? i hope i don't have to contact google or msn. thanks, t. hiep sorry for off-topic posting. ___ 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] Recommendations for a “real RAID 1 card on Centos box
On 3/10/08, nate [EMAIL PROTECTED] wrote: You can turn on write back caching if you have a UPS as well (provided your UPS is wired into your system for a graceful shutdown) Hopefully you have a redundant PS unit. Having a UPS is not going to help if your PS fails. -- Robert Arkiletian Eric Hamber Secondary, Vancouver, Canada Fl_TeacherTool http://www3.telus.net/public/robark/Fl_TeacherTool/ C++ GUI tutorial http://www3.telus.net/public/robark/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Recommendations for a real RAID 1 card on Centos box
Robert Arkiletian wrote: On 3/10/08, nate [EMAIL PROTECTED] wrote: You can turn on write back caching if you have a UPS as well (provided your UPS is wired into your system for a graceful shutdown) Hopefully you have a redundant PS unit. Having a UPS is not going to help if your PS fails. How about a simple kernel panic! A simple kernel panic will hose your file system with write-back and no BBU. -Ross __ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. smime.p7s Description: S/MIME cryptographic signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] SSH, SCP connections to remote MySQL Database using OpenOffice Possible?
Date: Mon, 10 Mar 2008 13:27:28 -0400 From: [EMAIL PROTECTED] To: centos@centos.org Subject: Re: [CentOS] SSH,SCP connections to remote MySQL Database using OpenOffice Possible? On Mon, Mar 10, 2008 at 12:38:34PM -0400, Therese Trudeau enlightened us: I can connect to the remote database via Linux desktop, it's just via an un encrypted connection through port 3306. For obvious reasons I don't want to do it that way. My question is, is OpenOffice Calc able to connect to remote databases via SSH and or SCP? If so, do I need a plug in for that, or need to configure calc to do that in some way? How would I do this, or which plug in(s) do I need? No, but what you could do is use an ssh tunnel to accomplish this. Something along the lines of ssh -L 3307:database.example.net:3306 database.example.net This will tell your system to tunnel the local port 3307 through the database box, TO the database box on port 3306. From this point, after you connect via ssh with the above command, you can simply point your database software to the local 3307 port in plain text, and it'll travel over ssh to the remote box. I've probably done a bad job explaining this, so I'll go get some more coffee. Hehe THANKS Jim I need some too! So when I ssh -L 3307:database.example.net:3306, am I doing this via terminal prior to connecting with Calc (or base), then start up base and enter in just the regular database.example.net into the Server URL field in Clac or base? Or do I need to enter ssh -L 3307:database.example.net:3306 just once in to the Server URL FIeld from within OpenOffice Calc or VBase? You should enter localhost:3307. That connects to the local end of your SSH tunnel. OK this is what I tried - I opened up terminal on my local desktop machine, and I issued the command: ssh -L 3307:domain.name.of.DesktopLocalMySQLserver:3306 [EMAIL PROTECTED] Then I started up OpenOffice Calc, clicked on FileNewDatabase, and in the area where it asks for the ServerURL, I entered in: localhost:3307 and just below it where it asks for the port number I also entered in 3307 (the default is 3306). The error I got was Illegal Connection Port Value 3307:3307: and I could not connect. I think what you really want is ssh -L 3307:localhost:3306 remote.db.server The host in the middle is relative to the end machine. You could also probably do ssh -L 3307:remote.db.server:3306 remote.db.server (for that matter, I don't see why you couldn't do ssh -L 3306:... as long as you don't have mysql running on your desktop) OK so you are saying to enter into Terminal, either: ssh -L 3307:localhost:3306 remote.db.server , OR enter into Terminal: ssh -L 3307:remote.db.server:3306 remote.db.server and substitute in my remote server address for remote.db.server Once I do that, what should I enter into the OpenOffice Calc Spreadsheet Application Dialog box, in order to get the OpenOffice Calc local applicationwhich resides on my desktop machine to read the remote database? _ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] internet search (not relate to Centos)
On Mon, Mar 10, 2008 at 2:45 PM, Hiep Nguyen [EMAIL PROTECTED] wrote: hi all, i have a little problem and seek for your advice. search jade sterling on google, msn or any other, the return is: Offering surplus bar and rod, selling to the Forging Industry, CNC Machining Industry and Screw Machine Industry supplying hot rolled and cold finished i went through all my pages and can't find Offering surplus. my question is how do i remove these words??? At least on google, you can force to search for sites without specific words by prefixing a '-'. So in your example enter the following in the search bar: jade sterling -surplus -hth ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Recommendations for a “real RA ID 1 card on Centos box
Robert Arkiletian wrote: On 3/10/08, nate [EMAIL PROTECTED] wrote: You can turn on write back caching if you have a UPS as well (provided your UPS is wired into your system for a graceful shutdown) Hopefully you have a redundant PS unit. Having a UPS is not going to help if your PS fails. redundant power supplies connected to redundant UPS's. I've seen more UPS failures than I've ever had failed PSUs on proper server grade hardware. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSH, SCP connections to remote MySQL Database using OpenOffice Possible?
On Mon, Mar 10, 2008 at 03:08:19PM -0400, Therese Trudeau enlightened us: Date: Mon, 10 Mar 2008 13:27:28 -0400 From: [EMAIL PROTECTED] To: centos@centos.org Subject: Re: [CentOS] SSH, SCP connections to remote MySQL Database using OpenOffice Possible? On Mon, Mar 10, 2008 at 12:38:34PM -0400, Therese Trudeau enlightened us: I can connect to the remote database via Linux desktop, it's just via an un encrypted connection through port 3306. For obvious reasons I don't want to do it that way. My question is, is OpenOffice Calc able to connect to remote databases via SSH and or SCP? If so, do I need a plug in for that, or need to configure calc to do that in some way? How would I do this, or which plug in(s) do I need? No, but what you could do is use an ssh tunnel to accomplish this. Something along the lines of ssh -L 3307:database.example.net:3306 database.example.net This will tell your system to tunnel the local port 3307 through the database box, TO the database box on port 3306. From this point, after you connect via ssh with the above command, you can simply point your database software to the local 3307 port in plain text, and it'll travel over ssh to the remote box. I've probably done a bad job explaining this, so I'll go get some more coffee. Hehe THANKS Jim I need some too! So when I ssh -L 3307:database.example.net:3306, am I doing this via terminal prior to connecting with Calc (or base), then start up base and enter in just the regular database.example.net into the Server URL field in Clac or base? Or do I need to enter ssh -L 3307:database.example.net:3306 just once in to the Server URL FIeld from within OpenOffice Calc or VBase? You should enter localhost:3307. That connects to the local end of your SSH tunnel. OK this is what I tried - I opened up terminal on my local desktop machine, and I issued the command: ssh -L 3307:domain.name.of.DesktopLocalMySQLserver:3306 [EMAIL PROTECTED] Then I started up OpenOffice Calc, clicked on FileNewDatabase, and in the area where it asks for the ServerURL, I entered in: localhost:3307 and just below it where it asks for the port number I also entered in 3307 (the default is 3306). The error I got was Illegal Connection Port Value 3307:3307: and I could not connect. I think what you really want is ssh -L 3307:localhost:3306 remote.db.server The host in the middle is relative to the end machine. You could also probably do ssh -L 3307:remote.db.server:3306 remote.db.server (for that matter, I don't see why you couldn't do ssh -L 3306:... as long as you don't have mysql running on your desktop) OK so you are saying to enter into Terminal, either: ssh -L 3307:localhost:3306 remote.db.server , OR enter into Terminal: ssh -L 3307:remote.db.server:3306 remote.db.server and substitute in my remote server address for remote.db.server Once I do that, what should I enter into the OpenOffice Calc Spreadsheet Application Dialog box, in order to get the OpenOffice Calc local applicationwhich resides on my desktop machine to read the remote database? Correct, that *should* work. Matt -- Matt Hyclak Department of Mathematics Department of Social Work Ohio University (740) 593-1263 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] internet search (not relate to Centos)
On Mon, 10 Mar 2008 11:45:45 -0700 (PDT) Hiep Nguyen [EMAIL PROTECTED] wrote: i went through all my pages and can't find Offering surplus. my question is how do i remove these words??? At some point in the (relatively recent) past, the search bots apparently found that text on your web pages. As you have now removed it, the same bots will eventually crawl your site again and update their index to reflect your current content. I don't think there is a way to directly demand that your site be reindexed, but if you wait a while (from a few days to a few months, I suppose) it will eventually happen. -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] root vs. user login
The profile file mentioned below is going to set the PS1 environment variable. For more information, you might want to look at the bash man page in the PROMPTING section. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frank Cox Sent: March 10, 2008 14:17 To: CentOS mailing list Subject: Re: [CentOS] root vs. user login On Mon, 10 Mar 2008 11:07:48 -0700 (PDT) Hiep Nguyen [EMAIL PROTECTED] wrote: what do i need to change for user profile or during user creation process to make it looks like: That's normally set through .bashrc as contained in /etc/skel so it's inherited by all new users when they are created. For existing users, you can just copy /etc/skel/.bashrc to their home directory. -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.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] Recommendations for a real RAID 1 card on Centos box
Robert Arkiletian wrote: On 3/10/08, nate [EMAIL PROTECTED] wrote: You can turn on write back caching if you have a UPS as well (provided your UPS is wired into your system for a graceful shutdown) Hopefully you have a redundant PS unit. Having a UPS is not going to help if your PS fails. That is true, buy high quality stuff up front for fewer problems down the road. Not a sure bet, but a better one. In the half dozen systems I've been running at home for the past several years none of them have suffered a hardware failure of any kind(fortunately). I've been running PC Power and Cooling power supplies for about 9 years now, really high quality PSUs(last one I bought was about 4 years ago, can't speak for their quality now). I've had 15 power supplies fail across about 600 systems in the past 8 years at my various jobs. Probably 150+ disk failures during that same time on the same systems. And maybe 3 RAID card failures(all of which were caught before the system was put into use). In 2005 when I purchased about 200 Cyclades managed power stripes I had at least 10 of those fail, which was scary. Their QA at the time was pretty poor(I toured their facility in early 2006), they claimed I was one of only two customers that were having problems with their power strips(and I had less than 100 of those PDUs in use at the time so ~10% failure rate). They've since been bought by Advocent and they're probably well on their way to outsourcing their manufacturing which they said would improve quality since it would force them to make better specs for testing and stuff. So BBU is certainly a nice thing to have but at least in my experience isn't absolutely critical. Of course for absolutely critical things I don't use server-based RAID anyways. Multiple redundant controllers, multiple redundant paths(to both the disks and to the hosts), is the way to go(assuming your application(s) aren't built to be able to run on something like a distributed file system). I've seen that some of the latest HP servers have dual ported SAS disks, which sounds pretty neat. I assume they still only have one controller though. My main storage array has a built in battery as well, it's pretty cool in that if the power goes out, it keeps the controller operational long enough to dump the contents of the cache(8GB) to an internal IDE disk, then powers off. Eliminates the need for having to maintain the battery during an extended(several day) outage. And of course the cache is mirrored between two controller nodes, and no writes are committed to disk before the write is processed by both nodes. If one node fails the cache is disabled on the remaining node until the other node recovers. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] internet search (not relate to Centos)
nevermind, obviously I misunderstood the question, sorry. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Viewing QT .mov files in Totem
CentOS-5.1 Is there anything special one must do to get the Totem shipped with CentOS-5 to display .mov files? When I try to view a file I get an error box with the message: Totem could not play 'file:///tmp/073_complex_forms_part_1.mov'. Could not decode stream. # rpm -qi totem Name: totem Relocations: (not relocatable) Version : 2.16.7 Vendor: CentOS Release : 1.el5Build Date: Sat 10 Nov 2007 07:59:57 PM EST Install Date: Mon 03 Dec 2007 02:43:35 PM EST Build Host: builder7.centos.org Group : Applications/Multimedia Source RPM: totem-2.16.7-1.el5.src.rpm Size: 5265974 License: GPL Signature : DSA/SHA1, Tue 20 Nov 2007 02:16:57 PM EST, Key ID a8a447dce8562897 URL : http://www.hadess.net/totem.php3 Summary : Movie player for GNOME 2 Description : Totem is simple movie player for the Gnome desktop. It features a simple playlist, a full-screen mode, seek and volume controls, as well as a pretty complete keyboard navigation. Regards, -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:[EMAIL PROTECTED] Harte Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] internet search (not relate to Centos)
On Mon, 10 Mar 2008 11:55:47 -0700 (PDT) Hiep Nguyen [EMAIL PROTECTED] wrote: surplus is the word i would like to remove from all pages. It is also worth noting that there is apparently something wrong with the structure of your web page. If you click on the cached link for your page, all you see is a single . Therefore, there is a good possibility that your page can not be properly scanned by the bots due to your error and that's why your listing has not been updated. -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] SSH, SCP connections to remote MySQL Database using OpenOffice Possible?
Date: Mon, 10 Mar 2008 15:12:31 -0400 From: [EMAIL PROTECTED] To: centos@centos.org Subject: Re: [CentOS] SSH,SCP connections to remote MySQL Database using OpenOffice Possible? On Mon, Mar 10, 2008 at 03:08:19PM -0400, Therese Trudeau enlightened us: Date: Mon, 10 Mar 2008 13:27:28 -0400 From: [EMAIL PROTECTED] To: centos@centos.org Subject: Re: [CentOS] SSH, SCP connections to remote MySQL Database using OpenOffice Possible? On Mon, Mar 10, 2008 at 12:38:34PM -0400, Therese Trudeau enlightened us: I can connect to the remote database via Linux desktop, it's just via an un encrypted connection through port 3306. For obvious reasons I don't want to do it that way. My question is, is OpenOffice Calc able to connect to remote databases via SSH and or SCP? If so, do I need a plug in for that, or need to configure calc to do that in some way? How would I do this, or which plug in(s) do I need? No, but what you could do is use an ssh tunnel to accomplish this. Something along the lines of ssh -L 3307:database.example.net:3306 database.example.net This will tell your system to tunnel the local port 3307 through the database box, TO the database box on port 3306. From this point, after you connect via ssh with the above command, you can simply point your database software to the local 3307 port in plain text, and it'll travel over ssh to the remote box. I've probably done a bad job explaining this, so I'll go get some more coffee. Hehe THANKS Jim I need some too! So when I ssh -L 3307:database.example.net:3306, am I doing this via terminal prior to connecting with Calc (or base), then start up base and enter in just the regular database.example.net into the Server URL field in Clac or base? Or do I need to enter ssh -L 3307:database.example.net:3306 just once in to the Server URL FIeld from within OpenOffice Calc or VBase? You should enter localhost:3307. That connects to the local end of your SSH tunnel. OK this is what I tried - I opened up terminal on my local desktop machine, and I issued the command: ssh -L 3307:domain.name.of.DesktopLocalMySQLserver:3306 [EMAIL PROTECTED] Then I started up OpenOffice Calc, clicked on FileNewDatabase, and in the area where it asks for the ServerURL, I entered in: localhost:3307 and just below it where it asks for the port number I also entered in 3307 (the default is 3306). The error I got was Illegal Connection Port Value 3307:3307: and I could not connect. I think what you really want is ssh -L 3307:localhost:3306 remote.db.server The host in the middle is relative to the end machine. You could also probably do ssh -L 3307:remote.db.server:3306 remote.db.server (for that matter, I don't see why you couldn't do ssh -L 3306:... as long as you don't have mysql running on your desktop) OK so you are saying to enter into Terminal, either: ssh -L 3307:localhost:3306 remote.db.server , OR enter into Terminal: ssh -L 3307:remote.db.server:3306 remote.db.server and substitute in my remote server address for remote.db.server Once I do that, what should I enter into the OpenOffice Calc Spreadsheet Application Dialog box, in order to get the OpenOffice Calc local applicationwhich resides on my desktop machine to read the remote database? Correct, that *should* work. Sadly I can't get OpenOffice Calc to connect that way, I keep getting those “Illegal Connection Port Value 3307:3307” errors from Calc when I enter in “localhost:3307” into Calc open new database box. _ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] SSH, SCP connections to remote MySQL Database using OpenOffice Possible?
From: [EMAIL PROTECTED] To: centos@centos.org Subject: RE: [CentOS] SSH,SCP connections to remote MySQL Database using OpenOffice Possible? Date: Mon, 10 Mar 2008 16:33:49 -0400 Date: Mon, 10 Mar 2008 15:12:31 -0400 From: [EMAIL PROTECTED] To: centos@centos.org Subject: Re: [CentOS] SSH, SCP connections to remote MySQL Database using OpenOffice Possible? On Mon, Mar 10, 2008 at 03:08:19PM -0400, Therese Trudeau enlightened us: Date: Mon, 10 Mar 2008 13:27:28 -0400 From: [EMAIL PROTECTED] To: centos@centos.org Subject: Re: [CentOS] SSH, SCP connections to remote MySQL Database using OpenOffice Possible? On Mon, Mar 10, 2008 at 12:38:34PM -0400, Therese Trudeau enlightened us: I can connect to the remote database via Linux desktop, it's just via an un encrypted connection through port 3306. For obvious reasons I don't want to do it that way. My question is, is OpenOffice Calc able to connect to remote databases via SSH and or SCP? If so, do I need a plug in for that, or need to configure calc to do that in some way? How would I do this, or which plug in(s) do I need? No, but what you could do is use an ssh tunnel to accomplish this. Something along the lines of ssh -L 3307:database.example.net:3306 database.example.net This will tell your system to tunnel the local port 3307 through the database box, TO the database box on port 3306. From this point, after you connect via ssh with the above command, you can simply point your database software to the local 3307 port in plain text, and it'll travel over ssh to the remote box. I've probably done a bad job explaining this, so I'll go get some more coffee. Hehe THANKS Jim I need some too! So when I ssh -L 3307:database.example.net:3306, am I doing this via terminal prior to connecting with Calc (or base), then start up base and enter in just the regular database.example.net into the Server URL field in Clac or base? Or do I need to enter ssh -L 3307:database.example.net:3306 just once in to the Server URL FIeld from within OpenOffice Calc or VBase? You should enter localhost:3307. That connects to the local end of your SSH tunnel. OK this is what I tried - I opened up terminal on my local desktop machine, and I issued the command: ssh -L 3307:domain.name.of.DesktopLocalMySQLserver:3306 [EMAIL PROTECTED] Then I started up OpenOffice Calc, clicked on FileNewDatabase, and in the area where it asks for the ServerURL, I entered in: localhost:3307 and just below it where it asks for the port number I also entered in 3307 (the default is 3306). The error I got was Illegal Connection Port Value 3307:3307: and I could not connect. I think what you really want is ssh -L 3307:localhost:3306 remote.db.server The host in the middle is relative to the end machine. You could also probably do ssh -L 3307:remote.db.server:3306 remote.db.server (for that matter, I don't see why you couldn't do ssh -L 3306:... as long as you don't have mysql running on your desktop) OK so you are saying to enter into Terminal, either: ssh -L 3307:localhost:3306 remote.db.server , OR enter into Terminal: ssh -L 3307:remote.db.server:3306 remote.db.server and substitute in my remote server address for remote.db.server Once I do that, what should I enter into the OpenOffice Calc Spreadsheet Application Dialog box, in order to get the OpenOffice Calc local applicationwhich resides on my desktop machine to read the remote database? Correct, that *should* work. Sadly I can't get OpenOffice Calc to connect that way, I keep getting those “Illegal Connection Port Value 3307:3307” errors from Calc when I enter in “localhost:3307” into Calc open new database box. I'm wondering if it's related to this problem - I was able yesterday to get OpenOffice 2.3 Calc to connect un securely just by using the default port 3306 – just did that as a one time test. The problem I had when I did that though, was that when I open up a large table with 400 rows and maybe 25 columns in it (a table for products in an on line shopping cart), the scroll bars move through the table very slowly, and after a minute or two the table freezes up, as does OpenOffice, and I end up having to CtlAltDel and restart Open office. From a different desktop machine running Windows 2000 however, I am able to connect to the very same remote database using Navicat via first tunneling through port 22 SSH and then connecting to port 3306 via the SSH tunnel, and I don't have this problem, I can scroll through and edit data very fast with no crashing. I'm wondering if the problem is with the way I have my Linux desktop configured? _ Connect and share in new ways with Windows
[CentOS] Re: SSH, SCP connections to remote MySQL Database using OpenOffice Possible?
on 3-10-2008 1:33 PM Therese Trudeau spake the following: Date: Mon, 10 Mar 2008 15:12:31 -0400 From: [EMAIL PROTECTED] To: centos@centos.org Subject: Re: [CentOS] SSH, SCP connections to remote MySQL Database using OpenOffice Possible? On Mon, Mar 10, 2008 at 03:08:19PM -0400, Therese Trudeau enlightened us: Date: Mon, 10 Mar 2008 13:27:28 -0400 From: [EMAIL PROTECTED] To: centos@centos.org Subject: Re: [CentOS] SSH, SCP connections to remote MySQL Database using OpenOffice Possible? On Mon, Mar 10, 2008 at 12:38:34PM -0400, Therese Trudeau enlightened us: I can connect to the remote database via Linux desktop, it's just via an un encrypted connection through port 3306. For obvious reasons I don't want to do it that way. My question is, is OpenOffice Calc able to connect to remote databases via SSH and or SCP? If so, do I need a plug in for that, or need to configure calc to do that in some way? How would I do this, or which plug in(s) do I need? No, but what you could do is use an ssh tunnel to accomplish this. Something along the lines of ssh -L 3307:database.example.net:3306 database.example.net This will tell your system to tunnel the local port 3307 through the database box, TO the database box on port 3306. From this point, after you connect via ssh with the above command, you can simply point your database software to the local 3307 port in plain text, and it'll travel over ssh to the remote box. I've probably done a bad job explaining this, so I'll go get some more coffee. Hehe THANKS Jim I need some too! So when I ssh -L 3307:database.example.net:3306, am I doing this via terminal prior to connecting with Calc (or base), then start up base and enter in just the regular database.example.net into the Server URL field in Clac or base? Or do I need to enter ssh -L 3307:database.example.net:3306 just once in to the Server URL FIeld from within OpenOffice Calc or VBase? You should enter localhost:3307. That connects to the local end of your SSH tunnel. OK this is what I tried - I opened up terminal on my local desktop machine, and I issued the command: ssh -L 3307:domain.name.of.DesktopLocalMySQLserver:3306 [EMAIL PROTECTED] Then I started up OpenOffice Calc, clicked on FileNewDatabase, and in the area where it asks for the ServerURL, I entered in: localhost:3307 and just below it where it asks for the port number I also entered in 3307 (the default is 3306). The error I got was Illegal Connection Port Value 3307:3307: and I could not connect. I think what you really want is ssh -L 3307:localhost:3306 remote.db.server The host in the middle is relative to the end machine. You could also probably do ssh -L 3307:remote.db.server:3306 remote.db.server (for that matter, I don't see why you couldn't do ssh -L 3306:... as long as you don't have mysql running on your desktop) OK so you are saying to enter into Terminal, either: ssh -L 3307:localhost:3306 remote.db.server , OR enter into Terminal: ssh -L 3307:remote.db.server:3306 remote.db.server and substitute in my remote server address for remote.db.server Once I do that, what should I enter into the OpenOffice Calc Spreadsheet Application Dialog box, in order to get the OpenOffice Calc local applicationwhich resides on my desktop machine to read the remote database? Correct, that *should* work. Sadly I can't get OpenOffice Calc to connect that way, I keep getting those �Illegal Connection Port Value 3307:3307� errors from Calc when I enter in �localhost:3307� into Calc open new database box. _ If there is a separate port dialog box, don't put the port in twice. IE... In serverurl put localhost and in port put 3307. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] FTP aborting
On Mon, Mar 10, 2008 at 02:36:34PM -0400, Robert Moskowitz wrote: ... I have tried from home CentOS-5.1 x86_64 current 06:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) same versions as yours for the ipw3945 drivers and no issue. ftp -v -d might shed some light or tcpdump the transfer between your laptop and ftp.ietf.org Tru -- Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance) http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B pgptSeC7ykBnV.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Viewing QT .mov files in Totem
I can't say for sure, because I don't generally play .mov, but if I want ANYTHING to play in totem, I usually need the gstreamer-ugly or universe packages. Not going to be available on a stock Centos Install. You'll need to add a 3rd party repository. http://gstreamer.freedesktop.org/download/fedora5.html I'm not sure this is what you want to hear, based on the way you asked the question, though. Even Fedora, Ubuntu, and others need these to play the good stuff. Dennis -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James B. Byrne Sent: Monday, March 10, 2008 12:58 PM To: centos@centos.org Subject: [CentOS] Viewing QT .mov files in Totem CentOS-5.1 Is there anything special one must do to get the Totem shipped with CentOS-5 to display .mov files? When I try to view a file I get an error box with the message: Totem could not play 'file:///tmp/073_complex_forms_part_1.mov'. Could not decode stream. # rpm -qi totem Name: totem Relocations: (not relocatable) Version : 2.16.7 Vendor: CentOS Release : 1.el5Build Date: Sat 10 Nov 2007 07:59:57 PM EST Install Date: Mon 03 Dec 2007 02:43:35 PM EST Build Host: builder7.centos.org Group : Applications/Multimedia Source RPM: totem-2.16.7-1.el5.src.rpm Size: 5265974 License: GPL Signature : DSA/SHA1, Tue 20 Nov 2007 02:16:57 PM EST, Key ID a8a447dce8562897 URL : http://www.hadess.net/totem.php3 Summary : Movie player for GNOME 2 Description : Totem is simple movie player for the Gnome desktop. It features a simple playlist, a full-screen mode, seek and volume controls, as well as a pretty complete keyboard navigation. Regards, -- *** E-Mail is NOT a SECURE channel *** James B. Byrnemailto:[EMAIL PROTECTED] Harte Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SSH, SCP connections to remote MySQL Database using OpenOffice Possible?
Therese Trudeau wrote: From: [EMAIL PROTECTED] To: centos@centos.org Subject: RE: [CentOS] SSH, SCP connections to remote MySQL Database using OpenOffice Possible? Date: Mon, 10 Mar 2008 16:33:49 -0400 Please edit your quotes, no need to quote the entire thread back in every email - just trim down to the required bits. -- Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Viewing QT .mov files in Totem
Dennis McLeod wrote: I can't say for sure, because I don't generally play .mov, but if I want ANYTHING to play in totem, I usually need the gstreamer-ugly or universe packages. Not going to be available on a stock Centos Install. You'll need to add a 3rd party repository. rpmforge has the bits you need -- Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Re: SSH, SCP connections to remote MySQL Database using OpenOffice Possible?
To: centos@centos.org From: [EMAIL PROTECTED] Date: Mon, 10 Mar 2008 13:43:00 -0700 Subject: [CentOS] Re: SSH, SCP connections to remote MySQL Database using OpenOffice Possible? on 3-10-2008 1:33 PM Therese Trudeau spake the following: Date: Mon, 10 Mar 2008 15:12:31 -0400 From: [EMAIL PROTECTED] To: centos@centos.org Subject: Re: [CentOS] SSH, SCP connections to remote MySQL Database using OpenOffice Possible? On Mon, Mar 10, 2008 at 03:08:19PM -0400, Therese Trudeau enlightened us: Date: Mon, 10 Mar 2008 13:27:28 -0400 From: [EMAIL PROTECTED] To: centos@centos.org Subject: Re: [CentOS] SSH,SCP connections to remote MySQL Database using OpenOffice Possible? On Mon, Mar 10, 2008 at 12:38:34PM -0400, Therese Trudeau enlightened us: I can connect to the remote database via Linux desktop, it's just via an un encrypted connection through port 3306. For obvious reasons I don't want to do it that way. My question is, is OpenOffice Calc able to connect to remote databases via SSH and or SCP? If so, do I need a plug in for that, or need to configure calc to do that in some way? How would I do this, or which plug in(s) do I need? No, but what you could do is use an ssh tunnel to accomplish this. Something along the lines of ssh -L 3307:database.example.net:3306 database.example.net This will tell your system to tunnel the local port 3307 through the database box, TO the database box on port 3306. From this point, after you connect via ssh with the above command, you can simply point your database software to the local 3307 port in plain text, and it'll travel over ssh to the remote box. I've probably done a bad job explaining this, so I'll go get some more coffee. Hehe THANKS Jim I need some too! So when I ssh -L 3307:database.example.net:3306, am I doing this via terminal prior to connecting with Calc (or base), then start up base and enter in just the regular database.example.net into the Server URL field in Clac or base? Or do I need to enter ssh -L 3307:database.example.net:3306 just once in to the Server URL FIeld from within OpenOffice Calc or VBase? You should enter localhost:3307. That connects to the local end of your SSH tunnel. OK this is what I tried - I opened up terminal on my local desktop machine, and I issued the command: ssh -L 3307:domain.name.of.DesktopLocalMySQLserver:3306 [EMAIL PROTECTED] Then I started up OpenOffice Calc, clicked on FileNewDatabase, and in the area where it asks for the ServerURL, I entered in: localhost:3307 and just below it where it asks for the port number I also entered in 3307 (the default is 3306). The error I got was Illegal Connection Port Value 3307:3307: and I could not connect. I think what you really want is ssh -L 3307:localhost:3306 remote.db.server The host in the middle is relative to the end machine. You could also probably do ssh -L 3307:remote.db.server:3306 remote.db.server (for that matter, I don't see why you couldn't do ssh -L 3306:... as long as you don't have mysql running on your desktop) OK so you are saying to enter into Terminal, either: ssh -L 3307:localhost:3306 remote.db.server , OR enter into Terminal: ssh -L 3307:remote.db.server:3306 remote.db.server and substitute in my remote server address for remote.db.server Once I do that, what should I enter into the OpenOffice Calc Spreadsheet Application Dialog box, in order to get the OpenOffice Calc local applicationwhich resides on my desktop machine to read the remote database? Correct, that *should* work. Sadly I can't get OpenOffice Calc to connect that way, I keep getting those �Illegal Connection Port Value 3307:3307� errors from Calc when I enter in �localhost:3307� into Calc open new database box. _ If there is a separate port dialog box, don't put the port in twice. IE... In serverurl put localhost and in port put 3307. OK Some progress anyway, by not putting in the port twice I got a connecrtion. But as before, when I connected un securely, OpenOffice freezes up and crashes after about one minute, whether or not it's through port 3306, or through 3307 SSH. _ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] SSH, SCP connections to remote MySQL Database using OpenOffice Possible?
Please edit your quotes, no need to quote the entire thread back in every email - just trim down to the required bits. OK Sorry :) _ Climb to the top of the charts! Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Re: SSH, SCP connections to remote MySQL Database using OpenOffice Possible?
On Mon, Mar 10, 2008 at 05:12:46PM -0400, Therese Trudeau enlightened us: OK Some progress anyway, by not putting in the port twice I got a connecrtion. But as before, when I connected un securely, OpenOffice freezes up and crashes after about one minute, whether or not it's through port 3306, or through 3307 SSH. Sounds like an OOo problem, then. When I briefly tried testing it, there was a couple of driver options to connect to MySQL, you might try using the one you're not (IIRC one was ODBC and the other was JDBC). Matt -- Matt Hyclak Department of Mathematics Department of Social Work Ohio University (740) 593-1263 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Re: SSH, SCP connections to remote MySQL Database using OpenOffice Possible?
Sounds like an OOo problem, then. When I briefly tried testing it, there was a couple of driver options to connect to MySQL, you might try using the one you're not (IIRC one was ODBC and the other was JDBC). I'm using both the Java Runtime Environment jre1.6.0_05 and the sql-connector-java-5.0.8 - they both tested out OK after install. _ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM VG disappears after kernel upgrade on 5.1
Ted Miller wrote: I finally got 5.1 to boot after install (install couldn't keep the disk IDs from getting crossed up, so at reboot partitions were not where install said they would be). I needed to compile vmware and nvidia modules, but decided to upgrade first. Told yumex to upgrade everything. When I went to reboot the VG with / on it is not seen by the kernel. (root partition is LVM on top of RAID 1). If I go back to the old kernel everything boots fine. On the new kernel only the VG on sdc is seen by LVM. 1. How do I persuade the new kernel to notice the VG with my root partition on it. Never did persuade that kernel (x.13) to see my VG. When I downloaded the x.14 kernel everything worked just fine. Ted Miller ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] parsing /proc/cmdline
On Mon, 10 Mar 2008, Jim Wight wrote: On Fri, 2008-03-07 at 11:59 -0500, Ross S. W. Walker wrote: Ross S. W. Walker wrote: Jerry Geis wrote: Hi - I am not an expert at shell script writing. If /proc/cmdline looks like option1 option2 ... ks=http://192.168.1.8/ks/ks.cfg option3 option 4 ... How can I get the 192.168.1.8 out of this cmdline. Try: # IPADDR=`cat /proc/cmdline | sed 's/.*\/\([1-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)\/.*/\1/'` This will find an IP in between /.../ Actually shorter sed line: # IPADDR=`cat /proc/cmdline | sed 's/.*\/\([0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\)\/.*/\1/'` And shorter still: sed 's/.*\/\(\([0-9]\+\.\)\{3,\}[0-9]\+\).*/\1/' which uses \{3,\} to specify the 3 occurrences of [0-9]\+\. However, I would simply go for something like: sed 's,.*http://\(.*\)/ks/.*,\1,' How about: sed 's|.*\bks=\w\+://\([^/]\+\)/.*|\1|' that would work with nfs, ftp or https as well and would not falsly match another URL in the cmdline. Plus it does not require the hostname to be an IP address. -- -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] 32bit support in 64bit environment (CentOS and Debian)
Hi, I was just searching the web for some information on 32bit support in 64bit environment and was able to find couple pages about Debian and CentOS. However, I couldn't find any comparison between them. If anyone knows the differences (e.g. which one is easier to set up and maintain) or could point me out to some useful sites, please help. Or if you think there's no difference, please explain. Regards, Daniel -- Daniel Andrzejewski student IT Administrator Elec Engr Comp Science University of Tennessee (865) 974 - 4388 (work) Investment in knowledge always pays the best interest Benjamin Franklin -- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos