Re: [CentOS] how do export a block device via eSATA?

2011-02-15 Thread Rudi Ahlers
On Tue, Feb 15, 2011 at 9:49 AM, Jeff Hefner  wrote:
> I've started building a JBOD out of a Supermicro case for expanding
> the available storage on my home network. So I have a few comments
> about what I learned so far about using Supermicro as JBODs.
>
> Supermicro has several multi bay chassis as part of their current
> product line but I'm looking to do this on a budget so I took the ebay
> route. I found some reasonably priced 12 bay cases use "Supermicro 12
> bay" as your search criteria. I found a good deal that cost a tad over
> two hundred bucks. I was a bit drawn to the Supermicro chassis since
> they make a power card that allows the front power button to control
> the power supply without a motherboard. It is designed with the
> intention of using the cases as JBODs.
>
> CSE-PTJBOD-CB1
>
> The backplane port(s) can be mapped to the outside with something like this:
>
> http://www.pc-pitstop.com/sas_cables_adapters/
>
> Since my case doesn't have an expander backplane and is instead
> comprised of 12 individual SATA ports In my case I'll end up with
> three ports exposed since each connector supports 4 drives. If you
> have an expander backplane it could be as simple as a single cable.
>
> >From there you'll connect the external SAS ports to a SATA/SAS
> adapter. It is possible to get SATA/SAS cards that already have
> externally available SFF-8088 ports or if they are all internal you
> can expose them externally by using the same SFF-8088 PCI brackets on
> the server side.
>
> I intend on hooking this JBOD up to a couple of computers which is why
> I am not just putting a motherboard and running it as a full on
> server.
>
> On a side not since this is for home usage a few things I plan on
> doing to make it better suited is replacing the hotswap 800 watt power
> supply with something high efficiency and at least half the watts and
> use quieter fans possibly putting them on some kind of speed control
>
>
>
> jeff
>
>
>


Jeff, what you did is exactly what I want todo as well :)

And, while thinking about how todo it on the cheap, I thought about
using eSATA for it.

The only options I could find what SATA port replicators, but they're
limited to 4/5 ports each. And I can't find a supplier in our country
for them, so I guess I'll have to import them, which will end up
costing an arm and a leg again. Our import duties are expensive.


Which SAS expander did you use? Our local SuperMicro suppliers have
limited products available so if I need something that they don't
have, I'll have to convince them to get it for me.

Upto now they've sold me full blown servers with iSCSI interconnects,
which is expensive if I don't actually use the motherboard, CPU or RAM
for anything useful.


I'm also considering going another route, but it seems that suppliers
in our country simply don't like selling loose components. Why, I
don't know, but I guess someone has to milk the poor clients of their
money.

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread Eero Volotinen
2011/2/15 John R Pierce :
> On 02/14/11 11:05 PM, Eero Volotinen wrote:
>> subscription model, no. donations, yes.
>
> as a small cog in a fairly large multinational company, I can say its a
> lot easier to get approval for a 'subscription' or 'service' than it is
> to donate money.

yes, it is easier to buy redhat subscription :)

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


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread John R. Dennison
On Tue, Feb 15, 2011 at 10:06:50AM +0200, Eero Volotinen wrote:
> 
> yes, it is easier to buy redhat subscription :)

+1


John

-- 
We only have bad solutions, worse solutions and worst solutions.

-- Amos Gilad, a senior Israeli defense official, on policy toward
   Gaza, New York Times, 3 June 2010


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


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread Karanbir Singh
On 02/15/2011 06:01 AM, Lucian wrote:
> Ok, shouldn't there be at least 1 more person that can do and access
> whatever you can?

yes, there is and they can.

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


[CentOS] Most efficient/fastest way to see disk usage

2011-02-15 Thread Fajar Priyanto
Hi all,
I use this command to see disk usage:
du -cks * | sort -rn | while read size fname; do for unit in k M G T P
E Z Y; do if [ $size -lt 1024 ]; then echo -e
"${size}${unit}\t${fname}"; break; fi; size=$((size/1024)); done; done

The data itself is around 200GB with lots of subdir and small files.
The command takes for about 1 hour to finish.

Is there a faster way to see the disk usage of some directories?

Secondary objective is:
To see which directories have changes (added/remove subdir/files)
comparing to the previous data. I'm thinking of using "ls -laR" and
"diff".  But not sure.

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


Re: [CentOS] Most efficient/fastest way to see disk usage

2011-02-15 Thread John Doe
From: Fajar Priyanto 

> To see which directories have changes (added/remove  subdir/files)
> comparing to the previous data. I'm thinking of using "ls -laR"  and
> "diff".  But not sure.

Maybe something like:

find / -exec stat -c "%i %a %u %g %s %Y %Z %n" '{}' \; > before
then rerun after and diff...?

JD


 

Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] what is the best RPM finder?

2011-02-15 Thread Nico Kadel-Garcia
On Mon, Feb 14, 2011 at 7:14 PM, 唐建伟  wrote:
> rpmforge
>
> 在 2011-2-15 上午8:08,"Larry Vaden" 写道:
>> thanks/ldv
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos

Please don't topppost!

RPMforge isn't a "finder", it's a repository, and a good one.
http://rpm.pbone.net is pretty good, but doesn't have RHEL 6 yet, and
CentOS 6 isn't out yet, so it's somewhat limited in that sense. But
It's very, very useful for finding tools that are not in your
particular OS or looking among all the repositories you can think of
for relevant versions of components.

JPackage is also good for Java tools. It's a bit funky to integrate
for RHEL 5 or CentOS 5. Let us know if you go that route.

If you start reaching outside the main CentOS repository for
components, be careful about name skew and overlapping components.
This is what happened with JPackage and Eclips: RedHat renamed the
"eclipse" package" as "ecj-eclips", and obsoleted "eclipse", and the
result was chaos when trying to install a far more recent "eclipse"
from JPackage.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread Lucian
On Tue, Feb 15, 2011 at 8:34 AM, Karanbir Singh  wrote:
> On 02/15/2011 06:01 AM, Lucian wrote:
>> Ok, shouldn't there be at least 1 more person that can do and access
>> whatever you can?
>
> yes, there is and they can.

Happy to hear that! The next question comes automatically: why don't
they do it since you're so busy at the $dayjob?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] what is the best RPM finder?

2011-02-15 Thread Lucian
On Tue, Feb 15, 2011 at 12:07 AM, Larry Vaden wrote:
> thanks/ldv

Check this out
http://pkgs.org/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread Johnny Hughes
On 02/15/2011 06:33 AM, Lucian wrote:
> On Tue, Feb 15, 2011 at 8:34 AM, Karanbir Singh  wrote:
>> On 02/15/2011 06:01 AM, Lucian wrote:
>>> Ok, shouldn't there be at least 1 more person that can do and access
>>> whatever you can?
>>
>> yes, there is and they can.
> 
> Happy to hear that! The next question comes automatically: why don't
> they do it since you're so busy at the $dayjob?

Because they also have $dayjobs too ... Oracle (with billions of dollars
and unlimited machines and personnel) just released their el6 on Friday.

Is there some reason you can't buy RHEL6?



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread Lucian
On Tue, Feb 15, 2011 at 1:11 PM, Johnny Hughes  wrote:
> On 02/15/2011 06:33 AM, Lucian wrote:
>> On Tue, Feb 15, 2011 at 8:34 AM, Karanbir Singh  wrote:
>>> On 02/15/2011 06:01 AM, Lucian wrote:
 Ok, shouldn't there be at least 1 more person that can do and access
 whatever you can?
>>>
>>> yes, there is and they can.
>>
>> Happy to hear that! The next question comes automatically: why don't
>> they do it since you're so busy at the $dayjob?

That was the expected answer.

>
> Because they also have $dayjobs too ... Oracle (with billions of dollars
> and unlimited machines and personnel) just released their el6 on Friday.

Fair enough.

>
> Is there some reason you can't buy RHEL6?

Not really, but I like Centos, I use it massively, I think I was well
within my "rights" (for lack of a better word) to want to know more
about this side of the project. No need to send me looking for
alternatives.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread Kwan Lowe
There used to be this farmer, Red,  that sold the most delicious
fruit.  They were very good fruits. Many people liked them and bought
them for their families. The farmer would make the fruit seeds
available, as was the custom in the land.

Another farmer, Fred, decided to take the seeds and start growing some
of his own fruit. It took weeks to grow the fruit. The only difference
was that he didn't put on the little Red sticker.   Instead he put on
a Fred sticker.  Many people used the Fred version.  Fred gave away
his fruit.

Many people started showing up for the free Fred version. Still, Fred
continued to give away the fruit. In fact he turned down donations
because a part of him didn't want to get paid for doing something like
that.  There were whole books Fred had read about altruism and the
death of altruism and how money corrupts.  Those thoughts maybe did
not apply to Fred's garden, but Fred maybe realized that money wasn't
the chief motivation for laboring for weeks and then giving away the
fruit. After all, Fred was a great farmer, and if needed could very
well sell his farming expertise for boatloads of money.

People started showing up.  Some didn't know about the work that Fred
had put into his fruit. Some wanted to know when the fruit would be
ready. Some went as far as asking why the fruit wasn't ready.  Some
said, "Farmer Red grew his fruit months ago. Farmer Jed already has
grown his fruit. Why haven't you?"  Some said, "I don't know much
about farming, but you should get people to help.  Not me, since I
know nothing of farming, but get other people."  Some said, "I don't
know much about farming. I want to help."  Some said, "I've never
farmed this fruit before, but I can help."

Now Fred had read this book about how adding farmers to a field won't
necessarily make the fruit grow any faster.  Maybe it's true, he
thought.  Some of the experienced farmers had already been helping
anyway, so that was something.

I don't know how Fred continues to do his farming. But I appreciate
the free fruit. I appreciate the great effort that Fred has put into
the fruit, despite the chorus of voices asking why the fruit doesn't
arrive sooner.  It's good fruit and worth waiting for.


(I apologize for the OT post that has nothing to do with CentOS).
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread robert mena
That's a lovely story.

But if that applies to CentOS core team (i.e they do not want to receive
money) why don't use the money to hire more staff to do some of their tasks,
specially those that they haven't been able to do in the way they would like
them to be done.

But it seems that I am barking at the wrong tree and find a way to pay
RedHat for all CentOS machine that I have, since this is a 8 or 80 matter
for some (i.e shut up and take whatever you get  X pay something that you
can't afford).


On Tue, Feb 15, 2011 at 9:42 AM, Kwan Lowe  wrote:

> There used to be this farmer, Red,  that sold the most delicious
> fruit.  They were very good fruits. Many people liked them and bought
> them for their families. The farmer would make the fruit seeds
> available, as was the custom in the land.
>
> Another farmer, Fred, decided to take the seeds and start growing some
> of his own fruit. It took weeks to grow the fruit. The only difference
> was that he didn't put on the little Red sticker.   Instead he put on
> a Fred sticker.  Many people used the Fred version.  Fred gave away
> his fruit.
>
> Many people started showing up for the free Fred version. Still, Fred
> continued to give away the fruit. In fact he turned down donations
> because a part of him didn't want to get paid for doing something like
> that.  There were whole books Fred had read about altruism and the
> death of altruism and how money corrupts.  Those thoughts maybe did
> not apply to Fred's garden, but Fred maybe realized that money wasn't
> the chief motivation for laboring for weeks and then giving away the
> fruit. After all, Fred was a great farmer, and if needed could very
> well sell his farming expertise for boatloads of money.
>
> People started showing up.  Some didn't know about the work that Fred
> had put into his fruit. Some wanted to know when the fruit would be
> ready. Some went as far as asking why the fruit wasn't ready.  Some
> said, "Farmer Red grew his fruit months ago. Farmer Jed already has
> grown his fruit. Why haven't you?"  Some said, "I don't know much
> about farming, but you should get people to help.  Not me, since I
> know nothing of farming, but get other people."  Some said, "I don't
> know much about farming. I want to help."  Some said, "I've never
> farmed this fruit before, but I can help."
>
> Now Fred had read this book about how adding farmers to a field won't
> necessarily make the fruit grow any faster.  Maybe it's true, he
> thought.  Some of the experienced farmers had already been helping
> anyway, so that was something.
>
> I don't know how Fred continues to do his farming. But I appreciate
> the free fruit. I appreciate the great effort that Fred has put into
> the fruit, despite the chorus of voices asking why the fruit doesn't
> arrive sooner.  It's good fruit and worth waiting for.
>
>
> (I apologize for the OT post that has nothing to do with 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] Any update on 5.6 / 6?

2011-02-15 Thread John Hinton
On 2/15/2011 8:59 AM, robert mena wrote:
> That's a lovely story.
>
> But if that applies to CentOS core team (i.e they do not want to 
> receive money) why don't use the money to hire more staff to do some 
> of their tasks, specially those that they haven't been able to do in 
> the way they would like them to be done.
>
> But it seems that I am barking at the wrong tree and find a way to pay 
> RedHat for all CentOS machine that I have, since this is a 8 or 80 
> matter for some (i.e shut up and take whatever you get  X pay 
> something that you can't afford).
I believe this was stated some time ago. Money equals 'Accounting' and a 
LOT of added complexities. Hiring staff comes with even more of a time 
sync (withholdings perhaps across multiple nations, insurances, 
unemployment insurance... basically a whole plethora of addition 
accounting... even freelancers require accounting) and suddenly a 
'second job' instead of the situation as it exist now. I do believe they 
are happy to receive nice servers, so if you wanted to start a 
collection to buy them a really nice new server, I doubt that would go 
to waste... or better yet ask what equipment needs exist.

However, if somebody thinks that a project like this should be a paid 
project, the source is available for anyone to introduce a new flavor. 
And, alternatively there are the RH subscriptions to answer immediate 
needs... where you can sit around asking "When is RHEL (insert next 
number here) going to be released?"

If we can all just chill a bit and not create issues on this list that 
distract the folks putting it all together, then they will in theory get 
it done faster!

John Hinton

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


[CentOS] DRBD question

2011-02-15 Thread ann kok
Hi 

Anyone experienced in DRBD

ls it good in using mysql redundant?

What is it best to use?

Thank you


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


Re: [CentOS] DRBD question

2011-02-15 Thread Brunner, Brian T.
 

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of ann kok
> Sent: Tuesday, February 15, 2011 10:03 AM
> To: centos@centos.org
> Subject: [CentOS] DRBD question
> 
> Hi 
> 
> Anyone experienced in DRBD

Is this a CentOS question, or a data base language question?
What mailing-list or news group is the best choice for this question?

> ls it good in using mysql redundant?

This is *clearly* a database-oriented question, not a question of (e.g.)
which versions of DRDB or MySQL is found on CentOS 5.5 vs CentOS 5.6,
and what problems arise from migrating versions on a CentOS platform.

> What is it best to use?

Why brain not work?
Several times now, you have asked questions, and each time you get
(politely) sent to some other list.
You continue here (which is not bad) asking questions that belong
elsewhere (which is annoying) without learning from us to ask (here)
questions that have anything to do with CentOS at all (and that's bad).

> Thank you

Please bring CentOS questions here, please go elsewhere with others.


//me
***
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**

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


Re: [CentOS] User Details

2011-02-15 Thread James Bensley
On 3 February 2011 12:45, Nico Kadel-Garcia  wrote:
> But the result for normal users is that command like "useradd",
> "chkconfig", and "service" need to be typed out with their full path,
> such as "/usr/sbin/useradd" or "/sbin/chkconfig".

Thanks Nico, I was aware of this but I couldn't find the useradd
command at the time

> This also means that
> if you become root by doing a "sudo' command, it doesn't get added to
> your PATH. without some additional options.

I see, I didn't know this, this is why I was being thrown because when
using sudo I wasn't temporarily inheriting root's $PATH. This makes
sense.

>> -How to set/change an existing users home folder path
>
> /usr/sbin/useradd -d [new directory]
>
>> -How to list all users
>
> getent passwd
>
>> -How to list all groups
>
> getent group
>
> These getent commands will also pull NIS or certain types of LDAP
> data, and mix it with the contents of /etc/passwd or /etc/group, just
> for your information. Unsorting them can be awkward.
>

This is all very user, thanks very much :D

Despite being told here the answer, I found it myself when logged in
as root, 'which' showed me the full path, like 'locate' so logging
back in as my normal user I was able to 'sudo /usr/sbin/useradd '.

Many thanks all!

-- 
James.

http://www.jamesbensley.co.cc/
There are 10 kinds of people in the world; Those who understand
Vigesimal, and J others...?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] working with multiple password protected iSCSI targets on one host

2011-02-15 Thread Rudi Ahlers
Hi,

How do I setup multiple password protected iSCSI targets on Linux?

I know that mounting a password protected iSCSI target requires modify
these records with the appropriate values:


node.session.auth.username = My_ISCSI_USR_NAME
node.session.auth.password = MyPassword
discovery.sendtargets.auth.username = My_ISCSI_USR_NAME
discovery.sendtargets.auth.password = MyPassword


But, now I need to mount another iSCSI target, from a different SAN
that has a different username & password than whan I have configured
here for the one already mounted.

How do I tell iscsiadm which CHAP settings to use with which iSCSI target?

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DRBD question

2011-02-15 Thread John Doe
From: ann kok 

> Anyone experienced in DRBD
> ls it good in using mysql  redundant?
> What is it best to use?

Maybe check http://mysql-mmm.org/

JD


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


Re: [CentOS] DRBD question

2011-02-15 Thread Les Mikesell
On 2/15/2011 9:18 AM, Brunner, Brian T. wrote:
>
>> Anyone experienced in DRBD
>
> Is this a CentOS question, or a data base language question?
> What mailing-list or news group is the best choice for this question?

DRBD is closer to an OS-related topic than a database...  You could go 
to the HA-Linux list, but the advice that you'll get there is to use 
newer versions of things than you'll find in Centos.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread R - elists
the "we" that we speak of is "our" organization, *not* of or for CentOS and
it's assigns

we believe that CentOS could do more and that (humble opinion) the CentOS
team should be financially compensated fairly for their efforts on all of
our behalf...

 - rh

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


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread R - elists

Eero,

that is great, as long as you consider and actually donate to CentOS
regularly

statistically, most people that download or use CentOS, do not donate.

 - rh

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


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread Les Mikesell
On 2/15/2011 9:56 AM, R - elists wrote:
> the "we" that we speak of is "our" organization, *not* of or for CentOS and
> it's assigns
>
> we believe that CentOS could do more and that (humble opinion) the CentOS
> team should be financially compensated fairly for their efforts on all of
> our behalf...

How would they be different from Oracle if they did that as a business?

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread Eero Volotinen
2011/2/15 R - elists :
>
> Eero,
>
> that is great, as long as you consider and actually donate to CentOS
> regularly
>
> statistically, most people that download or use CentOS, do not donate.

Donating is a bit hard, because there is NO DONATION page nowdays
anymore. So sad. why so?

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


Re: [CentOS] working with multiple password protected iSCSI targets on one host

2011-02-15 Thread Santi Saez
El 15/02/2011 14:54, Rudi Ahlers escribió:

Hi Rudi,

> How do I setup multiple password protected iSCSI targets on Linux?
>
> (..)
>
> But, now I need to mount another iSCSI target, from a different SAN
> that has a different username&  password than whan I have configured
> here for the one already mounted.
>
> How do I tell iscsiadm which CHAP settings to use with which iSCSI target?

I think there is not elegant way to do this.. I follow those steps:

1) Set discovery.sendtargets.{auth,password} in iscsid.conf for target-1 
+ restart iscsid service.

2) Set CHAP settings for target-1 + connect:

# iscsiadm -m node --targetname ${TARGETNAME1} -p ${PORTAL1} -o update 
-n node.session.auth.username -v ${USERNAME}
# iscsiadm -m node --targetname ${TARGETNAME1} -p ${PORTAL1} -o update 
-n node.session.auth.password -v ${PASSWORD}
# iscsiadm -m node --targetname ${TARGETNAME1} -p ${PORTAL1} -l

3) Disconnect from target-1:

# iscsiadm -m node --logoutall all

4) Set discovery.sendtargets.{auth,password} in iscsid.conf for target-2 
+ restart iscsid service.

5) Set CHAP settings for target-2 + connect:

# iscsiadm -m node --targetname ${TARGETNAME2} -p ${PORTAL2} -o update 
-n node.session.auth.username -v ${USERNAME}
# iscsiadm -m node --targetname ${TARGETNAME2} -p ${PORTAL2} -o update 
-n node.session.auth.password -v ${PASSWORD}
# iscsiadm -m node --targetname ${TARGETNAME2} -p ${PORTAL2} -l

It works! Now you can login/logout in both iSCSI targets:

# iscsiadm -m node --logoutall all
# iscsiadm -m node --loginall all

Cheers,

--
Santi Saez
http://woop.es
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread R - elists
 

> 
> How would they be different from Oracle if they did that as a 
> business?
> 
> -- 
>Les Mikesell

Well Les, i dont know.

bringing in Oracle to the equation needlessly complicates this thread
although i get some parallels for thinking purposes only.

the project and that company are "not equal"

my fault, i apologize, i should have started a new thread about financial
donation status and fair compensation for the CentOS team as i wasnt overly
concerned about the due dates.

yet, obviously if there were paid full and part time CentOS staff, it
could/might change internal scheduling some.

again, my fault for not thinking about the subject on the subject line when
i posted.

 - rh

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


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread Gilbert Sebenste
Let's see. 7 weeks after a RHEL release, we have:

1. When is it going to be out

2. If they had donations, it would be out faster

3. The team spends needless energy trying to cool
things down on the lists, delaying the release
if only for a bit, and it frustrates them

And we know that you can expect the release
from the upstream vendor to take 4-8 weeks
before it hits the CentOS repository.

And we're well within that window with
plenty of time to go before it expires
(not to mention a major holiday in that window,
and TWO releases going on at once), and the
CentOS boards clearly say that we're close to the
release of 5.6...it should be seeded very soon to the
mirrors.

It would be like at Christmas, in early December...
mom and dad haven't given us any presents yet.
Maybe if we got them more money, we'd get the
presents faster. If they needed money, they'd ask
for it.

Can't we just enjoy the anticipation for once?
Please?

***
Gilbert Sebenste 
(My opinions only!)  **
***
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread m . roth
Les Mikesell wrote:
> On 2/15/2011 9:56 AM, R - elists wrote:
>> the "we" that we speak of is "our" organization, *not* of or for CentOS
>> and it's assigns

"its assigns" - it is not "it is assigns".
>>
>> we believe that CentOS could do more and that (humble opinion) the
>> CentOS team should be financially compensated fairly for their efforts
on all
>> of our behalf...
>
> How would they be different from Oracle if they did that as a business?

Lessee, there's no one on the team who's a billionaire, or has their own
fighter jet, and they're a HUGE amount more responsive than Oracle's tech
support

mark "I told y'all about my 'fun' with Oracle's support for Sun"

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


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread Jerry Franz
On 02/15/2011 07:59 AM, R - elists wrote:
> Eero,
>
> that is great, as long as you consider and actually donate to CentOS
> regularly
>
> statistically, most people that download or use CentOS, do not donate.
>

That, statistically speaking,  could be influenced by the fact the 
monetary donation page has been 'down' for around one and a half years 
(ever since the centos 'ownership fight'). I can personally vouch for 
the fact my company was looking to donate money - only to be stonewalled 
by the lack of a way to do actually do so.

Money has these great virtues: It can be accumulated in small increments 
from people who can't afford large increments. It can be exchanged for 
physical objects like servers. And it can be used to pay (even if only 
on a part time basis) people to do specific jobs.

I highly recommend it. ;)

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


Re: [CentOS] DRBD question

2011-02-15 Thread Johnny Hughes
On 02/15/2011 09:02 AM, ann kok wrote:
> Hi 
> 
> Anyone experienced in DRBD

Sort of ...

> 
> ls it good in using mysql redundant?
>

I use DRBD to keep whole servers redundant ... one of the things it
keeps redundant is mysql.

If the machine was only a database server I would likely do it
differently ... but it does work with minimal downtime (the time
required to start the service on the other machine).

> What is it best to use?
> 

Depends on your goal ... what DRBD is great at is replicating all the
services on a server to fail over to another machine if server 1 dies
for some reason.

If that is what you are looking for it will work OK.  If you would like
some load balancing and other stuff too, DRBD is not what you are
looking for.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread David Hornford
On 11-02-15 9:39 AM, "Jerry Franz"  wrote:

>On 02/15/2011 07:59 AM, R - elists wrote:
>> Eero,
>>
>> that is great, as long as you consider and actually donate to CentOS
>> regularly
>>
>> statistically, most people that download or use CentOS, do not donate.
>>
>
>That, statistically speaking,  could be influenced by the fact the
>monetary donation page has been 'down' for around one and a half years
>(ever since the centos 'ownership fight'). I can personally vouch for
>the fact my company was looking to donate money - only to be stonewalled
>by the lack of a way to do actually do so.
>
>Money has these great virtues: It can be accumulated in small increments
>from people who can't afford large increments. It can be exchanged for
>physical objects like servers. And it can be used to pay (even if only
>on a part time basis) people to do specific jobs.
>
>I highly recommend it. ;)

Can also pay for beer, or beer equivalent :-)

Personally, I am eager for CentOS 6, can wait, and would suggest that the
FAQ have a question:

"When will CentOS 6 be out?"
"The CentOS team does not have a fixed release schedule following an
upstream release. The release timeframe is based upon the number of bugs
and difficulties producing a reliable release and personal commitments of
the CentOS team. Prior experience indicates 12-14 weeks is a reasonable
expectation.
If you are interested in speeding the process you are welcome to join the
CentOS team, your offer to join is welcome. However on-boarding new
members in the middle of the work to prepare a major release is likely to
slow the release as energy is spent bringing you up to speed. To join the
team, the first step is to _[Don't know as it is beyond my skill/ energy/
expertise so I have never looked_]"

And 
When will CentOS 5.6 be out?"
"The CentOS team does not have a fixed release schedule following an
upstream release. The release timeframe is based upon the number of bugs
and difficulties producing a reliable release and personal commitments of
the CentOS team. Prior experience indicates 4-8 weeks is a reasonable
expectation.
If you are interested in speeding the process you are welcome to join the
CentOS team, your offer to join is welcome. However on-boarding new
members in the middle of the work to prepare a release is likely to slow
the release as energy is spent bringing you up to speed. To join the team,
the first step is to _[Don't know as it is beyond my skill/ energy/
expertise so I have never looked_]"


In fact, I will be investigating how to update the Wiki

Dave


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


[CentOS] install 5.5 x86-64 on DL320 G6

2011-02-15 Thread Jerry Geis
I am trying to install on a DL320 proliant.
The disk is not being recognized. It fails when setting up disk with "no 
devices" found.
I dont get an sda or cciss either one.

I tried to disable the on board smart array controller? That didnt seem 
to make a difference.

Is there something special I need to do?

Thanks,

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


Re: [CentOS] install 5.5 x86-64 on DL320 G6

2011-02-15 Thread Alan Hodgson
On February 15, 2011 09:12:07 am Jerry Geis wrote:
> I am trying to install on a DL320 proliant.
> The disk is not being recognized. It fails when setting up disk with "no
> devices" found.
> I dont get an sda or cciss either one.
> 
> I tried to disable the on board smart array controller? That didnt seem
> to make a difference.
> 
> Is there something special I need to do?
> 

drivers?

http://h2.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=3929673&prodTypeId=15351&prodSeriesId=3929672&swLang=8&taskId=135&swEnvOID=4004#113214
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] install 5.5 x86-64 on DL320 G6

2011-02-15 Thread Kai Schaetzl
Jerry Geis wrote on Tue, 15 Feb 2011 12:12:07 -0500:

> I tried to disable the on board smart array controller? That didnt seem 
> to make a difference.

Then you use a controller on card? If not, you cannot disable this one ;-)
Did you configure an array? If not: do!

Kai


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


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread m . roth
David Hornford wrote:
> On 11-02-15 9:39 AM, "Jerry Franz"  wrote:
>>On 02/15/2011 07:59 AM, R - elists wrote:
>>>
>>> that is great, as long as you consider and actually donate to CentOS
>>> regularly
>>>
>>> statistically, most people that download or use CentOS, do not donate.
>>>
>>That, statistically speaking,  could be influenced by the fact the
>>monetary donation page has been 'down' for around one and a half years
>>(ever since the centos 'ownership fight'). I can personally vouch for
>>the fact my company was looking to donate money - only to be stonewalled
>>by the lack of a way to do actually do so.
>>
>>Money has these great virtues: It can be accumulated in small increments
>>from people who can't afford large increments. It can be exchanged for
>>physical objects like servers. And it can be used to pay (even if only
>>on a part time basis) people to do specific jobs.
>>
>>I highly recommend it. ;)
>
> Can also pay for beer, or beer equivalent :-)

Ah, *finally*, I see the light at the end of the tunnel, for 5.6 and 6:
the correct question is, when they come out, who do I buy a bheer for?

 mark "carrots, not sticks"

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


Re: [CentOS] install 5.5 x86-64 on DL320 G6

2011-02-15 Thread m . roth
Kai Schaetzl wrote:
> Jerry Geis wrote on Tue, 15 Feb 2011 12:12:07 -0500:
>
>> I tried to disable the on board smart array controller? That didnt seem
>> to make a difference.
>
> Then you use a controller on card? If not, you cannot disable this one ;-)
> Did you configure an array? If not: do!
>
Haven't been on a Proliant in years, but if this is a RAID hardware card,
like Dell's PERC, you *have* to hit , and create the RAID;
the system's access to the drives is mediated completely through the
controller, and until the controller knows what they are, it can't/won't
tell the system what's there.

 mark

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


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread Geoff Galitz

> How would they be different from Oracle if they did that as a business?
>
> -- 


Oracle's RH derivitive has a different mission than Centos.  Their distro is 
pre-configured to handle typical Oracle DB  workloads by shipping with 
different kernel settings, modules and apps that are not part of standard 
RH.  It is primarily meant to ease Oracle deployments for shops that have a 
great amount of RH in-house knowledge and expertise.  Their version is not 
meant to be a general purpose server platform.

While they offer compatibility with stock RH, you need to do further 
configuration if you want something closer to a clone distro.

 

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


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread Gerhard Schneider

Perhaps I'm a little bit pragmatic, but..

I will upgrade to 5.6 when it's out - BUT I'm not really angry when
CentOS 6 would be CentOS 6.1 - if you want to be beta tester for a large
distibution you still can shift to Ubuntu..

GS

-- 
Gerhard Schneider
Institute of Lightweight Design and e-Mail: g...@ilsb.tuwien.ac.at
Structural Biomechanics (E317) Tel.: +43 664 60 588 3171
Vienna University of Technology / Austria  Fax:+43 1 58801 31799
A-1040 Wien, Gusshausstrasse 27-29 http://www.ilsb.tuwien.ac.at/~gs/




signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread Johnny Hughes
On 02/15/2011 09:59 AM, R - elists wrote:
> 
> Eero,
> 
> that is great, as long as you consider and actually donate to CentOS
> regularly
> 
> statistically, most people that download or use CentOS, do not donate.
> 


Money is not the real issue. It is time, and more importantly trust.

We can not just give out the ability to compile and sign packages that
go into a main CentOS distribution to every Tom, Dick or Harry who might
know a thing or two about compiling packages.

The fact of the matter is, building the entire distribution and making
sure everything is linked against the correct libraries and that it
matches up with upstream is something that takes almost as long to check
as it does to do correctly ... so throwing more bodies at it does not
really help that much.  The order the packages are built in is important
... and now with several versions of different packages (like samba and
samba3, postgresql and postgresql84, etc.) in the same tree, it becomes
even that much harder to get this right.

Then there is the control of the keys that sign the packages and access
to the infrastructure one would need in order to push packages, etc.  We
must vet the people who we would give this kind of access to.  We have
to know them and trust them before they can have that kind of access.

As I said before, Oracle has not had their stuff released for very long
and while Scientific Linus has released some Alpha/Beta stuff along the
way, they also have not released 5.6 or 6.0 either.  This is not easy.
It takes time.

We will get both of these out as soon as we can.  Trust me, we would
rather they were released than not.




signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] install 5.5 x86-64 on DL320 G6

2011-02-15 Thread Jerry Geis
>
> Haven't been on a Proliant in years, but if this is a RAID hardware card,
> like Dell's PERC, you *have* to hit , and create the RAID;
> the system's access to the drives is mediated completely through the
> controller, and until the controller knows what they are, it can't/won't
> tell the system what's there.
>   
Thanks - this was the trick.

Jerry

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


[CentOS] apache 2 and php 5.2

2011-02-15 Thread Paul A
Hi originally I installed php 4 on centos 5.5 and then a few repos including
the remi repo to upgrade to php5, which seems to upgrade/work without any
issues.

However when I make a change to the /etc/php.ini file it doesn't look like
apache is seeing it, for example if I change the post_max_size and
upload_max_file to 25M each apache still sees the default 2M. I also removed
the /etc/php.ini file and apache is able to start with no problems and it
will still see the default 2M.

 

I was wondering if anyone can tell me why apache is not taking the settings
from the /etc/php.ini file and it works without that file.

 

Thanks, Paul

 

 

rpm -qa php

php-5.2.17-1.el5.art

 

 

rpm -qa httpd*

httpd-2.2.3-43.el5.centos.3

[root@testip5 html]# httpd -v

Server version: Apache/2.2.3

Server built:   Aug 30 2010 12:32:08

 

Httpd -M

 

php5_module (shared)

 

 

php --ini

PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php/modules/pdo_odbc.so' - /usr/lib/php/modules/pdo_odbc.so:
undefined symbol: php_pdo_get_dbh_ce in Unknown on line 0

Configuration File (php.ini) Path: /etc

Loaded Configuration File: (none)

Scan for additional .ini files in: /etc/php.d

Additional .ini files parsed:  /etc/php.d/Fileinfo.ini,

/etc/php.d/curl.ini,

/etc/php.d/dba.ini,

/etc/php.d/dbase.ini,

/etc/php.d/dom.ini,

/etc/php.d/gd.ini,

/etc/php.d/imap.ini,

/etc/php.d/json.ini,

/etc/php.d/ldap.ini,

/etc/php.d/mbstring.ini,

/etc/php.d/mcrypt.ini,

/etc/php.d/mysql.ini,

/etc/php.d/mysqli.ini,

/etc/php.d/odbc.ini,

/etc/php.d/pdo.ini,

/etc/php.d/pdo_mysql.ini,

/etc/php.d/pdo_odbc.ini,

/etc/php.d/pdo_pgsql.ini,

/etc/php.d/pdo_sqlite.ini,

/etc/php.d/pgsql.ini,

/etc/php.d/soap.ini,

/etc/php.d/wddx.ini,

/etc/php.d/xmlreader.ini,

/etc/php.d/xmlrpc.ini,

/etc/php.d/xmlwriter.ini,

/etc/php.d/xsl.ini,

/etc/php.d/zip.ini

 

 

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


[CentOS] Creating floppy image without root permissions?

2011-02-15 Thread Kwan Lowe
Hello All:

   I've recently had to provision some RHEL and CentOS VMWare
instances. There was no network connectivity so I had to use a
kickstart floppy and DVD iso rather than installing from our
repository.  To create the floppy I used the following:


As root:
dd if=/dev/zero of=floppy.flp bs=1k count=360
mkfs.vfat floppy.flp
mount -o loop floppy.flp /mnt/floppy
cp base_kickstart.ks /mnt/floppy/ks.cfg
umount /mnt/floppy


It works, but now I need to automate the process and have to do with
without root access.  Is there a way to create a floppy iso with a
single file without root access?   I looked at fuseiso, but it appears
that it still requires some root permissions.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Insert the second CD of an install

2011-02-15 Thread Mike VanHorn

Using CentOS 5.5 x86_64.

I am trying to install software that comes on two discs. I can start the
install just fine, but when it comes to taking out the first disc and
putting in the second, the system won't let me eject it.

I remember reading something on the internet once about something needing to
be enabled to allow this to work, but I can't find it now. Does anybody have
a clue as to what I might be looking for?

(Yes, the work around is to just mount both ISOs and not use real discs at
all, but as administrator I understand that process and my users won't.
However, they are familiar with the process of inserting disks.)

Thanks!

---
Mike VanHorn
Senior Computer Systems Administrator 
College of Engineering and Computer Science
Wright State University
265 Russ Engineering Center
937-775-5157
michael.vanh...@wright.edu
RSS: http://www.engineering.wright.edu/~mvanhorn/MikeVanHorn'sNewsFeed.xml
http://www.engineering.wright.edu/~mvanhorn/



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


Re: [CentOS] Insert the second CD of an install

2011-02-15 Thread John R Pierce
On 02/15/11 1:03 PM, Mike VanHorn wrote:
> Using CentOS 5.5 x86_64.
>
> I am trying to install software that comes on two discs. I can start the
> install just fine, but when it comes to taking out the first disc and
> putting in the second, the system won't let me eject it.

you typically have to umount the volume before you can eject the disk.  
and of course to umount it, noone can have any open files on it.


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


Re: [CentOS] Insert the second CD of an install

2011-02-15 Thread Mike VanHorn
On 2/15/11 4:09 PM, "John R Pierce"  wrote:

> On 02/15/11 1:03 PM, Mike VanHorn wrote:
>> Using CentOS 5.5 x86_64.
>> 
>> I am trying to install software that comes on two discs. I can start the
>> install just fine, but when it comes to taking out the first disc and
>> putting in the second, the system won't let me eject it.
> 
> you typically have to umount the volume before you can eject the disk.
> and of course to umount it, noone can have any open files on it.

Exactly. That's why I can't remember what it was I read about, because I've
never known anything to work any way other than the way you've described it
above.

---
Mike VanHorn
Senior Computer Systems Administrator 
College of Engineering and Computer Science
Wright State University
265 Russ Engineering Center
937-775-5157
michael.vanh...@wright.edu
RSS: http://www.engineering.wright.edu/~mvanhorn/MikeVanHorn'sNewsFeed.xml
http://www.engineering.wright.edu/~mvanhorn/



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


Re: [CentOS] Insert the second CD of an install

2011-02-15 Thread John R Pierce
On 02/15/11 1:18 PM, Mike VanHorn wrote:
> On 2/15/11 4:09 PM, "John R Pierce"  wrote:
>
>> On 02/15/11 1:03 PM, Mike VanHorn wrote:
>>> Using CentOS 5.5 x86_64.
>>>
>>> I am trying to install software that comes on two discs. I can start the
>>> install just fine, but when it comes to taking out the first disc and
>>> putting in the second, the system won't let me eject it.
>> you typically have to umount the volume before you can eject the disk.
>> and of course to umount it, noone can have any open files on it.
> Exactly. That's why I can't remember what it was I read about, because I've
> never known anything to work any way other than the way you've described it
> above.

note that if you cd'd to the CD/DVD directory before running whatever 
installation script, you probably have a file handle open on the disk 
right there that will prevent you from opening it.




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


Re: [CentOS] Insert the second CD of an install

2011-02-15 Thread m . roth
John R Pierce wrote:
> On 02/15/11 1:18 PM, Mike VanHorn wrote:
>> On 2/15/11 4:09 PM, "John R Pierce"  wrote:
>>
>>> On 02/15/11 1:03 PM, Mike VanHorn wrote:
 Using CentOS 5.5 x86_64.

 I am trying to install software that comes on two discs. I can start
 the install just fine, but when it comes to taking out the first disc
and
 putting in the second, the system won't let me eject it.
>>> you typically have to umount the volume before you can eject the disk.
>>> and of course to umount it, noone can have any open files on it.

Most software installations I've done stopped when it needed the second
disk, umounted and ejected the CD, and asked for the next one.

Alternatively, you could cp or rsync both CDs to a directory like
/opt/src, or /tmp/CD, and install from there.

mark

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


Re: [CentOS] apache 2 and php 5.2

2011-02-15 Thread Keith Roberts
On Tue, 15 Feb 2011, Paul A wrote:

> To: 'CentOS mailing list' 
> From: Paul A 
> Subject: [CentOS] apache 2 and php 5.2
>
> Hi originally I installed php 4 on centos 5.5 and then a 
> few repos including the remi repo to upgrade to php5, 
> which seems to upgrade/work without any issues.

*snip*

> I was wondering if anyone can tell me why apache is not 
> taking the settings from the /etc/php.ini file and it 
> works without that file.

Hi Paul.

Creat a php file with this as the contents:



php-info





Then load that file into your web browser.

It should produce a page showing all the active php 
configuration settings. Check the paths where php looks for 
it's php.ini files.

Obviously you need to restart apache to make the php 
module read the changes you have made to the php.ini file.

Putting a deliberate error in the php.ini file will confirm 
that you are in fact editing the correct php.ini file.

; === uncomment this line to force a php.ini parse error ===
; you need to do apachectl stop [CR] apachectl start
; to force re-reading of php.ini
; 'apachectl restart' doesn't work under Linux

;---

If this is a busy live server, then I'm not sure how you are 
going to do apachectl stop then apachectl start


> rpm -qa php
>
> php-5.2.17-1.el5.art

[root@karsites ~]# rpm -qa php
php-5.3.3-1.el5.remi


> php --ini
>
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/lib/php/modules/pdo_odbc.so' - /usr/lib/php/modules/pdo_odbc.so:
> undefined symbol: php_pdo_get_dbh_ce in Unknown on line 0
>
> Configuration File (php.ini) Path: /etc
>
> Loaded Configuration File: (none)

  ^^
This could be where your problem is. The above line should 
contain the name of the configuration file php has found and 
loaded, like this:

[root@karsites ~]# php --ini
Configuration File (php.ini) Path: /etc
Loaded Configuration File: /etc/php.ini
Scan for additional .ini files in: /etc/php.d
Additional .ini files parsed:  /etc/php.d/curl.ini,
/etc/php.d/dom.ini,
/etc/php.d/fileinfo.ini,
/etc/php.d/json.ini,
/etc/php.d/mbstring.ini,
/etc/php.d/mysql.ini,
/etc/php.d/mysqli.ini,
/etc/php.d/pdo.ini,
/etc/php.d/pdo_mysql.ini,
/etc/php.d/pdo_sqlite.ini,
/etc/php.d/phar.ini,
/etc/php.d/soap.ini,
/etc/php.d/sqlite.ini,
/etc/php.d/wddx.ini,
/etc/php.d/xdebug.ini,
/etc/php.d/xmlreader.ini,
/etc/php.d/xmlwriter.ini,
/etc/php.d/xsl.ini,
/etc/php.d/zip.ini

[root@karsites ~]#

HTH

Keith Roberts

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] apache 2 and php 5.2

2011-02-15 Thread m . roth
Keith Roberts wrote:
> On Tue, 15 Feb 2011, Paul A wrote:
>
>> To: 'CentOS mailing list' 
>> From: Paul A 
>> Subject: [CentOS] apache 2 and php 5.2
>>
>> Hi originally I installed php 4 on centos 5.5 and then a
>> few repos including the remi repo to upgrade to php5,
>> which seems to upgrade/work without any issues.
>
> *snip*
>
>> I was wondering if anyone can tell me why apache is not
>> taking the settings from the /etc/php.ini file and it
>> works without that file.
>
> Creat a php file with this as the contents:
>
> 
> php-info
> 
>
> 
>
>
> Then load that file into your web browser.

And when you're done, be 100% POSITIVE that you deleted it. The attacks
that are constant will be looking for it, guaranteed. (I see them all the
time.)

   mark

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


Re: [CentOS] Creating floppy image without root permissions?

2011-02-15 Thread James Pearson
Kwan Lowe wrote:

> As root:
>   dd if=/dev/zero of=floppy.flp bs=1k count=360
>   mkfs.vfat floppy.flp
>   mount -o loop floppy.flp /mnt/floppy
>   cp base_kickstart.ks /mnt/floppy/ks.cfg
>   umount /mnt/floppy
> 
> 
> It works, but now I need to automate the process and have to do with
> without root access.  Is there a way to create a floppy iso with a
> single file without root access?   I looked at fuseiso, but it appears
> that it still requires some root permissions.

Have a look at mtools (part of CentOS) - you can do something similar as 
above as a non-root user:

  mformat -C -i floppy.flp -f 360 ::
  mcopy -i floppy.flp base_kickstart.ks ::ks.cfg

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


Re: [CentOS] apache 2 and php 5.2

2011-02-15 Thread Keith Roberts
On Tue, 15 Feb 2011, m.r...@5-cent.us wrote:

> To: CentOS mailing list 
> From: m.r...@5-cent.us
> Subject: Re: [CentOS] apache 2 and php 5.2
> 
> Keith Roberts wrote:
>> On Tue, 15 Feb 2011, Paul A wrote:
>>
>>> To: 'CentOS mailing list' 
>>> From: Paul A 
>>> Subject: [CentOS] apache 2 and php 5.2
>>>
>>> Hi originally I installed php 4 on centos 5.5 and then a
>>> few repos including the remi repo to upgrade to php5,
>>> which seems to upgrade/work without any issues.
>>
>> *snip*
>>
>>> I was wondering if anyone can tell me why apache is not
>>> taking the settings from the /etc/php.ini file and it
>>> works without that file.
>>
>> Creat a php file with this as the contents:
>>
>> 
>> php-info
>> 
>>
>> 
>>
>>
>> Then load that file into your web browser.
>
> And when you're done, be 100% POSITIVE that you deleted it. The attacks
> that are constant will be looking for it, guaranteed. (I see them all the
> time.)

Good point Mark. Surely it could be placed in a hidden 
directory, and protected with httpd.conf directives, so 
only localhost can access it?

Keith

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] apache 2 and php 5.2

2011-02-15 Thread Eero Volotinen
2011/2/16 Keith Roberts :
> On Tue, 15 Feb 2011, m.r...@5-cent.us wrote:
>
>> To: CentOS mailing list 
>> From: m.r...@5-cent.us
>> Subject: Re: [CentOS] apache 2 and php 5.2
>>
>> Keith Roberts wrote:
>>> On Tue, 15 Feb 2011, Paul A wrote:
>>>
 To: 'CentOS mailing list' 
 From: Paul A 
 Subject: [CentOS] apache 2 and php 5.2

 Hi originally I installed php 4 on centos 5.5 and then a
 few repos including the remi repo to upgrade to php5,
 which seems to upgrade/work without any issues.
>>>
>>> *snip*
>>>
 I was wondering if anyone can tell me why apache is not
 taking the settings from the /etc/php.ini file and it
 works without that file.
>>>
>>> Creat a php file with this as the contents:
>>>
>>> 
>>> php-info
>>> 
>>>
>>> 
>>>
>>>
>>> Then load that file into your web browser.
>>
>> And when you're done, be 100% POSITIVE that you deleted it. The attacks
>> that are constant will be looking for it, guaranteed. (I see them all the
>> time.)
>
> Good point Mark. Surely it could be placed in a hidden
> directory, and protected with httpd.conf directives, so
> only localhost can access it?

how about running php --info from commandline?

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


Re: [CentOS] apache 2 and php 5.2

2011-02-15 Thread Keith Roberts
On Wed, 16 Feb 2011, Eero Volotinen wrote:

*snip*

> how about running php --info from commandline?

Good point Eero.

Would that not just return the basic configuration settings 
for the CLI version of php?

What if the OP has used a different php configuration for 
the apache php module, by using php configuration directives 
in the httpd.conf file?

These php config settings would not show up when running the 
CLI version of php.

Eg.

/etc/php.ini

; open_basedir, if set, limits all file operations to the 
; defined directory and below.  This directive makes most 
; sense if used in a per-directory or per-virtualhost web server
; configuration file. This directive is *NOT* affected by
;  whether Safe Mode is turned On or Off.
;

; see also /etc/httpd.conf for overriding these settings for 
; the apache php module.

; for CLI PHP version only
open_basedir = "./:/tmp/:/loads/of/different/paths/here/:"
;open_basedir = ""


/etc/httpd/conf/httpd.conf

#==
#APACHE ACCESS TO FILESYSTEM & SERVER DOCUMENT 
TREE
#==


   Options None
   AllowOverride None
   Order Deny,Allow
   Deny from all

   # These are the only directories which apache's PHP module
   # can have access to. This setting overrides the default
   # settings in the global php.ini file, which applies to
   # the CLI version of PHP.
   #
   php_admin_value open_basedir 
'/path/to/apache/doc_root:/another/path/to/linked/files/'
   php_admin_flag display_errors OFF



So using the httpd.conf php_admin_xxx directives, I can 
selectively turn on php errors for my development 
directories, only accessible by me (localhost). Any publicly 
accesible directories get php error reporting turned off.

I do my web development in a seperate protected development 
tree, and then push the live code into another 'accessible 
to all' branch.

Kind Regards,

Keith Roberts

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread Ian Murray
> 

> Now Fred had read  this book about how adding farmers to a field won't
> necessarily make the  fruit grow any faster.  Maybe it's true, he
> thought.  Some of the  experienced farmers had already been helping
> anyway, so that was  something.

Perhaps Fred confused people by calling his fruit growing efforts a "Community 
Farming Project".


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


[CentOS] Bacula

2011-02-15 Thread Johnny H
Dear all,
I get a message from root as follows;

09-Feb 11:26 bacula-dir JobId 0: Fatal error: Could not open Catalog
"MyCatalog", database "bacula".
09-Feb 11:26 bacula-dir JobId 0: Fatal error: postgresql.c:227 Unable
to connect to PostgreSQL server. Database=bacula User=bacula
Possible causes: SQL server not running; password incorrect;
max_connections exceeded.
09-Feb 11:26 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf

Does anyone know how to check if the database for bacula exists and
how to start it?

I would like to know how to view tape archives?

Thank you if anyone can help.

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


Re: [CentOS] Bacula

2011-02-15 Thread John R Pierce
On 02/15/11 3:27 PM, Johnny H wrote:
> Does anyone know how to check if the database for bacula exists and
> how to start it?
>

# su - postgres
$ psql -l

that should list a bacula database.   if it says postgres isn't running, 
then...

$ ^D
# service postgresql start

then try the above steps again.

if postgresql won't start, find the postgres data directory, typically 
/var/lib/pgsql/data on  centos system unless you built or installed a 
custom postgres, and look in pg_log/* for the latest logfile, and see 
what it says.

on some older versions, its 'server.log' in the data dir, instead of 
pg_log/*.log


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


[CentOS] kmod-e1000e and Intel Network Card

2011-02-15 Thread Soporte Virtual
Hi list

It's my first message here, but I use CentOS from long time ago (sorry my
language, I'm spanish from Colombia)

I have a Intel board with an Integrated Network Card 82578DC. I've
sucessfully installed the driver with the RPM kmod-e1000e; I've found it in
ElRepo.org, and I've installed it via Yum.

After I've installed the package (see this:
http://lists.elrepo.org/pipermail/elrepo/2010-December/000416.html ), I do:

ifdown eth1
modprobe -r e1000e
ifup eth1

After these steps, my card works OK and get a valid IP address. However,
when I reboot my machine, I must write those commands again. I've tried to
put e1000e in /etc/modprobe.d/blachlist; however, it doesn't works.

Does anubody knows what must I do to have my network card working from
start?

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


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread Always Learning

On Mon, 2011-02-14 at 22:49 -0600, lostson wrote:

> CentOS - Its Not Just For Servers Ya Know...

Its for amateurs as well as for professionals and it works on VPSs,
servers, desktops, laptops and netbooks.

What a disappointment ... It doesn't work on my mobile phone :-(

-- 

With best regards,

Paul.
England,
EU.


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


Re: [CentOS] Bacula

2011-02-15 Thread Craig White
On Tue, 2011-02-15 at 23:27 +, Johnny H wrote:
> Dear all,
> I get a message from root as follows;
> 
> 09-Feb 11:26 bacula-dir JobId 0: Fatal error: Could not open Catalog
> "MyCatalog", database "bacula".
> 09-Feb 11:26 bacula-dir JobId 0: Fatal error: postgresql.c:227 Unable
> to connect to PostgreSQL server. Database=bacula User=bacula
> Possible causes: SQL server not running; password incorrect;
> max_connections exceeded.
> 09-Feb 11:26 bacula-dir ERROR TERMINATION
> Please correct configuration file: /etc/bacula/bacula-dir.conf
> 
> Does anyone know how to check if the database for bacula exists and
> how to start it?
> 
> I would like to know how to view tape archives?
> 
> Thank you if anyone can help.

bacula will create the database if there is a user with password and
permissions suitable for the task. There is ample documentation at
http://www.bacula.org

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread Always Learning

On Tue, 2011-02-15 at 09:37 -0500, John Hinton wrote:

> However, if somebody thinks that a project like this should be a paid 
> project, the source is available for anyone to introduce a new flavor. 
> And, alternatively there are the RH subscriptions to answer immediate 
> needs... where you can sit around asking "When is RHEL (insert next 
> number here) going to be released?"

Why can't some of the wealthy organisations who run successful,
financially rewarding, businesses that profit from wonderful Centos
employ ONE extra member of staff who is then seconded, remotely of
course, to the Centos project ???

Alternatively those organisations could dedicate 30% or 40% or 50% etc.
of a competent computer person's working time to the Centos project.

Its simple. Why isn't someone doing it ???

If I won the Lottery it is one of the many things I would do - second 5
full-timers to Centos plus lots of server power.

The dedication of many including KB - I don't know the names of others
in Centos - and those running repositories like Dag etc. are excellent
examples of what People Power can achieve.

It is time businesses contributed a little of the amounts they save
using Centos.

-- 

With best regards,

Paul.
England,
EU.


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


Re: [CentOS] kmod-e1000e and Intel Network Card

2011-02-15 Thread Soporte Virtual
2011/2/15 Soporte Virtual :
> Hi list
>
> It's my first message here, but I use CentOS from long time ago (sorry my
> language, I'm spanish from Colombia)
>
> I have a Intel board with an Integrated Network Card 82578DC. I've
> sucessfully installed the driver with the RPM kmod-e1000e; I've found it in
> ElRepo.org, and I've installed it via Yum.
>
> After I've installed the package (see this:
> http://lists.elrepo.org/pipermail/elrepo/2010-December/000416.html ), I do:
>
> ifdown eth1
> modprobe -r e1000e
> ifup eth1
>
> After these steps, my card works OK and get a valid IP address. However,
> when I reboot my machine, I must write those commands again. I've tried to
> put e1000e in /etc/modprobe.d/blachlist; however, it doesn't works.
>
> Does anubody knows what must I do to have my network card working from
> start?
>
> Thanks!

Hi again, list!

I've solved it! I've checked in
/etc/sysconfig/networking/devices/ifcfg-eth1, and it had ONBOOT=no.
With ONBOOT=yes issue was solved.

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


Re: [CentOS] Bacula

2011-02-15 Thread Johnny H
Thank you your advice.

Usefully I don't have password to # su - postgres
and I am assuming it is impossible to get this. Normal su (root) pass
does not work.





On Wed, Feb 16, 2011 at 12:07 AM, Craig White  wrote:
> On Tue, 2011-02-15 at 23:27 +, Johnny H wrote:
>> Dear all,
>> I get a message from root as follows;
>>
>> 09-Feb 11:26 bacula-dir JobId 0: Fatal error: Could not open Catalog
>> "MyCatalog", database "bacula".
>> 09-Feb 11:26 bacula-dir JobId 0: Fatal error: postgresql.c:227 Unable
>> to connect to PostgreSQL server. Database=bacula User=bacula
>> Possible causes: SQL server not running; password incorrect;
>> max_connections exceeded.
>> 09-Feb 11:26 bacula-dir ERROR TERMINATION
>> Please correct configuration file: /etc/bacula/bacula-dir.conf
>>
>> Does anyone know how to check if the database for bacula exists and
>> how to start it?
>>
>> I would like to know how to view tape archives?
>>
>> Thank you if anyone can help.
> 
> bacula will create the database if there is a user with password and
> permissions suitable for the task. There is ample documentation at
> http://www.bacula.org
>
> Craig
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> ___
> 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] Bacula

2011-02-15 Thread Les Mikesell
On 2/15/11 6:30 PM, Johnny H wrote:
> Thank you your advice.
>
> Usefully I don't have password to # su - postgres
> and I am assuming it is impossible to get this. Normal su (root) pass
> does not work.
>

If you are already root when you execute that command it should not ask for 
another password.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Bacula

2011-02-15 Thread Craig White
talk to the system & database administrator for the machine, assuming
they are interested in getting it backed up. I think by default, user
'postgres' doesn't need a password but then again, I wouldn't use that
user on active database. I would create a user for that purpose...it's
rather trivial.

Craig

On Wed, 2011-02-16 at 00:30 +, Johnny H wrote:
> Thank you your advice.
> 
> Usefully I don't have password to # su - postgres
> and I am assuming it is impossible to get this. Normal su (root) pass
> does not work.
> 
> 
> 
> 
> 
> On Wed, Feb 16, 2011 at 12:07 AM, Craig White  wrote:
> > On Tue, 2011-02-15 at 23:27 +, Johnny H wrote:
> >> Dear all,
> >> I get a message from root as follows;
> >>
> >> 09-Feb 11:26 bacula-dir JobId 0: Fatal error: Could not open Catalog
> >> "MyCatalog", database "bacula".
> >> 09-Feb 11:26 bacula-dir JobId 0: Fatal error: postgresql.c:227 Unable
> >> to connect to PostgreSQL server. Database=bacula User=bacula
> >> Possible causes: SQL server not running; password incorrect;
> >> max_connections exceeded.
> >> 09-Feb 11:26 bacula-dir ERROR TERMINATION
> >> Please correct configuration file: /etc/bacula/bacula-dir.conf
> >>
> >> Does anyone know how to check if the database for bacula exists and
> >> how to start it?
> >>
> >> I would like to know how to view tape archives?
> >>
> >> Thank you if anyone can help.
> > 
> > bacula will create the database if there is a user with password and
> > permissions suitable for the task. There is ample documentation at
> > http://www.bacula.org
> >
> > Craig
> >
> >
> > --
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> >
> > ___
> > 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
> 



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [CentOS] what is the best RPM finder?

2011-02-15 Thread Nico Kadel-Garcia
On Tue, Feb 15, 2011 at 7:46 AM, Lucian  wrote:
> On Tue, Feb 15, 2011 at 12:07 AM, Larry Vaden wrote:
>> thanks/ldv
>
> Check this out
> http://pkgs.org/
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

Unfortunately, it seems to be mislabeling the RHEL 5.90 beta release
components as "CentOs 6". That's. not so good.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread Johnny Hughes
On 02/15/2011 05:21 PM, Ian Murray wrote:
>>
> 
>> Now Fred had read  this book about how adding farmers to a field won't
>> necessarily make the  fruit grow any faster.  Maybe it's true, he
>> thought.  Some of the  experienced farmers had already been helping
>> anyway, so that was  something.
> 
> Perhaps Fred confused people by calling his fruit growing efforts a 
> "Community 
> Farming Project".

The QA team are members of the community ...

The Graphics team are members of the community ...

The person who maintains CentOSPlus is a member of the community ...

All the Forum Moderators are members of the community ...

Every developer came in from the community ...

What is you point?



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] hotplug in centos 5

2011-02-15 Thread aurfalien
Hi,

I've a specific need for hotplug but found Centos doesn't ship it with  
the kernal and that such tasks are handled by HAL.

Any one have ideas on how to get hotplug functioning in Centos 5.5?

Thanks in advance,
- aurf


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


[CentOS] NIC bonding - missing eth0?

2011-02-15 Thread Smithies, Russell
I have nic bonding (mode=802.3ad) setup on 2 servers, both running Centos 5.5
In the "Active Aggregator Info", on one reports 4 ports - which is correct - 
but the other only reports 3 ports.
It's always eth0 that shows a different aggregator ID. Changing the cables 
around so it hits a different port on the switch makes no difference. The 
switch is correctly configured for the port channel.
The only difference between the 2 servers is one is running Xen 
(kernel-xen-2.6.18-194.32.1.el5.centos.plus) so I have a few virtual interfaces 
and bridges.

Any ideas what might be happening?

Thanx,

Russell Smithies


[root@invmhp01 ~]# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.4.0 (October 7, 2008)

Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Policy: layer2 (0)
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

802.3ad info
LACP rate: slow
Active Aggregator Info:
Aggregator ID: 19
Number of ports: 3 
Actor Key: 17
Partner Key: 5
Partner Mac Address: 00:1b:90:3d:90:c0

Slave Interface: eth0
MII Status: up
Link Failure Count: 0
Permanent HW addr: 1c:c1:de:74:97:5c
Aggregator ID: 18

Slave Interface: eth1
MII Status: up
Link Failure Count: 0
Permanent HW addr: 1c:c1:de:74:97:5d
Aggregator ID: 19

Slave Interface: eth2
MII Status: up
Link Failure Count: 0
Permanent HW addr: 1c:c1:de:74:97:5e
Aggregator ID: 19

Slave Interface: eth3
MII Status: up
Link Failure Count: 0
Permanent HW addr: 1c:c1:de:74:97:5f
Aggregator ID: 19

[root@invmhp01 ~]# ifconfig
bond0 Link encap:Ethernet  HWaddr 1C:C1:DE:74:97:5C
  inet addr:147.158.130.183  Bcast:147.158.131.255  Mask:255.255.252.0
  inet6 addr: fe80::1ec1:deff:fe74:975c/64 Scope:Link
  UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
  RX packets:64087 errors:0 dropped:0 overruns:0 frame:0
  TX packets:18179 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:8293500 (7.9 MiB)  TX bytes:31362799 (29.9 MiB)

eth0  Link encap:Ethernet  HWaddr 1C:C1:DE:74:97:5C
  UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
  RX packets:5770 errors:0 dropped:0 overruns:0 frame:0
  TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:410102 (400.4 KiB)  TX bytes:2524 (2.4 KiB)

eth1  Link encap:Ethernet  HWaddr 1C:C1:DE:74:97:5C
  UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
  RX packets:22247 errors:0 dropped:0 overruns:0 frame:0
  TX packets:17436 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:1424685 (1.3 MiB)  TX bytes:31161969 (29.7 MiB)
  Interrupt:239

eth2  Link encap:Ethernet  HWaddr 1C:C1:DE:74:97:5C
  UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
  RX packets:6223 errors:0 dropped:0 overruns:0 frame:0
  TX packets:189 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:442326 (431.9 KiB)  TX bytes:19993 (19.5 KiB)
  Interrupt:235

eth3  Link encap:Ethernet  HWaddr 1C:C1:DE:74:97:5C
  UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
  RX packets:29852 errors:0 dropped:0 overruns:0 frame:0
  TX packets:537 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:6016657 (5.7 MiB)  TX bytes:179281 (175.0 KiB)
  Interrupt:231

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:26818 errors:0 dropped:0 overruns:0 frame:0
  TX packets:26818 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:38558929 (36.7 MiB)  TX bytes:38558929 (36.7 MiB)

peth0 Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
  inet6 addr: fe80::fcff::feff:/64 Scope:Link
  UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
  RX packets:41498 errors:0 dropped:0 overruns:0 frame:0
  TX packets:251 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:312 (2.8 MiB)  TX bytes:59877 (58.4 KiB)
  Interrupt:243

vif0.0Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
  inet6 addr: fe80::fcff::feff:/64 Scope:Link
  UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
  RX packets:127 errors:0 dropped:0 overruns:0 frame:0
  TX packets:39354 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:15520 (15.1 KiB)  TX bytes:2817598 (2.6 MiB)

virbr0Link encap:Ethernet  HWaddr 00:00:00:00:00:00
  inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
  inet6 addr: fe

Re: [CentOS] Server Specs..

2011-02-15 Thread Nico Kadel-Garcia
On Mon, Feb 14, 2011 at 5:16 PM, Kwan Lowe  wrote:
> On Mon, Feb 14, 2011 at 2:09 PM, Drew  wrote:
>>> Recently a discussion around server
>>> specifications were floated with mention
>>> of routines to stress the configurations.
>>>
>>> Do these stress suites exist for server
>>> testing?
>>
>> http://www.stresslinux.org/
>>
>> IMHO, contains one of the best collection of linux based stress
>> testing & verification tools on a convenient CD. I use it to pound on
>> off-lease servers before we accept them from our Vendor.
>>
>
> Interesting.. thanks..
>
> I was hoping that the testing would include validation testing.  I'm
> looking for a package that lets one easily create tests such as:
>
> * Is /var filesystem 1G or larger
> * Does user xxx exist?
> * Do packages x, y, z exist at the indicated versions?
> * Is IPTABLES enabled on bootup?  Is it running currently?
>
> I've been using Perl Test:Harness for some of these, and it works to a
> point, but creating new tests is somewhat laborious and requires
> familiarity with Perl. I.e., I can do it so that means I end up doing
> it...
>
> I wonder what the validation system is for CentOS?  Such a suite would
> be useful to me to convince others that CentOS works identically --
> bug for bug -- with RHEL.

Fewer bugs would be *nice*. I've certainly found bugs in CentOS and
RHEL, and reported them upstream. The feature request timeline is also
often markedly faster with CentOS, especially components like "mock"
and a supportable yum environment. (yum-rhen-plugin is an ongoing
problem for those who use it and attempt to do full updates at
kickstart installation time).
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Virtualization supporting 1000Mbps nics?

2011-02-15 Thread Nico Kadel-Garcia
On Mon, Feb 14, 2011 at 2:34 PM, Smithies, Russell
 wrote:
> I’ve got xen-3.0.3-105.el5_5.5 running on Centos 5.5 and all is running
> smooth but I notice that any VMs running under it only have access to
> Realtek RTL8139C at 100 Mbps nics.

In general, don't bother. Let the virtualization server handle all the
cute features of the network interfaces, because it's going to
*anyway* as part of its role translating the kernel operations of the
virtualized driver into real hardware interactions with the NIC you
actually use.

> We have 4 x 1G nics configured in a port channel so I’d really like to be
> able to give my VMs 1000Mbps nics.

Actually test the performance, and if possible, use a para-virtualized
kernel. You should see surprisingly good performance.

> Does anyone know if this is possible and how to do it?
>
> If not, does KVM support faster nics because at this point it would be
> fairly simple to change.

See above. In reality, I'll be surprised if you don't easily
outperform a physical RealTek device.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Virtualization supporting 1000Mbps nics?

2011-02-15 Thread Smithies, Russell
I'm using the gplpv passthru driver now so it's using my nic directly rather 
than a virtual Realtek 100Mbps one and I'm getting much better transfer speeds 
- a recommendation from the Xen mailing list.
Regularly getting 120Mbps drag and drop to a file share on a 2k8R2 server a 
thousand miles away.
Was getting 25Mbps with the virtual Realtek.

--Russell


> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf Of Nico Kadel-Garcia
> Sent: Wednesday, 16 February 2011 3:42 p.m.
> To: CentOS mailing list
> Subject: Re: [CentOS] Virtualization supporting 1000Mbps nics?
> 
> On Mon, Feb 14, 2011 at 2:34 PM, Smithies, Russell
>  wrote:
> > I've got xen-3.0.3-105.el5_5.5 running on Centos 5.5 and all is
> running
> > smooth but I notice that any VMs running under it only have access to
> > Realtek RTL8139C at 100 Mbps nics.
> 
> In general, don't bother. Let the virtualization server handle all the
> cute features of the network interfaces, because it's going to
> *anyway* as part of its role translating the kernel operations of the
> virtualized driver into real hardware interactions with the NIC you
> actually use.
> 
> > We have 4 x 1G nics configured in a port channel so I'd really like
> to be
> > able to give my VMs 1000Mbps nics.
> 
> Actually test the performance, and if possible, use a para-virtualized
> kernel. You should see surprisingly good performance.
> 
> > Does anyone know if this is possible and how to do it?
> >
> > If not, does KVM support faster nics because at this point it would
> be
> > fairly simple to change.
> 
> See above. In reality, I'll be surprised if you don't easily
> outperform a physical RealTek device.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread Garry Dale
Johnny Hughes wrote:
> 
> Money is not the real issue. It is time, and more importantly trust.
> 
> We can not just give out the ability to compile and sign packages that
> go into a main CentOS distribution to every Tom, Dick or Harry who might
> know a thing or two about compiling packages.

Once again, Harry & Dick take a beating, not to mention poor Tom.

Frustrating...




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


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread aurfalien
On Feb 15, 2011, at 7:18 PM, Garry Dale wrote:

> Johnny Hughes wrote:
>>
>> Money is not the real issue. It is time, and more importantly trust.
>>
>> We can not just give out the ability to compile and sign packages  
>> that
>> go into a main CentOS distribution to every Tom, Dick or Harry who  
>> might
>> know a thing or two about compiling packages.
>
> Once again, Harry & Dick take a beating, not to mention poor Tom.
>
> Frustrating...
>


I think the attitude about this stems from a more symptomatic problem  
of ppl being a lot more impatient now then before.

In fact I wouldn't be surprised if the ppl complaining are 30 and under.

On a more broader note, IT is almost grouped with the power switch,  
were ppl completely freak when its not available.

Man, I was a hero back in the day, now, same complexity of work, same  
issues, but a lot less gratitude so I pat myself on the back.

My generation (40ish) helped create this almost 24x7 infrastructure  
and now look were its got us :)

- aurf




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


Re: [CentOS] Any update on 5.6 / 6?

2011-02-15 Thread John R. Dennison
On Tue, Feb 15, 2011 at 07:30:27PM -0800, aurfal...@gmail.com wrote:
> 
> 
> I think the attitude about this stems from a more symptomatic problem  
> of ppl being a lot more impatient now then before.

s/impatient/entitled

> In fact I wouldn't be surprised if the ppl complaining are 30 and under.

I'm not sure how much of a factor age plays in this.




John

-- 
DMR: So fsck was originally called something else.
Q: What was it called?
DMR: Well, the second letter was different.

-- Dennis M. Ritchie, Usenix, June 18, 1998.


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


Re: [CentOS] DRBD question

2011-02-15 Thread Indunil Jayasooriya
>
> Anyone experienced in DRBD
>

pls read this..


http://planetmysql.ru/2010/07/21/mysql-ha-with-drdb-and-heartbeat-on-centos-5-5/


another url

http://alexsdba.spaces.live.com/blog/cns!F86565E81CD9BC16!150.entry

http://alexsdba.spaces.live.com/blog/cns!F86565E81CD9BC16!149.entry

http://alexsdba.spaces.live.com/blog/cns!F86565E81CD9BC16!148.entry

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



-- 
Thank you
Indunil Jayasooriya
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Bacula

2011-02-15 Thread John R Pierce
On 02/15/11 5:22 PM, Craig White wrote:
> talk to the system&  database administrator for the machine, assuming
> they are interested in getting it backed up. I think by default, user
> 'postgres' doesn't need a password but then again, I wouldn't use that
> user on active database. I would create a user for that purpose...it's
> rather trivial.

indeed, my examples were purely for diagnostic purposes.   the postgres 
unix account should ONLY be used for database administration.

it typically has no password on a clean install, I showed the # prompt 
to indicate those commands would be issued by root.

if you're doing an initial install of bacula (I was assuming this was a 
previously working system that somehow stopped working), then something 
like..

# su - postgres
postgres$ psql

postgres=> create user bacula with password 'xxxyyy';
CREATE USER
postgres=> create database bacula with owner bacula;
CREATE DATABASE;
postgres=> \q

postgres$ exit

...

would create a bacula SQL user and a empty bacula database owned by this 
user, which you could use for bacula.


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