Re: [CentOS] OpenJDK vs Sun JDK

2010-04-15 Thread Mathieu Baudier
> RedHat has acknowleged that Sun's JDK is faster - despite the fact
> OpenJDK is native. Since it's native, it also means it's not platform
> independent (in the sense of compile once run anywhere.)

What do you mean "is native" ?

The JDK (or rather the JVM) is native on all OS, since it is the layer
which makes the Java compiled bytecode portable.
OpenJDK could even be seen as more portable since the IcedTea build
harness allows to port it to more platforms via the Zero JIT (there is
a significant amount of processor-dependent assembler code in the JVM)

I'm using OpenJDK on my servers and desktops under CentOS/Fedora for
years, and my customers run the Java binaries on Windows without
problem.

I have no idea about speed difference, but I would be a bit surprised
if it would be very big.
My understanding is that the (native) Hotspot JVM is basically the
same for both products and that the differences are about some java
libraries.
That would be interesting if you could send a reference to this Fedora thread.

More generally OpenJDK is not a separate independent project (like
Blackdown used to be, or Apache Harmony still is), this is just the
Sun JVM codebase, with compatible licenses (some patches are then
applied by the IcedTea build harness when building the binaries from
OpenJDK sources).
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Building an "instant on" X terminal

2010-04-15 Thread Hakan Koseoglu
On Thu, Apr 15, 2010 at 1:54 AM, Stephen Harris  wrote:
>> If you aren't adverse to Ubuntu, 10.04 LTS (beta right now but final by
>> the end of the month) boots in 10 seconds from a hard drive. I've tried
>> it: It was impressively fast.
> Will it run in 256Mb RAM and on 512Mb of disk?  'Cos that's all this
> machine has :-)
I did a quick and dirty test setup yesterday and was quite impressed.
One of the tests was running a VMWare with 128MB and a tiny empty
disk. The VM booted off the LTSP binaries merrily and was up and
running within seconds. The server was a VM on my file server with
768MB RAM and the client was a VM on my linux laptop so everything did
go through the network cable in the end. I've also tried an ancient
700MHz Pentium 3 laptop with 256MB RAM and that was way faster than
the local Linux installation on the box so I think this setup is going
to stay and will be in use instead of the local OS.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Building an "instant on" X terminal

2010-04-15 Thread Hakan Koseoglu
On Thu, Apr 15, 2010 at 1:26 AM, Benjamin Franz  wrote:
> If you aren't adverse to Ubuntu, 10.04 LTS (beta right now but final by
> the end of the month) boots in 10 seconds from a hard drive. I've tried
> it: It was impressively fast.
I was curious about this and installed one of these on an amd64 VM
with a standard LTSP installation and my ancient 700MHz i386 laptop
was running of it within an hour and pretty fast as well. Even sound
worked fine and stuff like youtube were tolerable. The performance and
experience was way better than the old thin-client terminals of the
same age with a cut-down Linux on the on-board CF-Card. The whole
thing took 13GB on disk and 768MB of RAM to support two clients.
Trying the CentOS one is probably the next step.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] burning an image

2010-04-15 Thread Mogens Kjaer
On 04/16/2010 04:59 AM, david walcroft wrote:
...
> I tried your command but this error came up
>
> [da...@reddwarf ~]$ growisofs -dvd-compat -Z
> /dev/dvd=rpm/CentOS-5.4-x86_64-bin-DVD.iso
> :-( /dev/dvd: media is not recognized as recordable DVD: 0

What does this command say?

dvd+rw-mediainfo /dev/dvd

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: m...@crc.dk Homepage: http://www.crc.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] memory leak observed with valgrind on CentOS release 5.4 (Final)

2010-04-15 Thread Jai Prakash
Hi All,

 

Not sure exactly a memory leak or not. I was porting my nagios from
Redhat 7.3 to CentOS 5.4 and I observed the memory usage was gradually
increasing on the new centos box. 

 

When I ran all my perl plugins with Valgrind -3.2.1, all the plugins
complained about a memory leak. Not sure if it's a leak or if its fault
with valgrind way of evaluating things. 

 

I have attached valgrind output when i ran a simple hello-world.pl on my
centos box.  

 

I shall greatly appreciate if anyone have faced similar behaviour.

 

Thanks,

Jai Prakash

 

 



perl-leak.26127
Description: perl-leak.26127
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] OpenJDK jvm vs Sun jvm was Re: OpenJDK vs Sun JDK

2010-04-15 Thread Christopher Chan
On Friday, April 16, 2010 11:44 AM, Agile Aspect wrote:
> On Tue, Apr 13, 2010 at 11:03 PM, Christopher Chan
>   wrote:
>> Hi all,
>>
>> Any comments as to Centos/RHEL 5.3's openjdk implementation versus Sun's?
>
> RedHat has acknowleged that Sun's JDK is faster - despite the fact
> OpenJDK is native. Since it's native, it also means it's not platform
> independent (in the sense of compile once run anywhere.)

Argh, it appears that I have gotten so used to installing the jdk, it 
does not click when all I actually want at the moment is the jvm.

How do the jvms compare?


>
> See the Fedora mailing list - there was discussion about a year ago.
>

Sun's JDK is faster eh...I guess that is sad news.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OpenJDK vs Sun JDK

2010-04-15 Thread Agile Aspect
On Tue, Apr 13, 2010 at 11:03 PM, Christopher Chan
 wrote:
> Hi all,
>
> Any comments as to Centos/RHEL 5.3's openjdk implementation versus Sun's?
>
> cheers,
>
> Christopher
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

RedHat has acknowleged that Sun's JDK is faster - despite the fact
OpenJDK is native. Since it's native, it also means it's not platform
independent (in the sense of compile once run anywhere.)

See the Fedora mailing list - there was discussion about a year ago.

-- 
  Enjoy global warming while it lasts.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] burning an image

2010-04-15 Thread david walcroft
On 04/16/2010 01:02 PM, Rob Kampen wrote:
> david walcroft wrote:
>> On 04/15/2010 11:10 AM, Kahlil Hodgson wrote:
>>> On 15/04/10 09:58, david walcroft wrote:
 I downloaded CentOS-5.4-x86_64-bin-DVD.iso but I haven't used Centos
 before and I've haven't used a -bin-DVD.iso before,every attempt so far
 to burn one has produced coasters,what do I do to get an image.
>>> I've had graphical apps give me coasters on occasion. From the command
>>> line you can try:
>>>
>>> growisofs -dvd-compat -Z /dev/dvd=CentOS-5.4-x86_64-bin-DVD.iso
>>>
>>> (yes the syntax is a bit silly)
>>>
>>> Kal
>>>
>>>
> I have found K3b to be excellent for burning CD and DVD from iso and
> making my own data disks.
>>> ___
>>> CentOS mailing list
>>> CentOS@centos.org
>>> http://lists.centos.org/mailman/listinfo/centos
>> I tried your command but this error came up
>>
>> [da...@reddwarf ~]$ growisofs -dvd-compat -Z
>> /dev/dvd=rpm/CentOS-5.4-x86_64-bin-DVD.iso
>> :-( /dev/dvd: media is not recognized as recordable DVD: 0
>>
>> I used a dvd-rw and a dvd-rw-dl with the same results.
>>
>> Thanks david
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
Yes it is good and I use all the time

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


Re: [CentOS] burning an image

2010-04-15 Thread Rob Kampen

david walcroft wrote:

On 04/15/2010 11:10 AM, Kahlil Hodgson wrote:
  

On 15/04/10 09:58, david walcroft wrote:


I downloaded CentOS-5.4-x86_64-bin-DVD.iso but I haven't used Centos
before and I've haven't used a -bin-DVD.iso before,every attempt so far
to burn one has produced coasters,what do I do to get an image.
  

I've had graphical apps give me coasters on occasion.  From the command
line you can try:

growisofs -dvd-compat -Z /dev/dvd=CentOS-5.4-x86_64-bin-DVD.iso

(yes the syntax is a bit silly)

Kal



I have found K3b to be excellent for burning CD and DVD from iso and 
making my own data disks.

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


I tried your command but this error came up

[da...@reddwarf ~]$ growisofs -dvd-compat -Z 
/dev/dvd=rpm/CentOS-5.4-x86_64-bin-DVD.iso

:-( /dev/dvd: media is not recognized as recordable DVD: 0

I used a dvd-rw and a dvd-rw-dl with the same results.

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


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


Re: [CentOS] burning an image

2010-04-15 Thread david walcroft
On 04/15/2010 10:58 AM, Robert Heller wrote:
> At Thu, 15 Apr 2010 09:58:40 +1000 CentOS mailing list  
> wrote:
>
>>
>> I downloaded CentOS-5.4-x86_64-bin-DVD.iso but I haven't used Centos
>> before and I've haven't used a -bin-DVD.iso before,every attempt so far
>> to burn one has produced coasters,what do I do to get an image.
>
> Were you burning it to a *DVD*-R?  It is NOT a CD image.  You need two
> things:
>
> 1) A DVD burner (as opposed to a CD burner).
> 2) A DVD-R (as opposed to a CD-R).
>
> Make sure you have the proper hardware and blank media.
>
> Also: did you download the md5sum file?  Use that to do a check of the
> md5sum to make sure your ISO file is not broken.
>
>>
>> Thanks  david
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>>
>
I used a dvd-rw and a dvd-rw-dl on a dvd-rw-dl burner.
md5sum is correct.

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


Re: [CentOS] burning an image

2010-04-15 Thread david walcroft
On 04/15/2010 11:10 AM, Kahlil Hodgson wrote:
> On 15/04/10 09:58, david walcroft wrote:
>> I downloaded CentOS-5.4-x86_64-bin-DVD.iso but I haven't used Centos
>> before and I've haven't used a -bin-DVD.iso before,every attempt so far
>> to burn one has produced coasters,what do I do to get an image.
>
> I've had graphical apps give me coasters on occasion.  From the command
> line you can try:
>
>   growisofs -dvd-compat -Z /dev/dvd=CentOS-5.4-x86_64-bin-DVD.iso
>
> (yes the syntax is a bit silly)
>
> Kal
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
I tried your command but this error came up

[da...@reddwarf ~]$ growisofs -dvd-compat -Z 
/dev/dvd=rpm/CentOS-5.4-x86_64-bin-DVD.iso
:-( /dev/dvd: media is not recognized as recordable DVD: 0

I used a dvd-rw and a dvd-rw-dl with the same results.

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


Re: [CentOS] Building an "instant on" X terminal

2010-04-15 Thread Reynolds McClatchey
>
> Huh.  A small version of Debian Etch.  Boots (once POST has complted)
> in under 25 seconds.
>
> Hmm, old versions of software, and "apt-get upgrade" causes the system
> to die (root disk filled out) but definitely a possibility.

I believe Synaptic is installed. I did not upgrade but used Synaptic to 
install
the packages I needed but not included - lpd, xpdf. I found an Etch repo 
somewhere.

I ran out of flash at some point. I needed serial printers for a plant label
printer and could never get the RS232 printer working.

We have 10 or so HP thin clients and fragility of the flash data has not 
been an issue.
Instant on is not an issue and I missed that in your original note.

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


Re: [CentOS] Viewing the NTP Server configured

2010-04-15 Thread Jobst Schmalenbach
On Thu, Apr 15, 2010 at 03:42:22PM +0700, Wahyu Darmawan 
(wahyu.darma...@gmail.com) wrote:
> You can use /var/log/messages info for your synchronized time server.
> 

That is only for the standard config, if you inherit
machines this could be in /var/log/ntp.log or something
as you can specify e.g. "-l /var/log/ntp.log"

A better way would be

  ps -Afw | grep ntp


Jobst



> 
> On Thu, Apr 15, 2010 at 3:40 PM, Jatin Davey  wrote:
> > How do i know which NTP server is my linux box contacting to synchronize
> > its time with that of the server ?
> >
> > Thanks
> > Jatin
> > ___
> > 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

-- 
Why don't sheep shrink when it rains?

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


Re: [CentOS] scripting CPAN installs

2010-04-15 Thread Jobst Schmalenbach

On Thu, Apr 15, 2010 at 04:31:08PM -0400, Alan McKay (alan.mc...@gmail.com) 
wrote:
> > While I can't answer that, I might try to actually call a Perl check after
> > which although slightly extra work would yield the answer.

> snip

> We don't do auto-updates on production boxes so this is not a concern.
>  And yeah, my other alternative would be to do it all via yum instead
> of CPAN, but that would be a massive change to the system I've
> inherited.

Correct me if I am wrong, but I was under the impression that this
does not matter as the RPM's plug all the stuff into the correct
locations for perl and the modules ... I use a lot of perl modules
(e.g. for mimedefang, some online stuff I do etc) and cross upgraded 
a few machines, e.g. from FC6 to CentOS 5.4.

So the perl installation used to be totally CPAN based, now I upgrade
most of the stuff from YUM. So far nothing has been broken and they
are all rock solid.

So I would look for the RPM first, then for CPAN.



Jobst











> 
> 
> -- 
> ?Don't eat anything you've ever seen advertised on TV?
>  - Michael Pollan, author of "In Defense of Food"
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 
f u cn rd ths, u cn gt a gd jb n cmptr prgmmng. [Anon]

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


Re: [CentOS] How Do I ...

2010-04-15 Thread Jobst Schmalenbach
> Then came blade servers with built-in nics you can't  unplug because they're 
> plugged to the blade center enclosure's internal switches :)

ok, granted:

   2
(OUCH)


Jobst





On Thu, Apr 15, 2010 at 08:32:06AM -0700, Fernando Gleiser 
(ferglei...@yahoo.com) wrote:
> 
> 
> 
> 
> - Original Message 
> > From: Jobst Schmalenbach 
> > To: centos@centos.org
> > Sent: Thu, April 15, 2010 1:20:45 AM
> > Subject: Re: [CentOS] How Do I ...
> > 
> > 
> ;-)
> > in the olden days it was so easy, you had PCI cards and they were 
> > named by the slot number, starting with eth0 in PCI slot 1 and so on.
> > Then 
> > came the inbuilt nics
> > Then came the PCIx built nics
> > Then came the PCI-e 
> > built nics
> 
> > OUCH! ;-)
> 
> 
> 
> I had an awful time trying to install a bunch of servers via PXE, the server 
> booted from one nic, then tried to configure eth0 which was ANOTHER nic which 
> was (of course) connected to a different built in switch and the installation 
> failed because it couldn't access the kickstart file.
> 
> We had to trunk the 4 internal switches for the install, then we had to look 
> into the switch's management to see which card was in what port, then modify 
> the ifcfg-ethX to configure each one of the NICs with the right IP
> 
> 
> Fer
> 
> 
> 
>   
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 
Note to DOS users: UNIX is a lot more FUN - Peter Norton

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


Re: [CentOS] How Do I ...

2010-04-15 Thread Jobst Schmalenbach

Yeah, but that has an advantage!

After you plug in the USB-nic you can do an ifconfig and
immediately know the HW address ... make up an "ifcfg-ethX" for
that ... plug in the next one ... ifconfig ... make up an "ifcfg-ethx"
for that one and so on.

I use this method to tap into bridged adsl connections, VOIP
interfaces etc ...


jobst









On Thu, Apr 15, 2010 at 11:10:18AM -0500, Les Mikesell (lesmikes...@gmail.com) 
wrote:
> On 4/15/2010 10:32 AM, Fernando Gleiser wrote:
> 
> >> in the olden days it was so easy, you had PCI cards and they were
> >> named by the slot number, starting with eth0 in PCI slot 1 and so on.
> >> Then
> >> came the inbuilt nics
> >> Then came the PCIx built nics
> >> Then came the PCI-e
> >> built nics
> >
> >> OUCH! ;-)
> >
> >
> > Then came blade servers with built-in nics you can't  unplug because 
> > they're plugged to the blade center enclosure's internal switches :)
> 
> Worse, and probably more to the point of non-deterministic hardware 
> detection, you can plug in a USB->ethernet adapter anytime or several in 
> any order.
> 
> -- 
>Les Mikesell
> lesmikes...@gmail.com
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 
My Carpenter has a 1956 VW Beetle. He still can go to any place in Australia, 
use any Oil, spark plugs, pertol, tires, wiper blades, etc available today with 
a car that old. If only software would be like that.

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


Re: [CentOS] CentOS 5.x and Fedora

2010-04-15 Thread Jobst Schmalenbach

That is NOT a CentOS thing, **ONLY**.
It is valid for ANY distribution, indeed!


Most computers would be stable including windows machines if
people would stop installing crap, e.g.  why did Mircosoft "invent"
the feature of restoring system32 (from dllcache) or any of their
other "features" to make it more stable?


... and because some (rpm) package is provided in some repository
packaged by "someone else" does not necessary mean that it is stable
or stable for a certain setup (hw, combintation of packages etc) or
doesn't overwrite "stuff".


... and because some package is provided in the MAIN repository
does not mean its stable, either. I run amanda and have been doing 
since 1998, the version that is in the main repository (2.5.0p2)
is 5 years old and crashed my 5.4 server (and another server I
look after part time voluntarily). I currently run a self compiled
2.6.1 and never looked back (this includes all of amanda's clients).


I like CentOS, and it has a lot of advantages. I came from Fedora
BUT the MAIN reason why I moved is not stability BUT security as
I have had uptimes of 300+ days on lots of FC machines, including a 
FC6 box I just replaced. But getting a security update for CentOS 
(e.g. for bind) is easier than for a 2 year old FCX distro
because its not supported anymore.


jobst




On Thu, Apr 15, 2010 at 10:02:52AM +0100, Ned Slider (n...@unixmail.co.uk) 
wrote:
> Jobst Schmalenbach wrote:
> > why dont you download the source and compile it, its really easy.
> > 
> 
> Source installs are not encouraged:
> 
> http://wiki.centos.org/PackageManagement/SourceInstalls
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 
Passwords are like underwear. You don't share them, you don't hang them on your 
monitor, or under your keyboard, you don't email them, or put them on a web 
site, and you must change them very often.

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


Re: [CentOS] (semi-) rugged laptop running CentOS 5?

2010-04-15 Thread John R Pierce
Jim Davis wrote:
> We're looking for a laptop to run in a 10,000', cold, occasionally wet
> environment, and it needs to run CentOS 5.  Perhaps something like the
> Dell Latitude E6400 ATG? There's a reference to a minor trackball bug
> for the 6400 under CentOS 5 (http://bugs.centos.org/view.php?id=4192)
> but otherwise it sounds like the x86_64 version should run on it.
> Ideally the system would use a SSD too.  Any suggestions?
>   

panasonic toughbook, one of the serious ones with the ip65 rating, like 
the 19 or the 30.




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


[CentOS] (semi-) rugged laptop running CentOS 5?

2010-04-15 Thread Jim Davis
We're looking for a laptop to run in a 10,000', cold, occasionally wet
environment, and it needs to run CentOS 5.  Perhaps something like the
Dell Latitude E6400 ATG? There's a reference to a minor trackball bug
for the 6400 under CentOS 5 (http://bugs.centos.org/view.php?id=4192)
but otherwise it sounds like the x86_64 version should run on it.
Ideally the system would use a SSD too.  Any suggestions?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apparent BIND problem doing RBL lookups for Postfix

2010-04-15 Thread Nataraj
Larry Vaden wrote:
> On Thu, Apr 15, 2010 at 3:53 PM, Scott Silva  wrote:
>   
>> on 4-15-2010 1:36 PM Larry Vaden spake the following:
>> 
>>> On Thu, Apr 15, 2010 at 3:18 PM, Ned Slider  wrote:
>>>   
 Larry Vaden wrote:
 
> On Thu, Apr 15, 2010 at 3:03 PM, Ned Slider  wrote:
>   
>> Changing dns to public services such as google or OpenDNS is not going
>> to help as DNSBLs like Spamhaus will have blocked access by these
>> services. Otherwise it would be simple to avoid paying for (business)
>> access to Spamhaus.
>> 
> Au contraire, there are benefits/economies of scale to spamhaus.org
> from having an aggregator like opendns.
>
>   
 Indeed, but not if you are charging for high volume and/or commercial use.
 
>>> opendns resolves queries to zen.spamhaus.org and AFAIK all the major
>>> DNSBLs.  Period.  End.
>>>
>>> kind regards/ldv
>>>   
>
>   
>> Resolves them, or forwards them? Just curious...
>> 
>
> Avoiding answering your question because of lack of expertise in the
> difference of resolving vs. forwarding, but (IP taken from a recent
> (Apr 15 16:01:25 CT) postfix NOQUEUE):
>
> [redac...@catch22 etc]# host 251.54.51.173.zen.spamhaus.org 208.67.222.222
> Using domain server:
> Name: 208.67.222.222
> Address: 208.67.222.222#53
> Aliases:
>
> 251.54.51.173.zen.spamhaus.org has address 127.0.0.10
> 251.54.51.173.zen.spamhaus.org has address 127.0.0.4
>   
Well adding the -a option to host shows that the answer is not authoritative, 
so the query is being forwarded.


host -a 251.54.51.173.zen.spamhaus.org 208.67.222.222

Trying "251.54.51.173.zen.spamhaus.org"

Using domain server:

Name: 208.67.222.222

Address: 208.67.222.222#53

Aliases: 

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23703

;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;251.54.51.173.zen.spamhaus.org.INANY
;; ANSWER SECTION:
251.54.51.173.zen.spamhaus.org.893 INA127.0.0.10
251.54.51.173.zen.spamhaus.org.893 INA127.0.0.4





> [redac...@catch22 etc]#
> ___
> 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] Apparent BIND problem doing RBL lookups for Postfix

2010-04-15 Thread Larry Vaden
On Thu, Apr 15, 2010 at 3:53 PM, Scott Silva  wrote:
> on 4-15-2010 1:36 PM Larry Vaden spake the following:
>> On Thu, Apr 15, 2010 at 3:18 PM, Ned Slider  wrote:
>>> Larry Vaden wrote:
 On Thu, Apr 15, 2010 at 3:03 PM, Ned Slider  wrote:
> Changing dns to public services such as google or OpenDNS is not going
> to help as DNSBLs like Spamhaus will have blocked access by these
> services. Otherwise it would be simple to avoid paying for (business)
> access to Spamhaus.

 Au contraire, there are benefits/economies of scale to spamhaus.org
 from having an aggregator like opendns.

>>>
>>> Indeed, but not if you are charging for high volume and/or commercial use.
>>
>> opendns resolves queries to zen.spamhaus.org and AFAIK all the major
>> DNSBLs.  Period.  End.
>>
>> kind regards/ldv

> Resolves them, or forwards them? Just curious...

Avoiding answering your question because of lack of expertise in the
difference of resolving vs. forwarding, but (IP taken from a recent
(Apr 15 16:01:25 CT) postfix NOQUEUE):

[redac...@catch22 etc]# host 251.54.51.173.zen.spamhaus.org 208.67.222.222
Using domain server:
Name: 208.67.222.222
Address: 208.67.222.222#53
Aliases:

251.54.51.173.zen.spamhaus.org has address 127.0.0.10
251.54.51.173.zen.spamhaus.org has address 127.0.0.4
[redac...@catch22 etc]#
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apparent BIND problem doing RBL lookups for Postfix

2010-04-15 Thread Scott Silva
on 4-15-2010 1:36 PM Larry Vaden spake the following:
> On Thu, Apr 15, 2010 at 3:18 PM, Ned Slider  wrote:
>> Larry Vaden wrote:
>>> On Thu, Apr 15, 2010 at 3:03 PM, Ned Slider  wrote:
 Changing dns to public services such as google or OpenDNS is not going
 to help as DNSBLs like Spamhaus will have blocked access by these
 services. Otherwise it would be simple to avoid paying for (business)
 access to Spamhaus.
>>>
>>> Au contraire, there are benefits/economies of scale to spamhaus.org
>>> from having an aggregator like opendns.
>>>
>>
>> Indeed, but not if you are charging for high volume and/or commercial use.
> 
> opendns resolves queries to zen.spamhaus.org and AFAIK all the major
> DNSBLs.  Period.  End.
> 
> kind regards/ldv
Resolves them, or forwards them? Just curious...

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


Re: [CentOS] scripting CPAN installs

2010-04-15 Thread Les Mikesell
On 4/15/2010 3:23 PM, Alan McKay wrote:
> Hey folks,
>
> Maybe there is a Perl/CPAN list that is a better place to ask this?
> If so, maybe someone can point me to it.
>
> Anyway, I want to be able to script the installation of a bunch of
> CPAN modules, and the first basic problem I am coming up against is
> that the "cpan" command seems to always return 0 regardless of whether
> or not the install completed.
>
> Google does not bring up a whole lot of help for me here, but I have
> to think this problem has already been solved.
>
> Thanks for any guidance you can give.

Things sometimes get ugly when you mix CPAN/rpm installs.  Have you 
checked epel/rpmforge/etc. for the modules you need?

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


Re: [CentOS] scripting CPAN installs

2010-04-15 Thread Joseph L. Casale
>Hmmm, good point - I could do that.  I've come across several methods
>of checking module versions and none of them seemed "perfect" to me.
>Can you recommend a method?

Well, depends if you are in Perl, or bash, but really something as simple
as:

perl -e 'use HTML::Parser;'
echo $?

Aside from the mess of Perl diag which you can redirect away, you'll get
a 0 or not.

>We don't do auto-updates on production boxes so this is not a concern.
> And yeah, my other alternative would be to do it all via yum instead
>of CPAN, but that would be a massive change to the system I've
>inherited.

Good lord no, I don't either:) But when you "do" update:)
Shame about the inheritance issue, it's not hard to install modules out
of the base location and pull them in, unless you have a mess to change
I guess...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apparent BIND problem doing RBL lookups for Postfix

2010-04-15 Thread Larry Vaden
On Thu, Apr 15, 2010 at 3:18 PM, Ned Slider  wrote:
> Larry Vaden wrote:
>> On Thu, Apr 15, 2010 at 3:03 PM, Ned Slider  wrote:
>>> Changing dns to public services such as google or OpenDNS is not going
>>> to help as DNSBLs like Spamhaus will have blocked access by these
>>> services. Otherwise it would be simple to avoid paying for (business)
>>> access to Spamhaus.
>>
>> Au contraire, there are benefits/economies of scale to spamhaus.org
>> from having an aggregator like opendns.
>>
>
> Indeed, but not if you are charging for high volume and/or commercial use.

opendns resolves queries to zen.spamhaus.org and AFAIK all the major
DNSBLs.  Period.  End.

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


Re: [CentOS] scripting CPAN installs

2010-04-15 Thread Alan McKay
> While I can't answer that, I might try to actually call a Perl check after
> which although slightly extra work would yield the answer.

Hmmm, good point - I could do that.  I've come across several methods
of checking module versions and none of them seemed "perfect" to me.
Can you recommend a method?

> You installing these locally in a non root users home? :)
>
> If not, I can tell you that will wreak havoc if a Perl related updated
> comes down the pipe via yum...

We don't do auto-updates on production boxes so this is not a concern.
 And yeah, my other alternative would be to do it all via yum instead
of CPAN, but that would be a massive change to the system I've
inherited.


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of "In Defense of Food"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] scripting CPAN installs

2010-04-15 Thread Bowie Bailey
Alan McKay wrote:
> Hey folks,
>
> Maybe there is a Perl/CPAN list that is a better place to ask this?
> If so, maybe someone can point me to it.
>
> Anyway, I want to be able to script the installation of a bunch of
> CPAN modules, and the first basic problem I am coming up against is
> that the "cpan" command seems to always return 0 regardless of whether
> or not the install completed.
>
> Google does not bring up a whole lot of help for me here, but I have
> to think this problem has already been solved.
>
> Thanks for any guidance you can give.

First suggestion would be to check if these modules are available as
rpms.  Check the epel and rpmforge repositories.  This will make things
go much smoother both now and when you need to update later.

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


Re: [CentOS] Apparent BIND problem doing RBL lookups for Postfix

2010-04-15 Thread Les Mikesell
On 4/15/2010 3:00 PM, listserv.traf...@sloop.net wrote:
>
>> What happens if you change your resolv.conf to google's dns ?
> I haven't tried this, but from reports, spamhaus.org blocks google's dns. [The
> traffic limits are too high. If they didn't, no one would buy a
> commercial zone transfer license...]
>
> So, while it's not likely to fix this problem, even if it were, it
> seems like your "solution" to the broken DNS server is to use
> someone else's DNS server.
>
> So, yeah, I could drive the neighbor's car when mine doesn't work.
> But that doesn't fix my car.
>
> I'm interested in fixing mine, or at least understanding how and why it's 
> broken.

Did you try reverting to bind-9.3.4-10.P1.el5_3.3 per the RH bug?  Or 
can you temporarily run some other distribution (ubuntu/fedora, etc.) as 
a resolver or forwarder?

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

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


Re: [CentOS] scripting CPAN installs

2010-04-15 Thread Joseph L. Casale
>Anyway, I want to be able to script the installation of a bunch of
>CPAN modules, and the first basic problem I am coming up against is
>that the "cpan" command seems to always return 0 regardless of whether
>or not the install completed.

While I can't answer that, I might try to actually call a Perl check after
which although slightly extra work would yield the answer.

You installing these locally in a non root users home? :)

If not, I can tell you that will wreak havoc if a Perl related updated
comes down the pipe via yum... 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] scripting CPAN installs

2010-04-15 Thread Alan McKay
Hey folks,

Maybe there is a Perl/CPAN list that is a better place to ask this?
If so, maybe someone can point me to it.

Anyway, I want to be able to script the installation of a bunch of
CPAN modules, and the first basic problem I am coming up against is
that the "cpan" command seems to always return 0 regardless of whether
or not the install completed.

Google does not bring up a whole lot of help for me here, but I have
to think this problem has already been solved.

Thanks for any guidance you can give.

-Alan

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of "In Defense of Food"
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apparent BIND problem doing RBL lookups for Postfix

2010-04-15 Thread Ned Slider
Larry Vaden wrote:
> On Thu, Apr 15, 2010 at 3:03 PM, Ned Slider  wrote:
>> Changing dns to public services such as google or OpenDNS is not going
>> to help as DNSBLs like Spamhaus will have blocked access by these
>> services. Otherwise it would be simple to avoid paying for (business)
>> access to Spamhaus.
> 
> Au contraire, there are benefits/economies of scale to spamhaus.org
> from having an aggregator like opendns.
> 

Indeed, but not if you are charging for high volume and/or commercial use.

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


Re: [CentOS] Apparent BIND problem doing RBL lookups for Postfix

2010-04-15 Thread Larry Vaden
On Thu, Apr 15, 2010 at 3:03 PM, Ned Slider  wrote:
>
> Changing dns to public services such as google or OpenDNS is not going
> to help as DNSBLs like Spamhaus will have blocked access by these
> services. Otherwise it would be simple to avoid paying for (business)
> access to Spamhaus.

Au contraire, there are benefits/economies of scale to spamhaus.org
from having an aggregator like opendns.

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


Re: [CentOS] Apparent BIND problem doing RBL lookups for Postfix

2010-04-15 Thread Bowie Bailey
listserv.traf...@sloop.net wrote:
>> What happens if you change your resolv.conf to google's dns ?
>> 
> I haven't tried this, but from reports, spamhaus.org blocks google's dns. [The
> traffic limits are too high. If they didn't, no one would buy a
> commercial zone transfer license...]
>
> So, while it's not likely to fix this problem, even if it were, it
> seems like your "solution" to the broken DNS server is to use
> someone else's DNS server.
>
> So, yeah, I could drive the neighbor's car when mine doesn't work.
> But that doesn't fix my car.
>
> I'm interested in fixing mine, or at least understanding how and why it's 
> broken.
>
> Thanks for your time and thoughts though.

I think the point was to test using a different DNS in order to verify
that the problem is with your DNS server before you spend a lot of time
on it.

Unfortunately, this is not going to work in your case for the stated
reasons.

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


Re: [CentOS] Apparent BIND problem doing RBL lookups for Postfix

2010-04-15 Thread Ned Slider
sys Admin wrote:
> What happens if you change your resolv.conf to google's dns ?
> 
> 

Changing dns to public services such as google or OpenDNS is not going 
to help as DNSBLs like Spamhaus will have blocked access by these 
services. Otherwise it would be simple to avoid paying for (business) 
access to Spamhaus.

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


Re: [CentOS] Apparent BIND problem doing RBL lookups for Postfix

2010-04-15 Thread listserv . traffic

> What happens if you change your resolv.conf to google's dns ?
I haven't tried this, but from reports, spamhaus.org blocks google's dns. [The
traffic limits are too high. If they didn't, no one would buy a
commercial zone transfer license...]

So, while it's not likely to fix this problem, even if it were, it
seems like your "solution" to the broken DNS server is to use
someone else's DNS server.

So, yeah, I could drive the neighbor's car when mine doesn't work.
But that doesn't fix my car.

I'm interested in fixing mine, or at least understanding how and why it's 
broken.

Thanks for your time and thoughts though.

-Greg

> On 4/15/10, Nataraj  wrote:
>> listserv.traf...@sloop.net wrote:
 Check out the following bug report. I would also look at other bind bug
 reports. My sense is that redhat has deviated quite a bite from the ISC
 version of bind. In particular I believe that they disabled or otherwise
 modified the caching behavior back about 6-8 months ago when there were
 major security issues with bind. I have felt that my Red Hat/Centos name
 servers have not worked as well as Fedora or ISC bind name servers since
 this time. You might try installing ISC bind and see if that solves your
 problem.

>>>
>>>
 https://bugzilla.redhat.com/show_bug.cgi?id=553334

>>>
>>>
 Nataraj

>>>
>>> Interesting - though in our case it's failing long before a few
>>> million lookups. I don't much relish compiling ISC versions to run on
>>> my box - the security implications and other hassles don't seem
>>> trivial. [We don't allow external [the world] lookups - just local
>>> "trusted" users, but that only mitigates some of the security concerns.]
>>>
>>> Perhaps it's possible to use an older version that's security
>>> patched. Ugh.
>>>
>> Though I have not done it in a while, It's not a big deal to build ISC
>> bind.  If you have compilers installed, you untar it and run "make" or
>> "make install", maybe setting up the path for installation.  With the
>> security issues today, I often run a separate system for name servers
>> (actually I use virtual machines).  In fact, mostly I setup both an
>> internal and a external nameserver where the internal one forwards
>> queries to the external one so it never receives packets from the
>> Internet.   So the internal one could be on your mail server and the
>> external one could be a seperate box.  For test purposes, you could try
>> ISC bind on any old box just to determine if it solves the problem.
>>
>> Alternatively, if the problem is urgent I guess you could buy a red hat
>> license and try to get them to up the priority on resolving this.   If
>> you have the time and skills, you could install a debug compiled version
>> of CentOS bind and try to either debug it or capture a dump of it when
>> it breaks and submit that to developers.
>>
>> I don't think running ISC bind for a short time is a major risk.  It's
>> quite widely deployed in the field.
>>
>> Nataraj
>>


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


Re: [CentOS] Apparent BIND problem doing RBL lookups for Postfix

2010-04-15 Thread sys Admin
What happens if you change your resolv.conf to google's dns ?


On 4/15/10, Nataraj  wrote:
> listserv.traf...@sloop.net wrote:
>>> Check out the following bug report. I would also look at other bind bug
>>> reports. My sense is that redhat has deviated quite a bite from the ISC
>>> version of bind. In particular I believe that they disabled or otherwise
>>> modified the caching behavior back about 6-8 months ago when there were
>>> major security issues with bind. I have felt that my Red Hat/Centos name
>>> servers have not worked as well as Fedora or ISC bind name servers since
>>> this time. You might try installing ISC bind and see if that solves your
>>> problem.
>>>
>>
>>
>>> https://bugzilla.redhat.com/show_bug.cgi?id=553334
>>>
>>
>>
>>> Nataraj
>>>
>>
>> Interesting - though in our case it's failing long before a few
>> million lookups. I don't much relish compiling ISC versions to run on
>> my box - the security implications and other hassles don't seem
>> trivial. [We don't allow external [the world] lookups - just local
>> "trusted" users, but that only mitigates some of the security concerns.]
>>
>> Perhaps it's possible to use an older version that's security
>> patched. Ugh.
>>
> Though I have not done it in a while, It's not a big deal to build ISC
> bind.  If you have compilers installed, you untar it and run "make" or
> "make install", maybe setting up the path for installation.  With the
> security issues today, I often run a separate system for name servers
> (actually I use virtual machines).  In fact, mostly I setup both an
> internal and a external nameserver where the internal one forwards
> queries to the external one so it never receives packets from the
> Internet.   So the internal one could be on your mail server and the
> external one could be a seperate box.  For test purposes, you could try
> ISC bind on any old box just to determine if it solves the problem.
>
> Alternatively, if the problem is urgent I guess you could buy a red hat
> license and try to get them to up the priority on resolving this.   If
> you have the time and skills, you could install a debug compiled version
> of CentOS bind and try to either debug it or capture a dump of it when
> it breaks and submit that to developers.
>
> I don't think running ISC bind for a short time is a major risk.  It's
> quite widely deployed in the field.
>
> Nataraj
>
>> -Greg
>>
>> ___
>> 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
>

-- 
Sent from my mobile device
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apparent BIND problem doing RBL lookups for Postfix

2010-04-15 Thread Nataraj
listserv.traf...@sloop.net wrote:
>> Check out the following bug report. I would also look at other bind bug
>> reports. My sense is that redhat has deviated quite a bite from the ISC
>> version of bind. In particular I believe that they disabled or otherwise
>> modified the caching behavior back about 6-8 months ago when there were
>> major security issues with bind. I have felt that my Red Hat/Centos name
>> servers have not worked as well as Fedora or ISC bind name servers since
>> this time. You might try installing ISC bind and see if that solves your
>> problem.
>> 
>
>   
>> https://bugzilla.redhat.com/show_bug.cgi?id=553334
>> 
>
>   
>> Nataraj
>> 
>
> Interesting - though in our case it's failing long before a few
> million lookups. I don't much relish compiling ISC versions to run on
> my box - the security implications and other hassles don't seem
> trivial. [We don't allow external [the world] lookups - just local
> "trusted" users, but that only mitigates some of the security concerns.]
>
> Perhaps it's possible to use an older version that's security
> patched. Ugh.
>   
Though I have not done it in a while, It's not a big deal to build ISC 
bind.  If you have compilers installed, you untar it and run "make" or 
"make install", maybe setting up the path for installation.  With the 
security issues today, I often run a separate system for name servers 
(actually I use virtual machines).  In fact, mostly I setup both an 
internal and a external nameserver where the internal one forwards 
queries to the external one so it never receives packets from the 
Internet.   So the internal one could be on your mail server and the 
external one could be a seperate box.  For test purposes, you could try 
ISC bind on any old box just to determine if it solves the problem.

Alternatively, if the problem is urgent I guess you could buy a red hat 
license and try to get them to up the priority on resolving this.   If 
you have the time and skills, you could install a debug compiled version 
of CentOS bind and try to either debug it or capture a dump of it when 
it breaks and submit that to developers.

I don't think running ISC bind for a short time is a major risk.  It's 
quite widely deployed in the field.

Nataraj

> -Greg
>
> ___
> 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] timeout problem

2010-04-15 Thread tony . chamberlain
Oh, static IP on the computer.  Yeah, already did that to no avail.
-Original Message-

Message: 7
Date: Wed, 14 Apr 2010 13:08:16 -0400
From: JohnS 
Subject: Re: [CentOS] timeout problem
To: CentOS mailing list 
Message-ID: <1271264896.3366.23.ca...@ethies>
Content-Type: text/plain


On Wed, 2010-04-14 at 16:23 +, tony.chamberl...@lemko.com wrote:
> I found the response below today online to a question I had.
> For some reason I never got the mail.  I am not quite clear
> on what "DHCP + DFG + 2DNS entries" means when calculating the IP
> to set for the router:
> 
> Thanks
> 
> Re: [CentOS] Yum/WGET/HTTP sourceforge etc. new
> April 12, 2010 08:10AM
> On Sun, 2010-04-11 at 22:57 +, tony.chamberl...@lemko.com wrote:
> 
> > Here is what I tried. When I put the machine directly on an AT&T IP 
> > connection (12.147.X.Y) everything worked fine.
> > Same with Comcast on a direct link. The times I am having problems is when 
> > our router is hooked up to a Comcast
> > IP (70.88.X.Y) and assigns 192.168.5.X addresses to our machines. So when I 
> > was doing the above from 192.168.5.27
> > going through the router through Comcast is when I had the problem.
> >
> ---
> Try this:
> For the NIC on your Comcast router set its ip to one that the dhcp in
> the router gives out + DFG + 2 DNS entries. In order to have it static.
> I see lots of routers with your problem.
> 
> John
---
DFG  = default gateway
2DNS = primary and secondary  dns server addresses
DHCP = Would be your normal assigned ip address from the router on the
nic card that the comcast router hands out.

So now you pick one ip address the router assigns from it's dhcp address
block and create a static ip configuration for your eth0 nic,  If the
routers dhcp address block is 192.168.2.2 - 192.168.2.100 pick
192.168.2.10 for the ip.

Now eth0 needs a default gateway which is your routers address maybe
like 192.168.2.1.

Now eth0 needs a primary and secondary DNS entry.  If the isp only has
one then use one else you can use the default gateway address of the
router but not recomended because you are having problems so I think you
need the real dns.

If you log into the router you will see or find the dns entries you need
and the dhcp block that is assigned.

John




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


Re: [CentOS] Apparent BIND problem doing RBL lookups for Postfix

2010-04-15 Thread listserv . traffic
>>
> Check out the following bug report. I would also look at other bind bug
> reports. My sense is that redhat has deviated quite a bite from the ISC
> version of bind. In particular I believe that they disabled or otherwise
> modified the caching behavior back about 6-8 months ago when there were
> major security issues with bind. I have felt that my Red Hat/Centos name
> servers have not worked as well as Fedora or ISC bind name servers since
> this time. You might try installing ISC bind and see if that solves your
> problem.

> https://bugzilla.redhat.com/show_bug.cgi?id=553334

> Nataraj

Interesting - though in our case it's failing long before a few
million lookups. I don't much relish compiling ISC versions to run on
my box - the security implications and other hassles don't seem
trivial. [We don't allow external [the world] lookups - just local
"trusted" users, but that only mitigates some of the security concerns.]

Perhaps it's possible to use an older version that's security
patched. Ugh.

-Greg

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


Re: [CentOS] Apparent BIND problem doing RBL lookups for Postfix

2010-04-15 Thread listserv . traffic

> On Wed, 2010-04-14 at 17:36 -0700, listserv.traf...@sloop.net wrote:
>> --
>> Problem:
>> Postfix is doing RBL lookups on zen.spamhaus.org.
>> Everything goes along groovy - but then lookups start failing.
>> 
> Does your network interface show any abnormalities - dropped packets
> etc? I assume you have no local ratelimiting (via iptables etc)?

No rate limiting, and ifconfig isn't showing any
errors/drops/overruns etc.

-Greg

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


Re: [CentOS] How Do I ...

2010-04-15 Thread Les Mikesell
On 4/15/2010 10:32 AM, Fernando Gleiser wrote:

>> in the olden days it was so easy, you had PCI cards and they were
>> named by the slot number, starting with eth0 in PCI slot 1 and so on.
>> Then
>> came the inbuilt nics
>> Then came the PCIx built nics
>> Then came the PCI-e
>> built nics
>
>> OUCH! ;-)
>
>
> Then came blade servers with built-in nics you can't  unplug because they're 
> plugged to the blade center enclosure's internal switches :)

Worse, and probably more to the point of non-deterministic hardware 
detection, you can plug in a USB->ethernet adapter anytime or several in 
any order.

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


Re: [CentOS] How Do I ...

2010-04-15 Thread Joseph L. Casale
>We had to trunk the 4 internal switches for the install, then we had to...

Actually all you had to do was utilize ks config params for this scenario.
See the link I posted earlier or read the ks deployment chapter.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How Do I ...

2010-04-15 Thread Fernando Gleiser




- Original Message 
> From: Jobst Schmalenbach 
> To: centos@centos.org
> Sent: Thu, April 15, 2010 1:20:45 AM
> Subject: Re: [CentOS] How Do I ...
> 
> 
;-)
> in the olden days it was so easy, you had PCI cards and they were 
> named by the slot number, starting with eth0 in PCI slot 1 and so on.
> Then 
> came the inbuilt nics
> Then came the PCIx built nics
> Then came the PCI-e 
> built nics

> OUCH! ;-)


Then came blade servers with built-in nics you can't  unplug because they're 
plugged to the blade center enclosure's internal switches :)

I had an awful time trying to install a bunch of servers via PXE, the server 
booted from one nic, then tried to configure eth0 which was ANOTHER nic which 
was (of course) connected to a different built in switch and the installation 
failed because it couldn't access the kickstart file.

We had to trunk the 4 internal switches for the install, then we had to look 
into the switch's management to see which card was in what port, then modify 
the ifcfg-ethX to configure each one of the NICs with the right IP


Fer



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


Re: [CentOS] Cloud on CentOS

2010-04-15 Thread Scot P. Floess

You mention 200 locations...  Do you want to consolidate the application 
to 1 location and those locations use this?  Not clear to me what it is 
you want to accomplish...

On Thu, 15 Apr 2010, CList wrote:

>> For what its worth...I do a little cloud-y type stuff at home.  Mostly
>> spinning up VMs using KOAN/Cobbler and configuration with Puppet.  Is that
>
>> the kind of thing you are interested in?
>
> I am deploying an application for about 200 locations, and I think cloud is
> what I am looking for
>
>

-- 
Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-890-8117 (Work)

Chief Architect JPlate   http://sourceforge.net/projects/jplate
Chief Architect JavaPIM  http://sourceforge.net/projects/javapim

Architect Keros  http://sourceforge.net/projects/keros
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Power consumption monitoring

2010-04-15 Thread Robert Heller
At Thu, 15 Apr 2010 13:31:11 +0200 CentOS mailing list  
wrote:

> 
> 
> 
> On Thursday 15 April 2010, Mathieu Baudier wrote:
> > Hi,
> >
> > I have quite a few low-end development/test servers running
> > continuously and I would like to better manage their power
> > consumption.
> > I have found interesting information on how to perform CPU scaling
> > (e.g. [1] or [2]).
> >
> > But I cannot find if there is a way to (software) monitor power
> > consumption on CentOS (or other such data like CPU temperature, fan
> > speed etc.).
> 
> Most machines simply don't have that hardware. Some laptops do and then, with 
> proper kernel, you can run powertop (or read /proc/acpi/power...).

Some things are handled by motherboard and/or processor sensors and
lm_sensors will access these sensors ("CPU temperature, fan speed etc.").

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


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


Re: [CentOS] Power consumption monitoring

2010-04-15 Thread Peter Kjellstrom
On Thursday 15 April 2010, Mathieu Baudier wrote:
> Hi,
>
> I have quite a few low-end development/test servers running
> continuously and I would like to better manage their power
> consumption.
> I have found interesting information on how to perform CPU scaling
> (e.g. [1] or [2]).
>
> But I cannot find if there is a way to (software) monitor power
> consumption on CentOS (or other such data like CPU temperature, fan
> speed etc.).

Most machines simply don't have that hardware. Some laptops do and then, with 
proper kernel, you can run powertop (or read /proc/acpi/power...).

Some servers have power meters built in but uses tools specific to that 
vendor/server (like HP ppic).

> What I read so far is that support is quite limited in this kernel
> (e.g. PowerTop not providing useful information).
>
> Before I start tuning I would like to be able to measure whether my
> changes are having any impact at all.

I'd suggest that you buy an external power meter like kill-a-watt.

/Peter

> Thanks in advance,
>
> Mathieu
>
>
> [1] http://www.lesswatts.org/tips/cpu.php
> [2] http://www.spencerstirling.com/computergeek/powersaving.html


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Power consumption monitoring

2010-04-15 Thread Mathieu Baudier
Hi,

I have quite a few low-end development/test servers running
continuously and I would like to better manage their power
consumption.
I have found interesting information on how to perform CPU scaling
(e.g. [1] or [2]).

But I cannot find if there is a way to (software) monitor power
consumption on CentOS (or other such data like CPU temperature, fan
speed etc.).

What I read so far is that support is quite limited in this kernel
(e.g. PowerTop not providing useful information).

Before I start tuning I would like to be able to measure whether my
changes are having any impact at all.

Thanks in advance,

Mathieu


[1] http://www.lesswatts.org/tips/cpu.php
[2] http://www.spencerstirling.com/computergeek/powersaving.html
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apparent BIND problem doing RBL lookups for Postfix

2010-04-15 Thread John Horne
On Wed, 2010-04-14 at 17:36 -0700, listserv.traf...@sloop.net wrote:
> --
> Problem:
> Postfix is doing RBL lookups on zen.spamhaus.org.
> Everything goes along groovy - but then lookups start failing.
> 
Does your network interface show any abnormalities - dropped packets
etc? I assume you have no local ratelimiting (via iptables etc)?



John.

-- 
John Horne, University of Plymouth, UK
Tel: +44 (0)1752 587287Fax: +44 (0)1752 587001

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


Re: [CentOS] Viewing the NTP Server configured

2010-04-15 Thread Jatin Davey
Thanks for all the support , i found that i dont have the ntp daemon 
running on my box which will contact the server. once i have it i could 
use the support provided.

Thanks
Jatin

On 4/15/2010 2:25 PM, John R Pierce wrote:
> Jatin Davey wrote:
>
>> How do i know which NTP server is my linux box contacting to synchronize
>> its time with that of the server ?
>>
>>  
> $ /usr/sbin/ntptrace
> localhost: stratum 3, offset 0.17, synch distance 0.07758
> io.sf.netdot.net: stratum 2, offset 0.000548, synch distance 0.04774
> bigben.cac.washington.edu: stratum 1, offset -0.001988, synch distance
> 0.00060, refid 'USNO'
>
>
>
> ___
> 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] CentOS 5.x and Fedora

2010-04-15 Thread Ned Slider
Jobst Schmalenbach wrote:
> why dont you download the source and compile it, its really easy.
> 

Source installs are not encouraged:

http://wiki.centos.org/PackageManagement/SourceInstalls

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


Re: [CentOS] Viewing the NTP Server configured

2010-04-15 Thread John R Pierce
Jatin Davey wrote:
> How do i know which NTP server is my linux box contacting to synchronize 
> its time with that of the server ?
>   

$ /usr/sbin/ntptrace
localhost: stratum 3, offset 0.17, synch distance 0.07758
io.sf.netdot.net: stratum 2, offset 0.000548, synch distance 0.04774
bigben.cac.washington.edu: stratum 1, offset -0.001988, synch distance 
0.00060, refid 'USNO'



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


Re: [CentOS] Viewing the NTP Server configured

2010-04-15 Thread Timo Schoeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

thus Wahyu Darmawan spake:
> You can use /var/log/messages info for your synchronized time server.
> 
> 
> On Thu, Apr 15, 2010 at 3:40 PM, Jatin Davey  wrote:
>> How do i know which NTP server is my linux box contacting to synchronize
>> its time with that of the server ?
>>
>> Thanks
>> Jatin

A detailed listing can be created by issuing

ntpq -c peers

HTH,

Timo
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFLxtJ/fg746kcGBOwRAspGAKCh9oEN8Z3VVUs5kHZWHGF9+A2TJwCguL1x
ym6hEQDMhszijZ0eyF/2va4=
=Dd+P
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Viewing the NTP Server configured

2010-04-15 Thread Wahyu Darmawan
You can use /var/log/messages info for your synchronized time server.


On Thu, Apr 15, 2010 at 3:40 PM, Jatin Davey  wrote:
> How do i know which NTP server is my linux box contacting to synchronize
> its time with that of the server ?
>
> Thanks
> Jatin
> ___
> 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] Viewing the NTP Server configured

2010-04-15 Thread Jatin Davey
How do i know which NTP server is my linux box contacting to synchronize 
its time with that of the server ?

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