[CentOS-es] Centos y Flumotion

2012-04-17 Thread Ricardo Martinez
Hola lista!!!

Quiero implementar un servidor de stream ( FLUMOTION
http://www.flumotion.net/ ) en Centos6

He estado mirando la documentación oficial y veo que es antigua último
update del 2008 y en un principio está orientada a Debian.

Mi pregunta es, alguién tiene experiencia implementando FLUMOTION en CENTOS
¿? o ha podido localizar documentación más actualizada ¿?

Muchas gracias!!!

-- 
Ricardo
___
IT Architect
website: http://www.pulsarinara.com
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] Preguntas sobre balanceo de carga

2012-04-17 Thread Miguel Angel Hernandez Moreno
Saludos Compañeros

En primera instancia me presento y agradesco a los administradores que
exista la comunidad.

Me e encontrado en un dilema el dia de hoy devido a que tengo 2 servidores
Centos para balancear
las cargas en los puerto 80 443 8080 y 8443 (apache y tomcat). Por lo
pronto tengo solo el puerto 80
a balancear

Mi estructura esta asi:
ServerA 10.166.36.14
ServerB 10.166.36.15

En el ServerA tengo el keepalived, el haproxy (puerto 8!) y el
apache (puerto 80) instalados
En el ServerB solo tengo el Apache (puerto 80)

En teoria todos ven la IP del ServerA pero ahi el HAPROXY balancea para que
sean 2 server usados
y todo sea transparente para el usuario

El caso aqui es que Solo me reconoce el ServerB, nunca reconoce el A. Yo
entro a la pagina de stats
(http://10.166.36.15:81/haproxy?stats;) y solo ve el ServerB, pero aun asi
le agrego mas Servers y solo
reconoce como activo el serverB, ya agrege 2 nodos mas para las pruebas
pero sige solo reconociendo
al ServerB

Este es el Conf de haproxy.cfg

listen LoadBalancer
bind *:81
mode http
stats enable
stats auth admin:123456
balance roundrobin
cookie JSESSIONID prefix
option httpclose
option forwardfor
option httpchk HEAD /check.txt HTTP/1.0
server ServidorA 10.166.36.11:80 cookie A check
server ServidorB 10.166.36.14:80 cookie B check
server ServidorC 10.166.36.15:80 cookie C check
server ServidorD 10.166.36.18:80 cookie D check



Segui los pasos de los manuales comunes.

Nota. Esto ya lo habia configurado asi en Ubuntu Server y funciono, ahora
quise aplicar los mismo
en Centos y veo que existe mayor complejidad.


Se antemano muchas gracias y excelente tarde


-- 
ISC Miguel Angel Hernandez Moreno
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] EJECUCION DE SCRIPTS EN EL ARRANQUE

2012-04-17 Thread Ignacio Ordeñana
hola

he creado un scripts de iptables con nombre firewall.sh pero no se
ejecuta en el arranque tengo que hacerlo manualmente para que se
ejecute con la instruccion sh firewall.sh.el scripts lo he agregado en
/etc/rc.local para su ejecucion y ademas le di propiedades de ejecuion
con chmod +x firewall.sh

sin mas a que hacer referencia

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


Re: [CentOS-es] EJECUCION DE SCRIPTS EN EL ARRANQUE

2012-04-17 Thread I.S.C. William
dentor de /etc/rc.local

sh /donde7este/tu/firewall.sh

Permisos chmod +x firefall.sh

Renicia y checalo .. !!

Saludos !!

El día 17 de abril de 2012 13:36, Ignacio Ordeñana
ifor1...@gmail.com escribió:
 hola

 he creado un scripts de iptables con nombre firewall.sh pero no se
 ejecuta en el arranque tengo que hacerlo manualmente para que se
 ejecute con la instruccion sh firewall.sh.el scripts lo he agregado en
 /etc/rc.local para su ejecucion y ademas le di propiedades de ejecuion
 con chmod +x firewall.sh

 sin mas a que hacer referencia

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



-- 
I.S.C. William López Jiménez
--
User Linux # 379636
MSN         wljkoal...@hotmail.com
Jabber       koalas...@jabber.org
Web:         www.koalasoftmx.tk
Twitter:  @koalasoft
Facebook:  william.koalasoft
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] EJECUCION DE SCRIPTS EN EL ARRANQUE

2012-04-17 Thread Pablo Leal
si no me equivoco tenes que cambiar el nombre del archivo y dejarlo
simplemente firewall

y luego

chkconfig --levels 235 firewall on
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] EJECUCION DE SCRIPTS EN EL ARRANQUE

2012-04-17 Thread cheperobert
El día 17 de abril de 2012 12:36, Ignacio Ordeñana
ifor1...@gmail.com escribió:
 hola

 he creado un scripts de iptables con nombre firewall.sh pero no se
 ejecuta en el arranque tengo que hacerlo manualmente para que se
 ejecute con la instruccion sh firewall.sh.el scripts lo he agregado en
 /etc/rc.local para su ejecucion y ademas le di propiedades de ejecuion
 con chmod +x firewall.sh

 sin mas a que hacer referencia

Es en rc.local, como te lo han mencionado ejecutando el script.

Tambien puedes guardar las confifuraciones ejecutas en el script
con:
# service iptables save
o
# /etc/init.d/iptables save

Esto guardara las configuraciones en /etc/sysconfig/iptables, para que
se apliquen cuando se reinicie la maquina.

Espero te sirva tambien.


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



-- 
Saludos,
cheperobert
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] EJECUCION DE SCRIPTS EN EL ARRANQUE

2012-04-17 Thread Héctor Herrera
Me sumo al último comentario, añade las configuraciones que buscas en
/etc/sysconfig/iptables, todas las configuraciones que guardas al momento
de hacer un iptables-save están ahí.

El 17 de abril de 2012 16:22, cheperobert jrobertoa...@gmail.com escribió:

 El día 17 de abril de 2012 12:36, Ignacio Ordeñana
 ifor1...@gmail.com escribió:
  hola
 
  he creado un scripts de iptables con nombre firewall.sh pero no se
  ejecuta en el arranque tengo que hacerlo manualmente para que se
  ejecute con la instruccion sh firewall.sh.el scripts lo he agregado en
  /etc/rc.local para su ejecucion y ademas le di propiedades de ejecuion
  con chmod +x firewall.sh
 
  sin mas a que hacer referencia

 Es en rc.local, como te lo han mencionado ejecutando el script.

 Tambien puedes guardar las confifuraciones ejecutas en el script
 con:
 # service iptables save
 o
 # /etc/init.d/iptables save

 Esto guardara las configuraciones en /etc/sysconfig/iptables, para que
 se apliquen cuando se reinicie la maquina.

 Espero te sirva tambien.

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



 --
 Saludos,
 cheperobert
 ___
 CentOS-es mailing list
 CentOS-es@centos.org
 http://lists.centos.org/mailman/listinfo/centos-es




-- 
Saludos

*Héctor Herrera Anabalón*
Egresado ICCI UNAP
Soporte IT en CNN Chile
Miembro USoLIX Victoria
Registered User #548600 (LinuxCounter.net)
+56983118902
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] EJECUCION DE SCRIPTS EN EL ARRANQUE

2012-04-17 Thread Edg@r Rodolfo
El 17/04/12, Ignacio Ordeñana ifor1...@gmail.com escribió:
 hola

 he creado un scripts de iptables con nombre firewall.sh pero no se
 ejecuta en el arranque tengo que hacerlo manualmente para que se
 ejecute con la instruccion sh firewall.sh.el scripts lo he agregado en
 /etc/rc.local para su ejecucion y ademas le di propiedades de ejecuion
 con chmod +x firewall.sh

 sin mas a que hacer referencia

Mi estimado supongo que tú conoces o haz leído la doc de CentOS y
redhat, ellos te dicen que hacer para guardar las reglas iptables, fue
creado por ellos y el lugar esta en /etc/sysconfig/iptables, por qué
no sigues los consejos de los expertos?

Usa  #iptables-save  tufile,  si estuvieras usando debian ahí si
deberías hacer lo que intentas pero hay que leer, creo que en ese file
rc.local hay que poner iptables-restore  tufile, saludos!


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

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


Re: [CentOS] PHP and PHP53

2012-04-17 Thread alikhan damirov
There are not any problems.
On my server:
# rpm -qa | grep php
php-pecl-memcache-3.0.5-3.el6.x86_64

php-xml-5.3.3-3.el6_2.6.x86_64
php-5.3.3-3.el6_2.6.x86_64
php-pear-1.9.4-4.el6.noarch
php-pgsql-5.3.3-3.el6_2.6.x86_64
php-gd-5.3.3-3.el6_2.6.x86_64
php-soap-5.3.3-3.el6_2.6.x86_64
php-common-5.3.3-3.el6_2.6.x86_64
php-cli-5.3.3-3.el6_2.6.x86_64
php-mysql-5.3.3-3.el6_2.6.x86_64
php-xmlrpc-5.3.3-3.el6_2.6.x86_64
php-pecl-apc-3.1.3p1-1.2.el6.1.x86_64
php-ldap-5.3.3-3.el6_2.6.x86_64
php-pdo-5.3.3-3.el6_2.6.x86_64
php-odbc-5.3.3-3.el6_2.6.x86_64

On 16 April 2012 21:49, dnk d.k.emailli...@gmail.com wrote:

 I myself am running:


 httpd-2.2.22
 php-5.2.17
 mysql-server-5.1.58

 from Jason Litka's (utterramblings) repo.

 http://www.jasonlitka.com/yum-repository/

 No issues here.

 D


 On 2012-04-16, at 3:18 PM, Max Pyziur wrote:

 
  Greetings,
 
  We have someone requesting the use of Wordpress 3.3.1. It requires PHP
 5.2
  minimum.
 
  Currently, our machine is running CentOS 5.7.
 
 
  What are the issues/concerns in upgrading from PHP 5.1 (the current PHP
  rpms) to PHP53?
 
  Much thanks,
 
  Max Pyziur
  p...@brama.com
  ___
  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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PHP and PHP53

2012-04-17 Thread Mihamina Rakotomandimby
On 04/17/2012 01:18 AM, Max Pyziur wrote:

 Greetings,

 We have someone requesting the use of Wordpress 3.3.1. It requires PHP 5.2
 minimum.
 Currently, our machine is running CentOS 5.7.


What about the IUS repository listed here 
http://wiki.centos.org/AdditionalResources/Repositories ?

IUS PHP packages list for 5:
http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/repoview/development.languages.group.html

If you have virtualization capabilities and depending on your PHP 
extension needs, you should give a try and compare with other repositories.


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


Re: [CentOS] PHP and PHP53

2012-04-17 Thread Eero Volotinen
it also available from ius community repo

--
Eero

2012/4/17 dnk d.k.emailli...@gmail.com:
 I myself am running:


 httpd-2.2.22
 php-5.2.17
 mysql-server-5.1.58

 from Jason Litka's (utterramblings) repo.

 http://www.jasonlitka.com/yum-repository/

 No issues here.

 D


 On 2012-04-16, at 3:18 PM, Max Pyziur wrote:


 Greetings,

 We have someone requesting the use of Wordpress 3.3.1. It requires PHP 5.2
 minimum.

 Currently, our machine is running CentOS 5.7.


 What are the issues/concerns in upgrading from PHP 5.1 (the current PHP
 rpms) to PHP53?

 Much thanks,

 Max Pyziur
 p...@brama.com
 ___
 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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.x, kernel-2.6.32-220.7.1, EC2 and drive enumeration

2012-04-17 Thread Steph Gosling
Hi Karanbir,

That's the thing, older (non pv-grub aware kernels) did used to map
them with the old scsi device names, but here now it's still mapping
them as 'xvdN' but N in this case is 'e', not 'a', 'f', not 'b' and so
on.

Upstream seem to have a handful of bugs related to dracut and initramfs
creation but I don't think that's the case here but I'll look at it again. 

Cheers,

Steph



On Tue, 17 Apr 2012 00:00:48 +0100
Karanbir Singh mail-li...@karan.org wrote:

 On 04/16/2012 10:44 AM, Steph Gosling wrote:
  Does anyone have any similar experience or advice?
  
 
 because the devices are now mapped as sda/sdb instead of xvda/xvdb ?
 
 -- 
 Karanbir Singh
 +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
 ICQ: 2522219| Yahoo IM: z00dax  | Gtalk: z00dax
 GnuPG Key : http://www.karan.org/publickey.asc
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


-- 
Steph Gosling st...@chuci.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PHP and PHP53

2012-04-17 Thread Johnny Hughes
On 04/16/2012 11:49 PM, dnk wrote:
 I myself am running:


 httpd-2.2.22
 php-5.2.17
 mysql-server-5.1.58

I want to point out here that 5.2.17 is the last release of the 5.2
branch and that it is NOT being updated for security by php.net any
more.  There are already unpatched vulnerabilities. The 5.1.x (and
php53) versions from EL5 will continue to get security updates until EL5
goes EOL.

If you have to use php-5.2.x then 5.2.17 is the one to use ... however,
it is not safe.

As to the question of what is different ... I think many 3rd party
packages from repoforge and EPEL will not work well with php53 ... but
if you are staying inside the php53 universe, it should be OK.


 from Jason Litka's (utterramblings) repo.

 http://www.jasonlitka.com/yum-repository/

 No issues here.

 D


 On 2012-04-16, at 3:18 PM, Max Pyziur wrote:

 Greetings,

 We have someone requesting the use of Wordpress 3.3.1. It requires PHP 5.2 
 minimum.

 Currently, our machine is running CentOS 5.7.


 What are the issues/concerns in upgrading from PHP 5.1 (the current PHP 
 rpms) to PHP53?

 Much thanks,

 Max Pyziur
 p...@brama.com
 ___
 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





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


[CentOS] packaging: src.rpm not a rpm

2012-04-17 Thread Mihamina Rakotomandimby
Hi all,

I have installed the recommended installs from here:
http://wiki.centos.org/HowTos/RebuildSRPM

I want to build a ipfm RPM on a CentOS 6.2, for legacy purpose.
I cant immediately get rid of that piece of software, but we're on the 
move...

So:

$ wget 
http://rpm.pbone.net/index.php3/stat/3/srodzaj/2/search/ipfm-0.11.5-alt1.src.rpm
$ rpm -i --nomd5 ipfm-0.11.5-alt1.src.rpm
  error: ipfm-0.11.5-alt1.src.rpm: not an rpm package
  (or package manifest):

I probably missed something or am using some very outdated ressources: 
would some help me?

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


Re: [CentOS] packaging: src.rpm not a rpm

2012-04-17 Thread Rob Kampen
On 04/17/2012 09:14 PM, Mihamina Rakotomandimby wrote:
 Hi all,

 I have installed the recommended installs from here:
 http://wiki.centos.org/HowTos/RebuildSRPM

 I want to build a ipfm RPM on a CentOS 6.2, for legacy purpose.
 I cant immediately get rid of that piece of software, but we're on the
 move...

 So:

 $ wget
 http://rpm.pbone.net/index.php3/stat/3/srodzaj/2/search/ipfm-0.11.5-alt1.src.rpm
 $ rpm -i --nomd5 ipfm-0.11.5-alt1.src.rpm
error: ipfm-0.11.5-alt1.src.rpm: not an rpm package
(or package manifest):

 I probably missed something or am using some very outdated ressources:
 would some help me?

source packages are stored in the vault.centos.org repo.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] packaging: src.rpm not a rpm

2012-04-17 Thread Fabien Archambault
2012/4/17 Mihamina Rakotomandimby miham...@rktmb.org:
 Hi all,

 I have installed the recommended installs from here:
 http://wiki.centos.org/HowTos/RebuildSRPM

 I want to build a ipfm RPM on a CentOS 6.2, for legacy purpose.
 I cant immediately get rid of that piece of software, but we're on the
 move...

 So:

 $ wget
 http://rpm.pbone.net/index.php3/stat/3/srodzaj/2/search/ipfm-0.11.5-alt1.src.rpm
 $ rpm -i --nomd5 ipfm-0.11.5-alt1.src.rpm
  error: ipfm-0.11.5-alt1.src.rpm: not an rpm package
  (or package manifest):

 I probably missed something or am using some very outdated ressources:
 would some help me?


Hi,

To rebuild you can use:
$ rpmbuild --rebuild ipfm-0.11.5-alt1.src.rpm

First you need to follow those instructions:
http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment

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


Re: [CentOS] packaging: src.rpm not a rpm

2012-04-17 Thread Johnny Hughes
On 04/17/2012 09:14 PM, Mihamina Rakotomandimby wrote:
 Hi all,

 I have installed the recommended installs from here:
 http://wiki.centos.org/HowTos/RebuildSRPM

 I want to build a ipfm RPM on a CentOS 6.2, for legacy purpose.
 I cant immediately get rid of that piece of software, but we're on the
 move...

 So:

 $ wget
 http://rpm.pbone.net/index.php3/stat/3/srodzaj/2/search/ipfm-0.11.5-alt1.src.rpm
 $ rpm -i --nomd5 ipfm-0.11.5-alt1.src.rpm
error: ipfm-0.11.5-alt1.src.rpm: not an rpm package
(or package manifest):

 I probably missed something or am using some very outdated ressources:
 would some help me?


That link is just the html page, not an SRPM .. when you wget it, you
have downloaded the html code, not an SRPM.

Go here and pick an SRPM link:

http://rpm.pbone.net/index.php3/stat/26/dist/24/size/57543/name/ipfm-0.11.5-alt1.src.rpm



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


Re: [CentOS] packaging: src.rpm not a rpm

2012-04-17 Thread Johnny Hughes
On 04/17/2012 04:17 AM, Rob Kampen wrote:
 On 04/17/2012 09:14 PM, Mihamina Rakotomandimby wrote:
 Hi all,

 I have installed the recommended installs from here:
 http://wiki.centos.org/HowTos/RebuildSRPM

 I want to build a ipfm RPM on a CentOS 6.2, for legacy purpose.
 I cant immediately get rid of that piece of software, but we're on the
 move...

 So:

 $ wget
 http://rpm.pbone.net/index.php3/stat/3/srodzaj/2/search/ipfm-0.11.5-alt1.src.rpm
 $ rpm -i --nomd5 ipfm-0.11.5-alt1.src.rpm
error: ipfm-0.11.5-alt1.src.rpm: not an rpm package
(or package manifest):

 I probably missed something or am using some very outdated ressources:
 would some help me?



I will point out that SRPM is for ALT linux, not CentOS .. who knows if
it will compile on CentOS.





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


Re: [CentOS] bridge connection and two linux servers

2012-04-17 Thread Arif Hossain
I think i've failed to describe what i'm trying to do. So i'm describing it
again.

The client will send request to the BOX2's IP. BOX1's IP used only for
management purposes. All request
destined to BOX'2 IP will go through BOX 1. BOX1's IP will not be available
to clients. another thing is the service
running in BOX2's is very sensitive to  nat like stuffs. primary natting
for client is managed externally. but no packet header modification(in case
of iptables -t nat) is desirable.
On Mon, Apr 16, 2012 at 9:16 PM, Ken godee k...@perfect-image.com wrote:



 On 4/16/2012 8:04 AM, Arif Hossaiin wrote:
  I need to set up following network architecture :
 
 
  Internet
 ^
   +-+ |  +--+
   |  Centos6-1  | |  |  Centos6-2   |
   |  + eth0 + +  |  |
   | (br0)|  ||  |
   |  + eth1 ++ eth0 |
   +-++--+
( cable connection )
 
 
  Two public IP's are to be configured like follows :
 
  + **eth0** and **eth1** of **Centos6-1 are to be configured as a bridge
  with IP1
  - **Centos6-1** can be accessed with IP1
  - **eth0** of **Centos6-2** is configured with IP2
  - any request destined to IP2 will flow through **Centos6-1**
 
  How can i accomplish this feat?

 Not sure if I'm understanding this

 You're trying to present a service running on box 2 to the internet
 through box 1's public interface? (securely)

 If so I might have a look at this software

 http://www.delegate.org/delegate/

 You'll be able to create a reverse proxy on box 1 to box 2 or
 any services running on your internal network, etc.

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




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


Re: [CentOS] packaging: src.rpm not a rpm

2012-04-17 Thread Mihamina Rakotomandimby
On 04/17/2012 12:17 PM, Rob Kampen wrote:
 source packages are stored in the vault.centos.org repo.

Did not find, but I just discovered (by jus reading further with 
attention) that the source has a spec file:

http://robert.cheramy.net/ipfm/browser/trunk?order=name

Thank you very much!


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


Re: [CentOS] CentOS 6.x, kernel-2.6.32-220.7.1, EC2 and drive enumeration

2012-04-17 Thread Steph Gosling
(bad form replying to myself)

I've found the issue upstream:

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

Last comment there saying there are patches in an as yet unreleased
kernel-2.6.32-229.el6. I've had a quick look at the SRPMS upstream and
don't see that one yet so a related question: how quickly do they
release these or make them available for testing?

Cheers,

Steph


-- 
Steph Gosling st...@chuci.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.x, kernel-2.6.32-220.7.1, EC2 and drive enumeration

2012-04-17 Thread Karanbir Singh
hi,

Please dont toppost, trim your reply and keep context in your replies.

On 04/17/2012 08:04 AM, Steph Gosling wrote:
 them as 'xvdN' but N in this case is 'e', not 'a', 'f', not 'b' and so
 on.

And labels dont help here ?

-- 
Karanbir Singh
+44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
ICQ: 2522219| Yahoo IM: z00dax  | Gtalk: z00dax
GnuPG Key : http://www.karan.org/publickey.asc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.x, kernel-2.6.32-220.7.1, EC2 and drive enumeration

2012-04-17 Thread Steph Gosling
On Tue, 17 Apr 2012 12:35:07 +0100
Karanbir Singh mail-li...@karan.org wrote:

 hi,
 
 Please dont toppost, trim your reply and keep context in your replies.

Apologies (mail sent before coffee this morning!)

 On 04/17/2012 08:04 AM, Steph Gosling wrote:
  them as 'xvdN' but N in this case is 'e', not 'a', 'f', not 'b' and so
  on.
 
 And labels dont help here ?

Labels do help for the root device but not for ephemeral devices in
EC2:- with an EC2 instance you'll know the label or UUID of the root
device but ephemeral devices are created at startup time. This makes
getting mountpoints right hard if you're programmatically starting
instances difficult. 

There's also a 'mapping' between what the EC2 APIs return as the root
device (helpfully still referred to via the old SCSI names), again
which makes programmatic operations break: expecting something to
be /dev/sda1 in EC2 that was /dev/xvda1 in the instance but magically
now is /dev/xvde1.

Anyway as I say it's definitely a problem with upstream so we'll just
wait and see. Just explaining this here so that the search engines get
it and it'll hopefully help someone else with the same problem in the
future.   

Cheers,

Steph

-- 
Steph Gosling st...@chuci.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.x, kernel-2.6.32-220.7.1, EC2 and drive enumeration

2012-04-17 Thread Johnny Hughes
On 04/17/2012 06:27 AM, Steph Gosling wrote:
 (bad form replying to myself)

 I've found the issue upstream:

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

 Last comment there saying there are patches in an as yet unreleased
 kernel-2.6.32-229.el6. I've had a quick look at the SRPMS upstream and
 don't see that one yet so a related question: how quickly do they
 release these or make them available for testing?

They usually do not make them available for testing anymore ... and if
they do, it is usually a link from the bugzilla page and likely for a
limited time. (Thanks Oracle)

Since it is a 229 version, I would think it will be released at the next
point release ... so for 6.3



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


Re: [CentOS] bridge connection and two linux servers

2012-04-17 Thread Benjamin Hackl
On Tue, 17 Apr 2012 16:07:36 +0600
Arif Hossain aft...@gmail.com wrote:

 I think i've failed to describe what i'm trying to do. So i'm
 describing it again.
 
 The client will send request to the BOX2's IP. BOX1's IP used only for
 management purposes.

You're looking for a bridging firewall, it probably should look like this:


++ +-- internet line
|  box1  | |
|| |   ++
|   eth2---bad-+   |  box2  |
|   |br| | ||
|   eth1--good---eth1   |
|| ||
|   eth0--+--eth0   |
|||||
++|++
  |
 lan

eth0 is the (optional) internal management network

you'll need the following configurations on box1:


In /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0
TYPE=Bridge
ONBOOT=yes
DELAY=0
BOOTPROTO=none

In /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
HWADDR=MAC
ONBOOT=yes
BRIDGE=br0

In /etc/sysconfig/network-scripts/ifcfg-eth2
DEVICE=eth2
HWADDR=MAC
ONBOOT=yes
BRIDGE=br0


Restart your networking:
service network restart

Verify the bridge is set up:
brctl show

You probably want to netfilter your br0 device, I recommend shorewall:

Here is a short example. I'll put eth1 in zone good and eth2 in zone
bad. eth0 will be in zone loc. I will allow all outgoing traffic from
box2 to the internet and filter all incoming except for https and icmp
ping. This example requires shorewall  4.0. This example is for ipv4
only, ipv6 requires shorewall6.


In /etc/shorewall/interfaces
#ZONE   INTERFACE   BROADCAST   OPTIONS

# Your isp
inetbr0 -   bridge,proxyarp,routefilter
bad br0:eth2-   physical=eth2
goodbr0:eth1-   physical=eth1

# local network
loc eth0detect  routeback


In /etc/shorewall/zones
#ZONE   TYPE
fw  firewall
loc ipv4
inetipv4
bad:inetbport
good:inet   bport
#END

In /etc/shorewall/policy
#SOURCE DESTPOLICY LOG

# allow local to firewall and vice versa
loc fw  ACCEPT
fw  loc ACCEPT

# the next line allows all outgoing (from good to bad) traffic.
# you can also reject outgoing traffic and set single allow rules in
# the file /etc/shorewall/rules (see below)
goodbad ACCEPT

# drop all other
bad all DROP   info
all all DROP   info
#END

In /etc/shorewall/rules
#ACTION SOURCE  DESTPROTO   DEST
# e.g. allow ping and https only for public ip (1.2.3.4)
ACCEPT  bad good:1.2.3.4tcp https
ACCEPT  bad good:1.2.3.4icmp8
#END






-- 
Freundliche Gruesse/Best Regards
Benjamin Hackl
IT/Administration

Media FOCUS Research Ges.m.b.H.
Maculangasse 8, 1220 Wien Austria
Tel: +43 1 258 97 01-295
b.ha...@focusmr.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PHP and PHP53

2012-04-17 Thread Peter Hopfgartner
On 04/17/2012 12:18 AM, Max Pyziur wrote:
 Greetings,

 We have someone requesting the use of Wordpress 3.3.1. It requires PHP 5.2
 minimum.

 Currently, our machine is running CentOS 5.7.


 What are the issues/concerns in upgrading from PHP 5.1 (the current PHP
 rpms) to PHP53?

We have been using php53 on all of our centos5 servers for severeal 
months, now. No major problem at all. Just set the timezone in /etc/php.ini.

 Much thanks,

 Max Pyziur
 p...@brama.com
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
Bye,
Peter
-- 

Peter Hopfgartner
web  : http://www.r3-gis.com


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


Re: [CentOS] bridge connection and two linux servers

2012-04-17 Thread Arif Hossain
On Tue, Apr 17, 2012 at 6:54 PM, Benjamin Hackl b.ha...@focusmr.com wrote:
 On Tue, 17 Apr 2012 16:07:36 +0600
 Arif Hossain aft...@gmail.com wrote:

 I think i've failed to describe what i'm trying to do. So i'm
 describing it again.

 The client will send request to the BOX2's IP. BOX1's IP used only for
 management purposes.

 You're looking for a bridging firewall, it probably should look like this:


 ++ +-- internet line
 |  box1  | |
 || |   ++
 |   eth2---bad-+   |  box2  |
 |   |br| | ||
 |   eth1--good---eth1   |
 || ||
 |   eth0--+--eth0   |
 |||||
 ++|++
  |
 lan

 eth0 is the (optional) internal management network

 you'll need the following configurations on box1:


 In /etc/sysconfig/network-scripts/ifcfg-br0
 DEVICE=br0
 TYPE=Bridge
 ONBOOT=yes
 DELAY=0
 BOOTPROTO=none

 In /etc/sysconfig/network-scripts/ifcfg-eth1
 DEVICE=eth1
 HWADDR=MAC
 ONBOOT=yes
 BRIDGE=br0

 In /etc/sysconfig/network-scripts/ifcfg-eth2
 DEVICE=eth2
 HWADDR=MAC
 ONBOOT=yes
 BRIDGE=br0


 Restart your networking:
 service network restart

 Verify the bridge is set up:
 brctl show

 You probably want to netfilter your br0 device, I recommend shorewall:

 Here is a short example. I'll put eth1 in zone good and eth2 in zone
 bad. eth0 will be in zone loc. I will allow all outgoing traffic from
 box2 to the internet and filter all incoming except for https and icmp
 ping. This example requires shorewall  4.0. This example is for ipv4
 only, ipv6 requires shorewall6.


 In /etc/shorewall/interfaces
 #ZONE   INTERFACE   BROADCAST   OPTIONS

 # Your isp
 inetbr0 -   bridge,proxyarp,routefilter
 bad br0:eth2-   physical=eth2
 goodbr0:eth1-   physical=eth1

 # local network
 loc eth0detect  routeback


 In /etc/shorewall/zones
 #ZONE   TYPE
 fw  firewall
 loc ipv4
 inetipv4
 bad:inetbport
 good:inet   bport
 #END

 In /etc/shorewall/policy
 #SOURCE DESTPOLICY LOG

 # allow local to firewall and vice versa
 loc fw  ACCEPT
 fw  loc ACCEPT

 # the next line allows all outgoing (from good to bad) traffic.
 # you can also reject outgoing traffic and set single allow rules in
 # the file /etc/shorewall/rules (see below)
 goodbad ACCEPT

 # drop all other
 bad all DROP   info
 all all DROP   info
 #END

 In /etc/shorewall/rules
 #ACTION SOURCE  DESTPROTO   DEST
 # e.g. allow ping and https only for public ip (1.2.3.4)
 ACCEPT  bad good:1.2.3.4tcp https
 ACCEPT  bad good:1.2.3.4icmp8
 #END


thanks for the reply. i will try  your solution and post results
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PHP and PHP53 on CentOS5

2012-04-17 Thread Max Pyziur
 On 04/17/2012 12:18 AM, Max Pyziur wrote:
 Greetings,

 We have someone requesting the use of Wordpress 3.3.1. It requires PHP
 5.2
 minimum.

 Currently, our machine is running CentOS 5.7.


 What are the issues/concerns in upgrading from PHP 5.1 (the current PHP
 rpms) to PHP53?

 We have been using php53 on all of our centos5 servers for severeal
 months, now. No major problem at all. Just set the timezone in
 /etc/php.ini.

Much thanks for all of the replies.

My sense, then, from all of the replies is that on CentoOS5, given the
need for it, you upgrade to PHP53.

In running a yum update, how do you do it?

Is it just a straight
# yum update php\*

??

 Much thanks,

[recycle]

 Max Pyziur
 p...@brama.com

[recycle]

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 Bye,
 Peter
 --

 Peter Hopfgartner
 web  : http://www.r3-gis.com


 ___
 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] PHP and PHP53 on CentOS5

2012-04-17 Thread Regendoerp, Achim

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of 
Max Pyziur
Sent: 17 April 2012 16:03
To: CentOS mailing list
Subject: Re: [CentOS] PHP and PHP53 on CentOS5

 Much thanks for all of the replies.

 My sense, then, from all of the replies is that on CentoOS5, given the need 
 for it, you upgrade to PHP53.

 In running a yum update, how do you do it?

 Is it just a straight
 # yum update php\*

php and php53 are separate packages, so you would have to remove the php 
packages and run yum install php53. Chances are yum may just remove php then 
upon installation of php53



This email has been sent from Gala Coral Group Limited (GCG) or a subsidiary 
or associated company. GCG is registered in England with company number 
07254686.   Registered office address: 71 Queensway, London W2 4QH, United 
Kingdom; website: www.galacoral.com.

This e-mail message (and any attachments) is confidential and may contain 
privileged and/or proprietorial information protected by legal rules.  It is 
for use by the intended addressee only. If you believe you are not the intended 
recipient or that the sender is not authorised to send you the email, please 
return it to the sender (and please copy it to h...@galacoral.com) and then 
delete it from your computer.  You should not otherwise copy or disclose its 
contents to anyone.

Except where this email is sent in the usual course of business, the views 
expressed are those of the sender and not necessarily ours.  We reserve the 
right to monitor all emails sent to and from our businesses, to protect the 
businesses and to ensure compliance with internal policies.

Emails are not secure and cannot be guaranteed to be error-free, as they can be 
intercepted, amended, lost or destroyed, and may contain viruses; anyone who 
communicates with us by email is taken to accept these risks.  GCG accepts no 
liability for any loss or damage which may be caused by software viruses.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] auth_changepassword Resolved !!

2012-04-17 Thread Prabhpal S. Mavi
Dear Markus Falb,

This is to update that poller.php can now create rrd files. It was not
creating due to the cause that community was mismatch. there was 
community configured in /etc/smnp/snmpd.conf community is to specified
in the settings on main page after we have login to the cacti through
URL.

Well done guys. Thanks to everyone.
Prabhpal


 Dear Markus Falb,

 Thanks for your response, the problem has been resolved. It was due to
 document root directive.

 DocumentRoot was /var/www/html/ whereas cacti folder was located at
 following /var/www/html/cacti. which seems correct and should have work.

 Apache was finding auth_changepassword.php under DocumentRoot (html
 directory).

 change the document root to as following /var/www/html/cacti fixed the
 problem. everything is fine but there are other little problems. poller is
 unable to generate rrd files. etc, anyways.

 Thanks for your support.
 Prabhpal


 On 14.4.2012 12:09, Prabhpal S. Mavi wrote:

 i installed cacti on CentOS 6.2. every thing went smooth and i can see
 the
 login page as well.

 due to security reason cacti has to change the default password
 (admin/admin) when i enter the default password i get the following
 error.

 The requested URL /auth_changepassword.php was not found on this
 server.

 First I would look in apache's access and error log.
 That could give you a hint where to look further.
 --
 Kind Regards, Markus Falb

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



 Thanks / Regards
 Prabhpal S. Mavi



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



Thanks / Regards
Prabhpal S. Mavi



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


[CentOS] Building RPM, Unknown tag Licence Copyright

2012-04-17 Thread Mihamina Rakotomandimby
Hi all,

When trying to rpmbuild 
http://robert.cheramy.net/ipfm/browser/trunk/redhat/ipfm.spec, I do this:

   [mihamina@centos6-01 redhat]$ rpmbuild -ba ipfm.spec
   error: line 5: Unknown tag: Licence: GPL

And I get the error above.

   [mihamina@centos6-01 redhat]$ head -n 5 ipfm.spec
   Summary: IP Flow Meter is a bandwidth analysis tool
   Name: ipfm
   Version: 0.12.0rc1
   Release: rktmb
   Licence: GPL
   [mihamina@centos6-01 redhat]$

There, I changed the original Copyright: to Licence:, but I get the 
same error with Copyright: (but mentioning Copyright:).

http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-tags.html says 
Licence: is a valid tag. Isnt'it?

These are my rpm installed.

   [mihamina@centos6-01 redhat]$ rpm -aq | grep rpm
   rpm-python-4.8.0-19.el6_2.1.x86_64
   deltarpm-3.5-0.5.20090913git.el6.x86_64
   rpm-4.8.0-19.el6_2.1.x86_64
   rpm-build-4.8.0-19.el6_2.1.x86_64
   redhat-rpm-config-9.0.3-34.el6.noarch
   rpm-libs-4.8.0-19.el6_2.1.x86_64


Thank you.

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


Re: [CentOS] Building RPM, Unknown tag Licence Copyright

2012-04-17 Thread Markus Falb
On 17.4.2012 21:40, Mihamina Rakotomandimby wrote:

 When trying to rpmbuild 
 http://robert.cheramy.net/ipfm/browser/trunk/redhat/ipfm.spec, I do this:
 
[mihamina@centos6-01 redhat]$ rpmbuild -ba ipfm.spec
error: line 5: Unknown tag: Licence: GPL

The error message is telling you that you made a typo.

 http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-tags.html says 
 Licence: is a valid tag. Isnt'it?

License: were a valid tag.
-- 
Kind Regards, Markus Falb



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


[CentOS] Help needed with NFS issue

2012-04-17 Thread Steve Thompson
I have four NFS servers running on Dell hardware (PE2900) under CentOS 
5.7, x86_64. The number of NFS clients is about 170.

A few days ago, one of the four, with no apparent changes, stopped 
responding to NFS requests for two minutes every half an hour (approx). 
Let's call this the hang. It has been doing this for four days now. 
There are no log messages of any kind pertaining to this. The other three 
servers are fine, although they are less loaded. Between hangs, 
performance is excellent. Load is more or less constant, not peaky.

NFS clients do get the usual not responding, still trying message during 
a hang.

There are no cron or other jobs that launch every half an hour.

All hardware on the affected server seems to be good. Disk volumes being 
served are RAID-5 sets with write-back cache enabled (BBU is good). RAID 
controller logs are free of errors.

NFS servers used dual bonded gigabit links in balance-alb mode. Turning 
off one interface in the bond made no difference.

Relevant /etc/sysctl.conf parameters:

vm.dirty_ratio = 50
vm.dirty_background_ratio = 1
vm.dirty_expire_centisecs = 1000
vm.dirty_writeback_centisecs = 100
vm.min_free_kbytes = 65536
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
net.core.netdev_max_backlog = 25000
net.ipv4.tcp_reordering = 127
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
net.ipv4.tcp_max_syn_backlog = 8192
net.ipv4.tcp_no_metrics_save = 1

The {r,w}mem_{max,default} values are twice what they were previously; 
changing these had no effect.

The number of dirty pages is nowhere near the dirty_ratio when the hangs 
occur; there may be only 50MB of dirty memory.

A local process on the NFS server is reading from disk at around 40-50 
MB/sec on average; this continues unaffected during the hang, as do all 
other network services on the host (eg an LDAP server). During the hang 
the server seems to be quite snappy in all respects apart from NFS. The 
network itself is fine as far as I can tell, and all NFS-related processes 
on the server are intact.

NFS mounts on clients are made with UDP or TCP with no difference in 
results. A client mount cannot be completed (timed out) and access to an 
already NFS mounted volume stalls during the hang (both automounted and 
manual mounts).

NFS block size is 32768 r and w; using 16384 makes no difference.

Tcpdump shows no NFS packets exchanged between client and server during a 
hang.

I have not rebooted the affected server yet, but I have restarted NFS
with no change.

Help! I cannot figure out what is wrong, and I cannot find anything amiss. 
I'm running out of something but I don't know what it is (except perhaps
brains). Hints, please!

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


Re: [CentOS] Help needed with NFS issue

2012-04-17 Thread Ross Walker
On Apr 17, 2012, at 5:40 PM, Steve Thompson s...@vgersoft.com wrote:

 I have four NFS servers running on Dell hardware (PE2900) under CentOS 
 5.7, x86_64. The number of NFS clients is about 170.
 
 A few days ago, one of the four, with no apparent changes, stopped 
 responding to NFS requests for two minutes every half an hour (approx). 
 Let's call this the hang. It has been doing this for four days now. 
 There are no log messages of any kind pertaining to this. The other three 
 servers are fine, although they are less loaded. Between hangs, 
 performance is excellent. Load is more or less constant, not peaky.
 
 NFS clients do get the usual not responding, still trying message during 
 a hang.
 
 There are no cron or other jobs that launch every half an hour.
 
 All hardware on the affected server seems to be good. Disk volumes being 
 served are RAID-5 sets with write-back cache enabled (BBU is good). RAID 
 controller logs are free of errors.
 
 NFS servers used dual bonded gigabit links in balance-alb mode. Turning 
 off one interface in the bond made no difference.
 
 Relevant /etc/sysctl.conf parameters:
 
 vm.dirty_ratio = 50
 vm.dirty_background_ratio = 1
 vm.dirty_expire_centisecs = 1000
 vm.dirty_writeback_centisecs = 100
 vm.min_free_kbytes = 65536
 net.core.rmem_default = 262144
 net.core.rmem_max = 262144
 net.core.wmem_default = 262144
 net.core.wmem_max = 262144
 net.core.netdev_max_backlog = 25000
 net.ipv4.tcp_reordering = 127
 net.ipv4.tcp_rmem = 4096 87380 16777216
 net.ipv4.tcp_wmem = 4096 65536 16777216
 net.ipv4.tcp_max_syn_backlog = 8192
 net.ipv4.tcp_no_metrics_save = 1
 
 The {r,w}mem_{max,default} values are twice what they were previously; 
 changing these had no effect.
 
 The number of dirty pages is nowhere near the dirty_ratio when the hangs 
 occur; there may be only 50MB of dirty memory.
 
 A local process on the NFS server is reading from disk at around 40-50 
 MB/sec on average; this continues unaffected during the hang, as do all 
 other network services on the host (eg an LDAP server). During the hang 
 the server seems to be quite snappy in all respects apart from NFS. The 
 network itself is fine as far as I can tell, and all NFS-related processes 
 on the server are intact.
 
 NFS mounts on clients are made with UDP or TCP with no difference in 
 results. A client mount cannot be completed (timed out) and access to an 
 already NFS mounted volume stalls during the hang (both automounted and 
 manual mounts).
 
 NFS block size is 32768 r and w; using 16384 makes no difference.
 
 Tcpdump shows no NFS packets exchanged between client and server during a 
 hang.
 
 I have not rebooted the affected server yet, but I have restarted NFS
 with no change.
 
 Help! I cannot figure out what is wrong, and I cannot find anything amiss. 
 I'm running out of something but I don't know what it is (except perhaps
 brains). Hints, please!

Just a shot in the dark here.

Take a look at the NIC and switch port flow control status during an outage, 
they may be paused due to switch load.

Is there anything else on the network switches that might flood them every half 
hour for a two minute duration?

-Ross

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


Re: [CentOS] Help needed with NFS issue

2012-04-17 Thread Ross Walker
On Apr 17, 2012, at 6:49 PM, Ross Walker rswwal...@gmail.com wrote:

 Just a shot in the dark here.
 
 Take a look at the NIC and switch port flow control status during an outage, 
 they may be paused due to switch load.
 
 Is there anything else on the network switches that might flood them every 
 half hour for a two minute duration?

Let me also add that constant spanning tree convergence can cause this too. 
Make sure your choice of protocol and priority suit your topology and equipment.

-Ross

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


Re: [CentOS] Help needed with NFS issue

2012-04-17 Thread Steve Thompson
On Tue, 17 Apr 2012, Ross Walker wrote:

 Take a look at the NIC and switch port flow control status during an outage, 
 they may be paused due to switch load.
 Is there anything else on the network switches that might flood them every 
 half hour for a two minute duration?

Unfortunately not. All of the NFS servers are on the same switch (an HP 
procurve) and only the one is having issues. The hang is always the
same length, too. Nice try though!

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


Re: [CentOS] Help needed with NFS issue

2012-04-17 Thread Fajar Priyanto
Also shot in the dark from me. 
There maybe some IP conflict in the network. 

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


Re: [CentOS] Help needed with NFS issue

2012-04-17 Thread Steve Thompson
On Tue, 17 Apr 2012, Ross Walker wrote:

 Let me also add that constant spanning tree convergence can cause this 
 too. Make sure your choice of protocol and priority suit your topology 
 and equipment.

Gives me an idea! The switch is under control of different people. I did 
have a new VLAN created for an unrelated purpose two days before this all 
started. Hmmm...

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


Re: [CentOS] Help needed with NFS issue

2012-04-17 Thread Steve Thompson
On Wed, 18 Apr 2012, Fajar Priyanto wrote:

 Also shot in the dark from me.
 There maybe some IP conflict in the network.

Yes, I thought of that one too. I am in control of all IP's on the 
network, so I am sure that nothing changed around the time that the 
trouble started. I checked for that anyway :-(

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


[CentOS] SSD as system drive - partitioning question

2012-04-17 Thread Frank Cox
I mentioned here the other day that I was planning to set up a Centos 6 system
using a SSD for the system drive and a regular hard drive for a data drive.

My plan is to have everything that doesn't change (much) on the SSD, such
as /boot, /lib, /bin and so on.  I want to put /tmp and /var and /home on the
regular hard drive.

Now that I'm at the stage of actually setting this up I have discovered that I
don't understand enough about drive partitioning to make this work the way that
I want it to.  Perhaps I'm missing something obvious.

I could create separate partitions on the SSD for /lib, /bin and everything
else that I want to put there, then put / on the hard drive, but I would really
prefer to put /boot and one other partition on the SSD, and one partition on
the hard drive.

How can I tell the system that I want /bin and friends on the SSD and /home
and /var on the hard drive, but still have just one partition on each drive
(plus /boot on the SSD)? If I create / on the hard drive and /ssd on the SSD,
then putting bin on the SSD would make it /ssd/bin and that would obviously not
be what I want to see.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SSD as system drive - partitioning question

2012-04-17 Thread Al Sparks
Well, /boot by default, is always a primary partition.

CentOS (and RedHat) like to create a logical volume manager (LVM) on a 
separate primary partition, and typically inside the LVM one can create 
and modify the rest of the various partitions.

You do have the flexibility to create TWO LVM's.  You can place one LVM on a 
primary partition on the SSD, and the other on the hard drive.  From 
within both LVM's you can create your partitions to your heart's 
content.

Or for your SSD configuration, don't bother creating an LVM for that.  You can 
use up to 4 primary partition per storage device (and lots of 
secondary partitions).  So, since you only want to place two partitions 
total on the SSD, simply create those two primary partitions and utilize them.
    === Al





 From: Frank Cox thea...@melvilletheatre.com
To: centos@centos.org 
Sent: Tuesday, April 17, 2012 3:40 PM
Subject: [CentOS] SSD as system drive - partitioning question
 
I mentioned here the other day that I was planning to set up a Centos 6 system
using a SSD for the system drive and a regular hard drive for a data drive.

My plan is to have everything that doesn't change (much) on the SSD, such
as /boot, /lib, /bin and so on.  I want to put /tmp and /var and /home on the
regular hard drive.

Now that I'm at the stage of actually setting this up I have discovered that I
don't understand enough about drive partitioning to make this work the way that
I want it to.  Perhaps I'm missing something obvious.

I could create separate partitions on the SSD for /lib, /bin and everything
else that I want to put there, then put / on the hard drive, but I would really
prefer to put /boot and one other partition on the SSD, and one partition on
the hard drive.

How can I tell the system that I want /bin and friends on the SSD and /home
and /var on the hard drive, but still have just one partition on each drive
(plus /boot on the SSD)? If I create / on the hard drive and /ssd on the SSD,
then putting bin on the SSD would make it /ssd/bin and that would obviously not
be what I want to see.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
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] SSD as system drive - partitioning question

2012-04-17 Thread Robert Nichols
On 04/17/2012 06:40 PM, Frank Cox wrote:
 I mentioned here the other day that I was planning to set up a Centos 6 system
 using a SSD for the system drive and a regular hard drive for a data drive.

 My plan is to have everything that doesn't change (much) on the SSD, such
 as /boot, /lib, /bin and so on.  I want to put /tmp and /var and /home on the
 regular hard drive.

 Now that I'm at the stage of actually setting this up I have discovered that I
 don't understand enough about drive partitioning to make this work the way 
 that
 I want it to.  Perhaps I'm missing something obvious.

 I could create separate partitions on the SSD for /lib, /bin and everything
 else that I want to put there, then put / on the hard drive, but I would 
 really
 prefer to put /boot and one other partition on the SSD, and one partition on
 the hard drive.

You're going to find it very difficult to separate /lib and /bin from the
root file system.  When the kernel starts up, it has just the root file
system.  How can it execute the mount command to gain access to /lib
and /bin when the mount command and the libraries it needs are on a
file system that has not yet been mounted?  It's far more straightforward
and more maintainable to put the root file system on the SSD and put
/tmp, /var, and /home on the regular drive.

Most writes to the root file system (other than root's home directory)
occur only during configuration changes (file system mounts/umounts,
network link starts/stops, modifying printers, ...) and much of that
could be moved off of the root file system with judicious use of
symlinks.  I just now ran the 'find' command to see what on the root
file system had a time stamp more recent than the time of the last
boot (10 days ago, BTW) and filtering out root's home directory and
mount point directories and there was almost nothing.  About the only
thing that would be any challenge to symlink away would be /etc/mtab,
and it's going to be awfully hard to wear out an SSD with a file
that gets written once for each mount or umount.

-- 
Bob Nichols NOSPAM is really part of my email address.
 Do NOT delete it.

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


Re: [CentOS] Help needed with NFS issue

2012-04-17 Thread Ross Walker
On Apr 17, 2012, at 6:57 PM, Steve Thompson wrote:

 On Tue, 17 Apr 2012, Ross Walker wrote:
 
 Let me also add that constant spanning tree convergence can cause this 
 too. Make sure your choice of protocol and priority suit your topology 
 and equipment.
 
 Gives me an idea! The switch is under control of different people. I did 
 have a new VLAN created for an unrelated purpose two days before this all 
 started. Hmmm...

Maybe one of the ports of the bonded interfaces was assigned to this vlan 
causing LACP to break.

-Ross

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


Re: [CentOS] Building RPM, Unknown tag Licence Copyright

2012-04-17 Thread Mihamina Rakotomandimby
On 04/17/2012 11:11 PM, Markus Falb wrote:
 The error message is telling you that you made a typo.
  http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-tags.html  says
  Licence: is a valid tag. Isnt'it?
 License: were a valid tag.

Oh my god, a typo...
t...

Thank you Markus.

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