[CentOS] kmod-drbd-smp (2.6.9-55.0.2.EL) has unknown symbols (kmod-drbd not)

2007-09-10 Thread Akemi Yagi
(Sorry for starting a new thread; I could not find the original
message in my mbox.)

Martin Hamant wrote:
> Johnny Hughes  écrivait:
>> OK ... For the drbd-kmod*.plus kernels, they are now in the CentOSPlus
>> directory / Repository.  If you are using CentOSPlus kernel, you need
>> to also get your module for DRBD (or XFS) from there too.
>>
>> If you are using the Base Kernel (non-Plus one) then you would get
>> your DRBD Modules (or XFS modules) from extras.
>>
>> This should prevent the exclude requirement to get non-Plus kernel
>> modules.
>>
>> SO ... if you need a module for the base kernel, it is in extras ...
>> if you need a module for the centosplus kernel, it is in centosplus.
>
> Sounds great.
>
> The last problem is if "plus" and "extras" repos are both activated: it
> occurs for centosbase/centosplus kernels the same way as for
> kmod-drbd... because last version is determined by the text pattern :(
>
> The centosplus repo should be activated with care...
>
> About updating drbd modules, what is the current behavior when you issue
> a "yum update" ? Is the new kmod-drbd is install automatically (like
> kernels are) ? With the precedent package you'll had to install the new
> one manually if you didn't want to get stuck with a new fresh default
> kernel without any drbd support ^^

A centosplus kernel update (2.6.9-55.0.6) came out. Because the kernel
and kmod-drbd were pushed out at the same time, there was no need to
hold the kernel update until kmod-drbd becomes available.  However,
yum update failed .  Turns out kmod-drbd needed to be excluded from
the extras repo. This was because centosplus is given a lower priority
than extras and yum tried to pull kmod-drbd (for the standard kernel)
from the extra repo.

So, the answer to the situation above (which is the case with my test
machine) is that you need to exclude kmod-drbd from extra and that as
far as kernel and kmod-drbd come out together, installation is done
all automatic.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Saving network configuration

2007-09-10 Thread Mezei Zoltán
Hi,

Is there a tool in centos which can save the actual network
configuration somehow? Preferably to the network-scripts directory. I'd
like to have it configured the Centos-way but it seems a bit puzzling to
set up multiple routing tables...

Zizi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] need help on second Ethernet port (eth1) point to point connect

2007-09-10 Thread Morten Torstensen

Robert Moskowitz wrote:
A large number of NICs are autosensing. They do not need a crossover 


And rx/tx autosensing is part of the gigabit ethernet standard afaik. 
Modern gigabit cards should be able to autosense speed, duplex and 
direction.


--

//Morten Torstensen
//Email: [EMAIL PROTECTED]
//IM: [EMAIL PROTECTED] [EMAIL PROTECTED]

And if it turns out that there is a God, I don't believe that he is evil.
The worst that can be said is that he's an underachiever.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] php 5.2

2007-09-10 Thread Melinda Odom
Hi,

I was asking about php 5.2 because I would like to use this program with
these requirements:
http://www.magentocommerce.com/system-requirements

This ecommerce store is built with the zend framework and requires php 5.2.
Mcrypt is not in the centos mirrors either.

I did manage to get this beta ecommerce store installed on php 5.1.6-12 by
removing the mycript line in the install xml file and also changing the
initial install page code to not be less than 5.1 I wouldn't think this
would be good to do for a production program.

I would prefer to stay with the centos mirror as this is what I have setup.

Hopefully centos will have php 5.2 in the future.

Thanks!

Sincerely,
Melinda Odom
Design Hosting, Inc.
www.designhosting.biz
479-471-0891


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.485 / Virus Database: 269.13.12/997 - Release Date: 9/9/2007
10:17 AM

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] downloading an src.rpm?

2007-09-10 Thread Dave

Hello,
   I've got the rpmforge repo configured as a 3rd party repo. There's an 
rpm that i'd like to get the coresponding src.rpm, install it, and recompile 
it. How would i do this with yum?

Thanks.
Dave.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] php 5.2

2007-09-10 Thread Alexander Dalloz
Melinda Odom schrieb:
> Hi,
> 
> I was asking about php 5.2 because I would like to use this program with
> these requirements:
> http://www.magentocommerce.com/system-requirements
> 
> This ecommerce store is built with the zend framework and requires php 5.2.
> Mcrypt is not in the centos mirrors either.

http://wftp.tu-chemnitz.de/pub/linux/centos/5/extras/x86_64/RPMS/php-mcrypt-5.1.6-12.el5.centos.x86_64.rpm

What's that?

Or are you speaking about CentOS 4.5? Then get it through this path:
http://phprpms.sourceforge.net/mcrypt

> Sincerely,
> Melinda Odom

Alexander
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] downloading an src.rpm?

2007-09-10 Thread Alexander Dalloz
Dave schrieb:
> Hello,
>I've got the rpmforge repo configured as a 3rd party repo. There's an
> rpm that i'd like to get the coresponding src.rpm, install it, and
> recompile it. How would i do this with yum?
> Thanks.
> Dave.

yum install yum-utils (from extras)
yum-downloader 

Alexander
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: KDE-Repos

2007-09-10 Thread Lamar Owen
On Sunday 09 September 2007, Timothy Kesten wrote:
> http://kde-redhat.sourceforge.net/

> There are mentioned yum Repos for REHL.

This repository works fine.  But, be aware that it replaces large portions of 
your system, including system libraries.  It doesn't touch the kernel, which 
is one reason I use it on several desktops.  It gives you a much updated 
userland with the stable kernel base.  But, if you across a bug in one of the 
libraries KDE-Rehat replaces, you will hten need to take it up with the 
KDE-Redhat maintainer and not file it as a bug report in CentOS.
-- 
Lamar Owen
Chief Information Officer
Pisgah Astronomical Research Institute
1 PARI Drive
Rosman, NC  28772
(828)862-5554
www.pari.edu
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 4.5 clamav update error

2007-09-10 Thread Lorenzo

Hi all,
I have a problem updating clamav on my mail server:

Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package clamav
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package clamd
Error: Missing Dependency: rtld(GNU_HASH) is needed by package clamav
Error: Missing Dependency: rtld(GNU_HASH) is needed by package clamd

I'm using rpmforge repo on CentOS 4.5, everything else is up to date.

I guess that there is a conflict with the currently available glibc.i686 
(2.3.4-2.36) and the package providing rtld.


Does anyone knows if there is a fix/workaround for that?

Otherwise is it possible to setup exim to use clamd on a different server via 
tcp/ip?


tia

Regards

-Lorenzo Quatrini
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 4.5 clamav update error

2007-09-10 Thread Ralph Angenendt
Lorenzo wrote:
> Hi all,
> I have a problem updating clamav on my mail server:
>
> Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package clamav
> Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package clamd
> Error: Missing Dependency: rtld(GNU_HASH) is needed by package clamav
> Error: Missing Dependency: rtld(GNU_HASH) is needed by package clamd
>
> I'm using rpmforge repo on CentOS 4.5, everything else is up to date.

You're using the rpmforge repository for CentOS 5 on CentOS 4.5. This
will and cannot work.

Ralph


pgpo5AOMdc7Gk.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 4.5 clamav update error

2007-09-10 Thread Lorenzo

Ralph Angenendt ha scritto:

Lorenzo wrote:

Hi all,
I have a problem updating clamav on my mail server:

Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package clamav
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package clamd
Error: Missing Dependency: rtld(GNU_HASH) is needed by package clamav
Error: Missing Dependency: rtld(GNU_HASH) is needed by package clamd

I'm using rpmforge repo on CentOS 4.5, everything else is up to date.


You're using the rpmforge repository for CentOS 5 on CentOS 4.5. This
will and cannot work.

Ralph

Thank you Ralph, you are right. Today yum wasn't working with the automatic 
mirror (mirrorlist = http://apt.sw.be/redhat/el4/en/mirrors-rpmforge) so I 
changed rpmforge.repo to point to the file with the mirror-list wich was 
borrowed from a centos 5 setup; so the repo mixing...


Thank you again for your help

-Lorenzo
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 4.5 clamav update error

2007-09-10 Thread John Hinton

Ralph Angenendt wrote:

Lorenzo wrote:
  

Hi all,
I have a problem updating clamav on my mail server:

Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package clamav
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package clamd
Error: Missing Dependency: rtld(GNU_HASH) is needed by package clamav
Error: Missing Dependency: rtld(GNU_HASH) is needed by package clamd

I'm using rpmforge repo on CentOS 4.5, everything else is up to date.



You're using the rpmforge repository for CentOS 5 on CentOS 4.5. This
will and cannot work.

Ralph
  
And, if that's not enough, it seems the repository is in overload at the 
moment... I can't get anything right now. You might want to wait a bit 
before trying.


John Hinton

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: KDE-Repos

2007-09-10 Thread Timothy Kesten
Am Montag, 10. September 2007 17:10 schrieb Lamar Owen:
> This repository works fine.  But, be aware that it replaces large portions
> of your system, including system libraries.  It doesn't touch the kernel,
> which is one reason I use it on several desktops.  It gives you a much
> updated userland with the stable kernel base.  But, if you across a bug in
> one of the libraries KDE-Rehat replaces, you will hten need to take it up
> with the KDE-Redhat maintainer and not file it as a bug report in CentOS.

Thank you for your explainations.
I will consider this.

Timothy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Bart Schaefer
On 9/9/07, David Hrbác( <[EMAIL PROTECTED]> wrote:
> Bart Schaefer napsal(a):
> > This is way off-peak time for us (middle of Sunday night PDT) so I
> > suspect looking at this right now is not very useful, but:
>
> Please do report during peak and net issue time.

We're having a spike right now.  Doesn't look much different, though:

# wc -l /proc/net/ip_conntrack
  17141 /proc/net/ip_conntrack
# fgrep -cv UNRE /proc/net/ip_conntrack
1310
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Boot problem with CENTOS 5

2007-09-10 Thread chuck
I had everything up and running.  All of the help thus far was excellent.
Thanks!

I then did the updates that the OS prompted to do and selected reboot now
once they completed.

Now when the server reboots after the bios info I get the following when the
OS starts to initialize:

GRUB

And it hangs there.

How do I clear this? FIx this?

Thanks in advance,

Chuck
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] New RTL8111B Wiki Page

2007-09-10 Thread Kirk Bocek
I've created a new CentOS wiki page for the Realtek RTL8111B and related NICs:

http://wiki.centos.org/HardwareList/RealTekRTL8111b

There's also a driver disk for CentOS 4.5 and 5.0.

Kirk Bocek

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to upgrade WBEL4 to CentOS4?

2007-09-10 Thread Phil Schaffner
On Sat, 2007-09-08 at 01:03 -0400, Eric B. wrote:
> Hi,
> 
> I've got a couple of servers that are running WBEL4 that I would like to 
> upgrade to CentOS4.  I noticed that there is a FAQ which explains how to 
> upgrade WBEL3 to CentOS3, but haven't found anything similar for WBEL4.
> 
> Are the instructions for the WBEL3 upgrade the same for WBEL4?  Should I be 
> doing something else instead?
> 
> Any help would be greatly appreciated.

The RHEL-5 to CentOS-5 advice quoted on
http://wiki.centos.org/HowTos/MigrationGuide
should be applicable:

"All that you should need to do is install centos-release, remove
redhat-release rpms and just yum update the machine, which should bring
in all packages changed by CentOS ( since they will have a slightly
higher E-V-R )." - per KaranbirSingh on centos-list


Phil


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] package manager

2007-09-10 Thread Phil Schaffner
On Sun, 2007-09-09 at 11:49 -0700, Dan Dansereau wrote:
> How do I force the package manager to re-install a package?
> 
>  
> 
> Such as Development - > Development Tools -> G77
> 
>  
> 
> Or the entire Development tools package?
> 
> The G77 Is missing – and when I ask it to install – it states that is
> already installed.

Assuming you have satisfied the concerns 
Ignacio Vazquez-Abrams raised and still want to proceed...

Change to the directory containing the package[s] and do:

rpm -Uvh --force   ... 

Note that this is pretty ugly and should only be necessary if things are
messed up badly, such as when files have been manually removed outside
the package management system, or when failed updates leave the RPM
database corrupted.

Phil




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Boot problem with CENTOS 5

2007-09-10 Thread Phil Schaffner
On Mon, 2007-09-10 at 09:46 -0700, chuck wrote:
> I had everything up and running.  All of the help thus far was
> excellent.  Thanks!
>  
> I then did the updates that the OS prompted to do and selected reboot
> now once they completed.
>  
> Now when the server reboots after the bios info I get the following
> when the OS starts to initialize:
>  
> GRUB
>  
> And it hangs there.
>  
> How do I clear this? FIx this?


These recent posts may help:

http://lists.centos.org/pipermail/centos/2007-August/085955.html
http://lists.centos.org/pipermail/centos/2007-August/085958.html

For more clues from the archives google "grub site:lists.centos.org".

Phil


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Guy Boisvert
Bart Schaefer wrote:
> On 9/9/07, David Hrbác( <[EMAIL PROTECTED]> wrote:
>> how many connections are on the router (/proc/net/ip_conntrack) ?
> 
> This is way off-peak time for us (middle of Sunday night PDT) so I
> suspect looking at this right now is not very useful, but:
> 
> # cat /proc/net/ip_conntrack | wc -l
>   15140
> # cat /proc/net/ip_conntrack | fgrep -v UNREPLIED | wc -l
> 586
> 
>> what's the /proc/sys/net/ipv4/ip_conntrack_max
> 
> # cat /proc/sys/net/ipv4/ip_conntrack_max
> 65536

On top of that, i'd say that a PC, with whatever processor you could
put, is able to service a certain amount of interrupts / second.
Sometimes, you can have also cards / integrated peripherals that are
sharing IRQs and have trouble with it.  So in the case of a PC router,
i'd go into the BIOS setup and disable all the integrated peripheral you
don't use (LPT port, integrated sound card, etc).  Maybe you already did
this, i don't know.

There are some ways to improve performance like what Cisco does: having
line cards doing processing and getting pointers from the main
supervisor card and dealing with traffic locally afterward.  In our PC
case here, this could translate into using at least TCP offloading and
flow control (ethernet level).  Also, consider that not all ethernet
cards are equal and that using 802.1Q (trunking) also change the game.
Good cards have features to deal with all this.

Somebody mentioned pfSense.  I use it and there is an option that can
boost the performance: Using device polling instead of relying on
interrupts generated by cards.  I dunno if CentOS has this kind of
option, the ethernet gurus of this list could provide important
information on that.


Hope this helped.


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Guy Boisvert
Guy Boisvert wrote:
> 
> On top of that, i'd say that a PC, with whatever processor you could
> put, is able to service a certain amount of interrupts / second.

[Snip...]

> Somebody mentioned pfSense.  I use it and there is an option that can
> boost the performance: Using device polling instead of relying on
> interrupts generated by cards.  I dunno if CentOS has this kind of
> option, the ethernet gurus of this list could provide important
> information on that.
> 
> 
> Hope this helped.
> 
> 
> Guy Boisvert, ing.

I don't like replying to myself, but this paper could give you an idea
of what's going on inside Linux:


http://www.ist-scampi.org/events/workshop-2004/deri.pdf


Regards,

Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Bart Schaefer
On 9/10/07, Guy Boisvert <[EMAIL PROTECTED]> wrote:
> On top of that, i'd say that a PC, with whatever processor you could
> put, is able to service a certain amount of interrupts / second.

# cat /proc/interrupts
   CPU0   CPU1
  0:   35564628 1398173774IO-APIC-edge  timer
  1:  3  0IO-APIC-edge  keyboard
  2:  0  0  XT-PIC  cascade
  8:  1  0IO-APIC-edge  rtc
 14:9807057   17139257IO-APIC-edge  ide0
 15:  2  0IO-APIC-edge  ide1
 16:  0  0   IO-APIC-level  usb-uhci
 18:  820860470  0   IO-APIC-level  eth0
 19:  8 2493787389   IO-APIC-level  usb-uhci, eth1
 23:  0  0   IO-APIC-level  ehci-hcd
NMI:  0  0
LOC: 1433915007 1433915017
ERR:  0
MIS:  0
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] is there an apache limit on submit size for centos 4 and 5

2007-09-10 Thread Jerry Geis

Is there a limit to the size of the form that apache will accept?

I have a small import utility (not php - just straight cgi and C program).
It will import smaller files. 350 Meg is the largest I successfully did.
But a 6.5G file it will not do. Seems like the form does even submit.

Is there a config option in apache that doesnt even accept it?
I looked at /var/log/httpd/ error and access and nothing is there.

Any ideas?

Jerry
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Toby Bluhm


http://www.vyatta.com/download/  - runs on plain old PC hardware and 
it's touted as being a Cisco beater.


--
Toby Bluhm
Midwest Instruments Inc.
30825 Aurora Road Suite 100
Solon Ohio 44139
440-424-2250


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to upgrade WBEL4 to CentOS4?

2007-09-10 Thread tdukes

 Phil Schaffner <[EMAIL PROTECTED]> wrote: 
> On Sat, 2007-09-08 at 01:03 -0400, Eric B. wrote:
> > Hi,
> > 
> > I've got a couple of servers that are running WBEL4 that I would like to 
> > upgrade to CentOS4.  I noticed that there is a FAQ which explains how to 
> > upgrade WBEL3 to CentOS3, but haven't found anything similar for WBEL4.
> > 
> > Are the instructions for the WBEL3 upgrade the same for WBEL4?  Should I be 
> > doing something else instead?
> > 
> > Any help would be greatly appreciated.

I did this using those instructions some time back.  Just substitute WBEL3 for 
WBEL4.  The paths for the rpms were different is about the only thing if I 
remember correctly was what I had to change.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Bart Schaefer
On 9/9/07, Barry Brimer <[EMAIL PROTECTED]> wrote:
> Maybe it is time for some kernel networking tuning.

After doing a bit of research:

http://www.acc.umu.se/~maswan/linux-netperf.txt
http://wwwx.cs.unc.edu/~sparkst/howto/network_tuning.php
http://proj.sunet.se/E2E/tcptune.html
http://www.linuxguruz.com/iptables/howto/2.4routing-13.html
http://www-didc.lbl.gov/TCP-tuning/linux.html

I ended up with this:

net.core.rmem_default = 873800
net.core.wmem_default = 655360
net.core.rmem_max = 8738000
net.core.wmem_max = 6553600
net.ipv4.tcp_rmem = 8192 873800 8738000
net.ipv4.tcp_wmem = 4096 655360 6553600
net.ipv4.tcp_mem = 195584 873800 8738000

(The first number in tcp_mem is the original default.)

Plus:

ifconfig eth0 txqueuelen 1000
ifconfig eth1 txqueuelen 1000

Unfortunately so far this doesn't seem to have made any difference.
We've had a load peak going since early this morning and the traffic
looks exactly like it did last week.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Nautilus won't start

2007-09-10 Thread Kenneth Porter
I've been running CentOS 5 since release on a couple of servers with few 
problems. Last night I tried it as a workstation for the first time. It 
booted up fine and I could log into X. I then ran pup to install all 
available updates and shut down afterwards to load the new kernel. (I use 
yum on the servers.) This morning I start up on the new kernel and after 
logging in at the Gnome prompt, I get a message that Nautilus can't start.


I'm not an X guru, being mostly a server driver over ssh. What's the best 
way to debug this?


(I have lots of experience debugging, just not with X.)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Ross S. W. Walker
Bart Schaefer wrote:
> 
> On 9/9/07, Barry Brimer <[EMAIL PROTECTED]> wrote:
> > Maybe it is time for some kernel networking tuning.
> 
> After doing a bit of research:
> 
> http://www.acc.umu.se/~maswan/linux-netperf.txt
> http://wwwx.cs.unc.edu/~sparkst/howto/network_tuning.php
> http://proj.sunet.se/E2E/tcptune.html
> http://www.linuxguruz.com/iptables/howto/2.4routing-13.html
> http://www-didc.lbl.gov/TCP-tuning/linux.html
> 
> I ended up with this:
> 
> net.core.rmem_default = 873800
> net.core.wmem_default = 655360
> net.core.rmem_max = 8738000
> net.core.wmem_max = 6553600
> net.ipv4.tcp_rmem = 8192 873800 8738000
> net.ipv4.tcp_wmem = 4096 655360 6553600
> net.ipv4.tcp_mem = 195584 873800 8738000
> 
> (The first number in tcp_mem is the original default.)
> 
> Plus:
> 
> ifconfig eth0 txqueuelen 1000
> ifconfig eth1 txqueuelen 1000
> 
> Unfortunately so far this doesn't seem to have made any difference.
> We've had a load peak going since early this morning and the traffic
> looks exactly like it did last week.

The only way your going to know for absolute sure where the bottleneck
exists is to do a wireshark/tcpdump trace simultaneously on both sides.

Then with that information you will know where the bottleneck is and
armed with that you can start exploring why there is a bottleneck
there.

Off the top of my head, there could be a IP MTU mismatch somewhere and
with ICMP disabled this would cause a blackhole for some full packet
traffic.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Les Mikesell

Bart Schaefer wrote:


Or are you saying that LAN-to-LAN traffic maxs out at 10Mbps, it is
a little vague.


LAN-to-gateway traffic (e.g., a test FTP of a large file from the
gateway to a machine on one of the LANs) begins to degrade as the
LAN-to-internet traffic increases.  That's not surprising, but it
degrades disproportionately, i.e. when the FTP begins to show
intermittent stalls, the total traffic visible at the router on the
internet side of the gateway is only in the just-over-10Mb/s range.

Once we get to this point, no matter how many more LAN-to-internet
connections become active, the router on the internet side never sees
much over 10Mb/s of traffic.  We're not losing data or having an
unusual number of connection timeouts; each connection just slows
down.  We figured on some slowdown for NAT, but not 80%+.

LAN-to-LAN traffic that doesn't involve the gateway behaves more like
we'd expect, but I'm not sure that eliminates the switch as the
culprit.


How much 'other stuff' is happening on these networks (either side) that 
might be passed by the switches?  It's a long shot but if you've 
assigned multiple IP addresses to the interface, the card is probably 
going into promiscuous mode to accept them all and then there will be 
interrupts and a small amount of CPU work to discard the ones you don't 
need.  It might be worth firing up something like ntop for a while to 
categorize what's really going by - and you might find something like a 
virus trying to make connections as fast as it can.


--
  Les Mikesell
   [EMAIL PROTECTED]

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread gjgowey
Speaking of MTU mismatches, don't forget that if you're using a PPPoE DSL line 
to adjust your MTU.  

Geoff

Sent from my BlackBerry wireless handheld.

-Original Message-
From: "Ross S. W. Walker" <[EMAIL PROTECTED]>

Date: Mon, 10 Sep 2007 16:35:59 
To:"CentOS mailing list" 
Subject: RE: [CentOS] Performance of CentOS as a NAT gateway


Bart Schaefer wrote:
>
> On 9/9/07, Barry Brimer <[EMAIL PROTECTED]> wrote:
> > Maybe it is time for some kernel networking tuning.
>
> After doing a bit of research:
>
> http://www.acc.umu.se/~maswan/linux-netperf.txt
> http://wwwx.cs.unc.edu/~sparkst/howto/network_tuning.php
> http://proj.sunet.se/E2E/tcptune.html
> http://www.linuxguruz.com/iptables/howto/2.4routing-13.html
> http://www-didc.lbl.gov/TCP-tuning/linux.html
>
> I ended up with this:
>
> net.core.rmem_default = 873800
> net.core.wmem_default = 655360
> net.core.rmem_max = 8738000
> net.core.wmem_max = 6553600
> net.ipv4.tcp_rmem = 8192 873800 8738000
> net.ipv4.tcp_wmem = 4096 655360 6553600
> net.ipv4.tcp_mem = 195584 873800 8738000
>
> (The first number in tcp_mem is the original default.)
>
> Plus:
>
> ifconfig eth0 txqueuelen 1000
> ifconfig eth1 txqueuelen 1000
>
> Unfortunately so far this doesn't seem to have made any difference.
> We've had a load peak going since early this morning and the traffic
> looks exactly like it did last week.

The only way your going to know for absolute sure where the bottleneck
exists is to do a wireshark/tcpdump trace simultaneously on both sides.

Then with that information you will know where the bottleneck is and
armed with that you can start exploring why there is a bottleneck
there.

Off the top of my head, there could be a IP MTU mismatch somewhere and
with ICMP disabled this would cause a blackhole for some full packet
traffic.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

___
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] Nautilus won't start

2007-09-10 Thread gjgowey
The first place I would start would be opening an xterm and trying to start 
Nautilus from the prompt.  Look for any weird error messages.

Geoff

Sent from my BlackBerry wireless handheld.

-Original Message-
From: Kenneth Porter <[EMAIL PROTECTED]>

Date: Mon, 10 Sep 2007 13:12:07 
To:CentOS mailing list 
Subject: [CentOS] Nautilus won't start


I've been running CentOS 5 since release on a couple of servers with few
problems. Last night I tried it as a workstation for the first time. It
booted up fine and I could log into X. I then ran pup to install all
available updates and shut down afterwards to load the new kernel. (I use
yum on the servers.) This morning I start up on the new kernel and after
logging in at the Gnome prompt, I get a message that Nautilus can't start.

I'm not an X guru, being mostly a server driver over ssh. What's the best
way to debug this?

(I have lots of experience debugging, just not with X.)
___
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] Nautilus won't start

2007-09-10 Thread Kenneth Porter
--On Monday, September 10, 2007 10:19 PM + [EMAIL PROTECTED] 
wrote:



The first place I would start would be opening an xterm and trying to
start Nautilus from the prompt.  Look for any weird error messages.


I'm now suspecting a hardware issue. After a reboot I got the normal 
desktop. Now yum is mysteriously failing with a missing library.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Bart Schaefer
On 9/10/07, Bart Schaefer <[EMAIL PROTECTED]> wrote:
> On 9/10/07, Guy Boisvert <[EMAIL PROTECTED]> wrote:
> > On top of that, i'd say that a PC, with whatever processor you could
> > put, is able to service a certain amount of interrupts / second.
>
> # cat /proc/interrupts

Ok, so obviously just that snapshot wasn't very useful, sorry.

Several minutes of "vmstat 2" output indicates that the number of
interrupts per second on the NAT gateway ranges between 600 and 1200,
occasionally as low as 540 or as high as 1300.

(Working on getting wireshark in a place where we can monitor both ends.)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread John R Pierce

Bart Schaefer wrote:

On 9/10/07, Bart Schaefer <[EMAIL PROTECTED]> wrote:
  

On 9/10/07, Guy Boisvert <[EMAIL PROTECTED]> wrote:


On top of that, i'd say that a PC, with whatever processor you could
put, is able to service a certain amount of interrupts / second.
  

# cat /proc/interrupts



Ok, so obviously just that snapshot wasn't very useful, sorry.

Several minutes of "vmstat 2" output indicates that the number of
interrupts per second on the NAT gateway ranges between 600 and 1200,
occasionally as low as 540 or as high as 1300.

(Working on getting wireshark in a place where we can monitor both ends.)
  


wireshark can process and display packet capture files from tcpdump -w 
filename, or most any other packet capture utility, as well as capture 
data itself.


capture a few megabytes of packets on the appropriate interface of the 
firewall, then transfer them to a workstation with Wireshark for analysis.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Bart Schaefer
On 9/10/07, John R Pierce <[EMAIL PROTECTED]> wrote:
> wireshark can process and display packet capture files from tcpdump -w
>
> capture a few megabytes of packets on the appropriate interface of the
> firewall, then transfer them to a workstation with Wireshark for analysis.

OK, I've got some output from "tcpdump -w any" but I don't know
precisely what I'm looking for.  (I'd be happy to take this off-list.)
 I notice that just over 1/3 of the packets are TCP out-of-order
segments and about 4% are duplicate ACKs.

We also dumped eth0 and eth1 separately.  Statistics on the "any"
output show 26Mb/s, but eth0 and eth1 independently are only 10Mb/s
each.

By the way, those interrupts/sec numbers in my earlier message were
off; I chose a bad moment to look at it, when the peak had subsided.
At peak it's more like 2500-3000 interrupts/sec, sometimes as high as
3500.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Downgrade samba?

2007-09-10 Thread Jason Pyeron


After reading http://lists.samba.org/archive/samba/2003-November/001828.html
what would the best approach for downgrading samba-3.0.10-1.4E.12.2 to 2.7
on centos4, then later upgrading back to current?

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Sr. Consultant10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited. 


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread gjgowey
How about putting the file contents on pastebin and posting the link?

Geoff
Sent from my BlackBerry wireless handheld.

-Original Message-
From: "Bart Schaefer" <[EMAIL PROTECTED]>

Date: Mon, 10 Sep 2007 18:31:31 
To:"CentOS mailing list" 
Subject: Re: [CentOS] Performance of CentOS as a NAT gateway


On 9/10/07, John R Pierce <[EMAIL PROTECTED]> wrote:
> wireshark can process and display packet capture files from tcpdump -w
>
> capture a few megabytes of packets on the appropriate interface of the
> firewall, then transfer them to a workstation with Wireshark for analysis.

OK, I've got some output from "tcpdump -w any" but I don't know
precisely what I'm looking for.  (I'd be happy to take this off-list.)
 I notice that just over 1/3 of the packets are TCP out-of-order
segments and about 4% are duplicate ACKs.

We also dumped eth0 and eth1 separately.  Statistics on the "any"
output show 26Mb/s, but eth0 and eth1 independently are only 10Mb/s
each.

By the way, those interrupts/sec numbers in my earlier message were
off; I chose a bad moment to look at it, when the peak had subsided.
At peak it's more like 2500-3000 interrupts/sec, sometimes as high as
3500.
___
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] Downgrade samba?

2007-09-10 Thread gjgowey
My thoughts:

Uninstall the current version using yum, grab the source tgz for the version 
for the version you want from samba, and compile it using 
--prefix=/usr/local/mysamba to put all of that ver in that directory.  Then 
when you want to use the latest again delete the mysamba dir and install the 
new ver with yum.

Geoff

Sent from my BlackBerry wireless handheld.

-Original Message-
From: "Jason Pyeron" <[EMAIL PROTECTED]>

Date: Mon, 10 Sep 2007 21:49:42 
To:"'CentOS mailing list'" 
Subject: [CentOS] Downgrade samba?




After reading http://lists.samba.org/archive/samba/2003-November/001828.html
what would the best approach for downgrading samba-3.0.10-1.4E.12.2 to 2.7
on centos4, then later upgrading back to current?

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Sr. Consultant10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited.


___
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] rpm spec files for ruby

2007-09-10 Thread Karanbir Singh

James B. Byrne wrote:

I am trying to package ruby-1.8.6 for CentOS-4.5 and I would like to take
a look at the spec files used for ruby-1.8.1 that ships with CentOS. Is
there any place that I can see these or could someone do me the kindness
of sending them to me?

there is a ruby-1.8.5 in the testing repo, it should be trivial moving that to 
1.8.6. However, I must ask - why you are doing this ?



--
Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Bart Schaefer
On 9/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> How about putting the file contents on pastebin and posting the link?

Unfortunately there's customer data in there that I'm not at liberty
to make public.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Downgrade samba?

2007-09-10 Thread Karanbir Singh

Jason Pyeron wrote:


After reading http://lists.samba.org/archive/samba/2003-November/001828.html
what would the best approach for downgrading samba-3.0.10-1.4E.12.2 to 2.7
on centos4, then later upgrading back to current?

having read that message, i dont think its quite clear as to exactly why the 
newer versions dont work. You might want to spend a bit of time and confirm :)


--
Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread gjgowey
If you feel like learning sed ;) you can use it to filter out that data using 
regexp's and have it create a new file that can be publicly posted.

Geoff

Sent from my BlackBerry wireless handheld.

-Original Message-
From: "Bart Schaefer" <[EMAIL PROTECTED]>

Date: Mon, 10 Sep 2007 19:26:51 
To:"CentOS mailing list" 
Subject: Re: [CentOS] Performance of CentOS as a NAT gateway


On 9/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> How about putting the file contents on pastebin and posting the link?

Unfortunately there's customer data in there that I'm not at liberty
to make public.
___
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] apche vhosts ldap

2007-09-10 Thread Sunet Sysadmin

Hi all,
i am building a web server on centos version 4 running
httpd-2.0.52
mysql

we have a ldap server on the network which has got all the vhost 
details. so  i am trying to pull vhost details from the ldap server 
could not find module vhosts ldap for centos. can some one please point 
me in the right direction any help is much appreciated.


cheers
phani


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread Bart Schaefer
On 9/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> If you feel like learning sed ;)

I suspect I've been scripting sed since you were about 7 years old.
:-)  I don't think even recent GNU sed is going to handle tcpdump
output very well.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Installerror on installation Kaffeine on CentOS 5

2007-09-10 Thread Rex Dieter
Akemi Yagi wrote:

> On 9/9/07, Timothy Kesten <[EMAIL PROTECTED]> wrote:
>> Hi Folks,
>>
>> I've tried to install kaffeine on CentOS 5 but I get following error
>>
>> Transaction Check Error:
>>   file /usr/share/mimelnk/application/x-mplayer2.desktop from install of
>> kaffeine-0.7.1-1.2.el5.rf conflicts with file from package
>> kdelibs-3.5.4-11.el5.centos
>>
>> Any hints to solve this problem?
>>
>> Delete/rename /usr/share/mimelnk/application/x-mplayer2.desktop ?
> 
> Looks like a known bug and a newer version of kaffeine has corrected
> the problem.  Deleting the offending file does not help because it is
> registered in the rpm database.  Fedora Core 6 has kaffeine 0.8.4
> which does not have this problem.  The best method is to get the src
> file and rebuild from there.  In this particular case, the Fedora
> binary seems to install as is (but still not recommended). 

Or I can just build the sucker for EPEL-5.

-- Rex

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Performance of CentOS as a NAT gateway

2007-09-10 Thread gjgowey
Scripting in sed for 20+ years?  Masochist!  :-)

Geoff

Sent from my BlackBerry wireless handheld.

-Original Message-
From: "Bart Schaefer" <[EMAIL PROTECTED]>

Date: Mon, 10 Sep 2007 20:48:21 
To:"CentOS mailing list" 
Subject: Re: [CentOS] Performance of CentOS as a NAT gateway


On 9/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> If you feel like learning sed ;)

I suspect I've been scripting sed since you were about 7 years old.
:-)  I don't think even recent GNU sed is going to handle tcpdump
output very well.
___
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] Re: How to upgrade WBEL4 to CentOS4?

2007-09-10 Thread Scott Silva

Eric B. spake the following on 9/7/2007 10:03 PM:

Hi,

I've got a couple of servers that are running WBEL4 that I would like to 
upgrade to CentOS4.  I noticed that there is a FAQ which explains how to 
upgrade WBEL3 to CentOS3, but haven't found anything similar for WBEL4.


Are the instructions for the WBEL3 upgrade the same for WBEL4?  Should I be 
doing something else instead?


Any help would be greatly appreciated.

Thanks,

Eric

It should be similar. Just try substituting "4" for "3".
You will find many converts from Whitebox here. Whitebox was great, but I 
think John has never had the time to get back into things since Katrina. I 
hear that the infrastructure in Louisiana is still very unstable.


--

MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Boot problem with CENTOS 5

2007-09-10 Thread chuck
Thanks.

What is the best recovery disk out there?


On 9/10/07, Phil Schaffner <[EMAIL PROTECTED]> wrote:
>
> On Mon, 2007-09-10 at 09:46 -0700, chuck wrote:
> > I had everything up and running.  All of the help thus far was
> > excellent.  Thanks!
> >
> > I then did the updates that the OS prompted to do and selected reboot
> > now once they completed.
> >
> > Now when the server reboots after the bios info I get the following
> > when the OS starts to initialize:
> >
> > GRUB
> >
> > And it hangs there.
> >
> > How do I clear this? FIx this?
>
>
> These recent posts may help:
>
> http://lists.centos.org/pipermail/centos/2007-August/085955.html
> http://lists.centos.org/pipermail/centos/2007-August/085958.html
>
> For more clues from the archives google "grub site:lists.centos.org".
>
> Phil
>
>
> ___
> 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] Boot problem with CENTOS 5

2007-09-10 Thread John R Pierce

chuck wrote:

Thanks.
 
What is the best recovery disk out there?


the appropriate CentOS DVD,/CD.  `linux rescue` at grub.




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] apche vhosts ldap

2007-09-10 Thread Indran D Govender
On Tue, 2007-09-11 at 12:58 +1000, Sunet Sysadmin wrote:
> Hi all,
> i am building a web server on centos version 4 running
> httpd-2.0.52
> mysql
> 
> we have a ldap server on the network which has got all the vhost 
> details. so  i am trying to pull vhost details from the ldap server 
> could not find module vhosts ldap for centos. can some one please point 
> me in the right direction any help is much appreciated.
> 
You could have a look at 

http://modldapcfg.bayour.com/

> cheers
> phani
> 
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

To read FirstRand Bank's Disclaimer for this email click on the following 
address or copy into your Internet browser: 
https://www.fnb.co.za/disclaimer.html 

If you are unable to access the Disclaimer, send a blank e-mail to
[EMAIL PROTECTED] and we will send you a copy of the Disclaimer.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos