Re: [CentOS-docs] New Section under TipsAndTricks/Filesystem Tips called Configuring Automount in Gnome for USB Drives
On 8 April 2010 18:40, Michael Convey smcon...@gmail.com wrote: Hello, This is user MichaelConvey. I would like to add a section under TipsAndTricks/Filesystem Tips called Configuring Automount in Gnome for USB Drives. The content will include something like the following: 1) yum install gconf-editor 2) In gnome, go to Applications/System Tools/Configuration Editor 3) In the graphical editor, in the left window, go to system/storage/default_options/ntfs (or your desired file system) 4) In the right window, double click on mount_options 5) Add, remove, and/or edit mount options as desired. I will expand on the above. Also please provide me with a personal homepage with your contact information. Ralph, Just to let you know that Mike is a regular contributor to the fora and Akemi / toracat, Phil / pschaff I all approve of his generalised suggestion, initially discussed there [1]. Alan. [1] http://www.centos.org/modules/newbb/viewtopic.php?topic_id=25637forum=37 ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] Newsletter 1002, Spanish version
On Sat, Apr 3, 2010 at 2:40 AM, Eduardo Grosclaude eduardo.groscla...@gmail.com wrote: Hello, I have just finished my Spanish translation of the last Newsletter. As I have no edit rights to the proper zone, Where would that be - in your opinion? Ralph ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] New Section under TipsAndTricks/Filesystem Tips called Configuring Automount in Gnome for USB Drives
On Thu, Apr 8, 2010 at 7:40 PM, Michael Convey smcon...@gmail.com wrote: Hello, This is user MichaelConvey. I would like to add a section under TipsAndTricks/Filesystem Tips called Configuring Automount in Gnome for USB Drives. You can have http://wiki.centos.org/TipsAndTricks/GnomeAutomount I will expand on the above. Do we get pretty pictures? Also please provide me with a personal homepage with your contact information. Why would you want my contact information? =:) Otherwise it is there. Ralph ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] Newsletter 1002, Spanish version
Hey Eduardo On 03/04/2010 01:40, Eduardo Grosclaude wrote: Hello, I have just finished my Spanish translation of the last Newsletter. As I have no edit rights to the proper zone, I have written it into my own personal page http://wiki.centos.org/EduardoGrosclaude. Please some elder member of the familiy snip it off from there and hang it where it belongs. :) This is sooo cool. Thank you soo much Eduardo. Maybe next release we can sync all the translations and everything. As soon as it is in the correct place I will post a link on the English Newsletter. I added you to the correct group so you can look at the pre-releases.[1] Just as a note Timothy has done a amazing job translating everything into zh [2]. Please consider more resorting to this marketable proper name for the next issue! Don't worry to much about that :) Thank you very much No thank YOU. Ralph: Can you do the Spanish category as I have no idea how to do this. Cheers Didi [1] http://wiki.centos.org/Newsletter/1003 [2] http://wiki.centos.org/zh/Newsletter/1002 -- Hoffmann Geerd-Dietger http://contact.ribalba.de ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-docs] Newsletter 1002, Spanish version
On Thu, Apr 8, 2010 at 6:42 PM, Eduardo Grosclaude eduardo.groscla...@gmail.com wrote: On Thu, Apr 8, 2010 at 6:31 PM, Ralph Angenendt ralph.angene...@gmail.com wrote: On Thu, Apr 8, 2010 at 10:36 PM, Eduardo Grosclaude eduardo.groscla...@gmail.com wrote: I assume we should be keeping the regular convention of prepending lang to the path. So perhaps http://wiki.centos.org/es/Newsletter/1002?action=showredirect=Newsletter%2FLatest would do? Yeah, but you should be able to do that yourself ... Just keep in mind that as you will get redirected(!) you probably need an URL like http://wiki.centos.org/es/Newsletter/1002?action=edit Can you try that please? Cool, seems to work, thank you OK, I have released it Only nit to pick is that I have no rights to modify ACLs - this should be only difference to original Newsletter/1002?action=raw where I picked it from. Don't know if it's important. -- Eduardo Grosclaude Universidad Nacional del Comahue Neuquen, Argentina ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
Re: [CentOS-es] [OT] Pure-ftp
Hola, Por curiosidad ¿cual es el motivo de elegir pureftp en lugar de vsftpd? El segundo está en el repositorio oficial de CentOS. http://vsftpd.beasts.org/ -- Oscar Osta Pueyo oostap.lis...@gmail.com _kiakli_ ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] (sin asunto)
Estimados amigos, Tengo instalatado un servidor de correo con CentOS 4.8 + Qmail + Spamcontrol + Simscan + SpamAssassin + ClamAV. Mi intencion es limitar la cantidad de recipientes (rcpt to) por envio por parte de mis usuarios (A traves de Thunderbird, Outlook, etc). Es posible esto? Estuve investigando sobre la variable MAXRECIPIENTS pero para este caso no funciona, alguien podria ayudarme? Gracias Jose Luis _ Connect to the next generation of MSN Messenger http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-ussource=wlmailtagline___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] ayuda con proyecto
Hola listeros. De antemano les agradezco mucho por tomarse la molestia de leer el correo, así no puedan ayudarme. El día de hoy me comunico con ustedes por que tengo un proyecto que tengo que hacer y quisiera que ustedes me dieran las orientaciones iniciales. Tengo un servidor centos que podemos llamarlo server uno que tiene un ldap con todos los usuarios. Tengo otro servidor (aun sin distribución instalada) que podemos llamarlo server dos con mucho espacio en disco duro. Mi requerimiento es el siguiente. Desde un equipo cliente X, hacer una validación con un usuario contra el LDAP del server uno, y una vez la autenticación sea validada, que los datos se guarden en el server dos. ¿es posible hacerlo? ¿pueden por favor ayudarme con conceptos, manuales o indicaciones que me lleven a lograrlo? Espero que puedan darme una mano. Hasta luego. Samuel. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] ayuda con proyecto
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
Re: [CentOS-es] ayuda con proyecto
El 08/04/10 16:20, xOChilpili escribió: 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 Respecto a lo de automatizar la parte del ssh, creoq ue podria probar generando un par de llaves con ssh-keygen. en internet ahi varios manuales, la verdad a mi me ha salvado varias veces. -- Carlos Vicente Hernandez Zapata Operador Direccion de Informatica Universidad de La Frontera - Temuco Telefono: (45) 325512 /* Se omiten tildes para desfigurar el texto*/ ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] ayuda con proyecto
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
[CentOS-es] raid1-intel matrix
Hola a t...@s, compre el ordenador y tiene la placa la controladora raid intel matrix storage manager ich10R, que por lo visto no hay drivers para centoso ¿estoy equivocado? -- ___ REPARACIONONLINE GARANTIA PARA SU PC ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS] Need Desktop Shots for the Newsletter
Hey As some of you might know the new Newsletter [1] has a section Desktop-Shots. Now I need YOU to send me your desktops so I can put them online. Please obfuscate personal details. Looking forward to seeing your funky workplaces. Cheers Didi [1] http://wiki.centos.org/Newsletter/1002 -- Hoffmann Geerd-Dietger http://contact.ribalba.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] vsftpd saving uploads twice
I have configured my vsftpd instances to use virtual users and map them to a system user. So all uploads should be written with owner and group of this system user (let's call it ftpsystemuser). But in the the last weeks/months it appears that uploads are written twice, on instance as it should (owner and group of the system user used to map the virtual user that did the upload), and the other instance as root. Lik this: -rw-r--r-- 1 root root 19968 16. Mär 11:24 Termine Leistungspr%FCfungen.doc -rw-r--r-- 1 ftpsystemuser ftpsystemuser 19968 16. Mär 11:24 Termine Leistungspr?fungen.doc As you can see both instance use different syntax for the file name in case of German umlauts. In vsftpds log only the correct file is mentioned. Can anybody tell me what is happening here? Is this something I can get rid off using certain configuration? Is it a security problem? Any hint or help is appreciated. Dirk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Consecutive Jobs
Joseph L. Casale jcas...@activenetwerx.com wrote: It really is as simple as I wrote out earlier, multiple servers ssh a background job at nearly the same time consisting of an rsync command. The destination host for this target gets overwhelmed with more than one at a time... This isn't a complete answer, but a possible approach: I'd use a named pipe on the destination host. Here's a little experiment to demonstrate. [u...@dhost temp]$ mkfifo pipe [u...@dhost temp]$ while true ; do ` pipe` ; done Now, in another xterm: [u...@dhost temp]$ echo date pipe [u...@dhost temp]$ echo 'ls -l' pipe You can 'echo' commands to the pipe in multiple windows; the while loop will only read and execute one command at a time off the pipe. You can see where this is going - now your multiple servers just ssh those echo commands to the destination host and the corresponding commands are executed. I'll leave it to you to make it suitably robust if you go this way; you'll need to add some error handling, possibly signal handling, etc. but that's just standard shell scripting. Best, --- Les Bell [http://www.lesbell.com.au] Tel: +61 2 9451 1144 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] vsftpd saving uploads twice
Dirk H. Schulz wrote on Thu, 08 Apr 2010 11:29:53 +0200: Can you please stop this? You are repeating your messages to the list with slightly changed subjects and content because you apprently don't get the answers you want. This is unfriendly, please stop this! And spare lame excuses. Did you consider to talk to the vsftpd author/list? I think it's obvious that your problem is easier solvable with/by them. -rw-r--r-- 1 root root 19968 16. Mär 11:24 Termine Leistungspr%FCfungen.doc -rw-r--r-- 1 ftpsystemuser ftpsystemuser 19968 16. Mär 11:24 Termine Leistungspr?fungen.doc In the other thread from two days ago you got an answer that you elected to ignore. But this answer may have a clue to your problem. If it is true that the file is first written as root and then rewritten (instead of chowned) to another user then the above can be the result of an encoding conversion problem. The filename contain umlauts and the first filename is uploaded with a %encoded name. I may be wrong but I think this encoding should be only transitory and re-transcribed to the characters fitting there in with the system's character-set when the file is written to storage. The % encoding for that character is correct, maybe the filesystem cannot or need not handle %encoding, but nevertheless tries to convert to an existing character instead of letting the %FC live as is. And this fails. What's obvious, is that the file then gets written with an unknown character in it. So, some part of the character conversion either doesn't work correctly or cannot work correctly, for instance because a character-set is set incorrectly on one of the involved systems and clients. If you used ASCII filenames the problem wouldn't exist, of course. This could be a bug in vsftpd or in the OS or a combination or in your client or something else. So, again, you should go to the source, which is vsftpd. Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Consecutive Jobs
On Wed, 2010-04-07 at 07:33 -0500, Les Mikesell wrote: Joseph L. Casale wrote: Are you looking for a real job scheduler? If so, it might be overkill, but you might want to look into software like Sun Grid Engine, Torque, or Condor (there are quite a few other schedulers out there). If those aren't what you're hoping for, perhaps you could give more details about what you're trying to accomplish. Based on John and Les's reco for a different cluster need, I am reading up on Torque etc now, but this just a trivial need I want to plug asap. It really is as simple as I wrote out earlier, multiple servers ssh a background job at nearly the same time consisting of an rsync command. The destination host for this target gets overwhelmed with more than one at a time... If you don't mind introducing a single point of failure, pick a control host and ssh all the commands in a shell script that loops over the list of targets to run it. --- And yes that it what I shared that I currently do in the previous thread. BUT I do not use ssh_cluster now. Actually the one controler host is 999.999 up time at presant IBM AIX knock on wood. My next thing is to do job ques through the mrg platform utilizing the python modules on 2 machines and dump cosly AIX. John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Consecutive Jobs
JohnS wrote: On Wed, 2010-04-07 at 07:33 -0500, Les Mikesell wrote: Joseph L. Casale wrote: Are you looking for a real job scheduler? If so, it might be overkill, but you might want to look into software like Sun Grid Engine, Torque, or Condor (there are quite a few other schedulers out there). If those aren't what you're hoping for, perhaps you could give more details about what you're trying to accomplish. Based on John and Les's reco for a different cluster need, I am reading up on Torque etc now, but this just a trivial need I want to plug asap. It really is as simple as I wrote out earlier, multiple servers ssh a background job at nearly the same time consisting of an rsync command. The destination host for this target gets overwhelmed with more than one at a time... If you don't mind introducing a single point of failure, pick a control host and ssh all the commands in a shell script that loops over the list of targets to run it. --- And yes that it what I shared that I currently do in the previous thread. BUT I do not use ssh_cluster now. Actually the one controler host is 999.999 up time at presant IBM AIX knock on wood. My next thing is to do job ques through the mrg platform utilizing the python modules on 2 machines and dump cosly AIX. A very long time ago I did some generic job queueing stuff by hooking scripts into the unix lpr print spooler which had the advantage that they could be submitted from windows boxes through samba by going through the motions of printing them, but things have changed quite a bit since then and I don't know if that would still be easy. If the commands are always the same or the variable parts can be read as a list from a file, a shell loop is probably the easiest approach. You can also make a shell script read from a named pipe which will wait for something to be written, but you have to be careful about the size of the writes if there are concurrent writers to keep them from being interleaved. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Consecutive Jobs
On Thu, 2010-04-08 at 07:34 -0500, Les Mikesell wrote: A very long time ago I did some generic job queueing stuff by hooking scripts into the unix lpr print spooler which had the advantage that they could be submitted from windows boxes through samba by going through the motions of printing them, but things have changed quite a bit since then and I don't know if that would still be easy. If the commands are always the same or the variable parts can be read as a list from a file, a shell loop is probably the easiest approach. You can also make a shell script read from a named pipe which will wait for something to be written, but you have to be careful about the size of the writes if there are concurrent writers to keep them from being interleaved. --- I thought I was the only one that had that idea I guess not. Using the Spooler. John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] vsftpd saving uploads twice
Kai, Am 08.04.10 12:31, schrieb Kai Schaetzl: Dirk H. Schulz wrote on Thu, 08 Apr 2010 11:29:53 +0200: Can you please stop this? You are repeating your messages to the list with slightly changed subjects and content because you apprently don't get the answers you want. This is unfriendly, please stop this! And spare lame excuses. Did you consider to talk to the vsftpd author/list? I think it's obvious that your problem is easier solvable with/by them. Yes, I thought so too. I did not receive any reply from the author, and there is no vsftpd list - at least I did not find one on the project site. -rw-r--r-- 1 root root 19968 16. Mär 11:24 Termine Leistungspr%FCfungen.doc -rw-r--r-- 1 ftpsystemuser ftpsystemuser 19968 16. Mär 11:24 Termine Leistungspr?fungen.doc In the other thread from two days ago you got an answer that you elected to ignore. I am sorry, I must have overlooked the answer. I would have been happy to find it. But this answer may have a clue to your problem. If it is true that the file is first written as root and then rewritten (instead of chowned) to another user then the above can be the result of an encoding conversion problem. The filename contain umlauts and the first filename is uploaded with a %encoded name. I may be wrong but I think this encoding should be only transitory and re-transcribed to the characters fitting there in with the system's character-set when the file is written to storage. The % encoding for that character is correct, maybe the filesystem cannot or need not handle %encoding, but nevertheless tries to convert to an existing character instead of letting the %FC live as is. And this fails. What's obvious, is that the file then gets written with an unknown character in it. So, some part of the character conversion either doesn't work correctly or cannot work correctly, for instance because a character-set is set incorrectly on one of the involved systems and clients. If you used ASCII filenames the problem wouldn't exist, of course. If I could force the users of the ftp server to use ASCII filenames I gladly would. This could be a bug in vsftpd or in the OS or a combination or in your client or something else. So, again, you should go to the source, which is vsftpd. Since the source is no way to go I had hoped to find other people with similar experience to find a workaround or a solution. I am sorry for disturbing. Dirk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] tunctl
where to fidn the rpm package ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] tunctl
epel repo afaik On 04/08/2010 04:42 PM, mattias wrote: where to fidn the rpm package ___ 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] Consecutive Jobs
This isn't a complete answer, but a possible approach: I'd use a named pipe on the destination host. Here's a little experiment to demonstrate. [u...@dhost temp]$ mkfifo pipe [u...@dhost temp]$ while true ; do ` pipe` ; done Now, in another xterm: [u...@dhost temp]$ echo date pipe [u...@dhost temp]$ echo 'ls -l' pipe You can 'echo' commands to the pipe in multiple windows; the while loop will only read and execute one command at a time off the pipe. You can see where this is going - now your multiple servers just ssh those echo commands to the destination host and the corresponding commands are executed. I'll leave it to you to make it suitably robust if you go this way; you'll need to add some error handling, possibly signal handling, etc. but that's just standard shell scripting. Best, --- Les Bell Thank you all very much! This is the exact approach I am trying out now as this is such a small scale quick need, once I roll out Torque or something for my earlier problem, I could apply it here as well. The command I execute is always the same shell script with a unique parameter passed into it, I'll look into tuning this up so it accepts the single word passed in via ssh, then executes the bash script with this as $1. Thanks everyone! jlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Question about dhcpd.leases
Hi, I'm running a DHCP server on my local network. I've noticed something that puzzles me. Leases are written to /var/lib/dhcpd/dhcpd.leases, but only - so it seems to me - if the address is not fixed in any way in dhcpd.conf. Here's a few stanzas of my dhcpd.conf : host babasse{ hardware ethernet 00:0d:61:ae:6b:8f; fixed-address 192.168.1.1; option host-name babasse; } host bernadette { hardware ethernet 00:0d:61:a6:e7:1e; fixed-address 192.168.1.2; option host-name bernadette; } host raymonde { hardware ethernet 00:20:ed:b8:e8:ec; fixed-address 192.168.1.3; option host-name raymonde; } host lifebook { hardware ethernet 00:0b:5d:46:f2:10; fixed-address 192.168.1.5; option host-name lifebook; } How comes these machines never appear in dhcpd.leases ? Do the respective leases only find their way into /var/log/messages ? Cheers, Niki ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] [OT] Grep Patterns
Hi Les, White space could be a tab. '[[:space:]]CP_' should work, but why not use sed and be done with it. ah, worked!. I was thinking way to much into this. I thought that I had to ignore what I didn't want, but in thie case what I dont want does not have a space so it would not show up anyway. Thank You very much. -Jason ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Question about dhcpd.leases
Niki Kovacs wrote: How comes these machines never appear in dhcpd.leases ? Do the respective leases only find their way into /var/log/messages ? I'd expect because the addresses are hard coded, there is no reason to keep track of them. the leases file from what I understand is used to determine which IPs are in use by what so dhcpd can opt to hand out IPs that are not in use. On top of that dhcpd pings the unused IPs to make sure it doesn't hand out IPs that may of been taken without authorization. For hard coded addresses the dhcp response will be the same every time, and if you have duplicate MAC addresses on your layer 2 network you have bigger things to worry about. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Question about dhcpd.leases
From: Niki Kovacs cont...@kikinovak.net I'm running a DHCP server on my local network. I've noticed something that puzzles me. Leases are written to /var/lib/dhcpd/dhcpd.leases, but only - so it seems to me - if the address is not fixed in any way in dhcpd.conf. How comes these machines never appear in dhcpd.leases ? Do the respective leases only find their way into /var/log/messages ? I would think that 'fixed-address' implies no lease... Leases are for temporary addresses. No? JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Bash Question
Hey guys, messing around with a snippet from a mailing list post, #!/bin/bash mkfifo -m 666 /var/spool/my_fifo exec 42 /var/spool/my_fifo while true do while read -t 5 data 42 do echo data is ($data) done echo read again done What happens to this to invalidate the initial 'true' condition, it only runs for a short while? Thanks! jlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] vtund error
I ran into this issue on a busy vtund server, it would eventually deadlock networking After some detective work it appears to be as a result of this bug https://bugzilla.redhat.com/show_bug.cgi?id=541224 The bug report has a patch, I applied it to the kernel source and rebuilt a new kernel RPM which I installed on our vtun servers . This has resolved the issue for us please let me know if this solves the issue for you too. regards Brendan On Mon, 2010-04-05 at 09:57 -0430, Daniel Bruno wrote: On Wed, Mar 24, 2010 at 9:21 AM, robert mena robert.m...@gmail.com wrote: Hi, Does it prevent you from accessing the machine with several of those messages appearing ? Like it was re spawning ? The same here without a clue? nop. Does the version of vtund is the same in both ends? Yeah, the same version in both ends. On Sat, Mar 20, 2010 at 11:05 AM, Daniel Bruno danielbr...@projetofedora.org wrote: Hello, I have two hosts with a tunnel closed by vtun, when I reboot a host, the other show the error bellow. unregister_netdevice: waiting for tun0 to become free. Usage count = 6 OS version: CentOS 5.4 Vtund version: vtun-3.0.2-1 some idea about? Thanks -- Daniel Bruno ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Consecutive Jobs
Joseph L. Casale wrote: This isn't a complete answer, but a possible approach: I'd use a named pipe on the destination host. Here's a little experiment to demonstrate. [u...@dhost temp]$ mkfifo pipe [u...@dhost temp]$ while true ; do ` pipe` ; done Now, in another xterm: [u...@dhost temp]$ echo date pipe [u...@dhost temp]$ echo 'ls -l' pipe You can 'echo' commands to the pipe in multiple windows; the while loop will only read and execute one command at a time off the pipe. You can see where this is going - now your multiple servers just ssh those echo commands to the destination host and the corresponding commands are executed. I'll leave it to you to make it suitably robust if you go this way; you'll need to add some error handling, possibly signal handling, etc. but that's just standard shell scripting. Best, --- Les Bell Thank you all very much! This is the exact approach I am trying out now as this is such a small scale quick need, once I roll out Torque or something for my earlier problem, I could apply it here as well. The command I execute is always the same shell script with a unique parameter passed into it, I'll look into tuning this up so it accepts the single word passed in via ssh, then executes the bash script with this as $1. Two things to keep in mind here. 1) The 'echo' command above will block until something on the other side reads the input. This means that when you are trying to queue a command, the session will simply sit there until the server is ready to process it. This may be a problem if there is a firewall or something in the middle that kills inactive connections. 2) In the above example, echo exit pipe will cause the terminal session reading the pipe to close. It would be safer to run the command in a subshell: $ while true; do (` pipe`); done -- Bowie ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bash Question
On Thu, 2010-04-08 at 15:57 +, Joseph L. Casale wrote: Hey guys, messing around with a snippet from a mailing list post, #!/bin/bash mkfifo -m 666 /var/spool/my_fifo exec 42 /var/spool/my_fifo while true do while read -t 5 data 42 do echo data is ($data) done echo read again done What happens to this to invalidate the initial 'true' condition, it only runs for a short while? --- No exit 0 status for sucess. Your while syntax is diff compared to what should be used like while; true. It's only repetitive on exit 0 status. John ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] lokkit
I have used lokkit to setup iptables ( I have a big script that does this) basically just ports I want with --port=https:tcp etc... I wish to allow igmp and add igmp to the lokkit command line? How do I do that? I can add this to /etc/sysconfig/iptables: iptables -A RH-Firewall-1-INPUT -i eth1 -j ACCEPT iptables -A RH-Firewall-1-INPUT -i eth1 -p igmp -j ACCEPT iptables-save /etc/sysconfig/iptables and that works - but I wish my script and the lokkit command to do. lokkit --help goesnt give me anything that I saw. Thanks, Jerry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bash Question
On 04/08/2010 10:57 AM, Joseph L. Casale wrote: Hey guys, messing around with a snippet from a mailing list post, #!/bin/bash mkfifo -m 666 /var/spool/my_fifo exec 42 /var/spool/my_fifo while true do while read -t 5 data42 do echo data is ($data) done echo read again done What happens to this to invalidate the initial 'true' condition, it only runs for a short while? Works fine for me. Define short while (to a geologist, that could be a few millenia). What is the exit code when your script does terminate? -- Bob Nichols NOSPAM is really part of my email address. Do NOT delete it. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bash Question
Works fine for me. Define short while (to a geologist, that could be a few millenia). What is the exit code when your script does terminate? Lol, yeah that was a little weak on my part... It ran for about a minute. I am not sure what caused the non 0 exit, I made a new condition based on a more reliable/sensible test. I am just writing an init script now, we'll see how it fairs! Thanks, jlc ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] No ulimit for user
On Tue, Dec 8, 2009 at 11:02 AM, John Doe jd...@yahoo.com wrote: From: Stephen Nelson-Smith step...@atalanta-systems.com I'm trying to remove any limit on open files for a user; I've set username nofiles to unlimited in /etc/security/logins.conf, but now I get could not open session if I try to su to the user. singhh - nofile unlimited Don't you mean /etc/security/limits.conf ? OK, I went searching the list archives on this one and found this, and tried it. And now I can no longer log into the Centos 5.4 box. Even on the console. Not a big deal since this is a VM running in my sandbox so I can blow it away no problem. But how do I increase my ulimit to unlimited? I put in that file *-nofile unlimited and then rebooted the box And can no longer log in -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of In Defense of Food ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] NAT/DHCP/DNS/etc Settings from a Windows 2003 Server
Hello all. I'm in the process of making a small server farm based mostly on Windows Server 2003. For simplicity's sake, the only non-2003 server will be a CentOS 5.4 server running only vsftpd, httpd, and mysqld. My plan is to have this server in a 2003 Server's network receiving a DHCP address from the Domain Controller. Currently, I have two other (non-DC) servers running with no issues on the domain. NAT works as it should, and internet access is just fine. The CentOS box on the same network will not receive an IP address (only through static configuration, the non-DC 2003 boxes have no problem receiving an IP and DNS settings with auto settings) or get online. Even when defining a static IP on the CentOS box, there is no Internet access, unlike to the other clients. My question is, what could be restricting the DHCP and DNS information to the CentOS host, and why can't I access the internet/NAT forward a web server? To summarize, I have four machines involved, all located on the same network: - Machine 1 - Windows Server 2003 Enterprise - Domain Controller, DHCP server, DNS server, NAT server. - Machine 2 - Windows Server 2003 Enterprise - Domain member, Exchange server. - Receives DHCP and DNS information with automatic network settings. - Has internet access through NAT. - NAT forwards ports to this host. - Machine 3 - Windows Server 2003 Enterprise - Domain member, Sharepoint Server. - Receives DHCP and DNS information with automatic network settings. - Has internet access through NAT. - NAT forwards ports to this host. - *Machine 4* - CentOS 5.4 - On same network as other clients, hosts web server. - Does *NOT *receive DHCP address or DNS information. - Has *no *internet access - NAT does *NOT *forward correctly. I am looking for a solution to get the CentOS server on the network like the other clients. Any assistance on this problem would be greatly appreciated. David ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] No ulimit for user
OK, I just found this http://www.centos.org/modules/newbb/viewtopic.php?topic_id=13144 Which says that you cannot use unlimited for nofile It says to do this *softnofile 63536 *hardnofile 63536 or more realistically to do this : *softnofile 8192 *hardnofile 63536 But I still cannot find what is the difference between the hard and soft limit Also, once this file has been changed, does the system need to be rebooted for it to take affect? Or does it automatically take affect for any new processes? So just restart any service I want to take advantage of it? thanks, -Alan -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of In Defense of Food ___ 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
On 4/8/2010 1:57 PM, David Lemcoe wrote: Hello all. I'm in the process of making a small server farm based mostly on Windows Server 2003. For simplicity's sake, the only non-2003 server will be a CentOS 5.4 server running only vsftpd, httpd, and mysqld. My plan is to have this server in a 2003 Server's network receiving a DHCP address from the Domain Controller. Currently, I have two other (non-DC) servers running with no issues on the domain. NAT works as it should, and internet access is just fine. The CentOS box on the same network will not receive an IP address (only through static configuration, the non-DC 2003 boxes have no problem receiving an IP and DNS settings with auto settings) or get online. Even when defining a static IP on the CentOS box, there is no Internet access, unlike to the other clients. My question is, what could be restricting the DHCP and DNS information to the CentOS host, and why can't I access the internet/NAT forward a web server? To summarize, I have four machines involved, all located on the same network: * Machine 1 - Windows Server 2003 Enterprise - Domain Controller, DHCP server, DNS server, NAT server. * Machine 2 - Windows Server 2003 Enterprise - Domain member, Exchange server. o Receives DHCP and DNS information with automatic network settings. o Has internet access through NAT. o NAT forwards ports to this host. * Machine 3 - Windows Server 2003 Enterprise - Domain member, Sharepoint Server. o Receives DHCP and DNS information with automatic network settings. o Has internet access through NAT. o NAT forwards ports to this host. * *Machine 4* - CentOS 5.4 - On same network as other clients, hosts web server. o Does *NOT *receive DHCP address or DNS information. o Has *no *internet access o NAT does *NOT *forward correctly. I am looking for a solution to get the CentOS server on the network like the other clients. Centos works normally with standard DHCP servers and obviously would know nothing about upstream NAT handling. There must be some sort of restriction imposed by the Windows server in this scenario. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] No ulimit for user
Sorry for the frequent updates - but I also found this : http://gnufreakz.wordpress.com/2009/08/12/increase-ulimit-in-centos/ which talks about setting “fs.file-max = 65536″ in sysctl.conf Does it have to be set in both sysctl.conf and the /etc/security/limits.conf? If so, why? thanks, -Alan -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of In Defense of Food ___ 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
On 4/8/2010 1:57 PM, David Lemcoe wrote: Hello all. I'm in the process of making a small server farm based mostly on Windows Server 2003. For simplicity's sake, the only non-2003 server will be a CentOS 5.4 server running only vsftpd, httpd, and mysqld. My plan is to have this server in a 2003 Server's network receiving a DHCP address from the Domain Controller. snip * *Machine 4* - CentOS 5.4 - On same network as other clients, hosts web server. o Does *NOT *receive DHCP address or DNS information. o Has *no *internet access o NAT does *NOT *forward correctly. I am looking for a solution to get the CentOS server on the network like the other clients. Centos works normally with standard DHCP servers and obviously would know nothing about upstream NAT handling. There must be some sort of restriction imposed by the Windows server in this scenario. The only thing I can think of on the Linux side are firewall rules. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Question about dhcpd.leases
On 4/8/2010 9:59 AM, Niki Kovacs wrote: Hi, I'm running a DHCP server on my local network. I've noticed something that puzzles me. Leases are written to /var/lib/dhcpd/dhcpd.leases, but only - so it seems to me - if the address is not fixed in any way in dhcpd.conf. Here's a few stanzas of my dhcpd.conf : host babasse{ hardware ethernet 00:0d:61:ae:6b:8f; fixed-address 192.168.1.1; option host-name babasse; } host bernadette { hardware ethernet 00:0d:61:a6:e7:1e; fixed-address 192.168.1.2; option host-name bernadette; } host raymonde { hardware ethernet 00:20:ed:b8:e8:ec; fixed-address 192.168.1.3; option host-name raymonde; } host lifebook { hardware ethernet 00:0b:5d:46:f2:10; fixed-address 192.168.1.5; option host-name lifebook; } How comes these machines never appear in dhcpd.leases ? Do the respective leases only find their way into /var/log/messages ? fixed-addresses are permanently reserved. The leases file tracks the ones from the pool that are temporarily reserved until they expire. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS press kit
On Tue, 06 Apr 2010 18:43:33 +0100 Geerd-Dietger Hoffmann wrote: Now comes my question, what do people think should belong in such a kit. Do you think this is needed? Most peope are probably not even familiar with the concept of a press kit so you may want to consider to elaborate on that a bit. Me, I like the idea although I doubt it's really necessary. Martin -- Rieke Computersysteme GmbH Hellerholz 5 D-82061 Neuried Email: mar...@rhm.de ___ 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
Checked the firewall, and set the static IP. Anyone have an idea what the limitations put forth by 2003 would be? On Thu, Apr 8, 2010 at 3:12 PM, m.r...@5-cent.us wrote: On 4/8/2010 1:57 PM, David Lemcoe wrote: Hello all. I'm in the process of making a small server farm based mostly on Windows Server 2003. For simplicity's sake, the only non-2003 server will be a CentOS 5.4 server running only vsftpd, httpd, and mysqld. My plan is to have this server in a 2003 Server's network receiving a DHCP address from the Domain Controller. snip * *Machine 4* - CentOS 5.4 - On same network as other clients, hosts web server. o Does *NOT *receive DHCP address or DNS information. o Has *no *internet access o NAT does *NOT *forward correctly. I am looking for a solution to get the CentOS server on the network like the other clients. Centos works normally with standard DHCP servers and obviously would know nothing about upstream NAT handling. There must be some sort of restriction imposed by the Windows server in this scenario. The only thing I can think of on the Linux side are firewall rules. mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS press kit
On Tue, 06 Apr 2010 18:43:33 +0100 Geerd-Dietger Hoffmann wrote: Now comes my question, what do people think should belong in such a kit. Do you think this is needed? Most peope are probably not even familiar with the concept of a press kit so you may want to consider to elaborate on that a bit. Me, I like the idea although I doubt it's really necessary. Actually, it's probably a good idea. That way, the next time someone using CentOS at work has to deal with the press - and there are folks who do - they can hand the link to them, y'know, in language simple enough even for reporters. mark they're not the reporters of old ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS press kit
On Thu, 08 Apr 2010 16:26:54 -0400 m.roth-x6lchVBUigD1P9xLtpHBDw wrote: Me, I like the idea although I doubt it's really necessary. Actually, it's probably a good idea. That way, the next time someone using CentOS at work has to deal with the press - and there are folks who do - they can hand the link to them, y'know, in language simple enough even for reporters. You're probably right. I should've added that I also consider things like twitter, web 2.0, and social networks totally and utterly unneccessary. That might've put my I doubt it's necessary statement into perspective. Martin -- Rieke Computersysteme GmbH Hellerholz 5 D-82061 Neuried Email: martin[at]rhm[dot]de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] vsftpd saving uploads twice
Dirk H. Schulz wrote on Thu, 08 Apr 2010 14:55:26 +0200: Since the source is no way to go Try harder. I'm sure you'll get a response sooner or later. You could also bug it at both the CentOS and RHEL bugzilla. You will need to give clear reproduction instructions. Kai -- Get your web at Conactive Internet Services: http://www.conactive.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NAT/DHCP/DNS/etc Settings from a Windows 2003 Server
On 4/8/10 1:26 PM, David Lemcoe fo...@lemcoe.com wrote: Checked the firewall, and set the static IP. Anyone have an idea what the limitations put forth by 2003 would be? First, please stop top posting. This list has rules about that Second, can you ping _from the managed switch handling the NAT_ to the CentOS box? Additionally, is it only DNS resolution that has an issue? (Try testing this by attempting to ping 4.2.2.2 or another well known server via IP only...). -- Gary L. Greene, Jr. IT Operations Minerva Networks, Inc. Cell: (650) 704-6633 Phone: (408) 240-1239 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS press kit
On 4/8/2010 3:26 PM, m.r...@5-cent.us wrote: On Tue, 06 Apr 2010 18:43:33 +0100 Geerd-Dietger Hoffmann wrote: Now comes my question, what do people think should belong in such a kit. Do you think this is needed? Most peope are probably not even familiar with the concept of a press kit so you may want to consider to elaborate on that a bit. Me, I like the idea although I doubt it's really necessary. Actually, it's probably a good idea. That way, the next time someone using CentOS at work has to deal with the press - and there are folks who do - they can hand the link to them, y'know, in language simple enough even for reporters. But how can you describe it without mentioning the Large North American Linux vendor that mostly makes it what it is? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS press kit
On 08/04/2010 21:40, Les Mikesell wrote: But how can you describe it without mentioning the Large North American Linux vendor that mostly makes it what it is? That is a problem I often encounter. For the Newsletter I asked someone working for the vendor if it would be Ok [1]. Nothing official but I wanted to double check. But I was thinking that the kit should be more about the features we (as in CentOS community) have. The idea we support. And just mention that we recompile from a big Linux vendor. (Like on the website). Further some screen-shots, the logo, some release cycle graphs, some pointers to information (wiki, forum, ML) a short explanation of the different working groups (live CD, etc), some more ideas Cheers Didi [1] And ended up copy pasting his wording :) -- Hoffmann Geerd-Dietger http://contact.ribalba.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS press kit
On Tue, Apr 6, 2010 at 1:43 PM, Geerd-Dietger Hoffmann riba...@gmail.com wrote: Hey Looking at the Fedora ML there is some commotion about a Press Kit [1] they are constructing. I am thinking about doing something like this for CentOS. Now comes my question, what do people think should belong in such a kit. Do you think this is needed? Cheers for your help, Didi [1] https://fedoraproject.org/wiki/F13_press_kit -- Hoffmann Geerd-Dietger http://contact.ribalba.de The correct people to ask (or at least research) are the Press. It's not a matter of what the CentOS project wants, it's a matter of what the Press would want, and then it's up to the CentOS project to answer/provide the content they feel represents the project. You need the requirements before you can get the content. ___ 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
Please verify the network cable from centos or switch port(broken or vlan). João Rodrigues On Thu, Apr 8, 2010 at 9:34 PM, Gary Greene ggre...@minervanetworks.comwrote: On 4/8/10 1:26 PM, David Lemcoe fo...@lemcoe.com wrote: Checked the firewall, and set the static IP. Anyone have an idea what the limitations put forth by 2003 would be? First, please stop top posting. This list has rules about that Second, can you ping _from the managed switch handling the NAT_ to the CentOS box? Additionally, is it only DNS resolution that has an issue? (Try testing this by attempting to ping 4.2.2.2 or another well known server via IP only...). -- Gary L. Greene, Jr. IT Operations Minerva Networks, Inc. Cell: (650) 704-6633 Phone: (408) 240-1239 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS press kit
On 08/04/2010 22:54, Brian Mathis wrote: The correct people to ask (or at least research) are the Press. It's not a matter of what the CentOS project wants, it's a matter of what the Press would want, and then it's up to the CentOS project to answer/provide the content they feel represents the project. You need the requirements before you can get the content. Excellent idea :) Does someone from the press read this list or does someone know someone from the press? Would be cool if we could exchange some emails. I will also email some well know press people and ask around. Cheers Didi -- Hoffmann Geerd-Dietger http://contact.ribalba.de ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos