Re: [CentOS] Apache warns Web server admins of DoS attack tool

2011-08-31 Thread Tom Lanyon
On 31/08/2011, at 11:07 PM, Karanbir Singh wrote:
 On 08/31/2011 10:56 AM, Timo Schoeler wrote:
 Just released:
 https://www.apache.org/dist/httpd/Announcement2.2.html
 
 thanks. I guess we should wait on a fix from upstream, make sure its 
 tested etc. If there is interest in doing a local fix/build for c4/5/6 
 testing repo's, please submit a patch and I can push it through the 
 buildsys. For the main distro, lets wait on the upstream fix.

For EL 4, 5, 6:

https://rhn.redhat.com/errata/RHSA-2011-1245.html

Tom

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


Re: [CentOS] CentOS failover cluster

2009-01-20 Thread Tom Lanyon
On 17/01/2009, at 9:46 AM, John R Pierce wrote:

 Giuseppe Fuggiano wrote:
 What should I use to configure a failover cluster under CentOS?  Is
 there Red Hat Cluster Suite or something like that?

 Thank you in advance.


 in general, 'heartbeat'. RHCS (Red Hat Cluster Service) is some
 wrappers around heartbeat, and rather a finicky control panel for it  
 all.

It's RedHat Cluster Suite, not Service, and it's not wrappers around  
heartbeat.

In answer to Guiseppe's question, the RedHat Cluster Suite is  
available as part of CentOS and works great. Whether RHCS will help  
you or not, I cannot say due the fairly vague description of your  
requirements.

http://www.centos.org/docs/5/html/5.2/Cluster_Suite_Overview/
http://www.centos.org/docs/5/html/5.2/Cluster_Administration/

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


Re: [CentOS] Re: slow Perl on CentOS 5

2008-09-18 Thread Tom Lanyon

On 27/08/2008, at 6:57 AM, Stephen John Smoogen wrote:

On Tue, Aug 26, 2008 at 3:11 PM, Scott Silva [EMAIL PROTECTED]  
wrote:

on 8-26-2008 2:08 PM Karanbir Singh spake the following:


Akemi Yagi wrote:


On Mon, Aug 25, 2008 at 1:30 PM, Florin Andrei [EMAIL PROTECTED] 


wrote:


If your Perl apps are unusually slow on CentOS 5, have a look at  
this

blog:

http://blog.vipul.net/2008/08/24/redhat-perl-what-a-tragedy/


Summary: The Upstream Vendor version of Perl has a patch to the
bless[] function that makes it /extremely/ slow.


Reliable info heard on the grapevine indicates 5.3 would have the  
fix's

required.


So that means about 6 months away from a fix?



Unless upstream bundles a hotfix that is available for people...



Such a hotfix was released in the last couple of days. A big moment  
for RHEL/CentOS + Perl users. :)

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


[CentOS] Yum corrupting RPMs

2008-08-24 Thread Tom Lanyon

Hi list,

Trying to upgrade someone's workstation here to 5.2 (was installed  
from a 5.0 DVD I think).


The RPMs on our internal mirror are in-tact and pass a 'rpm -- 
checksig' test, yet when I run a 'yum upgrade' a large portion of them  
are corrupted and fail the GPG check.


This seems to be isolated to yum, as downloading the RPM directly via  
FTP with wget or lftpget provides an RPM that *does* pass the GPG check.


I have upgraded key packages to the latest version (eg. yum upgrade  
'yum*') and tried again to no avail.


Anyone seen this before?

Thanks,
Tom

--
Tom Lanyon
Systems Administrator
NetSpot Pty Ltd

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


Re: [CentOS] Yum corrupting RPMs

2008-08-24 Thread Tom Lanyon

On 25/08/2008, at 11:37 AM, Ray Van Dolson wrote:


How are you sync'ing the RPM's on your internal mirror?  Do you run
createrepo locally to generate the metadata yourself or just rely on
the mirror's information?


We just sync 1:1 and rely on the mirror's metadata. As far as I know,  
there should be no issue with this... or am I missing something?


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


Re: [CentOS] Yum corrupting RPMs

2008-08-24 Thread Tom Lanyon

On 25/08/2008, at 10:54 AM, Tom Lanyon wrote:


Hi list,

Trying to upgrade someone's workstation here to 5.2 (was installed  
from a 5.0 DVD I think).


The RPMs on our internal mirror are in-tact and pass a 'rpm -- 
checksig' test, yet when I run a 'yum upgrade' a large portion of  
them are corrupted and fail the GPG check.


This seems to be isolated to yum, as downloading the RPM directly  
via FTP with wget or lftpget provides an RPM that *does* pass the  
GPG check.


I have upgraded key packages to the latest version (eg. yum upgrade  
'yum*') and tried again to no avail.


Anyone seen this before?

Thanks,
Tom


There's no proxy server in between these machines; nothing seems to  
corrupt the download when downloading manually via FTP.


Also, yum seems to use the python URLGrabber module to download its  
RPMs. I just wrote a quick python test script to download some  
problematic RPMs using the URLGrabber module and they also passed the  
RPM GPG check!


Yum is doing something crazy internally with the RPMs its downloading  
into memory, I think.

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


Re: [CentOS] Yum corrupting RPMs

2008-08-24 Thread Tom Lanyon

On 25/08/2008, at 12:17 PM, Ray Van Dolson wrote:


What's the exact error you get from yum?  One thing you can do is to
check the output of sha1sum against the RPM in the Yum cache on the
client machine and compare that against the checksum value stored in
the primary.xml.gz file for one of the bad packages.

Ray



Ray,

Thanks, I was just checking the SHA sums using sha1sum and yum's  
misc.checksum() and I couldn't get either to match what's in the  
primary.xml.gz metadata.


Further investigation seems to indicate the upstream mirror we're  
syncing from is corrupt. Whoops, who looks silly now. :)


Thanks all,
Tom
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Spacewalk from Redhat

2008-07-01 Thread Tom Lanyon

On 01/07/2008, at 5:23 PM, Amos Shapira wrote:


Blahh 9, 10, whatever - it's not free.
I'd sort of expect it to work with PostgresQL/MySQL.

Weird choice, as the guy who works for me put it.

Thanks for the clarification.

--Amos



It has (only just) spawned from a non-open, non-free system (RHN  
satellite) so it was easy to only use one database, so why wouldn't  
they use Oracle?


They plan to make it work with Pg, MySQL, etc.

Oracle XE is free and will work with Spacewalk but there's a few bugs  
which exist in this environment.

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


Re: [CentOS] Spacewalk from Redhat

2008-06-30 Thread Tom Lanyon

On 01/07/2008, at 2:19 PM, Amos Shapira wrote:


2008/6/30 Bazy [EMAIL PROTECTED]:

Hello,

Is anyone using Spacewalk (http://www.redhat.com/spacewalk/) on  
CentOS 5 or 4? What kind of hardware are you useing it on?


Do I read it right that it requires Oracle 9??
(http://tinyurl.com/6rff8l) or am I missing something?


9 or 10, I believe.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] dm-multipath use

2008-06-25 Thread Tom Lanyon


On 26/06/2008, at 3:57 AM, Finnur Örn Guðmundsson wrote:

Hi,

I'm running ~45 machines that boot from SAN/or are connected to our  
SAN

fabrics on CentOS 4.x/5.x (And about 20 more running RHEL5) without
problems at all. The storage is IBM SVC (2145).

Just make sure multipathd is running on your system, otherwise it  
will not

recover paths correctly.

Thanks,
Finnur


Same here on a similar number of systems connected to two SANs. active- 
active over FC, four-paths running multibus, all works fine.___

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


Re: [CentOS] problem with telnet

2008-06-24 Thread Tom Lanyon

On 24/06/2008, at 3:28 PM, fabian dacunha wrote:



Dear All

i have  a centos 5 server running as a backup PC server and is working
perfect for abt 3 months

jus a couple of days back when i tried to telnet to the server it  
gave me

connection refused



What on earth are you using telnet for?

Unless you have a very good reason, use SSH.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] is it possible to login to a switch via RS232 / serial port from the shell? - SOLVED

2008-06-23 Thread Tom Lanyon

On 23/06/2008, at 7:56 PM, Rudi Ahlers wrote:
Anyway, it's working now. I had to change the Xen config in /boot/ 
grub/menu and tell Xen not to use ttyS0 as a serial console for  
itself.

http://wiki.xensource.com/xenwiki/InstallationNotes#head-b915c65538e3d0cb29da04e05cb278e44624a522



Good to hear it's working.

FYI, for future reference since not many people seem to know this,  
simple GNU 'screen' is also a terminal emulator and is *much* more  
simple than minicom, kermit, etc.


$ yum install screen
$ screen /dev/ttyS0

'man screen' for more info.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 5.2 and Xen

2008-06-23 Thread Tom Lanyon

On 18/06/2008, at 11:00 PM, Ruslan Sivak wrote:

From what I understand, they limit you to 4GB for DomU, you still  
have another 4GB available for Dom0, that you can use to run other  
apps, including possibly QEMU, or some other virtualization products.


Russ



I haven't been following the thread, but has the discussion been about  
memory limits of Xen?


Am I going to face any issues wanting to run some CentOS 5.x x86_64  
boxes with 16 or 32 GB memory as Xen hosts with up to 10 or 12 GB  
memory CentOS 5.x x86_64 domUs ?


Furthermore, am I going to encounter issues running CentOS 5.x i386  
boxes with 8 GB memory trying to run CentOS 4.x i386 domUs with 3.5 or  
4GB memory?



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


Re: [CentOS] Centos 5.2 and Xen

2008-06-23 Thread Tom Lanyon

On 24/06/2008, at 9:08 AM, Luke S Crawford wrote:
We were discussing memory limits of the free (as in beer) closed  
source
citrix xensource product-  limits are added to the free product in  
order

to encourage people to upgrade to the more expensive products.

These limits don't exist in the open-source xen product, which is what
the centos/Xen stuff is based on.

http://tx.downloads.xensource.com/downloads/docs/user/#SECTION0113

I've personally run CentOS x86_64 5.1 boxes with north of 16G ram-
there is nothing I am aware of that would stop you from putting as  
much

ram as you want in a particular DomU.

You will be needing PAE, but that is default for CentOS i386/xen, so  
it

should Just Work.  make sure you install the libc6-xen package (should
be installed as a dependency.)  The usual PAE limits apply.

I'm typing this message in emacs running on a DomU hosted on an i386/ 
PAE box

with 6G ram running CentOS5.1/xen.



Hi Luke,

Thanks for the confirmation; this is what I had understood but some of  
the prior discussion scared me. :)


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


Re: [CentOS] Kickstart syntax for CentOS upgrade

2008-04-28 Thread Tom Lanyon

On 29/04/2008, at 6:27 AM, Alfred von Campe wrote:

But when I try to install CentOS 5.1 via kickstart, anaconda  
complains that You have not defined a root partition (/), which is  
required for installation of CentOS to continue.  Has anyone  
successfully installed CentOS 5.X via kickstart and preserved at  
least one partition on a logical volume, and if so, could you please  
share your kickstart file?


Alfred,

This worked fine for me on a 4.6 kickstart I did recently. I can't  
remember whether I tried it on 5.x or not, sorry.


bootloader --location=mbr --driveorder=sda
part /boot --onpart=sda1 --fstype=ext3
part swap --onpart=sda2 --fstype=swap
volgroup vg --useexisting
logvol / --useexisting --name=root --vgname=vg --fstype=ext3

Because the volgroup already exists you don't need to define a PV for  
it.


Hope this helps, although it doesn't look much different to your config!

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


[CentOS] Xen, GFS, GNBD and DRBD?

2008-01-02 Thread Tom Lanyon

Hi all,

We're looking at deploying a small Xen cluster to run some of our  
smaller applications. I'm curious to get the lists opinions and advice  
on what's needed.


The plan at the moment is to have two or three servers running as the  
Xen dom0 hosts and two servers running as storage servers. As we're  
trying to do this on a small scale, there is no means to hook the  
system into our SAN, so the storage servers do not have a shared  
storage subsystem.


Is it possible to run DRBD on the two storage servers and then export  
the block devices over the network to the xen hosts? Ideally the goal  
is to have the effect of shared storage on the xen hosts so that  
domains can be migrated between them in case one server needs to go  
offline. Do I run GFS on top of the DRBD mirrored device, exported via  
GNBD to the xen hosts; or the other way around, using GNBD to export  
the DRBD mirrored device and then GFS running on the xen hosts?


Is this possible; is there an easier/simpler/better way to do it?

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


Re: [CentOS] Xen, GFS, GNBD and DRBD?

2008-01-02 Thread Tom Lanyon

On 03/01/2008, at 9:55 AM, Ross S. W. Walker wrote:



Take a look at iSCSI for the storage servers. iSCSI Enterprise  
Target is what I use here and it works well for us.


You don't really need shared filesystems if you are doing direct  
block io to LVs or raw partitions as the Xen migration will handle  
the hand-off, but you will if you are using flat files, because of  
this I recommend using LVs or raw partitions as clustered  
filesystems will put a serious overhead on the Xen guest io.


-Ross


Ross,

I can use DRBD to mirror data between the two storage servers and  
iSCSI to export the block devices, but how will iSCSI cope with  
failure of one storage server?


Can I use heartbeat and CRM to failover the host IP and iSCSI target  
to the other storage server?


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


[CentOS] Yum FTP concurrency

2007-12-06 Thread Tom Lanyon

Greetings,

My chosen CentOS mirror has a limit of 5 max FTP connections per IP. A  
simple 'yum update' is hitting this limit and causing the whole update  
procedure to fail.


Are there any settings to limit yum's FTP concurrency?

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


Re: [CentOS] 5.x install - loses display when launching anaconda

2007-12-05 Thread Tom Lanyon


On 06/12/2007, at 8:20 AM, James A. Peltier wrote:


Tom Lanyon wrote:

Hi all,
Trying to install 5.0 or 5.1 (i386 or x86_64) on a new system from  
an install DVD. As soon as the installer launches anaconda, the  
screen shuts off and from this point I'm unable to switch to any  
other tty. This is an Intel core2duo machine on an Intel P35  
chipset motherboard, Geforce 8400GS video card connected to a BenQ  
20 widescreen LCD.
Any ideas what could cause this behaviour or how to debug further  
(obviously I can't see any error messages as my virtual consoles  
are no loner available)?
I think I'll try installing via a serial console when I get home  
and see if I have more success.

Regards,
Tom


Try installing via a text console

type linux text at the boot prompt.


I forgot to mention I tried installing via both graphical and text.  
Also tried a network-based text install. All presented no video output  
whatsoever at the anaconda launch point.

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


Re: [CentOS] 5.x install - loses display when launching anaconda

2007-12-05 Thread Tom Lanyon





could it be bad media?

just a thought


I don't believe so -- I've tried booting from 5.0 CD1, 5.1-netinstall,  
5.0 custom boot iso, 5.0 DVD and 5.0 PXE boot and using DVD, FTP and  
HTTP as installation source with no luck.


I left my serial cable at work (doh) so I can't try that until  
tomorrow, unless anyone else has any ideas?


Tom



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