Re: [CentOS-virt] centos 4.7 / kvm

2009-02-23 Thread Michael Kress
Michael Kress wrote:
 I'm trying to install centos-4.7 under kvm (for legacy reasons). I can't
 get the beast installed, it crashes (see output below).
 I'm using:
 qemu 0.9.1
 kvm-72
 libvirt-0.4.6
 kernel 2.6.26

 What can I do in order to get the installation being done?
 The host is a x86_64 machine (debian5).
   

...
 8011ea9c{setup_apic_nmi_watchdog+47}

   
...

Hi, just to let you know, I found out myself, have to add the following
kernel parameter:
nmi_watchdog=0
Can anybody judge if this has severe consequences or is there a chance
that the machine could run stable as a plain web server?
Regards
Michael



-- 
Michael Kress, kr...@hal.saar.de
http://www.michael-kress.de / http://kress.net
P E N G U I N S   A R E   C O O L

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


Re: [CentOS-es] mysql 3.2

2009-02-23 Thread Fernando Rojas
 ¿en donde me documento para instalar la versión 4?

Saludos desde mx.
mensaje original-
De: Walter Cervini wcerv...@gmail.com
Para: centos-es@centos.org
Fecha: Thu, 5 Feb 2009 11:03:38 +1930
-
 
 
 Yo he montado 4.1.22, en CentOS 5.2.
 
 2009/2/5 Fernando Rojas fernandoro...@eneut.org
 
 alguno de ustedes ha conseguido instalar mysql 3.2 o algun contemporáneo
 en centos5?

 algun tip que me puedan dar para saber donde comenzar? san google no me
ha
 sacado de muchos apuros.

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


 
 
 -- 
 w...@lt3r C3rv1n|
 

__

 ___
 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-es] Problema Raro

2009-02-23 Thread nino
Hola 

 

De pronto le has chequeado que no tenga demasiado polvo el procesador o las
memorias, quizás la fuente, suele ocurrir claro esta si no has cambiado
nada, te recomiendo que la limpies con algún aire comprimido.

 

Saludos

 

De: centos-es-boun...@centos.org [mailto:centos-es-boun...@centos.org] En
nombre de Alex Irmel Oviedo Solis
Enviado el: miércoles, 18 de febrero de 2009 11:42
Para: centos-es@centos.org
Asunto: [CentOS-es] Problema Raro

 

Hola, tengo un problema raro con un servidor centos (es casero, es decir una
makina cualquiera), hasta ayer tenia un servidor muy veloz de BBDD, la cual
es usada remotamente por una aplicacion, al venir esta mañana paso algo
raro, los demas servicios como httpd y vsftpd corrian con normalidad, pero
mysql esta extremadamente lento, no se porke e incluso por un momento se
habia ido la conexion, luego volvio a responder pero aun sigue
lento,espero sus sugerencias para poder hallar el problema ..gracias
de antemano por las respuestas...

-- 
Una alegría compartida se transforma en doble alegría; una pena compartida,
en media pena.
http://alexove.blogspot.com/
http://cj-ubunteando.blogspot.com
www.cuscolibreweb.org
http://groups.google.com.pe/group/mosoq_kallpa

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


Re: [CentOS] md5sum from nautilus

2009-02-23 Thread Alex White
On Mon, 23 Feb 2009 15:41:46 +0800
Fajar Priyanto fajar...@arinet.org took out a #2 pencil and
scribbled:

 Hi,
 Is there any nautilus extension that allow us to do md5sum?
 It would be nice to be able to do that from nautilus.
 Thank you.

You may want to look here:
http://g-scripts.sourceforge.net/cat-fileproc.php

If you scroll down a bit you will see, Check_md5. It's in a section
labeled Handle md5.

Is this what you're looking for?

-- 
etherical...@gmail.com
Life is a prison, death is a release
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] new user - with questions

2009-02-23 Thread Sorin Srbu
-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf
Of Michael Klinosky
Sent: Saturday, February 21, 2009 5:02 PM
To: CentOS mailing list
Subject: Re: [CentOS] new user - with questions

What is the situation with multi-media additions (e.g. SWflash, mpeg)?
Do the repositories have decoders and such?

For that stuff, I think rpmforge is a good place to start.

http://dag.wieers.com/rpm/FAQ.php#B2

HTH.
-- 
/Sorin


smime.p7s
Description: S/MIME cryptographic signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] new user - with questions

2009-02-23 Thread Sorin Srbu
-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf
Of Robert Heller
Sent: Saturday, February 21, 2009 5:41 PM
To: CentOS mailing list
Cc: CentOS mailing list
Subject: Re: [CentOS] new user - with questions

 What is the situation with multi-media additions (e.g. SWflash, mpeg)?
 Do the repositories have decoders and such?

Adobe has a repository for Linux RPMs (acrobat reader, flash player,
etc.).

What software from Adobe does actually work with CentOS and/or linux in
general except for Adobe Reader and Flash-player? I've tried installing
Shockwave-player, but it's not supported.
-- 
/Sorin


smime.p7s
Description: S/MIME cryptographic signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] md5sum from nautilus

2009-02-23 Thread Fajar Priyanto
On Mon, Feb 23, 2009 at 3:59 PM, Alex White etherical...@gmail.com wrote:
 You may want to look here:
 http://g-scripts.sourceforge.net/cat-fileproc.php

 If you scroll down a bit you will see, Check_md5. It's in a section
 labeled Handle md5.

 Is this what you're looking for?

Yes Alex,
That is perfect!
Many thanks :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] probem with bind???

2009-02-23 Thread Chan Chung Hang Christopher
fabian dacunha wrote:
 Dear Robert,

 Really apprecite your quick reply and thanks for the same..

 it worked beautifully..
 the badguys acl

 now jus for my information if u can help me

 by the way i had send a mail to the owners of the ips and they replied to
 me saying that  they had a DDOS attack on thier server n its been stop 5
 days ago .

 now i wd like to know if it was really stopped wht were the  messages stating
   
A request to look up a ns record
 was my server querying their server
 or their server quering mine
   
You got a udp packet from who knows where.
 since a rule in my firewall which blocked the below IP did not help

   
Huh? Then maybe there is something wrong with the rule. I basically just 
drop such packets on the floor.
 apprecite ur kind help

 the messages in my logs are

 Feb 22 21:45:36 kmdns1 named[2087]: client 62.109.4.89#24308: query
 (cache) './NS/IN' denied
 Feb 22 21:45:37 kmdns1 named[2087]: client 62.109.4.89#31958: query
 (cache) './NS/IN' denied
 Feb 22 21:45:38 kmdns1 named[2087]: client 62.109.4.89#29069: query
 (cache) './NS/IN' denied
 Feb 22 21:45:38 kmdns1 named[2087]: client 62.109.4.89#35868: query
 (cache) './NS/IN' denied
 Feb 22 21:45:39 kmdns1 named[2087]: client 62.109.4.89#26792: query
 (cache) './NS/IN' denied

 but moment i made the changes as sugessted by u in my named.conf the
 messages stopped perfectly
   

This just shows that your authoritative bind server was configured 
correctly. Congratulations!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iptables question

2009-02-23 Thread Ward.P.Fontenot
I've added the following and it still isn't working

iptables -t nat -I PREROUTING -p tcp -m tcp --dport 8443 -j DNAT
--to-destination 192.168.0.2:8443
iptables -A FORWARD -d 192.168.0.1 -p tcp -m tcp --dport 8443 -j ACCEPT

I've enabled forwarding - not sure if it's needed but it's there just in
case.

-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf Of Dan Carl
Sent: Friday, February 20, 2009 10:24 AM
To: CentOS mailing list
Subject: Re: [CentOS] iptables question

Try this tutorial its long but thorough .
http://iptables-tutorial.frozentux.net/iptables-tutorial.html
There are several examples that you should be able to craft to fit your 
needs.
First you make a forward chain and then prerouting chain with DNAT.
Be advised if you don't have console access you can cut off your access 
very easy with iptables.
Dan



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

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


Re: [CentOS] new user - with questions

2009-02-23 Thread Robert Heller
At Mon, 23 Feb 2009 09:39:40 +0100 CentOS mailing list centos@centos.org 
wrote:

 
 Content-Language: sv
 
 
 ---Executing: recode
 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf
 Of Robert Heller
 Sent: Saturday, February 21, 2009 5:41 PM
 To: CentOS mailing list
 Cc: CentOS mailing list
 Subject: Re: [CentOS] new user - with questions
 
  What is the situation with multi-media additions (e.g. SWflash, mpeg)?
  Do the repositories have decoders and such?
 
 Adobe has a repository for Linux RPMs (acrobat reader, flash player,
 etc.).
 
 What software from Adobe does actually work with CentOS and/or linux in
 general except for Adobe Reader and Flash-player? I've tried installing
 Shockwave-player, but it's not supported.

Flash Player and Adobe Reader are the main things.  There might be some
other (small) support packages.  Who knows, Adobe might add
additionional odds and ends someday...


-- 
Robert Heller -- 978-544-6933
Deepwoods Software-- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
hel...@deepsoft.com   -- http://www.deepsoft.com/ModelRailroadSystem/
   
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Is GFS for HPC?

2009-02-23 Thread Rainer Duffner
Marcelo M. Garcia schrieb:
 Hi.

 Just curious if GFS can be used in a HPC environment, like GPFS or 
 Oracle OCFS2?
   


I don't think so.
Comments from people in the HPC-business indicate that it doesn't scale
to the number of nodes that typically forms these kinds of environments.

NFS still rulez there, together with more (ISILON/Panasas) or less (SUN)
specialized NFS-serving-gear.




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


Re: [CentOS] Is GFS for HPC?

2009-02-23 Thread Jens Larsson
  Just curious if GFS can be used in a HPC environment, like GPFS or 
  Oracle OCFS2?

 I don't think so. Comments from people in the HPC-business indicate that 
 it doesn't scale to the number of nodes that typically forms these kinds 
 of environments.
 
 NFS still rulez there, together with more (ISILON/Panasas) or less (SUN) 
 specialized NFS-serving-gear.
 Rainer

NFS (4.1) doesn't scale either. I would say that GPFS and Lustre is more 
usable than NFS in an HPC environment. You need a parallell file system 
when the data rates gets higher. But much depends on the I/O-profile of 
the jobs.

/jens

-- 
Jens Larsson, NSC, Linköpings universitet, SE-58183 LINKÖPING, SWEDEN
Phone: +46-13-281432, Mobile: +46-709-521432, E-mail: j...@nsc.liu.se
GPG/PGP Key: 1024D/C21BB2C7 2001-02-27 Jens Larsson j...@nsc.liu.se
Key Fingerprint: BAEF 85CF BF1D  7A69 C965 2EE6  C541 D57F C21B  B2C7___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Recover rpm DB corrupted by disk failure?

2009-02-23 Thread Bart Schaefer
Over the weekend my workstation (still on CentOS 3) started showing
SMART errors, so we shut it down and moved everything onto a new
drive.  On reboot, the RPM database reports as corrupted and rpm
--rebuilddb segmentation faults.

Is there any reasonable way to recover from this, short of a complete
reinstall?  The machine is otherwise up though it's quite likely some
files have been lost.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] GNU Screen Macro?

2009-02-23 Thread Sean Carolan
Anyone know if this is possible with GNU screen?

I would like to have a macro or keyboard shortcut whereby the
following actions are performed:

1.  Open new screen window (CTRL-A C)
2.  ssh to some $host
3.  Rename current screen as $host (CTRL-A A $host)

I can see that typing screen while within a screen session opens a
new window, however I'm not clear on how to automate steps 2 and 3.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iptables question

2009-02-23 Thread Robert Nichols
ward.p.fonte...@wellsfargo.com wrote:
 I've added the following and it still isn't working
 
 iptables -t nat -I PREROUTING -p tcp -m tcp --dport 8443 -j DNAT
 --to-destination 192.168.0.2:8443
 iptables -A FORWARD -d 192.168.0.1 -p tcp -m tcp --dport 8443 -j ACCEPT
 
 I've enabled forwarding - not sure if it's needed but it's there just in
 case.

Yes, you do need forwarding enabled.

In that second rule, the match address should be 192.168.0.2 since the
translation has already been applied.  What does the rest of your
FILTER chain look like?  If the packet matches a REJECT rule prior
to reaching your ACCEPT rule, that will be the end of it.

-- 
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] Recover rpm DB corrupted by disk failure?

2009-02-23 Thread Bill Campbell
On Mon, Feb 23, 2009, Bart Schaefer wrote:
Over the weekend my workstation (still on CentOS 3) started showing
SMART errors, so we shut it down and moved everything onto a new
drive.  On reboot, the RPM database reports as corrupted and rpm
--rebuilddb segmentation faults.

Is there any reasonable way to recover from this, short of a complete
reinstall?  The machine is otherwise up though it's quite likely some
files have been lost.

You may be able to get things going again with the bdb recover
script, /usr/lib/rpm/rpmdb_recover.  I think this should be a
berkeley DB recovery routine that is specific to the version
being used by rpm.  I have recovered the OpenPKG rpm database
using this technique using the standard bdb db_recover program.

If I am not mistaken, the appropriate command would be:

/usr/lib/rpm/rpmdb_recover -h /var/lib/rpm

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

Cutting the space budget really restores my faith in humanity.  It
eliminates dreams, goals, and ideals and lets us get straight to the
business of hate, debauchery, and self-annihilation.  -- Johnny Hart
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recover rpm DB corrupted by disk failure?

2009-02-23 Thread Akemi Yagi
On Mon, Feb 23, 2009 at 8:59 AM, Bill Campbell cen...@celestial.com wrote:
 On Mon, Feb 23, 2009, Bart Schaefer wrote:
Over the weekend my workstation (still on CentOS 3) started showing
SMART errors, so we shut it down and moved everything onto a new
drive.  On reboot, the RPM database reports as corrupted and rpm
--rebuilddb segmentation faults.

Is there any reasonable way to recover from this, short of a complete
reinstall?  The machine is otherwise up though it's quite likely some
files have been lost.

 You may be able to get things going again with the bdb recover
 script, /usr/lib/rpm/rpmdb_recover.  I think this should be a
 berkeley DB recovery routine that is specific to the version
 being used by rpm.  I have recovered the OpenPKG rpm database
 using this technique using the standard bdb db_recover program.

 If I am not mistaken, the appropriate command would be:

 /usr/lib/rpm/rpmdb_recover -h /var/lib/rpm

You can first verity the database by:

cd /var/lib/rpm
/usr/lib/rpm/rpmdb_verify Packages

If the recover command does not work, then try something like:

Check the contents of /var/log/rpmpkgs (and .1 .2 etc).
Get all packages listed there into a single directory.
cd to that directory and issue the command:

rpm -ivh --noscripts --notriggers --justdb *.rpm

to restore your /var/lib/rpm/Packages file

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


Re: [CentOS] listing files with spaces, using wildcard

2009-02-23 Thread Scott Silva
on 2-20-2009 5:24 AM � spake the following:
 You should use double quotes ().
 
 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing in e-mail?
 
 
 
 http://www.brainyquote.com/quotes/authors/m/muhammad_ali.html
 
 http://www.brainyquote.com/quotes/authors/e/emma_goldman.html
 
 http://www.brainyquote.com/quotes/authors/m/michelangelo.html
 
 
 
 
 George Burns  - I would go out with women my age, but there are no
 women my age.
 
 On Fri, Feb 20, 2009 at 2:08 PM, bruce bedoug...@earthlink.net
 mailto:bedoug...@earthlink.net wrote:
 
 hey...
 
 here's one i can't see..
 
 goat a bunch of files in different dirs.. the files might have spaces
 
  1foo_ aa_bb_cc.dog
  2foo_aa__cc.dog
  3foo_aa_bb _ccc.dog
  4foo_aa_bb_cc.dog
  5foo_aa_bb_cc.dog
  6foo_aa_bb_cc.dog
 
 i'm trying to figure out how i can do a complete list of all files with
  *foo*dog
 
 so i get the files with spaces and underlines...
 
 i thought simply doing somehting like
 
  ls '*foo_*.dog' and surrounding the filename with single quotes would
 work.. but it doesn't.
 
 thoughts/pointers/etc...
 
 thanks
 
 
And posting a footer about the evils of top posting while you top post is
priceless!



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



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


Re: [CentOS] GNU Screen Macro?

2009-02-23 Thread Don Harper
Under bash, I have a function defined like so:
  function ss () {
screen -t $1 ssh $*
  }

Then, I simply type:
  ss hostname 

If I need to pass any options, then I simply stick it on the end, and
the resulting screen window is named the hostname.  If you do not want
the fqdn, then use the .ssh/config file to set up aliases using the
Host/Hostname.

Don

On Mon, Feb 23, 2009 at 10:31:25AM -0600, Sean Carolan wrote to To CentOS 
mailing list:
 Anyone know if this is possible with GNU screen?

 I would like to have a macro or keyboard shortcut whereby the
 following actions are performed:

 1.  Open new screen window (CTRL-A C)
 2.  ssh to some $host
 3.  Rename current screen as $host (CTRL-A A $host)

 I can see that typing screen while within a screen session opens a
 new window, however I'm not clear on how to automate steps 2 and 3.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

-- 
Don Harper, RHCE d...@duckland.orghttp://www.donaldharper.com/

Before enlightenment chop wood and carry water. After enlightenment,
  chop wood and carry water. - Wu Li


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


Re: [CentOS] Recover rpm DB corrupted by disk failure?

2009-02-23 Thread Bart Schaefer
On Mon, Feb 23, 2009 at 8:59 AM, Bill Campbell cen...@celestial.com wrote:
 You may be able to get things going again with the bdb recover
 script, /usr/lib/rpm/rpmdb_recover.  I think this should be a
 berkeley DB recovery routine that is specific to the version
 being used by rpm.

There doesn't seem to be an rpmdb_recover script:

# ls /usr/lib/rpm
athlon-linux  find-provides   magic.req   rpmdb_verify
brp-compress  find-provides.perl  mkinstalldirs   rpmdeps
brp-python-bytecompilefind-req.pl noarch-linuxrpme
brp-redhatfind-requires   perl.prov   rpmfile
brp-sparc64-linux find-requires.perl  perl.reqrpmi
brp-strip freshen.sh  perldeps.pl rpmk
brp-strip-comment-noteget_magic.plredhat  rpmpopt-4.2.3
brp-strip-shared  getpo.shrpm.daily   rpmq
brp-strip-static-archive  http.reqrpm.log rpmrc
check-files   i386-linux  rpm.xinetd  rpmt
check-prereqs i486-linux  rpm2cpio.sh rpmu
config.guess  i586-linux  rpmbrpmv
config.site   i686-linux  rpmcachetgpg
config.subjavadepsrpmdtrpm
convertrpmrc.sh   macros  rpmdb_deadlock  u_pkg.sh
cross-build   magic   rpmdb_dump  vpkg-provides.sh
debugedit magic.mgc   rpmdb_load  vpkg-provides2.sh
find-debuginfo.sh magic.mime  rpmdb_loadcvt
find-lang.sh  magic.mime.mgc  rpmdb_stat
find-prov.pl  magic.prov  rpmdb_svc

If I try using db_recover directly:

# db_recover -h /var/lib/rpm
db_recover: unable to join the environment

rpmdb_verify still reports DB_VERIFY_BAD afterwards.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recover rpm DB corrupted by disk failure?

2009-02-23 Thread Bart Schaefer
On Mon, Feb 23, 2009 at 9:10 AM, Akemi Yagi amy...@gmail.com wrote:
 Check the contents of /var/log/rpmpkgs (and .1 .2 etc).
 Get all packages listed there into a single directory.
 cd to that directory and issue the command:

 rpm -ivh --noscripts --notriggers --justdb *.rpm

 to restore your /var/lib/rpm/Packages file

Are there any files I should remove or zero out or the like before
beginning this process?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recover rpm DB corrupted by disk failure?

2009-02-23 Thread Bill Campbell
On Mon, Feb 23, 2009, Bart Schaefer wrote:
On Mon, Feb 23, 2009 at 8:59 AM, Bill Campbell cen...@celestial.com wrote:
 You may be able to get things going again with the bdb recover
 script, /usr/lib/rpm/rpmdb_recover.  I think this should be a
 berkeley DB recovery routine that is specific to the version
 being used by rpm.

There doesn't seem to be an rpmdb_recover script:

I got that grep rpm -ql output on a CentOS 5 system with
rpm-4.4.2-47.el5.  I see the same file on rpm-4.4.2-48.el5 on a
slightly newer system.  It is not there on a CentOS 4.5 system.

That machine has /usr/bin/db_recover as part of the package
db4-utils-4.2.52-7.1 which may work.

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

People who relieve others of their money with guns are called robbers. It
does not alter the immorality of the act when the income transfer is
carried out by government.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] What broke my box ??

2009-02-23 Thread Scott Silva
on 2-21-2009 6:03 AM Michael A. Peters spake the following:
 jk...@kinz.org wrote:
 On Fri, Feb 20, 2009 at 06:04:00PM -0800, Michael A. Peters wrote:
 CentOS 5.2 64-bit

 I needed some space.

 I have a hard drive that had an old Linux install I don't use anymore. 
 Lets call this your auxiliary drive.

 So I edited /etc/fstab and removed the entries for it (entries I only 
 needed so I could get data off it).
 Which /etc/fstab did you edit? the one on the auxiliary drive or
 the one on the primary drive? 
 
 They shared a /boot

Did they also possibly share initrd's?
That could be where your problem came from.



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



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


Re: [CentOS] GNU Screen Macro?

2009-02-23 Thread Sean Carolan
On Mon, Feb 23, 2009 at 11:53 AM, Don Harper d...@duckland.org wrote:
 Under bash, I have a function defined like so:
  function ss () {
screen -t $1 ssh $*
  }

 Then, I simply type:
  ss hostname

Nice, this is helpful.  I used ssc instead because there appears to
be a built in ss command.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Signature Script

2009-02-23 Thread centos
Hi

There was a script or program that convert the normal
character to a drawing of a lines to create a graphical
signature and I don't remember its name.

any one knows that script ?



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


[CentOS] Easiest way to get samba up and working for Windows users?

2009-02-23 Thread Noob Centos Admin
Everytime I have to setup samba to handle Windows users, sometime
inadvertently goes wrong or doesn't work the way I expected, or takes
forever to setup, especially when there are many users and various policies.
So far, the easiest, sureest and quickest method appears to be install
WindowsXP into VMWare and use it to handle Windows sharing. Needless to say,
this strucks me as rather ironic and stupid.

Thus could anybody please suggest a working frontend to samba that makes it
easy to add users, set their permissions and get something that works like
basic windows file sharing?

So far I've tried the following which all don't quite work.

1. CentOS's samba configuration tool
- added users never show up on the share configuration so the only shares it
could create was for public access.

2. Webmin
- thinks it added the users, but again they never show up when checked
against the bundled CentOS tool and needless to say, the shares never work
too

3. Samba SWAT
- Very confusing tool, selecting shares sometimes end up as another share,
and again, doesn't seem to work.


So I just need a very basic tool that will reliably allow me to do the
following
- specify user name, specify password, and maybe specify a group
- specify a share the user or group has read only or read/write access
- force new files/folders to take on group ID so that it behaves like a
normal windows share

Don't need print services or anything, it's just far easier to dump a
hardware print server into the network than to contemplate the additional
complexity of making something like CUPS work.

Just need to make sure that the Windows users can browse to the folders, get
a prompt for their login and password where needed.

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


Re: [CentOS] Easiest way to get samba up and working for Windows users?

2009-02-23 Thread Craig White
On Tue, 2009-02-24 at 02:53 +0800, Noob Centos Admin wrote:
 Everytime I have to setup samba to handle Windows users, sometime
 inadvertently goes wrong or doesn't work the way I expected, or takes
 forever to setup, especially when there are many users and various
 policies. So far, the easiest, sureest and quickest method appears to
 be install WindowsXP into VMWare and use it to handle Windows sharing.
 Needless to say, this strucks me as rather ironic and stupid.
 
 Thus could anybody please suggest a working frontend to samba that
 makes it easy to add users, set their permissions and get something
 that works like basic windows file sharing?
 
 So far I've tried the following which all don't quite work.
 
 1. CentOS's samba configuration tool
 - added users never show up on the share configuration so the only
 shares it could create was for public access.
 
 2. Webmin
 - thinks it added the users, but again they never show up when checked
 against the bundled CentOS tool and needless to say, the shares never
 work too
 
 3. Samba SWAT
 - Very confusing tool, selecting shares sometimes end up as another
 share, and again, doesn't seem to work.
 
 
 So I just need a very basic tool that will reliably allow me to do the
 following
 - specify user name, specify password, and maybe specify a group
 - specify a share the user or group has read only or read/write access
 - force new files/folders to take on group ID so that it behaves like
 a normal windows share
 
 Don't need print services or anything, it's just far easier to dump a
 hardware print server into the network than to contemplate the
 additional complexity of making something like CUPS work.
 
 Just need to make sure that the Windows users can browse to the
 folders, get a prompt for their login and password where needed.

probably not the answer you want to hear but...

swat is supposed to be the tool for simple administration.

You are asking several questions but lumping them all under one category
samba. The concept of UNIX or Linux administration is simple text files
that can be manipulated with just about any editor that suits you though
I would suggest that you refrain from using Windows editors because they
add line endings that often cause issues.

the group idea is rather simple...
let's say that you have a directory /home/samba/files and you set up a
share in smb.conf called [Files], and all your users are members of the
group 'users' then you would simply 'chgrp users /home/samba/files' and
'chmod g+s /home/samba/files' and that enables the 'group sticky bit' so
that all files and folders in that directory are owned by group 'users'

Now adding users is a bit more complicated in that samba users must
necessarily be Linux users AND samba users so they would have to be
added to both systems.

Something like Webmin can help here in that it can be configured to
automatically create the samba user at the same time that a Linux user
is created but it doesn't do that upon first install.

You probably want to check out something like the 'Samba By Example'
publication which can be purchased at your favorite bookstore in dead
tree form or can be downloaded in PDF form or read online @
http://www.samba.org/samba/docs (see left side) which will walk you
through basic steps.

Craig

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


Re: [CentOS] Easiest way to get samba up and working for Windows users?

2009-02-23 Thread Ned Slider
Noob Centos Admin wrote:
 
 So far I've tried the following which all don't quite work.
 
 1. CentOS's samba configuration tool
 - added users never show up on the share configuration so the only shares it
 could create was for public access.
 

The samba configuration tool (system-config-samba) is finally fixed in 
5.3 (due out soon) and will now correctly show added samba users :-)

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


[CentOS] Freeipa

2009-02-23 Thread Per Qvindesland
Hell List

I am trying to build freeipa by using this howto
http://www.howtoforge.com/how-to-build-rhel-ipa-rpms-for-centos-5 I have
managed to get most of it done but when I start compiling I get the
following error:
checking host system type... x86_64-redhat-linux-gnu
checking for GNU linker... yes
configure: not adding extra gcc warning flags because CFLAGS was set
configure: enabling built in krb4 support
checking which version of com_err to use... system
checking for add_error_table in -lcom_err... no
configure: error: cannot find add_error_table in com_err library
error: Bad exit status from /var/tmp/rpm-tmp.28988 (%build)

Has anyone got any idea of where I am failing?

Kind regards
Per Qvindesland


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


Re: [CentOS] Freeipa

2009-02-23 Thread John R Pierce
Per Qvindesland wrote:
 Hell List

 I am trying to build freeipa by using this howto
 http://www.howtoforge.com/how-to-build-rhel-ipa-rpms-for-centos-5 I have
 managed to get most of it done but when I start compiling I get the
 following error:
 checking host system type... x86_64-redhat-linux-gnu
 checking for GNU linker... yes
 configure: not adding extra gcc warning flags because CFLAGS was set
 configure: enabling built in krb4 support
 checking which version of com_err to use... system
 checking for add_error_table in -lcom_err... no
 configure: error: cannot find add_error_table in com_err library
 error: Bad exit status from /var/tmp/rpm-tmp.28988 (%build)

 Has anyone got any idea of where I am failing?
   

have you installed  e2fsprogs-devel ?

   # yum install e2fsprogs-devel


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


Re: [CentOS] Recover rpm DB corrupted by disk failure?

2009-02-23 Thread Bart Schaefer
On Mon, Feb 23, 2009 at 9:10 AM, Akemi Yagi amy...@gmail.com wrote:

 Check the contents of /var/log/rpmpkgs (and .1 .2 etc).
 Get all packages listed there into a single directory.
 cd to that directory and issue the command:

 rpm -ivh --noscripts --notriggers --justdb *.rpm

 to restore your /var/lib/rpm/Packages file

I ended up backing up/removing /var/lib/rpm and then running rpm
--initdb before running the --justdb command shown above.  I was able
to pull all but 73 out of more than 1000 packages listed in
/var/log/rpmpkgs from /var/cache/yum plus the CentOS 3.9 CD set.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Easiest way to get samba up and working for Windows users?

2009-02-23 Thread Noob Centos Admin
On Tue, Feb 24, 2009 at 3:12 AM, Craig White craigwh...@azapple.com wrote:


 probably not the answer you want to hear but...
 swat is supposed to be the tool for simple administration.


I was afraid of that. By the time I gave up and completed the task manually,
I was thinking maybe it might be easier to write my own script to repeat all
those useradd, gpasswd -a, smbpasswd and nano smb.conf :(


 You are asking several questions but lumping them all under one category
 samba. The concept of UNIX or Linux administration is simple text files
 that can be manipulated with just about any editor that suits you though  I
 would suggest that you refrain from using Windows editors because they  add
 line endings that often cause issues.


No worries about that one, I only edit conf files on my CentOS box using
nano. The closest to using Windows for this is to manage my servers are SSH
through putty, and writing long php scripts to be uploaded.


 the group idea is rather simple...
 let's say that you have a directory /home/samba/files and you set up a
 share in smb.conf called [Files], and all your users are members of the
 group 'users' then you would simply 'chgrp users /home/samba/files' and
 'chmod g+s /home/samba/files' and that enables the 'group sticky bit' so
 that all files and folders in that directory are owned by group 'users'


For a single common to everybody share it was easy of course. In fact, for
something like that, I'll do away with bothering everybody with a login and
simply make a single login everybody shares for filesharing.

It's when I have 8 people  who have to share aaa, then a sub group B have to
share bbb, then a subgroup C have to share ccc, then a subgroup of people
from B+C need to share ddd and so forth that it becomes untenable to do
everything by hand and the tools at the moment just dont cut it.

Now adding users is a bit more complicated in that samba users must
 necessarily be Linux users AND samba users so they would have to be added
 to both systems.


This was one of the caveats I discovered over time, struggling with webmin
and the likes.

Something like Webmin can help here in that it can be configured to
 automatically create the samba user at the same time that a Linux user  is
 created but it doesn't do that upon first install.


Except of course webmin doesn't actually create the smbuser correctly. Maybe
it has to do with how I use it, but maybe again like CentOS's tool, that
particular functionality is actually broken.


You probably want to check out something like the 'Samba By Example'
 publication which can be purchased at your favorite bookstore in dead  tree
 form or can be downloaded in PDF form or read online @
 http://www.samba.org/samba/docs (see left side) which will walk you
 through basic steps.


Trust me, I did read through that. I usually don't like to bug people for
help unless I really cannot find any relevant existing information and
cannot figure out what else can I try.


Thanks for replying in any case :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Easiest way to get samba up and working for Windows users?

2009-02-23 Thread Noob Centos Admin
On Tue, Feb 24, 2009 at 3:23 AM, Ned Slider n...@unixmail.co.uk wrote:


 The samba configuration tool (system-config-samba) is finally fixed in
 5.3 (due out soon) and will now correctly show added samba users :-)


Honestly, I'm so glad to see this! Although I won't likely benefit from it
until the next server install or re-install, at least I now know it wasn't
ME! :D
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Easiest way to get samba up and working for Windows users?

2009-02-23 Thread Les Mikesell
Noob Centos Admin wrote:
 
 
 probably not the answer you want to hear but...
 swat is supposed to be the tool for simple administration.
 
 
 I was afraid of that. By the time I gave up and completed the task 
 manually, I was thinking maybe it might be easier to write my own script 
 to repeat all those useradd, gpasswd -a, smbpasswd and nano smb.conf :(

Is there a windows domain or AD in this picture somewhere?  If so, point 
samba authentication there and don't worry about separate passwords.
 
 No worries about that one, I only edit conf files on my CentOS box using 
 nano. The closest to using Windows for this is to manage my servers are 
 SSH through putty, and writing long php scripts to be uploaded.

If you want something nicer, run freenx on the server and the NX client 
from www.nomachine.com for your windows box.  That lets you connect to a 
complete GUI desktop remotely and conveniently.

 For a single common to everybody share it was easy of course. In fact, 
 for something like that, I'll do away with bothering everybody with a 
 login and simply make a single login everybody shares for filesharing.
 
 It's when I have 8 people  who have to share aaa, then a sub group B 
 have to share bbb, then a subgroup C have to share ccc, then a subgroup 
 of people from B+C need to share ddd and so forth that it becomes 
 untenable to do everything by hand and the tools at the moment just dont 
 cut it.

Not that complicated.  Just create groups as needed and add the 
appropriate users to each group (independently, don't worry about which 
are sub-groups of others).

Then the samba shares look like:

[aaa-share]
comment = aaa workspace
path = /path/to/aaa-share
public = no
valid users = @aaa
writable = yes
printable = no
force create mode = 0775
force directory mode = 775
force group = aaa

You might want some other mode, just make sure it is group-read/write. 
Then you can cut/paste those, substituting the appropriate groups, and 
do an initial chgrp -R and chmod -R of the top directories to make sure 
they have the right starting ownership and modes.

 Except of course webmin doesn't actually create the smbuser correctly. 
 Maybe it has to do with how I use it, but maybe again like CentOS's 
 tool, that particular functionality is actually broken.

If you use smb authentication against a domain controller, all you have 
to do is create the linux users with the same login name.  With winbind 
you might not even have to do that, but then I don't know how you 
control the groups.

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

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


Re: [CentOS] md5sum from nautilus

2009-02-23 Thread Ivan Petrović
If you are interested in learning look here:
http://www.showmedo.com/videos/series?name=3vnwgNpoe

2009/2/23 Fajar Priyanto fajar...@arinet.org:
 On Mon, Feb 23, 2009 at 3:59 PM, Alex White etherical...@gmail.com wrote:
 You may want to look here:
 http://g-scripts.sourceforge.net/cat-fileproc.php

 If you scroll down a bit you will see, Check_md5. It's in a section
 labeled Handle md5.

 Is this what you're looking for?

 Yes Alex,
 That is perfect!
 Many thanks :)
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


-- 
Petrović Ivan

Ubuntu lokalna zajednice Srbije
www.ubuntu-rs.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Marvell Yukon 8056?

2009-02-23 Thread Tim Nelson
Greetings list-

I've got a server 'in the mail' and I see now on the specsheet that it has 
Marvell Yukon 8056 NICs onboard. Since I cannot seem to find a HCL for Centos 5 
or RHEL5 to help verify, I'd like to know if it works 'out of the box' on 
CentOS 5.x or is there additional work to make it function (properly)? 

My searching has revealed that there are in fact two different drivers for 
Marvell hardware... sky2 and sk8lin?

Any pointers, tips, experiences, etc appreciated. Thanks!

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


Re: [CentOS] Easiest way to get samba up and working for Window users?

2009-02-23 Thread Ned Slider
Noob Centos Admin wrote:
 On Tue, Feb 24, 2009 at 3:23 AM, Ned Slider n...@unixmail.co.uk wrote:
 
 
 The samba configuration tool (system-config-samba) is finally fixed in
 5.3 (due out soon) and will now correctly show added samba users :-)

 
 Honestly, I'm so glad to see this! Although I won't likely benefit from it
 until the next server install or re-install, at least I now know it wasn't
 ME! :D
 

It is documented on the bug tracker and forums so is a well known issue 
and is fixed in system-config-samba-1.2.41-3.el5. You could always grab 
the upstream src.rpm now and build it yourself.

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


Re: [CentOS] Marvell Yukon 8056?

2009-02-23 Thread Kurt Hansen

Tim Nelson wrote:
 Greetings list-

 I've got a server 'in the mail' and I see now on the specsheet that it has 
 Marvell Yukon 8056 NICs onboard. Since I cannot seem to find a HCL for Centos 
 5 or RHEL5 to help verify, I'd like to know if it works 'out of the box' on 
 CentOS 5.x or is there additional work to make it function (properly)? 

 My searching has revealed that there are in fact two different drivers for 
 Marvell hardware... sky2 and sk8lin?

   
Here's a recent discussion on the forum about this:

http://www.centos.org/modules/newbb/viewtopic.php?topic_id=17422forum=39post_id=62832#forumpost62832

And the latest drivers in rpms:

http://centos.toracat.org/ajb/CentOS-5/sk98lin/

They've worked great for me for the past 3 months.

Take care,

Kurt Hansen

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


Re: [CentOS] Marvell Yukon 8056?

2009-02-23 Thread Tim Nelson
- Kurt Hansen khan...@charityweb.net wrote:
 Here's a recent discussion on the forum about this:
 
 http://www.centos.org/modules/newbb/viewtopic.php?topic_id=17422forum=39post_id=62832#forumpost62832
 
 And the latest drivers in rpms:
 
 http://centos.toracat.org/ajb/CentOS-5/sk98lin/
 
 They've worked great for me for the past 3 months.
 
 Take care,
 
 Kurt Hansen

Aha! Thank you for the info!

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


Re: [CentOS] dell poweredge 860

2009-02-23 Thread Scott Silva
on 2-23-2009 3:54 PM Jerry Geis spake the following:
 Hi all,
 
 Does anyone know of any issues with a dell poweredge 860?
 
 I have one and the NMI number is getting high.
 I have a digium card in the box and the NMI grows with or without the 
 card in the box.
 
 Any ideas? its fully updated. x86-64 5.2 system.
 Thanks,
 
Is the system in production or can you take some time to pull all cards and
memory, and test by slowly adding parts?

If I remember correctly NMI's can only be generated by hardware.

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



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


Re: [CentOS] dell poweredge 860

2009-02-23 Thread Jerry Geis

 Is the system in production or can you take some time to pull all cards and
 memory, and test by slowly adding parts?

 If I remember correctly NMI's can only be generated by hardware.
   
Scott,

The only card I added was the digium card. It has been removed and the 
NMI's still were increasing.
I didnt know memory could cause an NMI...
What do you suggest taking out some of the RAM, booting up and checking 
it, then
swapping the RAM and boot up again?

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


Re: [CentOS] dell poweredge 860

2009-02-23 Thread Scott Silva
on 2-23-2009 4:25 PM Jerry Geis spake the following:
 Is the system in production or can you take some time to pull all cards and
 memory, and test by slowly adding parts?

 If I remember correctly NMI's can only be generated by hardware.
   
 Scott,
 
 The only card I added was the digium card. It has been removed and the 
 NMI's still were increasing.
 I didnt know memory could cause an NMI...
 What do you suggest taking out some of the RAM, booting up and checking 
 it, then
 swapping the RAM and boot up again?
 
 Jerry
There are no other cards, network etc?

With ECC memory, bad chips could cause an NMI, as could overheating or a loose
riser card or just bad ram contact in the slots.

If the system has enough memory to still boot with some removed, you could try
there. You could also run Dell diagnostics on it.



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



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


Re: [CentOS] cisco netflow analyzer?

2009-02-23 Thread nate
Robinson Tiemuqinke wrote:
 Anyone knows any Cisco netflow analyzer that could run on Linux/Windows? I
 know that cisco ASDM works at somewhat level but too rough...

 For example, CIsco ASDM can only shows at IP level and only three types
 graph, like top 10 source Address, top ten destination level, or top ten
 services. but I want the analyzer to show different traffics from the same
 box when in need.

ntop can read netflow events, the server runs in linux(maybe works
in windows too),the client is browser-based so you can access it from
almost anywhere..

netflow is somewhat restricted as far as what info you can get, I've
only used sflow, a brief comparison of the protocols is at the
bottom of this pdf:

http://www.sflow.org/sFlowOverview.pdf

ntop can read sflow as well, though last time I tried it it was unstable,
I used sflowtrend instead.

nate


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


Re: [CentOS] dell poweredge 860

2009-02-23 Thread Jerry Geis

 Jerry Geis wrote:
 / Hi all,
 //
 // Does anyone know of any issues with a dell poweredge 860?
 //
 // I have one and the NMI number is getting high.
 // I have a digium card in the box and the NMI grows with or without the
 // card in the box.
 /
 Is it causing a problem? I just checked a half dozen systems, all
 of them have pretty high NMI counters in /proc/interrupts(e.g.
 254947480), and all of them are incrementing at least every
 second. No noticeable problems. Some of the systems are 3 years
 old, one of them is so new it's not even available for sale until
 next month.

 nate
   
nate,

I am getting feedback that the digium card is not working.
I called digium support and they are indicating the the NMI's are an issue.
I had never heard of that. so thats why I am inquiring.

The issue I am having is a call is placed on the digium card (T1), a 
phone rings,
when the phone is answered there is nothing. That is the symptoms. 
Digium had
logged in and did what ever they do and they are thinking the NMI is an 
issue.

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


Re: [CentOS] Signature Script

2009-02-23 Thread Ian Blackwell
cen...@unixplanet.biz wrote:
 Hi

 There was a script or program that convert the normal
 character to a drawing of a lines to create a graphical
 signature and I don't remember its name.

 any one knows that script ?
   
The program (well the one that I know of) is figlet, and it is
available form the rpmforge repo.  I don't know of anything in the
standard/base CentOS repos.

yum install figlet

Cheers,

Ian


smime.p7s
Description: S/MIME Cryptographic Signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] cisco netflow analyzer?

2009-02-23 Thread Joe Pruett
 Anyone knows any Cisco netflow analyzer that could run on Linux/Windows? I
 know that cisco ASDM works at somewhat level but too rough...

 For example, CIsco ASDM can only shows at IP level and only three types
 graph, like top 10 source Address, top ten destination level, or top ten
 services. but I want the analyzer to show different traffics from the same
 box when in need.

i've been pretty impressed with nfsen.  took a little bit of fiddling to 
figure out, but lets me drill down into things pretty well.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] cisco netflow analyzer?

2009-02-23 Thread Ray Van Dolson
On Mon, Feb 23, 2009 at 07:29:11PM -0800, Joe Pruett wrote:
  Anyone knows any Cisco netflow analyzer that could run on Linux/Windows? I
  know that cisco ASDM works at somewhat level but too rough...
 
  For example, CIsco ASDM can only shows at IP level and only three types
  graph, like top 10 source Address, top ten destination level, or top ten
  services. but I want the analyzer to show different traffics from the same
  box when in need.
 
 i've been pretty impressed with nfsen.  took a little bit of fiddling to 
 figure out, but lets me drill down into things pretty well.

Seconded.  nfsen is awesome.  Bit of a learning curve, but extremely
powerful once you get the hang of it!

You can also use iptables and the ULOG target to generate flow
information from your Linux boxes and send the output to nfsen/nfcapd
as well!

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


[CentOS] Mail from domain problem

2009-02-23 Thread Xia Guowen


Hi,

I installed a CentOS 4.7 server, the system information is:

# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=mail.domain11.com   

# hostname
mail.domain11.com

#echo test  | mail -s test mail some...@domain22.com

I would like to receive mail is r...@domain11.com, but I received is 
r...@mail.domain11.com 



How to correct it?

(I've tested there is no problem in CentOS 5.2)

Best regards

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


Re: [CentOS] iptables question

2009-02-23 Thread Robert Nichols
Filipe Brandenburger wrote:
 Hi Ward,
 
 On Thu, Feb 19, 2009 at 20:27,  ward.p.fonte...@wellsfargo.com wrote:
 I add that and telnet to the port on BOX A and get
 Trying 192.168.0.1...
 telnet: connect to address 192.168.0.1: Connection refused
 I can telnet to that port on BOX B and get a successful connection.
 
 The problem is that when BOX B responds, it will respond with a
 192.168.0.2 source IP, and that will only work if it goes through BOX
 A again (for the DNAT to do the address translation back to
 192.168.0.1).
 
 In short, this will only work if traffic goes back to the source through BOX 
 A.
 
 For instance, this will NOT happen if the host that is connecting to
 the forwarded port is in the same subnet as hosts BOX A and BOX B.
 
 This will also NOT happen if BOX A is not the default gateway of BOX
 B, or there is somehow another configuration that routes the return
 packets through BOX A (like using an SNAT combined with the DNAT to
 make the connections look like they are coming from BOX A).

A Connection refused response indicates that the reply path is
working.  If there is no response, telnet will just sit and wait,
eventually displaying a Connection timed out message when the
connection times out from the SYN_SENT state (typically about 3
minutes).

-- 
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] Mail from domain problem

2009-02-23 Thread Barry Brimer
 Hi,

I installed a CentOS 4.7 server, the system information is:

 # cat /etc/sysconfig/network
 NETWORKING=yes
 HOSTNAME=mail.domain11.com

 # hostname
 mail.domain11.com

 #echo test  | mail -s test mail some...@domain22.com

 I would like to receive mail is r...@domain11.com, but I received is 
 r...@mail.domain11.com



 How to correct it?

 (I've tested there is no problem in CentOS 5.2)

 Best regards

What MTA are you using?  Sendmail?  Postfix?  Exim?  Qmail?  Courier?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mail from domain problem

2009-02-23 Thread Linux Advocate
in /etc/postfix/main.cf , set myorigin=$mydomain and not as $myhostname.

 





From: Xia Guowen xi...@51poi.com
To: centos@centos.org
Sent: Tuesday, February 24, 2009 2:07:38 PM
Subject: [CentOS] Mail from domain problem

 


Hi,
 
I installed a CentOS 4.7 server, 
the system information is:
 
# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=mail.domain11.com   
 
# hostname
mail.domain11.com
 
#echo test  | mail -s test mail some...@domain22.com
 
I would like to receive 
mail is r...@domain11.com, but I received is r...@mail.domain11.com 
 
 
 
How to correct it?
 
(I've tested there is no problem in CentOS 5.2)
 
Best regards


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


Re: [CentOS] Mail from domain problem

2009-02-23 Thread Xia Guowen
# alternatives --config mta

There are 2 programs which provide 'mta'.

  SelectionCommand
---
*+ 1   /usr/sbin/sendmail.sendmail
   2   /usr/sbin/sendmail.postfix

but I shutdown both them, I install kerio mailserver system as MTA, and listen 
on port 25.








- Original Message - 
From: Barry Brimer li...@brimer.org
To: CentOS mailing list centos@centos.org
Sent: Tuesday, February 24, 2009 2:17 PM
Subject: Re: [CentOS] Mail from domain problem


 Hi,

I installed a CentOS 4.7 server, the system information is:

 # cat /etc/sysconfig/network
 NETWORKING=yes
 HOSTNAME=mail.domain11.com

 # hostname
 mail.domain11.com

 #echo test  | mail -s test mail some...@domain22.com

 I would like to receive mail is r...@domain11.com, but I received is 
 r...@mail.domain11.com



 How to correct it?

 (I've tested there is no problem in CentOS 5.2)

 Best regards
 
 What MTA are you using?  Sendmail?  Postfix?  Exim?  Qmail?  Courier?
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

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


Re: [CentOS] Mail from domain problem

2009-02-23 Thread Per Qvindesland
Kerio has it's own admin interface that deals with these sort of problems,
did you install it?

Per


On 2/24/09 8:07 AM, Xia Guowen xi...@51poi.com wrote:

 # alternatives --config mta
 
 There are 2 programs which provide 'mta'.
 
   SelectionCommand
 ---
 *+ 1   /usr/sbin/sendmail.sendmail
2   /usr/sbin/sendmail.postfix
 
 but I shutdown both them, I install kerio mailserver system as MTA, and listen
 on port 25.
 
 
 
 
 
 
 
 
 - Original Message -
 From: Barry Brimer li...@brimer.org
 To: CentOS mailing list centos@centos.org
 Sent: Tuesday, February 24, 2009 2:17 PM
 Subject: Re: [CentOS] Mail from domain problem
 
 
 Hi,
 
I installed a CentOS 4.7 server, the system information is:
 
 # cat /etc/sysconfig/network
 NETWORKING=yes
 HOSTNAME=mail.domain11.com
 
 # hostname
 mail.domain11.com
 
 #echo test  | mail -s test mail some...@domain22.com
 
 I would like to receive mail is r...@domain11.com, but I received is
 r...@mail.domain11.com
 
 
 
 How to correct it?
 
 (I've tested there is no problem in CentOS 5.2)
 
 Best regards
 
 What MTA are you using?  Sendmail?  Postfix?  Exim?  Qmail?  Courier?
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


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


Re: [CentOS] Mail from domain problem

2009-02-23 Thread John R Pierce
Per Qvindesland wrote:
 Kerio has it's own admin interface that deals with these sort of problems,
 did you install it?
   

and, this is a Kerio configuration problem, not a CentOS problem.   Take 
it up with Kerio.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mail from domain problem

2009-02-23 Thread Xia Guowen
But,  I shutdown Kerio and config MTA = sendmail. 
Then 
# service sendmail start 
# hostname
mail.domain11.com
# echo test  | mail -s test mail some...@domain22.com


I received is r...@mail.domain11.com 

HOW?

regards



- Original Message - 
From: John R Pierce pie...@hogranch.com
To: CentOS mailing list centos@centos.org
Sent: Tuesday, February 24, 2009 3:29 PM
Subject: Re: [CentOS] Mail from domain problem


 Per Qvindesland wrote:
 Kerio has it's own admin interface that deals with these sort of problems,
 did you install it?
   
 
 and, this is a Kerio configuration problem, not a CentOS problem.   Take 
 it up with Kerio.
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

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