Re: [CentOS-docs] new pages
Riaan Van Niekerk wrote: username: RiaanVanNiekerk page detailing official vendor support statements for CentOS, actual/current, pending or requested. E.g. using as a base content available on http://blog.danieldk.org/post/2008/04/09/CentOS-vendor-support Let me get back to you on Sunday evening or on Monday, I am at the moment busy here at Linuxtag in Berlin. But thank you for your offer to maintain some pages on the Wiki. Sorry that I can't really answer you sooner. Ralph pgpUgRvUPiWoH.pgp Description: PGP signature ___ CentOS-docs mailing list CentOS-docs@centos.org http://lists.centos.org/mailman/listinfo/centos-docs
[CentOS-virt] Virtuozzo GFS
I have just finished deploying two Dell PowerEdge 1950s with CentOS 5.1 and Virtuozzo 4. GFS is up and running and Virtuozzo is configured for shared-storage clustering. Everything works adequately but I am wondering if anyone else has experienced load issues like I am seeing. I have three VEs/VMs running, two on one node and one on the other node. One of the VEs on each node are doing very little (one is just idling with apache and mysql and the other is running rsync every six hours). The other is running Zimbra. Every so often load will spike on the node running the Zimbra VE to as high as 2 or 3 then settle down a short while later to around 0.8 or 0.9. During the spikes the node not running Zimbra will other see an increase from its idle load of 0.4 or so up to as high as 1.7 as I have seen. I notice when running top that dlm_send and dlm_recv will jump to the top fairly frequently when these load spikes occur. What I am wondering is whether anyone else has experienced these kind of load scenarios with GFS and what they have done to deal with them? We are hoping to deploy a bit more densely on this setup so I'd like to make any performance adjustments I can at this stage. Thanks, James Thompson ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Virtuozzo GFS
James, - James Thompson [EMAIL PROTECTED] wrote: I have just finished deploying two Dell PowerEdge 1950s with CentOS 5.1 and Virtuozzo 4. GFS is up and running and Virtuozzo is configured for shared-storage clustering. Everything works adequately but I am wondering if anyone else has experienced load issues like I am seeing. I have three VEs/VMs running, two on one node and one on the other node. One of the VEs on each node are doing very little (one is just idling with apache and mysql and the other is running rsync every six hours). The other is running Zimbra. Every so often load will spike on the node running the Zimbra VE to as high as 2 or 3 then settle down a short while later to around 0.8 or 0.9. During the spikes the node not running Zimbra will other see an increase from its idle load of 0.4 or so up to as high as 1.7 as I have seen. I notice when running top that dlm_send and dlm_recv will jump to the top fairly frequently when these load spikes occur. What I am wondering is whether anyone else has experienced these kind of load scenarios with GFS and what they have done to deal with them? We are hoping to deploy a bit more densely on this setup so I'd like to make any performance adjustments I can at this stage. Thanks, James Thompson A load of 2-3 isn't much at all... so I don't think I'd call that much of a spike. I have run OpenVZ at work and on a hobby server. In both cases I have about 7 containers... one of them being Zimbra. The other 6 containers are fairly busy so the two machines see a decent amount of load. I am NOT using GFS though. What is dlm_send and dlm_recv part of? GFS? TYL, -- Scott Dowdle 704 Church Street Belgrade, MT 59714 (406)388-0827 [home] (406)994-3931 [work] ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Virtuozzo GFS
I believe both dlm_send and dlm_receive are part of GFS' locking mechanism where locks are bouncing back and forth between servers. The Zimbra VE is pretty consistent in its internal load and what struck me was that Virtuozzo's PIM interface flags the increased load (leading me to believe it is abnormal). Perhaps I am mistaken on the meaning of the load figures though. On a busy machine what would be considered a normal load? Does it differ based on the number of processors and cores available in the system? I came across this article which makes me think I may be mistaken in my concern: http://www.linuxjournal.com/article/9001 Can anyone who is using GFS perhaps comment on how it has performed for them in virtualization scenarios? When initially working with just the iSCSI mounted disks involved operations were just slightly less snappy than local file operations. With GFS things seem at least noticeably more sluggish which I expect is normal given the multi-server locking but has anyone worked on optimizing GFS performance in a virtualization environment? Thanks, James Thompson On Sat, May 31, 2008 at 11:56 AM, Scott Dowdle [EMAIL PROTECTED] wrote: James, - James Thompson [EMAIL PROTECTED] wrote: I have just finished deploying two Dell PowerEdge 1950s with CentOS 5.1 and Virtuozzo 4. GFS is up and running and Virtuozzo is configured for shared-storage clustering. Everything works adequately but I am wondering if anyone else has experienced load issues like I am seeing. I have three VEs/VMs running, two on one node and one on the other node. One of the VEs on each node are doing very little (one is just idling with apache and mysql and the other is running rsync every six hours). The other is running Zimbra. Every so often load will spike on the node running the Zimbra VE to as high as 2 or 3 then settle down a short while later to around 0.8 or 0.9. During the spikes the node not running Zimbra will other see an increase from its idle load of 0.4 or so up to as high as 1.7 as I have seen. I notice when running top that dlm_send and dlm_recv will jump to the top fairly frequently when these load spikes occur. What I am wondering is whether anyone else has experienced these kind of load scenarios with GFS and what they have done to deal with them? We are hoping to deploy a bit more densely on this setup so I'd like to make any performance adjustments I can at this stage. Thanks, James Thompson A load of 2-3 isn't much at all... so I don't think I'd call that much of a spike. I have run OpenVZ at work and on a hobby server. In both cases I have about 7 containers... one of them being Zimbra. The other 6 containers are fairly busy so the two machines see a decent amount of load. I am NOT using GFS though. What is dlm_send and dlm_recv part of? GFS? TYL, -- Scott Dowdle 704 Church Street Belgrade, MT 59714 (406)388-0827 [home] (406)994-3931 [work] ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Re: [CentOS-virt] Virtuozzo GFS
On Sat, 2008-05-31 at 16:19 -0400, James Thompson wrote: With GFS things seem at least noticeably more sluggish which I expect is normal given the multi-se James, I haven't personally used GFS before, but the sysstat package might be able to help you out. Basically, from what i can see there would be two different causes of the load: CPU: We've ran Zimbra in VMWare Server with an average load average of around 2-3 (exactly what your seeing) using Full Virtualisation via Intel VT (ensure your Dell 1950 has this turned on via BIOS - it's not on by default). Here you would probably see 'top' claiming the load average (on the hypervisor) to be mostly on CPU. IO: Use the sysstat rpm (iowait app) to have a look at iowait times and narrow it down to a IO problem, here you'd see 'top' claiming high load average but CPU's look fine. We ran iSCSI on a 50mbit link (quick test), and whilst formatting the load average shot up to ~5, CPU and everything was fine and iowait quickly showed us it was waiting on IO the whole time. Hope that might help, you've probably checked these already though. Does Virtualizzo supper paravirtualised guests - that might be the next step to check out if you haven't already... ___ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
[CentOS-es] Consulta RAID 1
Title: Richard Ramrez Ortiz Buenos das, Ayer estuvo probando en un servidor HP Proliant un RAID1 con la controladora que trae integrada(NVIDIA) La creacin del RAID fue sin problemas a travs de la utilidad de configuracin en el arranque, por lo que pude instalar el centos con normalidad. Sin embargo, cuando quize probar quitando un disco y colocando uno nuevo, no terminaba de arrancar el centos, indicando errores con device is busy - kernel panic, previamente por medio de la utilidad RAID hice un REBUILD de este con el nuevo disco. Supongo que el problema es que si bien los 2 discos funcionan como raid est aun no ha "reconstruido" la data en el disco nuevo. Debido a este problema tuve que apagar el servidor y color el disco anterior, lo que hizo que Centos arranque con normalidad. Cabe indicar que el RAID es con discos SATA. Vi que en la web de HP existe una utilidad para ello llamada ACU, sin embargo ya no se encuentra disponible. Espero alguien me pueda sugerir algunas soluciones. Gracias. Saludos, Richard Ramrez Ortiz GAMMA CARGO SAC rea de Sistemas ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS-es] Consulta RAID 1
--- On Sat, 5/31/08, Richard Ramírez [EMAIL PROTECTED] wrote: From: Richard Ramírez [EMAIL PROTECTED] Subject: [CentOS-es] Consulta RAID 1 To: centos-es@centos.org Received: Saturday, May 31, 2008, 11:32 AM div id=yiv421073998!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head /head Buenos días, br br Ayer estuvo probando en un servidor HP Proliant un RAID1 con la controladora que trae integrada(NVIDIA)br La creación del RAID fue sin problemas a través de la utilidad de configuración en el arranque, por lo que pude instalar el centos con normalidad. Sin embargo, cuando quize probar quitando un disco y colocando uno nuevo, no terminaba de arrancar el centos, indicando errores con idevice is busy - kernel panic, /ipreviamente por medio de la utilidad RAID hice un REBUILD de este con el nuevo disco. Supongo que el problema es que si bien los 2 discos funcionan como raid esté aun no ha reconstruido la data en el disco nuevo. Debido a este problema tuve que apagar el servidor y color el disco anterior, lo que hizo que Centos arranque con normalidad. Cabe indicar que el RAID es con discos SATA. Vi que en la web de HP existe una utilidad para ello llamada ACU, sin embargo ya no se encuentra disponible. Espero alguien me pueda sugerir algunas soluciones. Gracias.br mira, por lo que cuentas, el RAID1 es un raid por soft implementado a nivel de bios, posiblemente a nivel de bios de la tarjeta, es decir, para el sistema operativo debe de presentarsele un disco, digamosle virtual; si cuando le quitas un disco el linux no levanta, yo buscaria como funciona el raid1 de nvidea porque para mi es el culpable. quizas tienes que dejarle que termine de reconstruir, quizas no. quizas necesitas un driver, modulo del kernel de linux, mas nuevo que interprete correctamente el estado del raid1 que le suministra la tarjeta. que version de centos estas usando? yo me compre una pc recientemente y el controlador sata que tiene es nvidea, no esta soportado por centos-5.1, ni por centros4.6, creo que el centos5.2 lo va a soportar aunque no vi a que version del modulo sata sube, si es a la 2.3 lo va a soportar, el fedora8 (que trae la 2.3) lo soporta, tambien el fedora9 (trae la version3.0) quieres probar si con una version del driver sata funciona bien? prueba con un livecd de fedora8 o fedora9 en las mismas condiciones que el centos instalado falla bueno, tienes una oportunidad interesante para jugar :-) cu roger __ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ ___ CentOS-es mailing list CentOS-es@centos.org http://lists.centos.org/mailman/listinfo/centos-es
Re: [CentOS] Setting Group owner of files on USB drive
Robert Moskowitz wrote: Matt Hyclak wrote: On Fri, May 30, 2008 at 04:37:58PM -0400, Robert Moskowitz enlightened us: I just got a 8Gb flash drive and went to copy a bunch of files onto it. I wanted to perserve everything, so I just took my archiving rsync command and altered it to go to localhost:/media/RALLY2/ (name of flash drive). I am getting errors with changing the group owner. Huh? So I try to just use mkdir to create a directory on the flash drive. The directory has a group of root ??? So I try a chgrp and get: [EMAIL PROTECTED] me]# chgrp me /media/RALLY2/Stuff chgrp: changing group of `/media/RALLY2/Stuff': Operation not permitted OK why can't I set the group to something other than root? ls -lstr /media/ total 4 4 drwxr-xr-x 3 me root 4096 May 30 16:28 RALLY2 and of course for /media: 8 drwxr-xr-x 3 root root 4096 May 30 16:18 media Most likely the device is formatted as FAT32, which has no concept of permissions. Reformat it, ignore the errors, or modify your rsync command to not preserve uid/gid. Unfortunately, I have to use it on Win systems as well... You can't expect it to maintain ext3 file permissions in a FAT32 partition :D you could use tar, but then the files are not available without untaring. you MIGHT be able to also use acl permissions and getfacl/setfacl to build a permissions file which you can use to reset the permissions and still have the files available as normal files on the flash drive. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] drbd strategy
I have an existing in-production LAMP server running Centos 5.1. It uses physical partitions on top of hardware RAID1, having / /home /var and /boot on separate partitions. We have a near-identical system I am thinking of bringing in as a DRBD/Heartbeat companion. One solution may be to use csync2 [http://oss.linbit.com/csync2/] on /etc and /usr/local (the only areas that will differ from the stock CentOS). Then setup DRBD for /home and /var. From reading the docs it seems we have to use external meta data on the existing partitions. Other than that, anyone have any caveats or better ideas for this setup? Also - each has 2 NICs. Can Heartbeat do its pinging over the WAN (eth0) with eth1 dedicated to DRBD only? Is that how it is supposed to be, or should we use the serial ports? Sam ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] drbd strategy
sbeam wrote: I have an existing in-production LAMP server running Centos 5.1. It uses physical partitions on top of hardware RAID1, having / /home /var and /boot on separate partitions. We have a near-identical system I am thinking of bringing in as a DRBD/Heartbeat companion. One solution may be to use csync2 [http://oss.linbit.com/csync2/] on /etc and /usr/local (the only areas that will differ from the stock CentOS). Then setup DRBD for /home and /var. From reading the docs it seems we have to use external meta data on the existing partitions. Other than that, anyone have any caveats or better ideas for this setup? Also - each has 2 NICs. Can Heartbeat do its pinging over the WAN (eth0) with eth1 dedicated to DRBD only? Is that how it is supposed to be, or should we use the serial ports? You can decide on which nic heartbeat will do its broadcast ... serial port is optional and in certain cases it's even impossible to use serial port when machines are not located in the same computer room/building ... Don't forget that if you use ext3 on your /home and /var partitions you'll only be able to use it on one node at a time .. if you need both nodes to read/write to the drbd devices, you'll need to use a clusterfs (like gfs, gfs2) on top -- - Fabian Arrotin [EMAIL PROTECTED] Internet network currently down, TCP/IP packets delivered now by UPS/Fedex ... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] drbd strategy
sbeam wrote: I have an existing in-production LAMP server running Centos 5.1. It uses physical partitions on top of hardware RAID1, having / /home /var and /boot on separate partitions. We have a near-identical system I am thinking of bringing in as a DRBD/Heartbeat companion. One solution may be to use csync2 [http://oss.linbit.com/csync2/] on /etc and /usr/local (the only areas that will differ from the stock CentOS). Then setup DRBD for /home and /var. From reading the docs it seems we have to use external meta data on the existing partitions. Other than that, anyone have any caveats or better ideas for this setup? Also - each has 2 NICs. Can Heartbeat do its pinging over the WAN (eth0) with eth1 dedicated to DRBD only? Is that how it is supposed to be, or should we use the serial ports? One KEY thing to understand about DRBD is that for the normal mode you CAN NOT mount the shared partitions on BOTH machines at the same time. (DRBD does have an active/active mode, but that is not it's major purpose ... DRBD is raid1 for partitions, so just like you can not write / mount BOTH mirrors of a raid1 drive at the same time, you can't do that on DRBD either.) If you really are trying to get a failover machine where you do not need to have both partitions mounted and active at the same time, then DRBD is probably what you are looking for. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS-announce Digest, Vol 39, Issue 15
Send CentOS-announce mailing list submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than Re: Contents of CentOS-announce digest... Today's Topics: 1. CESA-2008:0288 Critical CentOS 4 x86_64 samba Update (Johnny Hughes) 2. CESA-2008:0288 Critical CentOS 4 i386 samba Update (Johnny Hughes) -- Message: 1 Date: Fri, 30 May 2008 13:46:59 -0500 From: Johnny Hughes [EMAIL PROTECTED] Subject: [CentOS-announce] CESA-2008:0288 Critical CentOS 4 x86_64 samba Update To: CentOS-Announce [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 CentOS Errata and Security Advisory 2008:0288 Critical Upstream details at : https://rhn.redhat.com/errata/RHSA-2008-0288.html The following updated files have been uploaded and are currently syncing to the mirrors: x86_64: samba-3.0.25b-1.el4_6.5.x86_64.rpm samba-client-3.0.25b-1.el4_6.5.x86_64.rpm samba-common-3.0.25b-1.el4_6.5.i386.rpm samba-common-3.0.25b-1.el4_6.5.x86_64.rpm samba-swat-3.0.25b-1.el4_6.5.x86_64.rpm src: samba-3.0.25b-1.el4_6.5.src.rpm -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.centos.org/pipermail/centos-announce/attachments/20080530/9ba2a6c4/signature-0001.bin -- Message: 2 Date: Fri, 30 May 2008 13:47:07 -0500 From: Johnny Hughes [EMAIL PROTECTED] Subject: [CentOS-announce] CESA-2008:0288 Critical CentOS 4 i386 samba Update To: CentOS-Announce [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 CentOS Errata and Security Advisory 2008:0288 Critical Upstream details at : https://rhn.redhat.com/errata/RHSA-2008-0288.html The following updated files have been uploaded and are currently syncing to the mirrors: i386: samba-3.0.25b-1.el4_6.5.i386.rpm samba-client-3.0.25b-1.el4_6.5.i386.rpm samba-common-3.0.25b-1.el4_6.5.i386.rpm samba-swat-3.0.25b-1.el4_6.5.i386.rpm src: samba-3.0.25b-1.el4_6.5.src.rpm -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.centos.org/pipermail/centos-announce/attachments/20080530/64239451/signature-0001.bin -- ___ CentOS-announce mailing list [EMAIL PROTECTED] http://lists.centos.org/mailman/listinfo/centos-announce End of CentOS-announce Digest, Vol 39, Issue 15 *** ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] another sed question...
On Fri, May 30, 2008 at 12:33 PM, Craig White [EMAIL PROTECTED] wrote: where I'm taking the 'id:' field from each record and inserting an underscore and the id into the 'attributes' label directly above. Just for fun, this is a one-line sed script that would change that file: sed -n -e '/^attributes:$/{' -e 'n' -e 'h' -e 's/^ id: \(.*\)$/attributes_\1:/' -e 'Ta' -e 'G' -e 'p' -e 'b' -e ':a' -e 'n' -e 'H' -e 's/^ id: \(.*\)$/attributes_\1:/' -e 'Ta' -e 'G' -e '}' -e 'p' It could probably be done better than that. sed can do anything (there is an example that implements the bc calculator in sed), but it's certainly not the best tool for anything. These days, I would say that foranything that involves correlating lines (actually, anything that involves more than substitutions and deletion of lines -- s/// and //d) you would be better off with perl or python. I wouldn't bother learning awk, if you want to spend your time learning something, go directly to perl or python. awk tends to get very ugly when your script grows, and it does many things in an AWKward way. For text processing, Perl is still king. Python can certainly be used for that, but even though I know Python well, for tasks such as the one above I would choose Perl. The way regular expressions are embedded in the language makes it very productive to work with these problems. HTH! Filipe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] drbd strategy
On Sat, May 31, 2008 at 7:40 AM, sbeam [EMAIL PROTECTED] wrote: We have a near-identical system I am thinking of bringing in as a DRBD/Heartbeat companion. One solution may be to use csync2 [http://oss.linbit.com/csync2/] on /etc and /usr/local (the only areas that will differ from the stock CentOS). Then setup DRBD for /home and /var. Probably not a good idea to put the whole /var in DRBD, since then the second machine will have it unmounted when it's in stand-by, and there are somethings like /var/run, /var/tmp and /var/spool that might be needed even if the machine is in stand-by. I don't think you might actually be able to start heartbeat without a /var/run to store its pid file. You would be better off by using a DRBD partition for /var/lib/mysql and leaving the rest of /var out of DRBD. HTH, Filipe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Setting Group owner of files on USB drive
On 5/31/2008 3:33 AM, Johnny Hughes wrote: Robert Moskowitz wrote: You can't expect it to maintain ext3 file permissions in a FAT32 partition :D Not necessarily. If the Linux files do not need to be accessed from the windows environment, you could create an image file, format the image as ext3, mount the image file as a loop device, and treat it as a standard ext3 mount point. # create a 10M empty file dd if=/dev/zero of=disk.img bs=1024 count=1 # format with ext3 mkfs.ext3 disk.img # mount image mkdir /mnt/mydata mount -o loop disk.img /mnt/mydata # read / write files echo hello world /mnt/mydata/hello.txt ll /mnt/mydata Kenneth ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] Fastest 4.6 - 5.1 upgrade path
Couldn't agree more. Personally I wanted to see what the fuss was all about. I certainly got my hands full... 8-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MHR Sent: Friday, May 30, 2008 8:06 PM To: CentOS mailing list Subject: Re: [CentOS] Fastest 4.6 - 5.1 upgrade path On Fri, May 30, 2008 at 8:16 AM, Sorin Srbu [EMAIL PROTECTED] wrote: I did the upgrade dance with yum once when going from Fedora 5 to 7. It worked, but took a lot of time and left a helluva' lot of obscure lib-failures and stuff. I eventually got it working but I never felt sure it wouldn't fail on me whenever. After running the upgraded system for a month or so w/o any problems, I decided to do a fresh install from scratch with CentOS5 and clear all FUD I had left. Yum -upgrades works, but you'll potentially spend a lot of time clearing and fixing problems afterwards. You want a quick install, do a fresh one. Don't forget to backup your data first though. I upgrade between minor releases, and that seems to work fairly well. But for any major release, I'd go for a clean install. smime.p7s Description: S/MIME cryptographic signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS-Samba question
On Tue, May 27, 2008 at 5:17 PM, MHR [EMAIL PROTECTED] wrote: On Tue, May 27, 2008 at 4:51 PM, Christopher Chan [EMAIL PROTECTED] wrote: Try adding 'guest ok = yes' to the printer share configuration. I will - thanks. I did - no change. ...I think you need to pick a bit more on Windows networking...more reading of the books/documentation provided with samba should help. Okay, I went through the Samba Guide at http://us3.samba.org/samba/docs/using_samba. I read chapters 1, 2 3 fairly thoroughly, and I'm going through 12 (troubleshooting) now. One small problem is that this is for Samba 2.2 and I'm on 3.0.25. Be that as it may Let me start up front with this: both Windows boots can ping the CentOS Samba Server. Neither one can see it in their M$ Network. I went through chapter 3 step by step for both the W98 and WXP boots, and I can't see my C5.1 from W98 at all, and I can't see anything that's on the C5.1 from WXP. I started going through the troubleshooting chapter, and I got up to this point with W98: 'net use * \\mhrichter\tmp' hangs for about a minute, then comes back with an Error 59 - unknown error. In the log, I see this (I did it twice): [EMAIL PROTECTED] samba]# cat mhrichter.log [2008/05/31 10:54:03, 1] smbd/service.c:make_connection_snum(1033) mhrichter (192.168.0.100) connect to service tmp initially as user nobody (uid=99, gid=99) (pid 19903) [2008/05/31 10:54:07, 1] smbd/service.c:close_cnum(1230) mhrichter (192.168.0.100) closed connection to service tmp [EMAIL PROTECTED] samba]# grep nobody /etc/passwd nobody:x:99:99:Nobody:/:/sbin/nologin nfsnobody:x:4294967294:4294967294:Anonymous NFS User:/var/lib/nfs:/sbin/nologin [EMAIL PROTECTED] samba]# In case you don't remember, the tmp share is configured thus: [tmp] comment = Temporary file space path = /tmp writeable = yes guest ok = yes So, in theory, anyone should be able to see it, read and write to it, etc. (Yes, I know there's a potential space problem here, but these machines are all on a private subnet, I'm the only one who has a clue how to really make use of them, and there's about 35GB left on /, including /tmp.) This particular problem is not addressed in the guide, so I'm stuck (again). I'll be trying the WXP boot in a few minutes, where my logon /should/ work (but doesn't) and I'll see what turns up in the log for that. But, in the mean time, any ideas? Thanks. mhr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] XFS install issue
On Sat, May 31, 2008 at 1:16 PM, Johnny Hughes [EMAIL PROTECTED] wrote: I also normally build all the extras kmods while I build the centosplus kernel, so they were also not yet done ... however I did go ahead and build I dont intend to blame anybody but kmod_xfs was a couple of days late for previous kernel update and I broke an xfs partition, as recorded in list archives. In that thread, I was told to expect such things and test better because xfs was not in official brunch neither in rhel nor in centos. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
RE: [CentOS] CentOS-Samba question
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MHR Sent: Saturday, May 31, 2008 2:57 PM To: CentOS mailing list Subject: Re: [CentOS] CentOS-Samba question On Tue, May 27, 2008 at 5:17 PM, MHR [EMAIL PROTECTED] wrote: On Tue, May 27, 2008 at 4:51 PM, Christopher Chan [EMAIL PROTECTED] wrote: Okay, I went through the Samba Guide at http://us3.samba.org/samba/docs/using_samba. I read chapters 1, 2 3 fairly thoroughly, and I'm going through 12 (troubleshooting) now. -- I think your reading the wrong guide, try this one and this has traversed on long enough. Almost Two weeks now. Below included is also a work (BASIC) Configuration file to get you going. Then you will need to go on and experiment from there. This configuration below will work with a forced user = use_name. Or change the security mode to user and create accounts on the samba server for the windows clients. Those accounts **HAVE** to mach the Window user and password logons! Please read the comented sections. Hope All This Helps and the Formatting Stays, JohnStanley Samba 3 By Example: http://us3.samba.org/samba/docs/man/Samba3-ByExample/ Samba 3 How To: http://us3.samba.org/samba/docs/Samba3-HOWTO.pdf http://us3.samba.org/samba/docs/man/Samba3-HOWTO/ # Any line which starts with a ; (semi-colon) or a # (hash) # is a comment and is ignored. In this example we will use a # # for commentry and a ; for parts of the config file that you # may wish to enable # # NOTE: Whenever you modify this file you should run the command testparm # to check that you have not made any basic syntactic errors. # #--- # SELINUX NOTES: Pay Attention Here # # If you want to use the useradd/groupadd family of binaries please run: # setsebool -P samba_domain_controller on # # If you want to share home directories via samba please run: # setsebool -P samba_enable_home_dirs on # # If you create a new directory you want to share you should mark it as # samba-share_t so that selinux will let you write into it. # Make sure not to do that on system directories as they may already have # been marked with othe SELinux labels. # # Use ls -ldZ /path to see which context a directory has # # Set labels only on directories you created! # To set a label use the following: chcon -t samba_share_t /path # # If you need to share a system created directory you can use one of the # following (read-only/read-write): # setsebool -P samba_export_all_ro on # or # setsebool -P samba_export_all_rw on # # If you want to run scripts (preexec/root prexec/print command/...) please # put them into the /var/lib/samba/scripts directory so that smbd will be # allowed to run them. # Make sure you COPY them and not MOVE them so that the right SELinux context # is applied, to check all is ok use restorecon -R -v /var/lib/samba/scripts # #-- # #=== Global Settings = [global] #Below line is an Option... socket options = TCP_NODELAY # --- Netwrok Related Options - # # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH # # server string is the equivalent of the NT Description field # # netbios name can be used to specify a server name not tied to the hostname # # Interfaces lets you configure Samba to use multiple interfaces # If you have multiple network interfaces then you can list the ones # you want to listen on (never omit localhost) # # Hosts Allow/Hosts Deny lets you restrict who can connect, and you can # specifiy it as a per share option as well # workgroup = Workgroup server string = Samba Server Version %v ; netbios name = MYSERVER ; interfaces = lo eth0 192.168.0.1/24 192.168.0.254/24 ; hosts allow = 127. 192.168.0. 192.168.0. # --- Logging Options - # # Log File let you specify where to put logs and how to split them up. # # Max Log Size let you specify the max size log files should reach # logs split per machine log file = /var/log/samba/%m.log # max 50KB per log file, then rotate max log size = 50 # --- Standalone Server Options # # Scurity can be set to user, share(deprecated) or server(deprecated) # # Backend to store user information in. New installations should # use either tdbsam or ldapsam. smbpasswd is available for backwards # compatibility. tdbsam requires no further configuration. #When commented out Samba reverts to share mode ah ha! security = share # passdb backend = tdbsam # --- Domain Members Options # # Security must be set to domain or ads (Active Directory Server) # # Use the realm option only with security = ads #
Re: [CentOS] Setting Group owner of files on USB drive
I want to thank you all for your comments and the knowledge I gained thereby Kenneth Burgener wrote: On 5/31/2008 3:33 AM, Johnny Hughes wrote: Robert Moskowitz wrote: You can't expect it to maintain ext3 file permissions in a FAT32 partition :D Not necessarily. If the Linux files do not need to be accessed from the windows environment, you could create an image file, format the image as ext3, mount the image file as a loop device, and treat it as a standard ext3 mount point. Since this is only a movable copy of files from my /home/me directory structure, I can live with loosing the group and needing to reset it if moved back to a ext3 partition. I will just have to work out the right rsync of cp command to do the bulk movement without all those warnings. SHould only take reading a few man pages for that... Again thanks. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] recommendations/suggestions - geographically spread network based on Centos
Good day all, I was wondering if I could pick some admin heads here as I have a HUGE project I have been tasked with. I am asking here since I will be basing everything on Centos, and want it to all play nice together. If anyone feels this is straying off topic, please just reply off list. I do not want to be the cause of one of those threads. I have 3 offices, 1 in Canada, 2 in Mexico. We are currently investigating connectivity options (still no results yet), but I suspect one of the mexican sites will be very limited. I need to setup the typical office setup, but need to get the following figured out. I personally do not have experience in this type of network (all my past experience comes from a centralized office, one location, or a multi office with services all based in their respective locations). So because The connectivity is probably limited (in our mexican offices), I will need to take that into consideration (obviously). Our head office has a 10mb full duplex fiber feed, but we also have equipment in data centers. What I need in the end is: - exchange like functions IE Global address book, shared calenders, etc (looking at scalix, or could keep my existing email server - very happy with it, and just setup a LDAP server and a CalDAV server - still investigating this one though). - Funambol with various connectors to push email and calendars to blackberries and iphones. - vpn (openvpn) - mostly just the head office though - collaborative / project management environment (looking at alfresco - sharepoint alternative) - monitoring (nagios) - helpdesk (glpi with ocs for inventory management) - file sharing (samba) - remote file backups (probably just rsync into a dedicated backup machine in a data center) - access to all services (probably - still waiting back from the higher ups) from all locations So my first thought is that my preference it to keep as much at a data center as possible due to security, temperature control, connection reliability, etc. Due to my inexperience with some of these products, (IE Scalix,etc) I am kind of wondering what the best way or topology is to do this is. So at a brief first thought I kind of envisioned this: - scalix, Funambol, alfresco, nagios (also one in my office as backup), backup box collocated in the data center providing it can be locked down adequately, and still provide the needed services to all 3 offices. - in each office a samba file server, vpn server. Due to the probable connectivity issue with the remote offices (one is literally in the desert at a work site), I did not think a constant inter-office VPN was the way to go, Or even securing the main data center services with VPN (unless I could build it right for speed). However I guess I could lock down the data center services with VPN, and create a constant connection between head office and the data center, and allow the other offices to connect via individual vpn connections as needed. Thoughts? Just looking for a general broad overview, or some software recommendations if anyone from experience has a recommendation that is possibly better than the software I had outlined here. Dnk ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos