[CentOS] OT: Binding NFS services to specific ip address

2010-03-09 Thread carlopmart
Hi all,

  I have a CentOS 5.4 server with 3 interfaces used as a NAS (SMB, iSCSI and 
NFS). 
Is it possible to bind all NFS services (portmap, nfsd, mountd, etc) to a 
specific 
interface?

Thanks.

-- 
CL Martinez
carlopmart {at} gmail {d0t} com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Binding NFS services to specific ip address

2010-03-09 Thread Fajar Priyanto
On Tue, Mar 9, 2010 at 4:38 PM, carlopmart  wrote:
> Hi all,
>
>  I have a CentOS 5.4 server with 3 interfaces used as a NAS (SMB, iSCSI and 
> NFS).
> Is it possible to bind all NFS services (portmap, nfsd, mountd, etc) to a 
> specific
> interface?

Yes, /etc/sysconfig/nfs
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Exim VS Postfix (no flame wars please)

2010-03-09 Thread Rudi Ahlers
Can anyone, who has used both Postfix & Exim please share some experience
with me? Which of these 2 did you prefer to use, and why?

cPanel uses Exim (and AFAIK, only Exim), VirtualMin seems to use Postfix by
default and often times when a custom server is installed a client doesn't
know which to use so we recommend Exim. But, what are the differences
between these 2, from your experience, if you don't mind telling me?

I have used Qmail on FreeBSD 4.8 last and don't even consider this as a good
mail system anymore, so I'm not even looking at it right now.



-- 
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


[CentOS] 5.4 and tomcat5

2010-03-09 Thread rray_1
I set up a 5.4 server with tomcat5
All standard packages from CentOS repo
I can not seem to access the tomcat manager from a remote host
I can access the tomcat admin remotely
I have a manager role and user defined in tomcat-users.xml
Attempting to access the manager gets me

HTTP Status 403 - Access to the requested resource has been denied

type Status report

message Access to the requested resource has been denied

description Access to the specified resource (Access to the requested 
resource has been denied) has been forbidden.

How do I enable remote access

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


Re: [CentOS] proftpd wrap

2010-03-09 Thread Matthew Miller
On Thu, Feb 04, 2010 at 12:54:29PM +0800, CList wrote:
> I had came across an article stating that proftpd with mod wrap can actually
> block these IP using denyhosts.
> I had googled but I did not see any proftpd rpm with mod wrap. Is there
> anyone with a copy would like to share?
> Or can someone share a spec file, so I can roll my own rpm.

Take a look at fail2ban. It's in EPEL.

-- 
Matthew Miller   mat...@mattdm.org  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 5.4 DNS resolution issue

2010-03-09 Thread JohnS

On Tue, 2010-03-09 at 01:25 +0530, Gaurav N. wrote:
> UPDATE:
> 
> 
> I tried with FreeBSD8 as well and the DNS query didn't work. This is
> beginning to look more and more like an issue with
> my UTStarcom WA3002G4 ADSL2+ Router and its NAT config or the lack of
> it.
> 
> 
> My setup and the ip addresses:
> Router 192.168.1.1
> Windows  192.168.1.2
> Centos 5.4   192.168.1.3
> FreeBSD8192.168.1.4
> 
> 
> The windows host works fine with no issues with DNS queries.
---
Hey do this for me since nothing seems to work.  Log into your DSL
Modem/Router and get your DNS server IP Addresses and put them into: 
resolve.conf
nameserver x.x.x.x
nameserver x.x.x.x

I have had certain router/modems that i have installed and have had to
do this because dhcp would not get the nameservers.

John

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


Re: [CentOS] Motherboards for HPC applications

2010-03-09 Thread Chan Chung Hang Christopher
Eduardo Grosclaude wrote:
> On Tue, Mar 9, 2010 at 12:49 AM, Christopher Chan
>  wrote:
>> On Tuesday, March 09, 2010 12:34 AM, Eduardo Grosclaude wrote:
>>> Hello,
>>> Can somebody recommend CentOS-OK, dual socket motherboards for compute
>>> elements? A quick look up at Intel pages suggests they are thinking of
>>> them as "server boards", but then they recommend them as "for SMB",
>>> I'm somewhat puzzled about it.
>>> It would be nice to know what MBs you are using, pros and cons.
>>> Thank you in advance
>>>
>> Could you give us a bit more information on the HPC part? Is this
>> clustering or computing?
> 
> I'll be buying a single machine first, building a cluster some time
> later. As this second move may be delayed for an unpredictable amount
> of time, what I am really interested in is understanding the thought
> process a seasoned technician (sysadmin? clusadmin?) may follow when
> selecting hardware.
> 
> Do you have high i/o needs?
> 
> Well, perhaps this is my real problem... Don't have enough info about
> applications. There are several of them but I think I/O is not at
> premium, rather CPU computing is.
> 

If you do not have enough information on the applications, I am afraid 
it is going to be rather hard to make a final decision. Maybe you want 
to overspec on the first box, find out what those apps really do and 
then spec accordingly.

Things to consider can include network bandwidth, disk bandwidth. 'bus' 
bandwidth, memory bandwidth and as John Pierce pointed out, what type of 
processing. Are the apps single threaded or multi threaded? Single 
threaded apps might call for the cpus with the highest possible 
frequencies while multi threaded ones not so much so but how many you 
can pack into whatever space you have.

If cpu processing power is the sole criteria, then why limit to 
dual-socket boards and not go for quad-socket boards?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Exim VS Postfix (no flame wars please)

2010-03-09 Thread Chan Chung Hang Christopher
Rudi Ahlers wrote:
> Can anyone, who has used both Postfix & Exim please share some experience
> with me? Which of these 2 did you prefer to use, and why?

I have not used exim but I know someone who swears by it. It is highly 
configurable and had stuff like sender based routing before postfix did.


> 
> cPanel uses Exim (and AFAIK, only Exim), VirtualMin seems to use Postfix by
> default and often times when a custom server is installed a client doesn't
> know which to use so we recommend Exim. But, what are the differences
> between these 2, from your experience, if you don't mind telling me?

Exim is monolithic while postfix is not. Next up would be a comparison 
in feature sets (lookup table should be the same - 
mysql,pgsql,ldap,Berkerly DB) but is probably not worth it unless you 
want to do make some really intricate ruleset. The last would probably 
be the difference in behaviour and therefore in tuning. postfix being 
non-monolithic might mean that it has more room for fine-tuning than exim.


> 
> I have used Qmail on FreeBSD 4.8 last and don't even consider this as a good
> mail system anymore, so I'm not even looking at it right now.
> 

qmail on FreeBSD 4.x? Man, FreeBSD 4.x is dog slow. I got a major 
performance boost just be moving from FreeBSD to Redhat Linux back in 
2002/2003 on the same hardware. FreeBSD also only supports directory 
indexing to 1000 entries, anymore than that it will start walking 
through the tree. You do not ever want to build a queue on FreeBSD. 
Anyway, I would not consider using qmail for an mx but I would for an 
outgoing server after it has been patched for smtp-auth support.

The bottom line is, use whatever you are comfortable with or take the 
time to learn the mta's behaviours and features. It won't matter how 
much exim is better than postfix or vice-versa if you are not prepared 
to work with it.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 5.4 and tomcat5

2010-03-09 Thread m . roth
> I set up a 5.4 server with tomcat5
> All standard packages from CentOS repo
> I can not seem to access the tomcat manager from a remote host
> I can access the tomcat admin remotely
> I have a manager role and user defined in tomcat-users.xml
> Attempting to access the manager gets me
>
> HTTP Status 403 - Access to the requested resource has been denied

Sounds like a firewall issue to me, but I'd check the logfiles.

   mark

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


Re: [CentOS] 5.4 and tomcat5

2010-03-09 Thread rray_1
On Tue, 9 Mar 2010, m.r...@5-cent.us wrote:

>> I set up a 5.4 server with tomcat5
>> All standard packages from CentOS repo
>> I can not seem to access the tomcat manager from a remote host
>> I can access the tomcat admin remotely
>> I have a manager role and user defined in tomcat-users.xml
>> Attempting to access the manager gets me
>>
>> HTTP Status 403 - Access to the requested resource has been denied
> 
> Sounds like a firewall issue to me, but I'd check the logfiles.
>
>   mark
>

No firewall running

# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source   destination

Chain FORWARD (policy ACCEPT)
target prot opt source   destination

Chain OUTPUT (policy ACCEPT)
target prot opt source   destination

The are no errors in catalina.out
Also I have a CentOS 5.4 runnig tomcat6 downloaded from apache
I have no problem remotely accessing manager
We also have other Linux runnig tomcat from packages and they have no 
problem accessing the manager remotely
It "appears" to be particular to the CentOS package
I do not know enough about tomcat to fix this package

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


Re: [CentOS] OT: Binding NFS services to specific ip address

2010-03-09 Thread Paul Heinlein

On Tue, 9 Mar 2010, Fajar Priyanto wrote:


On Tue, Mar 9, 2010 at 4:38 PM, carlopmart  wrote:

Hi all,

 I have a CentOS 5.4 server with 3 interfaces used as a NAS (SMB, 
iSCSI and NFS). Is it possible to bind all NFS services (portmap, 
nfsd, mountd, etc) to a specific interface?


Yes, /etc/sysconfig/nfs


Beware, however, that when you bind to, say, eth0, you'll loose 
loopback access to those services. I know that caused a problem for a 
friend of mine, but I can't recall exactly what broke.


--
Paul Heinlein <> heinl...@madboa.com <> http://www.madboa.com/___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 5.4 and tomcat5

2010-03-09 Thread Les Mikesell
On 3/9/2010 9:08 AM, rra...@comcast.net wrote:
> On Tue, 9 Mar 2010, m.r...@5-cent.us wrote:
>
>>> I set up a 5.4 server with tomcat5
>>> All standard packages from CentOS repo
>>> I can not seem to access the tomcat manager from a remote host
>>> I can access the tomcat admin remotely
>>> I have a manager role and user defined in tomcat-users.xml
>>> Attempting to access the manager gets me
>>>
>>> HTTP Status 403 - Access to the requested resource has been denied
>> 
>> Sounds like a firewall issue to me, but I'd check the logfiles.
>>
>>mark
>>
>
> No firewall running
>
> # iptables -L
> Chain INPUT (policy ACCEPT)
> target prot opt source   destination
>
> Chain FORWARD (policy ACCEPT)
> target prot opt source   destination
>
> Chain OUTPUT (policy ACCEPT)
> target prot opt source   destination
>
> The are no errors in catalina.out
> Also I have a CentOS 5.4 runnig tomcat6 downloaded from apache
> I have no problem remotely accessing manager
> We also have other Linux runnig tomcat from packages and they have no
> problem accessing the manager remotely
> It "appears" to be particular to the CentOS package
> I do not know enough about tomcat to fix this package

A 403 response means you reached the web server network-wise but the 
server is denying access because it is configured to restrict clients 
and you haven't authenticated correctly.

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



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


Re: [CentOS] strange network problem

2010-03-09 Thread Michael Schumacher
Dear Juan Carlos,

On Monday, March 8, 2010 you wrote:

> I hope your problem won't be a regular issue and you don't see it again.

I don't expect to see it again soon. The machine runs rock solid for a
year now without any trouble. Years ago, it happened from time to time
that services just died after some time (months?), but I think this
doesn't happen any longer. I don't know if this comes from the more
decent hardware we are using these days or from better software.

> All of the servers I've installed have a few tools by default to make tests
> in this cases (tcpdump (wireshark if gui), iptraf,
> iptables/pf,netcat,sysinternals(windows),...) and have a monitoring packages
> (Nagios/Ntop) in other machine to obtain data.

Sounds like a good idea. I will put some tools on the machines.

again, thanks for your help!


best regards
---
Michael Schumacher
PAMAS Partikelmess- und Analysesysteme GmbH
Dieselstr.10, D-71277 Rutesheim
Tel +49-7152-99630
Fax +49-7152-996333
Geschäftsführer: Gerhard Schreck
Handelsregister B Stuttgart HRB 252024

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


Re: [CentOS] Exim VS Postfix (no flame wars please)

2010-03-09 Thread david
Yahoo using postfix, and zimbra also use postfix as MTA. But exim is simple to 
configure.

I'm using zimbra as primary and postfix as secondary mx. 

-

Regards,
David
--
http://pnyet.web.id

-Original Message-
From: Chan Chung Hang Christopher 
Date: Tue, 09 Mar 2010 21:31:08 
To: 
Subject: Re: [CentOS] Exim VS Postfix (no flame wars please)

Rudi Ahlers wrote:
> Can anyone, who has used both Postfix & Exim please share some experience
> with me? Which of these 2 did you prefer to use, and why?

I have not used exim but I know someone who swears by it. It is highly 
configurable and had stuff like sender based routing before postfix did.


> 
> cPanel uses Exim (and AFAIK, only Exim), VirtualMin seems to use Postfix by
> default and often times when a custom server is installed a client doesn't
> know which to use so we recommend Exim. But, what are the differences
> between these 2, from your experience, if you don't mind telling me?

Exim is monolithic while postfix is not. Next up would be a comparison 
in feature sets (lookup table should be the same - 
mysql,pgsql,ldap,Berkerly DB) but is probably not worth it unless you 
want to do make some really intricate ruleset. The last would probably 
be the difference in behaviour and therefore in tuning. postfix being 
non-monolithic might mean that it has more room for fine-tuning than exim.


> 
> I have used Qmail on FreeBSD 4.8 last and don't even consider this as a good
> mail system anymore, so I'm not even looking at it right now.
> 

qmail on FreeBSD 4.x? Man, FreeBSD 4.x is dog slow. I got a major 
performance boost just be moving from FreeBSD to Redhat Linux back in 
2002/2003 on the same hardware. FreeBSD also only supports directory 
indexing to 1000 entries, anymore than that it will start walking 
through the tree. You do not ever want to build a queue on FreeBSD. 
Anyway, I would not consider using qmail for an mx but I would for an 
outgoing server after it has been patched for smtp-auth support.

The bottom line is, use whatever you are comfortable with or take the 
time to learn the mta's behaviours and features. It won't matter how 
much exim is better than postfix or vice-versa if you are not prepared 
to work with it.
___
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] Motherboards for HPC applications

2010-03-09 Thread Eduardo Grosclaude
On Tue, Mar 9, 2010 at 1:08 AM, John R Pierce  wrote:
> for a high performance compute cluster, you'll probably want to use
> management software like Oscar, which integrates system management with
> MPI based distributed computing such that you can manage a cluster of
> 100s of servers like its a single big system

I've been using Kusu with much success. Sadly, you're pretty much on
your own there as the project seems unsupported or sucked dry out by
Platform.com.
I hope it to fully reincarnate in Red Hat's HPC proposal and that it
eventually makes its way into CentOS.

-- 
Eduardo Grosclaude
Universidad Nacional del Comahue
Neuquen, Argentina
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] strange su behavior

2010-03-09 Thread John Doe
From: Uwe Kiewel 
> If I am root and want to change the user to a non-root user, the system
> prompts me for a password:
> [r...@halifax ~]# useradd test00
> [r...@halifax ~]# su - test00
> We trust you have received the usual lecture from the local System
> Administrator. It usually boils down to these three things:
> #1) Respect the privacy of others.
> #2) Think before you type.
> #3) With great power comes great responsibility.
> Password:
> [tes...@halifax ~]$ logout
> [r...@halifax ~]# su - test00
> [tes...@halifax ~]$ logout
> [r...@halifax ~]#
> At this test procedure I just hit the enter key at the password promt.
> Do you have any idea for this behavoir? I expect to do so from root to
> any account _without_ being prompted for the password.

Do you have any sudo call from your /etc or /etc/skel bashrc or profile...?

JD


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


Re: [CentOS] Motherboards for HPC applications

2010-03-09 Thread Eduardo Grosclaude
On Tue, Mar 9, 2010 at 12:49 AM, Christopher Chan
 wrote:
> On Tuesday, March 09, 2010 12:34 AM, Eduardo Grosclaude wrote:
>> Hello,
>> Can somebody recommend CentOS-OK, dual socket motherboards for compute
>> elements? A quick look up at Intel pages suggests they are thinking of
>> them as "server boards", but then they recommend them as "for SMB",
>> I'm somewhat puzzled about it.
>> It would be nice to know what MBs you are using, pros and cons.
>> Thank you in advance
>>
>
> Could you give us a bit more information on the HPC part? Is this
> clustering or computing?

I'll be buying a single machine first, building a cluster some time
later. As this second move may be delayed for an unpredictable amount
of time, what I am really interested in is understanding the thought
process a seasoned technician (sysadmin? clusadmin?) may follow when
selecting hardware.

Do you have high i/o needs?

Well, perhaps this is my real problem... Don't have enough info about
applications. There are several of them but I think I/O is not at
premium, rather CPU computing is.

Thank you very much, Christopher
-- 
Eduardo Grosclaude
Universidad Nacional del Comahue
Neuquen, Argentina
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Exim VS Postfix (no flame wars please)

2010-03-09 Thread Paul Graydon
Chan Chung Hang Christopher wrote:
> Rudi Ahlers wrote:
>   
>> Can anyone, who has used both Postfix & Exim please share some experience
>> with me? Which of these 2 did you prefer to use, and why?
>> 
>
> I have not used exim but I know someone who swears by it. It is highly 
> configurable and had stuff like sender based routing before postfix did.
>
>
>   
>> cPanel uses Exim (and AFAIK, only Exim), VirtualMin seems to use Postfix by
>> default and often times when a custom server is installed a client doesn't
>> know which to use so we recommend Exim. But, what are the differences
>> between these 2, from your experience, if you don't mind telling me?
>> 
>
> Exim is monolithic while postfix is not. Next up would be a comparison 
> in feature sets (lookup table should be the same - 
> mysql,pgsql,ldap,Berkerly DB) but is probably not worth it unless you 
> want to do make some really intricate ruleset. The last would probably 
> be the difference in behaviour and therefore in tuning. postfix being 
> non-monolithic might mean that it has more room for fine-tuning than exim.
I've never found it particularly necessary to tune exim, out of the box 
with a basic configuration it handles itself very well and scales nicely 
even up to heavy loads.  I've used it in 100k+ e-mails a day 
environments without any stability or performance problems.  It's a 
rather popular mail server in the UK, possibly by nature of it's origins 
at Cambridge.

I've not spent much time using postfix, but every time I have it's been 
relatively straightforward and intuitive as well.  Always seems to 
perform well too :)

I rather feel its a bit of a case of 6 of one, half a dozen of the 
other.  Both tackle the same problem from slightly different angles, and 
both have achieved excellence in their own ways.

There is a great introduction to configuring exim on this site: 
http://www.exim-new-users.co.uk

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


Re: [CentOS] 5.4 and tomcat5

2010-03-09 Thread rray_1
On Tue, 9 Mar 2010, Les Mikesell wrote:

> On 3/9/2010 9:08 AM, rra...@comcast.net wrote:
>> On Tue, 9 Mar 2010, m.r...@5-cent.us wrote:
>>
 I set up a 5.4 server with tomcat5
 All standard packages from CentOS repo
 I can not seem to access the tomcat manager from a remote host
 I can access the tomcat admin remotely
 I have a manager role and user defined in tomcat-users.xml
 Attempting to access the manager gets me

 HTTP Status 403 - Access to the requested resource has been denied
>>> 
>>> Sounds like a firewall issue to me, but I'd check the logfiles.
>>>
>>>mark
>>>
>>
>> No firewall running
>>
>> # iptables -L
>> Chain INPUT (policy ACCEPT)
>> target prot opt source   destination
>>
>> Chain FORWARD (policy ACCEPT)
>> target prot opt source   destination
>>
>> Chain OUTPUT (policy ACCEPT)
>> target prot opt source   destination
>>
>> The are no errors in catalina.out
>> Also I have a CentOS 5.4 runnig tomcat6 downloaded from apache
>> I have no problem remotely accessing manager
>> We also have other Linux runnig tomcat from packages and they have no
>> problem accessing the manager remotely
>> It "appears" to be particular to the CentOS package
>> I do not know enough about tomcat to fix this package
>
> A 403 response means you reached the web server network-wise but the
> server is denying access because it is configured to restrict clients
> and you haven't authenticated correctly.
>
>

How do I find what is denying access since there are not error messages in 
the log files: httpd/error_log, httpd/access_log, tomcat5/catalina.out, 
messages, and secure
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LVM & Stripe

2010-03-09 Thread Lincoln Zuljewic Silva
Christopher and Ross,

Thanks for the tips. I will make some tests using md and check performance.

Unfortunately I can't move the data to another LV to setup a new
stripe value when a new PV is added.

Thanks

Lincoln

On Mon, Mar 8, 2010 at 10:43 PM, Ross Walker  wrote:
> On Mar 8, 2010, at 7:31 PM, Christopher Chan   > wrote:
>
>> On Tuesday, March 09, 2010 06:40 AM, Lincoln Zuljewic Silva wrote:
>>> Hello list,
>>>
>>> I have a question about LVM.
>>>
>>> My server has five disks and I will use it to create a LVM
>>> environment.
>>>
>>> I saw in the lvcreate man page that I can use the “-i” option to
>>> set
>>> the number of disks that I want to stripe the lvols, but this option
>>> doesn’t exists in the “lvchange” option (in case I add new
>>> disks to
>>> the VG).
>>>
>>> I had in mind: create 10 lvols – “lvcreate -i5 -L 10G MyVG
>>> /dev/MyVG/lvol[1-10]” and in the future, add more disks and incre
>>> ate
>>> the stripe value of the existing lvols.
>>
>> I would recommend md striping over lvm but then lvm is a bit more
>> flexible on that score if you have disks of varying size. What are you
>> using as your physical volumes?
>
> I actually like mdraid for raid1s then striping them with LVM for
> raid10s and it has the added benefit of passing the config to the file
> system during mkfs so it sets the chunk size and stripe width
> appropriately.
>
>>>
>>> Does anybody knows how to change the parameter “-i" of a lvol that
>>> already exists?
>>
>> It appears to be fixed at creation time. Kinda hard to let you mess
>> around with stripesize and what not after stuff has been laid out on
>> the
>> platters.
>
> Yeah, unfortunately you can't change the interleave of a LV. You need
> to keep around 20% in reserve so when you add another PV you can
> create a new LV with the new interleave and then copy or dump/restore
> from the old LV to the new, delete the old LV, and repeat for the
> other LVs in the group. Remember to start with your largest to your
> smallest LVs.
>
> -Ross
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Lincoln Zuljewic Silva
More contact info.: http://www.system.adm.br/contact.php

"How often must a question be asked before it’s considered a
frequently asked question?"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] strange su behavior

2010-03-09 Thread Uwe (ML) Kiewel

From: Uwe Kiewel 
>> If I am root and want to change the user to a non-root user, the system
>> prompts me for a password:
>> [r...@halifax ~]# useradd test00
>> [r...@halifax ~]# su - test00
>> We trust you have received the usual lecture from the local System
>> Administrator. It usually boils down to these three things:
>> #1) Respect the privacy of others.
>> #2) Think before you type.
>> #3) With great power comes great responsibility.
>> Password:
>> [tes...@halifax ~]$ logout
>> [r...@halifax ~]# su - test00
>> [tes...@halifax ~]$ logout
>> [r...@halifax ~]#
>> At this test procedure I just hit the enter key at the password promt.
>> Do you have any idea for this behavoir? I expect to do so from root to
>> any account _without_ being prompted for the password.
>
>Do you have any sudo call from your /etc or /etc/skel bashrc or profile...?

Yes, I do have in /etc/bashrc:

[...]
if [ $UID -ne 0 ]; then
 echo
 sudo -l
 echo
fi


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


Re: [CentOS] Exim VS Postfix (no flame wars please)

2010-03-09 Thread Rudi Ahlers
On Tue, Mar 9, 2010 at 5:57 PM, Paul Graydon  wrote:

>
> I've never found it particularly necessary to tune exim, out of the box
> with a basic configuration it handles itself very well and scales nicely
> even up to heavy loads.  I've used it in 100k+ e-mails a day
> environments without any stability or performance problems.  It's a
> rather popular mail server in the UK, possibly by nature of it's origins
> at Cambridge.
>
> I've not spent much time using postfix, but every time I have it's been
> relatively straightforward and intuitive as well.  Always seems to
> perform well too :)
>
> I rather feel its a bit of a case of 6 of one, half a dozen of the
> other.  Both tackle the same problem from slightly different angles, and
> both have achieved excellence in their own ways.
>
> There is a great introduction to configuring exim on this site:
> http://www.exim-new-users.co.uk
>
> Paul
> ___
>
>
Thanx guys, this is as much as I thought :) There's no real benefit in
choosing one over the other, but rather use what I know.



-- 
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


[CentOS] Filter web content in a LAN ?

2010-03-09 Thread Niki Kovacs
Hi,

I installed a network of five desktops in a small town hall, all running 
CentOS 5.4. The machines are publicly, and the mayor asked me to find 
some solution to effectively filter web content, as the kids' first 
reflex is to visit the interesting bits of the Internet first, from 
satanism to porn.

One of the machines will be set up as a router anyway, since the public 
computer room gets its internet access from the town hall, and I've 
decided to make another subnet for it.

Any recommendations for that?

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


Re: [CentOS] Filter web content in a LAN ?

2010-03-09 Thread Greg Bailey
Niki Kovacs wrote:
> Hi,
>
> I installed a network of five desktops in a small town hall, all running 
> CentOS 5.4. The machines are publicly, and the mayor asked me to find 
> some solution to effectively filter web content, as the kids' first 
> reflex is to visit the interesting bits of the Internet first, from 
> satanism to porn.
>
> One of the machines will be set up as a router anyway, since the public 
> computer room gets its internet access from the town hall, and I've 
> decided to make another subnet for it.
>
> Any recommendations for that?
>
> Niki
>   

I have DansGuardian set up on my home Linux server that acts as the 
router for our home network, and it does a great job of web filtering on 
the fly.  (I have grade school kids at home).  You basically configure a 
transparent proxy so all HTTP traffic is filtered, and it's configurable 
as to what categories you want to allow or block.  I use RPMs available 
from RPMForge.

http://dansguardian.org/
http://packages.sw.be/dansguardian/

-Greg

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


Re: [CentOS] Filter web content in a LAN ?

2010-03-09 Thread Frank Cox

On Tue, 2010-03-09 at 17:22 +0100, Niki Kovacs wrote:
> Any recommendations for that?

http://www.squidguard.org/
-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

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


Re: [CentOS] Filter web content in a LAN ?

2010-03-09 Thread m . roth
> Hi,
>
> I installed a network of five desktops in a small town hall, all running
> CentOS 5.4. The machines are publicly, and the mayor asked me to find
> some solution to effectively filter web content, as the kids' first
> reflex is to visit the interesting bits of the Internet first, from
> satanism to porn.

Satanism? What, you're going to filter all religion?

You could set up the browsers with filters - even google has "safe
search", and you could set the browser options to be read-only, so no user
can change it.
>
> One of the machines will be set up as a router anyway, since the public
> computer room gets its internet access from the town hall, and I've
> decided to make another subnet for it.
>
> Any recommendations for that?

Sorry, haven't been involved with filtering.

For that matter, is this *only* for children? If not, then the mayor is
depriving the adult users of their rights of free speech (assuming this is
in the US).

mark

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


Re: [CentOS] strange su behavior

2010-03-09 Thread John Doe
From: Uwe (ML) Kiewel 
> >Do you have any sudo call from your /etc or /etc/skel bashrc or profile...?
> Yes, I do have in /etc/bashrc:
> sudo -l

Unless you already understood:
  su -  "make the shell a login shell"
  so sudo -l  in bashrc is executed, which asks for the user's password

JD


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


Re: [CentOS] Motherboards for HPC applications

2010-03-09 Thread Joshua Baker-LePain
On Tue, 9 Mar 2010 at 9:49pm, Chan Chung Hang Christopher wrote

> If cpu processing power is the sole criteria, then why limit to
> dual-socket boards and not go for quad-socket boards?

In general, the price goes up non-linearly as you go above 2 sockets, 
making 2 sockets the sweet spot when it comes to price/performance.

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


Re: [CentOS] Filter web content in a LAN ?

2010-03-09 Thread JohnS

On Tue, 2010-03-09 at 11:31 -0500, m.r...@5-cent.us wrote:

> For that matter, is this *only* for children? If not, then the mayor is
> depriving the adult users of their rights of free speech (assuming this is
> in the US).
> 
> mark
---
Well well, you see in my type of IT I work in you Sign Away those First
Amendment Rights before you even go to work for said company that I work
for.   I live in the US and Work in the US.   Matter of fact our email
policy is for internal use only and for work purposes only and logged
for to and from destinations.  People have been fired because of this.

John

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


[CentOS] sed help

2010-03-09 Thread chloe K
Hi

Can I know how to use sed to substitue 2 instead of 1 at the same time?

eg:

sed 's/pchloe.com/abc.com/ ; /192.92.123.5/10.10.0.3/g' orgfile >> newfile

thank you


  __
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot 
with the All-new Yahoo! Mail.  Click on Options in Mail and switch to New Mail 
today or register for free at http://mail.yahoo.ca
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] sed help

2010-03-09 Thread Paul Heinlein
On Tue, 9 Mar 2010, chloe K wrote:

> Hi
>
> Can I know how to use sed to substitue 2 instead of 1 at the same time?
>
> eg:
>
> sed 's/pchloe.com/abc.com/ ; /192.92.123.5/10.10.0.3/g' orgfile >> newfile

sed \
   -e 's/pchloe\.com/abc.com/g' \
   -e 's/192\.92\.123\.5/10.10.0.3/g' \
   orgfile >> newfile

-- 
Paul Heinlein <> heinl...@madboa.com <> http://www.madboa.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] sed help

2010-03-09 Thread Dan Burkland
> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf Of Paul Heinlein
> Sent: Tuesday, March 09, 2010 11:08 AM
> To: CentOS mailing list
> Subject: Re: [CentOS] sed help
> 
> On Tue, 9 Mar 2010, chloe K wrote:
> 
> > Hi
> >
> > Can I know how to use sed to substitue 2 instead of 1 at the same time?
> >
> > eg:
> >
> > sed 's/pchloe.com/abc.com/ ; /192.92.123.5/10.10.0.3/g' orgfile >>
> newfile
> 
> sed \
>-e 's/pchloe\.com/abc.com/g' \
>-e 's/192\.92\.123\.5/10.10.0.3/g' \
>orgfile >> newfile
> 
> --
> Paul Heinlein <> heinl...@madboa.com <> http://www.madboa.com/
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

You can also use semi colons for example:

sed 's/pchloe.com/abc.com/; s/192.92.123.5/10.10.0.3/g' orgfile >> newfile

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


[CentOS] NetworkManager trouble with CentOS 5.4 and KDE3

2010-03-09 Thread Martin Jungowski
I'm evaluating CentOS 5.4 for our company and one of our requirements is 
that it must also run on laptops. I've managed to get everything working 
so far except for wireless networks. The problem here seems to be that 
CentOS fails to provide a knetworkmanager package, and we're using KDE3 
for various reasons. Thus, we're limited to Networkmanager-gnome which 
works but fails to save passwords in KDE3 and only works in Gnome. Of 
course kwallet is installed but requires knetworkmanager to work. The 
only solution I found so far was to log into Gnome, connect to the 
wireless network and save the password but that's certainly NOT an opion.

I guess the question is quite simple: how do I get NetworkManager to save 
passwords in KDE3? It's a critical issue and switching to Gnome is not an 
option either. Infact it's Novell's decision to ditch KDE3 and focus on 
KDE4 instead that made us turn our backs on openSUSE in the first place.

So, is it possible to solve this teeny-tiny problem some other way?

Thanks in advance,
Martin

-- 
Rieke Computersysteme GmbH
Hellerholz 5
D-82061 Neuried
Email: mar...@rhm.de

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


Re: [CentOS] Filter web content in a LAN ?

2010-03-09 Thread Niki Kovacs
m.r...@5-cent.us a écrit :

> 
> Satanism? What, you're going to filter all religion?

Let's say www.rotten.com is still a favourite among the local 
youngsters. Not exactly family-friendly. (When I was that age, long 
before the Internet became popular, we only had "Faces Of Death" on VHS :oD)

> 
> For that matter, is this *only* for children? If not, then the mayor is
> depriving the adult users of their rights of free speech (assuming this is
> in the US).

No, I'm in South France, and the only people complaining about free 
speech are the odd negationists, skinheads and other various nazi folks.

The computer room is a public commodity for everyone. So even if an 
adult person is using the computer to peruse www.cumshotfiesta.com or 
the likes, this would probably incommodate other town hall visitors with 
children.

But I've done some research on my own in the meanwhile, I already have 
Squid running on one of my test boxes, and I think Squidguard will do 
the job.

Cheers from the snowy South of France,

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


Re: [CentOS] Filter web content in a LAN ?

2010-03-09 Thread m . roth
> m.r...@5-cent.us a écrit :
>>
>> Satanism? What, you're going to filter all religion?
>
> Let's say www.rotten.com is still a favourite among the local
> youngsters. Not exactly family-friendly. (When I was that age, long
> before the Internet became popular, we only had "Faces Of Death" on VHS
> :oD)

True. But then, here in the US, varieties of Paganism are equated with
Satanism by the extremist fundamentalist Christians, and they'd want them
blocked (and before you think I'm exaggerating, let me note that a month
or so ago, the US Air Force Academy dedicated a small ring on its grounds
for Pagans... and within a couple of days, it was vandalized by "good
Christians". So, being from France, I'd expect you to understand
anti-clericalism. 
>
>> For that matter, is this *only* for children? If not, then the mayor is
>> depriving the adult users of their rights of free speech (assuming this
>> is in the US).
>
> No, I'm in South France, and the only people complaining about free
> speech are the odd negationists, skinheads and other various nazi folks.

*sigh* Yeah. They pull that here, too, and then complain if the other side
gets a word in.
>
> The computer room is a public commodity for everyone. So even if an
> adult person is using the computer to peruse www.cumshotfiesta.com or
> the likes, this would probably incommodate other town hall visitors with
> children.

I can see that. That kind of filtering is pretty standard in US libraries;
unfortunately, they're almost exclusively Windows
>
> But I've done some research on my own in the meanwhile, I already have
> Squid running on one of my test boxes, and I think Squidguard will do
> the job.

Good deal.
>
> Cheers from the snowy South of France,

Back at you from sunny Washington, DC, USA

  mark

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


Re: [CentOS] Filter web content in a LAN ?

2010-03-09 Thread Niki Kovacs
m.r...@5-cent.us a écrit :

> 
> True. But then, here in the US, varieties of Paganism are equated with
> Satanism by the extremist fundamentalist Christians, and they'd want them
> blocked (and before you think I'm exaggerating, let me note that a month
> or so ago, the US Air Force Academy dedicated a small ring on its grounds
> for Pagans... and within a couple of days, it was vandalized by "good
> Christians". So, being from France, I'd expect you to understand
> anti-clericalism. 

My little town has a population of 900 or so, and from what I see, there 
are only two religions here : the local football team Olympique de 
Marseille, and the monthly bull chase through the streets.

I'll make sure to put the relevant websites on my filtering proxy's 
whitelist :o)

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


Re: [CentOS] NetworkManager trouble with CentOS 5.4 and KDE3

2010-03-09 Thread Roger K. Wells
Martin Jungowski wrote:
> I'm evaluating CentOS 5.4 for our company and one of our requirements is 
> that it must also run on laptops. I've managed to get everything working 
> so far except for wireless networks. The problem here seems to be that 
> CentOS fails to provide a knetworkmanager package, and we're using KDE3 
> for various reasons. Thus, we're limited to Networkmanager-gnome which 
> works but fails to save passwords in KDE3 and only works in Gnome. Of 
> course kwallet is installed but requires knetworkmanager to work. The 
> only solution I found so far was to log into Gnome, connect to the 
> wireless network and save the password but that's certainly NOT an opion.
>
> I guess the question is quite simple: how do I get NetworkManager to save 
> passwords in KDE3? It's a critical issue and switching to Gnome is not an 
> option either. Infact it's Novell's decision to ditch KDE3 and focus on 
> KDE4 instead that made us turn our backs on openSUSE in the first place.
>
> So, is it possible to solve this teeny-tiny problem some other way?
>
>   
There was a thread, "NetworkManager won't save wireless keys", on this 
list on January 14, 2010.  I don't know if it was your problem exactly.  
If you don't have the thread and would like it let me know & I will 
forward it to you.
rkw
> Thanks in advance,
> Martin
>
>   


-- 
Roger Wells, P.E.
SAIC
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger.k.we...@saic.com

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


Re: [CentOS] Motherboards for HPC applications

2010-03-09 Thread John R Pierce
Eduardo Grosclaude wrote:
> On Tue, Mar 9, 2010 at 1:08 AM, John R Pierce  wrote:
>   
>> for a high performance compute cluster, you'll probably want to use
>> management software like Oscar, which integrates system management with
>> MPI based distributed computing such that you can manage a cluster of
>> 100s of servers like its a single big system
>> 
>
> I've been using Kusu with much success. Sadly, you're pretty much on
> your own there as the project seems unsupported or sucked dry out by
> Platform.com.
> I hope it to fully reincarnate in Red Hat's HPC proposal and that it
> eventually makes its way into CentOS.
>   

note that Oscar 6.x can be used with Centos 5.x (or debian or suse), and 
it seems like Centos is their preferred platform.

I setup an Oscar test cluster some time ago using some old PCs, it was 
surprisingly easy.  you install the oscar packages on your 'master' 
server, this one has two connections, one to your LAN and one to your 
HPC cluster (which is on its own switch).Then you PXE boot your HPC 
nodes and they get installed with a centos+scientific kit, inculding any 
custom application stuff you specified.   then you just run your MPI 
based application(s), and its automatically distributed across the nodes 
of the cluster, Oscar also provides monitoring (Ganglia) and other stuffs.

MPI is a standard Message Passing Interface used in scientific 
computing, essentially you write your software such that it accepts 
messages telling it what to do and sends messages with the results.   
This works best for applications that don't need a lot of global 
interactions, where each unit of computation can be self contained for 
some reasonable period of time.   




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


Re: [CentOS] Filter web content in a LAN ?

2010-03-09 Thread Les Mikesell
On 3/9/2010 11:44 AM, Niki Kovacs wrote:
>
> The computer room is a public commodity for everyone. So even if an
> adult person is using the computer to peruse www.cumshotfiesta.com or
> the likes, this would probably incommodate other town hall visitors with
> children.
>
> But I've done some research on my own in the meanwhile, I already have
> Squid running on one of my test boxes, and I think Squidguard will do
> the job.

I think squidguard just blocks known-bad URLs.  There's also 
http://dansguardian.org/?page=whatisdg for content filtering.

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


Re: [CentOS] Motherboards for HPC applications

2010-03-09 Thread Pasi Kärkkäinen
On Mon, Mar 08, 2010 at 08:09:57PM -0800, nate wrote:
> Gordon McLellan wrote:
> 
> > If your application can't support GPU based processing, I think
> > Peter's suggestion is most fitting.  Load up a rack of dual socket
> > 5520 servers from Dell or HP and then save some money by building your
> > own shared-storage to feed the cluster.  The big vendors crank out
> > very inexpensive dual socket xeon servers, the only area they really
> > seem to be price gouging in right now is storage.
> 
> For me I have been working on spec'ing out a "HPC" cluster to run
> Hadoop on large amounts of data and fell in love with the SGI
> Cloud Rack C2.
> 
> I managed to come up with a configuration that had roughly 600
> CPU cores, 1.2TB of memory and 300 1TB SATA disks in a single rack
> and consumes ~16,000 watts of power with 99% efficient rack level
> power supplies and N+1 power redundancy, rack level cooling as well.
> Very cost effective as well at least for larger scale deployments,
> assuming you have a data center that can support such density.
> 
> http://www.sgi.com/products/servers/cloudrack/cloudrackc2.html
> 
> My current data center does not support such density so I came up
> with a configuration of 320 CPU cores, 640GB memory, and 160x1TB
> disks that fit in a single 24U rack, and consumes roughly 8,000
> watts(208V 30A 3-phase) and weighs in at just under 1,200 pounds
> (everything included).
> 
> Systems come fully racked, cabled & ready to plug in. Systems
> are built with commodity components wherever possible(MB/ram/CPU/HD),
> only custom stuff is the enclosure, cooling, and power distribution,
> which is how they achieve the extreme densities and power
> efficiency.
> 

Wow, pretty cool system. Can you tell about the pricing? 

-- Pasi

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


Re: [CentOS] strange su behavior

2010-03-09 Thread Uwe Kiewel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 09.03.2010 17:32, schrieb John Doe:
> From: Uwe (ML) Kiewel 
>>> Do you have any sudo call from your /etc or /etc/skel bashrc or profile...?
>> Yes, I do have in /etc/bashrc:
>> sudo -l
> 
> Unless you already understood:
>   su -  "make the shell a login shell"
>   so sudo -l  in bashrc is executed, which asks for the user's password
> 

Understood, who is asking - not understood why "sudo -l" is asking for
the password and why just hitting the enter key works

Thanks,
Uwe
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJLlqcxAAoJENs3frmum9sw9uYH/Ru8jR0zIApspV4W+1TzYo3H
HU6bAAU7p+Gee7rDWPCt4u+o+3woejV1MFFOF3jmAgv5qfZh2/nFAjRCF1Ml/OiW
La9xmCv5OZb1fJfHmcL7c/JoTtvfTKXkVbyb0tBec2YCqUATRvOVbLHCMYEI9OQJ
A+NeYlfOfQZ8Gnd9g435RoDEVNvYI+FhwOK0bwNRhDRC1ql5GYAcaNoqCtVLapj9
WN+IoxdIu5pm2aSMse/gyHV42JCb7AaVU7kfvoJh+nDQ3SgyOUKqDP+8Uq82mz3i
CGz5fp/bcS4BCMasQRI1F5tpuQQJPECG7HWho4pHSrEPNn+yKJ0iCjiZFY85oYs=
=F/Hf
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] strange su behavior

2010-03-09 Thread Bowie Bailey
Uwe Kiewel wrote:
> Am 09.03.2010 17:32, schrieb John Doe:
> > From: Uwe (ML) Kiewel 
> >>> Do you have any sudo call from your /etc or /etc/skel bashrc or
> profile...?
> >> Yes, I do have in /etc/bashrc:
> >> sudo -l
> > Unless you already understood:
> >   su -  "make the shell a login shell"
> >   so sudo -l  in bashrc is executed, which asks for the user's password
>
>
> Understood, who is asking - not understood why "sudo -l" is asking for
> the password and why just hitting the enter key works

Hitting the enter key "works" as far as making the prompt go away, but
the sudo command is actually failing silently.  If you enter the correct
password, you should receive some extra output.

Just pressing enter at the prompt:
$ sudo -l
Password:
$

Entering the correct password:
$ sudo -l
Password:
User xx may run the following commands on this host:
(ALL) ALL
$

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


Re: [CentOS] strange su behavior

2010-03-09 Thread Tom H
 Do you have any sudo call from your /etc or /etc/skel bashrc or profile...?
>>> Yes, I do have in /etc/bashrc:
>>> sudo -l
>> Unless you already understood:
>>   su -  "make the shell a login shell"
>>   so sudo -l  in bashrc is executed, which asks for the user's password
> Understood, who is asking - not understood why "sudo -l" is asking for
> the password and why just hitting the enter key works

sudo -l
lists the commands that you are allowed to run with sudo
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Exim VS Postfix (no flame wars please)

2010-03-09 Thread Christopher Chan
On Tuesday, March 09, 2010 11:03 PM, da...@pnyet.web.id wrote:
> Yahoo using postfix, and zimbra also use postfix as MTA. But exim is simple 
> to configure.

And when did Yahoo switch from qmail to postfix? In fact, the headers 
still indicate that Yahoo is using their own modified version of qmail.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Motherboards for HPC applications

2010-03-09 Thread Christopher Chan
On Wednesday, March 10, 2010 12:35 AM, Joshua Baker-LePain wrote:
> On Tue, 9 Mar 2010 at 9:49pm, Chan Chung Hang Christopher wrote
>
>> If cpu processing power is the sole criteria, then why limit to
>> dual-socket boards and not go for quad-socket boards?
>
> In general, the price goes up non-linearly as you go above 2 sockets,
> making 2 sockets the sweet spot when it comes to price/performance.
>

Hmm, I see at most a 50% increase in motherboard pricing from a dual to 
a quad socket motherboard and that is with a difference in feature set 
too with the quad coming with an extra onboard LSI 8 port SAS 
controller. That is hardly going up non-linearly. (taking an extremely 
narrow angle ;-p)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Motherboards for HPC applications

2010-03-09 Thread nate
Pasi Kärkkäinen wrote:

> Wow, pretty cool system. Can you tell about the pricing?

I don't think I can, but it is competitive with Dell and HP
as an example while the innovation put into the cloud rack
is far beyond anything Dell or HP offer to mere mortals.
Closest HP offers is the "SL" series of systems which are
pretty decent, though offer roughly half the density as
SGI for our particular application.

http://h10010.www1.hp.com/wwpc/us/en/sm/WF02a/15351-15351-3896136.html?jumpid=re_R295_prodexp/busproducts/computing-server/proliant-sl-scalable-sys&psn=servers

Dell is coming out with something new soon

http://www.theregister.co.uk/2010/02/03/dell_cloudedge/

I've seen them, and honestly aren't all that creative, very
similar to Supermicro Twin. They are decent for CPU and
memory intensive stuff, but not as good for (local) I/O
intensive. They seem pretty proud about these systems though
considering Supermicro has had similar stuff on the market
for quite some time now there isn't much to get excited about
IMO.

SGI(formerly Rackable) has been pretty aggressive in patenting
their designs, which is probably what lead to vendors like
Supermicro building their "Twin" systems.

http://www.sgi.com/company_info/newsroom/press_releases/rs/2007/05082007.html

Dell has a custom design division which they can probably do
some pretty crazy things but I'm told they have a ~1,500
server minimum to get anything from that group.

nate


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


Re: [CentOS] Motherboards for HPC applications

2010-03-09 Thread Jeff Layton
I work for Dell but I can't talk too much about the units
you are referring to. The launch date is in a couple of
weeks and then I can spill my guts :)

I can't talk about price since, to be honest, I don't really
know pricing (I'm a tech person). But let me give some
general hints. The unit you are speaking about has actually
been selling for a couple of years to larger customers.
There are more units of this in production use right now
than all of Supermicro and HP combined :)  One success
I can mention since it's public is Wolfram's Alpha system
is powered by these units.

What is new with the "launch" is that before you had to
but them in quantities of 500-1,000. Now you can buy
one of them.

So if Dell was doing these 2 years ago, imagine what is
coming next :) 

Jeff






From: nate 
To: centos@centos.org
Sent: Tue, March 9, 2010 7:37:04 PM
Subject: Re: [CentOS] Motherboards for HPC applications

Pasi Kärkkäinen wrote:

> Wow, pretty cool system. Can you tell about the pricing?

I don't think I can, but it is competitive with Dell and HP
as an example while the innovation put into the cloud rack
is far beyond anything Dell or HP offer to mere mortals.
Closest HP offers is the "SL" series of systems which are
pretty decent, though offer roughly half the density as
SGI for our particular application.

http://h10010.www1.hp.com/wwpc/us/en/sm/WF02a/15351-15351-3896136.html?jumpid=re_R295_prodexp/busproducts/computing-server/proliant-sl-scalable-sys&psn=servers

Dell is coming out with something new soon

http://www.theregister.co.uk/2010/02/03/dell_cloudedge/

I've seen them, and honestly aren't all that creative, very
similar to Supermicro Twin. They are decent for CPU and
memory intensive stuff, but not as good for (local) I/O
intensive. They seem pretty proud about these systems though
considering Supermicro has had similar stuff on the market
for quite some time now there isn't much to get excited about
IMO.

SGI(formerly Rackable) has been pretty aggressive in patenting
their designs, which is probably what lead to vendors like
Supermicro building their "Twin" systems.

http://www.sgi.com/company_info/newsroom/press_releases/rs/2007/05082007.html

Dell has a custom design division which they can probably do
some pretty crazy things but I'm told they have a ~1,500
server minimum to get anything from that group.

nate


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


[CentOS] IPSec VPN Setup?

2010-03-09 Thread Ski Dawg
Hello Everyone,

I have been tasked at work with setting up a VPN connection from our
server to a client's network. The only problem is that I have never
done anything like this before, so I am not sure where to start.

We are running CentOS 5.4 on our server. I do not yet know what the
client is running for their VPN, the only thing I know of from the
client, is we need to use IPSec for our VPN connection to them. I have
been googling, and have found quite a bit of information, but it is a
little overwhelming, as I am new to setting up a VPN. Is the a
"standard" method for doing this sort of setup that I am missing so
far?

If anyone has any quick pointers to get me started, that would be
greatly appreciated.
-- 
Doug

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

Never trust a computer you can't throw out a window.
   -- Steve Wozniak
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Motherboards for HPC applications

2010-03-09 Thread John R Pierce
Christopher Chan wrote:
> Hmm, I see at most a 50% increase in motherboard pricing from a dual to 
> a quad socket motherboard and that is with a difference in feature set 
> too with the quad coming with an extra onboard LSI 8 port SAS 
> controller. That is hardly going up non-linearly. (taking an extremely 
> narrow angle ;-p


did you price the quad socket CPUs ?  they cost significantly more, 
too.   the newest processor chips are usually the dual socket 
versions.   Also, 4-socket servers may have performance issues caused by 
4-way cache coherency chatter, non-uniform memory access, and so forth.



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


Re: [CentOS] Motherboards for HPC applications

2010-03-09 Thread Christopher Chan
On Wednesday, March 10, 2010 11:41 AM, John R Pierce wrote:
> Christopher Chan wrote:
>> Hmm, I see at most a 50% increase in motherboard pricing from a dual to
>> a quad socket motherboard and that is with a difference in feature set
>> too with the quad coming with an extra onboard LSI 8 port SAS
>> controller. That is hardly going up non-linearly. (taking an extremely
>> narrow angle ;-p
>
>
> did you price the quad socket CPUs ?  they cost significantly more,

Guess why I said 'extremely narrow angle' :-D

> too.   the newest processor chips are usually the dual socket
> versions.   Also, 4-socket servers may have performance issues caused by
> 4-way cache coherency chatter, non-uniform memory access, and so forth.
>


/me looking at AMD solutions where those issues do not exist. 
Performance is almost linear. On the Intel side, a dual socket solution 
will even outperform a quad socket solution so if one is looking for 
Intel cpu solutions, dual socket is the only sensible choice. But that 
does not mean quad socket solutions should be discounted when an AMD 
solution will outperform the best Intel dual-socket setup available.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] IPSec VPN Setup?

2010-03-09 Thread Geoff Galitz


I use Openswan regularly for IPSec VPN connections to remote sites.
Although the documentation is a bit lacking it is pretty easy to get going
once you've played with it a bit.  

It is reliable, widely available and the openswan users support list is
responsive.

If you have trouble connecting to the remote side, ike-scan can help in
getting your key exchange settings right.  That is usually the hard part, in
my experience.

-geoff


-
Geoff Galitz
Blankenheim NRW, Germany
http://www.galitz.org/
http://german-way.com/blog/


> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf Of Ski Dawg
> Sent: Mittwoch, 10. März 2010 02:12
> To: centos@centos.org
> Subject: [CentOS] IPSec VPN Setup?
> 
> Hello Everyone,
> 
> I have been tasked at work with setting up a VPN connection from our
> server to a client's network. The only problem is that I have never
> done anything like this before, so I am not sure where to start.
> 
> We are running CentOS 5.4 on our server. I do not yet know what the
> client is running for their VPN, the only thing I know of from the
> client, is we need to use IPSec for our VPN connection to them. I have
> been googling, and have found quite a bit of information, but it is a
> little overwhelming, as I am new to setting up a VPN. Is the a
> "standard" method for doing this sort of setup that I am missing so
> far?
> 
> If anyone has any quick pointers to get me started, that would be
> greatly appreciated.
> --
> Doug
> 
> Registered Linux User #285548 (http://counter.li.org)
> 
> Never trust a computer you can't throw out a window.
>-- Steve Wozniak
> ___
> 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