[CentOS-es] Cambiar de nombre una PC dentro de un dominio SAMBA
Me ha surgido la necesidad de renombrar varias pc dentro de un dominio SAMBA (sobre samba 3.0.33), pero no estoy logrando que funcione. Desde el lado del server, la cuenta de la máquina se renombra perfectamente tanto en /etc/passwd como en la bd de samba. Pero el cliente recibe un Error en llamado al procedimiento remoto o algo por el estilo y regresa al nombre que tenía antes. Aca les va un extracto del smbd.log en el momento del cambio: === [2009/10/08 11:10:32, 0] lib/fault.c:fault_report(42) INTERNAL ERROR: Signal 11 in pid 11052 (3.0.33-3.7.el5_3.1) Please read the Trouble-Shooting section of the Samba3-HOWTO [2009/10/08 11:10:32, 0] lib/fault.c:fault_report(44) From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf [2009/10/08 11:10:32, 0] lib/fault.c:fault_report(45) === [2009/10/08 11:10:32, 0] lib/util.c:smb_panic(1655) PANIC (pid 11052): internal error [2009/10/08 11:10:32, 0] lib/util.c:log_stack_trace(1759) BACKTRACE: 19 stack frames: #0 smbd(log_stack_trace+0x1c) [0x2b73da3bb55c] #1 smbd(smb_panic+0x43) [0x2b73da3bb643] #2 smbd [0x2b73da3a9172] #3 /lib64/libpthread.so.0 [0x2b73dbb214c0] #4 smbd(talloc_free+0x193) [0x2b73da3a36f3] #5 smbd(_samr_set_userinfo2+0x4ad) [0x2b73da306e9d] #6 smbd [0x2b73da2ff27e] #7 smbd(api_rpcTNP+0x17b) [0x2b73da3165bb] #8 smbd(api_pipe_request+0x168) [0x2b73da316b28] #9 smbd [0x2b73da3125ab] #10 smbd [0x2b73da312a15] #11 smbd [0x2b73da2184e6] #12 smbd [0x2b73da2188d2] #13 smbd(reply_trans+0x6fe) [0x2b73da21974e] #14 smbd [0x2b73da26c064] #15 smbd(smbd_process+0x7b1) [0x2b73da26d011] #16 smbd(main+0xa20) [0x2b73da470740] #17 /lib64/libc.so.6(__libc_start_main+0xf4) [0x2b73dd058974] #18 smbd [0x2b73da1fe819] [2009/10/08 11:10:32, 0] lib/fault.c:dump_core(181) dumping core in /var/log/samba/cores/smbd ¿Alguna idea? ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] parece que ya está a un paso
http://twitter.com/centos ya comenzaron a subir a los mirrors, con buena suerte mañana o pasado estamos seedeando: dice: 5.4 is baked! centos internal network will start syncing up today. Release ~ soon! -- Saludos! epe Ernesto Pérez Estévez, BSc, PgD http://www.NuestroServer.com/ USA: +1 360 469 0612 / España: +34 911 877 602 Ecuador: +593 2 600 4454 / Colombia: +57 2 891 2748 Mexico: +52 55 1328 1880 / Peru: +51 1 640 9010 Chile: +56 2 495 8425 / Argentina: +54 11 5917 6017 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
[CentOS-es] Centos Directory Server + Samba + Windows xp
Gente, les cuento mi problema a ver si alguien tiene alguna solución. Situación actual: Tengo configurado el samba y el Centos Directory Server para que las maquina de Linux que autentique y puedan compartir archivos de forma segura. Ahora mi problema radica en los equipo Windows xp que quiero que sean parte de este Servidor de directorio. Eh llevado a cabo el siguiente manual: http://www.vivaolinux.com.br/artigo/Instalado-FedoraDS-e-integrando-com-Samb a/ Pero no eh podido conectar un equipo con Windows xp al Centos-DS. Necesitaría saber si alguien ha probado esto y si hay alguna info adicional. Desde ya muchas gracias. Saludos. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] dudas sobre squid
Te puedes servir esto : http://www.linuxparatodos.net/portal/staticpages/index.php?page=19-0-como-squid-general -- Saludos Juan Blog: http://jroliva.wordpress.com Twiter: http://twitter.com/jroliva *tildes omitidas intencionalmente On Mon, Oct 12, 2009 at 11:44 AM, jorgito jorg...@alimatic.cu wrote: Alguien conoce de un buen sitio donde se explique como configurar squid e Iptables usando Centos 5. Gracias ___ 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] Samba + LDAP + Replicacion
Gente me gustaría saber su opinión acerca de lo siguiente: Quisiera saber cómo han resuelto la siguiente problemática. Yo instalo 2 Servidores con SAMBA + LDAP El primero será mi PDC y el segundo mi BDC. El problema surge cuando quiero replicar la base del PDC al BDC a través del siguiente método: Replicación con Syncrelp 2.4 Esta versión no tiene RPM para centos lo cual hace que tenga que instalar la versión 2.3 con varios bug que fueron resueltos en al versión posterior. Alguien ah hecho algo para instalar la versión 2.4 en centos de otra forma que no sea RPM ¿? Saludos. ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] OpenLDAP
Es posible que nos digas ¿como lo arreglaste?.. asi si alguien tiene el mismo problema tuyo puede encontrar una solución en lo que tu hiciste. gracias. samuel. 2009/10/12 Alejandro Marin Maturano ama...@impi.gob.mx gracias ya pude gracias por el apoyo saludos Black Hand escribió: On Mon, 2009-10-12 at 14:08 -0500, Alejandro Marin Maturano wrote: A caray a ver no me quedo muy claro lo que me comentas, segun lo que te entiendo hice esto pero sigo con los mismos resultados, solo me puedo autenticar de pc con IP's de la misma subred wins support = yes name resolve order = wins lmhosts hosts bcast reinicie todo y sigo igual algo me esta faltando TE VUELVO A REPETIR... configuraste en la estacion de trabajo windows q quieres unir al dominio q esta en otra subred AL SERVIDOR SAMBA COMO SERVIDOR WINS ANTES DE UNIRLO AL DOMINIO ? si no es asi, hazlo, por eso tu windows no descubre al servidor de dominio, sigue intentandolo hacer por netbios (broadcast) si lo has hecho, verifica q la resolucion es correcta, si el nombre NETBIOS de tu servidor samba es SERVERX por ejemplo desde el windows deberias poder hacer ping SERVERX en una ventana de CMD y deberia resolverte la IP correctamente y tb verificar q hay conectividad. -- Black Hand Lost Angel in the Heaven'76 ___ CentOS-es mailing listcentos...@centos.orghttp://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 mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Samba + LDAP + Replicacion
On Tue, 2009-10-13 at 16:21 -0300, Dominguez, Gaston Matias wrote: [openldap/syncrepl 2.4] Esta versión no tiene RPM para centos lo cual hace que tenga que instalar la versión 2.3 con varios bug que fueron resueltos en al versión posterior. generalmente en las versiones de los paquetes q vienen en CentOS se trata de backportear los fixes de seguridad y de bug criticos. Quizas no esten todos los q necesitas pero si los necesarios para ser estable. btw, yo he trabajado con OpenLDAP en instalaciones con varios arboles, replicacion via slurpd y syncrepl, enlace con varios servicios, etc y manejando varios millares de objetos a la vez. Bien configurado nunca he tenido problemas con OpenLDAP 2.3 (OpenLDAP 2.2 y menores si eran HORRIBLES Y DEFICIENTES) Alguien ah hecho algo para instalar la versión 2.4 en centos de otra forma que no sea RPM ¿? no podras sustituir la version 2.3 de openldap en CentOS pq varios paquetes dependen del mismo, pero si podrias instalarlo compilandolo desde fuentes e instalandolo en /usr/local u /opt (de todas maneras CentOS se quedaria con las librerias client de la version 2.3 propia de el) -- BlackHand Lost Angel in the Heaven'76 ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS] Inquiry:Problem mounting cdrom on my CentOS 5.2 client
Thank you very much for your reply . I found my mistake . On Mon, Oct 12, 2009 at 1:24 PM, Nicolas Thierry-Mieg nicolas.thierry-m...@imag.fr wrote: hadi motamedi wrote: Dear All Please be informed that I needed to mount my cdrom on my CentOS 5.2 client , but unsuccessful . I tried as the followings : #mount -t vfat /dev/cdrom-hdc /mnt/cdrom Add the following line to /etc/fstab : /dev/cdrom-hdc /mnt/cdrom vfat noauto,users,noexec,rw,uid=1000,gid=1000 0 0 #mount /mnt/cdrom But I cannot see the CD content . Can you please do me favor and correct me ? Thank you in advance you asked pretty much the same question a couple of weeks ago and were told that cdroms don't use vfat... ___ 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] Inquiry:Application cannot start on my CentOS 5.2
On Tue, 13 Oct 2009 06:47:50 +0100 hadi motamedi wrote: Error ip address Error config file ./conf/msc_sys.conf! The error message appears to be telling you that there is an incorrect or invalid IP address in .conf/msc_sys_conf For more specific help you'll have to provide more details about your application. -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Inquiry:Application cannot start on my CentOS 5.2
hadi motamedi wrote: Dear All Please be informed that I tried to start my application on my CentOS 5.2 client but it cannot be started and returns the following error message : There are 1744M available in /usr Starting mscmain service : system clock granularity : 1 microseconds. Error ip address Error config file ./conf/msc_sys.conf! Can you please do me favor and help me ? Thank you in advance You must think we're all mind readers. What service are you trying to start? I don't know what mscmain is without you telling me. Google doesn't tell me anything either. But then again, why am I Googling your problem when you should be doing that? I suggest you read this http://catb.org/~esr/faqs/smart-questions.html thoroughly and then post your question again with more detail - e.g. what package it is, which version, what you've Googled so far, what you've done yourself to attempt to fix it, what the logs say, Ian ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] customized centos 5.4 install, core install?
Am Dienstag, den 13.10.2009, 02:06 +0200 schrieb David Mehler: Hi, Thanks for all your replies. I checked out spacewalk and cobbler, both of which look like they require a network support infrastructure, at least a tftp server. I want to use a CD or DVD. Kickstart sounds like the way to go, but i'm looking to have everything self contained, for example if i want to install the postfix package, i'll want to remove sendmail, set up postfix to start at selected runlevels and configure the main.cf and master.cf files so that when the box reboots postfix is ready to go. I'd also like to have this install as slimmed down as possible, for example i probably won't be using x so i'd prefer not to have any x packages in the install dvd. Thanks. Dave. This can all be done with kickstart but you will have to have a quite big uniqe kickstart config for each machine. And then all that CD-waste... I'd really rethink the network-install options. financial.com AG Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | Germany Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany Management board/Vorstand: Dr. Steffen Boehnert | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender) Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dell Equallogic
On Mon, Oct 12, 2009 at 06:44:55PM -0700, James A. Peltier wrote: On Mon, 12 Oct 2009, Eugene Vilensky wrote: Hi List, Does anyone here use Dell Equallogic IP SAN? If so, do you have any immediate high points / low points you wouldn't mind discussing on- or off-list ? Yes, it works fine, however, we don't use the snapshot capability of the system as it is not as fine grained as we would like. Hmm.. what kind of problems do you have with snapshots? -- Pasi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dell Equallogic
On Mon, Oct 12, 2009 at 07:04:21PM -0500, Eugene Vilensky wrote: Hi List, Does anyone here use Dell Equallogic IP SAN? If so, do you have any immediate high points / low points you wouldn't mind discussing on- or off-list ? Yep, I've been using Equallogic iSCSI arrays with Linux/RHEL5/CentOS5. It's excellent storage solution. -- Pasi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] question on 5.4
While you are at it, consider the packages from go-oo.org. They are supposed to include enhancements which didn't find their way to the official release yet. -Amos On 10/10/09, Ron Loftin relof...@twcny.rr.com wrote: On Fri, 2009-10-09 at 11:45 -0400, Jim Perrin wrote: On Fri, Oct 9, 2009 at 11:43 AM, Jerry Geis ge...@pagestation.com wrote: Does 5.4 come with an updated openoffice. 5.3 comes with version 2.3 was wondering if 5.4 will have 3.1 Nope. 5.4 won't have openoffice 3.1 That's not a big surprise, just keeping within the stated policies of CentOS. However, I will point out that for those who want OOO 3.1, all they have to do is skip installing the old version that comes with CentOS, and install the RPMs that can be downloaded straight from openoffice.org. The ones for RHEL 5 work very well, and integrate with the Gnome desktop automagically. -- Ron Loftin relof...@twcny.rr.com God, root, what is difference ? Piter from UserFriendly ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS for boot.kernel.org
On 10/01/2009 07:25 PM, Geerd-Dietger Hoffmann wrote: Hey Is there an initiative to get CentOS to work with boot.kernel ? not that I am aware of - but well Volunteered. Let me know if you need anything :) - KB ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Copy OS live to different hardware
Bob Puff wrote: Hello, My question: exactly what files should I exclude, so that I copy everything -except- what pertains to the ethernet card(s), and hard drive mounts. I know of at least: /etc/fstab /etc/sysconfig/network-scripts/* /var/run /proc I am not sure what you want to achieve, but if you want just to Backup, maybe specialized Backup Software like Bacula (http://www.bacula.org/) could be a better solution for you (Sorry, could not resist ;-) That said, if you want to do it that way, my exclude list (maybe) could be: /etc/mtab /etc/ssh/*_key{,.pub} /etc/hosts (maybe) /etc/sysconfig/network-scripts/ifcfg-* /etc/sysconfig/network-scripts/route-* (not sure, maybe other files too) /proc/* /selinux/* /sys/* /dev/* /tmp/* /*lost+found/* (maybe) /.auto* If the partition Layout differs /etc/fstab and not lost+found for not existing file systems maybe. Well, I done that years ago multiple times for one shot cloning not for regular Backups and i remember beeing surprised that it worked, its kinda hackish i believe. I am sure i forgot something important paths in list above. -- best regards, markus ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] customized centos 5.4 install, core install?
David Mehler wrote: Hello, This might be called a core build not completely positive. What i want to do is make a completely customized centos 5.4 unattended CD or DVt not only installs a specific list of apps apps that i want on each system, but configures them automatically perhaps via scripts, and enables or disables services etc. Basically, i want to drop the CD or DVD in a box which will probably not have a monitor anyway, and walk away. I then come back or ssh in and everything is already installed, any repos are added, configured and ready to go. Is this a core build? I'd appreciate any pointers on this. Thanks. Dave. My Strategy for those things is: 1. cobbler ( https://fedorahosted.org/cobbler/ ) for a minimal Unattended Installation. cobblers primary goal is installation over Network but it can also generate CD/DVD. cobbler integrates kickstart files into your CD. 2. puppet ( http://reductivelabs.com/products/puppet/ ) for central configuration management. -- best regards, markus ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] layer 8 / user level firewall on linux?
From: Rudi Ahlers r...@softdux.com Does anyone know of a Linux firewall that offers layer 8 firewall / user level firewalling? Cyberoam (http://www.cyberoam.com/firewall.html) has a layer 8 firewall built into their UTM firewalls, and while it's a great product I find it a bit limited for what I want. I basically want to track which user access what on the internet, from an internal network. Ideally I want to limit access to certain objects (i.e. websites, by URL / keyword / type, FTP, skype, MSN, etc) for certain users as well. Maybe use squid with authentication and acls...? And caching as a bonus... JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] customized centos 5.4 install, core install?
On Tue, 2009-10-13 at 00:21 -0400, David Mehler wrote: Hi, Thanks for your reply. I'd probably be doing them in pairs spread out over a long period. I'd be interested in your php kickstart setup script. Thanks. Dave. You may want to look at cobbler. It has a PXE boot option that can be limited by MAC address. This would help in installing a certain profile to your machine making it easier for you to customize each install without having to burn mountains of CDs... I am playing around with cobbler right now, but I can still send you the kickstart script if you would like. signature.asc Description: This is a digitally signed message part ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] customized centos 5.4 install, core install?
Hi, Yes, thank you. Please send that script privately. I'll check in to cobbler. Thanks. Dave. On 10/13/09, Tait Clarridge t...@clarridge.ca wrote: On Tue, 2009-10-13 at 00:21 -0400, David Mehler wrote: Hi, Thanks for your reply. I'd probably be doing them in pairs spread out over a long period. I'd be interested in your php kickstart setup script. Thanks. Dave. You may want to look at cobbler. It has a PXE boot option that can be limited by MAC address. This would help in installing a certain profile to your machine making it easier for you to customize each install without having to burn mountains of CDs... I am playing around with cobbler right now, but I can still send you the kickstart script if you would like. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] OT: pager pay
Hey folks, I'm trying to compare my small company's policy against other companies out there. We pay 10% of your per-hour salary equivalent per every hour you carry it, whether it goes off or not. So for example someone making $55K/year works out to about $27 / hour (I think), so they'd get $2.70 for every hour they carry the pager outside of regular work hours. We are a company of about 25 people. My old employer Nortel still does it this way : - $27.50 for every 8 hour shift you carry it, outside of regular work hours. - any page is billed at time-and-a-half, minimum 1 hour billed - any page requiring you to go into work, is billed at time-and-a-half with a 3 hour min I have a buddy at IBM and while it varies by group, his group does this : - $30/day for carrying it, whether it goes off or not - every page gets billed at time-and-a-half, minimum 30 minutes Anyone else want to share theirs? 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] web based file sharing software
depends what you mean by files sharing A file download server similar to RapidShare or MegaUpload. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] web based file sharing software
Ramon Nieto wrote: Hello all Does anybody knows about web based file sharing software? of course that runs on centos. i have found 3 proyects on sourceforge, but i would like to hear from you what do you use or what do you recommend?. Most wiki's allow file attachments with up/download through browsers. Mediawiki is probably the most popular. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: pager pay
Hi. Hey folks, I'm trying to compare my small company's policy against other companies out there. We pay 10% of your per-hour salary equivalent per every hour you carry it, whether it goes off or not. So for example someone making $55K/year works out to about $27 / hour (I think), so they'd get $2.70 for every hour they carry the pager outside of regular work hours. We are a company of about 25 people. My old employer Nortel still does it this way : - $27.50 for every 8 hour shift you carry it, outside of regular work hours. snip Back in the mid-nineties, I worked for Ameritech, a Baby Bell. I was salaried. Extra pay for carrying it? Ha. HA. Hahahahahaha mark 24x7x365.25 (except for the couple months I carried two...) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: pager pay
On Tuesday 13 October 2009 12:28, Alan McKay wrote: Hey folks, I'm trying to compare my small company's policy against other companies out there. We pay 10% of your per-hour salary equivalent per every hour you carry it, whether it goes off or not. So for example someone making $55K/year works out to about $27 / hour (I think), so they'd get $2.70 for every hour they carry the pager outside of regular work hours. We are a company of about 25 people. My old employer Nortel still does it this way : - $27.50 for every 8 hour shift you carry it, outside of regular work hours. - any page is billed at time-and-a-half, minimum 1 hour billed - any page requiring you to go into work, is billed at time-and-a-half with a 3 hour min I have a buddy at IBM and while it varies by group, his group does this : - $30/day for carrying it, whether it goes off or not - every page gets billed at time-and-a-half, minimum 30 minutes Anyone else want to share theirs? thanks, -Alan Pager pay, whatever you get is gravy. pgpVDl28iGIix.pgp Description: PGP signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] customized centos 5.4 install, core install?
MHR wrote: On Mon, Oct 12, 2009 at 7:53 AM, David Mehler dave.meh...@gmail.com wrote: Hello, This might be called a core build not completely positive. What i want to do is make a completely customized centos 5.4 unattended CD or DVt Did I miss the announcement? I wasn't expecting 5.4 to be out for another few weeks http://twitter.com/CentOS/status/4831596086 -- Florin Andrei http://florin.myip.org/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] customized centos 5.4 install, core install?
On Tue, 13 Oct 2009, Florin Andrei wrote: Did I miss the announcement? I wasn't expecting 5.4 to be out for another few weeks http://twitter.com/CentOS/status/4831596086 It's a sure-hit proposition. I schedule a major downtime to install new kernels in all manner of infrastructure servers -- mail, web, nfs, vpn, blah, blah -- and then, the VERY NEXT DAY, I see the CentOS X.Next announcement telling me that I was about two weeks too soon. At least there are some things I can count on... :-) -- Paul Heinlein heinl...@madboa.com http://www.madboa.com/ ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: pager pay
Alan McKay wrote: Anyone else want to share theirs? I don't get on call, but my company pays my text messaging plan on my cell phone each month, since it's used as my pager. It's about $10 a month. Our policy for call outs are as follows: If I have to come into the office, I get a minimum call out time of 2 hours, regardless if I'm here for 15 minutes or 2 hours. If that time falls on a Friday (I work normal Monday to Thursday 10 hour days), anything on Friday until midnight is time and a half pay. If the call out time is past 11:59 p.m. on Friday, until 6:00 a.m. Monday morning, then I get double time pay. There's some comp time rules in there too, but I rarely use it. I have OpenVPN access from home or anywhere else. If I can fix the problem from home without having to come in, I don't get the call out minimum time of 2 hours. I only get paid the OT of the time I worked on the problem. I same rules apply for pay with the time and a half and double time scheme as above. Regards, Max ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] scp with tty
What about disabling the tty requirement for sudo with '!requiretty' in your /etc/sudoers setup? On Mon, Oct 12, 2009 at 12:11 PM, tony.chamberl...@lemko.com wrote: Hello I need to know a way to have scp allocate a tty on a remote machine so I can have it run sudo and activate a vpn which it will need to activate. scp with -S does not work. I can't chmod +s the cisco vpn client because when I try to run it it says it can not have setuser. I could have the user scp via root but I do not want to do that. Any way to have scp allocate a tty? ___ 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] OT: pager pay
Alan McKay wrote: Hey folks, I'm trying to compare my small company's policy against other companies out there. We pay 10% of your per-hour salary equivalent per every hour you carry it, whether it goes off or not. So for example someone making $55K/year works out to about $27 / hour (I think), so they'd get $2.70 for every hour they carry the pager outside of regular work hours. We are a company of about 25 people. My old employer Nortel still does it this way : - $27.50 for every 8 hour shift you carry it, outside of regular work hours I'd say really depends on how much work the pager involves, how often your paged and how much time you spend responding to such pages. A company I worked at two jobs ago had pager pay, they tiered it per tier. Pager duty was absolutely brutal, you could easily get 100+ pages a week. I think the average pay was something like $150/week extra for carrying it. I got something like $250/week since I was the lone tier 3 person. There was about 140 people at the time I left. My last company and my current one don't compensate for pager duty, both places the load is very light, my current company has a dedicated 24/7 NOC type setup, so as a tier 3 person(or maybe tier 4 who knows) I get called maybe twice a month. I am technically on call 24/7/365, but if I don't answer they just escalate to somebody else. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] scp with tty
tony.chamberl...@lemko.com wrote: Hello I need to know a way to have scp allocate a tty on a remote machine so I can have it run sudo and activate a vpn which it will need to activate. scp with -S does not work. I can't chmod +s the cisco vpn client because when I try to run it it says it can not have setuser. I could have the user scp via root but I do not want to do that. Any way to have scp allocate a tty? Why don't you set up ssh keys for a passwordless connection as the appropriate user for the file copy and avoid the problem? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] scp with tty
I actually had to set both ssh keys and commented out the requiretty in the sudoers file. What I was doing was having ssh called from a script and running a command on that remote host it was ssh-ing into. On Oct 13, 2009, at 11:43 AM, Les Mikesell wrote: tony.chamberl...@lemko.com wrote: Hello I need to know a way to have scp allocate a tty on a remote machine so I can have it run sudo and activate a vpn which it will need to activate. scp with -S does not work. I can't chmod +s the cisco vpn client because when I try to run it it says it can not have setuser. I could have the user scp via root but I do not want to do that. Any way to have scp allocate a tty? Why don't you set up ssh keys for a passwordless connection as the appropriate user for the file copy and avoid the problem? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: pager pay
Like Max I don't have pager pay but I do get paid for call outs. My phone is fully paid for (approx $60/m) and call outs are paid at time and a half (Sunday is double time), minimum one hour. All travel time is considered call out time and mileage is eligible for $0.50/km. I'm on call 7am to 9pm Mon-Sat and I usually work 7am-5pm Mon-Fri. -- Drew Nothing in life is to be feared. It is only to be understood. --Marie Curie ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] scp with tty
aurfal...@gmail.com wrote: I actually had to set both ssh keys and commented out the requiretty in the sudoers file. What I was doing was having ssh called from a script and running a command on that remote host it was ssh-ing into. I'm still missing why you'd need to sudo inside the remote shell instead of ssh'ing as the right user in the first place. Or at least why you'd require a password for it. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] scp with tty
Well, I noticed that ssh/scp probably requires tty and when called from a script, its not from a tty. At least in my case which was drupal calling a script that lauched ssh, a non tty source. I also required running privileged commands. Mebbe you don't need all this so check your logs and see what happens. On Oct 13, 2009, at 12:15 PM, Les Mikesell wrote: aurfal...@gmail.com wrote: I actually had to set both ssh keys and commented out the requiretty in the sudoers file. What I was doing was having ssh called from a script and running a command on that remote host it was ssh-ing into. I'm still missing why you'd need to sudo inside the remote shell instead of ssh'ing as the right user in the first place. Or at least why you'd require a password for it. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] scp with tty
Les Mikesell wrote: I'm still missing why you'd need to sudo inside the remote shell instead of ssh'ing as the right user in the first place. Perhaps he doesn't know the user@ syntax. Tony, try this: [localu...@host1 ~]$ ssh r...@host2 remotecmd This requires that the public key for localuser on host1 exists in host2:.ssh/authorized_keys. It also requires PermitRootLogin yes in /etc/ssh/sshd_config, which is unfortunately the default on CentOS. (I usually turn it off.) Beware that this makes localuser on host1 equivalent to root on host2! Also realize that remotecmd can be a very complex thing, not just a simple command. You can use pipes and other things through ssh. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] scp with tty
Warren Young wrote: Les Mikesell wrote: [...] This requires that the public key for localuser on host1 exists in host2:.ssh/authorized_keys. It also requires PermitRootLogin yes in /etc/ssh/sshd_config, which is unfortunately the default on CentOS. (I usually turn it off.) Unfortunately? I could not live w/o it ;-) Also realize that remotecmd can be a very complex thing, not just a simple command. You can use pipes and other things through ssh. If using IO redirections or pipes, be sure to quote them correctly: [localu...@host1 ~]$ ssh r...@host2 remotecmd /tmp/file will create /tmp/file with the output of remotecmd on host1 (!), while [localu...@host1 ~]$ ssh r...@host2 remotecmd /tmp/file will create /tmp/file on host2. Cheers frank ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] scp with tty
Well, I noticed that ssh/scp probably requires tty and when called from a script, its not from a tty. At least in my case which was drupal calling a script that lauched ssh, a non tty source. I also required running privileged commands. Mebbe you don't need all this so check your logs and see what happens. My last job, I was setting up rsync backups. What I did was create a user, backup, then in /etc/sudoers, have !requiretty *only* for that user. The user was also limited in what commands it could run (in that case, rsync only). Don't forget to log in as that user first, so that you don't get the Oh, This is a new IP, are you Sure you want to continue connecting?!?! mark On Oct 13, 2009, at 12:15 PM, Les Mikesell wrote: aurfal...@gmail.com wrote: I actually had to set both ssh keys and commented out the requiretty in the sudoers file. What I was doing was having ssh called from a script and running a command on that remote host it was ssh-ing into. I'm still missing why you'd need to sudo inside the remote shell instead of ssh'ing as the right user in the first place. Or at least why you'd require a password for it. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] timekeeping on VMware guests
Howdy, I am having time-drift issues on my CentOS VM. I had referred to following documentation: http://wiki.centos.org/TipsAndTricks/VMWare_Server , however it didn't help. I used kickstart for creating this VM and I am listing important steps in ref to timekeeping issue. Any comments or suggestion would be appreciated. - CS. --- # For EL5 virtual machines, Append the following in Grub to help keep the clock from drifting # and to reduce the interupt requests # 32bit: --append=rhgb quiet divider=10 clocksource=acpi_pm # 64bit: --append=rhgb quiet notsc divider=10 bootloader --location=mbr --md5pass=$1$mXSD1l6mO$BBCk1gYArAATS7dlCQGthN. --append=rhgb quiet divider=10 clocksource=acpi_pm %packages --nobase # Other packages not listed here # ntp was installed ntp ### Add step-tickers ### cat /etc/ntp/step-tickers \EOF2 0.centos.pool.ntp.org 1.centos.pool.ntp.org EOF2 ### End of step-ticker file ### # Applied patch mentioned on CentOS page # http://wiki.centos.org/TipsAndTricks/VMWare_Server patch --verbose -b -l -i /root/ntp.patch VMware Tools not installed. Thanks, CS. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] timekeeping on VMware guests
Carlos Santana wrote: Howdy, I am having time-drift issues on my CentOS VM. I had referred to following documentation: http://wiki.centos.org/TipsAndTricks/VMWare_Server , however it didn't help. I used kickstart for creating this VM and I am listing important steps in ref to timekeeping issue. Any comments or suggestion would be appreciated. - CS. I'm not sure what version of VMware Server you're running, but I had issues keeping accurate time within guest VMs until I followed the instructions at: http://kb.vmware.com/selfservice/microsites/search.do?language=en_UScmd=displayKCexternalId=1591 If your guest clocks are running too quickly, this may apply to you. -Greg ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] timekeeping on VMware guests
On Tue, Oct 13, 2009 at 2:42 PM, Carlos Santana neu...@gmail.com wrote: Howdy, I am having time-drift issues on my CentOS VM. I had referred to following documentation: http://wiki.centos.org/TipsAndTricks/VMWare_Server , however it didn't help. I used kickstart for creating this VM and I am listing important steps in ref to timekeeping issue. Any comments or suggestion would be appreciated. The knowledgebase article referenced in the VMWare Server wiki article: http://kb.vmware.com/kb/1006427 is the best source as far as I can tell. This is because VMWare keep the contents up-to-date. As suggested in there, you may want to try the 5.4 kernel -164 (already available for CentOS) without using clocksource or divider= options. This kernel has patches that were offered by VMWare developers to address the time drift issues. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] timekeeping on VMware guests
Carlos Santana wrote: Howdy, I am having time-drift issues on my CentOS VM. I had referred to following documentation: http://wiki.centos.org/TipsAndTricks/VMWare_Server , however it didn't help. I used kickstart for creating this VM and I am listing important steps in ref to timekeeping issue. Any comments or suggestion would be appreciated. [..] VMware Tools not installed. You should certainly install vmware tools, and enable time sync to the guest. Also don't run an ntp server in a Vmware VM. I had an issue on my system running Debian and VMware server, I think it was a hardware/bios issue but the thing was the host system detected the clock speed of the hardware at 1/2 the proper speed. Which caused the host OS clock speed to double. Which wrecked havok in the VMs. Once I loaded the 'p4-clockmod' module that 'fixed' the clock speed in the host and I restarted the guest VMs and things were good after that. Another thing to check is to make sure the 'rtc' driver is loaded, my recent vmware server experience is limited to running it on Debian(have it on 2 systems), so I can't speak to running it on top of CentOS. Most of my ESX guests are CentOS though. Another thing I do is have ntpdate run in cron every so often to do another 'sync' to the host, typically once every 5 minutes I found that in my experience at least there is still some drift over time without doing that even with vmware tools time sync enabled. I do the same on guests running on ESX(roughly 300 of them). I have found on ESX at least, haven't tried any other version of vmware, but on ESX with a VMI enabled kernel(unfortunately none of the RHEL4/5 kernels are VMI-enabled) with paravirtualization you can run an ntp server in the guest. I run dedicated Fedora 8 VMs with ntp servers(my vmware servers sync against those VMs), for this purpose. I know paravirtualization is going away in VMware at some point, hoping to find another solution before that happens. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] timekeeping on VMware guests
On Tue, Oct 13, 2009 at 04:31:03PM -0700, nate wrote: Carlos Santana wrote: Howdy, I am having time-drift issues on my CentOS VM. I had referred to following documentation: http://wiki.centos.org/TipsAndTricks/VMWare_Server , however it didn't help. I used kickstart for creating this VM and I am listing important steps in ref to timekeeping issue. Any comments or suggestion would be appreciated. [..] VMware Tools not installed. You should certainly install vmware tools, and enable time sync to the guest. Also don't run an ntp server in a Vmware VM. This is what I'd always thought, but the VMware KB link[1] referenced in the other reply in this thread seems to indicate that best practice is to use NTP + kernel w/ clock/divider options (unless it's new enough to not need it) and to *not* use the VMware Tools host time sync. That said, you should certainly still have VMware Tools installed, it just sounds like the host time sync is no longer preferred... Also note that they recommend you remove the local time source in ntp.conf... Ray [1] http://kb.vmware.com/selfservice/microsites/search.do?language=en_UScmd=displayKCexternalId=1006427 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] timekeeping on VMware guests
I had a similar issue with my Xen VMs, both fully virtualized and para virtualized. I followed these dirs and was able to fix it. Perhaps its applicable to you? http://www.linux.org.za/Lists-Archives/glug-tech-0905/msg00271.html On Oct 13, 2009, at 4:34 PM, Ray Van Dolson wrote: On Tue, Oct 13, 2009 at 04:31:03PM -0700, nate wrote: Carlos Santana wrote: Howdy, I am having time-drift issues on my CentOS VM. I had referred to following documentation: http://wiki.centos.org/TipsAndTricks/VMWare_Server , however it didn't help. I used kickstart for creating this VM and I am listing important steps in ref to timekeeping issue. Any comments or suggestion would be appreciated. [..] VMware Tools not installed. You should certainly install vmware tools, and enable time sync to the guest. Also don't run an ntp server in a Vmware VM. This is what I'd always thought, but the VMware KB link[1] referenced in the other reply in this thread seems to indicate that best practice is to use NTP + kernel w/ clock/divider options (unless it's new enough to not need it) and to *not* use the VMware Tools host time sync. That said, you should certainly still have VMware Tools installed, it just sounds like the host time sync is no longer preferred... Also note that they recommend you remove the local time source in ntp.conf... Ray [1] http://kb.vmware.com/selfservice/microsites/search.do?language=en_UScmd=displayKCexternalId=1006427 ___ 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] timekeeping on VMware guests
On Tue, Oct 13, 2009 at 4:34 PM, Ray Van Dolson ra...@bludgeon.org wrote: On Tue, Oct 13, 2009 at 04:31:03PM -0700, nate wrote: You should certainly install vmware tools, and enable time sync to the guest. Also don't run an ntp server in a Vmware VM. This is what I'd always thought, but the VMware KB link[1] referenced in the other reply in this thread seems to indicate that best practice is to use NTP + kernel w/ clock/divider options (unless it's new enough to not need it) and to *not* use the VMware Tools host time sync. That said, you should certainly still have VMware Tools installed, it just sounds like the host time sync is no longer preferred... Also note that they recommend you remove the local time source in ntp.conf... Ray [1] http://kb.vmware.com/selfservice/microsites/search.do?language=en_UScmd=displayKCexternalId=1006427 Right. The instructions in the above KB article are contrary to the tactics we used to employ. At least one of my VM guests whose clock was going too fast was corrected by following that KB. However, there is no one-size-fits-all solution. The article is the best effort by VMWare but it does not rectify all cases. As a matter of fact, the VMWare techs have helped Red Hat improve the RHEL kernel by providing patches (as I mentioned in my earlier post). The details are in this bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=463573 Those patches are now in the -164 kernel. Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] timekeeping on VMware guests
On Tue, 13 Oct 2009, Ray Van Dolson wrote: On Tue, Oct 13, 2009 at 04:31:03PM -0700, nate wrote: Carlos Santana wrote: Howdy, I am having time-drift issues on my CentOS VM. I had referred to following documentation: http://wiki.centos.org/TipsAndTricks/VMWare_Server , however it didn't help. I used kickstart for creating this VM and I am listing important steps in ref to timekeeping issue. Any comments or suggestion would be appreciated. [..] VMware Tools not installed. You should certainly install vmware tools, and enable time sync to the guest. Also don't run an ntp server in a Vmware VM. This is what I'd always thought, but the VMware KB link[1] referenced in the other reply in this thread seems to indicate that best practice is to use NTP + kernel w/ clock/divider options (unless it's new enough to not need it) and to *not* use the VMware Tools host time sync. That said, you should certainly still have VMware Tools installed, it just sounds like the host time sync is no longer preferred... Also note that they recommend you remove the local time source in ntp.conf... Indeed, they changed course over time once they learned that NTP could be made to work reliably when using tinker panic 0. I have had my share of VMware timekeeping troubles the past 5 years, mostly because the recommendations didn't always apply to what we were seeing. We still use Host-Guest synchronization for ESX 2.0 VM guests, but most of the infrastructure has been migrated, recently to ESX 3.5. VMware never could confirm that the recommendations laid out in the knowledge base article also applies to ESX 2.0. They seem to update that document (and the timekeeping PDF) for every new ESX release, and removing anything that applied to the previous release :-/ And without a detailed changelog and no access to previous versions of the document you may get paranoid or get into discussions based on different copies of that document. I've been there too :-) -- -- dag wieers, d...@wieers.com, http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors] ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] timekeeping on VMware guests
Carlos Santana wrote: Howdy, I am having time-drift issues on my CentOS VM. I had referred to following documentation: http://wiki.centos.org/TipsAndTricks/VMWare_Server , however it didn't help. I used kickstart for creating this VM and I am listing important steps in ref to timekeeping issue. Any comments or suggestion would be appreciated. You want to look at VMware's Best Practices for timekeeping. It says to use Linux's NTP, *not* VMware tools. mark - CS. --- # For EL5 virtual machines, Append the following in Grub to help keep the clock from drifting # and to reduce the interupt requests # 32bit: --append=rhgb quiet divider=10 clocksource=acpi_pm # 64bit: --append=rhgb quiet notsc divider=10 bootloader --location=mbr --md5pass=$1$mXSD1l6mO$BBCk1gYArAATS7dlCQGthN. --append=rhgb quiet divider=10 clocksource=acpi_pm %packages --nobase # Other packages not listed here # ntp was installed ntp ### Add step-tickers ### cat /etc/ntp/step-tickers \EOF2 0.centos.pool.ntp.org 1.centos.pool.ntp.org EOF2 ### End of step-ticker file ### # Applied patch mentioned on CentOS page # http://wiki.centos.org/TipsAndTricks/VMWare_Server patch --verbose -b -l -i /root/ntp.patch VMware Tools not installed. Thanks, CS. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos -- The truth will out: someone got it at last: Dogs have masters; cats have staff. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.3 on X86_64: yum installs both i386 and x86_64 packages
I removed all i?86 on my x86_64 servers. No problem. -- http://vnoss.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos