Re: [CentOS] When will CentOS Publish Errata?

2015-01-02 Thread Steven Crothers
David,

The CentOS team has taken the stance that they do not understand what
is required for this, so, they will not be including it under any
circumstances.

I am unable to locate the thread in the archive:
http://lists.centos.org/pipermail/centos-devel/2014-September/thread.html

However, luckily, Gmane archives everything just fine.
http://thread.gmane.org/gmane.linux.centos.devel/12370/focus=12375

In the third reply from KB, he states:
"ok, so the updateinfo content - we can carry that, where would the
data come from ?"

So it may be possible he doesn't understand where the Errata is
located currently (in the mailing list), so I think someone just needs
to step up and do the work for CentOS in incorporating the Errata,
but, Johnny handles that and the work he does isn't documented to the
public. So, we're a little in the dark on where/how he sets up the
announce list anyways. But, that's how it's always been with the
CentOS project, the gears are kept private the product is made public.

Realistically, it would probably be easier to fork the repositories
under a different name, create your own mirrorlist and point back at
the mirrors for your RPM sources.
Steven Crothers
steven.croth...@gmail.com


On Wed, Dec 24, 2014 at 12:48 AM, Somers-Harris, David | David | OPS
 wrote:
> Hello,
>
> Currently The CentOS project publishes errata on its CentOS Announce mailing 
> list. In order to import this into a package management system (like Katello 
> on The Foreman), one needs to parse the mailing list and convert it into XML 
> before importing it. This is done to some extent on 
> http://cefs.steve-meier.de/ but some more legwork needs to be done before The 
> Foreman can understand the errata like it does natively for RHN.
>
> I have heard rumour that The CentOS project is planning to publish Errata in 
> the same way that Red Hat does, but I haven't been able to find anything on 
> the Internet about this. Does anybody know if The CentOS Project has indeed 
> declared such intention, and when they plan to do this?
>
> Side Note: Interestingly enough, I've noticed that EPEL has started to add 
> errata data to their repositories.
>
> Thanks,
> David
> ___
> 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] iSCSI Question

2012-11-17 Thread Steven Crothers
DRBD is not active/active. I cannot utilize both server's as an active
session. DRBD replication latency will, in-fact, break my storage.

I do not want active/passive or "hot-standby" failover... DRBD is offtopic
from my original post, as it is not the correct solution.

Steven Crothers
steven.croth...@gmail.com



On Sun, Nov 18, 2012 at 12:07 AM, Digimer  wrote:

> On 11/17/2012 10:40 PM, John R Pierce wrote:
> > On 11/17/12 6:58 PM, Steven Crothers wrote:
> >> On Sat, Nov 17, 2012 at 6:23 PM, Digimer  wrote:
> >>
> >>>> You could take two nodes, setup DRBD to replicate the data
> >>>> (synchronously), manage a floating/virtual IP in pacemaker or
> rgmanager
> >>>> and export the DRBD storage as an iSCSI LUN using tgtd. Then you can
> >>>> migrate to the backup node, take down the primary node for maintenance
> >>>> and restore with minimal/no downtime. Run this over mode=1 bonding
> with
> >>>> each leg on two different switches and you get network HA as well.
> >>>>
> >> There is nothing active/active about DRBD though, it also doesn't solve
> the
> >> problem of trying to utilize two heads.
> >>
> >> It's just failover. Nothing more.
> >>
> >> I'm looking for an active/active failover scenario, to utilize the
> multiple
> >> physical paths for additional throughput and bandwidth. Yes, I know I
> can
> >> add more nics. More nics doesn't provide failover of the physical node
> >
> >
> > any sort of active-active storage system has difficult issues with
> > concurrent operations ...
>
> Exactly what is discussed here, as linked in my other reply;
>
>
> http://fghaas.wordpress.com/2011/11/29/dual-primary-drbd-iscsi-and-multipath-dont-do-that/
>
> --
> Digimer
> Papers and Projects: https://alteeve.ca/w/
> What if the cure for cancer is trapped in the mind of a person without
> access to education?
> ___
> 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] iSCSI Question

2012-11-17 Thread Steven Crothers
On Sat, Nov 17, 2012 at 6:23 PM, Digimer  wrote:

> You could take two nodes, setup DRBD to replicate the data
> (synchronously), manage a floating/virtual IP in pacemaker or rgmanager
> and export the DRBD storage as an iSCSI LUN using tgtd. Then you can
> migrate to the backup node, take down the primary node for maintenance
> and restore with minimal/no downtime. Run this over mode=1 bonding with
> each leg on two different switches and you get network HA as well.
>

There is nothing active/active about DRBD though, it also doesn't solve the
problem of trying to utilize two heads.

It's just failover. Nothing more.

I'm looking for an active/active failover scenario, to utilize the multiple
physical paths for additional throughput and bandwidth. Yes, I know I can
add more nics. More nics doesn't provide failover of the physical node.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iSCSI Question

2012-11-17 Thread Steven Crothers
On Sat, Nov 17, 2012 at 12:34 AM, Ian Pilcher  wrote:

>
> There's a reason that those proprietary vendors are able to charge big
> $$$ for this functionality.
>

That's the truth... I was hoping they were based off some open source
implementation of iSCSI somewhere.

I mean I could probably dedicate a single machine to run iSCSI and just
schedule downtime, but that's something I wanted to avoid.

I've been looking at something like Open-E, but it's active/passive with
what is essentially a DRBD link between them. Again, not ideal. Speaking of
which, why do people rely so much on DRBD for LAN deployments lately?
Everyone always seems to cheap out and setup
DRBD/Pacemaker/Heartbeat/*insert some HA software here* instead of using
proper clustered file systems. DRBD to me has always screamed WAN
replication. Maybe I just don't put enough value in it, who knows.

Anyway, back to my hunt for a way to implement my Ceph cluster on Windows
2008.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] iSCSI Question

2012-11-16 Thread Steven Crothers
Hey everyone,

Is anybody aware of a /true/ active/active multi-head and multi-target
clustered iSCSI daemon?

IE:

Server 1:
Hostname: host1.test.com
IP Address: 10.0.0.1

Server 2:
Hostname: host2.test.com
IP Address: 10.0.0.2

Then they would utilize a CLVM disk between them, let's call that VG "disk"
and then directly map each LUN (1,2,3,4,etc) to LV's named 1,2,3,4,... and
so on.

That would essentially make both host1 and host2 identical iSCSI targets.
So I could hook up 30 servers to each LUN on each host1 and host2 (assuming
those block devices had a cluster aware filesystem on them).

However, what I wan't to accomplish is true active/active MPIO utilizing
the dm driver to combine LUN 1 from both host1 and host2 as a single
/dev/dm-0 device in active/active mode.

This would allow me to multipath across multiple fabrics, develop true high
availability and increase my throughput significantly.

Any idea of an iscsi tgtd that supports this? As far as I can tell, none do
(that I can find). I know some proprietary vendors have this type of
functionality, which may or may not be using iSCSI code (but that's a whole
set of arguments for later..).

Ultimately, my goal is this.

I want to take my existing Ceph cluster, expose a handful of RBDs from it
to two iSCSI heads running C6 or RHEL6 or what have you, so I can use my
inexpensive storage built on Linux -- for my Windows 2008 machines.

Thoughts?


Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] your advice on backup procedure

2012-03-23 Thread Steven Crothers
Snapshot the lvm and rsync it to your house. Then wipe out the snap.
Seems easiest. Though it won't be the best for things like running
databases.

Sent from my iPhone

On Mar 23, 2012, at 8:20 PM, Bob Hoffman  wrote:

> Hello all,
> I am down to my last hurdle of my project, backups.
> I am thinking of three different ways to go and wanted to ask for input
> on what you think is the better choice.
> Not asking for 'how to' but more of 'what is best in your experience'
>
> The scenario...
> centos server acting as a virtual host. Virtual machines are webservers
> and dns servers. All on one machine, all running centos 6.
> Virtual machines are kvm, sitting in lvm storage.
>
> What I want to do..
> auto backups of the virtual machines to be stored on the virtual host's
> extra drives for later download to my home computer.
>
> Many backup solutions and programs seem centered on a network of
> computers with file sharing. I do not have this and don't think I want
> to go that way on my host.
>
>
> My three thoughts, not sure which one to pursue...
> (involves certain folders, /home/ (which includes maildir), /var/www/,
> /mysqlhotcopys and bin files, and maybe a few more. I can rebuild the
> comp pretty quick and then restore, or maybe just do one big backup of
> each server, then work on the folders as a solution)
>
> 1- Amanda. I do not know much about it or how it would deal with mysql
> databases, but it look promising. I do not have a NFS in place on any of
> the installs.
>
> 2- rsnyc - some kind of rsync going from the host to each machine,
> putting it on the host's backup drives. Adding a mysql hotcopy of some
> kind on the VMs, along with bin files, saved to a special folder that
> will then be part of the rsync. Once a week full of both rsync and
> mysqlcopy, then incremental daily.
>
> 3- Use kpartx ? and access the lvm the VM is on to rsync internally on
> the host, ditto above with the mysql copy/bin setup.
>
> Number 3 seems like it is the securest way, but obviously not much info
> out there on it.
> Number 2 seems like the 'old way' and will require some real work to get
> it right
> number 1 looks good, but do not really know anything about it.
>
> Which way would you go, or do you have a different way you like better?
> ___
> 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] Secure a python http server

2011-08-30 Thread Steven Crothers
You wrote the application... nobody can tell you how to secure code they've
never seen.

On Tue, Aug 30, 2011 at 1:16 PM, admin lewis  wrote:

> Hi,
> I want to make secure my python http server.. what should i use ?
> chroot ? there are something more secure ?
> On my centos server I've SE enabled..then .. sandboxing ?
> Thanks very much
> lewis
>
>
> --
> Linux and Windows 2003/2008 Server.
> http://predellino.blogspot.com/
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help integrating CentOS 6 with existing network login infrastructure

2011-08-26 Thread Steven Crothers
Are they logging in locally or via SSH?

If they are logging in via SSH you can probably increase the verbosity of
that and SSH usually has some pretty great messages.

On Thu, Aug 25, 2011 at 11:49 AM, Alfred von Campe wrote:

> I've updated my kickstart configuration files to work with CentOS 6 and am
> most of the way there integrating a CentOS 6 system into our LDAP/NIS
> environment.  My authconfig line in the kickstart file is as follows:
>
>  authconfig --enablemd5 --passalgo=sha512 --enablenis --nisdomain=XXX
> --nisserver=nis.XXX.com --useshadow --enablekrb5 --krb5realm=XXX.COM--krb5kdc=
> ldap.XXX.com --krb5adminserver=ldap.XXX.com
>
> This is virtually identical to the authconfig line I was using in CentOS 5.
>  My issue is that users cannot log in with their network (NIS) usernames and
> passwords.
>
> If I log in as root, I can do a "su - username" and get the user's
> automounted home directory with the correct uid/gid, but if I try to log in
> as the user, or do a "su - username" as a non-root user and have to enter
> the password, authentication always fails.
>
> The entries in /var/log/secure just say "su: pam_unix(su-l:auth):
> authentication failure".  I'm not a pam expert and don't know how to debug
> this.  Anyone else run into this and/or know what might be the problem? This
> works just fine in CentOS 5.
>
> Alfred
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Where can I download centos 6

2011-07-08 Thread Steven Crothers
How is the site excellent if it changes nearly every other day, displays
zero useful information on the development cycle, and discourages people to
register and be a part of the community or development process (Now before
anyone says its not a development cycle and its only "repackaging" you're
full of crap. You're linkedin says you're developing, so that will no longer
fly).

It's the most closed source project for open source software I've ever seen.

It's a lack of responsibility, if you don't want to make a commitment, move
over; don't keep playing it up like you're doing something positive.

Thankfully some good things have come of this complete disaster that is
CentOS 6.
* Scientific Linux 6
* Oracle Enterprise 6 (Which is free to download folks)
* Clear-OS Core (Which is ran by a professional organization instead of a
group if you're into that)

On Fri, Jul 8, 2011 at 2:52 PM, Florin Andrei wrote:

> On 07/08/2011 01:48 AM, Nicolas Thierry-Mieg wrote:
> >
> > right, there is a website with status updates, and Jeff and others are
> > doing a great job at keeping it up to date (thanks!).
> > http://qaweb.dev.centos.org/qa/dashboard
>
> This site is excellent. Now, if I could only adjust the time zone
> displayed to match my own, so as to make more sense of the timestamps on
> the various posts in there, that would be perfect. :)
>
> --
> Florin Andrei
> http://florin.myip.org/
> _______
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Power-outage

2011-07-04 Thread Steven Crothers
Hook up ethernet, if its not POE, you plug it in, attach all the various usb
cables, vga, serial, ps/2, ect ect to the server and let it hang. When your
server is unresponsive just go ahead and hit the IP you assigned to your
Spider, and you get a full console, virtual media, mass storage emulation,
and the ability to mount samba shares and what not into it.

On Sun, Jul 3, 2011 at 3:00 AM, Timothy Murphy  wrote:

> Steven Crothers wrote:
>
> > You should invest in a Spider KVM or similar, they hang off the back and
> > don't use any rack space. They can also be POE, so they wont use a plug.
> > That'll provide you out of band management and remote reboots and what
> > not.
>
> How exactly would that work?
>
> --
> 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
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Power-outage

2011-07-02 Thread Steven Crothers
You should invest in a Spider KVM or similar, they hang off the back and
don't use any rack space. They can also be POE, so they wont use a plug.
That'll provide you out of band management and remote reboots and what not.

On Fri, Jul 1, 2011 at 7:05 AM, Timothy Murphy  wrote:

> I have a CentOS-5.6 remote server in a house in Italy,
> where there are occasional thunder-storms.
>
> There was one yesterday, when the electricity
> went off 3 times, for a second or so on each occasion.
>
> My server, an HP MicroServer,
> came back (re-booted) on 2 of the 3 occasions,
> but not on the third.
>
> I assume that the problem arises because the machine
> does not close down properly.
> (Although it is also possible that a voltage surge
> might have been responsible -
> I have no surge protector on this supply.)
>
> It seems to me that it should be possible
> to have a simple, torch-battery operated, system
> which will keep the machine alive long enough
> to make a graceful exit.
> A full-blown UPS would be excessive, I think,
> as I only want the machine to re-boot
> when the current comes back on.
>
> I know there is a Remote Management (iLO) card
> for this machine, which might be useful for this.
> Unfortunately, I've already used the PCIe slot
> for a second ethernet card.
>
> Any advice or suggestions gratefully received.
>
> --
> 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
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C6 LiveCD top 5 apps

2011-06-11 Thread Steven Crothers
On Sat, Jun 11, 2011 at 5:33 PM, Ljubomir Ljubojevic wrote:

> Hm, I failed to change epel, centosplus and elrepo repositories to
> official ones. I guess I am going to pay for that if more people start
> using it without changing them to official ones. Oh well...
>
> Ljubomir
>

Technically not your fault, there's not enough organization in the project
to prevent an easily overlooked mistake like that from hitting the public.

You could release your work to something like Github, but I'm sure the
CentOS team doesn't want that...

-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ClearOS rebuild

2011-06-03 Thread Steven Crothers
On Thu, Jun 2, 2011 at 7:57 PM, Ian Murray  wrote:
> Thanks for the link. It makes interesting listening because there are claims
> that they tried to engage with the CentOS devs to offer support and 
> resourcing,
> but that relationship was not forthcoming... so they intend to build (as I see
> it) a direct competitor distribution (i.e. "binary compatible"). Also
> interestingly, apparently they have recruited help from the SME/Contribs 
> people,
> so I don't know if that means SME will die because it had precious little
> resources to start with (and now those resources work for the competition) or
> SME will still carry on and be rebased on Clear Core. Also stated in the audio
> is that this was all a direct response to the uncertainties around CentOS.

There is no such thing as a competitor in open source. Thinking like
that has led to the closed "anti-competitor" and Microsoft style of
"market-share" thinking that takes place on this list. Open source
projects share information (well, most do).

If you want to get into the nitty gritty of it, the ONLY group of
people who deserve ANY credit at all are the Redhat folks. So saying a
product that is released off Redhat's coattails is competing with
another product that is ALSO running off Redhat's coattails is absurd.

A more definitive list would be anyone who has created original
packages. The Redhat folks, EPEL contributors, El'Repo/Rpmforge (Dag
W), and ect. Those are the people who deserve credit, anybody can
download a source rpm and use the Redhat ISO (which is available
easily enough) to rebuild RHEL6. The major deterrent is probably that
type of "competitive market share thinking" you're exhibiting.

-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nfs webroot 403's

2011-06-01 Thread Steven Crothers
John brings up a good point, check selinux with `getenforce`.

Also relevant logs from your httpd logs in /var/log/ would be useful.
Probably a simple solution, most of the ones you tear your hair out
for are. :)

On Wed, Jun 1, 2011 at 10:43 PM, John R Pierce  wrote:
> On 06/01/11 7:22 PM, Tim Dunphy wrote:
>> I'd certainly appreciate any tips you might have. I'm really ripping my hair 
>> out over this one!
>
> is selinux set to enforce ?
>
> --
> john r pierce                            N 37, W 123
> santa cruz ca                         mid-left coast
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] local repo

2011-05-28 Thread Steven Crothers
Marian,

He wanted to disable default repos and enable his private mirror
instead. Your solution would actually not help him. He wants to make
his personal repo the primary repo for fresh installs, which can only
be done in %post since centos-release is going to overwrite it. Using
--disablerepo on a non-existent repo (the problem being expressed)
wouldn't work in this case.

Of course another option is to download the centos-release srpm, and
change the repos built in, or remove the repos entirely and make it
rely on your-repos.rpm or similar. That's probably a little over the
top for what you're looking for though.

On Sat, May 28, 2011 at 2:03 PM, Marian Marinov  wrote:
> On Saturday 28 May 2011 06:03:19 Steven Crothers wrote:
>> You'll have to edit your repos in the %post section of your ks. The
>> repos are provided by centos-release iirc.
>>
>> On Fri, May 27, 2011 at 11:22 AM, Jerry Geis  wrote:
>> > Hi all,
>> >
>> > When I am installing I use kickstart and have a line like:
>> >    repo --name=Updates
>> > --baseurl=http://192.168.1.14/centos/5.6/updates/x86_64/
>> > and that works great for installing the OS.
>> >
>> > After that the machine reboots and I have it automatically go into
>> > additional installations running scripts.
>> > These installations do "yum install XXX".
>> > However, its no longer using my above repo its using the mirrorlist (as
>> > expected).
>> >
>> > My questions are :
>> >
>> > 1) I dont see a way in yum to say "use this repo to install", is there a
>> > way to point to my server in the office
>> > and dont do the mirrorlist.
>> >
>> > 2) Do I just drop a file called CentOS-office in the /etc/yum.repos.d
>> > directory
>> > that looks like this and it will be used first instead of the mirrorlist:
>> >
>> >
>> > [base]
>> > name=CentOS-$releasever - Base
>> > mirrorlist=http://192.168.1.14/?release=$releasever&arch=$basearch&repo=o
>> > s #baseurl=http://192.168.1.14/centos/$releasever/os/$basearch/
>> > gpgcheck=1
>> > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
>> >
>> > #released updates
>> > [updates]
>> > name=CentOS-$releasever - Updates
>> > mirrorlist=http://192.168.1.14/?release=$releasever&arch=$basearch&repo=u
>> > pdates #baseurl=http://192.168.1.14/centos/$releasever/updates/$basearch/
>> > gpgcheck=1
>> > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
>> >
>> >
>> >
>> > I dont want to mess anything up and I want additional package installs
>> > in the office to go faster
>> > in the office. I can remove the file when I am done installing.
>> >
>> > Is there a better way or is this the way to do it?
>> >
>> > jerry
>
> Actually Steven is wrong. You can do
>
> yum install --disablerepo http://192.168.1.14//package.rpm
>
> But I agree with Steven, that the best way is to fix your repos in the post
> section.
>
> Marian
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] local repo

2011-05-27 Thread Steven Crothers
You'll have to edit your repos in the %post section of your ks. The
repos are provided by centos-release iirc.

On Fri, May 27, 2011 at 11:22 AM, Jerry Geis  wrote:
> Hi all,
>
> When I am installing I use kickstart and have a line like:
>    repo --name=Updates
> --baseurl=http://192.168.1.14/centos/5.6/updates/x86_64/
> and that works great for installing the OS.
>
> After that the machine reboots and I have it automatically go into
> additional installations running scripts.
> These installations do "yum install XXX".
> However, its no longer using my above repo its using the mirrorlist (as
> expected).
>
> My questions are :
>
> 1) I dont see a way in yum to say "use this repo to install", is there a
> way to point to my server in the office
> and dont do the mirrorlist.
>
> 2) Do I just drop a file called CentOS-office in the /etc/yum.repos.d
> directory
> that looks like this and it will be used first instead of the mirrorlist:
>
>
> [base]
> name=CentOS-$releasever - Base
> mirrorlist=http://192.168.1.14/?release=$releasever&arch=$basearch&repo=os
> #baseurl=http://192.168.1.14/centos/$releasever/os/$basearch/
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
>
> #released updates
> [updates]
> name=CentOS-$releasever - Updates
> mirrorlist=http://192.168.1.14/?release=$releasever&arch=$basearch&repo=updates
> #baseurl=http://192.168.1.14/centos/$releasever/updates/$basearch/
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
>
>
>
> I dont want to mess anything up and I want additional package installs
> in the office to go faster
> in the office. I can remove the file when I am done installing.
>
> Is there a better way or is this the way to do it?
>
> jerry
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PHP Source

2011-05-26 Thread Steven Crothers
Try pecl, if not and you have sources, you can implement a php wrapper
relatively easily. I've done it before for small things. Assuming the
API is light enough you're talking about a nights worth of Googling,
trial and error.

Some keywords to feed into Google:
phpize, php extension skeleton, create pecl extension

On Thu, May 26, 2011 at 5:40 PM, Ron Young  wrote:
> Thanks Ljubomir,
>
> Just what I needed!
>
> I did not realize that source files would be in rpm files and named src
> instead of *source* or in a source directory.
>
>
> Regards,
>
> Ron Young
> 919-621-9015
> http://www.linkedin.com/in/ronhyoung
>
> +++
> Little tiny dreams require little tiny thoughts and little tiny steps.
> Great big dreams require great big thoughts and little tiny steps.
> +++
> Kosh: The avalanche has already started. It is too late for the pebbles to
> vote.
>
>
>
> On Thu, May 26, 2011 at 4:12 PM, Ljubomir Ljubojevic 
> wrote:
>>
>> Ron Young wrote:
>> > I have a pressing need to compile a utility called odbtp into php on my
>> > new 64 bit machine with an AMD chip that is currently running CentOS
>> > 5.6.
>> >
>> > Where can I find the source files for the CentOS recommended versions of
>> > php.  I have searched the CentOS and related repository sites and can
>> > find php in several places but not the source files.
>> >
>> > Thanks in advance.
>> >
>> http://mirror.centos.org/centos/5/os/SRPMS/
>> http://mirror.centos.org/centos/5/updates/SRPMS/
>> 
>>
>> Ljubomir
>> ___
>> 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
>
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Initial 6.0 trees in QA

2011-05-26 Thread Steven Crothers
On Thu, May 26, 2011 at 2:06 PM,   wrote:
> Me thinks its awesome for the updates, you have no idea how many times
> I've had to defend Centos on other lists.
>
> Kooks saying the project is dead, Dags departure from the dev list is
> the end, blah blah blah.  Just shear nonsense.

Please don't read into my comment of "good move forward" to much. I
still think the CentOS project has allot of growing to do and I
disagree with more things then I agree with at this point. I just see
any step forward into transparency is a good thing, however I think
they could use a good hard look at the Fedora and Debian projects.
Fedora and Debian in my opinion are both superior to the way CentOS
opens community development. Having one developer doing all the
packaging (Johnny) is a waste of resources and intelligence. A simple
repository where we can all contribute to the build cycle would be far
more beneficial in the long run for the project. However, they are
currently worried about people "stealing" their work and starting
their own rebuilds of RHEL, which if that was going to happen it would
have already. The SL team opens their build process and we can get
close enough with Fedora to make a good start.

Some of the developer paranoia needs to go, and more community
involvement needs to happen still. However the QA system is a good
step forward and like I said, hopefully the first of many over the
next few years.

-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Initial 6.0 trees in QA

2011-05-26 Thread Steven Crothers
On Thu, May 26, 2011 at 8:54 AM, Drew  wrote:
> I don't believe you can. My understanding is that CentOS' QA builds
> are internal to the team and those aren't released to the general
> public.
>
> The only reason we know about them is because of changes made by TPTB
> to improve transparency & openness into the state of the build
> process, the hope being that by feeding the community information as
> needed, they can avoid the recent flame-wars.

Which is an excellent step forward, hopefully one of many.

As to the person asking to sync, if you wait a short while you'll be
able to sync off the public mirrors soon enough.

-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.6 PHP 5.3 and SquirrelMail

2011-05-25 Thread Steven Crothers
On Tue, May 24, 2011 at 5:41 PM, John R. Dennison  wrote:
> Dump the CentOS php53 package and use the 5.3 provided by the IUS
> repository.  See http://wiki.centos.org/AdditionalResources/Repositories
> for more information and links to IUS.
>
> CentOS' 5.3 doesn't Provide: php and has some other issues the last time
> I looked.

Why should a PHP 5.3 package provide PHP? To many libs are different,
and it would allow for the installation of something like php-ldap
from base to a php53 which provided the php dependency. That is not
how RPM's are supposed to work. PHP 5.1 is significantly different
enough to warrant a different package. Would you package postgres84 to
satisfy postgres? No, because it would be wrong. A more correct
solution would be to change the dependencies for the cross-php
packages to allow for a php or php53 to satisfy.

-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SSD for Centos SWAP /tmp & /var/ partition

2011-05-24 Thread Steven Crothers
If you're referring to capacitors, I do not believe modern SSD's used
those. Or at least ones I've seen didn't (that I recall).

On Tue, May 24, 2011 at 1:32 PM, Gordon Messmer  wrote:
> On 05/24/2011 09:57 AM, John R Pierce wrote:
>> also you want SSD that has a supercap on its internal cache so pending
>> writes aren't lost in a power failure scenario.
>
> You know, I've asked people about that in the past since the whole block
> read/erase/write cycle seems like a risk in the event of power loss, but
> never got any satisfactory answer.  What manufacturers/models offer that
> feature?  Are most drives with caps clearly labeled?
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.6 PHP 5.3 and SquirrelMail

2011-05-24 Thread Steven Crothers
Why not just install SquirrelMail the old fashioned way?

cd /var/www
wget 
"http://downloads.sourceforge.net/project/squirrelmail/stable/1.4.21/squirrelmail-1.4.21.tar.gz?r=http%3A%2F%2Fsquirrelmail.org%2Fdownload.php&ts=1306258610&use_mirror=superb-sea2";
tar xvzf squirrelmail-1.4.21.tar.gz

Done.

On Tue, May 24, 2011 at 1:00 PM, John Hinton  wrote:
> OK, so I did an upgrade to PHP 5.3 on one of my servers. I noticed the
> uninstall of php also removed SquirrelMail and it won't install under
> PHP 5.3. Has anybody worked this out with a good RPM or repo solution?
>
> --
> John Hinton
> 877-777-1407 ext 502
> http://www.ew3d.com
> Comprehensive Online Solutions
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: RHEL 6.1 is out

2011-05-22 Thread Steven Crothers
I think you're missing the point, if you read between the lines, the
complaint I see is that CentOS (Community Enterprise Operating System)
is not community based whatsoever. Displaying the self-righteous
attitude you are doesn't earn you cookie points or make you look like
you're important. What is important is that the CentOS project should
have a different acronym, perhaps the Closed Enterprise Operating
System?

On Sun, May 22, 2011 at 5:57 PM, R P Herrold  wrote:
> customary trolling by Gordon Messmer -- passive agressive,
> implying an unmet obligation
>
>        ex·cuse /ikˈskyo͞os/
>        Noun: A reason or explanation put forward to defend or justify
>        a fault or offense.
>        Verb: Attempt to lessen the blame attaching to (a fault or
>        offense); seek to defend or justify
>
> If CentOS does not meet your needs, Gordon, please use
> something else.  In all cases, please troll elsewhere, if you
> feel you must troll
>
> -- Russ herrold

-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SSD for Centos SWAP /tmp & /var/ partition

2011-05-22 Thread Steven Crothers
> I was running on 3gbps sata bus, and the  performance was great, it
> just dies in one big crash without  giving any clues about it.

If only SSD's were a viable solution for long-term storage, we could
theoretically increase our virtualization many times over. It's to bad
the technology hasn't come far enough to be used that way though
without costing an arm and leg.

-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SSD for Centos SWAP /tmp & /var/ partition

2011-05-21 Thread Steven Crothers
That's expensive, don't know about you but I don't factor in drives to
be dead within 3-4 months of installation for my machines. Running
swap on an MLC SSD will most definitely kill it in 3-4 months. You
expect to get at least 18-36 months out of a drive before it either
dies or requires an upgrade.

500GB Sata disks = $150 for good ones, that's $150 every 30 months (2
1/2 years).

A CHEAP OCZ MLC drive is $100 for 40GB, burn one of those every 4
months and you have to buy 8 in the same 2 1/2 years.

That's a $650 operating increase, or an additional $21/mo for a rented
server before profit mark up. Why not just use what Linux was designed
to use? A regular spinning disk, if you want performance get into Raid
10 with SAS drives. You'll get a significant speed increase at a lower
monthly operating cost due to the longevity of the drives, and you can
avoid all that pesky restore from backup situation 4 times a year.

Lets face it, a var partition goes and you're gonna have a hard time
starting up some services on boot, depending on your setup SSH wont
start. So now you're entering the realm of remote hands and eyes fees,
and at minimum that's going to be $50/hr with a hefty commit (if
you're in a quality datacenter of course).

On Sat, May 21, 2011 at 9:22 PM, Eero Volotinen  wrote:
>> It's really neat when an OCZ drive fails, it doesn't tick. You just
>> lose all your data. Here today, gone tomorrow.
>
> Just swap drive and restore from backup, no problem ?
>
> --
> Eero
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] scsi3 persistent reservations in cluster storage fencing

2011-05-21 Thread Steven Crothers
You might be able to go a simpler route, try building a GFBD between
them and sharing the storage that way. I personally have never tried
it, but that might give you the HA you're looking for while staying
withing the CentOS/Upstream packaging. One added benefit is the
ability to scale vertically and horizontally with a setup like that
with failover and quorum. Heck, toss in a little heartbeat scripting
and you could call it an auto-healing storage cloud.

Good luck!

On Fri, May 20, 2011 at 5:28 PM, John R Pierce  wrote:
> I'm interested in the idea of sharing a bunch of SAS JBOD devices
> between two CentOS servers in an active-standby HA cluster sort of
> arrangement, and found something about using scsi3 persistent
> reservations as a fencing method.    I'm not finding a lot of specifics
> about how this works, or how you configure two initiator systems on a
> SAS chain.   I don't have any suitable hardware for running any tests or
> evaluations yet.
>
> general idea:  2 centos servers each with 8 port external SAS cards (2
> x4), cascaded through a SAS box-o-disks with a whole bunch of SAS dual
> ported drives, to implement high availability large nearline
> storage.       all storage configured as JBOD, using linux md raid or
> lvm mirroring. drives should only be accessible by the currently active
> server, with heartbeat managing the fencing.
>
> here's a hardware block diagram
> http://freescruz.com/shared-sas.jpg
>
>
> This is about the only details I've found on scsi persistant
> reservations and linux HA
> http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Configuration_Example_-_Fence_Devices/SCSI_Configuration.html
>
> One question I have is: how well will this scale with several strings of
> 100 SAS drives on the same HA pair of servers?
>
> Can SAS storage instead be fenced at the SES/expander level rather than
> having to use reservations with each separate drive?
>
> --
> john r pierce                            N 37, W 123
> santa cruz ca                         mid-left coast
>
> _______
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SSD for Centos SWAP /tmp & /var/ partition

2011-05-21 Thread Steven Crothers
On Sat, May 21, 2011 at 6:29 PM, yonatan pingle
 wrote:
> if you use the SSD for swap, don't put anything important on them, I
> have managed to destroy a drive which was used for heavy swap
> operations.
> (insane experiment with KVM virtual machines got to that situation ).
> the machines used the drive as RAM. ( that was an intel drive! ).

I have to ask, how was your performance before death? I don't have a
sacrificial SSD laying around so I can't exactly test myself. I
imagine the gains had to be pretty high?

Were you running a 3 or 6 gbps sata bus?

-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SSD for Centos SWAP /tmp & /var/ partition

2011-05-21 Thread Steven Crothers
On Fri, May 20, 2011 at 10:21 PM, Eero Volotinen  wrote:
>
> Just buy fastest ocz drive than you can find from stores.
>
> --
> Eero

Simply buying OCZ because its cheap is wrong. OCZ drives use MLC
flash, I'm sure you know the difference between single level cells and
multiple level cells since you are making a product recommendation.
However in case you don't, your statement is incorrect. Using an OCZ
drive as swap is probably the worst thing you can do to it, when you
add in the fact you're also running some caches from var on it with
ext3... Well the results will not be pleasant in 1-2 years to say the
least.

It's really neat when an OCZ drive fails, it doesn't tick. You just
lose all your data. Here today, gone tomorrow.

-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Web based file versioning frontend

2011-05-20 Thread Steven Crothers
You could perhaps start your search surrounding inotify type monitors
and tie them into some auto-commit...

Something like what you're doing may run the realm of custom coding.

Sorry I can't be of more help.

On Fri, May 20, 2011 at 2:16 PM, Joseph L. Casale
 wrote:
>>Git and Gitweb?
>
> Thought of that, is there anything that can monitor for changes so I can
> avoid a commit command for every script, as they all dump to an already
> well organized tree, I was hoping to monitor the top level dir for changes
> and have it commit as they appear.
>
> Something like that exist?
>
> Thanks!
> jlc
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Web based file versioning frontend

2011-05-20 Thread Steven Crothers
Git and Gitweb?

On Fri, May 20, 2011 at 12:22 PM, Joseph L. Casale
 wrote:
> Hey guys,
> Need an opinion on what to use for file versioning text conf files that get 
> updated by
> scheduled rsync's etc. Need something that can watch the file, so it doesn't 
> need an
> explicit checkin, and can be diffed by a web front end.
>
> I haven't any preference on backend either.
>
> Thanks for any suggestions,
> jlc
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] xferlog not rotating.

2011-05-20 Thread Steven Crothers
It's a bit funny that logrotate is difficult to fix for you...
considering you have "System Engineer Sr. Professional" in your
signature...

/var/log/xferlog {
missingok
notifempty
compress
rotate 5
size 1024k
yearly
create 0600 root root
}

Modify to suit your needs.

On Fri, May 20, 2011 at 9:25 AM, Patricia A Moss  wrote:
>
> I am not sure how to correctly troubleshoot this.  I just noticed that my
> /var/log/xferlog file is huge.  There are no files in /etc/logrotate.d/ for
> xferlog. This is what leads me to believe that it isnot rotating. Or perhaps
> I do not have it set to rotate. I am not sure.
>
> I am running CentOS release 5 (Final).
> Can someone tell me what I, apparently, do not have configured correctly.
>  Thank you.
>
>
> PATI MOSS
> System Engineer Sr. Professional
> CSC
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS-QA Mailing List

2011-05-13 Thread Steven Crothers
Does anybody know why this list is private and password protected? It
would be nice to see progress, but it appears that part of the
development is completely locked down and not open source.

-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Drive recovery?

2011-05-10 Thread Steven Crothers
Or ddrecovery to another disk?

On Tue, May 10, 2011 at 2:28 PM, Steve Clark  wrote:
> On 05/10/2011 02:24 PM, Ashley M. Kirchner wrote:
>
>  I have a CentOS 5.6 system (recently installed) that, for some
> reason, has decided to mangle one of its drives, specifically /dev/hde1
> ...  No errors anywhere, just rebooted the machine over the weekend and
> it's gone.  Up till the reboot, the drive was fine, I was writing to it
> without a problem.
>
>  fdisk tells me:
>
> --
> # fdisk -l /dev/hde
>
> Disk /dev/hde: 160.0 GB, 160041885696 bytes
> 240 heads, 63 sectors/track, 20673 cylinders
> Units = cylinders of 15120 * 512 = 7741440 bytes
>
> Device Boot  Start End  Blocks   Id  System
> /dev/hde1   *   1   20673   156287848+  83  Linux
> --
>
>  There are no hardware errors in the boot log (dmesg).  The only
> error is that it can't find the ext3 fs that was on that drive.
> Unfortunately, it's not a drive I can simply reformat and call it a
> day.  There's data on it I need.
>
>  When I try to mount it, I get: hfs: unable to find HFS+
> superblock.  Obviously that's not right as the drive was formatted as an
> ext3.  So if I force it, I get this:
>
> --
> mount -t ext3 /dev/hde1 /mnt/hde1
> mount: wrong fs type, bad option, bad superblock on /dev/hde1,
> missing codepage or other error
> In some cases useful info is found in syslog - try
> dmesg | tail  or so
> --
>
>  So, is this just an indication that the partition table is hosed?
> Is there anything, any tool, any way of reading the data off of this
> drive and put it elsewhere?
>
> Have you tried using an alternate superblock?
>
> --
> Stephen Clark
> NetWolves
> Sr. Software Engineer III
> Phone: 813-579-3200
> Fax: 813-882-0209
> Email: steve.cl...@netwolves.com
> http://www.netwolves.com
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Syntax Help on a Bash Script

2011-05-03 Thread Steven Crothers
Possibly an invisible character. Delete the entire line with "then"
and re-type it. That error seems odd.


On Wed, May 4, 2011 at 12:33 AM, Robert  wrote:
> Hi All,
>
> I'm brand new at doing anything linux and would like feedback on this
> script I'm trying to understand from an example I'm working on..
>
> Oh, running Centos 5.6
>
> Anyhow, I run this bash script:
>
> #!/bin/bash
> # send data to the table in the MySQL database
>
> MYSQL='which mysql'
>
> if [ $# -ne 4 ]
> then
>      echo "Usage: mtest4 empid lastname firstname salary"
> else
>      statement="insert into employees values ($1, '$2','$3', $4)"
>      $MYSQL test << EOF
>      $statement
> EOF
>      If [ $? -eq 0 ]
>      then
>           echo "Data successfully added"
>      else
>           echo "Problem adding data"
>      fi
> fi
>
>
> and here is the error I get:
>
> [Bobster@localhost ~]$ ./mtest4 5 Johnson John 12
> ./mtest4: line 15: syntax error near unexpected token `then'
> ./mtest4: line 15: `     then'
>
> Thanks in advance for any inputs.
>
> Bobster
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] libpq.so.4 missing

2011-05-03 Thread Steven Crothers
mod_auth_postgresql (or similar, can't remember)

On Tue, May 3, 2011 at 9:57 PM, James A. Peltier  wrote:
> - Original Message -
> | On 05/03/2011 04:36 PM, James A. Peltier wrote:
> | > - Original Message -
> | > | On 05/03/11 1:50 PM, James A. Peltier wrote:
> | > | > Anyone else seeing this when trying to install httpd? My mirror
> | > | > is
> | > | > completely up to date and the machine is a fresh install of
> | > | > CentOS
> | > | > 5.6
> | > |
> | > | /usr/lib/libpq.so.4 should be a symlink to libpq.so.4.1, which is
> | > | provided by postgresql-libs
> | > |
> | > | now, I'm running a newer postgres from the yum.postgresql.org
> | > | repository, they provide libpq.so.4 via compat-postgresql-libs
> | >
> | >
> | > I don't have PostgreSQL installed. I have no need for it to be
> | > installed.
> | >
> | > I have run a yum -y clean all on the host which has only @core
> | > installed and some necessary packages to build torque and maui
> | >
> | > I have tried to run yum -y install httpd no third party repositories
> | > enabled and it fails with the error described earlier. I even tried
> | > with
> | >
> | >    yum -y install httpd --disablerepo=* --enablerepo=base
> | >
> | > no dice. I'm trying a different mirror on a VM just to be sure it's
> | > not me
> | >
> |
> | Do you have any "exclude=" items in your
> | /etc/yum.repos.d/CentOS-Base.repo or your /etc/yum.conf file ...
> | specifically is postgresql-libs (or postgresql*) excluded?
>
> Yup!  That was it.  Looks like someone went and update the package sources to 
> include exclude=postgresql*, but why does Apache need postgresql-libs anyway?
>
> --
> James A. Peltier
> IT Services - Research Computing Group
> Simon Fraser University - Burnaby Campus
> Phone   : 778-782-6573
> Fax     : 778-782-3045
> E-Mail  : jpelt...@sfu.ca
> Website : http://www.sfu.ca/itservices
>          http://blogs.sfu.ca/people/jpeltier
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] libpq.so.4 missing

2011-05-03 Thread Steven Crothers
Out of curiosity do you have any postgrestuff installed at all?

rpm -qa | grep postgre

Possible scenario:
You have an rpm installed "providing" the lib, but the lib is now
missing for whatever reason.

*shrugs*

It's hard to diagnose issues over email.

On Tue, May 3, 2011 at 6:12 PM, John R Pierce  wrote:
> On 05/03/11 2:36 PM, James A. Peltier wrote:
>> I don't have PostgreSQL installed.  I have no need for it to be installed.
>
> Well, if you loaded any of the following packages, they require
> postgresql-libs...
>
> $ rpm -q --whatrequires libpq.so.4
> dovecot-1.0.7-7.el5
> apr-util-1.2.7-7.el5_3.2
> perl-DBD-Pg-1.49-2.el5_3.1
> php-pgsql-5.2.10-1.el5.centos
>
> now, postgresql-libs is JUST a few small libraries, probably 250kbyte
> total, so its not that big of a deal, and for sure, this does NOT
> include the postgres database SERVER, just the client runtime.
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] libpq.so.4 missing

2011-05-03 Thread Steven Crothers
"Your" mirror? Try another mirror perhaps?

On Tue, May 3, 2011 at 4:50 PM, James A. Peltier  wrote:
> Anyone else seeing this when trying to install httpd?  My mirror is 
> completely up to date and the machine is a fresh install of CentOS 5.6
>
> Loaded plugins: fastestmirror, priorities
> Loading mirror speeds from cached hostfile
> Excluding Packages from CentOS-5 - Base
> Finished
> Excluding Packages from CentOS-5 - Updates
> Finished
> 7 packages excluded due to repository priority protections
> Setting up Install Process
> Resolving Dependencies
> --> Running transaction check
> ---> Package httpd.x86_64 0:2.2.3-45.el5.centos set to be updated
> NSG/filelists                                                                 
>                                                                               
>                                                                               
>                                                             | 157 kB     00:00
> addons/filelists                                                              
>                                                                               
>                                                                               
>                                                             |  197 B     00:00
> adobe-linux/filelists                                                         
>                                                                               
>                                                                               
>                                                             | 140 kB     00:00
> base/filelists_db                                                             
>                                                                               
>                                                                               
>                                                             | 4.0 MB     00:00
> extras/filelists_db                                                           
>                                                                               
>                                                                               
>                                                             | 225 kB     00:00
> updates/filelists_db                                                          
>                                                                               
>                                                                               
>                                                             | 1.5 MB     00:00
> --> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd
> --> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd
> --> Running transaction check
> ---> Package apr.x86_64 0:1.2.7-11.el5_5.3 set to be updated
> ---> Package apr-util.x86_64 0:1.2.7-11.el5_5.2 set to be updated
> --> Processing Dependency: libpq.so.4()(64bit) for package: apr-util
> --> Finished Dependency Resolution
> apr-util-1.2.7-11.el5_5.2.x86_64 from base has depsolving problems
>  --> Missing Dependency: libpq.so.4()(64bit) is needed by package 
> apr-util-1.2.7-11.el5_5.2.x86_64 (base)
> Error: Missing Dependency: libpq.so.4()(64bit) is needed by package 
> apr-util-1.2.7-11.el5_5.2.x86_64 (base)
>  You could try using --skip-broken to work around the problem
>  You could try running: package-cleanup --problems
>                        package-cleanup --dupes
>                        rpm -Va --nofiles --nodigest
>
>
> --
> James A. Peltier
> IT Services - Research Computing Group
> Simon Fraser University - Burnaby Campus
> Phone   : 778-782-6573
> Fax     : 778-782-3045
> E-Mail  : jpelt...@sfu.ca
> Website : http://www.sfu.ca/itservices
>          http://blogs.sfu.ca/people/jpeltier
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Steven Crothers
steven.croth...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos