[CentOS-docs] TracDesign

2008-08-04 Thread Alain Reguera Delgado
Hi,

I would like to know your opinion about the following theme design:

http://wiki.centos.org/ArtWork/TracDesign

Thank for you attention,
al.
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


Re: [CentOS-virt] How many gusets can I run with Centos 5.2

2008-08-04 Thread Rui Miguel Silva Seabra
On Mon, Aug 04, 2008 at 05:48:29PM +0200, Götz Reinicke wrote:
 Hi,

 how many gusets can I run with Centos 5.2? RH EL 5 is limeted to 4  
 guests while the advanced server is unlimeted.

 We like to migrate a couple of small physical servers and some  
 test/development-systems to virtual systems.

 Thanks for any hints.

It's more a matter of support contract.

If you bought RH EL 5 limited to 4 guests, what it means is that they
won't give you official support for the use case of 5 guests...

Rui

-- 
Wibble.
Today is Sweetmorn, the 70th day of Confusion in the YOLD 3174
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Gandhi
+ So let's do it...?
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-es] software manejador de proyectos

2008-08-04 Thread Alain Reguera Delgado
On 7/25/08, killerfs [EMAIL PROTECTED] wrote:
 muchas gracias
 excelente el trac
 http://www.edgewall.org/

Si buscas un tema diferente para trac, a lo mejor la siguiente url te
sirve de algo:

http://wiki.centos.org/ArtWork/TracDesign

Agradecemos las sugerencias :).

Saludos y muchas gracias,
al.
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] Proftpd y cetnOS

2008-08-04 Thread Hector Martínez Romo
Estimados

 

He tratado de instalar proftpd desde sus fuentes con soporte TLS/SSL , sin 
embargo, al realizar un make me despliega varios errores relacionados con el 
modulo mod_tls, leí en la pagina de proftpd que uno debe indicar donde estan el 
header y librerias de openssl, sin embargo, el error persiste, ¿alguien ha 
tenido este problema que me pueda dar una mano para solucionarlo?

 

Lo siguiente es parte de lo que me muestra después de hacer el MAKE.

 

mod_tls.c:3014: error: syntax error before '*' token

mod_tls.c: In function `tls_x509_name_oneline':

mod_tls.c:3023: warning: implicit declaration of function `X509_NAME_oneline'

mod_tls.c:3023: error: `x509_name' undeclared (first use in this function)

mod_tls.c:3023: warning: return makes pointer from integer without a cast

mod_tls.c: In function `tls_netio_close_cb':

mod_tls.c:3072: error: `SSL' undeclared (first use in this function)

mod_tls.c:3072: error: syntax error before ')' token

mod_tls.c:3081: error: syntax error before ')' token

mod_tls.c: In function `tls_netio_postopen_cb':

mod_tls.c:3170: error: `X509' undeclared (first use in this function)

mod_tls.c:3170: error: `ctrl_cert' undeclared (first use in this function)

mod_tls.c:3170: error: `data_cert' undeclared (first use in this function)

mod_tls.c:3170: warning: left-hand operand of comma expression has no effect

mod_tls.c:3184: error: `SSL' undeclared (first use in this function)

mod_tls.c:3184: error: syntax error before ')' token

mod_tls.c:3187: warning: implicit declaration of function `X509_cmp'

mod_tls.c:3192: error: syntax error before ')' token

mod_tls.c:3209: error: syntax error before ')' token

mod_tls.c: In function `tls_netio_read_cb':

mod_tls.c:3229: error: `SSL' undeclared (first use in this function)

mod_tls.c:3229: error: syntax error before ')' token

mod_tls.c:3229: warning: left-hand operand of comma expression has no effect

mod_tls.c:3229: warning: left-hand operand of comma expression has no effect

mod_tls.c:3229: error: syntax error before ')' token

mod_tls.c: In function `tls_netio_write_cb':

mod_tls.c:3270: error: `SSL' undeclared (first use in this function)

mod_tls.c:3270: error: syntax error before ')' token

mod_tls.c: In function `tls_postparse_ev':

mod_tls.c:4366: error: `PEM_BUFSIZE' undeclared (first use in this function)

mod_tls.c:4383: warning: format argument is not a pointer (arg 2)

mod_tls.c:4405: warning: format argument is not a pointer (arg 2)

mod_tls.c: In function `tls_sess_exit_ev':

mod_tls.c:4441: warning: implicit declaration of function `RAND_write_file'

mod_tls.c: In function `tls_init':

mod_tls.c:4472: warning: implicit declaration of function `SSLeay'

mod_tls.c:4472: error: `OPENSSL_VERSION_NUMBER' undeclared (first use in this 
function)

mod_tls.c:4475: error: `OPENSSL_VERSION_TEXT' undeclared (first use in this 
function)

mod_tls.c:4476: warning: implicit declaration of function `SSLeay_version'

mod_tls.c:4476: error: `SSLEAY_VERSION' undeclared (first use in this function)

mod_tls.c:4476: warning: format argument is not a pointer (arg 4)

mod_tls.c:4479: warning: format argument is not a pointer (arg 3)

mod_tls.c:4495: error: syntax error before OPENSSL_VERSION_TEXT

mod_tls.c: In function `tls_sess_init':

mod_tls.c:4610: warning: implicit declaration of function 
`SSL_CTX_set_default_passwd_cb'

mod_tls.c:4611: warning: implicit declaration of function 
`SSL_CTX_set_default_passwd_cb_userdata'

mod_tls.c: In function `tls_dotlogin_allow':

mod_tls.c:2109: warning: statement with no effect

mod_tls.c: In function `tls_netio_postopen_cb':

mod_tls.c:3170: warning: statement with no effect

make[1]: *** [mod_tls.o] Error 1

make[1]: Leaving directory `/etc/proftpd-1.3.1/modules'

make: *** [modules] Error 2

 

Atte. Hector Martínez R.

La información contenida en esta transmisión es confidencial y no puede ser 
usada o difundida por personas distintas a su(s) destinatario(s).
El uso no autorizado de la información contenida en este correo  puede ser 
sancionado criminalmente de conformidad con la Ley Chilena.
Si ha recibido un correo por error, por favor destrúyalo y notifique al 
remitente.
El Departamento de Informática del Ministerio de Educación le recomienda, para 
el buen desempeño de su correo, lo siguiente:
- Revise su correo diariamente
- Pida confirmación de los correos que envía
- Oriéntese de las buenas practicas en el uso del correo
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS] 64bit vs 32bit

2008-08-04 Thread Michael A. Peters

Matt wrote:

I am upgrading a server that mounts in a rack.  Its going on the
cheapest socket 775 CPU I can buy and in a 1u rack case.  All its for
is keeping some log files and doing some simple MYSQL/PHP database
stuff.  Not a work horse at all.  Anyway, is it better to go 64bit or
32bit for the CentOS 5.x install?  I do not see needing huge amounts
of RAM or anything like that on this box.  Would the 32bit version be
more tried, proven and stable?


Go 64 bit. Databases tend to grow, even when you don't think they will.

http://www.mysqlperformanceblog.com/2008/07/25/the-1-mistake-hosting-providers-make-for-mysql-servers/

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


Re: [CentOS] Questions on cpu frequency scaling AMD vs. Intel

2008-08-04 Thread Kai Schaetzl
S.Tindall wrote on Sun, 3 Aug 2008 21:47:06 -0400:

 The cpuspeed changelog may be relevant:
 
 [quote]
 * Thu Mar 06 2008 Jarod Wilson [EMAIL PROTECTED]
 
 - Disable freq scaling by default on AMD rev F and earlier cpus
 when running xen, due to clock instability (#435321)
 [/quote]

Thanks, it didn't occur to me that cpuspeed may also be relevant to this. 
However, I don't think it's relevant for the wrong cpu frequency reading 
on the 3.2 Xen kernels (which in turn is responsible for the missing 
scalability). Cpuspeed is not part of the kernel and did not change during 
all my tests. See below for possible explanation.

 
 I didn't look up your cpu, but I think it's a revision F.

Hm, /proc/cpuinfo doesn't show any revision number. A bit googling tells 
me that the CPUs, at least the second one, are more likely to be rev. H or 
above. The older one is a 3800+ EE and the newer one is a 4850e which I 
bought right after it became available. Unless rev. G and up are only quad 
core CPUs at least the latter 45nm one should be rev G or up, too. But I 
can't find a definitive list, shouldn't there be one on the AMD site?

I saw postings about time problems on the xen-devel list, but these seemed 
to be more general and not restricted to older revisions of the AMD cpus. 
Now, after enabling frequency scaling on both I see that as well (Warning 
Timer ISR/1: Time went backwards:), but only on the newer CPU. It happens 
each time the frequency changes. It's possible it doesn't happen on the 
other (older!) cpu because there wasn't demand for a change yet, it's not 
doing any cpu intensive tasks.

 
 Also, thanks for the /etc/sysconfig/cpuspeed ondemand tip.
 
 It seemed counterintuitive to explicitly specify the so-called
 default governor value (i.e., empty defaults to ondemand),
 but doing so did the trick under xen for my
 revision G AMD processor.

I think what happens with cpuspeed is that the Thu Mar 06 2008 patch 
mentioned above comes into play here. I assume they simply do not modprobe 
cpufreq_ondemand and thus it is not available and cannot be used as a 
default. All the other governors are available, no matter if cpuspeed is 
running or not, and ondemand is the only one that does real scaling. So, 
they simply disabled this and it gets only loaded once you force it (good, 
that they didn't disable that either). 
ondemand is missing on *both* kernels (the 3.2 one from Xen and the stock 
CentOS kernel) by default and adding the commandline I mentioned doesn't 
change this. However, it makes a difference on the Xen 3.2 (and Xen 3.2.1) 
kernel, as it corrects the frequency reading.
The time warning only seems to occur on the Xen 3.2 kernels and not on the 
CentOS Xen kernels. At least I don't remember having it seen earlier.
Which Xen kernel are you running?
Hm, it occurs to me now that the older cpu where the time warning doesn't 
appear runs already on Xen 3.2.1 which may already have some patch to 
avoid this bug. Or it simply doesn't report it anymore :-) (It doesn't 
seem to be of any harm, not even dovecot - which is paranoid about time 
and has it's own time warning routinge - barks. But it spoils my 
monitoring :-()

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] Questions on cpu frequency scaling AMD vs. Intel

2008-08-04 Thread Ned Slider

Kai Schaetzl wrote:

S.Tindall wrote on Sun, 3 Aug 2008 21:47:06 -0400:


The cpuspeed changelog may be relevant:

[quote]
* Thu Mar 06 2008 Jarod Wilson [EMAIL PROTECTED]

- Disable freq scaling by default on AMD rev F and earlier cpus
when running xen, due to clock instability (#435321)
[/quote]


Thanks, it didn't occur to me that cpuspeed may also be relevant to this. 
However, I don't think it's relevant for the wrong cpu frequency reading 
on the 3.2 Xen kernels (which in turn is responsible for the missing 
scalability). Cpuspeed is not part of the kernel and did not change during 
all my tests. See below for possible explanation.



I didn't look up your cpu, but I think it's a revision F.


Hm, /proc/cpuinfo doesn't show any revision number. A bit googling tells 
me that the CPUs, at least the second one, are more likely to be rev. H or 
above. The older one is a 3800+ EE and the newer one is a 4850e which I 
bought right after it became available. Unless rev. G and up are only quad 
core CPUs at least the latter 45nm one should be rev G or up, too. But I 
can't find a definitive list, shouldn't there be one on the AMD site?




Maybe this is relevant to you:

http://www.centos.org/modules/newbb/viewtopic.php?topic_id=15328forum=41

quote
# Frequency scaling on AMD rev F CPUs under Xen can result in
# timekeeping problems for fully virtualized guests, so we disable
# it by default.
if [ -d /proc/xen ]  [ $cpu_vendor == AuthenticAMD ] \
[ $cpu_family -le 15 ]; then
  default_governor=performance
fi
/quote

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


Re: [CentOS] File system goes read-only once in a while

2008-08-04 Thread Mufit Eribol

Toby Bluhm wrote:

Mufit Eribol wrote:


I have a LV on RAID mounted as /mnt/raid. Then /mnt/raid/var is 
symlinked to /var. 


I was afraid you were going to say that.


Go back to single user mode.

mkdir /new_var
cd /mnt/raid/var
tar cf - . | ( cd /new_var ; tar xvf - )

Make sure both dirs look the same.

Change the link to /new_var. Or remove the old link  mv /new_var /var.

reboot.
Toby, Thank you for this nice tip. It worked perfectly. The server is 
back in the game again.


Just for my learning experience, I would appreciate if you clarify one 
point though. Why are you afraid when you hear /mnt/raid/var symlinked 
to /var? Is something wrong with it?


Here is my fstab:
/dev/md2/   ext3defaults
1 1   --- md2 Software RAID1
/dev/md1/boot   ext3defaults
1 2   --- md0 Software RAID1
/dev/md0/tmpext3defaults
1 2   --- md1 Software RAID1

tmpfs   /dev/shmtmpfs   defaults0 0
devpts  /dev/ptsdevpts  gid=5,mode=620  0 0
sysfs   /syssysfs   defaults0 0
proc/proc   procdefaults0 0
LABEL=SWAP-sda3 swapswapdefaults,pri=1  0 0
LABEL=SWAP-sdb3 swapswapdefaults,pri=1  0 0
/dev/raid_vg0/raid_lv0  /mnt/raid   ext3defaults
0 0   --- Hardware RAID10


Before, home and var were under /mnt/raid directory and symlinked to 
/home and /var. Now, both directories were copied to / (md2 software 
RAID1) as new_home and new_var and /home and /var symlinks are now 
pointing to these new directories. /mnt/raid (hardware RAID10) which is 
the main storage of my server is not being used at the moment.


I am planning to have 2 logical volumes (for home and var separately) 
instead of 1. Then, they will be mounted as separate partitions as /home 
and /var to /dev/raid_vg0/raid_lv0 and /dev/raid_vg0/raid_lv1, 
respectively. Is it a good approach? Please advise.


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


Re: [CentOS] File system goes read-only once in a while

2008-08-04 Thread Mufit Eribol

NiftyClusters Mitch wrote:

On Fri, Aug 1, 2008 at 1:43 PM, William L. Maltby
[EMAIL PROTECTED] wrote:
  

On Fri, 2008-08-01 at 16:13 -0400, Toby Bluhm wrote:


Mufit Eribol wrote:
  

snip


.


. that you would correctly try to
  

fsck the *device*.




First backup data...
It is possible to run fsck with a media test flag.  Bad blocks are
assigned to
dummy files.   Inadvertently  reading one of these files can take a
drive off line.

One reason a device will go off line is the presence of a media error,
or the presence of a situation assumed by smartd to be a pending
data risk.
Understanding the root cause error should be done.  Smartd tends to be cautious
but does identify pending problems.

One puzzle can be the loss of log file data.  It is sometimes possible
to see events
on a live system that later vanish after a reboot because buffers are
live in memory but not
on the disk.  Sending logs to another 'log system' can be helpful and
is a good idea
on production systems for exactly this reason
I copied /mnt/raid/var to /new_var using tar as explained in Toby's 
message. Changed the link var to /new_var. After reboot, it was possible 
to umount /mnt/raid and fsck. All the errors were corrected. Everything 
works perfect now.


I appreciate all who shared his experience, knowledge and advised me on 
this thread.


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


[CentOS] HP ILO Fence Configuration

2008-08-04 Thread Balaji

Dear All,

Currently i am using HP x6600 Server and I have installed RHEL4 Update 
4 AS Linux and

RHEL4 Update 4 Support Cluster Suite in my server
I am new in fence and can any one help me how to configure HP ILO fence 
in my server

and HP ILO Fence Functionality

Regards
-S.Balaji

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


Re: [CentOS] Questions on cpu frequency scaling AMD vs. Intel

2008-08-04 Thread Kai Schaetzl
Ned Slider wrote on Mon, 04 Aug 2008 10:34:57 +0100:

 quote
  # Frequency scaling on AMD rev F CPUs under Xen can result in
  # timekeeping problems for fully virtualized guests, so we disable
  # it by default.
  if [ -d /proc/xen ]  [ $cpu_vendor == AuthenticAMD ] \
  [ $cpu_family -le 15 ]; then
default_governor=performance
  fi
 /quote

That's the patch mentioned by Steve. I didn't look in the cpuspeed init 
file earlier, I did now - it's inside it. As I assumed it doesn't load 
ondemand. Both my cpus are family 15, so this applies. However, I'm not 
running fully virtualized guests. Nevertheless, the time warning occurs, 
not only in domU, but also in dom0. However, I think it's harmless. Time 
is absolutely stable in dom0 and domU. Maybe that may be change under more 
load. Maybe it's less harmless in fully virtualized machines.

It's a pity that so few information is available.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] Questions on cpu frequency scaling AMD vs. Intel

2008-08-04 Thread Kai Schaetzl
Kai Schaetzl wrote on Sun, 03 Aug 2008 16:57:20 +0200:

 I disagree about the reason. I think they are actually not so efficient. At 
 least not if I compare to a low-voltage CPU.

Just checked how much that AMD 4850e CPU drains under various conditions. 
There are *huge* differences. I checked whole power consumption of the 
machine. I don't know what at wall means. Did you measure the power 
consumption of the cpu alone or does at wall mean the same as I did?

Here are the figures, considering this is for the whole machine I think it's 
quite good.

idle:
1000 MHz: 76W
2500 MHz: 98W

1 core under load: 110W
2 core under load: 120W

So, that's not just the processor, it's the whole machine. It takes into 
account the powerdrain from the processor plus (probably) faster fans plus any 
other drain from memory/chipset that may be higher underload.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] File system goes read-only once in a while

2008-08-04 Thread Toby Bluhm

Mufit Eribol wrote:

Toby Bluhm wrote:

Mufit Eribol wrote:


I have a LV on RAID mounted as /mnt/raid. Then /mnt/raid/var is 
symlinked to /var. 


I was afraid you were going to say that.


Go back to single user mode.

mkdir /new_var
cd /mnt/raid/var
tar cf - . | ( cd /new_var ; tar xvf - )

Make sure both dirs look the same.

Change the link to /new_var. Or remove the old link  mv /new_var /var.

reboot.
Toby, Thank you for this nice tip. It worked perfectly. The server is 
back in the game again.


Just for my learning experience, I would appreciate if you clarify one 
point though. Why are you afraid when you hear /mnt/raid/var symlinked 
to /var?


Because it can complicate a recovery, as you just experienced.

Why did you feel a need to have /var setup as you did? Did you expect to 
fill it up quickly or a need for speed? You also have /tmp separate - do 
you expect more than usual activity there?


Perhaps a better question would be - What is the purpose of this 
machine? If it's a just a fileserver on a home lan, you don't *need* to 
make it complicated, although learning is fun :-).


Running a very active internet facing box with email, mysql, apache, 
etc. would probably call for a more complicated setup - which would 
actually make recovery  security easier/better.





Here is my fstab:
/dev/md2/   ext3defaults
1 1   --- md2 Software RAID1
/dev/md1/boot   ext3defaults
1 2   --- md0 Software RAID1
/dev/md0/tmpext3defaults
1 2   --- md1 Software RAID1

tmpfs   /dev/shmtmpfs   defaults0 0
devpts  /dev/ptsdevpts  gid=5,mode=620  0 0
sysfs   /syssysfs   defaults0 0
proc/proc   procdefaults0 0
LABEL=SWAP-sda3 swapswapdefaults,pri=1  0 0
LABEL=SWAP-sdb3 swapswapdefaults,pri=1  0 0
/dev/raid_vg0/raid_lv0  /mnt/raid   ext3defaults
0 0   --- Hardware RAID10


Before, home and var were under /mnt/raid directory and symlinked to 
/home and /var. Now, both directories were copied to / (md2 software 
RAID1) as new_home and new_var and /home and /var symlinks are now 
pointing to these new directories. /mnt/raid (hardware RAID10) which is 
the main storage of my server is not being used at the moment.


Instead of using links, may as well just mount it where it belongs.



I am planning to have 2 logical volumes (for home and var separately) 
instead of 1. Then, they will be mounted as separate partitions as /home 
and /var to /dev/raid_vg0/raid_lv0 and /dev/raid_vg0/raid_lv1, 
respectively. Is it a good approach? Please advise.





I'm somewhat simple-minded - I like to keep the system that way :-). I 
split the partitions into 3


  /
  swap
  /home


either on a single disk or mirrored ( swap mirrored too ) - no lvm. For 
data storage I use lvm on raid on a separate mount point. Not saying you 
should do the same - it's just what I do.





--
Toby Bluhm
Alltech Medical Systems America, Inc.

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


[CentOS] Reloading /etc/hosts

2008-08-04 Thread Robert Moskowitz

I am doing some testing and am having to make many changes to /etc/hosts

Is there a way to reload the /etc/hosts file without doing a service 
network restart?


I hope that in a while I can run BIND with a bunch of faked-out zone 
files (did this once to crack a Vonage PAP2).  But for right now, I 
cannot introduce BIND to the equation



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


Re: [CentOS] Reloading /etc/hosts

2008-08-04 Thread Ralph Angenendt
Robert Moskowitz wrote:
 I am doing some testing and am having to make many changes to /etc/hosts

 Is there a way to reload the /etc/hosts file without doing a service  
 network restart?

That doesn't need to be reloaded *except* if you use the name service
caching daemon (nscd). Then service nscd reload might be needed.

Ralph


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


Re: [CentOS] Reloading /etc/hosts

2008-08-04 Thread Toby Bluhm

Robert Moskowitz wrote:

I am doing some testing and am having to make many changes to /etc/hosts

Is there a way to reload the /etc/hosts file without doing a service 
network restart?


Takes effect immediately. Do you not get the changes right away?



--
Toby Bluhm
Alltech Medical Systems America, Inc.

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


Re: [CentOS] Questions on cpu frequency scaling AMD vs. Intel

2008-08-04 Thread Ned Slider

Kai Schaetzl wrote:

Kai Schaetzl wrote on Sun, 03 Aug 2008 16:57:20 +0200:

I disagree about the reason. I think they are actually not so efficient. At 
least not if I compare to a low-voltage CPU.


Just checked how much that AMD 4850e CPU drains under various conditions. 
There are *huge* differences. I checked whole power consumption of the 
machine. I don't know what at wall means. Did you measure the power 
consumption of the cpu alone or does at wall mean the same as I did?


Yes, sounds like you did the same as I did. I meant I plugged one of 
those watt meters into the power outlet at the wall and plugged the 
machine into that, so you're measuring the current draw at the wall or 
outlet. What this doesn't do is take into account how efficient (or 
inefficient) your power supply may be - if it's drawing 100W from the 
wall and is 80% efficient, then your system is only actually pulling 
80W, the other 20W is heat dissipated from the PSU.




Here are the figures, considering this is for the whole machine I think it's 
quite good.


idle:
1000 MHz: 76W
2500 MHz: 98W



That's a nice little saving! Like I said previously, I only saw 2-3W 
saving at idle between full clock rate(2400MHz; 107-8W) and with freq 
scaling active (1600MHz; 105W) which would maybe imply that my system 
already has efficient halt state, and that throttling back (freq 
scaling) gives little further gains. Obviously that's not the case with 
your system.


Were you able to observe any drops in VCore voltage between load, idle 
(2500MHz) and 1000MHz with lm_sensors?



1 core under load: 110W
2 core under load: 120W

So, that's not just the processor, it's the whole machine. It takes into 
account the powerdrain from the processor plus (probably) faster fans plus any 
other drain from memory/chipset that may be higher underload.


Likewise :)


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


Re: [CentOS] Reloading /etc/hosts

2008-08-04 Thread nate
Robert Moskowitz wrote:
 I am doing some testing and am having to make many changes to /etc/hosts

 Is there a way to reload the /etc/hosts file without doing a service
 network restart?

There is no need to reload the hosts file, it's read in real time.
Some things like firefox maintain their own host cache though, and
you'll either have to restart it or wait for it's timeout before
the changes take effect.

If your running nscd, you may have to either restart nscd or
run nscd -i hosts to invalidate the hosts cache there. nscd
is typically only run on a system that is participating in network
authentication like LDAP.

nate

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


No an Issue? Re: [CentOS] Reloading /etc/hosts

2008-08-04 Thread Robert Moskowitz



Robert Moskowitz wrote:

I am doing some testing and am having to make many changes to /etc/hosts

Is there a way to reload the /etc/hosts file without doing a service 
network restart?


I 'forgot' to restart network after a change and did a ping6 and it worked.

Ergo, I think my information is wrong and the /etc/hosts file content is 
not cached somewhere in the client resolver code, but read fresh each 
time?  I am, it worked.  I created a fqdn that has no connection to 
anything possible in DNS, and ping6 worked




I hope that in a while I can run BIND with a bunch of faked-out zone 
files (did this once to crack a Vonage PAP2).  But for right now, I 
cannot introduce BIND to the equation



___
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] Reloading /etc/hosts

2008-08-04 Thread Robert Moskowitz



Ralph Angenendt wrote:

Robert Moskowitz wrote:
  

I am doing some testing and am having to make many changes to /etc/hosts

Is there a way to reload the /etc/hosts file without doing a service  
network restart?



That doesn't need to be reloaded *except* if you use the name service
caching daemon (nscd). Then service nscd reload might be needed.
Probably my memory cells were working off of nscd and I had cached 
memories about needing to clear out cache.   :)



So I got my mind cache flushed and working with fresh info.

I am at hiit.fi today getting the HIP code working.  I will have a 
'story' to tell end of the week




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


Re: [CentOS] Questions on cpu frequency scaling AMD vs. Intel

2008-08-04 Thread Kai Schaetzl
Kai Schaetzl wrote on Mon, 04 Aug 2008 11:08:55 +0200:

 Hm, it occurs to me now that the older cpu where the time warning doesn't 
 appear runs already on Xen 3.2.1 which may already have some patch to 
 avoid this bug. Or it simply doesn't report it anymore :-)

The warning is gone after upgrading that machine to 3.2.1 as well, indeed.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


[CentOS] GFS and Smaill Files

2008-08-04 Thread Patricio A. Bruna

Hi, 
I had found on the list that i can improve the performance of GFS with small 
files if i adapt the size of the rsbtbl_size/lkbtbl_size values. 
But it also found that this has to be done after loading the dlm module, but 
before the lockspace is created. What means before the lockspace is created, 
before the GFS partitions are mounted? 

How i do this? 

 
Patricio Bruna V. 
IT Linux Ltda. 
http://www.it-linux.cl 
Fono : (+56-2) 333 0578 - Chile 
Fono: (+54-11) 6632 2760 - Argentina 
Móvil : (+56-09) 8827 0342 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Questions on cpu frequency scaling AMD vs. Intel

2008-08-04 Thread Kai Schaetzl
Ned Slider wrote on Mon, 04 Aug 2008 14:51:41 +0100:

 Were you able to observe any drops in VCore voltage between load, idle 
 (2500MHz) and 1000MHz with lm_sensors?

I can't get any other sensor data than the core temperatures.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


[CentOS] Whole disk encryption

2008-08-04 Thread Plant, Dean
Has there been any updates to support encrypting the whole disk in 5.2?

If not, Is anyone doing this and can point me to some good
documentation?

Thanks

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


Re: [CentOS] Whole disk encryption

2008-08-04 Thread Chris Brentano

I think TrueCrypt (www.truecrypt.org) will do this.


On 4 Aug, 2008, at 8:51 AM, Plant, Dean wrote:

Has there been any updates to support encrypting the whole disk in  
5.2?


If not, Is anyone doing this and can point me to some good
documentation?

Thanks

Dean
___
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] Re: Fetchmail pop server and clean spam messages

2008-08-04 Thread Scott Silva

on 8-2-2008 12:04 PM Jay Leafey spake the following:

nightduke wrote:

Hi i want to fetchmail from a pop server and check every email to any
rbl spamhaus,spamcop,etc and if match at any rbl the email will be
deleted.

It's possible to do this?

Thanks

Nightduke


If you've got fetchmail configured to retrieve messages from a remote 
MTA and deliver to a local MTA, say your local Sendmail instance, then 
put the RBL-matching stuff in your Sendmail configuration.  The mail 
will still be fetched but will be discarded by your local MTA before 
dumping it in you local mailbox.


In principle, it would be better to have the system you are fetching the 
mail from do the RBL operations, but if you don't have control over it 
then you really don't get much choice.  I'm using this setup myself and 
it works, but it offends my aesthetic sense.  OTOH, I'm easily offended!


Your mileage may vary.

Just remember in this situation, you need to dump all bad stuff, and not 
bounce anything. Most of the bad stuff is forged and you will just end up on a 
blacklist.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



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


[CentOS] Outbound connections not using primary eth0 IP

2008-08-04 Thread Neil Aggarwal
Hello:

I have a machine running CentOS 5.2

I added two IP addresses to eth0 by copying
/etc/sysconfig/network-scripts/ifcfg-eth0
to 
/etc/sysconfig/network-scripts/ifcfg-eth0:0
/etc/sysconfig/network-scripts/ifcfg-eth0:1

and changing the relevant IP info.

I am now seeing outbound connections
failing at my firewall from services like NTP, etc. 
since they are now using a source address
from one of the added IP addresses instead of the
original eth0 IP which is allow through the firewall.

I don't want to have to keep maintaining 3 copies
of each firewall rule to accommodate the new IP 
addresses.

Is there a way to tell the machine to use
the eth0 IP address as the source address for
connections?

Here is the original ifcfg-eth0 file:

# nVidia Corporation MCP55 Ethernet
DEVICE=eth0
BOOTPROTO=none
BROADCAST=206.123.70.63
HWADDR=00:30:48:7A:B4:FE
IPADDR=206.123.70.50
NETMASK=255.255.255.240
NETWORK=206.123.70.48
ONBOOT=yes
GATEWAY=206.123.70.49
TYPE=Ethernet

Here is ifcfg-eth0:0
# nVidia Corporation MCP55 Ethernet
DEVICE=eth0:0
BOOTPROTO=none
BROADCAST=72.249.130.47
HWADDR=00:30:48:7A:B4:FE
IPADDR=72.249.130.42
NETMASK=255.255.255.248
NETWORK=72.249.130.40
ONBOOT=yes
GATEWAY=72.249.130.41
TYPE=Ethernet

Here is ifcfg-eth0:1
# nVidia Corporation MCP55 Ethernet
DEVICE=eth0:0
BOOTPROTO=none
BROADCAST=72.249.130.47
HWADDR=00:30:48:7A:B4:FE
IPADDR=72.249.130.43
NETMASK=255.255.255.248
NETWORK=72.249.130.40
ONBOOT=yes
GATEWAY=72.249.130.41
TYPE=Ethernet

Any ideas why this is happening?

Thanks,
  Neil

--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details. 

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


Re: [CentOS] Questions on cpu frequency scaling AMD vs. Intel

2008-08-04 Thread S.Tindall

On Monday, August 04, 2008 at 5:08 AM, Kai Schaetzl wrote:


...The older one is a 3800+ EE and the newer one is a 4850e
which I bought right after it became available. Unless rev. G
and up are only quad core CPUs at least the latter 45nm one
should be rev G or up, too. But I can't find a definitive list,
shouldn't there be one on the AMD site?



You can look up the processor revision/stepping here:

 http://products.amd.com/en-us/DesktopCPUFilter.aspx

You can search by model number, etc. on the left side or more 
specifically by the cpu OPN (e.g., ADO4600CUBOX) on the right 
side.


If you select steppings G1/G2 and then pull down the model list, 
you can see the range of processors in each stepping.  I don't 
think any of them are quad/triple cores.



Searching the 3800+ and knowing it is 65 watts (EE) shows 
either an F2 or F3.  Likewise, the 4850e is a G2.


Checking the cpuinfo on systems using a 4850e (G2) and a 4600+ EE 
(F2) both give cpu family: 15, so they have included the Gs in 
the excluded group, too.



Steve 


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


Re: [CentOS] Whole disk encryption

2008-08-04 Thread Peter Kjellstrom
On Monday 04 August 2008, Plant, Dean wrote:
 Has there been any updates to support encrypting the whole disk in 5.2?

As for booting from an encrypted root-filesystem I don't know. But any normal 
filesystem or swap can be encrypted with the normal linux blockdevice 
encryption functionality (dm-crypt). See the pkg cryptsetup-luks.

/Peter


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


Re: [CentOS] Whole disk encryption

2008-08-04 Thread Timothy Selivanow
On Mon, 2008-08-04 at 16:51 +0100, Plant, Dean wrote:
 Has there been any updates to support encrypting the whole disk in 5.2?

There hasn't been any built-in support until Fedora 9, so perhaps at the
earliest it would be 5.3 if at all.  There are however, ways you can
implement it yourself.  The biggest things you have to keep in mind are
that you need to make a change to the mkinitrd script and then generate
a new initrd image to be able to encrypt /, otherwise you could just
modify init.

There are a number of websites that have some docs on how to do it, here
is just one that I've seen in the past:

http://www.tummy.com/Community/Articles/cryptoroot-f8/


--Tim

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


Re: [CentOS] Outbound connections not using primary eth0 IP

2008-08-04 Thread Filipe Brandenburger
On Mon, Aug 4, 2008 at 13:00, Neil Aggarwal [EMAIL PROTECTED] wrote:
 Any ideas why this is happening?

Because you have two different default gateways. In that case, Linux
will rotate between them, using one or the other for each outgoing
packet.

If you want all your outgoing traffic to go through one gateway only
(from what you write, that is probably what you want), only remove the
GATEWAY= line from the :0 and :1 files and restart the network with
service network restart.

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


Re: [CentOS] Outbound connections not using primary eth0 IP

2008-08-04 Thread nate
Neil Aggarwal wrote:

 Any ideas why this is happening?

Try looking at this?
http://www.clintoneast.com/articles/multihomed.php

In general I try to make sure my systems only have 1 default
gateway, makes life a lot easier. Leave the multi homing to
the routers(or my preference layer 3 switches).

nate

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


Re: [CentOS] File system goes read-only once in a while

2008-08-04 Thread Mufit Eribol

Toby Bluhm wrote:

Mufit Eribol wrote:

Toby Bluhm wrote:

Mufit Eribol wrote:


I have a LV on RAID mounted as /mnt/raid. Then /mnt/raid/var is 
symlinked to /var. 


I was afraid you were going to say that.


Go back to single user mode.

mkdir /new_var
cd /mnt/raid/var
tar cf - . | ( cd /new_var ; tar xvf - )

Make sure both dirs look the same.

Change the link to /new_var. Or remove the old link  mv /new_var /var.

reboot.
Toby, Thank you for this nice tip. It worked perfectly. The server is 
back in the game again.


Just for my learning experience, I would appreciate if you clarify 
one point though. Why are you afraid when you hear /mnt/raid/var 
symlinked to /var?


Because it can complicate a recovery, as you just experienced.

Why did you feel a need to have /var setup as you did? Did you expect 
to fill it up quickly or a need for speed? You also have /tmp separate 
- do you expect more than usual activity there?


Perhaps a better question would be - What is the purpose of this 
machine? If it's a just a fileserver on a home lan, you don't *need* 
to make it complicated, although learning is fun :-).


Running a very active internet facing box with email, mysql, apache, 
etc. would probably call for a more complicated setup - which would 
actually make recovery  security easier/better.
This box is loaded with cyrus-imapd, postfix, amavisd, clamd, 
spamassassin, mysql, postgresql, apache, CRM, DMS, named, hylafax etc 
for a small company. I wanted to keep operating system on 2 SATA disks 
(RAID1), data (var and home) on a high capacity RAID10 (4 SATA disks). 
It works also a file server. I just wanted more capacity for home and 
var directories, hence they are on separate RAID controller. It is more 
difficult if the OS is also on RAID controller as the driver should be 
loaded before the OS is up and running. When I install a new kernel, I 
compile the raid driver easily with my setup. So, having OS on soft RAID 
and data files (home and var) on RAID controller seemed better idea when 
I setup the system.





Here is my fstab:
/dev/md2/   ext3
defaults1 1   --- md2 Software RAID1
/dev/md1/boot   ext3
defaults1 2   --- md0 Software RAID1
/dev/md0/tmpext3
defaults1 2   --- md1 Software RAID1
tmpfs   /dev/shmtmpfs   
defaults0 0
devpts  /dev/ptsdevpts  
gid=5,mode=620  0 0
sysfs   /syssysfs   
defaults0 0
proc/proc   proc
defaults0 0
LABEL=SWAP-sda3 swapswap
defaults,pri=1  0 0
LABEL=SWAP-sdb3 swapswap
defaults,pri=1  0 0
/dev/raid_vg0/raid_lv0  /mnt/raid   ext3
defaults0 0   --- Hardware RAID10


Before, home and var were under /mnt/raid directory and symlinked to 
/home and /var. Now, both directories were copied to / (md2 software 
RAID1) as new_home and new_var and /home and /var symlinks are now 
pointing to these new directories. /mnt/raid (hardware RAID10) which 
is the main storage of my server is not being used at the moment.


Instead of using links, may as well just mount it where it belongs.
I will follow your advice. I will mount /var and /home on RAID 
controller separately (2 separate VGs). But, some distros, one of them 
is Ubuntu, wants to have /var/run and /var/lock on the same partition as 
/. I don't know if CentOS 5.2 has such a requirement. If it has, I will 
mkdir /var/run and /var/lock on the same partition as / bu umounting 
/var first.




I am planning to have 2 logical volumes (for home and var separately) 
instead of 1. Then, they will be mounted as separate partitions as 
/home and /var to /dev/raid_vg0/raid_lv0 and /dev/raid_vg0/raid_lv1, 
respectively. Is it a good approach? Please advise.





I'm somewhat simple-minded - I like to keep the system that way :-). I 
split the partitions into 3


  /
  swap
  /home


either on a single disk or mirrored ( swap mirrored too ) - no lvm. 
For data storage I use lvm on raid on a separate mount point. Not 
saying you should do the same - it's just what I do.
Yes, it is simple. Perhaps I am victim of the articles advocating more 
partitions on the internet :-)


Thank you.
Mufit

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


[CentOS] pam max locked memory issue after updating to 5.2 and rebooting

2008-08-04 Thread Rob Lines
We were previously running 5.1 x86_64 and recently updated to 5.2
using yum.  Under 5.1 we were having problems when running jobs using
torque and the solution had been to add the following items to the
files noted

*  softmemlock unlimited in /etc/security/limits.conf
sessionrequired pam_limits.so in /etc/pam.d/{rsh,sshd}

This changed the max locked memory setting in ulimit as follows:

Before the change
rsh nodeX ulimit -a
still gives us
max locked memory   (kbytes, -l) 32

After the change
rsh nodeX ulimit -a
max locked memory   (kbytes, -l) 16505400

The nodes have 16gb of memory.

Now after the 5.2 updates those files are all the same and on most of
the nodes we haven't yet rebooted them due to log running processes
but a few nodes have been restarted and now that jobs are starting to
be put on them we are back to max locked memory of 32k rather than
16gb.

The error we are receiving on those jobs is :

libibverbs: Warning: RLIMIT_MEMLOCK is 32768 bytes.
This will severely limit memory registrations.
libibverbs: Warning: RLIMIT_MEMLOCK is 32768 bytes.
This will severely limit memory registrations.
Fatal error in MPI_Init:
Other MPI error, error stack:
MPIR_Init_thread(306)...: Initialization failed
MPID_Init(113)..: channel initialization failed
MPIDI_CH3_Init(167).:
MPIDI_CH3I_RDMA_init(138)...:
rdma_setup_startup_ring(333): cannot create cq
Fatal error in MPI_Init:
Other MPI error, error stack:
MPIR_Init_thread(306)...: Initialization failed
MPID_Init(113)..: channel initialization failed
MPIDI_CH3_Init(167).:
MPIDI_CH3I_RDMA_init(138)...:
rdma_setup_startup_ring(333): cannot create cq
rank 45 in job 1  nodeX_35175   caused collective abort of all ranks
  exit status of rank 45: return code 1
rank 44 in job 1  nodeX_35175   caused collective abort of all ranks
  exit status of rank 44: return code 1


The full output of :

rsh nodeX ulimit -a

connect to address x.x.x.x port 544: Connection refused
Trying krb4 rsh...
connect to address x.x.x.x port 544: Connection refused
trying normal rsh (/usr/bin/rsh)
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 135168
max locked memory   (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files  (-n) 1024
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) 10240
cpu time   (seconds, -t) unlimited
max user processes  (-u) 135168
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited


Any ideas, suggestions or items I could roll back would be
appreciated.  I looked through the list of packages that were updated
and the only one that I could see that was related was pam.  ssh and
rsh were not updated.

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


Re: [CentOS] 64bit vs 32bit

2008-08-04 Thread MHR
On Sat, Aug 2, 2008 at 11:28 AM, nate [EMAIL PROTECTED] wrote:
 ... The above 64-bit system has 16G, the 32-bit
 system above has 2G.


If you have a system with 8x the size of memory than another system,
it will _need_ more memory just to run.

I run 64-bit CentOS 5.2 on a system with 4GB of ram and have never had
a memory problem, and only one time when it was 2GB and I
inadvertently tried to open 300+ JPEGs all at the same time.

IMNSHO, if you have a 64-bit CPU, unless you have a specific need to
run in 32-bit mode, use it (64-bit mode).

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


Re: [CentOS] Outbound connections not using primary eth0 IP

2008-08-04 Thread Bill Campbell
On Mon, Aug 04, 2008, nate wrote:
Neil Aggarwal wrote:

 Any ideas why this is happening?

Try looking at this?
http://www.clintoneast.com/articles/multihomed.php

In general I try to make sure my systems only have 1 default
gateway, makes life a lot easier. Leave the multi homing to
the routers(or my preference layer 3 switches).

It's worth noting that some software allows one to specify the outgoing IP
(e.g. using inet_interfaces in postfix or sourceaddress with innd).

This can be very useful if one has a role IP, say news.example.com, and
wants to be sure that outgoing connections originate with a specific IP
address so your news partners don't have to mess with their incoming
configuration files.  

I did see some ``interesting'' issues on an private LAN where a server had
multiple IP addresses on the private interface.  NFS mounts were failing to
the primary IP, and after doing some tcp sniffing, I found that the return
UDP packets were originating from one of the aliased IP addresses (this was
SuSE 9.0 Pro).  I fixed the problem by forcing NFS to use tcp conneections
rather than beat my head against the wall trying to figure out why this was
happening.

Bill
-- 
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186

Liberty don't work as good in practice as it does in speeches.
Will Rogers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] HP ILO Fence Configuration

2008-08-04 Thread Lanny Marcus
On Mon, Aug 4, 2008 at 5:52 AM, Balaji [EMAIL PROTECTED] wrote:
 Currently i am using HP x6600 Server and I have installed RHEL4 Update 4 AS
 Linux and
 RHEL4 Update 4 Support Cluster Suite in my server
 I am new in fence and can any one help me how to configure HP ILO fence in
 my server
 and HP ILO Fence Functionality

Did you consider posting on a Red Hat mailing list? This list is for
CentOS users.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Outbound connections not using primary eth0 IP

2008-08-04 Thread Bill Campbell
On Mon, Aug 04, 2008, Bill Campbell wrote:
On Mon, Aug 04, 2008, nate wrote:
Neil Aggarwal wrote:

 Any ideas why this is happening?

Try looking at this?
http://www.clintoneast.com/articles/multihomed.php

In general I try to make sure my systems only have 1 default
gateway, makes life a lot easier. Leave the multi homing to
the routers(or my preference layer 3 switches).

It's worth noting that some software allows one to specify the outgoing IP
(e.g. using inet_interfaces in postfix or sourceaddress with innd).

Whoops.  That is smtp_bind_address for postfix, not inet_interfaces.

Bill
-- 
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186

The best we can hope for concerning the people at large is that they be
properly armed.  -- Alexander Hamilton, The Federalist Papers at 184-188
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] model_editor.py

2008-08-04 Thread Bob Taylor
I have googled for this and also grepped the hplip sources without
finding it. It is used to convert the models.dat file into models.xml. I
need to insert my printer data into this file as it is not in the 5.2
hplip rpm. Could anyone help? I do not want to replace 5.2 rpm with a
newer one. Thanks.

Bob
-- 
Bob Taylor

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


RE: [CentOS] Outbound connections not using primary eth0 IP

2008-08-04 Thread Neil Aggarwal
Filipe:

I removed the GATEWAY line from the :0 and :1 files
and now everything seems to be working perfectly.

I don't understand how that works since the IP addresses
from :0 and :1 are on a different subnet than the one
for eth0 and they have a different gateway.  I guess
I don't understand the finer points of networking.

The solution worked and I am thankful for that.

Thanks,
Neil

--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.  

 Because you have two different default gateways. In that case, Linux
 will rotate between them, using one or the other for each outgoing
 packet.

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


Re: [CentOS] Outbound connections not using primary eth0 IP

2008-08-04 Thread Filipe Brandenburger
On Mon, Aug 4, 2008 at 15:31, Neil Aggarwal [EMAIL PROTECTED] wrote:
 I don't understand how that works since the IP addresses
 from :0 and :1 are on a different subnet than the one
 for eth0 and they have a different gateway.  I guess
 I don't understand the finer points of networking.

The point is that, when you have multiple gateways, the system will
choose one for you for each outgoing packet.

If the packet is not yet part of an established connection (i.e. if it
is an outgoing connection that is being opened), when the gateway is
chosen, so will the outgoing address, and this will cause you to
experience what you have experienced.

Administrators should *always* avoid using multiple default gateways
unless they really know what they are doing (and even in that case I
would recommend against it).

 The solution worked and I am thankful for that.

Great to know I could help!

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


Re: [CentOS] Questions on cpu frequency scaling AMD vs. Intel

2008-08-04 Thread Kai Schaetzl
S.Tindall wrote on Mon, 4 Aug 2008 13:08:03 -0400:

 http://products.amd.com/en-us/DesktopCPUFilter.aspx

Thanks, nice tool!

 Checking the cpuinfo on systems using a 4850e (G2) and a 4600+ EE 
 (F2) both give cpu family: 15, so they have included the Gs in 
 the excluded group, too.

Yeah. There's apparently no way to distinguish by stepping, so they used 
the family. It's a shame that most people will not know it and thus not 
get the benefits of frequency scaling.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] Outbound connections not using primary eth0 IP

2008-08-04 Thread nate
Bill Campbell wrote:

 It's worth noting that some software allows one to specify the outgoing IP
 (e.g. using inet_interfaces in postfix or sourceaddress with innd).

That certainly makes sense when you have multiple IPs that are
routed by the same default gateway(most often in the same subnet, but it
appears that the OP had two different subnets from the same ISP
that could use the same gateway, I had a similar setup once but the
subnets were adjacent (two /28s right next to each other, as the ISP
wasn't willing to allocate a /27)).

Certainly not a situation I like to have to deal with(two different
subnets going to the same gateway), too complicated.

nate

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


Re: [CentOS] rsync question

2008-08-04 Thread Kuang-Chun Cheng
On Tue, Aug 5, 2008 at 1:35 PM, Mag Gam [EMAIL PROTECTED] wrote:
 Hi All,

 I am trying to understand the purpose of rsyncd. Why does it exist?
 Why not just use rsync ad-hoc or via script?

The rsyncd is optional.  I did not use it by myself, so can't comment on that.


 Also, to a more serious note. I need to keep a filesystem on 1 server
 and another server synced by.
 What is the best way to do this? I want to have /source and /target to
 be exactly the same. I don't want any extra files in /target. I want
 the timestamps to be the exact same in /target. Does anyone have a
 good rsync arguments I can use? I have been using -avzl but I was
 wondering if there was anything better.

You can try

rsync -avz --delete /source/ /target/

KC



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