[CentOS] kernel-2.6.18-53.1.21.el5 centosplus?

2008-05-28 Thread Matthew Kent
Been a week, any eta? :)

Thanks!
-- 
Matthew Kent \ SA \ bravenet.com

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


Re: [CentOS] kernel-2.6.18-53.1.21.el5 centosplus?

2008-05-28 Thread Matthew Kent
On Wed, 2008-05-28 at 13:08 -0500, Johnny Hughes wrote:
 Matthew Kent wrote:
  Been a week, any eta? :)
  
  Thanks!
 
 We are currently using the builders to build centos-5.2 ... I can try to 
   get the that kernel in, but we should very soon thereafter have the 
 5.2 one, so it might be better for you just to wait.
 

Ah of course, sounds great. 

Happy to wait for 5.2.
-- 
Matthew Kent \ SA \ bravenet.com

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


Re: [CentOS] NFS issues

2008-08-13 Thread Matthew Kent
On Tue, 2008-08-12 at 14:27 +0200, Johan Swensson wrote:
 So I'm running nfs to get content to my web servers. Now I've had this
 problem 2 times (about 2 weeks since the last occurrence).
 I use drbd on the nfs server for redundancy. Now to my problem:
 
 All my web sites stopped responding so I started by checking dmesg and
 there I found a bunch of this errors
 Aug 11 16:00:39 web03 kernel: lockd: server 192.168.20.22 not responding, 
 timed out
 Aug 11 16:02:39 web03 kernel: lockd: server 192.168.20.22 not responding, 
 timed out
 
 But when checking the nfs server lockd was running and I could access
 all the files from the webserver with ls, cd etc.

This is the exact problem we were having here. Rebooting is the only
solution.

And as already mentioned further down the thread it was attributed to
this https://bugzilla.redhat.com/show_bug.cgi?id=453094

My solution was to extract the patch from the upstream kernel in 
http://people.redhat.com/dzickus/el5/103.el5/src/
called
linux-2.6-fs-lockd-nlmsvc_lookup_host-called-with-f_sema-held.patch

and reroll the latest centosplus kernel srpm with it. Servers have been
fine for 6 days running this kernel.

As much as I hate carrying custom kernel rpms this is a showstopper for
us, and it looks like it won't make in until 5.3. 

Personally given the limited scope of the patch and apparent
unwillingness of redhat to include it in an update I'd advocate CentOS
carrying it as a custom patch.

Here's my srpm if anyone wants it, 
http://magoazul.com/tmp/kernel-2.6.18-92.1.10.1.el5.centos.plus.src.rpm
the only change is the patch for this issue. Everything builds cleanly
via mock. 
-- 
Matthew Kent \ SA \ bravenet.com

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


Re: [CentOS] CentOS 5.2 kickstart install with latest updates

2008-09-24 Thread Matthew Kent
On Wed, 2008-09-24 at 20:44 +0530, Venkatraju wrote:
 This is exactly the method that I had been using with CentOS 5.1 :-)
 What is the right way to achieve this now? Is adding a repository in
 the %post section of the kickstart file and running yum update safe?
 Anyone run into problems with this?

No issues with it so far in my many kickstart installs. It's actually
nicer since I can use yum-priorities to get exactly what I need
installed.

[Worth noting that priorities have been added to the repo directive in
anaconda in later versions]
-- 
Matthew Kent \ SA \ bravenet.com

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


Re: [CentOS] Request for additional patch in CentOS Plus kernel

2008-10-08 Thread Matthew Kent
On Wed, 2008-10-01 at 11:57 -0500, Johnny Hughes wrote:
 You picked a good day to ask, I am getting ready to build the new plus
 kernel for c5 right now :D

Any luck with this? :)
-- 
Matthew Kent \ SA \ bravenet.com

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


Re: [CentOS] Request for additional patch in CentOS Plus kernel

2008-10-08 Thread Matthew Kent
On Wed, 2008-10-08 at 12:56 -0500, Robert wrote:
 
 Spike Turner wrote:
  Matthew Kent wrote:
 

  Any luck with this? :)
  
 
  Not wanting to sound like a spoil sport but if its critical
  to your server(s) can't you build your own kernel, pretty 
  sure I've seen this discussed on the docs list. I suppose
  the CentOS plus one has to go through QA and regression 
  testing no?
 

Not sure where I said its critical? It's merely a friendly question I
thought might be interesting to the other centosplus users on the list.

  Spike.

 Hey, if he has a critical need, he could simply trek over to 
 http://people.centos.org/hughesjr/kernel/5/plus/2.6.18-92.1.13.el5.centos.plus/
  
 and help Johnny test a build that stands a *much* better chance of 
 working right that a home-made one.

Wasn't aware that existed, thanks!
-- 
Matthew Kent \ SA \ bravenet.com

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


Re: [CentOS] Hwinfo

2008-11-10 Thread Matthew Kent
On Sun, 2008-11-09 at 15:46 +0200, jarmo wrote:
 Has anyone info about package hwinfo for
 Centos, rhel, fedora?
 Nice piece of commandline tools.

Though not as verbose compared to hwinfo's output (on debian here) I've
found lshw (http://dag.wieers.com/rpm/packages/lshw/) very useful.
-- 
Matthew Kent \ SA \ bravenet.com

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


Re: [CentOS] gem ruby-sqlite3 install error

2008-11-12 Thread Matthew Kent
On Wed, 2008-11-12 at 21:44 +, ponto wrote:
 i am tryin' to install ruby-sqlite3 via gem, but it keeps givin' me
 this output:
 
 mathilda ~ # gem install sqlite3-ruby
 Building native extensions. This could take a while...
 ERROR: Error installing sqlite3-ruby:
 ERROR: Failed to build gem native extension.
 
 /usr/bin/ruby extconf.rb install sqlite3-ruby
 checking for fdatasync() in -lrt... no
 checking for sqlite3.h... no
 
 make
 make: *** No rule to make target `ruby.h', needed by
 `sqlite3_api_wrap.o'. Stop.

From the output and the rpms you listed I'm not sure whats missing but
if you can due without it being a gem I successfully recompiled this
version from fedora 8 a while ago for CentOS 5.2:

http://download.fedora.redhat.com/pub/fedora/linux/releases/8/Everything/source/SRPMS/ruby-sqlite3-1.2.1-1.fc8.src.rpm
 

Only BuildRequires I see there which you may want to check for is
'swig'.
-- 
Matthew Kent \ SA \ bravenet.com

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


Re: [CentOS] how to debug hardware lockups?

2008-11-18 Thread Matthew Kent
On Sat, 2008-11-15 at 21:59 +0200, Rudi Ahlers wrote:
 That machine doesn't have a serial port (why do vendors think serial
 ports are obsolete), so is there any other way to send to logs to
 a different machine then?
 

You can send it to another machines syslogd with netconsole. Checkout

initscripts   /etc/rc.d/init.d/netconsole
initscripts   /etc/sysconfig/netconsole

kernel-doc
/usr/share/doc/kernel-doc-2.6.18/Documentation/networking/netconsole.txt

Good luck!
-- 
Matthew Kent \ SA \ bravenet.com

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


Re: [CentOS] how can I stress a server?

2008-11-18 Thread Matthew Kent
On Tue, 2008-11-18 at 11:25 +0200, Rudi Ahlers wrote:
 But, how can I put a LOT of load onto it, and see what's causing the
 problem? For all I know, the motherboard could be faulty, or the CPU,
 or maybe even the SATA bus?

stress! Configured correctly it will abuse a server pretty hard

http://weather.ou.edu/~apw/projects/stress/
http://dag.wieers.com/rpm/packages/stress/

run like

cd /var/tmp
screen -dmS stress
screen -rx stress
stress --cpu 16 --io 8 --vm 12 --vm-bytes 512M --hdd 4 --hdd-bytes 1G --timeout 
86400

Oh and be sure to set a timeout if you run it remotely or you'll lock
yourself out ;)
-- 
Matthew Kent \ SA \ bravenet.com

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


Re: [CentOS] nagios-plugins 1.4.13?

2008-11-19 Thread Matthew Kent
On Tue, 2008-11-18 at 10:09 +, Marcelo M. Garcia wrote:
 Hi
 
 Does anyone knows when nagios-plugins 1.4.13 will be available?
 

EPEL packages them quite nicely

http://fedoraproject.org/wiki/EPEL
-- 
Matthew Kent \ SA \ bravenet.com

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


Re: [CentOS] kickstart install on SAN with multipath

2008-11-19 Thread Matthew Kent
On Fri, 2008-11-14 at 15:06 -0800, nate wrote:
 Using CentOS 5.1, though with a few hours work I could update
 to 5.2.. I can install to SAN with a single path no problem
 but I'd like to be able to use dm-multipath. From the kickstart
 docs it seems this is supported but there is no information
 as to what the various options mean
 
 http://www.centos.org/docs/5/html/5.1/Installation_Guide/s1-kickstart2-options.html
 
 --
  multipath (optional)
 
 multipath --name= --device= --rule=
 --

Ah! I just ran through this exact scenario a week ago. Turns out in
inspecting the anaconda code I couldn't actually find any support for
that directive, it looks to be more of a placeholder, but I'm no python
wizard. 

What is does support though is auto detecting and creating a simple
multipath.conf, good enough configure lvm with during the install.

This setup can be triggered by passing 'mpath' as a kernel parameter
during kickstart.

Only other thing I had to do was add a bit of %post scripting to tweak
multipath.conf and lvm.conf for our particular drive/controller setup.
-- 
Matthew Kent \ SA \ bravenet.com

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


Re: [CentOS] noauto option ignored in CentOS 5.1?

2008-11-19 Thread Matthew Kent
On Wed, 2008-11-19 at 10:48 -0800, nate wrote:
 Matthew Kent wrote:
 
  Hmm.. not sure about older versions of CentOS but for lvm over iscsi in
  5.2 all you should need is
 
  /dev/foo.vg/foo.lv /foo xfs _netdev,noatime,rw 0 0
 
 Any idea if that takes into account multipathing as well?
 

Yeah it does. multipathd is started by default just after iscsi so
everything works nicely.

 thanks for the info!

No problem :)
-- 
Matthew Kent \ SA \ bravenet.com

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


Re: [CentOS] rpmstrap/rpmbootstrap to boostrap CentOS 5

2009-09-28 Thread Matthew Kent
On Mon, 2009-09-28 at 18:27 +0200, Santi Saez wrote:
 Hi,
 
 Is there any working script, similar to deboostrap, for CentOS 5?
 
 I have found rpmstrap [1] at RPMforge.. but only works for CentOS-4, and 
 appears that's out of date.
 
 thanks!
 
 [1] http://dag.wieers.com/rpm/packages/rpmstrap/
 

http://et.redhat.com/~rjones/febootstrap/

Available via EPEL and works with CentOS.
-- 
Matthew Kent \ SA \ bravenet.com

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


Re: [CentOS] Time to sync (NOT a complaint)

2009-06-19 Thread Matthew Kent
On Fri, 2009-06-19 at 10:19 -0700, MHR wrote:
 Is anyone else seeing this situation?
 
 I subscribe to the announce digest, and for the last four or five
 announcements that contained updates to CentOS 5, I've been unable to
 get a successful run of yum update for as much as 24 hours after the
 announcement.  The last time around, I tried at about 5 hours after
 the posting, and yum couldn't see anything.  I ran yum clean all, and
 yum update still couldn't see anything.  In general, if I wait a day,
 the updates load just fine, but that just feels wrong.

Some don't update that quickly, see: http://mirror-status.centos.org/
-- 
Matthew Kent \ SA \ bravenet.com

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


Re: [CentOS] Kernel Panic Help

2010-04-09 Thread Matthew Kent
On Fri, 2010-04-09 at 10:10 -0500, Matt wrote:
 I have a CentOS 5.4 64 bit server running on a supermicro motherboard.
  It kernel paniced last night.
 
 http://www.freeimagehosting.net/image.php?c51cb1be89.jpg
 
 Any ideas?  Its running the latest version of Squid available with
 yum.  Memory issue?
 
 Would adding:
 
 kernel.panic = 10
 
 to:
 
 /etc/sysctl.conf
 
 Have caused it to reboot after 10 seconds instead of just sitting there?

That's the theory! but yeah you shouldn't be getting panics from
something as routine as squid. I'd take a good look
through /var/log/messages and fire up memtest.

Good luck!

-- 
Matthew Kent \ SA \ bravenet.com

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