[CentOS-docs] Proposed change to HowTos/Skype

2011-07-20 Thread John Fettig
In the section for CentOS-5, it would be nice if the following
alternative method for running Skype on CentOS-5 were presented:

You can download a statically linked version of Skype which will work
in CentOS-5 from
http://download.skype.com/linux/skype_static-2.1.047.tar.bz2

I think it's a little bit silly that the first recommendation for
running skype on CentOS-5 is to install a new version of libstdc++!
Hopefully the version I've linked to will remain available directly
through skype's homepage, and if not, some public mirror will arise.

If you want me to change this directly, my login is JohnFettig.  I
would be happy if e.g. Akemi Yagi (amy...@gmail.com) would add this
info.

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


Re: [CentOS-docs] Proposed change to HowTos/Skype

2011-07-20 Thread Akemi Yagi
On Wed, Jul 20, 2011 at 7:10 AM, John Fettig john.fet...@gmail.com wrote:
 In the section for CentOS-5, it would be nice if the following
 alternative method for running Skype on CentOS-5 were presented:

 You can download a statically linked version of Skype which will work
 in CentOS-5 from
 http://download.skype.com/linux/skype_static-2.1.047.tar.bz2

 I think it's a little bit silly that the first recommendation for
 running skype on CentOS-5 is to install a new version of libstdc++!
 Hopefully the version I've linked to will remain available directly
 through skype's homepage, and if not, some public mirror will arise.

 If you want me to change this directly, my login is JohnFettig.  I
 would be happy if e.g. Akemi Yagi (amy...@gmail.com) would add this
 info.

Ralph is the Wiki admin. He can give you edit right for that page.

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


Re: [CentOS-virt] Suggestions to improve this minimal kickstart config for CentOS 6?

2011-07-20 Thread Manuel Wolfshant
On 07/20/2011 04:48 PM, Kartik Subbarao wrote:
 On 07/19/2011 05:36 PM, Manuel Wolfshant wrote:
 Try the attached ks. It installs around 180 packages. libselinux-utils
 is in because I find it mandatory to be able to modify the selinux
 configuration of an existing system.

 Thanks for the info. I created a VM with this config and it took up 
 about 512MB of disk space, which is higher than the kickstart file 
 that I posted (about 460MB).
you removed selinux and also used rpm -e --nodeps which I would never 
promote (even if I also use on occasions).
ditch from my list the packages which install firmware and you'll end up 
at roughly the same size as yours. anyway my target was never minimal 
space on disk (today even CFs and SSD are several times larger than what 
the ks installs ) but minimal number of packages while still maintaining 
out of the box all the proper functionality ( or at least my vision on 
it), including for servers with real storage behind them ( brocade, etc 
). and I emphasize again: including selinux tools.


 I'm running x86_64 so I'll probably see different sizes than your 
 system which appears to be i686.
my ks works on both, just adjust the repository used for install



 In any event, thanks for taking the time to post your kickstart file. 
 It helps me validate that what I have is reasonably minimal, that I'm 
 probably not missing any major sources of size reductions. 
welcome

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


[CentOS-virt] how to add file-based disk space to a guest

2011-07-20 Thread thomas veymont
hi there,

I'm following these documentations to add a file-based disk volume to
a KVM guest under Centos 6.0 :
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization/chap-Virtualization-Storage_Volumes.html

as instructed, I created a pool then a volume, file-based, e.g :

mkdir /mnt/raid/kvm_pool1
virsh # pool-define-as pool1 dir - - - - /mnt/raid/kvm_pool1
virsh # pool-autostart pool1
virsh # vol-create-as pool1 volume1 20G --allocation 15G --format qcow2

now I want to associate volume1 to my guest OS. Following this doc:

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization/sect-Virtualization-Virtualized_block_devices-Adding_storage_devices_to_guests.html

- why does this ask me to create a file with dd ? it's already been
created before with the virsh pool commands, isn't it? Seems to
me I'm bypassing the libvirt/virsh layer if I do that.

- after that, the doc tells me to do some stuff with guest XML files.
Is'nt there some specific commands provided by
virsh to associate a managed Pool to a managed Guest ?

- in this case, should I use the virsh attach-disk command ?

thanks.
--
Tom
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Suggestions to improve this minimal kickstart config for CentOS 6?

2011-07-20 Thread JDF. Franklin
For what it's worth here are a few more tools that I include due to
fairly minimal impact, but are assumed by many 3rd party scripts for
example:

rsync
unzip
wget

And personally I like these for local setup though they add a big more space:
ntp
elinks
lsof
nmap
denyhosts
yum-utils
autofs
nfs-utils
nss_db
nss-pam-ldapd
nss-tools
openldap-clients
pam_ldap
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] Suggestions to improve this minimal kickstart config for CentOS 6?

2011-07-20 Thread Manuel Wolfshant
On 07/21/2011 02:36 AM, JDF. Franklin wrote:
 For what it's worth here are a few more tools that I include due to
 fairly minimal impact, but are assumed by many 3rd party scripts for
 example:

 rsync
 unzip
 wget

 And personally I like these for local setup though they add a big more space:
 ntp
 elinks
 lsof
 nmap
 denyhosts
 yum-utils
 autofs
 nfs-utils
 nss_db
 nss-pam-ldapd
 nss-tools
 openldap-clients
 pam_ldap
Thank you for your suggestions. I want to keep the minimal image really 
minimal so I am not going to add to it anything but hardware drivers. On 
the other hand, I will keep your list handy and adjust accordingly (if 
space allows ) the content of the Light Weight Server CD ( which is 
still under work)

For what is worth, my minimal kickstart is now available as ks-minimalC6 
at https://nazar.karan.org/cgit/bluecain/tree/

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


[CentOS-es] xml2csv

2011-07-20 Thread Diego Sanchez
Hola a todos.
Este es mi primer correo aca.

Les comento el panorama: soy slackero, estoy estandarizando todo a a Debian
en el trabajo o CentOS, segun el aplicativo utilizado y el nivel de
conocimiento de los usuarios.

El problema radica en que necesito trabajar con xml2csv, el cual instale a
traves de EPEL.
Sin embargo, durante la instalacion, me arroja problemas de dependencias.
Como las resuelvo?

Salvo perl(Locale::Recode), el resto la instale desde CPanel, pero al
ejecutar nuevamente el install, sigue el error.

Resolving Dependencies
-- Running transaction check
--- Package xls2csv.noarch 0:1.06-5.el5 set to be updated
-- Processing Dependency: perl(Text::CSV_XS) for package: xls2csv
-- Processing Dependency: perl(Spreadsheet::ParseExcel::FmtUnicode) for
package: xls2csv
-- Processing Dependency: perl(Unicode::Map) for package: xls2csv
-- Processing Dependency: perl(Locale::Recode) for package: xls2csv
-- Processing Dependency: perl(Spreadsheet::ParseExcel) for package:
xls2csv
-- Finished Dependency Resolution
xls2csv-1.06-5.el5.noarch from epel has depsolving problems
  -- Missing Dependency: perl(Unicode::Map) is needed by package
xls2csv-1.06-5.el5.noarch (epel)
xls2csv-1.06-5.el5.noarch from epel has depsolving problems
  -- Missing Dependency: perl(Locale::Recode) is needed by package
xls2csv-1.06-5.el5.noarch (epel)
xls2csv-1.06-5.el5.noarch from epel has depsolving problems
  -- Missing Dependency: perl(Spreadsheet::ParseExcel::FmtUnicode) is
needed by package xls2csv-1.06-5.el5.noarch (epel)
xls2csv-1.06-5.el5.noarch from epel has depsolving problems
  -- Missing Dependency: perl(Spreadsheet::ParseExcel) is needed by package
xls2csv-1.06-5.el5.noarch (epel)
xls2csv-1.06-5.el5.noarch from epel has depsolving problems
  -- Missing Dependency: perl(Text::CSV_XS) is needed by package
xls2csv-1.06-5.el5.noarch (epel)
Error: Missing Dependency: perl(Locale::Recode) is needed by package
xls2csv-1.06-5.el5.noarch (epel)
Error: Missing Dependency: perl(Spreadsheet::ParseExcel::FmtUnicode) is
needed by package xls2csv-1.06-5.el5.noarch (epel)
Error: Missing Dependency: perl(Spreadsheet::ParseExcel) is needed by
package xls2csv-1.06-5.el5.noarch (epel)
Error: Missing Dependency: perl(Unicode::Map) is needed by package
xls2csv-1.06-5.el5.noarch (epel)
Error: Missing Dependency: perl(Text::CSV_XS) is needed by package
xls2csv-1.06-5.el5.noarch (epel)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest


-- 
Diego - Yo no soy paranoico! (pero que me siguen, me siguen)
http://about.me/diegors/bio
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] xml2csv

2011-07-20 Thread Salvador Guzman - Salman PSL

Utiliza el repositorio rpmforge alli tienes casi todas las dependencias de 
PERL. ( 
http://www.rubenortiz.es/2008/02/07/instalar-rpmforge-en-centos/ )

Una vez instalado el repositorio:

Por ejemplo:

yum list *unicode*

Available Packages
libunicode.i386 
0.7-1.2.el5.rf   rpmforge
libunicode-devel.i386 
0.7-1.2.el5.rf   rpmforge
perl-Unicode-Char.noarch
   0.02-1.el5.rf 
rpmforge
perl-Unicode-CheckUTF8.i386 
   1.03-1.el5.rf 
rpmforge
perl-Unicode-Collate.noarch 
   0.52-1.el5.rf 
rpmforge
perl-Unicode-Collate.i386   
   0.72-1.el5.rf 
rpmforge
perl-Unicode-Decompose.i386 
   0.02-1.el5.rf 
rpmforge
perl-Unicode-EastAsianWidth.noarch  
   1.30-1.el5.rf 
rpmforge
perl-Unicode-Escape.noarch 
0.0.2-1.el5.rf   rpmforge
perl-Unicode-IMAPUtf7.noarch
   2.00-1.el5.rf 
rpmforge
perl-Unicode-Indic.noarch   
   0.01-1.el5.rf 
rpmforge
perl-Unicode-Japanese.i386  
   0.47-1.el5.rf 
rpmforge
perl-Unicode-Lite.noarch 
0.12-1.2.el5.rf  rpmforge
perl-Unicode-Map.i386 
0.112-1.el5.rf   rpmforge
perl-Unicode-Map8.i386  
   0.13-1.el5.rf 
rpmforge
perl-Unicode-MapUTF8.noarch 
1.11-1.2.el5.rf  rpmforge
perl-Unicode-Normalize.i386 
   1.10-1.el5.rf 
rpmforge
perl-Unicode-Overload.noarch
   0.01-1.el5.rf 
rpmforge
perl-Unicode-RecursiveDowngrade.noarch  
   0.04-1.el5.rf 
rpmforge
perl-Unicode-Regex-Set.noarch   
   0.02-1.el5.rf 
rpmforge
perl-Unicode-Semantics.noarch   
   1.02-1.el5.rf 
rpmforge
perl-Unicode-String.i386 
2.09-1.2.el5.rf  rpmforge
perl-Unicode-Transform.i386 
   0.40-1.el5.rf 
rpmforge
perl-Unicode-Transliterate.i386 
   0.3-1.el5.rf 
rpmforge
perl-Unicode-UTF8simple.noarch  
   1.06-1.el5.rf 
rpmforge
perl-Unicode-Unihan.noarch  
   0.04-1.el5.rf 
rpmforge
perl-Unicode-Wrap.noarch
   0.03-1.el5.rf 
rpmforge
rxvt-unicode.i386   
   9.07-1.el5.rf 
rpmforge

y

yum install perl-Unicode-Map


- Mensaje original - 
De: Diego Sanchez dieg...@gmail.com
Para: centos-es@centos.org
Enviado: miércoles, 20 de julio de 2011 7:37
Asunto: [CentOS-es] xml2csv


Hola a todos.
Este es mi primer correo aca.

Les comento el panorama: soy slackero, estoy estandarizando todo a a Debian
en el trabajo o CentOS, segun el aplicativo utilizado y el nivel de
conocimiento de los usuarios.

El problema radica en que necesito trabajar con xml2csv, el cual instale a
traves de EPEL.
Sin embargo, durante la instalacion, me arroja problemas de dependencias.
Como las resuelvo?

Salvo perl(Locale::Recode), el resto la instale desde CPanel, pero al
ejecutar nuevamente el install, sigue el error.

Resolving Dependencies
-- Running transaction check
--- Package xls2csv.noarch 0:1.06-5.el5 set to be updated
-- Processing Dependency: perl(Text::CSV_XS) for package: xls2csv
-- Processing Dependency: perl(Spreadsheet::ParseExcel::FmtUnicode) for
package: xls2csv
-- Processing Dependency: perl(Unicode::Map) for package: xls2csv
-- Processing Dependency: perl(Locale::Recode) for package: xls2csv
-- Processing Dependency: perl(Spreadsheet::ParseExcel) for package:
xls2csv
-- Finished Dependency Resolution
xls2csv-1.06-5.el5.noarch from epel has depsolving problems
  -- Missing Dependency: perl(Unicode::Map) is needed by package
xls2csv-1.06-5.el5.noarch (epel)
xls2csv-1.06-5.el5.noarch from epel has depsolving problems
  -- Missing Dependency: perl(Locale::Recode) is needed by package
xls2csv-1.06-5.el5.noarch (epel)
xls2csv-1.06-5.el5.noarch from epel has depsolving problems
  -- Missing Dependency: perl(Spreadsheet::ParseExcel::FmtUnicode) is
needed by package 

Re: [CentOS-es] xml2csv

2011-07-20 Thread Diego Sanchez
El día 20 de julio de 2011 08:19, Salvador Guzman - Salman PSL
informacio...@salman.es escribió:

 Utiliza el repositorio rpmforge alli tienes casi todas las dependencias de 
 PERL. (
 http://www.rubenortiz.es/2008/02/07/instalar-rpmforge-en-centos/ )


Salvador.
Buen dia y gracias.

Te comento que termine instalando xml2csv desde las fuentes y no da
ningun problema.
Como veo que el paquete es del 2005, asumo que no habra problemas con
yum durante la actualizacion.

Aun asi,es recomendable que lo instale desde yum?
De esta manera, al actualizar el sistema, y en caso que salga alguna
actualizacion, se vera reflejada.
Asumo que al hacerlo, ademas reemplazara el binario, dependencias, y
etcs. Es asi?

-- 
Diego - Yo no soy paranoico! (pero que me siguen, me siguen)
http://about.me/diegors/bio
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] Configurar BIND varios dominios

2011-07-20 Thread Ernesto Pérez Estévez
On Wed, 2011-07-20 at 12:45 -0500, Viviana wrote:
 Amigos de la lista solicito su ayuda por favor.
 
 Alguien a probado configurar bind para varios dominios.
 
 Necesito configurar www.uno.com y www.dos.com en el servidor DNS, pero no
 hay mucha información al respecto.

http://www.ecualug.org/2007/06/24/comos/configurar_un_servidor_dns_con_bind_en_centos5

saludos
epe

 La mayoría publica información acerca de la configuración en APACHE y no
 dicen mucho de la configuración del DNS.
 
 Les estaré muy agradecida.
 
 Viviana
 ___
 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] CentOS 6 - VM network bridge issue (SOLVED)

2011-07-20 Thread James Hogarth

 Initial thought is a routing issue particularly with multiple NICs.

 What does 'ip r s' reveal?

 That was it!  ip r s showed that I had the local facing NIC (eth1) as the 
 gateway, which caused all outgoing packets to be routed to the local network 
 DUH!.


Yup been there before.

So long as the local NIC doesn't need to hit any other internal
subnets you'll be fine... otherwise don't forget to add the
appropriate RFC1918 static routes to go out that interface with the
default being the external one

Also another thing to watch out for is asymmetric routing. If it is
possible to get to a destination via either interface and due to
routing issues elsewhere the packet does not return to the same
interface through the same gateway you can get odd behaviour In
which case you would need to set up policy routing rules to ensure
stuff enters/leaves the right way... but dont' worry about that for
now - just remember it for later if you get odd network behaviour
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] firewall?

2011-07-20 Thread John Hodrien
On Wed, 20 Jul 2011, hadi motamedi wrote:

 If we cannot find the exact application name for centos, say MATLAB
 for centos does not exist, so we must search for 'Mathematics
 laboratory for centos' ? Or if Pspice for centos does not exist so we
 must search for 'Electronics circuit schematics editor and simulator
 for centos' ? If there any reference site that we can select centos
 application with respect to their functionality deffinition but not
 just the application name?

Stop googling for CentOS.  If you're looking for commercial packages, they'll
either claim to support Redhat or just linux, but they're very unlikely to
mention CentOS.

But this problem isn't linux specific.  How do you find matlab-like software
for windows?

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


Re: [CentOS] Recommended mailing list manager for CentOS 5.6

2011-07-20 Thread ken
On 07/19/2011 09:32 PM Les Mikesell wrote:
 On 7/19/11 8:19 PM, David Lemcoe wrote:
 Mailman is probably what you want to use, because anyone who subscribes to 
 any
 amount of mailing lists knows exactly how to use Mailman and it's features.
 
 One feature you are likely to miss, though, is a good search for the 
 archives. 
 If it is open to the public I suppose you can let google index it for you.
 

Good point, Les.  It's tedious to search mailman archives-- as I've seen
them set up-- because it's necessary to run the search on each month's
archives.  It would be a lot friendlier to be able to do one search of
the entire archives at once.  Is there a way to set up mailman that way?


-- 
When a society comes together and makes decisions in harmony,
when it respects its most noble traditions, cares for its most
vulnerable members, treats its forests and lands with respect,
then it will prosper and not decline.
--Buddha, Mahaparinirvana Sutra
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recommended mailing list manager for CentOS 5.6

2011-07-20 Thread Jussi Hirvi
On 20.7.2011 4.32, Les Mikesell wrote:
 One feature you are likely to miss, though, is a good search for the archives.
 If it is open to the public I suppose you can let google index it for you.

+1

If someone knows a fix, please share.

Mailman 3 will most probably have searchable archives, but who knows 
when it will be out.

https://launchpad.net/mailman/3.0

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


Re: [CentOS] firewall?

2011-07-20 Thread hadi motamedi
On 7/20/11, John Hodrien j.h.hodr...@leeds.ac.uk wrote:
 On Wed, 20 Jul 2011, hadi motamedi wrote:

 If we cannot find the exact application name for centos, say MATLAB
 for centos does not exist, so we must search for 'Mathematics
 laboratory for centos' ? Or if Pspice for centos does not exist so we
 must search for 'Electronics circuit schematics editor and simulator
 for centos' ? If there any reference site that we can select centos
 application with respect to their functionality deffinition but not
 just the application name?

 Stop googling for CentOS.  If you're looking for commercial packages,
 they'll
 either claim to support Redhat or just linux, but they're very unlikely to
 mention CentOS.

 But this problem isn't linux specific.  How do you find matlab-like software
 for windows?

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

You are right. But here, people use windows more than Linux. So
hearing about MATLAB for windows comes natural. I need to switch
completely to my centos so I need to do everything with my centos as I
did them on my windows. It sounds a little bit hard to find one-one
exact match between the application on windows and their equivalent on
centos. Isn't it ?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] firewall?

2011-07-20 Thread Keith Roberts
On Wed, 20 Jul 2011, hadi motamedi wrote:

*snip*

 So you've installed Octave but it's not as powerful as MATLAB on windows.
 I know this is crazy talk, but have you tried MATLAB on CentOS?

 There is no one-to-one relationship between applications on one OS and on
 another.

Hi Hadi.

If you are looking for Electronics and EDA things, why not 
take a look at the FEL - Fedora Electronics Lab spin:

http://spins.fedoraproject.org/fel/#downloads

You can d/l the FEL Live CD iso from here:

http://archive.nl.eu.kernel.org/fedora-alt/spins/linux/releases/14/Spins/i686/

HTH

Keith Roberts

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] firewall?

2011-07-20 Thread John Hodrien
On Wed, 20 Jul 2011, hadi motamedi wrote:

 You are right. But here, people use windows more than Linux. So
 hearing about MATLAB for windows comes natural. I need to switch
 completely to my centos so I need to do everything with my centos as I
 did them on my windows. It sounds a little bit hard to find one-one
 exact match between the application on windows and their equivalent on
 centos. Isn't it ?

In the case of matlab it's very easy: matlab.

In the case of other specialist software, the point is every bit of software
is different.  If you know an exact bit of software meets your needs, you are
the person best placed to know why.  The rest of it is a case of searching
google/yum/freshmeat using your domain specific knowledge as to exactly what
you need.

It would be exactly the same ball game if you were switching to using an
Apple, or indeed if Mathworks stopped selling matlab on windows.

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


[CentOS] OT: matlab on CentOS (Re: firewall?)

2011-07-20 Thread Tru Huynh
On Wed, Jul 20, 2011 at 08:37:23AM +0430, hadi motamedi wrote:
...
 If we cannot find the exact application name for centos, say MATLAB
 for centos does not exist

If you purchased your matlab for windows, I am sure that your software
vendor is able to quote you a linux version.
Have you looked at http://www.mathworks.com/products/matlab/requirements.html

Tru
-- 
Tru Huynh (mirrors, CentOS i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B


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


Re: [CentOS] 2 questions on CentOS firewall

2011-07-20 Thread Timothy Murphy
Timothy Murphy wrote:

 Ljubomir Ljubojevic wrote:
 
 (1) I can open port 22 on the Billion, allowing me to ssh in from
 outside. But for some reason I cannot ping the same address from
 outside.
 
 This is due to modem refuses to answer to pings. You might have option
 to allow it in modem config.
 
 Ping (ICMP) does not use ports but it is packet of type 8.
 
 Thanks again for your response.
 Could CentOS be preventing me from pinging the system?

Further to my question,
how can I determine if it is the Billion 5200S modem/router
that is preventing pings, or if it is the CentOS-6 MicroServer
attached to the modem/router?

I don't see any reference to ICMP on the modem web-page.

On the other hand the CentOS firewall seems to allow ICMP
unless explicitly rejected (which I haven't done).

Surely it would be slightly odd for a modem/router
to reject pings by default?

Is there any simple way, short of using something like ethereal,
of determining if ICMP packets are reaching the computer,
and being rejected there?



-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

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


Re: [CentOS] [OT] Apache oddity - appending garbage request does not result in a 404

2011-07-20 Thread Ray Leventhal
On 7/19/2011 4:47 PM, John R Pierce wrote:
 On 07/19/11 1:28 PM, Ray Leventhal wrote:
 Example:http://www.domain.com/pagedoesnotexist  returns the expected 404

 But browse to a page that does exist, like goodpage.php, then append
 either a slash and some random string, or a ?=somerandomstring and the
 goodpage.php is still displayed.

 I'll gladly provide more info, if needed.  Any pointers on where to look
 would be truly appreciated.

 your php page should examine the arguments and if there's anythign there
 unexpected, it should force the 404 via

   {
   header ('Location: '.$newReq);
   header ('HTTP/1.0 404 Page Not Found');
   die;  // Don't send any more output.
   }

 or whatever...


Much obliged.  I figured I could cure it with php, but was wondering if 
apache was somehow mis-configured.

Thanks for the help!
-Ray
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 2 questions on CentOS firewall

2011-07-20 Thread Ljubomir Ljubojevic
Timothy Murphy wrote:
 Further to my question,
 how can I determine if it is the Billion 5200S modem/router
 that is preventing pings, or if it is the CentOS-6 MicroServer
 attached to the modem/router?
 
 I don't see any reference to ICMP on the modem web-page.
 
 On the other hand the CentOS firewall seems to allow ICMP
 unless explicitly rejected (which I haven't done).
 
 Surely it would be slightly odd for a modem/router
 to reject pings by default?
 
 Is there any simple way, short of using something like ethereal,
 of determining if ICMP packets are reaching the computer,
 and being rejected there?
 

ICMP packets are blocked by Billion, it's 99% chance, since public IP 
resides on the Billion. Only way (known to me) to pass ICMP to your 
CentOS server (on cheap modem/routers) is to do 1:1 NAT (all connections 
to all ports are redirected to system behind it with set IP).

If you need to be able to ping CemtOS system and not Billion, then you 
should set modem to bridge mode and pass public IP to CentOS. But caveat 
is that this would mean that if you turn on CentOS firewall or set it 
improperly you would be wide open, and that you will not be able to 
willfully bypass CentOS server (if he is down) and just plug PC's to 
modem directly.


-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 2 questions on CentOS firewall

2011-07-20 Thread Markus Falb
On 20.7.2011 12:51, Timothy Murphy wrote:

 Further to my question,
 how can I determine if it is the Billion 5200S modem/router
 that is preventing pings, or if it is the CentOS-6 MicroServer
 attached to the modem/router?
...
 Is there any simple way, short of using something like ethereal,
 of determining if ICMP packets are reaching the computer,
 and being rejected there?

I would use tcpdump on the CentOS Server to be sure the icmp echo
requests are arriving or not. tcpdump is something like ethereal but it
could be as easy as

$ tcpdump -l proto \\icmp
or
$ tcpdump -l proto \\icmp and host sourceip
or
$ tcpdump -li ethX proto \\icmp
or
...

-- 
Kind Regards, Markus Falb



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


Re: [CentOS] 2 questions on CentOS firewall

2011-07-20 Thread Always Learning

On Wed, 2011-07-20 at 14:21 +0200, Ljubomir Ljubojevic wrote:

 Ljubomir Ljubojevic
 (Love is in the Air)

Congratulations.

Are you planning to invite us to the wedding :-)


-- 
With best regards,

Paul.
England,
EU.


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


Re: [CentOS] firewall?

2011-07-20 Thread Marko Vojinovic
On Wednesday 20 July 2011 05:07:23 hadi motamedi wrote:
 If we cannot find the exact application name for centos, say MATLAB
 for centos does not exist, so we must search for 'Mathematics
 laboratory for centos' ?

MATLAB stands for *matrix* laboratory, not mathematics. See

http://en.wikipedia.org/wiki/MATLAB

Searching for MATLAB on CentOS is too naive. Rather, you just want to keep in 
mind that CentOS is binary-compatibile with RHEL, go to the MATLAB website and 
find out that there is a supported version for RHEL:

http://www.mathworks.com/support/sysreq/current_release/linux.html

It costs about 2000 USD for a basic standalone installation (btw, the price is 
the same for Linux, Windows and Mac).

The functionality of MATLAB for CentOS is completely equivalent to the one on 
Windows. There is no alternative (free or otherwise) version which will 
provide equivalent functionality. That said, there are alternative apps which 
are equivalently powerful, but there are always differences.

HTH, :-)
Marko

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


Re: [CentOS] firewall?

2011-07-20 Thread m . roth
Marko Vojinovic wrote:
 On Wednesday 20 July 2011 05:07:23 hadi motamedi wrote:
 If we cannot find the exact application name for centos, say MATLAB
 for centos does not exist, so we must search for 'Mathematics
 laboratory for centos' ?

 MATLAB stands for *matrix* laboratory, not mathematics. See

 http://en.wikipedia.org/wiki/MATLAB

 Searching for MATLAB on CentOS is too naive. Rather, you just want to keep
 in mind that CentOS is binary-compatibile with RHEL, go to the MATLAB
snip
I'll guarantee that it runs just fine under CentOS. We have several
installs running.

mark

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


Re: [CentOS] 2 questions on CentOS firewall

2011-07-20 Thread Les Mikesell
On 7/20/2011 5:51 AM, Timothy Murphy wrote:

 Further to my question,
 how can I determine if it is the Billion 5200S modem/router
 that is preventing pings, or if it is the CentOS-6 MicroServer
 attached to the modem/router?

 I don't see any reference to ICMP on the modem web-page.

 On the other hand the CentOS firewall seems to allow ICMP
 unless explicitly rejected (which I haven't done).

 Surely it would be slightly odd for a modem/router
 to reject pings by default?

Do you only have one public IP?  This sort of router is generally 
configured to do one-many source nat for a private network behind it. 
For tcp and udp packets there are more specified fields (port/socket 
info) that can be used to map inbound packets to the right private 
target either with configured entries or the dynamically maintained NAT 
table.  But there's no way to distinguish whether an inbound ping should 
be answered by the modem itself or passed through if you have specified 
a default 'dmz' target.  GRE packets (as used in pptp or router tunnels) 
have a similar problem of not having documented info that can be used to 
track the source NAT when there are multiple active sessions, although 
some routers manage to do it using microsoft conventions in the packets.

 Is there any simple way, short of using something like ethereal,
 of determining if ICMP packets are reaching the computer,
 and being rejected there?

A sniffer like tcpdump or wireshare is the simple way.  However, note 
that these see packets before they hit the host's iptables firewall so 
even if you see packets arriving, they may not be reaching any applications.

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

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


Re: [CentOS] 2 questions on CentOS firewall

2011-07-20 Thread Ljubomir Ljubojevic
Always Learning wrote:
 On Wed, 2011-07-20 at 14:21 +0200, Ljubomir Ljubojevic wrote:
 
 Ljubomir Ljubojevic
 (Love is in the Air)
 
 Congratulations.
 
 Are you planning to invite us to the wedding :-)
 
 

Hehehehe, no.

My first name (Ljubomir) is old Slavic name that means He who loves 
peace, or peace lover. Based on that and my skills in IT, I was given 
nickname Dr.Love by a customer, now long time friend. It spread around 
and I grew to love it. And since my skill set expanded because of the 
wireless (in the air), and I am a disco generation, I borrowed a song 
name from John Paul Young as a signature for StarOS forums, and then LQ 
and now mailing lists.. It fits like a glove.

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 - VM network bridge issue (SOLVED)

2011-07-20 Thread Emmett Culley
On 07/20/2011 01:24 AM, James Hogarth wrote:

 Initial thought is a routing issue particularly with multiple NICs.

 What does 'ip r s' reveal?

 That was it!  ip r s showed that I had the local facing NIC (eth1) as the 
 gateway, which caused all outgoing packets to be routed to the local network 
 DUH!.

 
 Yup been there before.
 
 So long as the local NIC doesn't need to hit any other internal
 subnets you'll be fine... otherwise don't forget to add the
 appropriate RFC1918 static routes to go out that interface with the
 default being the external one
 
 Also another thing to watch out for is asymmetric routing. If it is
 possible to get to a destination via either interface and due to
 routing issues elsewhere the packet does not return to the same
 interface through the same gateway you can get odd behaviour In
 which case you would need to set up policy routing rules to ensure
 stuff enters/leaves the right way... but dont' worry about that for
 now - just remember it for later if you get odd network behaviour
 
Thanks James,

I keep it in mind, but by the time it happens I'll need Google again to find 
this thread :-)


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


Re: [CentOS] firewall?

2011-07-20 Thread Ljubomir Ljubojevic
Les Mikesell wrote:
 The biggest searchable, up to date collection of open source software project 
 descriptions is probably http://freshmeat.net, but once you locate an 
 interesting project you might want to see if you can find an RPM-packaged 
 version at EPEL, rpmforge, etc. for easy installation and updates instead of 
 trying to build from source yourself.

I use http://rpm.pbone.net/ to search for CentOS/RHEL and Fedora packages.

It says that there is matlab 7.4.0 rpm for Fedora 5 and 10-15.

Fedora 5 version should be good for CentOS 5 , and Fedora 12 package for 
CentOS 6.

Link for Fedora 5 package:
http://apt.unl.edu/apt/fedora/redhat/5/i386/unl/RPMS/


-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] firewall?

2011-07-20 Thread m . roth
Ljubomir Ljubojevic wrote:
 Les Mikesell wrote:
snip
 I use http://rpm.pbone.net/ to search for CentOS/RHEL and Fedora packages.

 It says that there is matlab 7.4.0 rpm for Fedora 5 and 10-15.
snip
Couple problems: first, it *is* COTS, and if you live in a country that
cares, you could be in steep legal trouble. Second, MATLAB uses a license
server; if you don't have a license, you can't use it.

   mark

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


Re: [CentOS] firewall?

2011-07-20 Thread John Hodrien
On Wed, 20 Jul 2011, Ljubomir Ljubojevic wrote:

 I use http://rpm.pbone.net/ to search for CentOS/RHEL and Fedora packages.

Valid.

 It says that there is matlab 7.4.0 rpm for Fedora 5 and 10-15.

 Fedora 5 version should be good for CentOS 5 , and Fedora 12 package for
 CentOS 6.

 Link for Fedora 5 package:
 http://apt.unl.edu/apt/fedora/redhat/5/i386/unl/RPMS/

Not in any way sensible, so don't go anywhere near this.

This just looks like an indexed internal directory at a university full of
packages you're really unlikely to want to install.  It's old commercial
software that won't work without a license.  Matlab installs just fine on
CentOS from the direct download from Mathworks.  Packaging it up is also
trivial.

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


[CentOS] Iptables - flooding console

2011-07-20 Thread cbul...@gmail.com
Hi,

We are trying to track some specific rules using  LOG as target.
Everything is working well but the problem is that iptables is flooding 
the console with LOG messages.
We tried --log level 4 on iptables rules but it didn't work.
We fixed the problem changing KLOGD_OPTIONS value in 
/etc/sysconfig/syslog to:
KLOG_OPTIONS=-c 4

Is it the best option or we are missing something?

Thanks in advance



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


[CentOS] CentOS 6 PXE boot:Unable to download the kickstart file

2011-07-20 Thread Ole Holm Nielsen
We have CentOS 6 manual installation working by PXE booting from a RHEL5.6
PXE/TFTP server.  However, when we add a Kickstart file in the PXE
configuration:

kernel CentOS-6-i386/vmlinuz
append load_ramdisk=1 initrd=CentOS-6-i386/initrd.img network
ks=nfs:130.226.86.4:/u/rpm/kickstart/ks-centos-6-clean-i386.cfg

then the CentOS 6 client install reports Unable to download the kickstart 
file.
The console 3 reports failed to mount nfs source.
We believe the NFS server is OK because we can install CentOS5 clients in
this way.

Perhaps this problem is related to this RHEL6 bug?
https://bugzilla.redhat.com/show_bug.cgi?id=653655

However, on the centos list I see some people who apparently go Kickstart
to work with CentOS 6 - but how did they do it?

Question: What special configuration is required for either 1) PXE or
2) the DHCP server?

Thanks,
Ole

-- 
Ole Holm Nielsen
Department of Physics, Technical University of Denmark
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 PXE boot:Unable to download the kickstart file

2011-07-20 Thread m . roth
Ole Holm Nielsen wrote:
 We have CentOS 6 manual installation working by PXE booting from a RHEL5.6
 PXE/TFTP server.  However, when we add a Kickstart file in the PXE
 configuration:

 kernel CentOS-6-i386/vmlinuz
 append load_ramdisk=1 initrd=CentOS-6-i386/initrd.img network
 ks=nfs:130.226.86.4:/u/rpm/kickstart/ks-centos-6-clean-i386.cfg

 then the CentOS 6 client install reports Unable to download the kickstart
 file.
 The console 3 reports failed to mount nfs source.
 We believe the NFS server is OK because we can install CentOS5 clients in
 this way.
snip
 However, on the centos list I see some people who apparently go Kickstart
 to work with CentOS 6 - but how did they do it?

 Question: What special configuration is required for either 1) PXE or
 2) the DHCP server?

I just cloned the 5.6 install, and it worked.

Well, kinda. You may have seen, or missed, the thread a couple weeks ago,
about this: we do have a local repository, and comps.xml was missing.
Then, having now switched to my new workstation, I found that window
manager names changes (like KDE and Gnome), so they weren't installed, and
for some reason, xorg was not a prerequisite. OO.o, btw, has had a group
name change as well.

  mark, working his way through

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


Re: [CentOS] CentOS 6 PXE boot:Unable to download the kickstart file

2011-07-20 Thread Ole Holm Nielsen
 Ole Holm Nielsen wrote:
 We have CentOS 6 manual installation working by PXE booting from a RHEL5.6
 PXE/TFTP server.  However, when we add a Kickstart file in the PXE
 configuration:

 kernel CentOS-6-i386/vmlinuz
 append load_ramdisk=1 initrd=CentOS-6-i386/initrd.img network
 ks=nfs:130.226.86.4:/u/rpm/kickstart/ks-centos-6-clean-i386.cfg

 then the CentOS 6 client install reports Unable to download the kickstart
 file.
 The console 3 reports failed to mount nfs source.
 We believe the NFS server is OK because we can install CentOS5 clients in
 this way.
 snip
 However, on the centos list I see some people who apparently go Kickstart
 to work with CentOS 6 - but how did they do it?

 Question: What special configuration is required for either 1) PXE or
 2) the DHCP server?
 
 I just cloned the 5.6 install, and it worked.
 
 Well, kinda. You may have seen, or missed, the thread a couple weeks ago,
 about this: we do have a local repository, and comps.xml was missing.
 Then, having now switched to my new workstation, I found that window
 manager names changes (like KDE and Gnome), so they weren't installed, and
 for some reason, xorg was not a prerequisite. OO.o, btw, has had a group
 name change as well.

I fail to see how your repository problem is related to my Kickstart PXE/NFS
problem.  We can install CentOS 6 (no Kickstart) without problems using PXE.
It's the NFS-mounting of the Kickstart-file which fails.  What I'd love to learn
is how others have made NFS/Kickstart work...

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


Re: [CentOS] SPAM on the List

2011-07-20 Thread Markus Falb
On 17.7.2011 23:52, Ljubomir Ljubojevic wrote:
 Always Learning wrote:

 Do your Mail Transfer Agents use valid or bogus HELO/EHLO names ?

 Mine uses proper name, but then again I am one of the few in my country 
 to offer POP3 on SSL port 465. And I am small local WISP.

Probably you meant smtps (smtp over ssl) not pop3.

-- Kind Regards, Markus Falb



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


Re: [CentOS] CentOS 6 PXE boot:Unable to download the kickstart file

2011-07-20 Thread John Hodrien
On Wed, 20 Jul 2011, Ole Holm Nielsen wrote:

 I fail to see how your repository problem is related to my Kickstart PXE/NFS
 problem.  We can install CentOS 6 (no Kickstart) without problems using PXE.
 It's the NFS-mounting of the Kickstart-file which fails.  What I'd love to 
 learn
 is how others have made NFS/Kickstart work...

Is CentOS 6 assuming NFSv4 by default perhaps?

Worth doing a tcpdump on your NFS server to see?

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


Re: [CentOS] Iptables - flooding console

2011-07-20 Thread Keith Roberts
On Wed, 20 Jul 2011, cbul...@gmail.com wrote:

 To: centos@centos.org
 From: cbul...@gmail.com cbul...@gmail.com
 Subject: [CentOS] Iptables - flooding console
 
 Hi,

 We are trying to track some specific rules using  LOG as target.
 Everything is working well but the problem is that iptables is flooding
 the console with LOG messages.
 We tried --log level 4 on iptables rules but it didn't work.
 We fixed the problem changing KLOGD_OPTIONS value in
 /etc/sysconfig/syslog to:
 KLOG_OPTIONS=-c 4

 Is it the best option or we are missing something?

 Thanks in advance

I had this problem as well. The firewall logs were being 
sent (tailed/tee'd ?) to the console, which is a pain if you 
are using mc or any other console application.

To fix it on Centos 5.5/6 I just added the following 
to the top of the /etc/syslog.conf file.

Deleted these lines as not in use:

# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.*   /dev/console


Replaced with:
# Log all firewall messages to a file.
kern.=debug  /var/log/firewall-log

Obviously you need to make sure the firewall log file 
exists

-rw-r--r--  keith  users39039 Jul 20 15:24 firewall-log

Kind Regards,

Keith Roberts
-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 PXE boot:Unable to download the kickstart file

2011-07-20 Thread Keith Roberts
On Wed, 20 Jul 2011, John Hodrien wrote:

 To: CentOS mailing list centos@centos.org
 From: John Hodrien j.h.hodr...@leeds.ac.uk
 Subject: Re: [CentOS] CentOS 6 PXE boot:Unable to download the kickstart file
 
 On Wed, 20 Jul 2011, Ole Holm Nielsen wrote:

 I fail to see how your repository problem is related to my Kickstart PXE/NFS
 problem.  We can install CentOS 6 (no Kickstart) without problems using PXE.
 It's the NFS-mounting of the Kickstart-file which fails.  What I'd love to 
 learn
 is how others have made NFS/Kickstart work...

 Is CentOS 6 assuming NFSv4 by default perhaps?

 Worth doing a tcpdump on your NFS server to see?

Yes. Also Wireshark GUI is your friend running on the NFS 
server, if you have a cutdown desktop to use it from?

That should give you some indication in real time of the 
attempt to access the NFS server from your various clients.

Kind Regards,

Keith Roberts

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 PXE boot:Unable to download the kickstart file

2011-07-20 Thread Patrick Lists
On 07/20/2011 05:18 PM, John Hodrien wrote:
 On Wed, 20 Jul 2011, Ole Holm Nielsen wrote:

 I fail to see how your repository problem is related to my Kickstart PXE/NFS
 problem.  We can install CentOS 6 (no Kickstart) without problems using PXE.
 It's the NFS-mounting of the Kickstart-file which fails.  What I'd love to 
 learn
 is how others have made NFS/Kickstart work...

 Is CentOS 6 assuming NFSv4 by default perhaps?

According to the RHEL 6.0 Release Notes it is:

Mounting a file system via NFS now defaults to NFSv4.

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


Re: [CentOS] managing a rack full of centos servers

2011-07-20 Thread Iain Morris
On Tue, Jul 19, 2011 at 6:00 PM, Fajar Priyanto fajar...@arinet.org wrote:
 On Wed, Jul 20, 2011 at 8:25 AM, Patrick Lists
 centos-l...@puzzled.xs4all.nl wrote:
 On 07/20/2011 02:03 AM, Fajar Priyanto wrote:
 Redhat satellite can handle it. Too bad I don't know if there is foss
 alternative for it.

 There is http://spacewalk.redhat.com/

 They have it? Awesome!
 Thanks for the info!!

Spacewalk is great, but be prepared for some significant configuration
time and energy.  Also, it requires Oracle (postgres is in progress
last I checked).  The free version of Oracle has a single processor
limitation.

I'd say about 20 systems is the threshold for when the up-front config
time starts paying off.

-- 
-- -
Iain Morris
iain.t.mor...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] managing a rack full of centos servers

2011-07-20 Thread Devin Reade
--On Tuesday, July 19, 2011 08:45:54 PM -0700 cool...@gmail.com wrote:
 On Jul 19, 2011 6:48 PM, Jay Leafey jay.lea...@mindless.com wrote:
 
 I usually use SSH keys in conjunction with ClusterSSH

 In the same vein, I instead recomend pdsh.

Another variant that has been around a long time is pconsole.
http://freshmeat.net/projects/pconsole

This is a tool for executing the same command on many similar
machines at once, and doesn't require anything to be on the 
target machines other than ssh.  You get one master xterm, a
bunch of slave xterms, and you can either type in the master to 
affect all nodes or selectively type in the slaves.

It should be considered as complementing the automated config
management tools like cfengine et al, not as a replacement for
them (they're doing different jobs).  pconsole is more intended
for concurrent ad-hoc changes.

The only thing to keep in mind with pconsole is screen real-estate.
You can have your slave xterms small (like 40x4), but if you have
more nodes than you can get slave xterms on your screen at one time,
it's less effective.

Devin

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


Re: [CentOS] SPAM on the List

2011-07-20 Thread Ljubomir Ljubojevic
Markus Falb wrote:
 On 17.7.2011 23:52, Ljubomir Ljubojevic wrote:
 Always Learning wrote:
 
 Do your Mail Transfer Agents use valid or bogus HELO/EHLO names ?
 
 Mine uses proper name, but then again I am one of the few in my country 
 to offer POP3 on SSL port 465. And I am small local WISP.
 
 Probably you meant smtps (smtp over ssl) not pop3.
 
 -- Kind Regards, Markus Falb
 

Yes, you are right. SMTPS. thinking one thing and writing another is not 
good. Nice catch, thanks.

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] firewall?

2011-07-20 Thread Ljubomir Ljubojevic
John Hodrien wrote:
 On Wed, 20 Jul 2011, Ljubomir Ljubojevic wrote:
 
 I use http://rpm.pbone.net/ to search for CentOS/RHEL and Fedora packages.
 
 Valid.
 
 It says that there is matlab 7.4.0 rpm for Fedora 5 and 10-15.

 Fedora 5 version should be good for CentOS 5 , and Fedora 12 package for
 CentOS 6.

 Link for Fedora 5 package:
 http://apt.unl.edu/apt/fedora/redhat/5/i386/unl/RPMS/
 
 Not in any way sensible, so don't go anywhere near this.
 
 This just looks like an indexed internal directory at a university full of
 packages you're really unlikely to want to install.  It's old commercial
 software that won't work without a license.  Matlab installs just fine on
 CentOS from the direct download from Mathworks.  Packaging it up is also
 trivial.
 

OK.

If it needs license, what would be the harm if you install (newer) 
version from rpm? Their source RPM is actually nosrc.rpm so they just 
package  it for easier install. I was assuming this when I suggested the 
packages.

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] firewall?

2011-07-20 Thread John Hodrien
On Wed, 20 Jul 2011, Ljubomir Ljubojevic wrote:

 OK.

 If it needs license, what would be the harm if you install (newer)
 version from rpm? Their source RPM is actually nosrc.rpm so they just
 package  it for easier install. I was assuming this when I suggested the
 packages.

What I meant was, those were old RPMs.  You'd buy a license and either install
using the installer, or package up your own RPM.  You wouldn't go near those.

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


Re: [CentOS] Iptables - flooding console

2011-07-20 Thread cbul...@gmail.com


On 7/20/2011 10:18 AM, Keith Roberts wrote:
 On Wed, 20 Jul 2011, cbul...@gmail.com wrote:

 To: centos@centos.org
 From: cbul...@gmail.comcbul...@gmail.com
 Subject: [CentOS] Iptables - flooding console

 Hi,

 We are trying to track some specific rules using  LOG as target.
 Everything is working well but the problem is that iptables is flooding
 the console with LOG messages.
 We tried --log level 4 on iptables rules but it didn't work.
 We fixed the problem changing KLOGD_OPTIONS value in
 /etc/sysconfig/syslog to:
 KLOG_OPTIONS=-c 4

 Is it the best option or we are missing something?

 Thanks in advance
 I had this problem as well. The firewall logs were being
 sent (tailed/tee'd ?) to the console, which is a pain if you
 are using mc or any other console application.

 To fix it on Centos 5.5/6 I just added the following
 to the top of the /etc/syslog.conf file.

 Deleted these lines as not in use:

 # Log all kernel messages to the console.
 # Logging much else clutters up the screen.
 #kern.*   /dev/console


 Replaced with:
 # Log all firewall messages to a file.
 kern.=debug  /var/log/firewall-log

 Obviously you need to make sure the firewall log file
 exists

 -rw-r--r--  keith  users39039 Jul 20 15:24 firewall-log

 Kind Regards,

Thanks  Keith,

I tried your solution but it didn't work. (man 8 syslogd describes what 
you said)
First I returned the default value on KLOG_OPTIONS, I restarted the 
syslog service but the iptables still continuous sending the log to console.
I forget mention the info system:

CentOS 5.6

[root@server_56 ~]# uname -r
2.6.18-238.el5
[root@server_56 ~]# iptables -V
iptables v1.3.5

Sincerely,

Julio


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


Re: [CentOS] managing a rack full of centos servers

2011-07-20 Thread m . roth
Iain Morris wrote:
 On Tue, Jul 19, 2011 at 6:00 PM, Fajar Priyanto fajar...@arinet.org
 wrote:
 On Wed, Jul 20, 2011 at 8:25 AM, Patrick Lists
 centos-l...@puzzled.xs4all.nl wrote:
 On 07/20/2011 02:03 AM, Fajar Priyanto wrote:
 Redhat satellite can handle it. Too bad I don't know if there is foss
 alternative for it.

 There is http://spacewalk.redhat.com/

 They have it? Awesome!
 Thanks for the info!!

 Spacewalk is great, but be prepared for some significant configuration
 time and energy.  Also, it requires Oracle (postgres is in progress
 last I checked).  The free version of Oracle has a single processor
 limitation.
snip
Two and a quarter years ago, I got stuck with Spacewalk where I had a
short-term contract, and it was a horror. (Note that while I was working
on it, it went from 0.4 to 0.5) As Iain said, it requires Oracle, and I
found I had to add an addition setting to Oracle - the free version has a
max of 1G of memory, and I had to max it out (I think I set shared memory
in Oracle's control panel to 994M), just to get it to work. It's also
complex to configure and use, so if you're not looking at dozens or
hundreds of machines, I wouldn't use it.

 mark

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


Re: [CentOS] managing a rack full of centos servers

2011-07-20 Thread Eero Volotinen
2011/7/20  m.r...@5-cent.us:
 Iain Morris wrote:
 On Tue, Jul 19, 2011 at 6:00 PM, Fajar Priyanto fajar...@arinet.org
 wrote:
 On Wed, Jul 20, 2011 at 8:25 AM, Patrick Lists
 centos-l...@puzzled.xs4all.nl wrote:
 On 07/20/2011 02:03 AM, Fajar Priyanto wrote:
 Redhat satellite can handle it. Too bad I don't know if there is foss
 alternative for it.

 There is http://spacewalk.redhat.com/

 They have it? Awesome!
 Thanks for the info!!

 Spacewalk is great, but be prepared for some significant configuration
 time and energy.  Also, it requires Oracle (postgres is in progress
 last I checked).  The free version of Oracle has a single processor
 limitation.
 snip
 Two and a quarter years ago, I got stuck with Spacewalk where I had a
 short-term contract, and it was a horror. (Note that while I was working
 on it, it went from 0.4 to 0.5) As Iain said, it requires Oracle, and I
 found I had to add an addition setting to Oracle - the free version has a
 max of 1G of memory, and I had to max it out (I think I set shared memory
 in Oracle's control panel to 994M), just to get it to work. It's also
 complex to configure and use, so if you're not looking at dozens or
 hundreds of machines, I wouldn't use it.

Oracle named user license is very cheap ..

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


Re: [CentOS] managing a rack full of centos servers

2011-07-20 Thread Patrick Lists
On 07/20/2011 06:11 PM, Iain Morris wrote:
 Spacewalk is great, but be prepared for some significant configuration
 time and energy.  Also, it requires Oracle (postgres is in progress
 last I checked).

 From what I read the PostgreSQL support is functional for regular usage 
and has been improving significantly the last few releases. Worth a try 
if you don't want to fund Larry's next superyacht.

Regards,
Patrick


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


[CentOS] NetApp DataFabric Manager/Sybase/SQLAnywhere on CentOS?

2011-07-20 Thread Matt Garman
Hello,

Has anyone out there successfully installed NetApp's DataFabric
Manager (DFM) on CentOS?  If so, what version of DFM, CentOS, and
what architecture?

I am trying to install DFM 4.0.2, and have tried on both CentOS 4.8
i386 and CentOS 5.5 x86_64.  I have edited my /etc/redhat-release file
to be equal to RHEL's, as the DFM installer immediately aborts if that
isn't right.  However, I still have errors during the install:

Enter your NetApp DataFabric Manager license key [?,q]: entered my key
Beginning the installation ...
Preparing...###
[100%]
   1:NTAPdfm###
[100%]
Installing scripts in /etc/init.d directory.
Configuring DataFabric Manager server services.
Setting up sql ...
Starting SQL ...
Communication error
error: %post(NTAPdfm-3.8-6640.i386) scriptlet failed, exit status 1


/var/log/messages has this:

[ ... ]
Jul 19 12:58:10 lnxsvr41 SQLAnywhere(monitordb): 16 logical
processor(s) on 2 physical processor(s) detected.
Jul 19 12:58:11 lnxsvr41 SQLAnywhere(monitordb): Per-processor
licensing model. The server is licensed to use 2 physical
processor(s).
Jul 19 12:58:11 lnxsvr41 SQLAnywhere(monitordb): This server is licensed to:
Jul 19 12:58:11 lnxsvr41 SQLAnywhere(monitordb): DFM User
Jul 19 12:58:11 lnxsvr41 SQLAnywhere(monitordb): NetApp
Jul 19 12:58:11 lnxsvr41 SQLAnywhere(monitordb): Running Linux
2.6.9-89.0.25.ELsmp #1 SMP Thu May 6 12:28:03 EDT 2010 on X86 (X86_64)
Jul 19 12:58:11 lnxsvr41 SQLAnywhere(monitordb): Server built for X86
processor architecture Jul 19 12:58:11 lnxsvr41
SQLAnywhere(monitordb): Asynchronous IO disabled due to lack of proper
OS support
Jul 19 12:58:11 lnxsvr41 SQLAnywhere(monitordb): Maximum cache size
adjusted to 1670312K Jul 19 12:58:11 lnxsvr41 SQLAnywhere(monitordb):
Authenticated Server licensed for use with Authenticated Applications
only
Jul 19 12:58:11 lnxsvr41 SQLAnywhere(monitordb): 8192K of memory used
for caching
Jul 19 12:58:11 lnxsvr41 SQLAnywhere(monitordb): Minimum cache size:
8192K, maximum cache size: 1670312K
Jul 19 12:58:11 lnxsvr41 SQLAnywhere(monitordb): Using a maximum page
size of 8192 bytes
Jul 19 12:58:11 lnxsvr41 SQLAnywhere(monitordb): TCP/IP functions not
found Jul 19 12:58:11 lnxsvr41
SQLAnywhere(monitordb): Database server shutdown due to startup error


Looks like the problem is with SQLAnywhere, which appears to be a
Sybase product.

Anyone been down this road?  So far NetApp is stonewalling me on CentOS support.

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


Re: [CentOS] NetApp DataFabric Manager/Sybase/SQLAnywhere on CentOS?

2011-07-20 Thread James Hogarth

 I am trying to install DFM 4.0.2, and have tried on both CentOS 4.8
 i386 and CentOS 5.5 x86_64.  I have edited my /etc/redhat-release file
 to be equal to RHEL's, as the DFM installer immediately aborts if that
 isn't right.  However, I still have errors during the install:


...

 Communication error
 error: %post(NTAPdfm-3.8-6640.i386) scriptlet failed, exit status 1



...

 Jul 19 12:58:11 lnxsvr41 SQLAnywhere(monitordb): Running Linux
 2.6.9-89.0.25.ELsmp #1 SMP Thu May 6 12:28:03 EDT 2010 on X86 (X86_64)
 Jul 19 12:58:11 lnxsvr41 SQLAnywhere(monitordb): Server built for X86
 processor architecture Jul 19 12:58:11 lnxsvr41
 SQLAnywhere(monitordb): Asynchronous IO disabled due to lack of proper
 OS support


You said you tried 4.8 32bit and 5.5 64bit. how about 5.6 32bit?

The era would be about right on C5 and it's obviously looking for
32bit libraries and architecture

What do the docs and NetApp say about RHEL support?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Iptables - flooding console

2011-07-20 Thread Daniel DeFreez
On Wed, Jul 20, 2011 at 9:40 AM, cbul...@gmail.com cbul...@gmail.comwrote:



 On 7/20/2011 10:18 AM, Keith Roberts wrote:
  On Wed, 20 Jul 2011, cbul...@gmail.com wrote:
 
  To: centos@centos.org
  From: cbul...@gmail.comcbul...@gmail.com
  Subject: [CentOS] Iptables - flooding console
 
  Hi,
 
  We are trying to track some specific rules using  LOG as target.
  Everything is working well but the problem is that iptables is flooding
  the console with LOG messages.
  We tried --log level 4 on iptables rules but it didn't work.
  We fixed the problem changing KLOGD_OPTIONS value in
  /etc/sysconfig/syslog to:
  KLOG_OPTIONS=-c 4
 
  Is it the best option or we are missing something?
 
  Thanks in advance
  I had this problem as well. The firewall logs were being
  sent (tailed/tee'd ?) to the console, which is a pain if you
  are using mc or any other console application.
 
  To fix it on Centos 5.5/6 I just added the following
  to the top of the /etc/syslog.conf file.
 
  Deleted these lines as not in use:
 
  # Log all kernel messages to the console.
  # Logging much else clutters up the screen.
  #kern.*   /dev/console
 
 
  Replaced with:
  # Log all firewall messages to a file.
  kern.=debug  /var/log/firewall-log
 
  Obviously you need to make sure the firewall log file
  exists
 
  -rw-r--r--  keith  users39039 Jul 20 15:24 firewall-log
 
  Kind Regards,
 
 Thanks  Keith,

 I tried your solution but it didn't work. (man 8 syslogd describes what
 you said)
 First I returned the default value on KLOG_OPTIONS, I restarted the
 syslog service but the iptables still continuous sending the log to
 console.
 I forget mention the info system:

 CentOS 5.6

 [root@server_56 ~]# uname -r
 2.6.18-238.el5
 [root@server_56 ~]# iptables -V
 iptables v1.3.5

 Sincerely,

 Julio


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


We prevent firewall messages from being logged to the console by setting
kernel.printk in sysctl.conf.

kernel.printk = 3 4 1 7

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


Re: [CentOS] Iptables - flooding console

2011-07-20 Thread Keith Roberts
On Wed, 20 Jul 2011, cbul...@gmail.com wrote:

 To: centos@centos.org
 From: cbul...@gmail.com cbul...@gmail.com
 Subject: Re: [CentOS] Iptables - flooding console
 


 On 7/20/2011 10:18 AM, Keith Roberts wrote:
 On Wed, 20 Jul 2011, cbul...@gmail.com wrote:

 To: centos@centos.org
 From: cbul...@gmail.comcbul...@gmail.com
 Subject: [CentOS] Iptables - flooding console

 Hi,

 We are trying to track some specific rules using  LOG as target.
 Everything is working well but the problem is that iptables is flooding
 the console with LOG messages.
 We tried --log level 4 on iptables rules but it didn't work.
 We fixed the problem changing KLOGD_OPTIONS value in
 /etc/sysconfig/syslog to:
 KLOG_OPTIONS=-c 4

 Is it the best option or we are missing something?

 Thanks in advance
 I had this problem as well. The firewall logs were being
 sent (tailed/tee'd ?) to the console, which is a pain if you
 are using mc or any other console application.

 To fix it on Centos 5.5/6 I just added the following
 to the top of the /etc/syslog.conf file.

 Deleted these lines as not in use:

 # Log all kernel messages to the console.
 # Logging much else clutters up the screen.
 #kern.*   /dev/console


 Replaced with:
 # Log all firewall messages to a file.
 kern.=debug  /var/log/firewall-log

 Obviously you need to make sure the firewall log file
 exists

 -rw-r--r--  keith  users39039 Jul 20 15:24 firewall-log

 Kind Regards,

 Thanks  Keith,

 I tried your solution but it didn't work. (man 8 syslogd describes what
 you said)
 First I returned the default value on KLOG_OPTIONS, I restarted the
 syslog service but the iptables still continuous sending the log to console.
 I forget mention the info system:

 CentOS 5.6

 [root@server_56 ~]# uname -r
 2.6.18-238.el5
 [root@server_56 ~]# iptables -V
 iptables v1.3.5

OK Julio.

There was a kernel update last night, so here's what my 5.6 
box has got on it:

[root@karsites ~]# uname -r
2.6.18-238.19.1.el5

[root@karsites ~]# iptables -V
iptables v1.3.5

my /etc/sysconfig/syslog file is untouched by me:

###

# Options to syslogd
# -m 0 disables 'MARK' messages.
# -r enables logging from remote machines
# -x disables DNS lookups on messages recieved with -r
# See syslogd(8) for more details 
SYSLOGD_OPTIONS=-m 0
# Options to klogd
# -2 prints all kernel oops messages twice; once for klogd 
to decode, and
#once for processing with 'ksymoops'
# -x disables all klogd processing of oops messages entirely 
# See klogd(8) for more details
KLOGD_OPTIONS=-x
#
SYSLOG_UMASK=077
# set this to a umask value to use for all log files as in 
umask(1).
# By default, all permissions are removed for group and 
other.

#

The only file I alter is /etc/syslog.conf which contains:

#

# Log all firewall messages to a file.
kern.=debug/var/log/firewall-log

# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none  /var/log/messages

# The authpriv file has restricted access.
authpriv.* /var/log/secure

# Log all the mail messages in one place.
mail.*-/var/log/maillog

# Log cron stuff
cron.*/var/log/cron

# Everybody gets emergency messages
*.emerg   *

# Save news errors of level crit and higher in a special file.
uucp,news.crit   /var/log/spooler

# Save boot messages also to boot.log
local7.* /var/log/boot.log

#

and my IPtables rules for logging packets are:

#--#
# create a new chain for apache connections
#--#

  iptables -N open_port_80

# LOG all local connections to apache port 80
  iptables -A open_port_80 ! -i eth0 -p tcp --dport 80 \
-j LOG --log-level 7 --log-prefix 'Local Port 80 connects '

# ACCEPT all local connections to apache port 80
  iptables -A open_port_80 ! -i eth0 -p tcp --dport 80 -j 
ACCEPT

#--#

Here's what I get in my firewall-log file. Just did a 
connect from localhost to check it's all working OK.

Jul 20 18:47:07 karsites kernel: Local Port 80 connects 
IN=lo OUT= MAC=00:00
:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 
DST=127.0.0.1 LEN=52 TOS=
0x00 PREC=0x00 TTL=64 ID=40422 DF PROTO=TCP SPT=59791 DPT=80 
WINDOW=386 RES=
0x00 ACK FIN URGP=0

Maybe you need to take another look at your IPtables logging 
rule?

Kind Regards,

Keith

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org

Re: [CentOS] managing a rack full of centos servers

2011-07-20 Thread John R Pierce
On 07/20/11 10:12 AM, Eero Volotinen wrote:
 Oracle named user license is very cheap ..

but if you read the license, every single node that generates data is 
considered a 'user', even if it goes through a webservice or other form 
of 'data concentrator' and doesn't directly connect to SQL.



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


Re: [CentOS] Iptables - flooding console

2011-07-20 Thread cbul...@gmail.com


On 7/20/2011 12:52 PM, Keith Roberts wrote:
 On Wed, 20 Jul 2011, cbul...@gmail.com wrote:

 To: centos@centos.org
 From: cbul...@gmail.comcbul...@gmail.com
 Subject: Re: [CentOS] Iptables - flooding console



 On 7/20/2011 10:18 AM, Keith Roberts wrote:
 On Wed, 20 Jul 2011, cbul...@gmail.com wrote:

 To: centos@centos.org
 From: cbul...@gmail.comcbul...@gmail.com
 Subject: [CentOS] Iptables - flooding console

 Hi,

 We are trying to track some specific rules using  LOG as target.
 Everything is working well but the problem is that iptables is flooding
 the console with LOG messages.
 We tried --log level 4 on iptables rules but it didn't work.
 We fixed the problem changing KLOGD_OPTIONS value in
 /etc/sysconfig/syslog to:
 KLOG_OPTIONS=-c 4

 Is it the best option or we are missing something?

 Thanks in advance
 I had this problem as well. The firewall logs were being
 sent (tailed/tee'd ?) to the console, which is a pain if you
 are using mc or any other console application.

 To fix it on Centos 5.5/6 I just added the following
 to the top of the /etc/syslog.conf file.

 Deleted these lines as not in use:

 # Log all kernel messages to the console.
 # Logging much else clutters up the screen.
 #kern.*   /dev/console


 Replaced with:
 # Log all firewall messages to a file.
 kern.=debug  /var/log/firewall-log

 Obviously you need to make sure the firewall log file
 exists

 -rw-r--r--  keith  users39039 Jul 20 15:24 firewall-log

 Kind Regards,

 Thanks  Keith,

 I tried your solution but it didn't work. (man 8 syslogd describes what
 you said)
 First I returned the default value on KLOG_OPTIONS, I restarted the
 syslog service but the iptables still continuous sending the log to console.
 I forget mention the info system:

 CentOS 5.6

 [root@server_56 ~]# uname -r
 2.6.18-238.el5
 [root@server_56 ~]# iptables -V
 iptables v1.3.5
 OK Julio.

 There was a kernel update last night, so here's what my 5.6
 box has got on it:

 [root@karsites ~]# uname -r
 2.6.18-238.19.1.el5

 [root@karsites ~]# iptables -V
 iptables v1.3.5

 my /etc/sysconfig/syslog file is untouched by me:

 ###

 # Options to syslogd
 # -m 0 disables 'MARK' messages.
 # -r enables logging from remote machines
 # -x disables DNS lookups on messages recieved with -r
 # See syslogd(8) for more details
 SYSLOGD_OPTIONS=-m 0
 # Options to klogd
 # -2 prints all kernel oops messages twice; once for klogd
 to decode, and
 #once for processing with 'ksymoops'
 # -x disables all klogd processing of oops messages entirely
 # See klogd(8) for more details
 KLOGD_OPTIONS=-x
 #
 SYSLOG_UMASK=077
 # set this to a umask value to use for all log files as in
 umask(1).
 # By default, all permissions are removed for group and
 other.

 #

 The only file I alter is /etc/syslog.conf which contains:

 #

 # Log all firewall messages to a file.
 kern.=debug/var/log/firewall-log

 # Log anything (except mail) of level info or higher.
 # Don't log private authentication messages!
 *.info;mail.none;authpriv.none;cron.none  /var/log/messages

 # The authpriv file has restricted access.
 authpriv.* /var/log/secure

 # Log all the mail messages in one place.
 mail.*-/var/log/maillog

 # Log cron stuff
 cron.*/var/log/cron

 # Everybody gets emergency messages
 *.emerg   *

 # Save news errors of level crit and higher in a special file.
 uucp,news.crit   /var/log/spooler

 # Save boot messages also to boot.log
 local7.* /var/log/boot.log

 #

 and my IPtables rules for logging packets are:

 #--#
 # create a new chain for apache connections
 #--#

iptables -N open_port_80

 # LOG all local connections to apache port 80
iptables -A open_port_80 ! -i eth0 -p tcp --dport 80 \
  -j LOG --log-level 7 --log-prefix 'Local Port 80 connects '

 # ACCEPT all local connections to apache port 80
iptables -A open_port_80 ! -i eth0 -p tcp --dport 80 -j
 ACCEPT

 #--#

 Here's what I get in my firewall-log file. Just did a
 connect from localhost to check it's all working OK.

 Jul 20 18:47:07 karsites kernel: Local Port 80 connects
 IN=lo OUT= MAC=00:00
 :00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1
 DST=127.0.0.1 LEN=52 TOS=
 0x00 PREC=0x00 TTL=64 ID=40422 DF PROTO=TCP SPT=59791 DPT=80
 WINDOW=386 RES=
 0x00 ACK FIN URGP=0

 Maybe you need to take another look at your IPtables logging
 rule?

 Kind Regards,

 Keith

 -

Keith and Daniel,

Thanks so much for your help!.

Keith you are right. I had --log-level 4 in the iptables rules because I 
played with that option in order to fix the problem. Now, it's working well.
I didn't update the kernel.

Sincerely,

Julio



[CentOS] Script to sync with repo

2011-07-20 Thread Jerry Geis
under 5.6 I have a script that runs every night to rsync the repodata 
for local installations.
I added the 6.0 to do the same.

Something seems wrong now for 6.0. I do the same thing and I get errors 
from my local repo at install time.
Seems like the cyrus-sasl package is never happy and aborts the 
installation.

Is something wrong with the script below? It seems like it successfully 
copies the files.
I ran it manually and did not see any errors.

Any thoughts?

Thanks,

Jerry

# The kickstart files point to the repo
#
# This file will creat the directories and copy the files
#
for VERSION in 5.6 6.0
do
mkdir -p /var/www/html/centos/$VERSION/updates/x86_64/RPMS
mkdir -p /var/www/html/centos/$VERSION/updates/x86_64/repodata

rsync -av 
rsync://mirrors.kernel.org/mirrors/centos/$VERSION/updates/x86_64/RPMS/* 
/var/www/html/centos/$VERSION/updates/x86_64/RPMS
rsync -av 
rsync://mirrors.kernel.org/mirrors/centos/$VERSION/updates/x86_64/repodata/* 
/var/www/html/centos/$VERSION/updates/x86_64/repodata
done
~  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 2 questions on CentOS firewall

2011-07-20 Thread Timothy Murphy
Markus Falb wrote:

 I would use tcpdump on the CentOS Server to be sure the icmp echo
 requests are arriving or not. tcpdump is something like ethereal but it
 could be as easy as
 
 $ tcpdump -l proto \\icmp
 or
 $ tcpdump -l proto \\icmp and host sourceip
 or
 $ tcpdump -li ethX proto \\icmp
 or
 ...

Thanks for the instructions.
Nothing seems to get through:
--
[tim@helen ~]$ ping anghiari.homelinux.com
PING anghiari.homelinux.com (79.46.6.203) 56(84) bytes of data.

--- anghiari.homelinux.com ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2000ms
--

--
[root@alfred tim]# tcpdump -l proto \\icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes

--

So I assume the modem is rejecting the ICMP packets.
As I said, I don't see anything about this
in the modem documentation or on the modem web-site.


-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

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


Re: [CentOS] 2 questions on CentOS firewall

2011-07-20 Thread Ljubomir Ljubojevic
Timothy Murphy wrote:
 Markus Falb wrote:
 
 I would use tcpdump on the CentOS Server to be sure the icmp echo
 requests are arriving or not. tcpdump is something like ethereal but it
 could be as easy as

 $ tcpdump -l proto \\icmp
 or
 $ tcpdump -l proto \\icmp and host sourceip
 or
 $ tcpdump -li ethX proto \\icmp
 or
 ...
 
 Thanks for the instructions.
 Nothing seems to get through:
 --
 [tim@helen ~]$ ping anghiari.homelinux.com
 PING anghiari.homelinux.com (79.46.6.203) 56(84) bytes of data.
 
 --- anghiari.homelinux.com ping statistics ---
 3 packets transmitted, 0 received, 100% packet loss, time 2000ms
 --
 
 --
 [root@alfred tim]# tcpdump -l proto \\icmp
 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
 listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
 
 --
 
 So I assume the modem is rejecting the ICMP packets.
 As I said, I don't see anything about this
 in the modem documentation or on the modem web-site.
 
 

ICMP packet always reaches the system with destination IP, unless it was 
purposely redirected by the system with the IP. In your case this is 
modem/router, so he responds.

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 2 questions on CentOS firewall

2011-07-20 Thread Timothy Murphy
Ljubomir Ljubojevic wrote:

 ICMP packets are blocked by Billion, it's 99% chance, since public IP
 resides on the Billion. Only way (known to me) to pass ICMP to your
 CentOS server (on cheap modem/routers) is to do 1:1 NAT (all connections
 to all ports are redirected to system behind it with set IP).
 
 If you need to be able to ping CemtOS system and not Billion, then you
 should set modem to bridge mode and pass public IP to CentOS. But caveat
 is that this would mean that if you turn on CentOS firewall or set it
 improperly you would be wide open, and that you will not be able to
 willfully bypass CentOS server (if he is down) and just plug PC's to
 modem directly.

Thanks for the response.
I don't really mind if external sites cannot ping the machine;
I was just a little surprised at this,
particularly as I didn't see anything about it in the documentation.

I'll try asking on the Billion site.

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

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


[CentOS] Variable assigned to grep output - missing letter n!

2011-07-20 Thread Sean Carolan
This is kind of odd.

[scarolan@host:~]$ cat loremipsum.txt
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec quis
ipsum sed elit laoreet malesuada. Quisque rhoncus dui vitae eros
euismod fermentum sollicitudin sem scelerisque. Nulla facilisi.
Maecenas mollis pulvinar euismod. Duis viverra pharetra turpis eget
feugiat. Nulla facilisi. Nullam facilisis, felis vitae lacinia
fermentum, enim erat placerat erat, vel imperdiet lorem velit et
ligula. Nam congue est in nisl lacinia lobortis. Vivamus elementum
lacinia sodales. Curabitur commodo risus tincidunt augue pulvinar
vehicula. Morbi eget velit sollicitudin nibh porta molestie. Maecenas
in augue id quam ullamcorper rutrum.

[scarolan@host:~]$ vi loremipsum.txt
[scarolan@host:~]$ myvar=$(grep lorem loremipsum.txt)
[scarolan@host:~]$ echo $myvar
Lorem ipsum dolor sit amet, co sectetur adipisci g elit. Do ec quis
ipsum sed elit laoreet malesuada. Quisque rho cus dui vitae eros
euismod ferme tum sollicitudi  sem scelerisque. Nulla facilisi. Maece
as mollis pulvi ar euismod. Duis viverra pharetra turpis eget feugiat.
Nulla facilisi. Nullam facilisis, felis vitae laci ia ferme tum, e im
erat placerat erat, vel imperdiet lorem velit et ligula. Nam co gue
est i   isl laci ia lobortis. Vivamus eleme tum laci ia sodales.
Curabitur commodo risus ti cidu t augue pulvi ar vehicula. Morbi eget
velit sollicitudi   ibh porta molestie. Maece as i  augue id quam
ullamcorper rutrum.

Where did all the letter n's go?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Script to sync with repo

2011-07-20 Thread Joseph L. Casale
for VERSION in 5.6 6.0

Check your httpd error log for a 404:)
Just a WAG, I presume you modified your 5x installs to not look in the default
5 location, where point releases get symlinked too once they are current.

Your 6.0 install looks for a 6 directory.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Script to sync with repo

2011-07-20 Thread Devin Reade
Also try an invocation of rsync with the checksum flag; that'll 
catch any files that might be corrupted.  It does increase server
load and rsync run time, though, so you should probably disable it
again afterwards.

Devin

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


Re: [CentOS] Variable assigned to grep output - missing letter n!

2011-07-20 Thread Lamar Owen
On Wednesday, July 20, 2011 03:23:58 PM Sean Carolan wrote:
[snip]
 Where did all the letter n's go?

I can't duplicate the problem here on a CentOS 5.6 box.  What locale are you 
set to?  Here's what I get (note that a copy from the e-mail you sent embedded 
newlines, which had to be stripped out (one of the many things xargs makes 
trivially easy) to get the result):

$ cat loremipsum.txt
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec quis
ipsum sed elit laoreet malesuada. Quisque rhoncus dui vitae eros
euismod fermentum sollicitudin sem scelerisque. Nulla facilisi.
Maecenas mollis pulvinar euismod. Duis viverra pharetra turpis eget
feugiat. Nulla facilisi. Nullam facilisis, felis vitae lacinia
fermentum, enim erat placerat erat, vel imperdiet lorem velit et
ligula. Nam congue est in nisl lacinia lobortis. Vivamus elementum
lacinia sodales. Curabitur commodo risus tincidunt augue pulvinar
vehicula. Morbi eget velit sollicitudin nibh porta molestie. Maecenas
in augue id quam ullamcorper rutrum.

$ myvar=$(grep lorem loremipsum.txt)
$ echo $myvar
fermentum, enim erat placerat erat, vel imperdiet lorem velit et
$ mv loremipsum.txt lorem-newlines.txt
$ cat lorem-newlines.txt |xargs -n 100
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec quis ipsum sed 
elit laoreet malesuada. Quisque rhoncus dui vitae eros euismod fermentum 
sollicitudin sem scelerisque. Nulla facilisi. Maecenas mollis pulvinar euismod. 
Duis viverra pharetra turpis eget feugiat. Nulla facilisi. Nullam facilisis, 
felis vitae lacinia fermentum, enim erat placerat erat, vel imperdiet lorem 
velit et ligula. Nam congue est in nisl lacinia lobortis. Vivamus elementum 
lacinia sodales. Curabitur commodo risus tincidunt augue pulvinar vehicula. 
Morbi eget velit sollicitudin nibh porta molestie. Maecenas in augue id quam 
ullamcorper rutrum.
$ cat lorem-newlines.txt |xargs -n 100 loremipsum.txt
$ myvar=$(grep lorem loremipsum.txt)
$ echo $myvar
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec quis ipsum sed 
elit laoreet malesuada. Quisque rhoncus dui vitae eros euismod fermentum 
sollicitudin sem scelerisque. Nulla facilisi. Maecenas mollis pulvinar euismod. 
Duis viverra pharetra turpis eget feugiat. Nulla facilisi. Nullam facilisis, 
felis vitae lacinia fermentum, enim erat placerat erat, vel imperdiet lorem 
velit et ligula. Nam congue est in nisl lacinia lobortis. Vivamus elementum 
lacinia sodales. Curabitur commodo risus tincidunt augue pulvinar vehicula. 
Morbi eget velit sollicitudin nibh porta molestie. Maecenas in augue id quam 
ullamcorper rutrum.
$ 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Script to sync with repo

2011-07-20 Thread Joseph L. Casale
It does increase server
load and rsync run time, though, so you should probably disable it
again afterwards.

That's why most repo's don't allow the use of it, I use the same master
as you Jerry, and they are certainly far too large to allow that.

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


Re: [CentOS] CentOS 6 PXE boot: Unable to download the kickstart file

2011-07-20 Thread Ole Holm Nielsen
Patrick Lists wrote:
 I fail to see how your repository problem is related to my Kickstart PXE/NFS
 problem.  We can install CentOS 6 (no Kickstart) without problems using PXE.
 It's the NFS-mounting of the Kickstart-file which fails.  What I'd love to 
 learn
 is how others have made NFS/Kickstart work...

 Is CentOS 6 assuming NFSv4 by default perhaps?

 According to the RHEL 6.0 Release Notes it is:

 Mounting a file system via NFS now defaults to NFSv4.

Yes, this sounds like the correct explanation!  Our RHEL5.6 PXE/TFTP/NFS
server is certainly configured for NFSv3.  I haven't explored the NFSv4
approach though.

How can we tweak the CentOS6 Kickstart installation to explicitly
request an NFSv3 service in the PXE config file:

 kernel CentOS-6-i386/vmlinuz
 append load_ramdisk=1 initrd=CentOS-6-i386/initrd.img network 
ks=nfs:130.226.86.4:/u/rpm/kickstart/ks-centos-6-clean-i386.cfg

To rephrase my question: Where do we find documentation for the vmlinuz
append flags shown above, in particular documentation of the ks=... flags?

Hopefully there'll be some way to force an NFSv3 mount in stead of the
default NFSv4?  Or perhaps we need to use http: and stop using nfs: with
CentOS6?

Thanks,
Ole

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


Re: [CentOS] Variable assigned to grep output - missing letter n!

2011-07-20 Thread Sean Carolan
2011/7/20 Lamar Owen lo...@pari.edu:
 On Wednesday, July 20, 2011 03:23:58 PM Sean Carolan wrote:
 [snip]
 Where did all the letter n's go?

 I can't duplicate the problem here on a CentOS 5.6 box.  What locale are you 
 set to?  Here's what I get (note that a copy from the e-mail you sent 
 embedded newlines, which had to be stripped out (one of the many things xargs 
 makes trivially easy) to get the result):

Here's a simpler example, with a single line in the file:

[scarolan@server:~]$ cat loremipsum.txt
Lorem ipsum dolor sit amet, consectetur adipiscing elit. n n n n n
lots of letter n!

[scarolan@server:~]$ myvar=$(grep Lorem loremipsum.txt)

[scarolan@server:~]$ echo $myvar
Lorem ipsum dolor sit amet, co sectetur adipisci g elit.
lots of letter  !

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


Re: [CentOS] Variable assigned to grep output - missing letter n!

2011-07-20 Thread Ljubomir Ljubojevic
Sean Carolan wrote:
 This is kind of odd.
 
 [scarolan@host:~]$ cat loremipsum.txt
 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec quis
 ipsum sed elit laoreet malesuada. Quisque rhoncus dui vitae eros
 euismod fermentum sollicitudin sem scelerisque. Nulla facilisi.
 Maecenas mollis pulvinar euismod. Duis viverra pharetra turpis eget
 feugiat. Nulla facilisi. Nullam facilisis, felis vitae lacinia
 fermentum, enim erat placerat erat, vel imperdiet lorem velit et
 ligula. Nam congue est in nisl lacinia lobortis. Vivamus elementum
 lacinia sodales. Curabitur commodo risus tincidunt augue pulvinar
 vehicula. Morbi eget velit sollicitudin nibh porta molestie. Maecenas
 in augue id quam ullamcorper rutrum.
 
 [scarolan@host:~]$ vi loremipsum.txt
 [scarolan@host:~]$ myvar=$(grep lorem loremipsum.txt)
 [scarolan@host:~]$ echo $myvar
 Lorem ipsum dolor sit amet, co sectetur adipisci g elit. Do ec quis
 ipsum sed elit laoreet malesuada. Quisque rho cus dui vitae eros
 euismod ferme tum sollicitudi  sem scelerisque. Nulla facilisi. Maece
 as mollis pulvi ar euismod. Duis viverra pharetra turpis eget feugiat.
 Nulla facilisi. Nullam facilisis, felis vitae laci ia ferme tum, e im
 erat placerat erat, vel imperdiet lorem velit et ligula. Nam co gue
 est i   isl laci ia lobortis. Vivamus eleme tum laci ia sodales.
 Curabitur commodo risus ti cidu t augue pulvi ar vehicula. Morbi eget
 velit sollicitudi   ibh porta molestie. Maece as i  augue id quam
 ullamcorper rutrum.
 
 Where did all the letter n's go?

1. What does grep lorem loremipsum.txt say?
2. What does echo loremipsum.txt | grep lorem say?


-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Variable assigned to grep output - missing letter n!

2011-07-20 Thread Sean Carolan
 [scarolan@server:~]$ echo $myvar
 Lorem ipsum dolor sit amet, co sectetur adipisci g elit.
 lots of letter  !

 Weird huh?

Ok, I'm a bonehead; I had this in my bash history:

IFS='\n'

That seems to have been the cause of the missing n's.  Now the next
question would be, how can I include the \n characters in my variable
string, without fudging with $IFS?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Iptables - flooding console

2011-07-20 Thread Keith Roberts
On Wed, 20 Jul 2011, cbul...@gmail.com wrote:

*snip*

 Keith and Daniel,

 Thanks so much for your help!.

 Keith you are right. I had --log-level 4 in the iptables 
 rules because I played with that option in order to fix 
 the problem. Now, it's working well. I didn't update the 
 kernel.

Hi Julio. Very pleased to hear you have it working now.

It's also nice to be right for a change - if only life was 
as simple as writing IPtables rules ;)

Kind Regards,

Keith Roberts

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Memory Usage in Top and System Monitor

2011-07-20 Thread Michael McNulty

Can someone help clear up some confusion in reading memory usage in Top and 
System monitor. Here is a picture of both.
http://s1176.photobucket.com/albums/x327/ionosphere2011/

Why does System Monitor show 1.7gb free out of 8gb.  While Top shows all 8gb 
being used?
If 1.7gb is free then it should not be using swap space so I assume System 
Monitor is reporting it incorrectly?

Thanks

-- Mike

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


Re: [CentOS] Script to sync with repo

2011-07-20 Thread Paul Heinlein
On Wed, 20 Jul 2011, Jerry Geis wrote:

 under 5.6 I have a script that runs every night to rsync the repodata
 for local installations.
 I added the 6.0 to do the same.

 Something seems wrong now for 6.0. I do the same thing and I get errors
 from my local repo at install time.
 Seems like the cyrus-sasl package is never happy and aborts the
 installation.

 Is something wrong with the script below? It seems like it successfully
 copies the files.
 I ran it manually and did not see any errors.

 Any thoughts?

 Thanks,

 Jerry

 # The kickstart files point to the repo
 #
 # This file will creat the directories and copy the files
 #
 for VERSION in 5.6 6.0
 do
mkdir -p /var/www/html/centos/$VERSION/updates/x86_64/RPMS
mkdir -p /var/www/html/centos/$VERSION/updates/x86_64/repodata

rsync -av
 rsync://mirrors.kernel.org/mirrors/centos/$VERSION/updates/x86_64/RPMS/*
 /var/www/html/centos/$VERSION/updates/x86_64/RPMS
rsync -av
 rsync://mirrors.kernel.org/mirrors/centos/$VERSION/updates/x86_64/repodata/*
 /var/www/html/centos/$VERSION/updates/x86_64/repodata
 done

Here's my script. Obviously, it picks up the os/ tree as well as the 
updates/ tree. So far, no problems with 5.x or 6.x:

#!/bin/sh
for VERS in 5.6 6.0; do
   SRC=ftp.osuosl.org::centos/${VERS}/
   DEST=/srv/mirrors/centos/${VERS}/
   echo ---
   echo Sync-ing CentOS $VERS with $SRC
   echo
   /usr/bin/rsync -avSH \
 --exclude isos --exclude centosplus --exclude extras \
 $SRC $DEST
   echo ---
done

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


[CentOS] Refurbished Dell Servers (fwd)

2011-07-20 Thread Keith Roberts
Just got this from another mailing list, just in case anyone 
here might be interested?

Keith Roberts

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-


-- Forwarded message --
To: ke...@karsites.net
From: Web Hosting Talk em...@inetinteractive-email.com
Subject: Refurbished Dell Servers

Web Hosting Talk Host Brief - 2011Jul20 - Apto Host Brief

If you are having trouble viewing this email,
http://click.inetinteractive-email.com/?qs=cc50bf36287ad5678e3ec13e6ca486e5d27b21fe27914a2cb17788bf8ba194a1
view it online

As a Web Hosting Talk member, we'd like to offer you this special message from 
one of our partners.


Apto Solutions
http://click.inetinteractive-email.com/?qs=cc50bf36287ad56771e0ba40e223be2cd3e7d08ea0bb30a4413fa5433be28305

Full racks available. Tested and guaranteed.

Each 2U rack-mounted chassis contains:
- Four server nodes
- Eight (8) Xeon 5420 SLARP Processors
- Sixteen (16) 4Gb PC2-5300 DIMMs
- Eight 3.5 750Gb SATA HDDs


  Supply is limited. Contact us today.
  Call Us: 1.855.ASK.APTO Email us:
mailto:i...@aptosolutions.com
i...@aptosolutions.com

  Visit our site:
http://click.inetinteractive-email.com/?qs=cc50bf36287ad56771e0ba40e223be2cd3e7d08ea0bb30a4413fa5433be28305
www.aptosolutions.com/poweredge.aspx

http://click.inetinteractive-email.com/?qs=cc50bf36287ad56771e0ba40e223be2cd3e7d08ea0bb30a4413fa5433be28305

Apto Solutions is the source for all of your IT equipment needs. Your trusted 
solution for quality, fully-tested, pre-owned  surplus new IT equipment. We 
are a leading global asset recovery service provider with large leasing, 
corporate, and government contracts. We are THE SOURCE for the secondary market.

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


Re: [CentOS] Memory Usage in Top and System Monitor

2011-07-20 Thread Robert Nichols
On 07/20/2011 02:56 PM, Michael McNulty wrote:
 Can someone help clear up some confusion in reading memory usage in Top and
 System monitor. Here is a picture of both.
 http://s1176.photobucket.com/albums/x327/ionosphere2011/ 
 mailto:centos@centos.org

 Why does System Monitor show 1.7gb free out of 8gb. While Top shows all 8gb
 being used?
 If 1.7gb is free then it should not be using swap space so I assume System
 Monitor is reporting it incorrectly?

Take a look at the output from the 'free' command.  In the first line of
memory usage numbers, buffer memory and cache memory is included in the
used category.  For the numbers in the +/- buffers/cache line, buffer
and cache memory is considered free since it can easily be used to
satisfy memory requests.  The 'top' command shows just that first set
of numbers.  System Monitor shows the more meaningful number from the
second line.

-- 
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] 2 questions on CentOS firewall

2011-07-20 Thread Timothy Murphy
Timothy Murphy wrote:

 So I assume the modem is rejecting the ICMP packets.
 As I said, I don't see anything about this
 in the modem documentation or on the modem web-site.

I suppose another possibility is that some site along the way
rejects ICMP packets?

traceroute seems to timeout in Milan:
---
[root@helen tim]# traceroute anghiari.homelinux.com
traceroute to anghiari.homelinux.com (79.46.6.203), 30 hops max, 40 byte 
packets
 1  netopia (192.168.1.254)  0.951 ms  1.132 ms  1.389 ms
 2  isp (159.134.155.19)  37.238 ms  39.560 ms  42.027 ms
...
12  telecomitalia.par02.atlas.cogentco.com (130.117.14.82)  67.140 ms 
telecomitalia.par02.atlas.cogentco.com (130.117.15.138)  92.952 ms ibs-
resid.milano50.mil.seabone.net (93.186.128.246)  87.098 ms
13  * * *
...
30  * * *
---
tcptraceroute gets to the modem, but after some timeouts:
---
[root@helen tim]# tcptraceroute anghiari.homelinux.com
traceroute to anghiari.homelinux.com (79.46.6.203), 30 hops max, 40 byte 
packets
 1  netopia (192.168.1.254)  1.491 ms  1.534 ms  1.784 ms
 2  isp (159.134.155.19)  36.195 ms  38.794 ms  41.328 ms
...
12  ibs-resid.milano50.mil.seabone.net (93.186.128.246)  85.084 ms  84.599 
ms  86.881 ms
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  host203-6-dynamic.46-79-r.retail.telecomitalia.it (79.46.6.203)  115.381 
ms  107.416 ms  114.875 ms
---

If anyone can interpret these for me, I shall be grateful.

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

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


Re: [CentOS] Memory Usage in Top and System Monitor

2011-07-20 Thread Ljubomir Ljubojevic
Robert Nichols wrote:
 On 07/20/2011 02:56 PM, Michael McNulty wrote:
 Can someone help clear up some confusion in reading memory usage in Top and
 System monitor. Here is a picture of both.
 http://s1176.photobucket.com/albums/x327/ionosphere2011/ 
 mailto:centos@centos.org

 Why does System Monitor show 1.7gb free out of 8gb. While Top shows all 8gb
 being used?
 If 1.7gb is free then it should not be using swap space so I assume System
 Monitor is reporting it incorrectly?
 
 Take a look at the output from the 'free' command.  In the first line of
 memory usage numbers, buffer memory and cache memory is included in the
 used category.  For the numbers in the +/- buffers/cache line, buffer
 and cache memory is considered free since it can easily be used to
 satisfy memory requests.  The 'top' command shows just that first set
 of numbers.  System Monitor shows the more meaningful number from the
 second line.
 

Linux kernel uses available memory for caching. If needed, it will use 
100% of free memory for caching. Cached data is stored for faster 
retrieval of applications, but can in any time be disposed of in favor 
of memory for applications.

Different apps will report memory usage differently because different 
people perceive definition of free memory in different ways.

If you place System Monitor on the panel you will see two colors, dark 
is memory used for/by applications, and above it will be light color 
(green is default) that represents cached data.

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 PXE boot: Unable to download the kickstart file

2011-07-20 Thread Ljubomir Ljubojevic
Ole Holm Nielsen wrote:
 Patrick Lists wrote:
 I fail to see how your repository problem is related to my Kickstart 
 PXE/NFS
 problem.  We can install CentOS 6 (no Kickstart) without problems using 
 PXE.
 It's the NFS-mounting of the Kickstart-file which fails.  What I'd love to 
 learn
 is how others have made NFS/Kickstart work...
 Is CentOS 6 assuming NFSv4 by default perhaps?
 According to the RHEL 6.0 Release Notes it is:

 Mounting a file system via NFS now defaults to NFSv4.
 
 Yes, this sounds like the correct explanation!  Our RHEL5.6 PXE/TFTP/NFS
 server is certainly configured for NFSv3.  I haven't explored the NFSv4
 approach though.
 
 How can we tweak the CentOS6 Kickstart installation to explicitly
 request an NFSv3 service in the PXE config file:
 
  kernel CentOS-6-i386/vmlinuz
  append load_ramdisk=1 initrd=CentOS-6-i386/initrd.img network 
 ks=nfs:130.226.86.4:/u/rpm/kickstart/ks-centos-6-clean-i386.cfg
 
 To rephrase my question: Where do we find documentation for the vmlinuz
 append flags shown above, in particular documentation of the ks=... flags?
 
 Hopefully there'll be some way to force an NFSv3 mount in stead of the
 default NFSv4?  Or perhaps we need to use http: and stop using nfs: with
 CentOS6?

I would suggest using NFSv4 on all of your servers. It needs only one 
port open on the firewall, tcp 2049 and I think it is better solution 
security wise (if I remember correctly).

I started to use NFSv4 from the start on the CentOS 5.x and never had 
any problems. Why not upgrade when opportunity presented it self.

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] MySQL ERROR - UNKNOWN_MYSQL_USER

2011-07-20 Thread Keith Roberts
This is strange behavior because as soon as I start mysqld 
with a clean error log, I get the following messages:

110720 21:38:47 [Note] /usr/libexec/mysqld: ready for 
connections.
Version: '5.5.14-log'  socket: '/var/lib/mysql/mysql.sock'
port: 2500  MySQL Community Server (GPL) by Remi

110720 21:38:48 [Warning] Access denied for user 
'UNKNOWN_MYSQL_USER'@'localhost' (using password: NO)

The strange things is, AFAIK there are no clients trying to 
connect to mysql. I shutdown a mysql CLI monitor I had 
running, and did the restart again.

So I'm just wondering why I get this message, when AFAIK 
there is nothing that should be trying to connect to mysql - 
unless it's a server daemon running somewhere?

Has anyone else come across this funny error message?

Kind Regards,

Keith Roberts

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 2 questions on CentOS firewall

2011-07-20 Thread Ljubomir Ljubojevic
Timothy Murphy wrote:
 Timothy Murphy wrote:
 
 So I assume the modem is rejecting the ICMP packets.
 As I said, I don't see anything about this
 in the modem documentation or on the modem web-site.
 
 I suppose another possibility is that some site along the way
 rejects ICMP packets?
 
 traceroute seems to timeout in Milan:
 ---
 [root@helen tim]# traceroute anghiari.homelinux.com
 traceroute to anghiari.homelinux.com (79.46.6.203), 30 hops max, 40 byte 
 packets
  1  netopia (192.168.1.254)  0.951 ms  1.132 ms  1.389 ms
  2  isp (159.134.155.19)  37.238 ms  39.560 ms  42.027 ms
 ...
 12  telecomitalia.par02.atlas.cogentco.com (130.117.14.82)  67.140 ms 
 telecomitalia.par02.atlas.cogentco.com (130.117.15.138)  92.952 ms ibs-
 resid.milano50.mil.seabone.net (93.186.128.246)  87.098 ms
 13  * * *
 ...
 30  * * *
 ---
 tcptraceroute gets to the modem, but after some timeouts:
 ---
 [root@helen tim]# tcptraceroute anghiari.homelinux.com
 traceroute to anghiari.homelinux.com (79.46.6.203), 30 hops max, 40 byte 
 packets
  1  netopia (192.168.1.254)  1.491 ms  1.534 ms  1.784 ms
  2  isp (159.134.155.19)  36.195 ms  38.794 ms  41.328 ms
 ...
 12  ibs-resid.milano50.mil.seabone.net (93.186.128.246)  85.084 ms  84.599 
 ms  86.881 ms
 13  * * *
 14  * * *
 15  * * *
 16  * * *
 17  * * *
 18  host203-6-dynamic.46-79-r.retail.telecomitalia.it (79.46.6.203)  115.381 
 ms  107.416 ms  114.875 ms
 ---
 
 If anyone can interpret these for me, I shall be grateful.
 
Those timeouts are normal occurrence. Some/most heavily loaded routers 
are configured to ignore traceroute requests, possibly even ICMP except 
for certain whitelisted IP's but cant remember of the top of my head.

Blocking ICMP's for customer IP's is not something ISP's do, for various 
reasons.

I take a look at Billion manual. It seams that you have to use it's 
firewall to add an allow rule for protocol icmp? and source IP 0.0.0.0. 
Destination might be also 0.0.0.0, haven't had the time to study it. 
This should allow pings from outside.

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] MySQL ERROR - UNKNOWN_MYSQL_USER

2011-07-20 Thread Ljubomir Ljubojevic
Keith Roberts wrote:
 This is strange behavior because as soon as I start mysqld 
 with a clean error log, I get the following messages:
 
 110720 21:38:47 [Note] /usr/libexec/mysqld: ready for 
 connections.
 Version: '5.5.14-log'  socket: '/var/lib/mysql/mysql.sock'
 port: 2500  MySQL Community Server (GPL) by Remi
 
 110720 21:38:48 [Warning] Access denied for user 
 'UNKNOWN_MYSQL_USER'@'localhost' (using password: NO)
 
 The strange things is, AFAIK there are no clients trying to 
 connect to mysql. I shutdown a mysql CLI monitor I had 
 running, and did the restart again.
 
 So I'm just wondering why I get this message, when AFAIK 
 there is nothing that should be trying to connect to mysql - 
 unless it's a server daemon running somewhere?
 
 Has anyone else come across this funny error message?
 

There must be some service that does uses MySQL but does not have user 
set. Website like CMS? Try getting more logs to see what app/script uses it.

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] MySQL ERROR - UNKNOWN_MYSQL_USER

2011-07-20 Thread Keith Roberts
On Wed, 20 Jul 2011, Ljubomir Ljubojevic wrote:

 To: CentOS mailing list centos@centos.org
 From: Ljubomir Ljubojevic off...@plnet.rs
 Subject: Re: [CentOS] MySQL ERROR - UNKNOWN_MYSQL_USER
 
 Keith Roberts wrote:
 This is strange behavior because as soon as I start mysqld
 with a clean error log, I get the following messages:

 110720 21:38:47 [Note] /usr/libexec/mysqld: ready for
 connections.
 Version: '5.5.14-log'  socket: '/var/lib/mysql/mysql.sock'
 port: 2500  MySQL Community Server (GPL) by Remi

 110720 21:38:48 [Warning] Access denied for user
 'UNKNOWN_MYSQL_USER'@'localhost' (using password: NO)

 The strange things is, AFAIK there are no clients trying to
 connect to mysql. I shutdown a mysql CLI monitor I had
 running, and did the restart again.

 So I'm just wondering why I get this message, when AFAIK
 there is nothing that should be trying to connect to mysql -
 unless it's a server daemon running somewhere?

 Has anyone else come across this funny error message?


 There must be some service that does uses MySQL but does 
 not have user set. Website like CMS? Try getting more logs 
 to see what app/script uses it.

Hi Ljubomir.

It might be collectd that can use mysql. The man page is 
over 5,000 pages for the config file. I seem to remember 
seeing a message at boot time about collectd not being 
configured properly to use mysql.

I installed collectd recently, so I could monitor my HDD 
temperatures using GKrellM, which it's doing OK.

I'll leave this for another day!

Kind Regards,

Keith

-
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] MySQL ERROR - UNKNOWN_MYSQL_USER

2011-07-20 Thread Ljubomir Ljubojevic
Keith Roberts wrote:
 On Wed, 20 Jul 2011, Ljubomir Ljubojevic wrote:
 
 To: CentOS mailing list centos@centos.org
 From: Ljubomir Ljubojevic off...@plnet.rs
 Subject: Re: [CentOS] MySQL ERROR - UNKNOWN_MYSQL_USER

 Keith Roberts wrote:
 This is strange behavior because as soon as I start mysqld
 with a clean error log, I get the following messages:

 110720 21:38:47 [Note] /usr/libexec/mysqld: ready for
 connections.
 Version: '5.5.14-log'  socket: '/var/lib/mysql/mysql.sock'
 port: 2500  MySQL Community Server (GPL) by Remi

 110720 21:38:48 [Warning] Access denied for user
 'UNKNOWN_MYSQL_USER'@'localhost' (using password: NO)

 The strange things is, AFAIK there are no clients trying to
 connect to mysql. I shutdown a mysql CLI monitor I had
 running, and did the restart again.

 So I'm just wondering why I get this message, when AFAIK
 there is nothing that should be trying to connect to mysql -
 unless it's a server daemon running somewhere?

 Has anyone else come across this funny error message?

 There must be some service that does uses MySQL but does 
 not have user set. Website like CMS? Try getting more logs 
 to see what app/script uses it.
 
 Hi Ljubomir.
 
 It might be collectd that can use mysql. The man page is 
 over 5,000 pages for the config file. I seem to remember 
 seeing a message at boot time about collectd not being 
 configured properly to use mysql.
 
 I installed collectd recently, so I could monitor my HDD 
 temperatures using GKrellM, which it's doing OK.

Then all you need to do is service collectd stop; service mysqld start 
and check the logs.

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Variable assigned to grep output - missing letter n!

2011-07-20 Thread Devin Reade
--On Wednesday, July 20, 2011 02:53:06 PM -0500 Sean Carolan
scaro...@gmail.com wrote:

 Now the next
 question would be, how can I include the \n characters in my variable
 string, without fudging with $IFS?

Can you describe, functionally and a bit higher level, what you're
trying to achieve?  Is myvar supposed to contain the entire file
content if the file contains lorem, or just any lines containing
lorem complete with newline, or are you expecting some other form 
of delimiter, or what?  Also of interest is what you're going to do
with myvar after the fact (write it out, do a replacement, whatever).

For example, if you're trying to do some form of processing that
only considers lines containing lorem, other tools might give
a cleaner, faster, and more maintainable result:

   #! /usr/bin/perl
   use taint;
   use strict;

   while () {
  if (m,lorem,) {
 # do something with $_
  }
   }

(No, I don't advocate perl for everything, but knowing more about the
problem can
help in determining a suitable solution.)

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


Re: [CentOS] Memory Usage in Top and System Monitor

2011-07-20 Thread Michael McNulty

Thanks for the replies.  I checked free and that makes sense to me now.  The 
only thing I cannot figure out is, if there is all this memory available why 
would swap space start building?
I started checking all this out because the system slowed to a crawl after I 
noticed swap space being used which does not make sense to me if there is 
available memory.

 total   used   free sharedbuffers cached
Mem:   83014487917100 384348  0  599846009248
-/+ buffers/cache:18478686453580
Swap:  412876012258962902864

btw - this is Centos 5.6 box using the PAE kernel.  2.6.18-238.12.1.el5PAE
  ___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Variable assigned to grep output - missing letter n!

2011-07-20 Thread Sean Carolan
 (No, I don't advocate perl for everything, but knowing more about the
 problem can
 help in determining a suitable solution.)

You're right, I gave up and used python instead.  The basic idea here
was to gather together a long list of hostnames by grepping through a
few hundred files, check the list for duplicates, and alert someone if
duplicates were found.  I had a nifty one-liner using grep, sort, and
uniq -c that basically spat out a list of hosts with duplicate
entries, but in the end it was easier to manipulate the data (at least
for me) using python.

thanks

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


Re: [CentOS] CentOS 6 PXE boot: Unable to download the kickstart file

2011-07-20 Thread Patrick Lists
On 07/20/2011 09:49 PM, Ole Holm Nielsen wrote:
 Mounting a file system via NFS now defaults to NFSv4.

 Yes, this sounds like the correct explanation!  Our RHEL5.6 PXE/TFTP/NFS
 server is certainly configured for NFSv3.  I haven't explored the NFSv4
 approach though.

 How can we tweak the CentOS6 Kickstart installation to explicitly
 request an NFSv3 service in the PXE config file:

If there is such an option then I could not find it. Maybe someone else 
knows how to force NFSv3.

   kernel CentOS-6-i386/vmlinuz
   append load_ramdisk=1 initrd=CentOS-6-i386/initrd.img network
 ks=nfs:130.226.86.4:/u/rpm/kickstart/ks-centos-6-clean-i386.cfg

 To rephrase my question: Where do we find documentation for the vmlinuz
 append flags shown above, in particular documentation of the ks=... flags?

Try the Installation Guide: https://access.redhat.com/knowledge/docs/

 Hopefully there'll be some way to force an NFSv3 mount in stead of the
 default NFSv4?Or perhaps we need to use http: and stop using nfs: with
 CentOS6?

I have used NFS (v3  v4) and HTTP and for me HTTP was faster so I 
continued to use HTTP.

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


Re: [CentOS] Memory Usage in Top and System Monitor

2011-07-20 Thread Robert Nichols
On 07/20/2011 05:27 PM, Michael McNulty wrote:
 Thanks for the replies. I checked free and that makes sense to me now. The 
 only
 thing I cannot figure out is, if there is all this memory available why would
 swap space start building?
 I started checking all this out because the system slowed to a crawl after I
 noticed swap space being used which does not make sense to me if there is
 available memory.

 total used free shared buffers cached
 Mem: 8301448 7917100 384348 0 59984 6009248
 -/+ buffers/cache: 1847868 6453580
 Swap: 4128760 1225896 2902864

 btw - this is Centos 5.6 box using the PAE kernel. 2.6.18-238.12.1.el5PAE

That indicates that at one time there were processes using a lot of memory,
and 1.2GB got swapped out to satisfy that.  Until something tries to access
those pages they will just sit there in swap.  Whatever process needs those
pages will be a bit slow the next time it wakes up, but since you've got
plento of available memory now those pages should then remain in physical
memory.  The system should not continue to run slow.  If you like, you can
force everything to be paged back in by running (as root) swapoff -av,
followed by swapon -av to re-activate your swap space.

-- 
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] Memory Usage in Top and System Monitor‏

2011-07-20 Thread Michael McNulty

I think I found my problem.  I did not realize using /dev/shm as a ramdisk will 
create swap space.  Is there a way to prevent the ramdisk from swapping to disk?
  ___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 PXE boot:Unable to download the kickstart file

2011-07-20 Thread Mogens Kjaer
On 07/20/2011 05:15 PM, Ole Holm Nielsen wrote:
 What I'd love to learn
 is how others have made NFS/Kickstart work...

I download the kickstart file via http:

append initrd=initrd_c60_x86_64.img 
ks=http://172.20.0.1/linux/c6_x86_64.ks nofb

Works for CentOS 5 and 6.

Mogens

-- 
Mogens Kjaer, m...@lemo.dk
http://www.lemo.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos