Re: [CentOS] Network Install Procedure Question

2009-05-14 Thread Sorin Srbu
>-Original Message- >From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf >Of Kaplan, Andrew H. >Sent: Wednesday, May 13, 2009 10:24 PM >To: centos@centos.org >Subject: [CentOS] Network Install Procedure Question > >I wanted to do a netinstall of the 5.3 release, and

Re: [CentOS] 5.3 and XFS

2009-05-14 Thread Ralph Angenendt
James Pearson wrote: > - [fs] xfs: backport to rhel5.4 kernel (Eric Sandeen ) [470845] > - [fs] xfs: update to 2.6.28.6 codebase (Eric Sandeen ) [470845] > > Eric Sandeen is ex-SGI and I guess the experienced XFS engineer > mentioned ... No, Eric is doing ext4 (and has been for quite some while

[CentOS] Postfix: user unknown

2009-05-14 Thread Manuel Monteiro
Dear all, I have a mail server based on a CentOS 5.3 machine with postfix. Most of our users are on LDAP (on localhost) but we also have some local users and we are using PAM for authentication. Sometimes emails are not delivered to an user (happens either with users on LDAP or loca

Re: [CentOS] 5.3 and XFS

2009-05-14 Thread James Pearson
Ralph Angenendt wrote: > James Pearson wrote: > >>- [fs] xfs: backport to rhel5.4 kernel (Eric Sandeen ) [470845] >>- [fs] xfs: update to 2.6.28.6 codebase (Eric Sandeen ) [470845] >> >>Eric Sandeen is ex-SGI and I guess the experienced XFS engineer >>mentioned ... > > No, Eric is doing ext4 (a

Re: [CentOS] Shell Script Pointers?

2009-05-14 Thread James Bensley
I have written my script but I wanted to add this on before and after the update to see the difference but all it returns are zeros? Anyone have any idea why? #!/bin/sh f=0 #Folder count d=0 #Domains count (one per line in each file) u=0 #Url count (one per line in each file) t=0 #Total of domain

[CentOS] Possible SAN Issue

2009-05-14 Thread Alan Bartlett
Just a quick ping to the general m/l. Is there a SAN expert out there who could spare some time to have a look at this forum post, please? URL -- http://www.centos.org/modules/newbb/viewtopic.php?topic_id=20273&forum=39 Alan. ___ CentOS mailing list Ce

Re: [CentOS] File compare word by word

2009-05-14 Thread Brent L. Bates
Find the `spiff' utility. It will compare files word by word and highlight ONLY the word differences. One can also compare numbers and change the resolution of the comparison. This lets the text "1.0" equally compare to "0.1e+1" or even "0.9", if the fudge factor is large enough in the

Re: [CentOS] Shell Script Pointers?

2009-05-14 Thread James Bensley
Update: these lines should be: + $X >                d=`expr $d + 1` and >                u=`expr $u + 1` >        fi > done > James ;) -BEGIN GEEK CODE BLOCK- Version: 3.1 GIT/MU/U dpu s: a--> C++>$ U+> L++> B-> P+> E?> W+++>$ N K W++ O M++>$ V- PS+++ PE++ Y+ PGP t 5 X+ R- tv+ b

[CentOS] if no NFS server clients are waiting..

2009-05-14 Thread Michael Casey
What can I do, If the NFS server is rebooting/offline? I mean the clients just wait and wait and wait... I tried to set timeo=5,retrans=2 mount options when mounting nfs in fstab on client side = still no luck, clients are just waiting... Can I set a timeout somewhere? :D Thank you for any tips

Re: [CentOS] if no NFS server clients are waiting..

2009-05-14 Thread Johan Swensson
Try with the soft option. - Original Message - From: "Michael Casey" To: centos@centos.org Sent: Thursday, May 14, 2009 2:06:31 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna Subject: [CentOS] if no NFS server clients are waiting.. What can I do, If the NFS server

Re: [CentOS] if no NFS server clients are waiting..

2009-05-14 Thread Michael Casey
I tried "ls --color=never" https://bugzilla.redhat.com/show_bug.cgi?id=468049 it still waits I tried on the client side with other mount options: intr, soft it still waits update :D : I turn the NFS server down Clients hang reboot client client cant see the NFS share, but at least it doesn't wai

Re: [CentOS] if no NFS server clients are waiting..

2009-05-14 Thread James Pearson
Johan Swensson wrote: > Try with the soft option. > > - Original Message - > From: "Michael Casey" > To: centos@centos.org > Sent: Thursday, May 14, 2009 2:06:31 PM GMT +01:00 Amsterdam / Berlin / Bern > / Rome / Stockholm / Vienna > Subject: [CentOS] if no NFS server clients are waiting

Re: [CentOS] if no NFS server clients are waiting..

2009-05-14 Thread Michael Casey
the fstab entry is this vim /etc/fstab 192.168.1.1:/mnt/share/ /home/user/Desktop/Share/ nfs defaults,ro,nfsvers=3,nolock 0 0 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Possible SAN Issue

2009-05-14 Thread Ross Walker
On May 14, 2009, at 6:48 AM, Alan Bartlett wrote: > Just a quick ping to the general m/l. > > Is there a SAN expert out there who could spare some time to have a > look at this forum post, please? > > URL -- > http://www.centos.org/modules/newbb/viewtopic.php?topic_id=20273&forum=39 Doing sto

Re: [CentOS] Possible SAN Issue

2009-05-14 Thread Jim Perrin
On Thu, May 14, 2009 at 6:48 AM, Alan Bartlett wrote: > Just a quick ping to the general m/l. > > Is there a SAN expert out there who could spare some time to have a > look at this forum post, please? > > URL -- > http://www.centos.org/modules/newbb/viewtopic.php?topic_id=20273&forum=39 If you u

Re: [CentOS] Possible SAN Issue

2009-05-14 Thread Karanbir Singh
Jim Perrin wrote: > This is where LVM shines, because you can simply add another lun, add > it to your lvm setup, and expand the filesystem on the fly. Just hope that $guru didnt use fdisk to setup things, when you need to grow the LUN a bit. - KB ___

[CentOS] Dual-booting CentOS and WinXP

2009-05-14 Thread Sorin Srbu
Hi all, You know how I asked about procedures to build a dual-boot system with CentOS and WinXP a while ago? Well, I I've begun with a test machine. What I had from start was a working CentOS 5.3 32b system. What I did was to just add another empty drive configured as slave and then boot from the

Re: [CentOS] Postfix: user unknown

2009-05-14 Thread nate
Manuel Monteiro wrote: > > > Dear all, > > > > I have a mail server based on a CentOS 5.3 machine with postfix. > > > > Most of our users are on LDAP (on localhost) but we also have some local > users and we are using PAM for authentication. Are you running nscd on the server? That should smooth

Re: [CentOS] Possible SAN Issue

2009-05-14 Thread nate
Jim Perrin wrote: > This is where LVM shines, because you can simply add another lun, add > it to your lvm setup, and expand the filesystem on the fly. Also the OP should look into thin provisioning software that may be available for his EMC array. In some situations this can eliminate the need f

[CentOS] Kickstart hang trying to install CentOS 5.3

2009-05-14 Thread Alfred von Campe
I've been using kickstart successfully with a local mirror going back to CentOS 4.X. I'm trying to install CentOS 5.3 via kickstart on a new system (which happens to be different than most other systems I've installed on), and the install process always hangs shortly after the partitions a

Re: [CentOS] Dual-booting CentOS and WinXP

2009-05-14 Thread Ned Slider
Sorin Srbu wrote: > Hi all, > > You know how I asked about procedures to build a dual-boot system with > CentOS and WinXP a while ago? Well, I I've begun with a test machine. > > What I had from start was a working CentOS 5.3 32b system. What I did was to > just add another empty drive configured

[CentOS] Dealing with brute force attacks

2009-05-14 Thread James B. Byrne
Over the weekend one of our servers at a remote location was hammered by an IP originating in mainland China. This attack was only noteworthy in that it attempted to connect to our pop3 service. We have long had an IP throttle on ssh connections to discourage this sort of thing. But I had not co

Re: [CentOS] Dual-booting CentOS and WinXP

2009-05-14 Thread Robert Heller
At Thu, 14 May 2009 15:41:02 +0100 CentOS mailing list wrote: > > Sorin Srbu wrote: > > Hi all, > > > > You know how I asked about procedures to build a dual-boot system with > > CentOS and WinXP a while ago? Well, I I've begun with a test machine. > > > > What I had from start was a working

Re: [CentOS] Dealing with brute force attacks

2009-05-14 Thread Chris Boyd
On May 14, 2009, at 9:46 AM, James B. Byrne wrote: > 2. Moving pass the obvious and unhelpful "everything", what services > are particularly vulnerable to these types of attacks? Does a list > exist anywhere? If it's reachable over the 'net, it will eventually get pounded. POP, IMAP, SMTP Auth

Re: [CentOS] Kickstart hang trying to install CentOS 5.3

2009-05-14 Thread nate
Alfred von Campe wrote: > I've been using kickstart successfully with a local mirror going back > to CentOS 4.X. I'm trying to install CentOS 5.3 via kickstart on a > new system (which happens to be different than most other systems > I've installed on), and the install process always hangs shortl

Re: [CentOS] Postfix: user unknown

2009-05-14 Thread Manuel Monteiro
>> Dear all, >> >> I have a mail server based on a CentOS 5.3 machine with postfix. >> >> >> Most of our users are on LDAP (on localhost) but we also have some local >> users and we are using PAM for authentication. > >Are you running nscd on the server? That should smooth out LDAP >blips, though

[CentOS] Problem booting 2.6.30-rc5 kernel

2009-05-14 Thread Jeff Layton
Good morning! I know I'm on the bleeding edge, but I'm having trouble getting the 2.6.30-rc5 kernel to boot on my CentOS 5.3 box. It's a dual-socket Nehalem box with the Tylersburg chipset (Supermicro board). I installed CentOS 5.3 on it with no problems - boots and runs fine. But I wanted to take

Re: [CentOS] Network Install Procedure Question

2009-05-14 Thread Kaplan, Andrew H.
Hi there -- That was it...thanks for the help. The netinstall worked without problems. -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Tim Shubitz Sent: Wednesday, May 13, 2009 5:00 PM To: CentOS mailing list Subject: Re: [CentOS] Netwo

Re: [CentOS] Kickstart hang trying to install CentOS 5.3

2009-05-14 Thread Alfred von Campe
> How long does it hang? CentOS 5.x takes much longer to get to the > point where it is installing packages than 4.x, probably a good 3-4 > minutes more, perhaps longer if your mirror is over a WAN connection, > my mirror is on the local LAN and it does take a long time as well > though it always h

[CentOS] Preventing hour-long fsck on ext3-filesystem

2009-05-14 Thread Bernhard Gschaider
Hi! I'm justing in the process of setting up a new fileserver for our company. I'm installing CentOS 5.3 (64 bit) on it. One of the "problems" with it is that it has a 3.5TB filesystem for the user data which I formatted during setup as an ext3. Now my experience with our current fileserver is t

Re: [CentOS] Dealing with brute force attacks

2009-05-14 Thread Bill Campbell
On Thu, May 14, 2009, James B. Byrne wrote: >Over the weekend one of our servers at a remote location was >hammered by an IP originating in mainland China. This attack was >only noteworthy in that it attempted to connect to our pop3 service. You might look at fail2ban which can automatically crea

Re: [CentOS] Preventing hour-long fsck on ext3-filesystem

2009-05-14 Thread Ray Van Dolson
On Thu, May 14, 2009 at 05:44:11PM +0200, Bernhard Gschaider wrote: > > Hi! > > I'm justing in the process of setting up a new fileserver for our > company. I'm installing CentOS 5.3 (64 bit) on it. > > One of the "problems" with it is that it has a 3.5TB filesystem for > the user data which I f

Re: [CentOS] Preventing hour-long fsck on ext3-filesystem

2009-05-14 Thread Peter Lemenkov
2009/5/14 Bernhard Gschaider : > One of the "problems" with it is that it has a 3.5TB filesystem for > the user data which I formatted during setup as an ext3. Yes, using ext3 is a real pain especially on such large partitions. I advice you to switch to XFS. -- With best regards! __

Re: [CentOS] Preventing hour-long fsck on ext3-filesystem

2009-05-14 Thread Toby Bluhm
Bernhard Gschaider wrote: > Hi! > > I'm justing in the process of setting up a new fileserver for our > company. I'm installing CentOS 5.3 (64 bit) on it. > > One of the "problems" with it is that it has a 3.5TB filesystem for > the user data which I formatted during setup as an ext3. Now my > ex

Re: [CentOS] Preventing hour-long fsck on ext3-filesystem

2009-05-14 Thread Bernhard Gschaider
Thank you all for your quick answers (you guys must have started typing BEFORE I hit the Send-button). The general consensus seems to be "If you can start anew: use XFS". This leaves one question: as the XFS is not included in the standard-kernel which option offers the "smoothest sailing" (espec

Re: [CentOS] Preventing hour-long fsck on ext3-filesystem

2009-05-14 Thread Filipe Brandenburger
Hi, On Thu, May 14, 2009 at 12:23, Bernhard Gschaider wrote: > which option offers the "smoothest sailing" > (especially during kernel-updates): > >  - kernel from centosplus >  - kmod-xfs from centosplus >  - kmod-xfs from extras Use kmod-xfs from extras (it should be already enabled in your yu

Re: [CentOS] Dealing with brute force attacks

2009-05-14 Thread Rudi Ahlers
On Thu, May 14, 2009 at 5:48 PM, Bill Campbell wrote: > On Thu, May 14, 2009, James B. Byrne wrote: > >Over the weekend one of our servers at a remote location was > >hammered by an IP originating in mainland China. This attack was > >only noteworthy in that it attempted to connect to our pop3 s

Re: [CentOS] Preventing hour-long fsck on ext3-filesystem

2009-05-14 Thread Akemi Yagi
On Thu, May 14, 2009 at 9:30 AM, Filipe Brandenburger wrote: > Use kmod-xfs from extras (it should be already enabled in your yum > config) unless you already need the centosplus kernel for another > reason. > > See here: > http://wiki.centos.org/AdditionalResources/Repositories/CentOSPlus#line-7

Re: [CentOS] Dealing with brute force attacks

2009-05-14 Thread David G . Miller
James B. Byrne writes: > > Over the weekend one of our servers at a remote location was > hammered by an IP originating in mainland China. This attack was > only noteworthy in that it attempted to connect to our pop3 service. > > We have long had an IP throttle on ssh connections to discourage

[CentOS] Printing graphics on CentOS 5.3

2009-05-14 Thread MHR
I am absolutely thrilled and delighted to report that the problem I have been having on CentOS since I first started using it, back in 4.4, of having all images (graphics) print out from the image viewer as all-black pages appears to be gone! I just printed 13 graphics from the image viewer direct

Re: [CentOS] Dealing with brute force attacks

2009-05-14 Thread Lanny Marcus
On Thu, May 14, 2009 at 9:46 AM, James B. Byrne wrote: > Over the weekend one of our servers at a remote location was > hammered by an IP originating in mainland China.  This attack was > only noteworthy in that it attempted to connect to our pop3 service. About 6 years ago, the POP3 port on one

Re: [CentOS] Dealing with brute force attacks

2009-05-14 Thread James B. Byrne
On: Thu, 14 May 2009 08:48:36 -0700, Bill Campbell wrote: > > You might look at fail2ban which can automatically create > iptables blocks when things like this happen. > I went to the source forge website, but the rh rpm is inaccessible. I really do not wish to join yet another mailing list simp

Re: [CentOS] Dealing with brute force attacks

2009-05-14 Thread Rudi Ahlers
On Thu, May 14, 2009 at 8:46 PM, James B. Byrne wrote: > > > I went to the source forge website, but the rh rpm is inaccessible. > I really do not wish to join yet another mailing list simply to > report this so if anyone here is a member there as well please let > them know. > > Regards, > > -- >

Re: [CentOS] Dealing with brute force attacks

2009-05-14 Thread nate
James B. Byrne wrote: > I went to the source forge website, but the rh rpm is inaccessible. > I really do not wish to join yet another mailing list simply to > report this so if anyone here is a member there as well please let > them know. looks like they already know.. http://www.fail2ban.org/w

Re: [CentOS] Preventing hour-long fsck on ext3-filesystem

2009-05-14 Thread Bart Schaefer
On Thu, May 14, 2009 at 8:44 AM, Bernhard Gschaider wrote: > > One of the "problems" with it is that it has a 3.5TB filesystem for > the user data which I formatted during setup as an ext3. An option I haven't seen suggested yet is to split this into several filesystems that can be fsck'd in para

Re: [CentOS] Dealing with brute force attacks

2009-05-14 Thread Scott Silva
on 5-14-2009 11:46 AM James B. Byrne spake the following: > On: Thu, 14 May 2009 08:48:36 -0700, Bill Campbell > wrote: >> You might look at fail2ban which can automatically create >> iptables blocks when things like this happen. >> > > I went to the source forge website, but the rh rpm is inacce

Re: [CentOS] Preventing hour-long fsck on ext3-filesystem

2009-05-14 Thread Pasi Kärkkäinen
On Thu, May 14, 2009 at 06:23:05PM +0200, Bernhard Gschaider wrote: > > Thank you all for your quick answers (you guys must have started > typing BEFORE I hit the Send-button). > > The general consensus seems to be "If you can start anew: use > XFS". This leaves one question: as the XFS is not in

Re: [CentOS] Preventing hour-long fsck on ext3-filesystem

2009-05-14 Thread Scott Silva
on 5-14-2009 1:24 PM Pasi � spake the following: > On Thu, May 14, 2009 at 06:23:05PM +0200, Bernhard Gschaider wrote: >> Thank you all for your quick answers (you guys must have started >> typing BEFORE I hit the Send-button). >> >> The general consensus seems to be "If you can start anew: use >>

Re: [CentOS] Preventing hour-long fsck on ext3-filesystem

2009-05-14 Thread Joshua Baker-LePain
On Thu, May 14, 2009 at 2:03 PM, Scott Silva wrote: > on 5-14-2009 1:24 PM Pasi � spake the following: >> >> It seems XFS might be added as a default to RHEL 5.4.. >> > Probably not a default, but an option. I wonder which high-end customer *finally* drove them to do this (if, indeed, they are go

Re: [CentOS] Preventing hour-long fsck on ext3-filesystem

2009-05-14 Thread Rainer Duffner
Am 14.05.2009 um 21:25 schrieb Bart Schaefer: > On Thu, May 14, 2009 at 8:44 AM, Bernhard Gschaider > wrote: >> >> One of the "problems" with it is that it has a 3.5TB filesystem for >> the user data which I formatted during setup as an ext3. > > An option I haven't seen suggested yet For a r

Re: [CentOS] Preventing hour-long fsck on ext3-filesystem

2009-05-14 Thread Les Mikesell
Scott Silva wrote: > on 5-14-2009 1:24 PM Pasi � spake the following: >> On Thu, May 14, 2009 at 06:23:05PM +0200, Bernhard Gschaider wrote: >>> Thank you all for your quick answers (you guys must have started >>> typing BEFORE I hit the Send-button). >>> >>> The general consensus seems to be "If y

Re: [CentOS] Preventing hour-long fsck on ext3-filesystem

2009-05-14 Thread Scott Silva
on 5-14-2009 2:21 PM Les Mikesell spake the following: > Scott Silva wrote: >> on 5-14-2009 1:24 PM Pasi � spake the following: >>> On Thu, May 14, 2009 at 06:23:05PM +0200, Bernhard Gschaider wrote: Thank you all for your quick answers (you guys must have started typing BEFORE I hit the

Re: [CentOS] Preventing hour-long fsck on ext3-filesystem

2009-05-14 Thread Tru Huynh
On Thu, May 14, 2009 at 10:10:58AM -0700, Akemi Yagi wrote: > If you are running CentOS-4, the last 2 kernels do not (yet) have > corresponding kmod-xfs. You need to wait for CentOS devs to build > those kmods or to supply a kernel version independent kmod. I have just pushed the latest .22 kerne

Re: [CentOS] Preventing hour-long fsck on ext3-filesystem

2009-05-14 Thread Filipe Brandenburger
On Thu, May 14, 2009 at 17:21, Les Mikesell wrote: > Is this a reasonable choice on a 32 bit machine?  I thought 4k stacks > were a problem. Oh yeah, I failed to mention in my previous e-mail that all the machines I have running XFS are using x86_64 versions of CentOS. I don't know if the 4k sta

Re: [CentOS] Shell Script Pointers?

2009-05-14 Thread Spiro Harvey
On Thu, 14 May 2009 12:35:13 +0100 James Bensley wrote: > Update: these lines should be: > + $X that should be lower case. My guess is that because your variables all equal zero, it's possible that something is wrong with: find /usr/local/squidGuard/db -maxdepth 1 -type d | while read FOLDER;

Re: [CentOS] Shell Script Pointers?

2009-05-14 Thread Stephen Harris
On Fri, May 15, 2009 at 10:17:21AM +1200, Spiro Harvey wrote: > My guess is that because your variables all equal zero, it's possible > that something is wrong with: > > find /usr/local/squidGuard/db -maxdepth 1 -type d | while read FOLDER; More likely he's using a shell that runs the "while" lo

Re: [CentOS] Printing graphics on CentOS 5.3

2009-05-14 Thread fred smith
On Thu, May 14, 2009 at 10:51:20AM -0700, MHR wrote: > I am absolutely thrilled and delighted to report that the problem I > have been having on CentOS since I first started using it, back in > 4.4, of having all images (graphics) print out from the image viewer > as all-black pages appears to be g

Re: [CentOS] Dealing with brute force attacks

2009-05-14 Thread Robert Heller
At Thu, 14 May 2009 13:00:09 -0700 CentOS mailing list wrote: > > > > on 5-14-2009 11:46 AM James B. Byrne spake the following: > > On: Thu, 14 May 2009 08:48:36 -0700, Bill Campbell > > wrote: > >> You might look at fail2ban which can automatically create > >> iptables blocks when things li

Re: [CentOS] Kickstart hang trying to install CentOS 5.3

2009-05-14 Thread nate
Alfred von Campe wrote: > I waited overnight and it was still hung in the morning. My local > mirror is on the LAN, so it's not a network issue. hmm, is your package selection particularly complex? In my case I list hundreds of packages in my %packages section I don't have groups and stuff. I as

Re: [CentOS] Dual-booting CentOS and WinXP

2009-05-14 Thread Sorin Srbu
>-Original Message- >From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf >Of Robert Heller >Sent: Thursday, May 14, 2009 5:03 PM >To: CentOS mailing list >Cc: CentOS mailing list >Subject: Re: [CentOS] Dual-booting CentOS and WinXP > >> > The most curious thing happ