[CentOS-es] Soluciión de servidor de descargas

2011-09-12 Thread Ricardo David Carrillo Sanchez
Saludos a todos,


En mi organización se requiere de implementar una solución  de distribución
de archivos, mismos que serían descargados por diferentes  servidores de
forma automática y a su vez pueda ser administrado por medio de diferentes
cuentas asignadas,  he investigado que existen diversas aplicaciones con
diferentes métodos para realizar  alguna de las mencionadas tareas:


Uso  de diferente tecnología para la descarga/distrubución de archivos:

- Emule (decentralizado, clientes mldonkey)
- Bittorrent (decentralizado, algunos clientes TorrentFlux,vuze,uTorrent,
entre otros)
- FTP con usuarios virtuales (centralizado, filezilla)
- Samba/ldap (centralizado: windows - Explorador de Windows)



Se que la tecnología va en función de las necesidades de operación de la
organización, sin embargo busco encontrar un balance entre
eficiencia/robustez/soporte/funcionalidad, (jeje, pareciera dificil no?).


Basado en lo anterior y con base a su experiencia, mi preguntas son las
siguientes:

- Que otras tecnologías conocen que pudieran llevar acabo alguna de las
tareas descritas en el primer párrafo?
- han implementado algun servicio en donde se tenga como objetivo el
distrobuir archivos a diversos equipos dentro de una red?


Por lo anterior, desde ya, agradezco su ayuda.



Saludos
--

Ricardo David Carrillo Sánchez
Administrador de Sistemas
Analista de Seguridad Informática
PGP/GPG key fingerprint: 4EDE BEF9 2FAE AC73 8D5A  B749 52CB C88B 0655 F2A0
PGP/GPG public key: http https://insecure-it.com.mx/keys/dominus.ceo.asc
://openinsecureit.mx/keys/dominus.ceo.aschttps://insecure-it.com.mx/keys/dominus.ceo.asc
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Soluciión de servidor de descargas

2011-09-12 Thread Julio Villarreal
Saludos Ricardo,

La pregunta del millon en este caso es que OS corren los clientes y como se
conectarian al servidor. Samba y Ftp son muy buenas opciones, y tambien lo
es NFS. Pero la verdad que todo depende de tu configuracion final de red y
como quieres manejar los accesos a la data.

Saludos,

*Julio Villarreal *| System Engineer - IT Consultant.
RHCE, RHCVA, RHCSA, VCP 3, VCP 4, CCA, MCITP, MCTS
About Me http://about.me/juliovp01 | Personal
Sitehttp://www.juliovillarreal.com/| Technical
Blog http://www.itconsultingcrew.com/ | Wiki at
FedoraProjecthttp://fedoraproject.org/wiki/User:Juliovp01
Email: cont...@juliovillarreal.com or ju...@linux.com
Cell - +1 512 670-8316




El 12 de septiembre de 2011 21:21, Ricardo David Carrillo Sanchez 
dominus@gmail.com escribió:

 Saludos a todos,


 En mi organización se requiere de implementar una solución  de distribución
 de archivos, mismos que serían descargados por diferentes  servidores de
 forma automática y a su vez pueda ser administrado por medio de diferentes
 cuentas asignadas,  he investigado que existen diversas aplicaciones con
 diferentes métodos para realizar  alguna de las mencionadas tareas:


 Uso  de diferente tecnología para la descarga/distrubución de archivos:

 - Emule (decentralizado, clientes mldonkey)
 - Bittorrent (decentralizado, algunos clientes TorrentFlux,vuze,uTorrent,
 entre otros)
 - FTP con usuarios virtuales (centralizado, filezilla)
 - Samba/ldap (centralizado: windows - Explorador de Windows)



 Se que la tecnología va en función de las necesidades de operación de la
 organización, sin embargo busco encontrar un balance entre
 eficiencia/robustez/soporte/funcionalidad, (jeje, pareciera dificil no?).


 Basado en lo anterior y con base a su experiencia, mi preguntas son las
 siguientes:

 - Que otras tecnologías conocen que pudieran llevar acabo alguna de las
 tareas descritas en el primer párrafo?
 - han implementado algun servicio en donde se tenga como objetivo el
 distrobuir archivos a diversos equipos dentro de una red?


 Por lo anterior, desde ya, agradezco su ayuda.



 Saludos
 --

 Ricardo David Carrillo Sánchez
 Administrador de Sistemas
 Analista de Seguridad Informática
 PGP/GPG key fingerprint: 4EDE BEF9 2FAE AC73 8D5A  B749 52CB C88B 0655 F2A0
 PGP/GPG public key: http https://insecure-it.com.mx/keys/dominus.ceo.asc
 ://openinsecureit.mx/keys/dominus.ceo.asc
 https://insecure-it.com.mx/keys/dominus.ceo.asc
 ___
 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] persistent custom lines in /etc/hosts?

2011-09-12 Thread wwp
Hello R,


On Sun, 11 Sep 2011 17:15:02 -0700 R - elists list...@abbacomm.net wrote:

  
  
  I've edited /etc/hosts to add few custom IP/hostnames couples.
  After each reboot, I have to add them again. I've then added 
  /etc/sysconfig/network/hosts, but it seems to ignore it or at 
  least ignore 127.0.0.1 assignments I'm doing in it.
  
  Is there a mechanism I'm not aware of, or doing things wrong 
  to make my custom IP/hostnames assignments permanent after 
  network services restart?
 snip
  wwp
 
 you didnt tell us much about your centos version etc so
 
 is your networking set up statically, or is it dhcp dynamic.
 
 if the latter, then possibly that is part of the issue
 
 ive always noticed that files like /etc/resolv.conf and others can change in
 a generic dhcp environment
 
 ...one reason we setup almost everything statically

You're right, I'm sorry about this. It's CentOS6, DHCP setup.

When /etc/hosts is rewritten, it keeps the lines that describe remote
hosts (other but 127.0.0.1), but remove my custom assignments to
127.0.0.1, this is the point I'd like to solve. I have to say that the
aliases to 127.0.0.1 are defined on several lines (127.0.0.1 foo
bar\n127.0.0.1 a b c\n).

I've put in /etc/sysconfig/networking/profiles/default/ a hosts file
with my custom lines in, but this apparently isn't enough.


Regards,

-- 
wwp


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


[CentOS] fax over ip?

2011-09-12 Thread hadi motamedi
Dear All
I have upgraded to centos 6.0 and I installed ekiga as my sip phone
client for centos. What application can I install as fax over ip
client for centos 6.0?
Thank you
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] fax over ip?

2011-09-12 Thread hadi motamedi
Sorry to forget to mention :
I installed 'efax' but it seems that it is for fax over a modem.


-- Forwarded message --
From: hadi motamedi motamed...@gmail.com
Date: Mon, 12 Sep 2011 12:48:11 +0430
Subject: fax over ip?
To: CentOS mailing list centos@centos.org

Dear All
I have upgraded to centos 6.0 and I installed ekiga as my sip phone
client for centos. What application can I install as fax over ip
client for centos 6.0?
Thank you
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gnumeric

2011-09-12 Thread Peter Kjellström
On Saturday, September 10, 2011 08:40:47 PM ken wrote:
 Where do I find a gnumeric rpm?  I must not have enough repos listed.
 (I recently had to rebuild my system pretty much from scratch.  :( )

EPEL is a widely used repo that carries gnumeric.

/Peter


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


[CentOS] fax over ip?

2011-09-12 Thread hadi motamedi
I did as :
#yum search fax
#yum search sip


-- Forwarded message --
From: hadi motamedi motamed...@gmail.com
Date: Mon, 12 Sep 2011 12:51:06 +0430
Subject: fax over ip?
To: CentOS mailing list centos@centos.org

Sorry to forget to mention :
I installed 'efax' but it seems that it is for fax over a modem.


-- Forwarded message --
From: hadi motamedi motamed...@gmail.com
Date: Mon, 12 Sep 2011 12:48:11 +0430
Subject: fax over ip?
To: CentOS mailing list centos@centos.org

Dear All
I have upgraded to centos 6.0 and I installed ekiga as my sip phone
client for centos. What application can I install as fax over ip
client for centos 6.0?
Thank you
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 Installation on Thinkpad X220

2011-09-12 Thread John Hodrien
On Sun, 11 Sep 2011, Janne TH. Nyman wrote:

 When lenovo's external CDROM/DVD is plugged into this port, I am unable
 to install linux in general or other OS's. Once I plug it into any of
 the other USB ports bottom left or right, it works perfectly.

 No wonder I haven't found any problem posts regarding x220 and
 CentOS/RHEL.

 Thanks for all your time supporting me. Fantastic responses on this
 mailing list.

 Use external CD/DVD ROM, just ensure to plug it into the right port :)

I might be wrong, but is it possible that this port is USB3?  That way the
BIOS would be able to boot the CD from it, but neither linux nor windows is
likely to have suitable drivers for using it.

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


Re: [CentOS] disk duplication question

2011-09-12 Thread John Doe
From: Jerry Geis ge...@pagestation.com

 When I take a duplicated disk and stick it in the new box which is 
 different than the
 master machine of course all seems to work except the network.
 Is this the correct way to do this?
 Making a master and being able to stick the duplicated disk in another 
 machine?

Not sure but maybe also regenerate the server's ssh keys..?

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


Re: [CentOS] fax over ip?

2011-09-12 Thread Christopher Chan
Do us a favour. Please stop posting here and go find a fax over ip 
provider if you can. If you actually manage to find one, ask that 
provider for the software.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fax over ip?

2011-09-12 Thread Fajar Priyanto
On Mon, Sep 12, 2011 at 5:10 PM, hadi motamedi motamed...@gmail.com wrote:
 I did as :
 #yum search fax
 #yum search sip

http://www.avantfax.com/install.php

Don't ask how to install it here.
But if you need help, I believe avantfax team offer professional
service for that.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fax over ip?

2011-09-12 Thread hadi motamedi
On 9/12/11, Christopher Chan christopher.c...@bradbury.edu.hk wrote:
 Do us a favour. Please stop posting here and go find a fax over ip
 provider if you can. If you actually manage to find one, ask that
 provider for the software.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

Thank you very much for your help. I got the point. So it is fax over
ip provider-specific but not centos-specific. Sorry for my mistake . I
thought that it is like sip phone client issue as I didn't find
anything specific from 'yum search fax' .
Thank you again
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] disk duplication question

2011-09-12 Thread John Hodrien
On Mon, 12 Sep 2011, John Doe wrote:

 From: Jerry Geis ge...@pagestation.com

 When I take a duplicated disk and stick it in the new box which is
 different than the
 master machine of course all seems to work except the network.
 Is this the correct way to do this?
 Making a master and being able to stick the duplicated disk in another
 machine?

 Not sure but maybe also regenerate the server's ssh keys..?

Good idea.  I think you can just delete them off the image, and they'll get
automatically generated on first boot.  I'm almost surprised you can't do the
same with the network (by just deleting the ifcfg-eth* files).

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


Re: [CentOS] fax over ip?

2011-09-12 Thread Fajar Priyanto
On Mon, Sep 12, 2011 at 6:02 PM, hadi motamedi motamed...@gmail.com wrote:
 Thank you very much for your help. I got the point. So it is fax over
 ip provider-specific but not centos-specific. Sorry for my mistake . I
 thought that it is like sip phone client issue as I didn't find
 anything specific from 'yum search fax' .

I seriously think you should use google more often.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fax over ip?

2011-09-12 Thread hadi motamedi
On 9/12/11, Fajar Priyanto fajar...@arinet.org wrote:
 On Mon, Sep 12, 2011 at 6:02 PM, hadi motamedi motamed...@gmail.com wrote:
 Thank you very much for your help. I got the point. So it is fax over
 ip provider-specific but not centos-specific. Sorry for my mistake . I
 thought that it is like sip phone client issue as I didn't find
 anything specific from 'yum search fax' .

 I seriously think you should use google more often.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

Yes, you are right. I did it but the output of yum search fax made
me doubtful if it is centos-specific. Sorry again for my mistake . For
sip phone, the yum search sip provided me with the correct result.
Thank you again
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Installation on Intel DH67BL motherboard failed

2011-09-12 Thread Sanjay Arora
Hello all

I tried to install Centos 6 on Intel DH67BL motherboard with i7-2600
processor and a PCI Parallel/Serial port Card. This machine is running Win7,
Ubuntu  Fedora 15.

Booting from DVD, the machine boots up in text mode  loads vmlinuz and then
the screen goes grey. Pressing a keyboard key does some dvd/hdd activity, so
the machine is not hung. So the issue is obviously the graphics chipset.
Research in CentOS forums shows that this may be supported by CentOS 6.1
machine.

Can I install graphics/network support from some other repo, till 6.1
arrives and then again I can reinstall with only CentOS repos.

My skillset is limited to compiling from source if instructions are there,
but not trial  error otherwise. Any pointers?

With best regards.
Sanjay.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Installation on Intel DH67BL motherboard failed

2011-09-12 Thread John Hodrien
On Mon, 12 Sep 2011, Sanjay Arora wrote:

 Hello all

 I tried to install Centos 6 on Intel DH67BL motherboard with i7-2600
 processor and a PCI Parallel/Serial port Card. This machine is running Win7,
 Ubuntu  Fedora 15.

 Booting from DVD, the machine boots up in text mode  loads vmlinuz and then
 the screen goes grey. Pressing a keyboard key does some dvd/hdd activity, so
 the machine is not hung. So the issue is obviously the graphics chipset.
 Research in CentOS forums shows that this may be supported by CentOS 6.1
 machine.

 Can I install graphics/network support from some other repo, till 6.1
 arrives and then again I can reinstall with only CentOS repos.

 My skillset is limited to compiling from source if instructions are there,
 but not trial  error otherwise. Any pointers?

So if you select the text install option on the DVD do you have any joy?

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


Re: [CentOS] fax over ip?

2011-09-12 Thread Aaron Krohn
If you have no infrastructure to handle voip service, give Asterisk a 
try. Though, fax over IP is notoriously difficult to get working from my 
experience. For more info, check out the Digium lists: 
http://lists.digium.com/mailman/listinfo/ ... and google!


On 09/12/2011 06:12 AM, hadi motamedi wrote:
 On 9/12/11, Fajar Priyantofajar...@arinet.org  wrote:
 On Mon, Sep 12, 2011 at 6:02 PM, hadi motamedimotamed...@gmail.com  wrote:
 Thank you very much for your help. I got the point. So it is fax over
 ip provider-specific but not centos-specific. Sorry for my mistake . I
 thought that it is like sip phone client issue as I didn't find
 anything specific from 'yum search fax' .
 I seriously think you should use google more often.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

 Yes, you are right. I did it but the output of yum search fax made
 me doubtful if it is centos-specific. Sorry again for my mistake . For
 sip phone, the yum search sip provided me with the correct result.
 Thank you again
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




-- 
Aaron Krohn
Web Force Systems

Business Office:
131 Dillmont Drive, Suite 201
Columbus, OH 43235
Direct:  614-384-0019Fax:  614-785-0871
Tech Support / Help Desk Direct:  614-384-0020

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


[CentOS] CentOS 6, Broadcom, missing wlan0

2011-09-12 Thread Michael D. Berger
This is a continuation of my previous thread:
   Broadcom Wifi Problem

Following a post from James A. Peltier, who said:

   You can use the rpmforge version or compile it
   yourself.  I've used this one with success using the
   details described earlier.

   http://www.broadcom.com/support/802.11/linux_sta.php


   I did however have to patch it with

   http://www.broadcom.com/docs/linux_sta/5_100_82_38.patch

   the driver built and installed fine.  In fact, I'm using it
   on my laptop as we speak.

On my CentOS 6, with BCM4311 802.11b/g. I installed:

   hybrid-portsrc_x86_32-v5_100_82_38.tar.gz

With NetworkManager shut off, I see:

   #lsmod | grep b43\|ssb\|wl
   wl   2635904  0
   lib802114858  1 wl

and I try to start with:

   ifup wlan0

I put debug in the script, following into nested scripts,
and see that it ultimately fails because:

   ip -o link

fails to return wlan0 . I rechecked the MAC address,
which is correct.  Also ifconfig and iwconfig do
not see wlan0 .

Also, the wlan0 light on the box doesn't turn from
red to green.  If, however, I reenable b43, the
light does turn green.  Also, on this dual boot box,
the WinXP partition runs WLAN0 with no problem.

Thanks for your suggestions.
Mike.

 

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


Re: [CentOS] CentOS 6, Broadcom, missing wlan0

2011-09-12 Thread Nicolas Thierry-Mieg
Michael D. Berger wrote:
 This is a continuation of my previous thread:
 Broadcom Wifi Problem

I didn't follow the whole thread, but have you tried building the nosrc 
rpm provided by elrepo?
Instructions are very clear, and it worked fine for me a few months back 
for a new laptop (can't remember the brand or model) where I was 
installing C6 x86_64.
http://elrepo.org/tiki/wl-kmod

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


Re: [CentOS] fax over ip?

2011-09-12 Thread Always Learning

On Mon, 2011-09-12 at 14:32 +0430, hadi motamedi wrote:

 Thank you very much for your help. I got the point. So it is fax over
 ip provider-specific but not centos-specific. Sorry for my mistake . I
 thought that it is like sip phone client issue as I didn't find
 anything specific from 'yum search fax' .

I discovered a few days ago Elastix which is similar to Trixbox. One of
the modules is fax to PDF. A free version is available. It is based on
Centos 5.6.

http://www.elastix.org/

Paul.


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


[CentOS] C6 continuous release repo

2011-09-12 Thread James B. Byrne

Where on the CentOS website does one find the CentOS-6 CR
repo install package? I can find the one for CentOS-5 but
not for 6.


-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte  Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

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


Re: [CentOS] C6 continuous release repo

2011-09-12 Thread Morten Stevens
On Mon, 12 Sep 2011 10:42:30 -0400 (EDT), James B. Byrne wrote:
 Where on the CentOS website does one find the CentOS-6 CR
 repo install package? I can find the one for CentOS-5 but
 not for 6.

Currently there is no CentOS-6 CR repo.

Best regards,

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


[CentOS] trouble building an rpm

2011-09-12 Thread Jon Detert
i'm a newbie at building rpms.  I made a few rpms years ago, but can't now make 
one on Centos 5.

In /usr/local/rpmbuild, there are 5 subdirs: BUILD  RPMS  SOURCES  SPECS  SRPMS 
 tmp

When I type: rpmbuild -ba /usr/local/rpmbuild/SPECS/centos-release-cr-ihc.spec

I get 'file not found' errors, for paths in /usr/local/rpmbuild/tmp:
error: File not found: 
/usr/local/rpmbuild/tmp/centos-release-cr-ihc-buildroot/etc/yum.repos.d
error: File not found: 
/usr/local/rpmbuild/tmp/centos-release-cr-ihc-buildroot/etc/yum.repos.d/CentOS-cr.repo
RPM build errors:
File not found: 
/usr/local/rpmbuild/tmp/centos-release-cr-ihc-buildroot/etc/yum.repos.d
File not found: 
/usr/local/rpmbuild/tmp/centos-release-cr-ihc-buildroot/etc/yum.repos.d/CentOS-cr.repo

All i did was to:
1) put a tarball in SOURCES,
2) put a spec file in SPECS,
3) rpmbuild -ba my spec file

Did I miss a step?  If not, here's the contents of my tarball and spec file:

The tarball in SOURCES is named: centos-release-cr-ihc-1.tar.gz
the contents of which are:
drwxr-xr-x root/root 0 2011-09-09 15:40:01 centos-release-cr-ihc-1/
drwxr-xr-x root/root 0 2011-09-09 15:39:57 centos-release-cr-ihc-1/etc/
drwxr-xr-x root/root 0 2011-09-09 15:40:39 
centos-release-cr-ihc-1/etc/yum.repos.d/
-rw-r--r-- root/root   523 2011-09-09 15:35:59 
centos-release-cr-ihc-1/etc/yum.repos.d/CentOS-cr.repo

my spec file is /usr/local/rpmbuild/SPECS/centos-release-cr-ihc.spec
the contents of which are:
Summary: Package to set up IHC use of the centos-cr repository
Name: centos-release-cr-ihc
Version: 1
Release: 1
Source0: centos-release-cr-ihc-1.tar.gz
License: GPL
Group: IHC-config
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-buildroot
%description
Package to set up IHC use of the centos-cr repository
%prep
%setup -q
%build
%install
install -m 0755 -d /etc/yum.repos.d
install -m 0755 etc/yum.repos.d/CentOS-cr.repo /etc/yum.repos.d/CentOS-cr.repo
%clean
rm -rf $RPM_BUILD_ROOT
%post
echo  
echo Yay IHC IS Team!
%files
%dir /etc/yum.repos.d
/etc/yum.repos.d/CentOS-cr.repo

Thanks,

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


Re: [CentOS] trouble building an rpm

2011-09-12 Thread Peter Kjellström
On Monday, September 12, 2011 06:00:32 PM Jon Detert wrote:
 i'm a newbie at building rpms.  I made a few rpms years ago, but can't now
 make one on Centos 5.
 
 In /usr/local/rpmbuild, there are 5 subdirs: BUILD  RPMS  SOURCES  SPECS 
 SRPMS  tmp

It's not a good idea to build rpms as root (unless in a throw-away vm). Build 
as user or even better using mock.

That said, many a broken rpmbuild can be blamed on missing the
redhat-rpm-config package (containing lots of rpm macros).

If that's not the case I'd try rebuilding a known good src.rpm with 
rpmbuild --rebuild foo.src.rpm to validate your setup.

/Peter
 
 When I type: rpmbuild -ba
 /usr/local/rpmbuild/SPECS/centos-release-cr-ihc.spec
 
 I get 'file not found' errors, for paths in /usr/local/rpmbuild/tmp:
 error: File not found:
 /usr/local/rpmbuild/tmp/centos-release-cr-ihc-buildroot/etc/yum.repos.d
 error: File not found:
 /usr/local/rpmbuild/tmp/centos-release-cr-ihc-buildroot/etc/yum.repos.d/Ce
 ntOS-cr.repo RPM build errors:
 File not found:
 /usr/local/rpmbuild/tmp/centos-release-cr-ihc-buildroot/etc/yum.repos.d
 File not found:
 /usr/local/rpmbuild/tmp/centos-release-cr-ihc-buildroot/etc/yum.repos.d/Ce
 ntOS-cr.repo
 
 All i did was to:
 1) put a tarball in SOURCES,
 2) put a spec file in SPECS,
 3) rpmbuild -ba my spec file
 
 Did I miss a step?  If not, here's the contents of my tarball and spec
 file:
 
 The tarball in SOURCES is named: centos-release-cr-ihc-1.tar.gz
 the contents of which are:
 drwxr-xr-x root/root 0 2011-09-09 15:40:01 centos-release-cr-ihc-1/
 drwxr-xr-x root/root 0 2011-09-09 15:39:57
 centos-release-cr-ihc-1/etc/ drwxr-xr-x root/root 0 2011-09-09
 15:40:39 centos-release-cr-ihc-1/etc/yum.repos.d/ -rw-r--r-- root/root
   523 2011-09-09 15:35:59
 centos-release-cr-ihc-1/etc/yum.repos.d/CentOS-cr.repo
 
 my spec file is /usr/local/rpmbuild/SPECS/centos-release-cr-ihc.spec
 the contents of which are:
 Summary: Package to set up IHC use of the centos-cr repository
 Name: centos-release-cr-ihc
 Version: 1
 Release: 1
 Source0: centos-release-cr-ihc-1.tar.gz
 License: GPL
 Group: IHC-config
 BuildArch: noarch
 BuildRoot: %{_tmppath}/%{name}-buildroot
 %description
 Package to set up IHC use of the centos-cr repository
 %prep
 %setup -q
 %build
 %install
 install -m 0755 -d /etc/yum.repos.d
 install -m 0755 etc/yum.repos.d/CentOS-cr.repo
 /etc/yum.repos.d/CentOS-cr.repo %clean
 rm -rf $RPM_BUILD_ROOT
 %post
 echo  
 echo Yay IHC IS Team!
 %files
 %dir /etc/yum.repos.d
 /etc/yum.repos.d/CentOS-cr.repo
 
 Thanks,
 
 Jon


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] trouble building an rpm

2011-09-12 Thread Vesselin Kolev
 Dear Jon,

Install the package rpmdevtools from EPEL repository and setup Your own
build tree in $HOME of some non-root user. Please, avoid any builds as
root and don't build package as Your current (desktop) non-root user.
It's good idea to create user for the packages building. Then setup the
build tree in his $HOME directory (execute rpmdev-setuptree).

  I wish You success!

  Yours
Vesselin

On 09/12/2011 07:00 PM, Jon Detert wrote:
 i'm a newbie at building rpms.  I made a few rpms years ago, but can't now 
 make one on Centos 5.

 In /usr/local/rpmbuild, there are 5 subdirs: BUILD  RPMS  SOURCES  SPECS  
 SRPMS  tmp

 When I type: rpmbuild -ba /usr/local/rpmbuild/SPECS/centos-release-cr-ihc.spec

 I get 'file not found' errors, for paths in /usr/local/rpmbuild/tmp:
 error: File not found: 
 /usr/local/rpmbuild/tmp/centos-release-cr-ihc-buildroot/etc/yum.repos.d
 error: File not found: 
 /usr/local/rpmbuild/tmp/centos-release-cr-ihc-buildroot/etc/yum.repos.d/CentOS-cr.repo
 RPM build errors:
 File not found: 
 /usr/local/rpmbuild/tmp/centos-release-cr-ihc-buildroot/etc/yum.repos.d
 File not found: 
 /usr/local/rpmbuild/tmp/centos-release-cr-ihc-buildroot/etc/yum.repos.d/CentOS-cr.repo

 All i did was to:
 1) put a tarball in SOURCES,
 2) put a spec file in SPECS,
 3) rpmbuild -ba my spec file

 Did I miss a step?  If not, here's the contents of my tarball and spec file:

 The tarball in SOURCES is named: centos-release-cr-ihc-1.tar.gz
 the contents of which are:
 drwxr-xr-x root/root 0 2011-09-09 15:40:01 centos-release-cr-ihc-1/
 drwxr-xr-x root/root 0 2011-09-09 15:39:57 
 centos-release-cr-ihc-1/etc/
 drwxr-xr-x root/root 0 2011-09-09 15:40:39 
 centos-release-cr-ihc-1/etc/yum.repos.d/
 -rw-r--r-- root/root   523 2011-09-09 15:35:59 
 centos-release-cr-ihc-1/etc/yum.repos.d/CentOS-cr.repo

 my spec file is /usr/local/rpmbuild/SPECS/centos-release-cr-ihc.spec
 the contents of which are:
 Summary: Package to set up IHC use of the centos-cr repository
 Name: centos-release-cr-ihc
 Version: 1
 Release: 1
 Source0: centos-release-cr-ihc-1.tar.gz
 License: GPL
 Group: IHC-config
 BuildArch: noarch
 BuildRoot: %{_tmppath}/%{name}-buildroot
 %description
 Package to set up IHC use of the centos-cr repository
 %prep
 %setup -q
 %build
 %install
 install -m 0755 -d /etc/yum.repos.d
 install -m 0755 etc/yum.repos.d/CentOS-cr.repo /etc/yum.repos.d/CentOS-cr.repo
 %clean
 rm -rf $RPM_BUILD_ROOT
 %post
 echo  
 echo Yay IHC IS Team!
 %files
 %dir /etc/yum.repos.d
 /etc/yum.repos.d/CentOS-cr.repo

 Thanks,

 Jon
 ___
 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] trouble building an rpm

2011-09-12 Thread Andrew Dorozhkin
12.09.2011 20:00, Jon Detert wrote:
 i'm a newbie at building rpms.  I made a few rpms years ago, but can't now 
 make one on Centos 5.

 In /usr/local/rpmbuild, there are 5 subdirs: BUILD  RPMS  SOURCES  SPECS  
 SRPMS  tmp

 When I type: rpmbuild -ba /usr/local/rpmbuild/SPECS/centos-release-cr-ihc.spec

 I get 'file not found' errors, for paths in /usr/local/rpmbuild/tmp:
 error: File not found: 
 /usr/local/rpmbuild/tmp/centos-release-cr-ihc-buildroot/etc/yum.repos.d
 error: File not found: 
 /usr/local/rpmbuild/tmp/centos-release-cr-ihc-buildroot/etc/yum.repos.d/CentOS-cr.repo
 RPM build errors:
  File not found: 
 /usr/local/rpmbuild/tmp/centos-release-cr-ihc-buildroot/etc/yum.repos.d
  File not found: 
 /usr/local/rpmbuild/tmp/centos-release-cr-ihc-buildroot/etc/yum.repos.d/CentOS-cr.repo

 All i did was to:
 1) put a tarball in SOURCES,
 2) put a spec file in SPECS,
 3) rpmbuild -ba my spec file

 Did I miss a step?  If not, here's the contents of my tarball and spec file:

 The tarball in SOURCES is named: centos-release-cr-ihc-1.tar.gz
 the contents of which are:
 drwxr-xr-x root/root 0 2011-09-09 15:40:01 centos-release-cr-ihc-1/
 drwxr-xr-x root/root 0 2011-09-09 15:39:57 
 centos-release-cr-ihc-1/etc/
 drwxr-xr-x root/root 0 2011-09-09 15:40:39 
 centos-release-cr-ihc-1/etc/yum.repos.d/
 -rw-r--r-- root/root   523 2011-09-09 15:35:59 
 centos-release-cr-ihc-1/etc/yum.repos.d/CentOS-cr.repo

 my spec file is /usr/local/rpmbuild/SPECS/centos-release-cr-ihc.spec
 the contents of which are:
 Summary: Package to set up IHC use of the centos-cr repository
 Name: centos-release-cr-ihc
 Version: 1
 Release: 1
 Source0: centos-release-cr-ihc-1.tar.gz
 License: GPL
 Group: IHC-config
 BuildArch: noarch
 BuildRoot: %{_tmppath}/%{name}-buildroot
 %description
 Package to set up IHC use of the centos-cr repository
 %prep
 %setup -q
 %build
 %install
 install -m 0755 -d /etc/yum.repos.d
 install -m 0755 etc/yum.repos.d/CentOS-cr.repo /etc/yum.repos.d/CentOS-cr.repo
 %clean
 rm -rf $RPM_BUILD_ROOT
 %post
 echo  
 echo Yay IHC IS Team!
 %files
 %dir /etc/yum.repos.d
 /etc/yum.repos.d/CentOS-cr.repo



Directory
/etc/yum.repos.d
and file
/etc/yum.repos.d/CentOS-cr.repo
need to be installed into $RPM_BUILD_ROOT and not into actual  / during 
the %install phase.

Try something like this:

%install
install -m 0755 -d $RPM_BUILD_ROOT/etc/yum.repos.d
install -m 0755 etc/yum.repos.d/CentOS-cr.repo $RPM_BUILD_ROOT/etc/yum.repos.d


and consider working under your home directory.

Hope this would help.

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


Re: [CentOS] trouble building an rpm

2011-09-12 Thread Jon Detert
- Original Message -
 From: Andrew Dorozhkin glukens...@gmail.com
 To: CentOS mailing list centos@centos.org
 Sent: Monday, September 12, 2011 11:39:44 AM
 Subject: Re: [CentOS] trouble building an rpm
 
 12.09.2011 20:00, Jon Detert wrote:
  i'm a newbie at building rpms.  I made a few rpms years ago, but
  can't now make one on Centos 5.
 
  In /usr/local/rpmbuild, there are 5 subdirs: BUILD  RPMS  SOURCES
   SPECS  SRPMS  tmp
 
  When I type: rpmbuild -ba
  /usr/local/rpmbuild/SPECS/centos-release-cr-ihc.spec
 
  I get 'file not found' errors, for paths in
  /usr/local/rpmbuild/tmp:
  error: File not found:


-- snip --

  my spec file is
  /usr/local/rpmbuild/SPECS/centos-release-cr-ihc.spec
  the contents of which are:
  Summary: Package to set up IHC use of the centos-cr repository

-- snip --

  %build
  %install
  install -m 0755 -d /etc/yum.repos.d
  install -m 0755 etc/yum.repos.d/CentOS-cr.repo

-- snip --

 Directory
 /etc/yum.repos.d
 and file
 /etc/yum.repos.d/CentOS-cr.repo
 need to be installed into $RPM_BUILD_ROOT and not into actual  /
 during
 the %install phase.
 
 Try something like this:
 
 %install
 install -m 0755 -d $RPM_BUILD_ROOT/etc/yum.repos.d
 install -m 0755 etc/yum.repos.d/CentOS-cr.repo
 $RPM_BUILD_ROOT/etc/yum.repos.d

Thanks!  That was the problem, and your solution worked.

Regards,

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


Re: [CentOS] C6 continuous release repo

2011-09-12 Thread James B. Byrne
On Mon Sep 12 10:44:45 EDT 2011, Morten Stevens mstevens
at imt-systems.com wrote:

 On Mon, 12 Sep 2011 10:42:30 -0400 (EDT), James B. Byrne
 wrote:
 Where on the CentOS website does one find the CentOS-6 CR
 repo install package? I can find the one for CentOS-5 but
 not for 6.

Currently there is no CentOS-6 CR repo.


So, what happened with the below announcement? Or, did I
misunderstand what was meant by: the c6 build is running
now, we will have the cr stuff up for that today and get
this into there as well.


On Thu Sep 1 06:39:31 EDT 2011, Karanbir Singh mail-lists
at karan.org wrote:

 Thanks Tom,

 On 09/01/2011 02:05 AM, Tom Lanyon wrote:
 For EL 4, 5, 6:
 https://rhn.redhat.com/errata/RHSA-2011-1245.html

 rpms for C5 are pushed into the 5.6/cr/ repo; the
 c6 build is running now, we will have the cr stuff
 up for that today and get this into there as well.

 Unless Tru gets to it before me, I'll get the c4
 builds out as well in a bit.

 - KB


-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte  Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

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


Re: [CentOS] No MySQL password in ps aux!

2011-09-12 Thread Dotan Cohen
On Mon, Sep 12, 2011 at 03:30, Craig White craigwh...@azapple.com wrote:
 not exactly sure what point you are trying to make about being
 compromised - not all that relevant but you can still just use -p option
 without the password and get prompted for the password which actually
 solves your question.


The password is 32 random characters covering all of ASCII. I don't
want to go look for it several times a day.


 Also, since MySQL is client/server you could probably use the mysql
 client on your local machine and connect to the server and use
 encryption but that isn't what you asked.


On the server MySQL only listens to localhost.


 Also, presuming you are using bash on the originating machine, you would
 have it in bash_history, just on a different machine. The point I was
 trying to make is that it is generally a poor idea to put a password
 into a shell command whether mysql or whatever.


No, this is why I mentioned the alias. Only the alias shows in my
local history, not the password.

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] No MySQL password in ps aux!

2011-09-12 Thread Dotan Cohen
On Mon, Sep 12, 2011 at 05:37, Devin Reade g...@gno.org wrote:
 Getting back to the original question, it is a feature of mysql (not
 of CentOS per se), but there's nothing that stops other (C) programs
 from doing something similar.  Shortly after startup, a programmer can
 set things up so that command line arguments (or in this case one of
 them) is hidden from anyone from viewing the process table.

 However, even using this mechanism there is a window where, if someone
 looks at the process table at the right time, they will see the password
 in cleartext.

 So, despite the mysql programmers trying to minimize the chance of
 leaking the password it is still a risk and so the advice others have
 given about -p (without the password) and .my.cnf is still the best
 option.


Thanks. I did not realize that this window of opportunity exists.
Considering the circumstances, I think that it is a fair tradeoff.

Thank you for the information!

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6, Broadcom, missing wlan0

2011-09-12 Thread Michael D. Berger
On Mon, 12 Sep 2011 16:11:49 +0200, Nicolas Thierry-Mieg wrote:

 Michael D. Berger wrote:
 This is a continuation of my previous thread:
 Broadcom Wifi Problem
 
 I didn't follow the whole thread, but have you tried building the nosrc
 rpm provided by elrepo?
 Instructions are very clear, and it worked fine for me a few months back
 for a new laptop (can't remember the brand or model) where I was
 installing C6 x86_64.
 http://elrepo.org/tiki/wl-kmod

I followd the instructions at:
   http://elrepo.org/tiki/wl-kmod
and I certainly saw some new stuff installed, and I am impressed with
the approach to the copyright problem.

I got as far as:
   # modprobe wl
   FATAL: Error inserting wl
   (/lib/modules/2.6.32-71.29.1.el6.i686/extra/wl/wl.ko): Unknown symbol 
in
   module, or unknown parameter (see dmesg)

   # dmesg
   wl: Unknown parameter `nohwcrypt'

But I forgot the crypt library so I did:

   # modprobe -r b43 b43legacy ssb wl lib80211
   # modprobe lib80211_crypt_tkip
   # modprobe wl
   FATAL: Error inserting wl
   (/lib/modules/2.6.32-71.29.1.el6.i686/extra/wl/wl.ko): Unknown symbol 
in
   module, or unknown parameter (see dmesg)
   #dmesg
   ...
   lib80211_crypt: unregistered algorithm 'NULL'
   lib80211: common routines for IEEE802.11 drivers
   lib80211_crypt: registered algorithm 'NULL'
   lib80211_crypt: registered algorithm 'TKIP'
   ...
   wl: Unknown parameter `nohwcrypt'

I then googed around and did:
   insmod /lib/modules/2.6.32-71.29.1.el6.i686/extra/wl/wl.ko nohwcrypt=1
and it did -1: Unknown Symbol.

Since this error is known to be related to the crypt libraries,
I redid them.  It didn't help, but just for grins I tried:
   insmod /lib/modules/2.6.32-71.29.1.el6.i686/extra/wl/wl.ko

It retrurned no error.  It seems that it got the nohwcrypt=1 once
and doesn't want to see it again.  I note that the hard drive
partition is encrypted, in case this is relevant.

BUT the problem posted in this OP of this thread still persists.
Perhaps this installation is good, but wlan0 is still not seen.

Here is my ifcfg-wlan0:
   DEVICE=wlan0
   HWADDR=xx:xx:xx:xx:xx:xx
   NM_CONTROLLED=no
   ONBOOT=no
   TYPE=wireless
   BOOTPROTO=dhcp
   IPV4_FAILURE_FATAL=yes
   NAME=System wlan0
   WPA=yes
   USERCTL=yes
   IPV6INIT=no
   PEERDNS=yes
   ESSID=
   CHANNEL=1
   MODE=Auto
   RATE=Auto
   SECURITYMODE=restricted

Thanks again for your suggestions,
Mike.

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


Re: [CentOS] CentOS 6 Installation on Thinkpad X220

2011-09-12 Thread Janne TH. Nyman
  I might be wrong, but is it possible that this port is USB3?  That way the
  BIOS would be able to boot the CD from it, but neither linux nor windows is
  likely to have suitable drivers for using it.

  jh
That may be the reason :)

I thought it was me going nuts. Again, thanks all for you assistance.


Cheers,
Janne Janski Nyman
E: jny...@jbtec.org


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


Re: [CentOS] No MySQL password in ps aux!

2011-09-12 Thread Craig White

On Sep 12, 2011, at 11:58 AM, Dotan Cohen wrote:

 On Mon, Sep 12, 2011 at 03:30, Craig White craigwh...@azapple.com wrote:
 not exactly sure what point you are trying to make about being
 compromised - not all that relevant but you can still just use -p option
 without the password and get prompted for the password which actually
 solves your question.
 
 
 The password is 32 random characters covering all of ASCII. I don't
 want to go look for it several times a day.

create a proper .my.cnf file - problem solved

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


[CentOS] CentOS 6: ip link ignores wlan0

2011-09-12 Thread Michael D. Berger
On my CentOS 6 laptop, in which the wireless hardware is
known to be functional (because it works in the WinXP
partition):
   # ip link
shows lo and eth0, but nothing else.

Why might this be?

Thanks,
Mike.

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


[CentOS] lftp mirror replication

2011-09-12 Thread John R Pierce
so I have an internal mirror I was replicating off mirrors.kernel.org 
via lftp, using a script...

 /usr/local/bin/lftp -c 'open ftp://mirrors.kernel.org/pub/  \
 lcd /export/mirror  \
 mirror --continue --verbose=1 -x ia64 -x s390 -x s390x \
 -x alpha -x SRPMS centos'

well, kernel.org is down now, due to their being hacked, g.   if I 
switch this to another source archive, will it 'just work' or will there 
be any differences in the file dates that will end up causing massive 
new downloads of the same data?

and, is it just me, or is the mirror list on 
http://www.centos.org/modules/tinycontent/index.php?id=30 a lot smaller 
than it used to be?



-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

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


[CentOS] Installing RPM using --prefix and possible libvirt patch

2011-09-12 Thread Trey Dockendorf
I'm trying to install libvirt to /opt/libvirt, in order to test a patch I've
worked into the current release, but it seems RPM is ignoring the --prefix
command.

The RPM I built has Prefix: /opt/libvirt in the spec, and correctly shows
as relocatable by RPM...

# rpm -qpi libvirt-0.8.1-27.el6.6.x86_64.rpm
Name: libvirt  Relocations: /opt/libvirt
Version : 0.8.1 Vendor: (none)
Release : 27.el6.6  Build Date: Fri 09 Sep 2011
07:30:28 PM CDT
Install Date: (not installed)   Build Host:
itsclinuxdev.tamu.edu
Group   : Development/Libraries Source RPM:
libvirt-0.8.1-27.el6.6.src.rpm
Size: 2538412  License: LGPLv2+
Signature   : (none)
URL : http://libvirt.org/
Summary : Library providing a simple API virtualization
Description :
Libvirt is a C toolkit to interact with the virtualization capabilities
of recent versions of Linux (and other OSes). The main package includes
the libvirtd server exporting the virtualization support.


However when I issue the RPM command it will throw errors about conflicting
with the current install of libvirt.

# rpm -ivh --prefix /opt/libvirt libvirt-client-0.8.1-27.el6.6.x86_64.rpm
Preparing...###
[100%]
file /usr/lib64/libvirt.so.0.8.1 from install of
libvirt-client-0.8.1-27.el6.6.x86_64 conflicts with file from package
libvirt-client-0.8.1-27.el6_0.6.x86_64
file /usr/share/man/man1/virsh.1.gz from install of
libvirt-client-0.8.1-27.el6.6.x86_64 conflicts with file from package
libvirt-client-0.8.1-27.el6_0.6.x86_64
file /usr/share/man/man1/virt-pki-validate.1.gz from install of
libvirt-client-0.8.1-27.el6.6.x86_64 conflicts with file from package
libvirt-client-0.8.1-27.el6_0.6.x86_64
file /usr/share/man/man1/virt-xml-validate.1.gz from install of
libvirt-client-0.8.1-27.el6.6.x86_64 conflicts with file from package
libvirt-client-0.8.1-27.el6_0.6.x86_64

The patch I worked into libvirt is here,
http://www.redhat.com/archives/libvir-list/2010-July/msg00480.html (not my
posting), to add ESXi and ESX 4.1 support , in my case to virt-v2v.  I'd
like to install it without possibly breaking my current install of libvirt
and just use the patched virt-v2v binary.

As a side note, where should I direct my patch to possibly have it put into
the official centos release?  I had to slightly modify what was posted in
the above link to make it work with 0.8.1.

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


Re: [CentOS] Vitualization and Partitioning

2011-09-12 Thread Thomas Dukes
 

 -Original Message-
 From: centos-boun...@centos.org 
 [mailto:centos-boun...@centos.org] On Behalf Of ken
 Sent: Monday, September 12, 2011 12:36 AM
 To: CentOS mailing list
 Subject: Re: [CentOS] Vitualization and Partitioning
 
 On 09/11/2011 11:10 PM Emmanuel Noobadmin wrote:
  Hi,
  
  When I do the install, do I or should I setup a separate partition 
  for guest
  That would be better from a performance point of view
  
  OS's? From the redhat docs, it looks like the guest OS's reside at 
  /var/lib/libvirt/images/.
  This should be using files as disk files, which I did and 
 found it to 
  be a problem when there is heavy I/O.
 
 I like LVM (for the reasons you cite).  Would you (anyone?) 
 say it's best to have one LV per guest or one LV for all guests?
 
 
 tnx.

I'm new to this but I would think you would want a separate LV for each
guest. Seems I read somewhere, that you need one core per guest as well.
That's why I'm opting for the Xeon processor rather than the iCore(x). Four
cores v. two. More options.

Can't believe this thread hasn't stirred more response. Maybe we all are in
the learning phase.

Eddie

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


[CentOS] sox: Failed reading obd-demo.mp3: Do not understand format type: mp3

2011-09-12 Thread Kaushal Shriyan
Hi,

Can someone please comment about the below issue

[root@host0040 kaushal]# file obd-demo.mp3
obd-demo.mp3: MPEG ADTS, layer III, v1, 256 kBits, 44.1 kHz, Monaural
[root@host0040 kaushal]# sox obd-demo.mp3 -e stat
sox: Failed reading obd-demo.mp3: Do not understand format type: mp3

[root@host0040 kaushal]# sox -V obd-demo.mp3 -r 8000 -c 1 -t ul -w vm-intro.ulaw
sox: Failed reading obd-demo.mp3: Do not understand format type: mp3

[root@host0040 kaushal]# sox -v 0.125 -V obd-demo.mp3 -t au -r 8000
-U -b -c 1 obd-demo.ulaw resample -ql
-bash: obd-demo.ulaw: No such file or directory
[root@host0040 kaushal]# sox -V obd-demo.mp3 -t au -r 8000 -U -b -c 1
obd-demo.ulaw resample -ql
sox: Failed reading obd-demo.mp3: Do not understand foReply
rmat type: mp3

[root@host0040 kaushal]#

When i invoke the same obd-demo.mp3 it works perfectly fine

host0040*CLI channel originate DAHDI/g0/xx Application
MP3Player /home/kaushal/obd-demo.mp3
[Sep  9 16:44:56] DEBUG[12691]: sig_pri.c:985 sig_pri_request: sig_pri_request 1
[Sep  9 16:44:56] DEBUG[12691]: sig_pri.c:6427 sig_pri_call: CALLER NAME:  NUM:
   -- Requested transfer capability: 0x00 - SPEECH
   -- Launching MP3Player(/home/kaushal/obd-demo.mp3) on DAHDI/i1/9833754756-1

[root@host0040 ~]# rpm -qa | grep sox
sox-12.18.1-1.el5_5.1
[root@host0040 ~]# rpm -qa | grep lame
lame-3.98.4-1.el5.rf
lame-devel-3.98.4-1.el5.rf
[root@host0040 ~]#


MP3 support in  SoX  is  optional
 and requires access to either or both the external
libmad and libmp3lame libraries.  To see if there is support for Mp3
run sox -h and
 look for it under the list of supported file formats as mp3.

[root@host0040 ~]# sox -h
sox: Version 12.18.1

Usage: [ gopts ] [ fopts ] ifile [ fopts ] ofile [ effect [ effopts ] ]

gopts: -e -h -p -q -S -V

fopts: -r rate -c channels -s/-u/-U/-A/-a/-i/-g/-f -b/-w/-l/-d -v volume -x

effect: avg band bandpass bandreject chorus compand copy dcshift
deemph earwax echo echos fade filter flanger highp highpass lowp
lowpass mask mcompand noiseprof noisered pan phaser pick pitch
polyphase rate repeat resample reverb reverse silence speed stat
stretch swap synth trim vibro vol

effopts: depends on effect

Supported file formats: aiff al alsa au auto avr cdr cvs dat vms gsm
hcom la lu maud nul ossdsp prc raw sb sf sl smp sndt sph 8svx sw txw
ub ul uw voc vorbis vox wav wve

Which package contains libmad and libmp3lame libraries available on CentOS 5.6

Regards,

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


Re: [CentOS] CentOS 6: ip link ignores wlan0

2011-09-12 Thread Michael D. Berger
On Mon, 12 Sep 2011 21:01:50 +, Michael D. Berger wrote:

 On my CentOS 6 laptop, in which the wireless hardware is known to be
 functional (because it works in the WinXP partition):
# ip link
 shows lo and eth0, but nothing else.
 
 Why might this be?
 
 Thanks,
 Mike.

This has been repaired by installing another driver.

Mike.

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


Re: [CentOS] CentOS 6, Broadcom, missing wlan0

2011-09-12 Thread Michael D. Berger
On Mon, 12 Sep 2011 19:22:24 +, Michael D. Berger wrote:

 On Mon, 12 Sep 2011 16:11:49 +0200, Nicolas Thierry-Mieg wrote:
 
 Michael D. Berger wrote:
 This is a continuation of my previous thread:
 Broadcom Wifi Problem
 
 I didn't follow the whole thread, but have you tried building the nosrc
 rpm provided by elrepo?
 Instructions are very clear, and it worked fine for me a few months
 back for a new laptop (can't remember the brand or model) where I was
 installing C6 x86_64.
 http://elrepo.org/tiki/wl-kmod
 
[...]

After doing a patch to get it to compile, I installed wl.ko
from the older version:
   broadcom-sta_5.10.91.9.3.orig.tar.gz
without changing anything else from the constructed rpm.

I now get resulis from:
   ip link
and the beginniongs of a connection.  But I get:

   Error for wireless request Set Encode (8B2A) :
   SET failed on device wlan0 ; Invalid argument.
   Error for wireless request Set Encode (8B2A) :
   SET failed on device wlan0 ; Invalid argument.

Yes, twice. Googing around I see that this is an old problem.
I tried fiddling with the password.  Sometimes the password
is echoed in the error report, and sometimes not.  I even tried
a hex password.  Nothing worked.

More suggestions, or perhaps a better driver, would be
much appreciated.

Thanks,
Mike.

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


Re: [CentOS] fax over ip?

2011-09-12 Thread hadi motamedi
On 9/12/11, Aaron Krohn akr...@ewebforce.net wrote:
 If you have no infrastructure to handle voip service, give Asterisk a
 try. Though, fax over IP is notoriously difficult to get working from my
 experience. For more info, check out the Digium lists:
 http://lists.digium.com/mailman/listinfo/ ... and google!


 On 09/12/2011 06:12 AM, hadi motamedi wrote:
 On 9/12/11, Fajar Priyantofajar...@arinet.org  wrote:
 On Mon, Sep 12, 2011 at 6:02 PM, hadi motamedimotamed...@gmail.com
 wrote:
 Thank you very much for your help. I got the point. So it is fax over
 ip provider-specific but not centos-specific. Sorry for my mistake . I
 thought that it is like sip phone client issue as I didn't find
 anything specific from 'yum search fax' .
 I seriously think you should use google more often.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

 Yes, you are right. I did it but the output of yum search fax made
 me doubtful if it is centos-specific. Sorry again for my mistake . For
 sip phone, the yum search sip provided me with the correct result.
 Thank you again
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




 --
 Aaron Krohn
 Web Force Systems

 Business Office:
 131 Dillmont Drive, Suite 201
 Columbus, OH 43235
 Direct:  614-384-0019Fax:  614-785-0871
 Tech Support / Help Desk Direct:  614-384-0020

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

Thank you very much for your help. I have experience with Asterisk but
on my Debian not on my centos. It is serving as DECT server for
telephony calls. It can provide sip calls as well. Do you mean it can
event provide fax over ip?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] (5.6) Kernel Link Error

2011-09-12 Thread Always Learning

Installing VirtualBox-4.1* on Centos 5.6 X64, I get at the end:-

Error! Your kernel headers for kernel 2.6.18-274.el5
cannot be found at /lib/modules/2.6.18-274.el5/build
or /lib/modules/2.6.18-274.el5/source.

In /lib/modules/2.6.18-274.el5/ I find two broken links:-

build - /usr/src/kernels/2.6.18-274.el5-x86_64

source - ditto

The reason why they are broken appears to be the current address is
actually

/usr/src/kernels/2.6.18-274.3.1.el5-x86_64


Show I reset the links in /lib/modules/2.6.18-274.el5 to point
to /usr/src/kernels/2.6.18-274.3.1.el5-x86_64 or is their a bigger
problem that needs attention ?






-- 
With best regards,

Paul.
England,
EU.


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


Re: [CentOS] Vitualization and Partitioning

2011-09-12 Thread Trey Dockendorf
On Mon, Sep 12, 2011 at 6:52 PM, Thomas Dukes tdu...@sc.rr.com wrote:



  -Original Message-
  From: centos-boun...@centos.org
  [mailto:centos-boun...@centos.org] On Behalf Of ken
  Sent: Monday, September 12, 2011 12:36 AM
  To: CentOS mailing list
  Subject: Re: [CentOS] Vitualization and Partitioning
 
  On 09/11/2011 11:10 PM Emmanuel Noobadmin wrote:
   Hi,
  
   When I do the install, do I or should I setup a separate partition
   for guest
   That would be better from a performance point of view
  
   OS's? From the redhat docs, it looks like the guest OS's reside at
   /var/lib/libvirt/images/.
   This should be using files as disk files, which I did and
  found it to
   be a problem when there is heavy I/O.
 
  I like LVM (for the reasons you cite).  Would you (anyone?)
  say it's best to have one LV per guest or one LV for all guests?
 
 
  tnx.

 I'm new to this but I would think you would want a separate LV for each
 guest. Seems I read somewhere, that you need one core per guest as well.
 That's why I'm opting for the Xeon processor rather than the iCore(x). Four
 cores v. two. More options.

 Can't believe this thread hasn't stirred more response. Maybe we all are in
 the learning phase.

 Eddie

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


An LV per guest isn't necessary, but has its benefits.  What I did on one of
my server was a use two drives in RAID 1 for the system and then a RAID 6
array for the VM storage.  I've opted to use QCow2 images for the virtual
disks, so they all go on a LV I created /vmstore where all virtual disks
go.  I always try to keep the system paritions (/ and /boot) separate from
the data (with virtual server, I use /vmstore , or /var/lib/libvirt/images)
at least logically, if not physically.  My biggest consideration between LVM
and image files for the VM disks was snapshot capabilities.  While LVM can
do snapshots using lvm's native tools, it still requires extra steps to get
the VM's memory (if still running).  That considered I saw no benefit in my
case to use LVM when some other tools could combine the ability to do both
qcow2 and memory snapshotting at once.  Plus in my environment it is easier
to work with a single virtual disk file than deal with LVMs.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Issues with successfully completing rsync with msync.centos.org

2011-09-12 Thread Christopher Hawker
Hello,

I am trying to establish a mirror, and when I execute the rsync command, it 
only creates the directories and selected files. It does not download the 
entire iso collection or repo files. I am running CentOS 5.4 (which i will 
update soon as my host does not have a 5.6 or 6 image), and my IP address is 
125.7.120.87, being hosted in Sydney, AU. Any ideas or suggestions would be 
appreciated.

--
If you have any questions, please do not hesitate to contact me on +61 478 241 
896.

Regards,
Christopher Hawker

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


Re: [CentOS] fax over ip?

2011-09-12 Thread Christopher Chan
On Tuesday, September 13, 2011 11:51 AM, hadi motamedi wrote:

 Thank you very much for your help. I have experience with Asterisk but
 on my Debian not on my centos. It is serving as DECT server for
 telephony calls. It can provide sip calls as well. Do you mean it can
 event provide fax over ip?

You're using asterisk with telephony hardware but you cannot think that 
one out!?

Any blinking pots line will do fax (the possible speeds will vary 
according to the quality of the line yes) and all you need is to find a 
way to interface your 'fax' with it.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos