[CentOS-es] expiración de cuentas
Cordial saludo lista. Estoy tratando de asignar una fecha de expiración a las cuentas, lo estoy haciendo con el comando chage, tambien lo he intentado por la configuración de usuarios y por webmin pero no obtengo los resultados esperados. Lo que quiero hacer es que la primera vez que entre el usuarios le pida cambio de contraseña. y que luego le pida cambiarla cada 30 dias, avisandole 7 días antes que debe cambiarla, que nunca inactive la cuenta y que la cuenta expire el 31 de Diciembre de 2010. las difrentes combinaciones del comando chage que he utilizado es el siguiente: chage username -m 30 -M 0 chage username -m 30 -M 0 -e 20100412 chage username -m 30 -M 0 -e 20100412 -I 1 chage username -m 30 -M 0 -e 20100412 -W 7 sin embargo ern algunos casos me pide cambiar la contraseña pero cuando le doy la nueva contraseña inmediatamente me saca del emulador Tengo entendido que tambien lo puedo hacer con el comando passwd. Agradezco cualquier luz ue me puedan dar sobre el tema -- Germán Suárez Sánchez ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] expiración de cuentas
Cordial saludo lista. Estoy tratando de asignar una fecha de expiración a las cuentas, lo estoy haciendo con el comando chage, tambien lo he intentado por la configuración de usuarios y por webmin pero no obtengo los resultados esperados. Lo que quiero hacer es que la primera vez que entre el usuarios le pida cambio de contraseña. y que luego le pida cambiarla cada 30 dias, avisandole 7 días antes que debe cambiarla, que nunca inactive la cuenta y que la cuenta expire el 31 de Diciembre de 2010. las difrentes combinaciones del comando chage que he utilizado es el siguiente: chage username -m 30 -M 0 chage username -m 30 -M 0 -e 20100412 chage username -m 30 -M 0 -e 20100412 -I 1 chage username -m 30 -M 0 -e 20100412 -W 7 sin embargo ern algunos casos me pide cambiar la contraseña pero cuando le doy la nueva contraseña inmediatamente me saca del emulador Tengo entendido que tambien lo puedo hacer con el comando passwd. Agradezco cualquier luz ue me puedan dar sobre el tema -- Germán Suárez Sánchez ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es prueba con man passwd o con man chage ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] Actualizaciones y welcome.conf
Buenas, Siempre que actualizo un servidor apache vuelve a aparecer el fichero /etc/httpd/conf.d/welcome.conf (no importa la version, me pasa en todos los servidores, pero por ejemplo httpd-2.2.3 en CentOS 5.4) Mi pregunta es si hay alguna forma de hacer que no vuelva a aparecer cada vez q lo reinstalo. Una opcion q se me ocurre es dejarlo todo comentado (o vacio), de esa forma cuando se actualice me pondra el nuevo como welcome.conf.rpmnew, no? Gracias y perdonen la pregunta pero es una de esas cosas q no me esta dejando dormir por la noche :P Saludos, Andres ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Actualizaciones y welcome.conf
On 04/12/2010 10:29 AM, Andres Lucena wrote: Buenas, Siempre que actualizo un servidor apache vuelve a aparecer el fichero /etc/httpd/conf.d/welcome.conf (no importa la version, me pasa en todos los servidores, pero por ejemplo httpd-2.2.3 en CentOS 5.4) Mi pregunta es si hay alguna forma de hacer que no vuelva a aparecer cada vez q lo reinstalo. En efecto, a mi me pasa con un proxy_ajp.conf que hay ahi. El problema es que si lo borras centos educadamente le pone. Si lo viera de alguna forma, le pondría rpmnew (y no afectaría) es por eso que yo al menos le comento el archivo completamente (afortunadamente son bien pequeños) ya centos lo ve y no le pone nuevo. sino como rpmnew. saludos epe Una opcion q se me ocurre es dejarlo todo comentado (o vacio), de esa forma cuando se actualice me pondra el nuevo como welcome.conf.rpmnew, no? Gracias y perdonen la pregunta pero es una de esas cosas q no me esta dejando dormir por la noche :P Saludos, Andres ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] ayuda con proyecto
Hola... Alguien me tiró el dato de NFS para este proyecto. les suena bien??.. es lo mismo que samba??? ciao Este pechito caribeño -SAMUEL- 2010/4/8 samuel correa samuel.cor...@gmail.com Eyy!!!.. muchisimas gracias por la info!!!... falto poner algo que aclara una de tus propuestas... y es que el server 1 (ldap) estará montado en una maquina virtual, por eso no tiene espacio en el disco duro, y por eso es necesario llevarlo todo por red a otro equipo. Una duda que se me genera con las soluciones que me das, es la manera de hacerlo automatizada y generalmente, es decir, yo en el LDAP tengo al rededor de 500 o 600 usuarios, entonces tendria que poner una lina por cada uno de ellos en el /etc/fstab para la solución A) ??? gracias!- 2010/4/8 xOChilpili xochilp...@gmail.com Samuel : Si, claro ke es posible, podrias montar el hd del server 2 al server 1 y ke este haga todo el proceso. Si estan en red lo puedes hacer mediante samba o mediante ssh con sftp sin problemas. A) Si usas samba entonces yo lo haria asi en /etc/fstab : mount -t cifs -o username=usuario,password=password /server2/mucho_espacio /server1/poco_espacio B) sftp: usua...@server1:mucho_espacio/ usua...@server2:poco_espacio/ En este ultimo desconozco como es ke le puedes automatizar el password para ke haga el montaje al boot de la makina, sin embargo, todo es posible. (Lo investigo y lo publico) Espero haber sido de ayuda... SAlu2 -- -- xOCh 210 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Resumen de CentOS-es, Vol 40, Env ío 16
Gracias por la respuesta. Creo que lo voy a dejar en la configuracion SAMBA-SSHFS. Esta configuracion esta funcionando bien. Lo de la configuracion SAMBA-NFS ya no va, mi curiosidad era saber cual era la causa de la lentitud. Seguire checkeando a ver si doy con la solucion. Si hay dudas te pregunto, gracias From: Diego C. recsvint...@gmail.com To: centos-es@centos.org Sent: Sat, April 10, 2010 1:17:46 AM Subject: Re: [CentOS-es] Resumen de CentOS-es, Vol 40, Envío 16 Mi pregunta es porque no funciona bien cuando uso NFS. SAMBA tiene el tamaño de los paquetes de transmision adaptativo a la respuesta ancho de banda del cliente. en cambio NFS tiene packets de tamaño preestablecido. Los Linux serios tienen pacheado NFS para funcionar por SSH correctamente. los linux medianos NO, y tenes que configurar los timeout del socket de manera especifica a que no se superpongan con los packets de stay-alive de SSH. En resumen. si NFS en SSH funciona lento tenes un excedente de paquetes de tamaño inapropiado. el packet size de NFS es de 512 si ma no recuerdo y al ampliarlo colapsas el SSH y la conexion muere. ocurre siempre. tenes que tunear dos valores del kernel, dos de NFS y dos de SSH. osea, extender en SSH el tiempo de envio depacketes stay-alive. A veces el NFSD funciona en demasiado baja prioridad para tener un acceso al disco mayor que el del mismo sistema operativo. SAMBA tiene cache interno de archivos y la estructura de datos compartida eso acelera en cierta medida los cambios de directorio y datos especificos de archivos. por eso SAMBA ocupa demasiada memoria y NFS No lo hace. Espero haberte sido util. si realmente no encuentras como hacerlo te doy una mano. Saludos. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] expiración de cuentas
Gracias por el aporte. ya probe, pero no he podido encontrar la clave para solucionar el tema, espero me puedan dar otras ideas que me puedan ayudar a solucionar el tema... El día 12 de abril de 2010 10:21, Maykel Franco Hernández may...@maykel.es escribió: Cordial saludo lista. Estoy tratando de asignar una fecha de expiración a las cuentas, lo estoy haciendo con el comando chage, tambien lo he intentado por la configuración de usuarios y por webmin pero no obtengo los resultados esperados. Lo que quiero hacer es que la primera vez que entre el usuarios le pida cambio de contraseña. y que luego le pida cambiarla cada 30 dias, avisandole 7 días antes que debe cambiarla, que nunca inactive la cuenta y que la cuenta expire el 31 de Diciembre de 2010. las difrentes combinaciones del comando chage que he utilizado es el siguiente: chage username -m 30 -M 0 chage username -m 30 -M 0 -e 20100412 chage username -m 30 -M 0 -e 20100412 -I 1 chage username -m 30 -M 0 -e 20100412 -W 7 sin embargo ern algunos casos me pide cambiar la contraseña pero cuando le doy la nueva contraseña inmediatamente me saca del emulador Tengo entendido que tambien lo puedo hacer con el comando passwd. Agradezco cualquier luz ue me puedan dar sobre el tema -- Germán Suárez Sánchez ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es prueba con man passwd o con man chage ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es -- Germán Suárez Sánchez ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS] Hosting Reco
Hi Joseph, Joseph L. Casale sent a missive on 2010-04-11: I have two needs that require offsite hosting now, anyone know offhand of any of the unlimited storage/bandwidth vendors that exist now that allow remote scp|rsync access to the data, not just in shell scp use? I'm hunting around and its apparently hard to get a straight answer... vps or dedicated is overkill for this one need, and none of those offerings have the storage/bandwidth of the hosting only solutions. If you contact me off list I _may_ be able to help... go to www.houxou.com and contact me via the web form there and we can then discuss your exact requirements. Thanks Simon. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] How to log separate files or directories for centralizing SysLog server ?
Hi All, I have three server. server0 is centralized logging server, server1 and server2 are remote client servers. How can I properly configure the syslog in server0 to log the two servers in different separated files/directories. Example, server1 will be logged at /var/log/syslog/server1.log of server0 and /var/log/syslog/server2.log for server2 as well. Is there need of little tweaking for syslog.conf ? Thanks. James ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to log separate files or directories for centralizing SysLog server ?
Hi James, i think much better for syslog server usage is syslog-ng. It has bit more difficult configuration for such a small network, but it brings much more functionalities. the simple ruleset for your needs could look like: source s_sys { unix-stream(/dev/log); internal(); }; source s_net { udp(); }; destination d_net { file(/var/log/network/$HOST/$YEAR.$MONTH.log owner(root) group(root) perm(0600) dir_perm(0700) create_dirs(yes)); }; log { source(s_net); destination(d_net); }; log { source(s_sys); destination(d_net); }; Hope it helps, Tomas Mon, Apr 12, 2010 ve 03:49:53PM +0800, James Corteciano napsal: Hi All, I have three server. server0 is centralized logging server, server1 and server2 are remote client servers. How can I properly configure the syslog in server0 to log the two servers in different separated files/directories. Example, server1 will be logged at /var/log/syslog/server1.log of server0 and /var/log/syslog/server2.log for server2 as well. Is there need of little tweaking for syslog.conf ? Thanks. James ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to log separate files or directories for centralizing SysLog server ?
Hi Tomas, I can't use syslog-ng because it's not included in RHEL package in DVD and company policy not to use non-rpm. I can use rsyslog and found it's the same config to syslog. Can I apply that rules in rsyslog? Thanks. James On Mon, Apr 12, 2010 at 3:57 PM, Tomas Ruprich rupr...@uikt.mendelu.czwrote: Hi James, i think much better for syslog server usage is syslog-ng. It has bit more difficult configuration for such a small network, but it brings much more functionalities. the simple ruleset for your needs could look like: source s_sys { unix-stream(/dev/log); internal(); }; source s_net { udp(); }; destination d_net { file(/var/log/network/$HOST/$YEAR.$MONTH.log owner(root) group(root) perm(0600) dir_perm(0700) create_dirs(yes)); }; log { source(s_net); destination(d_net); }; log { source(s_sys); destination(d_net); }; Hope it helps, Tomas Mon, Apr 12, 2010 ve 03:49:53PM +0800, James Corteciano napsal: Hi All, I have three server. server0 is centralized logging server, server1 and server2 are remote client servers. How can I properly configure the syslog in server0 to log the two servers in different separated files/directories. Example, server1 will be logged at /var/log/syslog/server1.log of server0 and /var/log/syslog/server2.log for server2 as well. Is there need of little tweaking for syslog.conf ? Thanks. James ___ 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] How to log separate files or directories for centralizing SysLog server ?
Not that rules, but definetely it's possible with rsyslog. http://www.rsyslog.com/Article60.phtml Tomas Mon, Apr 12, 2010 ve 04:12:39PM +0800, James Corteciano napsal: Hi Tomas, I can't use syslog-ng because it's not included in RHEL package in DVD and company policy not to use non-rpm. I can use rsyslog and found it's the same config to syslog. Can I apply that rules in rsyslog? Thanks. James On Mon, Apr 12, 2010 at 3:57 PM, Tomas Ruprich rupr...@uikt.mendelu.czwrote: Hi James, i think much better for syslog server usage is syslog-ng. It has bit more difficult configuration for such a small network, but it brings much more functionalities. the simple ruleset for your needs could look like: source s_sys { unix-stream(/dev/log); internal(); }; source s_net { udp(); }; destination d_net { file(/var/log/network/$HOST/$YEAR.$MONTH.log owner(root) group(root) perm(0600) dir_perm(0700) create_dirs(yes)); }; log { source(s_net); destination(d_net); }; log { source(s_sys); destination(d_net); }; Hope it helps, Tomas Mon, Apr 12, 2010 ve 03:49:53PM +0800, James Corteciano napsal: Hi All, I have three server. server0 is centralized logging server, server1 and server2 are remote client servers. How can I properly configure the syslog in server0 to log the two servers in different separated files/directories. Example, server1 will be logged at /var/log/syslog/server1.log of server0 and /var/log/syslog/server2.log for server2 as well. Is there need of little tweaking for syslog.conf ? Thanks. James ___ 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 -- S pozdravem Tomáš Ruprich systémový administrátor Ústav pro informační systém Mendelova univerzita v Brně Zemědělská 1 / 613 00 Brno telefon 545 132 885 rupr...@uikt.mendelu.cz www.mendelu.cz [prostor pro logo] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NAT/DHCP/DNS/etc Settings from a Windows 2003 Server
Let me get this straight: all this servers are VMs? Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = I thought YOU silenced the guard! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] everything seems to hang, but system is idle?
On Sun, 2010-04-11 at 14:49 +0200, Rudi Ahlers wrote: [r...@intranet ~]# yum install strace -y Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * local-addons: 192.168.1.250 * local-base: 192.168.1.250 * local-extras: 192.168.1.250 * local-updates: 192.168.1.250 * rpmforge: apt.sw.be Setting up Install Process Resolving Dependencies -- Running transaction check --- Package strace.x86_64 0:4.5.18-5.el5_4.4 set to be updated -- Finished Dependency Resolution Dependencies Resolved = PackageArch Version Repository Size = Installing: strace x86_64 4.5.18-5.el5_4.4 local-updates 177 k Transaction Summary = Install 1 Package(s) Upgrade 0 Package(s) Total size: 177 k Downloading Packages: Running rpm_check_debug Running Transaction Test And that's where it sits and does nothing. The system's load isn't very high: I saw this exact simptom once, on a server that had an dead nfs mount. HTH, Calin Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857 = How many retured bricklayers from FLORIDA are out purchasing PENCIL SHARPENERS right NOW?? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] rsyslog 4.x or 5.x version for Centos 5.4
Hi, I was looking for centos 5.4 package rsyslog version 5.x or 4.x as rpm. Any repo exist with this package? f...@ll ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] gdm_slave_xioerror_handler problem
Hi , guys: Today , I work on my laptop which uses the CentOS x86_64 operating system , Suddenly the X-windows restarts when left at the login screen for more than a few seconds. The error in my syslog is: Apr 12 15:26:45 localhost gdm[2892]: gdm_slave_xioerror_handler: Fatal X error - Restarting :0 This message came up serval times previously ~ Any other help would be nice. Thanks in advance ~ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] everything seems to hang, but system is idle?
On Sun, 2010-04-11 at 15:48 +0200, Rudi Ahlers wrote: Yes, I think it could be a problematic iscsi config. Now that I think of it, the server wasn't rebooted in about 2 or 3 months and I did some iscsi testing a while ago, but with a recent power outage it could have enabled / a faulty configuration, I just rebooted the server again, managed to the remove iscsi this time, and will see if this solves the problem. --- Well along with that I would do a file system check. Then if it keeps on stop just the nmbd service and not smbd for cifs sharing. John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Yum/WGET/HTTP sourceforge etc.
On Sun, 2010-04-11 at 22:57 +, tony.chamberl...@lemko.com wrote: Here is what I tried. When I put the machine directly on an ATT IP connection (12.147.X.Y) everything worked fine. Same with Comcast on a direct link. The times I am having problems is when our router is hooked up to a Comcast IP (70.88.X.Y) and assigns 192.168.5.X addresses to our machines. So when I was doing the above from 192.168.5.27 going through the router through Comcast is when I had the problem. --- Try this: For the NIC on your Comcast router set its ip to one that the dhcp in the router gives out + DFG + 2 DNS entries. In order to have it static. I see lots of routers with your problem. John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] OT: Dropbox - Fedora Core 9 RPM will work on CentOS 5.4?
Dropbox has an RPM for Fedora Core 9 (x86). I am running CentOS 5.4 on my Desktop, which I believe is based on Fedora Core 6. Are the libraries Fedora Core 9 uses substantially different than those CentOS 5.4 uses? If Dropbox had an SRPM available, I would Download that and Rebuild, but I'm sure it is Proprietary and they won't release an SRPM to me. TIA! Lanny -- Magazine subscriptions Largest discount Credit/Debit Card Check Pay Pal http://www.lowcostmagazines.com/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Dropbox - Fedora Core 9 RPM will work on CentOS 5.4?
but I'm sure it is Proprietary and they won't release an SRPM to me. nautilus-dropbox is glp'ed, the source is right below that rpm you downloaded. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Dropbox - Fedora Core 9 RPM will work on CentOS 5.4?
Hey On Mon, Apr 12, 2010 at 2:21 PM, Lanny Marcus lmmailingli...@gmail.com wrote: Dropbox has an RPM for Fedora Core 9 (x86). I am running CentOS 5.4 on my Desktop, which I believe is based on Fedora Core 6. Are the libraries Fedora Core 9 uses substantially different than those CentOS 5.4 uses? If Dropbox had an SRPM available, I would Download that and Rebuild, but I'm sure it is Proprietary and they won't release an SRPM to me. TIA! I remember trying to build dropbox for CentOS and there was a problem with lib dependencies. What happens when you install the rpm? Does it work? I believe to remember that it had to do something with nauilus. I am probably wrong. Would be interested if that worked. Cheers Didi -- Hoffmann Geerd-Dietger http://contact.ribalba.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rsyslog 4.x or 5.x version for Centos 5.4
On Mon, Apr 12, 2010 at 7:01 AM, f...@ll for...@stalowka.info wrote: I was looking for centos 5.4 package rsyslog version 5.x or 4.x as rpm. Any repo exist with this package? In 5.5, rsyslog will be rebased to 3.x. If you really need a 4.x version, the IUS community repository has it packaged. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] everything seems to hang, but system is idle? [SOLVED]
On Mon, Apr 12, 2010 at 1:50 PM, JohnS jse...@gmail.com wrote: On Sun, 2010-04-11 at 15:48 +0200, Rudi Ahlers wrote: Yes, I think it could be a problematic iscsi config. Now that I think of it, the server wasn't rebooted in about 2 or 3 months and I did some iscsi testing a while ago, but with a recent power outage it could have enabled / a faulty configuration, I just rebooted the server again, managed to the remove iscsi this time, and will see if this solves the problem. --- Well along with that I would do a file system check. Then if it keeps on stop just the nmbd service and not smbd for cifs sharing. John ___ So far everything seems to be fine, apart from my Cobbler problem (see other thread). rsync has been running very well for the past few hours (have been deleting restoring a lot of stuff to check ) so it was probably the improper iscsi mount that was giving issues. Thanx for all the help :) -- Kind Regards Rudi Ahlers SoftDux Website: http://www.SoftDux.com Technical Blog: http://Blog.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Dropbox - Fedora Core 9 RPM will work on CentOS 5.4?
On Mon, Apr 12, 2010 at 9:21 AM, Lanny Marcus lmmailingli...@gmail.com wrote: Dropbox has an RPM for Fedora Core 9 (x86). I am running CentOS 5.4 on my Desktop, which I believe is based on Fedora Core 6. Are the libraries Fedora Core 9 uses substantially different than those CentOS 5.4 uses? If Dropbox had an SRPM available, I would Download that and Rebuild, but I'm sure it is Proprietary and they won't release an SRPM to me. TIA! Lanny I'm successfully using Dropbox on couple of CentOS 5.4 machines, but in a headless configuration. I followed the instructions on the Dropbox Wiki[1]. I concur with Joseph that it looks like the RPM is just the Nautilus plugin. Since I don't use that I'm not sure how compatible it is with CentOS. [1] http://wiki.dropbox.com/TipsAndTricks/TextBasedLinuxInstall -- William Hooper ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Dropbox - Fedora Core 9 RPM will work on CentOS 5.4?
On Mon, Apr 12, 2010 at 8:21 AM, Lanny Marcus lmmailingli...@gmail.com wrote: Dropbox has an RPM for Fedora Core 9 (x86). I am running CentOS 5.4 on my Desktop, which I believe is based on Fedora Core 6. Are the snip 3 very quick replies already! Thanks to each of you! I am going to Update my Desktop completely, before I try to get Dropbox to work. Steve, please let me know, when you have the RPM ready. Joseph, I will look for the nautilus-dropbox on the Dropbox web site. Didi, stay tuned I'm a complete novice at this, but I have the Dev tools on my Desktop and will give it a try. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Dropbox - Fedora Core 9 RPM will work on CentOS 5.4?
On Mon, Apr 12, 2010 at 10:00 AM, William Hooper whooper...@gmail.com wrote: On Mon, Apr 12, 2010 at 9:21 AM, Lanny Marcus lmmailingli...@gmail.com wrote: Dropbox has an RPM for Fedora Core 9 (x86). I am running CentOS 5.4 on my Desktop, which I believe is based on Fedora Core 6. Are the snip I'm successfully using Dropbox on couple of CentOS 5.4 machines, but in a headless configuration. I followed the instructions on the Dropbox Wiki[1]. I concur with Joseph that it looks like the RPM is just the Nautilus plugin. Since I don't use that I'm not sure how compatible it is with CentOS. [1] http://wiki.dropbox.com/TipsAndTricks/TextBasedLinuxInstall William: Thank you for that. I would prefer to do this via RPM, since it is frowned upon not to, but if necessary, I can go that route. Our IPCop box is headless, but not my Desktop. :-) As per my 2nd post in this thread, I am going to completely update my Desktop, before trying to get Dropbox to work. Lanny ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Dropbox - Fedora Core 9 RPM will work on CentOS 5.4?
On Mon, Apr 12, 2010 at 11:10 AM, Lanny Marcus lmmailingli...@gmail.com wrote: William: Thank you for that. I would prefer to do this via RPM, since it is frowned upon not to, but if necessary, I can go that route. I don't think it matters how you install the nautilus plugin, you still will be getting the proprietary Dropbox daemon bits separately (the daemon downloads from the website the first time you run the plugin). Our IPCop box is headless, but not my Desktop. :-) As per my 2nd post in this thread, I am going to completely update my Desktop, before trying to get Dropbox to work. Lanny The box I use Dropbox headless on is a catch-all server, not my desktop. I guess if push comes to shove you can install Dropbox headless and use the dbcli.py to check the status instead of using the GUI. -- William Hooper ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Installing a .ko file?
Hi Benjamin, I am trying to add a 3Ware 9500S-8 RAID controller to a CentOS 5.4 box. I have the drivers from 3Ware and they seem to be a .ko file (which I presume is like a .kext on OSX) Have you tried it without installing the vendor driver? That board should be old enough to be supported natively. I use 9550SX boards without any problems. Can you tell me the process you take? I dont see drives available, I believe they are being exported to the OS though. I took my 8x1.5tb drives, went into the card setup and set each one as a single drive and when the machine boots, the card says they are exported. What can I try to ensure that CentOS is seeing them? -Jason ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Slightly OT: which hardware for CentOS file server (Samba, 2 To storage, 50 users)?
Hi, The language lab from the local university has contacted me. They'd like to have a low-cost file server for storing all their language video files. They have a mix of Windows, Mac OS X and even Linux clients, roughly 50 machines. The files are quite big, and they calculated a total amount of 2 To of storage. I'm not very proficient with hardware, meaning either I'm dealing with remote servers in some datacenter, or otherwise I install CentOS desktops on any hardware people throw at me. Since the aim is lowcost, would it be wrong to install that fileserver on a no-name desktop PC with a 64bit processor and enough RAM, and then simply put 2 x 2 To hard disks in it, either with a mirroring RAID (can never remember which does what in 0, 1 and 5) or some rsync script regularly copying over the first disk to the second? Or do you have something more apt to suggest? Cheers from South France, Niki ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Slightly OT: which hardware for CentOS file server (Samba, 2 To storage, 50 users)?
- Niki Kovacs cont...@kikinovak.net wrote: Hi, The language lab from the local university has contacted me. They'd like to have a low-cost file server for storing all their language video files. They have a mix of Windows, Mac OS X and even Linux clients, roughly 50 machines. The files are quite big, and they calculated a total amount of 2 To of storage. 2 TB? I'm not very proficient with hardware, meaning either I'm dealing with remote servers in some datacenter, or otherwise I install CentOS desktops on any hardware people throw at me. Since the aim is lowcost, would it be wrong to install that fileserver on a no-name desktop PC with a 64bit processor and enough RAM, and then You *COULD* do this, but keep in mind desktop class hardware may give you poorer performance, especially for fileserver use. You seem to have the storage requirements down, but make no mention of performance requirements. They are moving huge files to/from the server, but are they expecting it to happen in a few minutes or take all day? You mention 50 machines, but how many *CONCURRENT* connections? The more concurrent sessions you have, the poorer it may perform due to disk thrashing. A *GOOD* storage controller added to a desktop class machine on a PCIe bus will do wonders for you. simply put 2 x 2 To hard disks in it, either with a mirroring RAID (can never remember which does what in 0, 1 and 5) or some rsync script regularly copying over the first disk to the second? Or do you have For mirroring, you'll want RAID-1. This automatically keeps both drives/partitions in sync as the data is transferred, no need for rsync or any external scripting other than checking the health of your array(s). something more apt to suggest? I'd suggest something more 'yum' like than 'apt'. [1] Cheers from South France, Niki Cheers from North Central U.S., Tim [1] A poor attempt at package manager humor. RHEL/CentOS 'yum' vs Debian/Ubuntu 'apt'. :-) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Slightly OT: which hardware for CentOS file server (Samba, 2 To storage, 50 users)?
Hi, The language lab from the local university has contacted me. They'd like to have a low-cost file server for storing all their language video files. They have a mix of Windows, Mac OS X and even Linux clients, roughly 50 machines. The files are quite big, and they calculated a total amount of 2 To of storage. I'm not very proficient with hardware, meaning either I'm dealing with remote servers in some datacenter, or otherwise I install CentOS desktops on any hardware people throw at me. Since the aim is lowcost, would it be wrong to install that fileserver on a no-name desktop PC with a 64bit processor and enough RAM, and then simply put 2 x 2 To hard disks in it, either with a mirroring RAID (can never remember which does what in 0, 1 and 5) or some rsync script regularly copying over the first disk to the second? Or do you have something more apt to suggest? What value does the language lab associate to these files? And how is backup done? Rainer ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Installing a .ko file?
From: Slack-Moehrle mailingli...@mailnewsrss.com Can you tell me the process you take? I dont see drives available, I believe they are being exported to the OS though. I took my 8x1.5tb drives, went into the card setup and set each one as a single drive and when the machine boots, the card says they are exported. Look maybe at SCSI_3W_9XXX In '/usr/src/kernels/.../drivers/scsi/Kconfig' But they mention a '3w-9xxx.c' that is not there... JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Performance problems with XFS on Centos 5.4
On Fri, 9 Apr 2010 10:59:02 -0400 RW == Ross Walker rswwal...@gmail.com wrote: RW On Apr 9, 2010, at 9:59 AM, Bernhard Gschaider RW bgschaid_li...@ice- sf.at wrote: Hi! During the last weeks I experienced some performance problems with a large file-system on XFS basis. Sometimes for instance ls is painfully. Immidiatly afterwards ls on the same directory is immidiate. I used strace on this ls and found that during the first ls the lstat-calls need approx 0.02s each while during the second ls the are two orders of magnitude faster. Googling around I stumbled upon some messages similar like this http://www.opensubscriber.com/message/linux-...@oss.sgi.com/1355060.html which have in common a) they're from around 2006 b) they suggest to increase a mount-option ihashsize. This mount option is listed as deprecated in the current kernel-doc So my question: does anyone have experience with that kind of performance problem? Do you think it is a XFS problem or are there some other tuning parameters in the kernel that could be modified for instance via /proc? The reason why I'm asking here is that it is a production file-system so I would be very unpopular if I experiment too much (a couple of reboots is OK ;) ) Bernhard PS: the situation got worse during the last weeks when the file-system increased in size, so the option that some kind of buffer now is too small and I'm experiencing some kind of thrashing seems very likely to me RW Are you defragging the file system regularly? Uups. Never occured to me (Fragmentation is s Windoze) Had a look: xfs_db frag actual 6349355, ideal 4865683, fragmentation factor 23.37% This seems significant. RW How much memory do you have in the system and how big is the RW file system? Memory on the system is 4Gig (2 DualCore Xenons). The filesystem is 3.5 TB of which 740 Gig are used. Which is the maximum amount used during the one year that the filesystem is being used (that is why the high fragmentation amazes me) RW What are the XFS parameters for the file system? Is this sufficent? % xfs_info /raid meta-data=/dev/VolGroup00/LogVol05 isize=256agcount=32, agsize=29434880 blks = sectsz=512 attr=0 data = bsize=4096 blocks=941916160, imaxpct=25 = sunit=0 swidth=0 blks, unwritten=1 naming =version 2 bsize=4096 log =internal bsize=4096 blocks=32768, version=1 = sectsz=512 sunit=0 blks, lazy-count=0 realtime =none extsz=4096 blocks=0, rtextents=0 RW What is the storage setup? The filesystem is on a LVM-Volume which sits on a RAID 5 (Hardware RAID) drive RW Need the info. So the way to go forward would be using xfs_fsr on that drive. I read some horror stories about lost files, are these to be taken seriously (I mean they were in some Ubuntu forums ;) ) Any other thoughts on parameters? Thanks for your time Bernhard ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Amazon S3FS Automounter of sorts
Hi, I¹ve just started using Amazon S3 for storage and have used s3fs to mount the buckets on the file system. 1. I was wondering if anyone has a better method even though this meets my current needs. 2. if there is an automounter that could be tweaked to work with s3fs. The entries in my fstab are rather different to the normal disk based ones, s3fs#BUCKETNAME /mnt/s3/BUCKETNAME fuse allow_other,default_acl=public-read,noauto 0 0 ,so I wasn¹t sure if it is possible. My reasoning to want an automounter is I¹m not sure on the amount of extra calls made to the S3, so would prefer it not be connected if its not needed. Thanks, Matt NOTE: The information in this email is confidential and may be legally privileged, unless stated to the contrary. If you are not the intended recipient, you must not read, use or disseminate that information. Any opinions or comments are personal to the writer and do not represent the official view of Dennis Publishing Ltd. If you have received this email and are not a named addressee, please contact itdirec...@dennis.co.uk immediately by reply email and then delete this message from your system. Please do not copy it or use it for any purpose, or disclose its contents to any other person. Although this email and any attachments are believed to be free of any virus, or other defects, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Dennis Publishing Ltd for any loss or damage arising from the receipt or use thereof. Company registered in England No. 1138891 Registered office: 30, Cleveland Street, London, W1T 4JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Amazon S3FS Automounter of sorts
Hey On Mon, Apr 12, 2010 at 5:24 PM, Matt Keating matt_keat...@dennis.co.uk wrote: I’ve just started using Amazon S3 for storage and have used s3fs to mount the buckets on the file system. What type of storage are you using it for. Web-app, Map/Reduce stuff, File-backup, etc ... I was wondering if anyone has a better method – even though this meets my current needs. Why do you want to use s3 like a file system? s3 does not have the properties of a posix system so you are bound be get some minor errors and problems. if there is an automounter that could be tweaked to work with s3fs. The entries in my fstab are rather different to the normal disk based ones, s3fs#BUCKETNAME /mnt/s3/BUCKETNAME fuse allow_other,default_acl=public-read,noauto 0 0 ,so I wasn’t sure if it is possible. I hope you are aware that everything you put on your s3 is publicly available if someone knows your bucket name. I use s3tools to transfer data between s3 and a folder on my machine. I tried mounting it like you, but just ran into too many problems, especially if you access files from many machines. Maybe a little more information on your use-case :) Cheers Didi -- Hoffmann Geerd-Dietger http://contact.ribalba.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Installing a .ko file?
Slack-Moehrle wrote: Hi Benjamin, Have you tried it without installing the vendor driver? That board should be old enough to be supported natively. I use 9550SX boards without any problems. Can you tell me the process you take? I dont see drives available, I believe they are being exported to the OS though. I took my 8x1.5tb drives, went into the card setup and set each one as a single drive and when the machine boots, the card says they are exported. What can I try to ensure that CentOS is seeing them? If you are using the current CentOS (make sure that you are using 5.4 with the current kernel - it probably is not enough to be using bare un-updated 5.0 or some such old version) just type fdisk -l /dev/sda which should give you something similar to this: Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes changing '/dev/sda' to sdb through sdh or whatever is appropriate to your system to check each exported drive. -- Benjamin Franz ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Amazon S3FS Automounter of sorts
Thanks for the quick reply, What type of storage are you using it for. Web-app, Map/Reduce stuff, File-backup, etc ... Currently using it for serving files through cloudfront - so purely as a storage space for CDN delivery. Why do you want to use s3 like a file system? s3 does not have the properties of a posix system so you are bound be get some minor errors and problems. I found it works well with FTPing into the server and uploading to the mounted bucket. Reason its like this is that there are lots of different people who upload throughout our company. It was much easier giving out the FTP details, which were totally under our control (Username/Pass,Firewall,etc), rather than giving out the S3 logins. I hope you are aware that everything you put on your s3 is publicly available if someone knows your bucket name. Yes, I am aware of that - its all being served on the net anyway. If I remove the Pubic read only, will the files still be accessible via cloudfront? I use s3tools to transfer data between s3 and a folder on my machine. I tried mounting it like you, but just ran into too many problems, especially if you access files from many machines. What issues did you run into? As I haven't had any problems as of yet. MattNOTE: The information in this email is confidential and may be legally privileged, unless stated to the contrary. If you are not the intended recipient, you must not read, use or disseminate that information. Any opinions or comments are personal to the writer and do not represent the official view of Dennis Publishing Ltd. If you have received this email and are not a named addressee, please contact itdirec...@dennis.co.uk immediately by reply email and then delete this message from your system. Please do not copy it or use it for any purpose, or disclose its contents to any other person. Although this email and any attachments are believed to be free of any virus, or other defects, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Dennis Publishing Ltd for any loss or damage arising from the receipt or use thereof. Company registered in England No. 1138891 Registered office: 30, Cleveland Street, London, W1T 4JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Slightly OT: which hardware for CentOS file server (Samba, 2 To storage, 50 users)?
50 simultaneous users will require more than a bargain desktop PC. I would go for low-end server hardware, which will get you ECC memory and more SATA ports. The cost is probably not significantly more than a _good_ quality desktop system. You may want to allow for some expansion, 2 To may grow into 3 To over time. Also plan for backups. You may want to use LVM and leave some disk space unallocated to you can create snapshots and make backups to external USB drives or another network server while the system is up and running. My personal criteria: - decent power supply - space for 4 3.5 hard drives. - 4 memory slots, so I can go to 8 Go memory without breaking the bank - at least a dual-core Xeon or AMD processor which supports ECC memory - 4 or more available SATA ports on the motherboard - 1-2 1000BASE-T network interfaces. You could go for a RAID controller, but RAID1 (mirroring) has little overhead in software, and you can buy 2 extra hard disks for the price of the controller. Gé (from cloudy Nevada) On Mon, 12 Apr 2010, Niki Kovacs wrote: Hi, The language lab from the local university has contacted me. They'd like to have a low-cost file server for storing all their language video files. They have a mix of Windows, Mac OS X and even Linux clients, roughly 50 machines. The files are quite big, and they calculated a total amount of 2 To of storage. I'm not very proficient with hardware, meaning either I'm dealing with remote servers in some datacenter, or otherwise I install CentOS desktops on any hardware people throw at me. Since the aim is lowcost, would it be wrong to install that fileserver on a no-name desktop PC with a 64bit processor and enough RAM, and then simply put 2 x 2 To hard disks in it, either with a mirroring RAID (can never remember which does what in 0, 1 and 5) or some rsync script regularly copying over the first disk to the second? Or do you have something more apt to suggest? Cheers from South France, Niki ___ 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] Slightly OT: which hardware for CentOS file server (Samba, 2 To storage, 50 users)?
thus On 04/12/2010 06:50 PM, Gé Weijers spake: 50 simultaneous users will require more than a bargain desktop PC. Please don't top post... Yes -- 50 not too lazy users will kill the machine. I would go for low-end server hardware, which will get you ECC memory and more SATA ports. The cost is probably not significantly more than a _good_ quality desktop system. ECC is mandatory in decent machines, be it workstations or servers, IMHO. Think of a faulty stick of RAM you don't discover immediately, it might shred all your Terabytes of data. You may want to allow for some expansion, 2 To may grow into 3 To over time. Also plan for backups. You may want to use LVM and leave some disk space unallocated to you can create snapshots and make backups to external USB drives or another network server while the system is up and running. My personal criteria: - decent power supply - space for 4 3.5 hard drives. - 4 memory slots, so I can go to 8 Go memory without breaking the bank - at least a dual-core Xeon or AMD processor which supports ECC memory Almost every not too crappy mother board will allow ECC using an AMD CPU (Phenom et al). To get ECC in intel space, you'll have to pay *much* more. - 4 or more available SATA ports on the motherboard - 1-2 1000BASE-T network interfaces. Maybe, search for a (used) server on eBay or elsewhere. You can get very decent machines with all the features or more (ECC, many memory slots, dual, redundant power supplies, even out-of-band management) at a very low price. Keep in mind that those machines *are* loud. (You have a closet/rack to keep it, don't you?) You could go for a RAID controller, but RAID1 (mirroring) has little overhead in software, and you can buy 2 extra hard disks for the price of the controller. Maybe for future growth you'll want to keep in mind that you could go RAID6. RAID5 is evil, taking todays hard drive sizes in mind (speaking of 2TiByte drives, especially). Gé (from cloudy Nevada) HTH, Timo (from sunny Berlin) On Mon, 12 Apr 2010, Niki Kovacs wrote: Hi, The language lab from the local university has contacted me. They'd like to have a low-cost file server for storing all their language video files. They have a mix of Windows, Mac OS X and even Linux clients, roughly 50 machines. The files are quite big, and they calculated a total amount of 2 To of storage. I'm not very proficient with hardware, meaning either I'm dealing with remote servers in some datacenter, or otherwise I install CentOS desktops on any hardware people throw at me. Since the aim is lowcost, would it be wrong to install that fileserver on a no-name desktop PC with a 64bit processor and enough RAM, and then simply put 2 x 2 To hard disks in it, either with a mirroring RAID (can never remember which does what in 0, 1 and 5) or some rsync script regularly copying over the first disk to the second? Or do you have something more apt to suggest? Cheers from South France, Niki ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Slightly OT: which hardware for CentOS file server (Samba, 2 To storage, 50 users)?
Gé Weijers wrote: 50 simultaneous users will require more than a bargain desktop PC. I would go for low-end server hardware, which will get you ECC memory and more SATA ports. The cost is probably not significantly more than a _good_ quality desktop system. You may want to allow for some expansion, 2 To may grow into 3 To over time. Also plan for backups. You may want to use LVM and leave some disk space unallocated to you can create snapshots and make backups to external USB drives or another network server while the system is up and running. My personal criteria: - decent power supply - space for 4 3.5" hard drives. - 4 memory slots, so I can go to 8 Go memory without breaking the bank - at least a dual-core Xeon or AMD processor which supports ECC memory - 4 or more available SATA ports on the motherboard - 1-2 1000BASE-T network interfaces. You could go for a RAID controller, but RAID1 (mirroring) has little overhead in software, and you can buy 2 extra hard disks for the price of the controller. I'd support the above hardware as a minimum - it appears most will be reading, thus software RAID1 will work just fine - If there are many different files, I'd go for more smaller disks - say 8 by 500G in RAID1, thus the ability to spread the files over more spindles as this may become the bottleneck if all the files are on a single 2T drive. Gé (from cloudy Nevada) On Mon, 12 Apr 2010, Niki Kovacs wrote: Hi, The language lab from the local university has contacted me. They'd like to have a low-cost file server for storing all their language video files. They have a mix of Windows, Mac OS X and even Linux clients, roughly 50 machines. The files are quite big, and they calculated a total amount of 2 To of storage. I'm not very proficient with hardware, meaning either I'm dealing with remote servers in some datacenter, or otherwise I install CentOS desktops on any hardware people throw at me. Since the aim is lowcost, would it be wrong to install that fileserver on a no-name desktop PC with a 64bit processor and enough RAM, and then simply put 2 x 2 To hard disks in it, either with a mirroring RAID (can never remember which does what in 0, 1 and 5) or some rsync script regularly copying over the first disk to the second? Or do you have something more apt to suggest? Cheers from South France, Niki ___ 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 attachment: rkampen.vcf___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] mysterious weekly shutdown
I have a Centos 5.4 machine that has, for the past two weeks, apparently been shut off over the weekend. It's just sitting there turned off on Monday morning and when someone hits the power switch it comes right back on and everything works again. This happened last weekend, and again over this past weekend. Here is /var/log/messages from shortly before it apparently shut down this weekend. Can anyone tell me what is or might be going on? Apr 10 11:01:27 answeringmachine vgetty[6012]: message keep, length=00:00:20, name='', caller=none, dev=ttyACM0, pid=6012 Apr 10 11:19:10 answeringmachine vgetty[6095]: message keep, length=00:00:24, name='', caller=none, dev=ttyACM0, pid=6095 Apr 10 11:43:56 answeringmachine vgetty[6134]: message keep, length=00:00:11, name='', caller=none, dev=ttyACM0, pid=6134 Apr 10 12:22:34 answeringmachine mgetty[6029]: fax dev=ttyS1, pid=6029, caller='none', name='', id='', +FHNG=074, pages=0/0, time=00:00:51 Apr 10 12:43:49 answeringmachine gconfd (freeads-3524): Exiting Apr 10 12:43:49 answeringmachine gdm[2872]: Master halting... Apr 10 12:43:49 answeringmachine pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0 Not Found Apr 10 12:43:50 answeringmachine shutdown[2872]: shutting down for system halt Apr 10 12:43:50 answeringmachine mgetty[6262]: failed dev=ttyS1, pid=6262, got signal 15, exiting Apr 10 12:43:50 answeringmachine mgetty[2874]: failed dev=ttyS2, pid=2874, got signal 15, exiting Apr 10 12:43:50 answeringmachine vgetty[2877]: failed dev=ttyACM1, pid=2877, got signal 15, exiting Apr 10 12:43:50 answeringmachine vgetty[6183]: failed dev=ttyACM0, pid=6183, got signal 15, exiting Apr 10 12:43:51 answeringmachine smartd[2854]: smartd received signal 15: Terminated Apr 10 12:43:51 answeringmachine smartd[2854]: smartd is exiting (exit status 0) Apr 10 12:43:52 answeringmachine avahi-daemon[2769]: Got SIGTERM, quitting. Apr 10 12:43:52 answeringmachine avahi-daemon[2769]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::21c:c0ff:fee3:f1b1. Apr 10 12:43:52 answeringmachine avahi-daemon[2769]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.0.6. Apr 10 12:43:52 answeringmachine mountd[2588]: Caught signal 15, un-registering and exiting. Apr 10 12:43:52 answeringmachine kernel: nfsd: last server has exited Apr 10 12:43:52 answeringmachine kernel: nfsd: unexporting all filesystems Apr 10 12:43:57 answeringmachine ntpd[2532]: ntpd exiting on signal 15 Apr 10 12:43:57 answeringmachine nm-system-settings: disconnected from the system bus, exiting. Apr 10 12:43:57 answeringmachine kernel: nm-system-setti[3083]: segfault at rip rsp 7fffb3916778 error 14 Apr 10 12:43:57 answeringmachine rpc.statd[2349]: Caught signal 15, un-registering and exiting. Apr 10 12:43:57 answeringmachine auditd[2264]: The audit daemon is exiting. Apr 10 12:43:57 answeringmachine kernel: audit(1270925037.732:154): audit_pid=0 old=2264 by auid=4294967295 Apr 10 12:43:57 answeringmachine pcscd: pcscdaemon.c:572:signal_trap() Preparing for suicide Apr 10 12:43:58 answeringmachine pcscd: hotplug_libusb.c:376:HPRescanUsbBus() Hotplug stopped Apr 10 12:43:58 answeringmachine pcscd: readerfactory.c:1379:RFCleanupReaders() entering cleaning function Apr 10 12:43:58 answeringmachine pcscd: pcscdaemon.c:532:at_exit() cleaning /var/run Apr 10 12:43:59 answeringmachine kernel: Kernel logging (proc) stopped. Apr 10 12:43:59 answeringmachine kernel: Kernel log daemon terminating. Apr 10 12:44:00 answeringmachine exiting on signal 15 -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mysterious weekly shutdown
On Mon, Apr 12, 2010 at 1:08 PM, Frank Cox thea...@sasktel.net wrote: I have a Centos 5.4 machine that has, for the past two weeks, apparently been shut off over the weekend. It's just sitting there turned off on Monday morning and when someone hits the power switch it comes right back on and everything works again. This happened last weekend, and again over this past weekend. Here is /var/log/messages from shortly before it apparently shut down this weekend. Can anyone tell me what is or might be going on? Apr 10 12:43:59 answeringmachine kernel: Kernel logging (proc) stopped. Apr 10 12:43:59 answeringmachine kernel: Kernel log daemon terminating. Apr 10 12:44:00 answeringmachine exiting on signal 15 -- I've seen this on some HP Blades that I administer. I ended up disabling the pcsd daemon. It might have been related to a dynamically attached optical device that was moved from blade to blade, but I didn't spend much time troubleshooting. Since disabling pcsd a few months ago it has been solid. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Slightly OT: which hardware for CentOS file server (Samba, 2 To storage, 50 users)?
Ge' wrote: thus On 04/12/2010 06:50 PM, Gé Weijers spake: I would go for low-end server hardware, which will get you ECC memory and more SATA ports. The cost is probably not significantly more than a _good_ quality desktop system. snip Also consider hot-swappable disk enclosures, either in the server or external. When one dies, assuming you have a spare available, it'll will make your users much happier, since you can replace the drive without taking the server down. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] everything seems to hang, but system is idle? [SOLVED]
On Apr 12, 2010, at 10:25 AM, Rudi Ahlers rudiahl...@gmail.com wrote: On Mon, Apr 12, 2010 at 1:50 PM, JohnS jse...@gmail.com wrote: On Sun, 2010-04-11 at 15:48 +0200, Rudi Ahlers wrote: Yes, I think it could be a problematic iscsi config. Now that I think of it, the server wasn't rebooted in about 2 or 3 months and I did some iscsi testing a while ago, but with a recent power outage it could have enabled / a faulty configuration, I just rebooted the server again, managed to the remove iscsi this time, and will see if this solves the problem. --- Well along with that I would do a file system check. Then if it keeps on stop just the nmbd service and not smbd for cifs sharing. John ___ So far everything seems to be fine, apart from my Cobbler problem (see other thread). rsync has been running very well for the past few hours (have been deleting restoring a lot of stuff to check ) so it was probably the improper iscsi mount that was giving issues. Thanx for all the help :) Don't mount a page cached iSCSI target over loopback or you'll deadlock the page cache. Sounds like what happened. -Ross ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mysterious weekly shutdown
Frank wrote: I have a Centos 5.4 machine that has, for the past two weeks, apparently been shut off over the weekend. It's just sitting there turned off on Monday morning and when someone hits the power switch it comes right back on and everything works again. This happened last weekend, and again over this past weekend. Here is /var/log/messages from shortly before it apparently shut down this weekend. Can anyone tell me what is or might be going on? Apr 10 11:01:27 answeringmachine vgetty[6012]: message keep, length=00:00:20, name='', caller=none, dev=ttyACM0, pid=6012 Apr 10 11:19:10 answeringmachine vgetty[6095]: message keep, length=00:00:24, name='', caller=none, dev=ttyACM0, pid=6095 Apr 10 11:43:56 answeringmachine vgetty[6134]: message keep, length=00:00:11, name='', caller=none, dev=ttyACM0, pid=6134 Apr 10 12:22:34 answeringmachine mgetty[6029]: fax dev=ttyS1, pid=6029, caller='none', name='', id='', +FHNG=074, pages=0/0, time=00:00:51 Apr 10 12:43:49 answeringmachine gconfd (freeads-3524): Exiting This - I wonder if someone's somehow getting in. Anything in /var/log/secure for 12:43? Apr 10 12:43:49 answeringmachine gdm[2872]: Master halting... Apr 10 12:43:49 answeringmachine pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0 Not Found Apr 10 12:43:50 answeringmachine shutdown[2872]: shutting down for system halt Here's a thought: does it have bluetooth enabled? Is it in range to talk to someone *else's* bluetooth keyboard? Is anyone near enough to shut down their machine, and/or accidentally yours? snip status 0) Apr 10 12:43:52 answeringmachine avahi-daemon[2769]: Got SIGTERM, quitting. Is this machine hardwired? If so, you do NOT need the avahi-daemon, on by default, which is intended for a clueless home user to set up a network. Turn it *off*, and yank the firewall rule that allows it. snip mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mysterious weekly shutdown
On Mon, 2010-04-12 at 13:19 -0400, m.r...@5-cent.us wrote: This - I wonder if someone's somehow getting in. Anything in /var/log/secure for 12:43? Apr 9 18:13:46 answeringmachine gdm[2965]: pam_unix(gdm:session): session opened for user freeads by (uid=0) Apr 10 12:43:49 answeringmachine gdm[2965]: pam_unix(gdm:session): session closed for user freeads Apr 10 12:43:53 answeringmachine sshd[2516]: Received signal 15; terminating. Apr 10 12:43:53 answeringmachine runuser: pam_unix(runuser:session): session opened for user frankcox by (uid=0) Apr 10 12:43:53 answeringmachine runuser: pam_unix(runuser:session): session closed for user frankcox Apr 12 09:53:49 answeringmachine sshd[2518]: Server listening on :: port 22. Here's a thought: does it have bluetooth enabled? Is it in range to talk to someone *else's* bluetooth keyboard? Is anyone near enough to shut down their machine, and/or accidentally yours? There is no bluetooth or wireless anything on this, other than a wireless mouse. Everything else is hard-wired. Is this machine hardwired? If so, you do NOT need the avahi-daemon, on by default, which is intended for a clueless home user to set up a network. Turn it *off*, and yank the firewall rule that allows it. Interesting. I never realized (or thought about) that. I shall do a bunch of turning-off of avahi-daemon on these machines. -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mysterious weekly shutdown
Frank wrote: On Mon, 2010-04-12 at 13:19 -0400, m.r...@5-cent.us wrote: This - I wonder if someone's somehow getting in. Anything in /var/log/secure for 12:43? Apr 9 18:13:46 answeringmachine gdm[2965]: pam_unix(gdm:session): session opened for user freeads by (uid=0) Apr 10 12:43:49 answeringmachine gdm[2965]: pam_unix(gdm:session): session closed for user freeads Apr 10 12:43:53 answeringmachine sshd[2516]: Received signal 15; terminating. Apr 10 12:43:53 answeringmachine runuser: pam_unix(runuser:session): session opened for user frankcox by (uid=0) Apr 10 12:43:53 answeringmachine runuser: pam_unix(runuser:session): session closed for user frankcox *This, I don't understand. Either freeads or frankcox shut the system down, it looks like to me. Could your account have been compromised? Apr 12 09:53:49 answeringmachine sshd[2518]: Server listening on :: port 22. Here's a thought: does it have bluetooth enabled? Is it in range to talk to someone *else's* bluetooth keyboard? Is anyone near enough to shut down their machine, and/or accidentally yours? There is no bluetooth or wireless anything on this, other than a wireless mouse. Everything else is hard-wired. Is this machine hardwired? If so, you do NOT need the avahi-daemon, on by default, which is intended for a clueless home user to set up a network. Turn it *off*, and yank the firewall rule that allows it. Interesting. I never realized (or thought about) that. I shall do a bunch of turning-off of avahi-daemon on these machines. Yes. Turn them *all* off. Actually, in a server room, you could having other, obscure problems, as wireless tries to connect. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mysterious weekly shutdown
On Mon, 2010-04-12 at 13:11 -0400, Kwan Lowe wrote: Since disabling pcsd a few months ago it has been solid. Interesting. Since there is no particular reason why pcsd needs to be running on this machine, I just disabled it. I'll see what happens now. -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mysterious weekly shutdown
Is the machine connected to an UPS? Maybe the UPS either sends a shutdown signal, or maybe it just breaks the powerfeed periodically because an old battery / overload (ours did once), and the machine cannot restart itself after that. - Jussi Hirvi -- Jussi Hirvi * Green Spot Topeliuksenkatu 15 C * 00250 Helsinki * Finland Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms) jussi.hi...@greenspot.fi * http://www.greenspot.fi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mysterious weekly shutdown
On Mon, 2010-04-12 at 13:43 -0400, m.r...@5-cent.us wrote: *This, I don't understand. Either freeads or frankcox shut the system down, it looks like to me. Could your account have been compromised? I'm starting to wonder about freeads, actually. That account is generally left logged-in from the main office and I wonder who might have been in the office on Saturday. I'm going to do some investigation. frankcox is my vnc session on that machine. That machine doesn't talk to the outside world directly; you have to go through another one first. And the other one is acting fine. -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mysterious weekly shutdown
On Mon, 2010-04-12 at 20:56 +0300, Jussi Hirvi wrote: Is the machine connected to an UPS? Maybe the UPS either sends a shutdown signal, or maybe it just breaks the powerfeed periodically because an old battery / overload (ours did once), and the machine cannot restart itself after that. That was, in fact, my first thought. I changed that UPS just a couple of weeks ago; it's brand new. I also don't have that UPS hooked up to the computer with the data cable, so if it did drop the power it shouldn't go thorough the shutdown sequence but would immediately drop dead. -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] how long NTP sync to time server on CENTOS 4.X????
We have several CENTOS 4 and 5 servers. ALL CENTOS servers have NTP setup to sync time server. Several days ago due to power outage all servers are reboot. Due to DNS server did NOT up quickly, CENTOS servers start up and can NOT find time server. For CENTOS 5.X servers, it did quickly resync to time server after 30 minutes. For CENTOS 4.X servers, it have been 3 days still NOT sync to time server. I know I can run service ntpd restart to force server sync to time server, but I like to know how long it take for CENTOS 4.X automatic resync to time server. Thanks. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] How long will CENTOS 4.X automatic resync to to time server???
We have several CENTOS 4 and 5 servers. ALL CENTOS servers have NTP setup to sync time server. Several days ago due to power outage all servers are reboot. Due to DNS server did NOT up quickly, CENTOS servers start up and can NOT find time server. For CENTOS 5.X servers, it did quickly resync to time server after 30 minutes. For CENTOS 4.X servers, it have been 3 days still NOT sync to time server. I know I can run service ntpd restart to force server sync to time server, but I like to know how long it take for CENTOS 4.X automatic resync to time server. Thanks. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Slightly OT: which hardware for CentOS file server (Samba, 2 To storage, 50 users)?
On Mon, 12 Apr 2010, Rob Kampen wrote: Gé Weijers wrote: I'd support the above hardware as a minimum - it appears most will be reading, thus software RAID1 will work just fine - If there are many different files, I'd go for more smaller disks - say 8 by 500G in RAID1, thus the ability to spread the files over more spindles as this may become the bottleneck if all the files are on a single 2T drive. Using 8 drives is going to significantly increase the cost, because you'd need 8 SATA interfaces and 8 drive bays. Otherwise I agree. A RAID-10 setup (striped mirrors) will probably give the best performance. Gé___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mysterious weekly shutdown
On Mon, 2010-04-12 at 13:43 -0400, m.r...@5-cent.us wrote: *This, I don't understand. Either freeads or frankcox shut the system down, it looks like to me. Could your account have been compromised? I'm starting to wonder about freeads, actually. That account is generally left logged-in from the main office and I wonder who might have been in the office on Saturday. I'm going to do some investigation. Does the machine that that account is logged on from fire up a screen-locking screen saver after some reasonable amount of inactivity (like 20 min or so?) frankcox is my vnc session on that machine. Guessed that. That machine doesn't talk to the outside world directly; you have to go through another one first. And the other one is acting fine. So something is happening on this machine. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] how long NTP sync to time server on CENTOS 4.X????
We have several CENTOS 4 and 5 servers. ALL CENTOS servers have NTP setup to sync time server. Several days ago due to power outage all servers are reboot. Due to DNS server did NOT up quickly, CENTOS servers start up and can NOT find time server. For CENTOS 5.X servers, it did quickly resync to time server after 30 minutes. For CENTOS 4.X servers, it have been 3 days still NOT sync to time server. I know I can run service ntpd restart to force server sync to time server, but I like to know how long it take for CENTOS 4.X automatic resync to time server. man ntpd: excerpt: Most operating systems and hardware of today incorporate a time-of-year (TOY) chip to maintain the time during periods when the power is off. When the machine is booted, the chip is used to initialize the operating system time. After the machine has synchronized to a NTP server, the operating system corrects the chip from time to time. In case there is no TOY chip or for some reason its time is more than 1000s from the server time, ntpd assumes something must be terribly wrong and the only reliable action is for the operator to intervene and set the clock by hand. --- end excerpt --- mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mysterious weekly shutdown
On Mon, 2010-04-12 at 14:46 -0400, m.r...@5-cent.us wrote: Does the machine that that account is logged on from fire up a screen-locking screen saver after some reasonable amount of inactivity (like 20 min or so?) No, it just sits there doing nothing forever until someone sits down in front of it. So something is happening on this machine. Apparently. I have just been looking at the log from the previous weekend when it shut down before. Here is what /var/log/messages has to say from April 2. Once again the pscd line is right at the top of the log immediately after the shutdown signal. I don't know if that's suggestive, or just a coincidence. Apr 2 09:12:43 answeringmachine vgetty[22949]: message keep, length=00:01:02, name='', caller=none, dev=ttyACM0, pid=22949 Apr 2 09:23:20 answeringmachine vgetty[22963]: message keep, length=00:00:25, name='', caller=none, dev=ttyACM0, pid=22963 Apr 2 09:43:56 answeringmachine gdm[2880]: Master halting... Apr 2 09:43:56 answeringmachine shutdown[2880]: shutting down for system halt Apr 2 09:43:57 answeringmachine pcscd: winscard.c:304:SCardConnect() Reader E-Gate 0 0 Not Found Apr 2 09:43:57 answeringmachine mgetty[2884]: failed dev=ttyS2, pid=2884, got signal 15, exiting and so on through the rest of the shutdown. -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] 'p' in boot selector going into single-user
On boot, when I hit the F12 key to bring up the boot menu, the screen displays the various kernels and other boot options. In the text below this menu it says I can hit 'p' to bring up a menu with other options. I've done this with the last two boot-ups and no other menu or options appear. Is something missing? (I also tried Alt-p, Shift-p, Ctrl-p and a few other keys and there's no change onscreen.) I'd like to know also how to select single user mode, but haven't found a way to do that. Thanks much. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Slightly OT: which hardware for CentOS file server (Samba, 2 To storage, 50 users)?
Niki Kovacs wrote: Hi, The language lab from the local university has contacted me. They'd like to have a low-cost file server for storing all their language video files. They have a mix of Windows, Mac OS X and even Linux clients, roughly 50 machines. The files are quite big, and they calculated a total amount of 2 To of storage. I'd look at using 1TB drives rather than 2TB, the 2TB seem to be too bleeding edge and have been too many anecdotal reports of problems. for sure you want to use server rated SATA drives for an application like this, such as the WDC RE series, or the Seagate ES series (this has more to do with write buffering and consistent error reporting than it does to do with performance). if this system is going to have 50 clients constantly playing videos on it, then I'd look at 450gb or 600gb SAS drives, and a lot more of them. If this is to be a rack mounted system in a data center, I'd probably look at a box like a HP DL370, which can hold quite a lot of drives. http://h10010.www1.hp.com/wwpc/us/en/sm/WF05a/15351-15351-3328412-241644-241475-3890172.html put the lowest end single CPU they offer in it, but get the better raid controller and a reasonable amount of memory, and redundant PSU. get 2 hot spare drives. if initial requirements are 2TB usable storage, thats 4 x 1TB raid10 plus 2 x 1TB spares. also get two small drives (like 72gb sas) for those left-side slots, mirrored for the OS and software. 6gb ram is probably fine. the base model of this system is $3300 with a 4-core 2.4ghz, 6gb ram and 4 gigE ethernet ports (you could gang these to the switch if their network infrastructure supports ether bonding aka ipmp). OSX should be happy with NFS, Linux clients certainly are, and Samba can serve files for Windows clients. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] mysterious weekly shutdown
On Mon, 2010-04-12 at 14:46 -0400, m.r...@5-cent.us wrote: Does the machine that that account is logged on from fire up a screen-locking screen saver after some reasonable amount of inactivity (like 20 min or so?) No, it just sits there doing nothing forever until someone sits down in front of it. That shouldn't be left that way. Those who use it should have their own accounts. Hell, I know I'm paranoid, but a sysadmin, as a friend (also a sysadmin) likes to say, he's being paid to be professionally paranoid. I log off my own system, at home, every night, and every morning before I head off to work. So something is happening on this machine. Apparently. I have just been looking at the log from the previous weekend when it shut down before. Here is what /var/log/messages has to say from April 2. Once again the pscd line is right at the top of the log immediately after the shutdown signal. I don't know if that's suggestive, or just a coincidence. I think the latter, unless you've got SmartCards that you use for security. (Yes, some here have them; they haven't given me one yet, but it's coming - oh, yes, I'm a contractor with the US federal gov't.) Apr 2 09:12:43 answeringmachine vgetty[22949]: message keep, length=00:01:02, name='', caller=none, dev=ttyACM0, pid=22949 Apr 2 09:23:20 answeringmachine vgetty[22963]: message keep, length=00:00:25, name='', caller=none, dev=ttyACM0, pid=22963 Apr 2 09:43:56 answeringmachine gdm[2880]: Master halting... Apr 2 09:43:56 answeringmachine shutdown[2880]: shutting down for system halt Something's happening at 09:43:56. Don't suppose there's any other logs with that timestamp? snip mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 'p' in boot selector going into single-user
On boot, when I hit the F12 key to bring up the boot menu, the screen displays the various kernels and other boot options. In the text below this menu it says I can hit 'p' to bring up a menu with other options. I've done this with the last two boot-ups and no other menu or options appear. Is something missing? (I also tried Alt-p, Shift-p, Ctrl-p and a few other keys and there's no change onscreen.) I'd like to know also how to select single user mode, but haven't found a way to do that. When you get to the grub menu, hit 'e' at the kernel, then arrow down one to the line beginning with kernel, and hit 'e' again. At the end of the line, add the letter s, then follow the directions for getting out of edit mode, and hit the letter b for boot. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Slightly OT: which hardware for CentOS file server (Samba, 2 To storage, 50 users)?
John R Pierce sent a missive on 2010-04-12: Niki Kovacs wrote: Hi, The language lab from the local university has contacted me. They'd like to have a low-cost file server for storing all their language video files. They have a mix of Windows, Mac OS X and even Linux clients, roughly 50 machines. The files are quite big, and they calculated a total amount of 2 To of storage. I'd look at using 1TB drives rather than 2TB, the 2TB seem to be too bleeding edge and have been too many anecdotal reports of problems. for sure you want to use server rated SATA drives for an application like this, such as the WDC RE series, or the Seagate ES series (this has more to do with write buffering and consistent error reporting than it does to do with performance). There are some array providers that are currently using 2TB drives (rorke data for one) - but I would always suggest that you use enterprise quality disks. if this system is going to have 50 clients constantly playing videos on it, then I'd look at 450gb or 600gb SAS drives, and a lot more of them. I would look at the performance of the disk subsystem, make sure that the sustained read of the system is able to keep up with the demands of streaming video - you'll need to have 10K of 15K rpm disks for realtime video if you're streaming to a lot of users. It may be that their expectations are that the video isn't realtime and therefore you will be able to use slower disks and subsystem. If this is to be a rack mounted system in a data center, I'd probably look at a box like a HP DL370, which can hold quite a lot of drives. http://h10010.www1.hp.com/wwpc/us/en/sm/WF05a/15351-15351-3328412- 241644-241475-3890172.html Depending on the number of disks you need (the IO profile will determine the speed/size/interface) you may have to go to an external array. put the lowest end single CPU they offer in it, but get the better raid controller and a reasonable amount of memory, and redundant PSU. get 2 hot spare drives. if initial requirements are 2TB usable storage, thats 4 x 1TB raid10 plus 2 x 1TB spares. also get two small drives (like 72gb sas) for those left-side slots, mirrored for the OS and software. 6gb ram is probably fine. the base model of this system is $3300 with a 4-core 2.4ghz, 6gb ram and 4 gigE ethernet ports (you could gang these to the switch if their network infrastructure supports ether bonding aka ipmp). If it's only files that your sharing then this is fine, but if you intend to change the video quality on the fly then you may need to have something beefier... but the disk subsystem is the key to fast file/video streaming. OSX should be happy with NFS, Linux clients certainly are, and Samba can serve files for Windows clients. You may also be looking at http web services with flash encoding or quicktime - Apple used to have a free version of their quicktime video streaming platform which may work for you. Good luck with this, if it is as you suggest in your post just a file store and not a video streamer platform, then your life is simple. As soon as you enter the world of video streaming, life becomes harder and more expensive. Simon. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Slightly OT: which hardware for CentOS file server (Samba, 2 To storage, 50 users)?
Simon Billis wrote: John R Pierce sent a missive on 2010-04-12: if this system is going to have 50 clients constantly playing videos on it, then I'd look at 450gb or 600gb SAS drives, and a lot more of them. I would look at the performance of the disk subsystem, make sure that the sustained read of the system is able to keep up with the demands of streaming video - you'll need to have 10K of 15K rpm disks for realtime video if you're streaming to a lot of users. It may be that their expectations are that the video isn't realtime and therefore you will be able to use slower disks and subsystem. as he said it was a language lab, I'd expect at peak times, all 50 clients could be busy playing different videos. so, this disk system has to be able to keep up with 50 different streams for extended periods of time, which is a more complex workload than one faster stream. I'm going to hazard a guess that most streaming video is under 1MByte/sec but with 50 x 1Mbyte/sec playing at once, this becomes a more random access workload than 1 x 50MB/sec... Also, there's a strong likelihood these language videos are somewhat random access, and there will be a lot of seeking back and forth, playing short snippets. Server-side and client-side caching will help a lot on this but the requirement could well still be there. Response time is fairly important here, if a user chooses to jump to a given chapter, it should be accessible in less than 1 second or something. frequent youtube style 5-10 second pauses for 'buffering' will result in a lot of student frustration. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: Dropbox - Fedora Core 9 RPM will work on CentOS 5.4?
On Mon, Apr 12, 2010 at 8:21 AM, Lanny Marcus lmmailingli...@gmail.com wrote: Dropbox has an RPM for Fedora Core 9 (x86). I am running CentOS 5.4 on my Desktop, which I believe is based on Fedora Core 6. snip Follow On: I updated my Desktop and as I assumed, the Dropbox RPM for Fedora Core 9 (x86) will not fly on CentOS 5.4. I got these Dependencies when I tried to install it: Missing Dependency: pygtk2 = 2.12 is needed by package nautilus-dropbox-0.6.1-1.fc9.i386 (/nautilus-dropbox-0.6.1-1.fc9.i386) Missing Dependency: libnotify = 0.4.4 is needed by package nautilus-dropbox-0.6.1-1.fc9.i386 (/nautilus-dropbox-0.6.1-1.fc9.i386) Missing Dependency: glib2 = 2.14.0 is needed by package nautilus-dropbox-0.6.1-1.fc9.i386 (/nautilus-dropbox-0.6.1-1.fc9.i386) Missing Dependency: libgio-2.0.so.0 is needed by package nautilus-dropbox-0.6.1-1.fc9.i386 (/nautilus-dropbox-0.6.1-1.fc9.i386) Will try something else, ASAP. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How long will CENTOS 4.X automatic resync to to time server???
On 4/12/2010 2:34 PM, mcclnx mcc wrote: We have several CENTOS 4 and 5 servers. ALL CENTOS servers have NTP setup to sync time server. Several days ago due to power outage all servers are reboot. Due to DNS server did NOT up quickly, CENTOS servers start up and can NOT find time server. For CENTOS 5.X servers, it did quickly resync to time server after 30 minutes. For CENTOS 4.X servers, it have been 3 days still NOT sync to time server. I know I can run service ntpd restart to force server sync to time server, but I like to know how long it take for CENTOS 4.X automatic resync to time server. Thanks. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos If you need to force it by hand to resync and don't mind an abrupt time change run the following command: ntpdate -u your.ntp.server -- Ryan Manikowski ]] Devision Media Services LLC [[ www.devision.us r...@devision.us | 716.771.2282 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Installing a .ko file?
On 4/12/2010 12:04 PM, John Doe wrote: From: Slack-Moehrle mailingli...@mailnewsrss.com Can you tell me the process you take? I dont see drives available, I believe they are being exported to the OS though. I took my 8x1.5tb drives, went into the card setup and set each one as a single drive and when the machine boots, the card says they are exported. Look maybe at SCSI_3W_9XXX In '/usr/src/kernels/.../drivers/scsi/Kconfig' But they mention a '3w-9xxx.c' that is not there... JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos Another user already suggested the use of fdisk and this is a continuation of that. Issuing the command 'fdisk -l' without specifying a drive will print the partition table of ALL detected drives attached to a system. Also, having used 3ware cards extensively with Centos, the module for you card is included with 5.4. No need to use the 3ware module from their website. -- Ryan Manikowski ]] Devision Media Services LLC [[ www.devision.us r...@devision.us | 716.771.2282 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to log separate files or directories for centralizing SysLog server ?
Hi Tomas, It's working in rsyslog with applying the link you've given. Thanks. The only thing that I am thinking now is how to make logrotate to automatically compress those different directories/files in various hostnames logged in a certain period of time. I can copy and modify manually the /etc/logrotate.d/syslog to target those different hostname logged but is there any settings needed to work it in logrotate.conf? Thanks. James 2010/4/12 Tomas Ruprich rupr...@uikt.mendelu.cz Not that rules, but definetely it's possible with rsyslog. http://www.rsyslog.com/Article60.phtml Tomas Mon, Apr 12, 2010 ve 04:12:39PM +0800, James Corteciano napsal: Hi Tomas, I can't use syslog-ng because it's not included in RHEL package in DVD and company policy not to use non-rpm. I can use rsyslog and found it's the same config to syslog. Can I apply that rules in rsyslog? Thanks. James On Mon, Apr 12, 2010 at 3:57 PM, Tomas Ruprich rupr...@uikt.mendelu.cz wrote: Hi James, i think much better for syslog server usage is syslog-ng. It has bit more difficult configuration for such a small network, but it brings much more functionalities. the simple ruleset for your needs could look like: source s_sys { unix-stream(/dev/log); internal(); }; source s_net { udp(); }; destination d_net { file(/var/log/network/$HOST/$YEAR.$MONTH.log owner(root) group(root) perm(0600) dir_perm(0700) create_dirs(yes)); }; log { source(s_net); destination(d_net); }; log { source(s_sys); destination(d_net); }; Hope it helps, Tomas Mon, Apr 12, 2010 ve 03:49:53PM +0800, James Corteciano napsal: Hi All, I have three server. server0 is centralized logging server, server1 and server2 are remote client servers. How can I properly configure the syslog in server0 to log the two servers in different separated files/directories. Example, server1 will be logged at /var/log/syslog/server1.log of server0 and /var/log/syslog/server2.log for server2 as well. Is there need of little tweaking for syslog.conf ? Thanks. James ___ 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 -- S pozdravem Tomáš Ruprich systémový administrátor Ústav pro informační systém Mendelova univerzita v Brně Zemědělská 1 / 613 00 Brno telefon 545 132 885 rupr...@uikt.mendelu.cz www.mendelu.cz [prostor pro logo] ___ 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] Cloud on CentOS
Hi, Is there any tutorial/implementation cloud on CentOS? Or anyone with experience like to share? Regards and thanks wL ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cloud on CentOS
CList wrote: Hi, Is there any tutorial/implementation cloud on CentOS? Or anyone with experience like to share? in real life, clouds are fuzzy and wet, and can take on many shapes and forms. in computers. much the same. except maybe the wet part. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Cloud on CentOS
On Tue, 13 Apr 2010, CList wrote: Hi, Is there any tutorial/implementation cloud on CentOS? Or anyone with experience like to share? Regards and thanks wL Get familiar with Xen or KVM or VMWare LVM maybe Eucalyptus, OpenQRM or similar maybe VLANs or MPLS/VRF build cloud. I *oh* so hate that term! -- James A. Peltier Systems Analyst (FASNet), VIVARIUM Technical Director HPC Coordinator Simon Fraser University - Burnaby Campus Phone : 778-782-6573 Fax : 778-782-3045 E-Mail : jpelt...@sfu.ca Website : http://www.fas.sfu.ca | http://vivarium.cs.sfu.ca http://blogs.sfu.ca/people/jpeltier MSN : subatomic_s...@hotmail.com TEAMWORK There's power in numbers. Learn to work together. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos