Re: [CentOS-docs] HowTos - 21. CentOS Guidelines - How to create public mirrors for CentOS

2010-06-17 Thread Ralph Angenendt
On Thu, Jun 17, 2010 at 12:08 AM, Maulvi Bakar mau...@maulvi.net wrote:
 Hi all

 I guess, as per http://wiki.centos.org/Contribute -  3. Contribute to the
 Wiki, I am being persistent.

Good :)

 The proposal is mainly to address these 'frequently' asked questions. Other
 proposed additions that was listed are mainly extras or bonuses - things
 that I think would be helpful and beneficial to the community, speeding up
 deployments of new mirrors by having some of the technical questions
 pre-answered in a howto.

 I hope my proposal is acceptable..

Yeah, I think the bantering here was more about where to put a
document like that, and I must admint that I am still not perfectly
sure on where to put that.

But: Let me give you access to your Homepage on the Wiki, you can
then create the article under there for others to look at it. In the
meanwhile it might become clearer on where to put that article.

MaulviBakar - is that your wiki account?

Regards,

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


Re: [CentOS-docs] HowTos - 21. CentOS Guidelines - How to create public mirrors for CentOS

2010-06-17 Thread Maulvi Bakar
On Thu, Jun 17, 2010 at 11:03 PM, Ralph Angenendt ralph.angene...@gmail.com
 wrote:

 On Thu, Jun 17, 2010 at 12:08 AM, Maulvi Bakar mau...@maulvi.net wrote:
  Hi all
 
  I guess, as per http://wiki.centos.org/Contribute -  3. Contribute to
 the
  Wiki, I am being persistent.

 Good :)

  The proposal is mainly to address these 'frequently' asked questions.
 Other
  proposed additions that was listed are mainly extras or bonuses - things
  that I think would be helpful and beneficial to the community, speeding
 up
  deployments of new mirrors by having some of the technical questions
  pre-answered in a howto.
 
  I hope my proposal is acceptable..

 Yeah, I think the bantering here was more about where to put a
 document like that, and I must admint that I am still not perfectly
 sure on where to put that.

 But: Let me give you access to your Homepage on the Wiki, you can
 then create the article under there for others to look at it. In the
 meanwhile it might become clearer on where to put that article.

 MaulviBakar - is that your wiki account?

 Regards,

 Ralph


Hi Ralph

Thank you for responding  ;-)

Yes, my wiki account's username is MaulviBakar.

In regards to the document location, IMHO I'd say a link should be added to
FAQ section of the InfraWiki to the current location of HowTo, which if
approved, to be expanded.


Sincere regards and thanks

Maulvi Bakar
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-docs] ArtWork edit

2010-06-17 Thread Marcus Moeller
Dear Russ.

 Your wish is noted; I figure leaving markers is a ready test
 if the author (or another with edits) was interested enough to
 follow the page, and to read their email, and to address it

 I see people following me all the time with wiki edits and
 read the diffs.  I note your participation in the OpenSUSE
 self-critque, and in reading further the outlink to:
 http://www.90-9-1.com/ mentioned therein, whihch I commend to
 all on this list.  I am experimenting to see if my most common
 following editor simply fixes the remaining passive voice I
 noted in the commit message

Not sure if the list is the right place to talk about that, but it's
an interesting theory (which is obviously true in most cases). My aim
is to motivate more ppl to become editors or even creators, because
that's what open source is about. The times of passive lurking are
over :)

-- 
Greets
Marcus
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS] cameras and CentOS

2010-06-17 Thread Jobst Schmalenbach
Hi

I want to put up a few cameras connected to a CentOS box.
I currently have a box with one camera and that works (USB),
I can take a pic (the script does that) and see that on a webpage.

However, I want to have a couple of cameras a little further 
away (more than 5 meters).

USB has a limit, I have tried that camera with a longer cable
and it does not work ... so I need to route that in a different
way. Are there equaly as cheap other moethods? Or can I use
USB-adapter-network cable-adapter-USB?

How can I get that to work?


Jobst


-- 
Student to Teacher: Sir, what's an oxymoron?  Teacher to Student: Microsoft 
security.

  | |0| |   Jobst Schmalenbach, jo...@barrett.com.au, General Manager
  | | |0|   Barrett Consulting Group P/L  The Meditation Room P/L
  |0|0|0|   +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] cameras and CentOS

2010-06-17 Thread Götz Reinicke - IT-Koordinator
Hi,

Am 17.06.10 08:22, schrieb Jobst Schmalenbach:
 Hi
 
 I want to put up a few cameras connected to a CentOS box.
 I currently have a box with one camera and that works (USB),
 I can take a pic (the script does that) and see that on a webpage.
 
 However, I want to have a couple of cameras a little further 
 away (more than 5 meters).
 
 USB has a limit, I have tried that camera with a longer cable
 and it does not work ... so I need to route that in a different
 way. Are there equaly as cheap other moethods? Or can I use
 USB-adapter-network cable-adapter-USB?
 
 How can I get that to work?

may be with that usb extender:

XTENDEX® USB-C5-LC - http://www.networktechinc.com/usbc5.html


Cheers - Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 420
Fax  +49 7141 969 55 420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016
Vorsitzende des Aufsichtsrats:
Prof. Dr. Claudia Hübner

Geschäftsführer:
Prof. Thomas Schadt
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] cameras and CentOS

2010-06-17 Thread John R Pierce
Jobst Schmalenbach wrote:
 Hi

 I want to put up a few cameras connected to a CentOS box.
 I currently have a box with one camera and that works (USB),
 I can take a pic (the script does that) and see that on a webpage.

 However, I want to have a couple of cameras a little further 
 away (more than 5 meters).

 USB has a limit, I have tried that camera with a longer cable
 and it does not work ... so I need to route that in a different
 way. Are there equaly as cheap other moethods? Or can I use
 USB-adapter-network cable-adapter-USB?

 How can I get that to work?
   

micro systems running linux at each USB location, all connected with 
ethernet.

it doesn't take much.
http://www.globalscaletechnologies.com/p-31-guruplug-server-standard.aspx

or
http://www.mini-box.com/Alix-2B-Board-2-LAN-2-MINI-PCI_3

etc etc.


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


Re: [CentOS] cpuspeed settings??

2010-06-17 Thread Nicolas Thierry-Mieg
ken wrote:
 Hey, folks,

 Sometimes my workstation bogs down... slows to a crawl.  Using gkrellm,
 it's obvious the CPU is the laggard.  The top utility confirms: the load
 average gets up over 4 at times.  But this occurs when cpu stepping pegs
 the speed at 600MHz.  This processor is capable of 1.5GHz and when it's
 allowed to run at that speed, the load average is under 2, which is fine.

 So the question is: what's a good /etc/sysconfig/cpuspeed file?  This
 workstation is a notebook and it can get hot.  Of course I'd rather type
 on slow machine than a machine with a fried mainboard, so a report of a
 high temperature should kick in the governor and lower the speed.

well, *is* the CPU really hot when cpuspeed slows it down? If it is then 
there's no need to tweak /etc/sysconfig/cpuspeed , the defaults are 
doing what you want.
Depending on your CPU you can monitor its temp with rpms from elrepo, eg 
kmod-coretemp for some intels.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] clustered file system of choice

2010-06-17 Thread Raja Subramanian
On Thu, Jun 17, 2010 at 1:03 AM, Boris Epstein borepst...@gmail.com wrote:
 I am just trying to consider my options for storing a large mass of
 data (tens of terrabytes of files) and one idea is to build a
 clustered FS of some kind. Has anybody had any experience with that?
 Any recommendations?

You need a shared SAN back end to run traditional cluster file systems.

If you environment is all Linux, then Lustre (lustre.org) works well.

If you need other OS support, the commercial alternatives like Quantum
StorNext and IBRIX (now acquired by HP) are good alternatives.

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


Re: [CentOS] clustered file system of choice

2010-06-17 Thread John R Pierce
Raja Subramanian wrote:
 You need a shared SAN back end to run traditional cluster file systems.
   

there are parallel storage file systems like Ibrix FusionFS that work 
with an array of systems with direct attach storage.  FusionFS is 
commercial oh, its HP now, hmmm 





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


Re: [CentOS] clustered file system of choice

2010-06-17 Thread Juergen Gotteswinter
Give GFS a chance, works very well for us and centos ships it

On 06/17/2010 10:19 AM, Raja Subramanian wrote:
 On Thu, Jun 17, 2010 at 1:03 AM, Boris Epstein borepst...@gmail.com wrote:
 I am just trying to consider my options for storing a large mass of
 data (tens of terrabytes of files) and one idea is to build a
 clustered FS of some kind. Has anybody had any experience with that?
 Any recommendations?
 
 You need a shared SAN back end to run traditional cluster file systems.
 
 If you environment is all Linux, then Lustre (lustre.org) works well.
 
 If you need other OS support, the commercial alternatives like Quantum
 StorNext and IBRIX (now acquired by HP) are good alternatives.
 
 - Raja
 ___
 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] cameras and CentOS

2010-06-17 Thread kalinix
On Thu, 2010-06-17 at 16:22 +1000, Jobst Schmalenbach wrote:

 Hi
 
 I want to put up a few cameras connected to a CentOS box.
 I currently have a box with one camera and that works (USB),
 I can take a pic (the script does that) and see that on a webpage.
 
 However, I want to have a couple of cameras a little further 
 away (more than 5 meters).
 
 USB has a limit, I have tried that camera with a longer cable
 and it does not work ... so I need to route that in a different
 way. Are there equaly as cheap other moethods? Or can I use
 USB-adapter-network cable-adapter-USB?
 
 How can I get that to work?
 
 
 Jobst
 
 


How about IP Cameras?

-- 


Calin

Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857

=
There is no distinctly American criminal class except Congress. --
Mark Twain
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Redhat CD with kickstart file

2010-06-17 Thread Anthony Davis
Hi,

I am trying to create a custom iso that I can use to install machines.  
I want to include my custom kickstart file on the distro and when its  
put in get the system to build using it.

I have done some reading about this process, but i still havent been  
able to get it working with out any problems.

I have ripped the contents of the iso by mounting it on a loop back device.

I then put my kickstart file names ks.cfg into /isolinux/ on the ripped cd.

I then use mkisofs to recreate the iso, but every time i boot from it  
i get either unknown keyword in config file, could not find kernel  
image: linux or invalid or corrupt kernel image error messages.

Has anyone got a step by step guid to how to do this as this is  
driving me nuts!

Hope someone can help.

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


Re: [CentOS] yum force

2010-06-17 Thread Karanbir Singh
Hi,

A bit of history is in order here:
http://www.karan.org/blog/index.php/2010/06/17/why-is-there-a-perl-i386-in-my-x86_64-install

On 15/06/2010 21:10, m.r...@5-cent.us wrote:
 I'm trying to do an update to some servers... and they have both i386 and
 x86_64 perl. The latter won't update, because the idiotic *man pages* are
 dups. Is there *any* way, short of using rpm directly with a --force, to
 get yum to ignore the dups and do the update?

I dont think that was the issue at all :)

 And why does *anyone* make it so that a dup manpage is a reason to fail
 (and don't tell me they do it generically for any of the packages in the
 .rpm...)?

Its an artifact from the idea of multilib and its implementation in rpm,
docs that md5 match between builds archs' of the same package are
silently ignored. The other way to look at this is that two builds, for
the same source will produce identical outputs if built under the same
conditions ( makefiles, arch, buuild roots, dep chains, machine
conditions etc ). When you extend that over multiple arch's, the docs
are the only thing you need to be concerned about, since the binaries
you get will depend on what and how the multilib policy is implemented
on the machine. If you find there are conflicts in
package-vers-release.arch where arch is the only variant - file a bug
report; something in the buildsystem isn't doing its job right.

so, in summary : the problem you were seeing was not caused by a dupe
manpage, it was caused by a dupe manpage from different versions of perl
( had the version been the same, and the md5's for the doc's been the
same, they would not cause a conflict ).

There are different ways to handle this situation, but to be honest, I
dont see much fault with the way things are right now with rpm multilib
policy. it works.

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


Re: [CentOS] amazon ec2 and centos?

2010-06-17 Thread Karanbir Singh
hi Don,

On 15/06/2010 21:29, Don MacAskill wrote:
 I'm happy to help in some way, too.  We have barebones CentOS 5 images
 we've been using in EC2 for a long time, and our process for initially
 creating them is fairly well documented, so holler if I can help.

Thanks for your offer, I might just do that.

Also, thanks for the smugmug machine you guys donated to the project, it
has been put into good use over the years!

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


Re: [CentOS] Redhat CD with kickstart file

2010-06-17 Thread John Doe
From: Anthony Davis t...@specialistdevelopment.com
 I am trying to create a custom iso that I can use to install 
 machines.  

This used to work for me (I think):

mount CentOS-XXX.iso /mnt/cdrom -t iso9660 -o loop
cp -a /mnt/cdrom /tmp/cdrom
cp ks.cfg /tmp/cdrom/
vi /tmp/cdrom/isolinux/isolinux.cfg
  default linux ks=cdrom:/ks.cfg

Mini iso (without packages):
cd /tmp/cdrom
mkisofs -o ../mini.iso -b isolinux.bin -c boot.cat -no-emul-boot 
-boot-load-size 4 -boot-info-table -R -J -v -T isolinux/

Or full iso (with packages):
cd /tmp
mkisofs -o full.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot 
-boot-load-size 4 -boot-info-table -R -J -v -T cdrom

JD


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


Re: [CentOS] Redhat CD with kickstart file

2010-06-17 Thread kalinix
On Thu, 2010-06-17 at 11:15 +0100, Anthony Davis wrote:

 Hi,
 
 I am trying to create a custom iso that I can use to install machines.  
 I want to include my custom kickstart file on the distro and when its  
 put in get the system to build using it.
 
 I have done some reading about this process, but i still havent been  
 able to get it working with out any problems.
 
 I have ripped the contents of the iso by mounting it on a loop back device.
 
 I then put my kickstart file names ks.cfg into /isolinux/ on the ripped cd.
 
 I then use mkisofs to recreate the iso, but every time i boot from it  
 i get either unknown keyword in config file, could not find kernel  
 image: linux or invalid or corrupt kernel image error messages.
 
 Has anyone got a step by step guid to how to do this as this is  
 driving me nuts!
 
 Hope someone can help.
 
 Thankyou!
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


http://www.harkness.co.uk/other/RHEL4_custom_dvd.html

HTH,


-- 


Calin

Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857

=
If you can read this, you're too close.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum force

2010-06-17 Thread Les Mikesell
Karanbir Singh wrote:
 Hi,
 
 A bit of history is in order here:
 http://www.karan.org/blog/index.php/2010/06/17/why-is-there-a-perl-i386-in-my-x86_64-install
 
 On 15/06/2010 21:10, m.r...@5-cent.us wrote:
 I'm trying to do an update to some servers... and they have both i386 and
 x86_64 perl. The latter won't update, because the idiotic *man pages* are
 dups. Is there *any* way, short of using rpm directly with a --force, to
 get yum to ignore the dups and do the update?
 
 I dont think that was the issue at all :)
 
 And why does *anyone* make it so that a dup manpage is a reason to fail
 (and don't tell me they do it generically for any of the packages in the
 .rpm...)?
 
 Its an artifact from the idea of multilib and its implementation in rpm,
 docs that md5 match between builds archs' of the same package are
 silently ignored. The other way to look at this is that two builds, for
 the same source will produce identical outputs if built under the same
 conditions ( makefiles, arch, buuild roots, dep chains, machine
 conditions etc ). When you extend that over multiple arch's, the docs
 are the only thing you need to be concerned about, since the binaries
 you get will depend on what and how the multilib policy is implemented
 on the machine. If you find there are conflicts in
 package-vers-release.arch where arch is the only variant - file a bug
 report; something in the buildsystem isn't doing its job right.
 
 so, in summary : the problem you were seeing was not caused by a dupe
 manpage, it was caused by a dupe manpage from different versions of perl
 ( had the version been the same, and the md5's for the doc's been the
 same, they would not cause a conflict ).
 
 There are different ways to handle this situation, but to be honest, I
 dont see much fault with the way things are right now with rpm multilib
 policy. it works.
 


In this particular instance, is removing perl.i386 the right thing to do?  Are 
there any common situations where it would be used on an x86_64 system?

-- 
   Les mikesell
lesmikes...@gmail.com




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


Re: [CentOS] yum force

2010-06-17 Thread Karanbir Singh
On 17/06/2010 13:36, Les Mikesell wrote:
 In this particular instance, is removing perl.i386 the right thing to do?  
 Are 
 there any common situations where it would be used on an x86_64 system?

Removing perl.i386 is the way to go here. I don't personally know of any
situations where perl.i386 might have been required. Most people who are
building perl modules should be linking with and against the perl.x86_64
anyway ( even when doing builds against native libraries ).

There are some vendors who still hand out binaries that need perl.i386;
but in those cases, perl.i386 can be installed by name.

- KB

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


Re: [CentOS] cameras and CentOS

2010-06-17 Thread Robert Heller
At Thu, 17 Jun 2010 16:22:48 +1000 CentOS mailing list centos@centos.org 
wrote:

 
 Hi
 
 I want to put up a few cameras connected to a CentOS box.
 I currently have a box with one camera and that works (USB),
 I can take a pic (the script does that) and see that on a webpage.
 
 However, I want to have a couple of cameras a little further 
 away (more than 5 meters).
 
 USB has a limit, I have tried that camera with a longer cable
 and it does not work ... so I need to route that in a different
 way. Are there equaly as cheap other moethods? Or can I use
 USB-adapter-network cable-adapter-USB?
 
 How can I get that to work?

It would be simplier to just get a network camera, such as the ones made
by axis.com.

 
 
 Jobst
 
 

-- 
Robert Heller -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software-- Linux Installation and Administration
http://www.deepsoft.com/  -- Web Hosting, with CGI and Database
hel...@deepsoft.com   -- Contract Programming: C/C++, Tcl/Tk

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


[CentOS] Kernel independent DRBD packages for RHEL, CentOS and Scientific Linux

2010-06-17 Thread Dag Wieers
Hi,

I would like to announce a set of DRBD kABI-tracking kernel module 
packages for RHEL5, CentOS-5 and Scientific Linux 5 kernels. These 
packages have been introduced into the ELRepo testing repository 
(http://elrepo.org/).

You can find these packages at:

http://elrepo.org/linux/testing/el5/


The ELRepo project is a community project providing various additional 
kernel modules for Red Hat Enterprise Linux and derivative kernels that 
aim to be kernel independent. Next to this set of DRBD 8.3.8 kernel 
modules the project provides dozens of kmod RPM packages and hundreds of 
kernel modules for a variety of hardware and kernel functionality.


In this case we are looking for DRBD users willing to test these packages 
and provide feedback and support in our support channels for future users. 
In case there is interest, we can provide drbd 8.0.16 packages on request.

We welcome your feedback on our mailinglist and bug-tracker, respectively 
at:

http://lists.elrepo.org/mailman/listinfo/elrepo
http://elrepo.org/bugs/main_page.php

Kind regards,
-- 
--   dag wieers,  d...@wieers.com,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] clustered file system of choice

2010-06-17 Thread Ross Walker
On Jun 16, 2010, at 4:17 PM, Joseph L. Casale jcas...@activenetwerx.com 
  wrote:

 I am just trying to consider my options for storing a large mass of
 data (tens of terrabytes of files) and one idea is to build a
 clustered FS of some kind. Has anybody had any experience with that?
 Any recommendations?

 You haven't actually stated whether you want the backing devices  
 distributed
 or have the file system support more than one mount?

 You likely don't need a cluster aware fs, if you need to access the  
 data
 in more than one place any of several file sharing methodologies will
 work.

 I suspect as your storage need is large, you need to distribute it  
 across
 more than one block device probably on several servers? DRBD is of  
 no use
 here.

You are probably looking to have multiple iSCSI/FC storage servers/ 
appliances in the backend with one or more NAS head servers serving it  
up via NFS/CIFS.

If the head servers will be serving the same file systems  
simultaneously then you need a cluster file system and clustering  
software. If each head server will be serving a distinct file system  
then you probably just need some HA software like heartbeat or  
pacemaker to have those exports fail-over to the other head server(s)  
in the event of a head server failure.

-Ross

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


Re: [CentOS] clustered file system of choice

2010-06-17 Thread Karanbir Singh
On 16/06/2010 21:11, Boris Epstein wrote:
 Will surely check Glusterfs out. What's your thoughts on GPFS:
 http://en.wikipedia.org/wiki/GPFS ?

I've used gpfs in the past, but it was a long time back. It works,
mostly just does what it needs to do and stays out of your way. When we
were using it, needed an AIX node for some of the director stuff, but
I've seen it run from a pure linux environment recently ( on CentOS-4 ! )

If I inherited a gpfs run stack, I wont complain about it. But if I was
doing something new, I'd look elsewhere. eg. Ceph is interesting.

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


Re: [CentOS] clustered file system of choice

2010-06-17 Thread Karanbir Singh
On 16/06/2010 21:12, Todd Denniston wrote:
 In short if you are considering DRBD as a backing device, definitely ask over 
 on their mailing list
 and I suspect that mailing list population has a higher percentage of folks 
 who use cluster FSs.

DRBD is only worth looking at if you have something very small, or are
in an edge case where distributing the application itself isnt an
option. To be honest, those edge cases are drying up a bit these days.

I'd start by looking at the app and seeing if I can just distribute
that. If not, then look at a distributed store ( riak anyone ? ) and if
not then look at clustering a file system for legacy type use.

Let the app and deployment role define what sort of a hammer you want to
use here :)

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


Re: [CentOS] clustered file system of choice

2010-06-17 Thread Karanbir Singh
On 17/06/2010 09:28, Juergen Gotteswinter wrote:
 Give GFS a chance, works very well for us and centos ships it
 

yes, seconded. The gfs stack works really well too. I'm running 2
instances and have not really had any major 'issues'. Production grade
clvm's snapshot's would be a nice-to-have, but not everyone needs those.

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


Re: [CentOS] clustered file system of choice

2010-06-17 Thread Simon Billis
Boris Epstein sent a missive on 2010-06-16:

 Hi all,
 
 I am just trying to consider my options for storing a large mass of
 data (tens of terrabytes of files) and one idea is to build a
 clustered FS of some kind. Has anybody had any experience with that?
 Any recommendations?
 
 Thanks in advance for any and all advice.

Take a look at hadoop http://hadoop.apache.org and specifically HDFS (hadoop
distributed file system) http://hadoop.apache.org/hdfs/ I've used it in
conjunction with nutch across 20 odd servers (circa 10TB). When I used it
the down side was a single metadata node, but this may have changed by now.
The data is stored redundantly across the nodes and doesn't seem to require
any special hardware (I ran it on dell 1425's).

HTH

Simon.




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


Re: [CentOS] cpuspeed settings??

2010-06-17 Thread ken
On 06/17/2010 04:16 AM Nicolas Thierry-Mieg wrote:
 ken wrote:
 Hey, folks,

 Sometimes my workstation bogs down... slows to a crawl.  Using gkrellm,
 it's obvious the CPU is the laggard.  The top utility confirms: the load
 average gets up over 4 at times.  But this occurs when cpu stepping pegs
 the speed at 600MHz.  This processor is capable of 1.5GHz and when it's
 allowed to run at that speed, the load average is under 2, which is fine.

 So the question is: what's a good /etc/sysconfig/cpuspeed file?  This
 workstation is a notebook and it can get hot.  Of course I'd rather type
 on slow machine than a machine with a fried mainboard, so a report of a
 high temperature should kick in the governor and lower the speed.
 
 well, *is* the CPU really hot when cpuspeed slows it down? If it is then 
 there's no need to tweak /etc/sysconfig/cpuspeed , the defaults are 
 doing what you want.

No,  The temperature can be relatively low and cpu is still stepped down
to 600MHz, this while the load is over 3 (the cpu idle reads 1%).


 Depending on your CPU you can monitor its temp with rpms from elrepo, eg 
 kmod-coretemp for some intels.

I've been monitoring the temperature, cpu speed (governed), and other
system factors for years with ondemand and gkrellm.


The problem really is as I first stated.  And the solution-- good
settings for /etc/sysconfig/cpuspeed-- is really what is needed (at
least as far as can be discerned at this time).


Thanks for your help.

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


Re: [CentOS] clustered file system of choice

2010-06-17 Thread Laurent Wandrebeck
On Wed, 16 Jun 2010 15:33:02 -0400
Boris Epstein borepst...@gmail.com wrote:

 Hi all,
 
 I am just trying to consider my options for storing a large mass of
 data (tens of terrabytes of files) and one idea is to build a
 clustered FS of some kind. Has anybody had any experience with that?
 Any recommendations?
 
 Thanks in advance for any and all advice.
 
 Boris.
Hi,
You can take a look at http://www.moosefs.org.
It is a network, fault-tolerant FS, posix compliant, allows snapshots,
uses fuse, your code doesn't need to be changed to access the FS. You
can easily choose the number of replicas of files/dirs you want. It is
easy to deploy, runs in user-space. Some people runs it successfully on
500+TB. Plus, I've made a CentOS repo here:
http://centos.kodros.fr/moosefs.repo
Regards,
Laurent


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


Re: [CentOS] cpuspeed settings??

2010-06-17 Thread Nicolas Thierry-Mieg
ken wrote:
 On 06/17/2010 04:16 AM Nicolas Thierry-Mieg wrote:
 ken wrote:
 Hey, folks,

 Sometimes my workstation bogs down... slows to a crawl.  Using gkrellm,
 it's obvious the CPU is the laggard.  The top utility confirms: the load
 average gets up over 4 at times.  But this occurs when cpu stepping pegs
 the speed at 600MHz.  This processor is capable of 1.5GHz and when it's
 allowed to run at that speed, the load average is under 2, which is fine.

 So the question is: what's a good /etc/sysconfig/cpuspeed file?  This
 workstation is a notebook and it can get hot.  Of course I'd rather type
 on slow machine than a machine with a fried mainboard, so a report of a
 high temperature should kick in the governor and lower the speed.

 well, *is* the CPU really hot when cpuspeed slows it down? If it is then
 there's no need to tweak /etc/sysconfig/cpuspeed , the defaults are
 doing what you want.

 No,  The temperature can be relatively low and cpu is still stepped down
 to 600MHz, this while the load is over 3 (the cpu idle reads 1%).


 Depending on your CPU you can monitor its temp with rpms from elrepo, eg
 kmod-coretemp for some intels.

 I've been monitoring the temperature, cpu speed (governed), and other
 system factors for years with ondemand and gkrellm.


 The problem really is as I first stated.  And the solution-- good
 settings for /etc/sysconfig/cpuspeed-- is really what is needed (at
 least as far as can be discerned at this time).

OK.
can't help you much then, the defaults have worked well for me.

It could be useful to know what CPU you have, what governor you're using 
(/etc/init.d/cpuspeed status), and look at stuff in
/sys/devices/system/cpu/cpu*/cpufreq/ .

You could lower UP_THRESHOLD in /etc/sysconfig/cpuspeed , see what value 
you're currently using and lower that.
Or try another governor.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] NFS - Permission Denied

2010-06-17 Thread James Corteciano
Hi All,

This is the settings of my NFS server (192.168.10.55)

/etc/exports:
   /nfs/iso
192.168.10.0/255.255.255.0(rw,sync)http://192.168.10.0/255.255.255.0%28rw,sync%29

From the remote host, I mount it correctly. But when I write/create
files/directory inside the mounted nfs directory (from /nfs/test), it will
give me Permission Denied.

[r...@remote]# mount -t nfs 192.168.10.55:/nfs/iso /nfs/test
[r...@remote]# mkdir /nfs/test/testing
mkdir: cannot create directory `testing': Permission denied

Hope anyone could help me to fix this.

Thank you.

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


Re: [CentOS] NFS - Permission Denied

2010-06-17 Thread earlaramirez
Looks like you need to allow nfs through your firewall so that it can be 
accessed 
Sent from my BlackBerry® wireless device available from bmobile.

-Original Message-
From: James Corteciano ja...@linux-source.org
Date: Fri, 18 Jun 2010 00:17:04 
To: CentOS mailing listcentos@centos.org
Subject: [CentOS] NFS - Permission Denied

___
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] NFS - Permission Denied

2010-06-17 Thread Cliff
If it's giving him a file system error on the remote host it's NOT a  
fw issue

Sent from my iPhone

On Jun 17, 2010, at 12:22 PM, earlarami...@gmail.com wrote:

 Looks like you need to allow nfs through your firewall so that it  
 can be accessed
 Sent from my BlackBerry® wireless device available from bmobile.

 -Original Message-
 From: James Corteciano ja...@linux-source.org
 Date: Fri, 18 Jun 2010 00:17:04
 To: CentOS mailing listcentos@centos.org
 Subject: [CentOS] NFS - Permission Denied

 ___
 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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS - Permission Denied

2010-06-17 Thread Nicolas Thierry-Mieg
James Corteciano wrote:
 Hi All,

 This is the settings of my NFS server (192.168.10.55)

 /etc/exports:
 /nfs/iso 192.168.10.0/255.255.255.0(rw,sync)
 http://192.168.10.0/255.255.255.0%28rw,sync%29

  From the remote host, I mount it correctly. But when I write/create
 files/directory inside the mounted nfs directory (from /nfs/test), it
 will give me Permission Denied.

 [r...@remote]# mount -t nfs 192.168.10.55:/nfs/iso /nfs/test
 [r...@remote]# mkdir /nfs/test/testing
 mkdir: cannot create directory `testing': Permission denied

isn't it root squash in action?


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


Re: [CentOS] NFS - Permission Denied

2010-06-17 Thread Boris Epstein
On Thu, Jun 17, 2010 at 12:17 PM, James Corteciano
ja...@linux-source.org wrote:
 Hi All,

 This is the settings of my NFS server (192.168.10.55)

 /etc/exports:
    /nfs/iso   192.168.10.0/255.255.255.0(rw,sync)

 From the remote host, I mount it correctly. But when I write/create
 files/directory inside the mounted nfs directory (from /nfs/test), it will
 give me Permission Denied.

 [r...@remote]# mount -t nfs 192.168.10.55:/nfs/iso /nfs/test
 [r...@remote]# mkdir /nfs/test/testing
 mkdir: cannot create directory `testing': Permission denied

 Hope anyone could help me to fix this.

 Thank you.

 Regards,
 James




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


James,

On the server, who owns /nfs/iso? What are the permissions on that directory?

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


Re: [CentOS] NFS - Permission Denied

2010-06-17 Thread James Corteciano
Hi Boris,

[r...@server]# ls -ld /nfs/iso

drwxrwx--- 2 root apache 4096 Jun 18 00:46 /nfs/iso

Regards,
James

On Fri, Jun 18, 2010 at 12:36 AM, Boris Epstein borepst...@gmail.comwrote:

 On Thu, Jun 17, 2010 at 12:17 PM, James Corteciano
 ja...@linux-source.org wrote:
  Hi All,
 
  This is the settings of my NFS server (192.168.10.55)
 
  /etc/exports:
 /nfs/iso   
  192.168.10.0/255.255.255.0(rw,sync)http://192.168.10.0/255.255.255.0%28rw,sync%29
 
  From the remote host, I mount it correctly. But when I write/create
  files/directory inside the mounted nfs directory (from /nfs/test), it
 will
  give me Permission Denied.
 
  [r...@remote]# mount -t nfs 192.168.10.55:/nfs/iso /nfs/test
  [r...@remote]# mkdir /nfs/test/testing
  mkdir: cannot create directory `testing': Permission denied
 
  Hope anyone could help me to fix this.
 
  Thank you.
 
  Regards,
  James
 
 
 
 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 
 James,

 On the server, who owns /nfs/iso? What are the permissions on that
 directory?

 Boris.
 ___
 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] cameras and CentOS

2010-06-17 Thread Dan Carl
On 6/17/2010 1:22 AM, Jobst Schmalenbach wrote:
 Hi

 I want to put up a few cameras connected to a CentOS box.
 I currently have a box with one camera and that works (USB),
 I can take a pic (the script does that) and see that on a webpage.

 However, I want to have a couple of cameras a little further
 away (more than 5 meters).

 USB has a limit, I have tried that camera with a longer cable
 and it does not work ... so I need to route that in a different
 way. Are there equaly as cheap other moethods? Or can I use
 USB-adapter-network cable-adapter-USB?

 How can I get that to work?


 Jobst




If you're using them for a security and surveillance solution.
A capture card and zoneminder would be a more professional grade solution.
Also an all-in-one device like the one found here 
http://www.nightowlsp.com/products.htm are a great low cost alternative.


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


Re: [CentOS] NFS - Permission Denied

2010-06-17 Thread John Kennedy
Try turning off root_squash in your /etc/exports file...
Default NFS server behavior is to prevent root on client machines from
having privileged access to exported files. Servers do this by mapping the
root user to some unprivileged user (usually the user nobody) on the
server side. This is known as *root squashing.*
One way to test, can you add files/dirs as a non root user?
John

On Thu, Jun 17, 2010 at 12:47 PM, James Corteciano
ja...@linux-source.orgwrote:

 Hi Boris,

 [r...@server]# ls -ld /nfs/iso

 drwxrwx--- 2 root apache 4096 Jun 18 00:46 /nfs/iso

 Regards,
 James


 On Fri, Jun 18, 2010 at 12:36 AM, Boris Epstein borepst...@gmail.comwrote:

 On Thu, Jun 17, 2010 at 12:17 PM, James Corteciano
 ja...@linux-source.org wrote:
  Hi All,
 
  This is the settings of my NFS server (192.168.10.55)
 
  /etc/exports:
 /nfs/iso   
  192.168.10.0/255.255.255.0(rw,sync)http://192.168.10.0/255.255.255.0%28rw,sync%29
 
  From the remote host, I mount it correctly. But when I write/create
  files/directory inside the mounted nfs directory (from /nfs/test), it
 will
  give me Permission Denied.
 
  [r...@remote]# mount -t nfs 192.168.10.55:/nfs/iso /nfs/test
  [r...@remote]# mkdir /nfs/test/testing
  mkdir: cannot create directory `testing': Permission denied
 
  Hope anyone could help me to fix this.
 
  Thank you.
 
  Regards,
  James
 
 
 
 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 
 James,

 On the server, who owns /nfs/iso? What are the permissions on that
 directory?

 Boris.
 ___
 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




-- 
Did you know that it costs forty thousand dollars a year to house each
prisoner?...I don't think we should give free room and board to criminals. I
think they should have to run twelve hours a day on a treadmill and generate
electricity. And if they don't want to run, they can rest in the chair
that's hooked up to the generator.
-George Carlin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS - Permission Denied

2010-06-17 Thread Nicolas Thierry-Mieg
James Corteciano wrote:
 Hi Boris,

 [r...@server]# ls -ld /nfs/iso

 drwxrwx--- 2 root apache 4096 Jun 18 00:46 /nfs/iso

as I said, root squash in action.

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


Re: [CentOS] cameras and CentOS

2010-06-17 Thread Timothy Murphy
Robert Heller wrote:

 It would be simplier to just get a network camera, such as the ones made
 by axis.com.

Isn't Axis rather expensive?
I've found the Linksys WVC54GCA WiFi camera has worked pretty well for me,
at least after I updated the firmware.


-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

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


Re: [CentOS] cameras and CentOS

2010-06-17 Thread Brent L. Bates
 Axis also has lower end cameras that don't cost a whole lot.  Price
depends on what options/capabilities one is looking for in a camera.

-- 

  Brent L. Bates (UNIX Sys. Admin.)
  M.S. 912  Phone:(757) 865-1400, x204
  NASA Langley Research CenterFAX:(757) 865-8177
  Hampton, Virginia  23681-0001
  Email: b.l.ba...@larc.nasa.govhttp://www.vigyan.com/~blbates/

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


Re: [CentOS] Redhat CD with kickstart file

2010-06-17 Thread Anthony Davis
Hi klanix,

Thanks for your help, will try it out.

Kind Regards

Tony


On 17 Jun 2010, at 11:53, kalinix wrote:

 On Thu, 2010-06-17 at 11:15 +0100, Anthony Davis wrote:
 
 Hi,
 
 I am trying to create a custom iso that I can use to install machines.  
 I want to include my custom kickstart file on the distro and when its  
 put in get the system to build using it.
 
 I have done some reading about this process, but i still havent been  
 able to get it working with out any problems.
 
 I have ripped the contents of the iso by mounting it on a loop back device.
 
 I then put my kickstart file names ks.cfg into /isolinux/ on the ripped cd.
 
 I then use mkisofs to recreate the iso, but every time i boot from it  
 i get either unknown keyword in config file, could not find kernel  
 image: linux or invalid or corrupt kernel image error messages.
 
 Has anyone got a step by step guid to how to do this as this is  
 driving me nuts!
 
 Hope someone can help.
 
 Thankyou!
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 
 http://www.harkness.co.uk/other/RHEL4_custom_dvd.html
 
 HTH,
 
 
 -- 
 
 
 Calin
 
 Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857
 
 =
 If you can read this, you're too close.
 ___
 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] yum install perl-XML-Parser

2010-06-17 Thread Jerry Geis
When I do the following:  yum install perl-XML-Parser

I get all these errors.

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.sanctuaryhost.com
 * base: centos.cs.wisc.edu
 * extras: mirror.trouble-free.net
 * updates: mirrors.serveraxis.net
Traceback (most recent call last):
  File /usr/bin/yum, line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
  File /usr/share/yum-cli/yummain.py, line 309, in user_main
errcode = main(args)
  File /usr/share/yum-cli/yummain.py, line 178, in main
result, resultmsgs = base.doCommands()
  File /usr/share/yum-cli/cli.py, line 345, in doCommands
self._getTs(needTsRemove)
  File /usr/lib/python2.4/site-packages/yum/depsolve.py, line 101, in 
_getTs
self._getTsInfo(remove_only)
  File /usr/lib/python2.4/site-packages/yum/depsolve.py, line 112, in 
_getTsInfo
pkgSack = self.pkgSack
  File /usr/lib/python2.4/site-packages/yum/__init__.py, line 661, in 
lambda
pkgSack = property(fget=lambda self: self._getSacks(),
  File /usr/lib/python2.4/site-packages/yum/__init__.py, line 501, in 
_getSacks
self.repos.populateSack(which=repos)
  File /usr/lib/python2.4/site-packages/yum/repos.py, line 260, in 
populateSack
sack.populate(repo, mdtype, callback, cacheonly)
  File /usr/lib/python2.4/site-packages/yum/yumRepo.py, line 190, in 
populate
dobj = repo_cache_function(xml, csum)
  File /usr/lib64/python2.4/site-packages/sqlitecachec.py, line 42, in 
getPrimary
self.repoid))
TypeError: Parsing primary.xml error: Start tag expected, '' not found


I tried yum clean all and tried again. same thing.

What do I do?

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


Re: [CentOS] yum install perl-XML-Parser

2010-06-17 Thread Jerry Geis
I edited /etc/yum.repos.d/*

and set enabled=0 on everything except base and updates.
This fixed the issue.


This was stock centos 5.5 x86_64.
I have added no other repos.

jerry


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


Re: [CentOS] yum install perl-XML-Parser

2010-06-17 Thread Les Mikesell
On 6/17/2010 1:28 PM, Jerry Geis wrote:
 When I do the following:  yum install perl-XML-Parser

 I get all these errors.

 Loaded plugins: fastestmirror
 Loading mirror speeds from cached hostfile
   * addons: mirror.sanctuaryhost.com
   * base: centos.cs.wisc.edu
   * extras: mirror.trouble-free.net
   * updates: mirrors.serveraxis.net
 Traceback (most recent call last):
File /usr/bin/yum, line 29, in ?
  yummain.user_main(sys.argv[1:], exit_code=True)
File /usr/share/yum-cli/yummain.py, line 309, in user_main
  errcode = main(args)
File /usr/share/yum-cli/yummain.py, line 178, in main
  result, resultmsgs = base.doCommands()
File /usr/share/yum-cli/cli.py, line 345, in doCommands
  self._getTs(needTsRemove)
File /usr/lib/python2.4/site-packages/yum/depsolve.py, line 101, in
 _getTs
  self._getTsInfo(remove_only)
File /usr/lib/python2.4/site-packages/yum/depsolve.py, line 112, in
 _getTsInfo
  pkgSack = self.pkgSack
File /usr/lib/python2.4/site-packages/yum/__init__.py, line 661, in
 lambda
  pkgSack = property(fget=lambda self: self._getSacks(),
File /usr/lib/python2.4/site-packages/yum/__init__.py, line 501, in
 _getSacks
  self.repos.populateSack(which=repos)
File /usr/lib/python2.4/site-packages/yum/repos.py, line 260, in
 populateSack
  sack.populate(repo, mdtype, callback, cacheonly)
File /usr/lib/python2.4/site-packages/yum/yumRepo.py, line 190, in
 populate
  dobj = repo_cache_function(xml, csum)
File /usr/lib64/python2.4/site-packages/sqlitecachec.py, line 42, in
 getPrimary
  self.repoid))
 TypeError: Parsing primary.xml error: Start tag expected, '' not found


 I tried yum clean all and tried again. same thing.

 What do I do?

Did you ever fix the problem you had earlier with libxml2?  If you 
haven't, it's going to affect everything you try to do with yum.

-- 
   Les Mikesell
lesmikes...@gmail.com



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


Re: [CentOS] yum install perl-XML-Parser

2010-06-17 Thread Mark Pryor


--- On Thu, 6/17/10, Jerry Geis ge...@pagestation.com wrote:

 From: Jerry Geis ge...@pagestation.com
 Subject: [CentOS] yum install perl-XML-Parser
 To: CentOS ML centos@centos.org
 Date: Thursday, June 17, 2010, 11:28 AM
 When I do the following:   
       yum install perl-XML-Parser
 
 I get all these errors.
 
 Loaded plugins: fastestmirror
 Loading mirror speeds from cached hostfile
  * addons: mirror.sanctuaryhost.com
  * base: centos.cs.wisc.edu
  * extras: mirror.trouble-free.net
  * updates: mirrors.serveraxis.net
 Traceback (most recent call last):
   File /usr/bin/yum, line 29, in ?
     yummain.user_main(sys.argv[1:],
 exit_code=True)
   File /usr/share/yum-cli/yummain.py, line 309, in
 user_main
     errcode = main(args)
   File /usr/share/yum-cli/yummain.py, line 178, in
 main
     result, resultmsgs = base.doCommands()
   File /usr/share/yum-cli/cli.py, line 345, in
 doCommands
     self._getTs(needTsRemove)
   File
 /usr/lib/python2.4/site-packages/yum/depsolve.py, line
 101, in 
 _getTs
     self._getTsInfo(remove_only)
   File
 /usr/lib/python2.4/site-packages/yum/depsolve.py, line
 112, in 
 _getTsInfo
     pkgSack = self.pkgSack
   File
 /usr/lib/python2.4/site-packages/yum/__init__.py, line
 661, in 
 lambda
     pkgSack = property(fget=lambda self:
 self._getSacks(),
   File
 /usr/lib/python2.4/site-packages/yum/__init__.py, line
 501, in 
 _getSacks
     self.repos.populateSack(which=repos)
   File
 /usr/lib/python2.4/site-packages/yum/repos.py, line 260,
 in 
 populateSack
     sack.populate(repo, mdtype, callback,
 cacheonly)
   File
 /usr/lib/python2.4/site-packages/yum/yumRepo.py, line 190,
 in 
 populate
     dobj = repo_cache_function(xml, csum)
   File
 /usr/lib64/python2.4/site-packages/sqlitecachec.py, line
 42, in 
 getPrimary
     self.repoid))
 TypeError: Parsing primary.xml error: Start tag expected,
 '' not found
 
 
 I tried yum clean all and tried again. same thing.
 
 What do I do?

there are 2 solutions here. Try the plugin problem fix first.
http://just-another.net/2008/11/22/centos-5-upgrade-and-yum/

-- 
Mark


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


Re: [CentOS] 5.5 gspca

2010-06-17 Thread m . roth
 On 14/06/10 18:58, m.r...@5-cent.us wrote:

 The standalone gspca code is old and deprecated. It's now maintained
as part of the Video4Linux v4l-dvb tree here:

 http://linuxtv.org/
snip
 The main v4l-dvb tree is here - just grab the latest tarball and build
it. Here if you don't see it:

 http://linuxtv.org/hg/v4l-dvb/archive/tip.tar.bz2
snip
 Development work on the gspca branch appears to happen here:

 http://linuxtv.org/hg/~hgoede/gspca/

 before being merged into the main v4l-dvb tree.

 Elrepo.org has a version built for el5 that supports many gspca based
devices:

 http://elrepo.org/tiki/kmod-video4linux
snip
Ok, so I got the src rpm from el repo. Lessee, first I tried rpmbuild, and
that failed, because it *required* xen-devel. So I grabbed the tarfile
from /usr/src/redhat/SOURCES, unbzip2'd it, untar'd it, and did a make.
And ten or so later, I had 265 kernel modules. I don't want or need to
install all of that, so I tried just building gspca, and that failed with
unresolved errors.

Does anyone know if I can just install gspca*.ko, or even some subgroup of
that, or is it dependent on other of the built modules?

Two other notes: on an FC 13 box, I see that gspca literally comes with
the kernel - does anyone have a clue whether part of that subsystem is
available, or is that what I'm looking at, above?

Finally, in googling, I found a UVC that's supposed to deal with most USB
cameras. Does anyone know anything about it, or will I still need gspca?

 mark

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


Re: [CentOS] cpuspeed settings??

2010-06-17 Thread Todd Denniston
ken wrote, On 06/17/2010 10:46 AM:
 
 The problem really is as I first stated.  And the solution-- good
 settings for /etc/sysconfig/cpuspeed-- is really what is needed (at
 least as far as can be discerned at this time).
 

looking in /etc/sysconfig/cpuspeed around MAX_SPEED= they suggest looking in
/sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies

i.e. for me
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies
returns all good settings for the cpu frequencies.
which _for_the_laptop_I_have_ is
170 140 120 100 80 60
Setting either MAX_SPEED=100 or MIN_SPEED=80, and restarting the 
system, has had desired
effect for me, i.e., keep the laptop from locking due to overheat.

However, Nicolas suggestion of messing with UP_THRESHOLD might be better for 
you, or should be done
in addition to messing with MIN_SPEED=
-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Ganglia

2010-06-17 Thread Whit Blauvelt
On Tue, Jun 15, 2010 at 04:07:57PM +0100, Simon Billis wrote:

 Take a look at ganglia - http://ganglia.sourceforge.net/
 
 This may do what you need. 

It's what I've ended up going with. (Munin also looked promising - if I
could get the syntax right to modify its CPU test for individual cores,
which looks quite possible, I just didn't achieve it yet).

A few notes on Ganglia 3.1.7 build/install:

- best complied from source, there are big dependency problems with the
  available rpms 

- dependencies to satisfy before compilation include (among others):
  apr-devel libconfuse libconfuse-devel expat-devel pcre-devel - for the
  libconfuse I went to dag/rpmforge

- the make install stage doesn't fully install, despite a required
  --sysconfdir flag being used. In particular, gmond -t  gmond.conf will
  provide the missing file to add to your config dir for that. The
  ganglia-3.1.7/gmond/modules/conf.d contents should be copied to
  /etc/ganglia/conf.d. Then a line with include
  ('/etc/ganglia/conf.d/*.conf') should be added to gmond.conf. And the man
  pages (in mans and one for gmond.conf in gmond) may be copied
  /usr/share/man/man1 and man5 as appropriate. Also, the init files for
  gmond and gmetad need to be copied to init.d - but at least this, unlike
  the other hand-installation requirements, is documented.

- Beyond that, it's good to change the cluster name = in gmond.conf to
  something appropriate before you start to run. You only need gmetad
  compiled on the system to run the web reporting front end (and it takes an
  configure flag to do that). On other systems just rsycing over the
  /etc/ganglia contents will handle configuration just fine (assuming this
  is a single cluster). The web pages merely require copying to someplace in
  your PHP-capable server's space.

- The multi-core CPU graphing module - the main functionality I was after -
  requires some uncommenting in its conf file to get it going. The PCRE
  section is enough to uncomment, with pcre installed on your system.

It's pretty simple once the dependencies are installed, and the make
install deficiencies are worked around. It gives a _lot_ of graphs
(probably too many, but studying them over time will tell).

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


Re: [CentOS] Ganglia

2010-06-17 Thread Karanbir Singh
On 17/06/2010 23:20, Whit Blauvelt wrote:
 - best complied from source, there are big dependency problems with the
   available rpms 

I find that very hard to believe - to the extent that I don't believe
you at all. Or did you mean to say that its not easy to locate a well
done rpm set for ganglia ?

I've never used ganglia in anger, but know lots and lots of people who
do - its the most used trending tool in the hpc world.

Also, one thing you did'nt mention is that its exceptionally insecure
out of the box, by design. Its meant to be easy to get going and
offloads security to site and network policy since most implementations
run on isolated management networks no where near the internet. So if
you are using it in a situation where you care about who can connect to
our agents and what data is seen over the wires - start by spending a
few hours securing your install.

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


Re: [CentOS] yum install perl-XML-Parser

2010-06-17 Thread Karanbir Singh
On 17/06/2010 20:49, Mark Pryor wrote:
 there are 2 solutions here. Try the plugin problem fix first.
 http://just-another.net/2008/11/22/centos-5-upgrade-and-yum/

Dude, that is just random url spamming in irrelevant situations. Whats
on that webpage has nothing to do with Jerry's problem. Jerry is sitting
behind a broken proxy server, or ( unlikely) hitting a bad mirror which
is returning 404's or has a libxml issue that Les already pointed to.

That traceback is clearly a case of the xml layer in yum not getting
parse-able content, or itself being broken.

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


Re: [CentOS] Ganglia

2010-06-17 Thread John R. Dennison
On Thu, Jun 17, 2010 at 06:20:03PM -0400, Whit Blauvelt wrote:
 
 - best complied from source, there are big dependency problems with the
   available rpms 

Very few packages are ever best compiled from source on an
enterprise distro.

What, specifically, is wrong with the 3.0.7 in EPEL?




John

-- 
Mankind is a single body and each nation a part of that body.  We must
never say What does it matter to me if some part of the world is ailing?
If there is such an illness, we must concern ourselves with it as though we
were having that illness.

Mustafa Kemal Ataturk (1881-1938), founder and first President of the
Republic of Turkey


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


Re: [CentOS] Ganglia

2010-06-17 Thread Joshua Baker-LePain
On Thu, 17 Jun 2010 at 6:51pm, John R. Dennison wrote

 On Thu, Jun 17, 2010 at 06:20:03PM -0400, Whit Blauvelt wrote:

 - best complied from source, there are big dependency problems with the
   available rpms

   Very few packages are ever best compiled from source on an
   enterprise distro.

   What, specifically, is wrong with the 3.0.7 in EPEL?

Well, if you have more than 4TB of RAM in your grid, the memory graph 
wraps.  :)  Other than that, though, it works wonderfully.

That being said, it's trivial to recompile the F13 RPM for 3.1.2 for 
centos-5.

-- 
Joshua Baker-LePain
QB3 Shared Cluster Sysadmin
UCSF
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Ganglia

2010-06-17 Thread Whit Blauvelt
On Fri, Jun 18, 2010 at 12:37:11AM +0100, Karanbir Singh wrote:
 On 17/06/2010 23:20, Whit Blauvelt wrote:
  - best complied from source, there are big dependency problems with the
available rpms 
 
 I find that very hard to believe - to the extent that I don't believe
 you at all. Or did you mean to say that its not easy to locate a well
 done rpm set for ganglia ?

I should care what you believe? Stay ignorant, if you like. If not, take a
CentOS system, add the EPEL repository for ganglia, try yum install
ganglia, and prepare to see all sorts of package conflicts. Plus it's not
the current ganglia anyway. Better to build from tar.

 I've never used ganglia in anger, but know lots and lots of people who
 do - its the most used trending tool in the hpc world.

What the heck do you mean, used ganglia in anger? That's just incoherent.
I'm happy with it. It's working nicely now. But the make install scripting
is buggy, so I posted what I've learned about working around that.

 Also, one thing you did'nt mention is that its exceptionally insecure
 out of the box, by design. Its meant to be easy to get going and
 offloads security to site and network policy since most implementations
 run on isolated management networks no where near the internet. So if
 you are using it in a situation where you care about who can connect to
 our agents and what data is seen over the wires - start by spending a
 few hours securing your install.

I did't say my notes were a full article on it! My implementation is, as you
suggest, far from the internet. I'll be happy to discuss firewalling and
network segmentation if those questions come up. 

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


Re: [CentOS] Ganglia

2010-06-17 Thread Whit Blauvelt
On Thu, Jun 17, 2010 at 06:51:52PM -0500, John R. Dennison wrote:

   Very few packages are ever best compiled from source on an
   enterprise distro.
 
   What, specifically, is wrong with the 3.0.7 in EPEL?

Um, that yum install ganglia produces a long list of package conflicts on
a current CentOS system? Or that only 3.1.7 has a fully working multicpu
module, plus a number of significant bug fixes?

If there were a good CentOS build of 3.1.7 I'd happily use it. But getting
stuff from EPEL, which is essentially Redhat testing, is as silly as mixing
stuff from Debian testing into Debian stable, as far as enterprise systems
go. On the other hand, I've run a number of enterprise systems on Gentoo.
I'm sure the compiling of everything from source there gives you absolute
horrors. But those systems treated me well for years. Now I'm in a mixed
Ubuntu/CentOS environment, and I stay with distro packages ... until I
don't. When there's a specific program that I need compiled with different
options or whatever, well, I've been a Linux sysadmin since '93. I kind of
know what I'm doing.

What's with you kids these days? Compiling something from tar isn't going to
blow things up. At least it's never bitten me, in 17 years. 

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


Re: [CentOS] Ganglia

2010-06-17 Thread John R. Dennison
On Thu, Jun 17, 2010 at 08:01:02PM -0400, Joshua Baker-LePain wrote:
 
 That being said, it's trivial to recompile the F13 RPM for 3.1.2 for 
 centos-5.

And that would be the proper route to go instead of building
from native source :)




John

-- 
Which is more believable: In the beginning there was God, who created the
universe, or in the beginning there was nothing, which exploded

-- nog


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


Re: [CentOS] Ganglia

2010-06-17 Thread John R. Dennison
On Thu, Jun 17, 2010 at 08:21:00PM -0400, Whit Blauvelt wrote:
 
 Um, that yum install ganglia produces a long list of package conflicts on
 a current CentOS system? Or that only 3.1.7 has a fully working multicpu
 module, plus a number of significant bug fixes?

I just tried a ganglia install from EPEL; absolutely no issues
at all.  Perhaps if you'd bother to actually document these
conflicts one of us might be able to help.  That is if we're
still willing.

I can't speak to your claims of 3.1.7 having bug fixes and
the multicpu issue; but I saw no conflicts with EPEL's 3.0.7.


 If there were a good CentOS build of 3.1.7 I'd happily use it. But getting
 stuff from EPEL, which is essentially Redhat testing, is as silly as mixing

Uh, you've confused EPEL and Fedora apparently.

 stuff from Debian testing into Debian stable, as far as enterprise systems
 go. On the other hand, I've run a number of enterprise systems on Gentoo.
 I'm sure the compiling of everything from source there gives you absolute

Gentoo is fine for a toy os.  Claiming Gentoo is enterprise is
just silly.

 horrors. But those systems treated me well for years. Now I'm in a mixed
 Ubuntu/CentOS environment, and I stay with distro packages ... until I
 don't. When there's a specific program that I need compiled with different
 options or whatever, well, I've been a Linux sysadmin since '93. I kind of
 know what I'm doing.

If you say so.

 What's with you kids these days? Compiling something from tar isn't going to
 blow things up. At least it's never bitten me, in 17 years. 

Kids?  Heh.  17 years?  Heh.  You're a youngster.  Let me know
when you've got 25+ years in the industry and then I might be
impressed :)




John

-- 
Anybody can win unless there happens to be a second entry.

-- George Ade (1866 - 1944), American writer, newspaper columnist,
and playwright


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


Re: [CentOS] Ganglia

2010-06-17 Thread John R. Dennison
On Thu, Jun 17, 2010 at 08:09:11PM -0400, Whit Blauvelt wrote:
 
 I should care what you believe? Stay ignorant, if you like. If not, take a
 CentOS system, add the EPEL repository for ganglia, try yum install
 ganglia, and prepare to see all sorts of package conflicts. Plus it's not
 the current ganglia anyway. Better to build from tar.

Is this vitriol really necessary?  I installed ganglia; not a 
single conflict.

If you want shiny and new, why not do it properly and build
rpms?




John

-- 
He who knows that enough is enough will always have enough.

-- Lao-Tzu (BC 600-?), Chinese philosopher, founder of Taoism


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


Re: [CentOS] Disabling services in CentOS 5.5

2010-06-17 Thread Ski Dawg
Mark, John, and Miguel,

Thank you for the information. I will take all of this into
consideration with the rest of my research. I do appreciate your
feedback and help.
-- 
Doug

Registered Linux User #285548 (http://counter.li.org)

Never trust a computer you can't throw out a window.
   -- Steve Wozniak



On Wed, Jun 16, 2010 at 3:06 PM, Ski Dawg cen...@skidawg.org wrote:
 Hello all,

 I have been doing some searching for information about disabling
 services within a CentOS 5.5 install. I have found a few different
 opinions, and wanted to ask for some feedback.

 First off, the system is running a LAMP stack to serve a web
 application. It will only be doing email to send occasional messages
 out (sent via the application only). It will not be receiving email
 for any users. It is an CentOS 5.5 (fully updated) install running
 under VMware (esx, I believe). We are not sharing directories via nfs
 or samba (either from or to this virtual machine).

 From my research, the services that I am thinking of turning off are:
 nfs (already off)
 nfslock
 portmap
 rpccgssd
 rpcidmapd
 rpcsvcgssd
 apcid
 apmd
 mdmpd
 mdmonitor

 Is there any reason that I need to leave any of these services
 running? Are there others that I should disable as well?

 Any feedback about this would be greatly appreciated.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Disabling services in CentOS 5.5

2010-06-17 Thread Eero Volotinen
www.cisecurity.org/tools2/linux/CIS_RHEL5_Benchmark_v1.1.pdf

contains very good paper how to harden centos/rhel installation.

--
Eero,
RHCE
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos