[CentOS-virt] KVM: 'ÿ' character after sta rting a VM via virt-install

2010-04-26 Thread gibbe gabba
I'm unable to start a virtual machine with KVM.

I'm using Centos 5.4

I have installed all necessary rpms (to my knowledge), but as you can see
from the output (below), the system does not boot the CD-ROM. It just sits
there doing nothing:

# virt-install --prompt
Would you like to use KVM acceleration? (yes or no) yes
 What is the name of your virtual machine? test

 How much RAM should be allocated (in megabytes)? 1024
 What would you like to use as the disk (file path)?
/var/lib/libvirt/images/test.img
 How large would you like the disk (/var/lib/libvirt/images/test.img)
to be (in gigabytes)? 20

 What is the install CD-ROM/ISO or URL? /root/CentOS-5.4-i386-bin-1of6.iso


Starting install...
Creating storage file...  |
20 GB 00:00
Creating domain...|
0 B 00:00

Connected to domain test
Escape character is ^]
ÿ


the 'ÿ' character appears after a few seconds, then nothing...

Any help is appreciated!
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-virt] KVM: 'ÿ' character after sta rting a VM via virt-install

2010-04-26 Thread compdoc
Just curious as to what hardware you're running it on. And
when you say you've installed the necessary rpms, does this
mean you installed KVM by hand after the install, or through
the installer when you first installed it?
 
 
 
From: centos-virt-boun...@centos.org
[mailto:centos-virt-boun...@centos.org] On Behalf Of gibbe
gabba
Sent: Monday, April 26, 2010 7:02 AM
To: centos-virt@centos.org
Subject: [CentOS-virt] KVM: 'ÿ' character after starting a
VM via virt-install
 
I'm unable to start a virtual machine with KVM.

I'm using Centos 5.4

I have installed all necessary rpms (to my knowledge), but
as you can see from the output (below), the system does not
boot the CD-ROM. It just sits there doing nothing:
# virt-install --prompt


Would you like to use KVM acceleration? (yes or no) yes


 What is the name of your virtual machine? test





 How much RAM should be allocated (in megabytes)? 1024






 What would you like to use as the disk (file path)?
/var/lib/libvirt/images/test.img


 How large would you like the disk
(/var/lib/libvirt/images/test.img) to be (in gigabytes)? 20





 What is the install CD-ROM/ISO or URL?
/root/CentOS-5.4-i386-bin-1of6.iso












Starting install...


Creating storage file...
|  20 GB 00:00


Creating domain...
|0 B 00:00





Connected to domain test






Escape character is ^]


ÿ

the 'ÿ' character appears after a few seconds, then
nothing...
https://www.centos.org/uploads/smil3dbd4d75edb5e.gif 

Any help is appreciated! 
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS-es] iptables

2010-04-26 Thread Oscar Osta Pueyo
Hola,

 para resolver esta situación te aconsejo que modifiques un fichero que
 se encuentra en:

 nano /etc/sysconfig/iptables


Si se modifica ese fichero (siguiendo sus reglas) al volver a
iniciar/reiniciar el servicio/demonio de iptables se activarán los
cambios, y esos cambios también estarán al reiniciar el sistema.

Recordad que también hay herraminestas gráficas para configurar el
cortafuegos, system-config-securitylevel, tanto a nivel de consola
como de escritorio.

-- 
Oscar Osta Pueyo
oostap.lis...@gmail.com
_kiakli_
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


[CentOS-es] migracion de servidor LDAP

2010-04-26 Thread Alejandro Marin Maturano
Hola amigos en esta ocasión quiera ver si me pueden apoyar en la tarea 
de migrar mi servicio de LDAP de un servidor a otro, por que que me 
gustaría saber que y como respaldar y y regenerar mis archivos de 
configuración a si como las cuentas de usuario en el nuevo equipo


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


[CentOS-es] Red Hat Enterprise 6 beta

2010-04-26 Thread Krlos




Encontré este texto en alcancelibre.org que quizás les interese:
Así es ya esta disponible para todo el publico la versión Beta de Red Hat 
Enterprise Linux 6. Mientras nos llega el comunicado de prensa oficial, 
comentamos lo siguiente...Entre las mejoras, incluyen un mejor gestor de 
energía, muy enfocado a los nuevos
 microprocesadores, grandes posibilidades de estalación ahora soporta hasta 64 
procesadores y 2 TB de memoria. En lo que refiere a seguridad, SELinux 
permitirá la ejecución de programas dentro de una caja de arena o Sandbox. Hay 
grandes mejoras en la virtualización basada sobre KVM, soporte para Ext4, 
cambio de dimensiones en línea para volúmenes lógicos a través de iSCSI y FCoE, 
GCC 4.4, nuevo servicio de seguridad System Security Services Daemon (SSSD) 
para gestión de idntidades y cache de credenciales, y muchas otras cosas 
más.Nota completa en este enlace. Notas del lanzamiento en este otro enlace.Si 
estás interesado en descargar y evaluar este lanzamiento, hay imágenes ISO para 
arquitecturas x86, x86_64, System Z y PPC64 en este enlace.Por si no pueden 
ver los enlaces aquí se los
 
pongo:http://www.redhat.com/rhel/beta/http://press.redhat.com/2010/04/21/red-hat-enterprise-linux-6-beta-available-today-for-public-download/http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6-Beta/html/Beta_Release_Notes/


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


Re: [CentOS-es] migracion de servidor LDAP

2010-04-26 Thread Black Hand
On Mon, 2010-04-26 at 16:01 -0500, Alejandro Marin Maturano wrote:

 pero si lo tengo implementado con samba los uausrios que di de alta con 
 smbldap-useradd con sus passwords como se pasan???

samba almacena en el arbol ldap TODA la informacion del dominio, SID,
usuarios, equipos y obviamente tb los passwords.

rapidamente lo q necesitas backupear es:

directorios completos:

/etc/samba
/etc/openldap

el arbol ldap puede ser backupeado con slapcat q te dara un volcado de
todo el arbol ldap y con slapadd restaurar el arbol del dominio.

y agregar la configuracion de autenticacion para q se reconozcan a los
usuarios LDAP como usuarios del sistema

--
Yonsy Solis aka BlackHand


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


[CentOS-es] configuracion inalambrica

2010-04-26 Thread Jose Alberto Torres Paredes


no puedo configurar la conexion inalambrica de mi laptop, es una lenovo y no 
encuentro ls drivers...help me!!!




 Alberto Torres Paredes:
  Ingenieria de Sistemas  :
Universidad Privada Cesar Vallejo  :
:.::

  
_
Recibe un SMS de tu Hotmail vayas donde vayas. ¡Date de alta!
http://home.mobile.live.com/MobileAttach.mvc/?mkt=es-es___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] configuracion inalambrica

2010-04-26 Thread Mario Villela Larraza
Ya te viste la configuración que te indica en consola cuando ejecutas el
comando
ifconfig wlan0 para ver si el HW fue detectado correctamente?

El 26 de abril de 2010 22:59, Jose Alberto Torres Paredes 
jalber...@hotmail.com escribió:


 no puedo configurar la conexion inalambrica de mi laptop, es una lenovo y
 no encuentro ls drivers...help me!!!
  *
 
 *
  Alberto Torres Paredes*:*
  * Ingenieria de Sistemas  :*
 *Universidad Privada Cesar Vallejo  :*
 *
 :.::
 *



 --
 ¡Lucha por tus ídolos o hunde al personajes que quieras! ¡Vota a favor o en
 contra de los más famosos! ¡Nuevo MSN Populus!http://populus.es.msn.com/

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




-- 
Mario Villela Larraza
mario.villelalarr...@gmail.com
Cel 0445512591926
Nextel 527225222122
  62*15*27621
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS] NFS mount problem

2010-04-26 Thread James Pearson
sync wrote:
 Hi,guys:
 
I am trying to connect to a NFS-filesystem on a CentOS 5.3 i386  guest
 system. The host system is CentOS 5.4 x86_64.
  I set up the NFS server correctly and rpcinfo is also ok  inside the guest
 system show.
 
 The problem is, I can't connect to, or see the open port from the outside. I
 use the Host-Only  network setup with VirtualBox 3.1.0,
 the ip address in the guest system is 192.168.56.101 . and the host system
 ip address is 192.168.7.67
 
 When I mount the directory from the guest system via NFS, the result is the
 following :
 mount : 192.168.56.101:/xx  failed , reason given by server:Permission
 denied
 
  I hope one of you can give me a hint in which direction I should continue
 my efforts.

What is the contents of /etc/exports on the server?

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


Re: [CentOS] USB keys

2010-04-26 Thread John Doe
From: m.r...@5-cent.us m.r...@5-cent.us
 I just do not understand why it's such a song and dance,
 rather than, say,
 syslinux /dev/sdb1
 mount /dev/sdb1 /tmp/mnt
 mount -o loop CentOSiso /mnt
 cp -pr /mnt/ /tmp/mnt

If that's all it takes, you should replace the wiki content...
And what does penlinux add that made you use it instead of your solution above?

JD


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


Re: [CentOS] NFS mount problem

2010-04-26 Thread sync
The contents of  /etc/exports on the server is the following :

/home/test   192.168.7.67(rw)

Is there anything error ?


On Mon, Apr 26, 2010 at 6:21 PM, James Pearson
jame...@moving-picture.comwrote:

 sync wrote:
  Hi,guys:
 
 I am trying to connect to a NFS-filesystem on a CentOS 5.3 i386  guest
  system. The host system is CentOS 5.4 x86_64.
   I set up the NFS server correctly and rpcinfo is also ok  inside the
 guest
  system show.
 
  The problem is, I can't connect to, or see the open port from the
 outside. I
  use the Host-Only  network setup with VirtualBox 3.1.0,
  the ip address in the guest system is 192.168.56.101 . and the host
 system
  ip address is 192.168.7.67
 
  When I mount the directory from the guest system via NFS, the result is
 the
  following :
  mount : 192.168.56.101:/xx  failed , reason given by server:Permission
  denied
 
   I hope one of you can give me a hint in which direction I should
 continue
  my efforts.

 What is the contents of /etc/exports on the server?

 James Pearson
 ___
 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] NFS mount problem

2010-04-26 Thread Marcelo M. Garcia
sync wrote:
 The contents of  /etc/exports on the server is the following :
 
 /home/test   192.168.7.67(rw)
 
 Is there anything error ?
 
Hi

First, do not top-post[1].

In general you can find more information in /var/log/messages.

You watch with
  # (as root) tail -f /var/log/messages
and from another window, try to mount.

Regards

mg.





[1]
Please do not top post to the mailing list when replying to a post. (See 
the Quoting Style link above, and use the Interleaved text method, 
deleting non-applicable text as required. If you need to reply to a 
message, and you do not need to post in interleaved mode, please bottom 
post instead of top posting.
http://www.centos.org/modules/tinycontent/index.php?id=16

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


Re: [CentOS] NFS mount problem

2010-04-26 Thread James Pearson
sync wrote:
 The contents of  /etc/exports on the server is the following :
 
 /home/test   192.168.7.67(rw)
 
 Is there anything error ?

I assume you have run something 'export -avr' since changing this file - 
or restarted the nfs server processes on the server?

You could try changing that line to:

/home/test  *(rw)

then re-run 'export -avr' and try the mount again

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


[CentOS] Sendmail problem

2010-04-26 Thread sync
Hi, guys:
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Sendmail problem

2010-04-26 Thread sync
I am sorry to  all , because I suddenly entered  the send button for the
blank content.


On Mon, Apr 26, 2010 at 7:49 PM, sync jian...@gmail.com wrote:

 Hi, guys:



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


Re: [CentOS] NFS mount problem

2010-04-26 Thread kalinix
On Mon, 2010-04-26 at 18:37 +0800, sync wrote:

 The contents of  /etc/exports on the server is the following :
 
 /home/test   192.168.7.67(rw)
 
 Is there anything error ?
 
 
 

Not very familiar with virtual box (I prefer vmware or kvm) but shouldn't you 
export to your vboxnet0 ip, which I presume is either 192.168.56.1 or 
192.168.56.2?



Also, your iptables rule on the virtual machine is right now:


iptables -A INPUT  -i eth0  tcp -s 192.168.7.67  --dport 111 -j ACCEPT

and I think it should be

iptables -A INPUT  -i eth0  tcp -s 192.168.56.X  --dport 111 -j ACCEPT


where 192.168.56.X is your vboxnet0 ip.


But again, I am not familiar with VirtualBox and it might have settings
different than vmware or kvm.


Calin

Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857

=
As he had feared, his orders had been forgotten and everyone had brought
the potato salad.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB keys

2010-04-26 Thread John Doe
From: m.r...@5-cent.us m.r...@5-cent.us
 I'd still like to know why syslinux is broken

It was a version problem (default packaged syslinux was too old)...
Might be this, but not sure:

  Changes in 3.72 : ... ISOLINUX: support generating images which can be 
either a CD-ROM or a hard disk (USB disk, etc.) See doc/isolinux.txt for more 
information

JD


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


Re: [CentOS] USB keys

2010-04-26 Thread Phil Schaffner
john maclean wrote on 04/24/2010 04:27 AM:
...
 The last time I installed from a USB key all I did was:-
 
 wget http://mirrors.dedipower.com/centos/5.4/os/i386/images/diskboot.img
 dd if=/path/to/diskboot.img of=/path/to/usb.key

That only gets you a bootable USB key, but without the packages.  May be 
all you want, but not really all the article, or the alternatives, cover.

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


Re: [CentOS] URGENT

2010-04-26 Thread m . roth
 It had solved , the error encounters from thousands of a bad sectors :( i
 do
 not know how it happened but recovery system has repaired after then
 mount /dev/sda /mnt ext3
  grub-install /dev/sda

 has worked thanks
snip
Thousands of bad sectors? Today, order/walk in and buy a replacement
disk. NOW!

Your other option is to have no computer, because if it's in the thousands
of bad sectors, you probably had a head crash, and the drive *will* be
dead in days, if not today.

mark

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


Re: [CentOS] URGENT

2010-04-26 Thread Hakan Koseoglu
2010/4/24 cahit Eyigünlü cahit.eyigu...@gmail.com:
 It had solved , the error encounters from thousands of a bad sectors :( i do
 not know how it happened but recovery system has repaired after then
Throw that disk away and get a new one ASAP.
Do not trust and use that disk.
-- 
Hakan (m1fcj) - http://www.hititgunesi.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] URGENT

2010-04-26 Thread Les Mikesell
On 4/26/2010 9:04 AM, Hakan Koseoglu wrote:
 2010/4/24 cahit Eyigünlücahit.eyigu...@gmail.com:
 It had solved , the error encounters from thousands of a bad sectors :( i do
 not know how it happened but recovery system has repaired after then
 Throw that disk away and get a new one ASAP.
 Do not trust and use that disk.

And equally important: even with a new disk, be sure you have backups. 
While drives may average 5+ years of service, the actual time they go 
bad is very unpredictable.

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

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


[CentOS] System Resources Graphing

2010-04-26 Thread Matt
Is there a package I can get that will graph system resources such as
CPU and disk I/O to an html file or something?

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


Re: [CentOS] System Resources Graphing

2010-04-26 Thread Marko A. Jennings
On Mon, April 26, 2010 12:09 pm, Matt wrote:
 Is there a package I can get that will graph system resources such as
 CPU and disk I/O to an html file or something?

Take a look at Munin (available from RPMforge): http://munin-monitoring.org

Marko

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


Re: [CentOS] System Resources Graphing

2010-04-26 Thread Don Krause
On Apr 26, 2010, at 9:09 AM, Matt wrote:

 Is there a package I can get that will graph system resources such as
 CPU and disk I/O to an html file or something?
 
 Matt


Cacti
--
Don Krause   

This message represents the official view of the voices in my head.






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


Re: [CentOS] System Resources Graphing

2010-04-26 Thread Alan McKay
I'm very fond of Munin.   Easy to install and maintain.

On Mon, Apr 26, 2010 at 12:09 PM, Matt lm7...@gmail.com wrote:
 Is there a package I can get that will graph system resources such as
 CPU and disk I/O to an html file or something?

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




-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] System Resources Graphing

2010-04-26 Thread Alan McKay
On Mon, Apr 26, 2010 at 12:12 PM, Alan McKay alan.mc...@gmail.com wrote:
 I'm very fond of Munin.   Easy to install and maintain.

p.s. also has and extremely helpful mailing list.



-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] System Resources Graphing

2010-04-26 Thread Brian Mathis
Take a look at the sysstat package which will collect data over
time.  There's a java-based desktop app called kSar that can use
this data to generate graphs.

There are also other options, such as SNMP monitoring, Cacti, etc...


On Mon, Apr 26, 2010 at 12:09 PM, Matt lm7...@gmail.com wrote:
 Is there a package I can get that will graph system resources such as
 CPU and disk I/O to an html file or something?

 Matt

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


Re: [CentOS] System Resources Graphing

2010-04-26 Thread Marcelo M. Garcia
Matt wrote:
 Is there a package I can get that will graph system resources such as
 CPU and disk I/O to an html file or something?
 
 Matt
Hi

I recommend Ganglia.
http://ganglia.sourceforge.net/

If you are using for a single system can be an overkill.

Regards

mg.

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


Re: [CentOS] System Resources Graphing

2010-04-26 Thread Les Mikesell
On 4/26/2010 11:15 AM, Marcelo M. Garcia wrote:
 Matt wrote:
 Is there a package I can get that will graph system resources such as
 CPU and disk I/O to an html file or something?

 Matt
 Hi

 I recommend Ganglia.
 http://ganglia.sourceforge.net/

 If you are using for a single system can be an overkill.


Likewise, if you have enough systems to make it worth setting up, 
OpenNMS is good and will also monitor your network equipment: 
http://www.opennms.org.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] System Resources Graphing

2010-04-26 Thread John Doe
From: Matt lm7...@gmail.com
 Is there a package I can get that will graph system resources such as
 CPU and disk I/O to an html file or something?

Here, we use Nagios + Pnp.
But that might be a little too heavy if it is only for one server...
Check cacti or mrtg...

JD


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


Re: [CentOS] System Resources Graphing

2010-04-26 Thread Matt
 Take a look at the sysstat package which will collect data over
 time.  There's a java-based desktop app called kSar that can use
 this data to generate graphs.

I have sysstats already but want a graphing.  ksar sounds appealing.
I do not have physical access to this server so I need to access ksar
through http on the server.  Does it support that?  Googling for the
answer on how to do this but not finding what I want yet.

Matt


 There are also other options, such as SNMP monitoring, Cacti, etc...

 Is there a package I can get that will graph system resources such as
 CPU and disk I/O to an html file or something?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] System Resources Graphing

2010-04-26 Thread Alan McKay
On Mon, Apr 26, 2010 at 12:13 PM, Brian Mathis brian.mat...@gmail.com wrote:
 Take a look at the sysstat package which will collect data over
 time.  There's a java-based desktop app called kSar that can use
 this data to generate graphs.

I use kSar as well as Munin.   Munin's only problem is that it has a
hard coded 5 minute granularity - which is perfectly fine for 99% or
more of what you need.   I run this script on my systems which keeps
sar logs with finer granularity that I can check into with kSar if I
need to.  But I almost never need to.

Run this every hour from cron to keep sar files for each hour

01 * * * * /root/sadc.sh

You may choose to only turn this on at times when you need that kind
of granularity - below is pretty extreme with 10 second granularity.
But even at that I do not find it impacts performance in any noticable
fashion.

#!/bin/bash

# DATEFORMAT=%Y.%m.%d %H:%M:%S
HOSTNAME=`hostname | awk -F. '{print $1}'`
DATEFORMAT=%Y.%m.%d %H:%M:%S
# SAINTERVAL x SACOUNT = 3600
SAINTERVAL=10   # seconds
SACOUNT=360 # iterations
TIMESTAMP=`date +${DATEFORMAT}`
LOGFILEMAX=80   # max number of files to store
((LOGFILEMAXMINUTES=60*LOGFILEMAX))
LOGDIR=/var/log/sa/sadc
mkdir -p $LOGDIR
if [ ! -d $LOGDIR ]
then
echo ERROR: $LOGDIR does not exist
exit 1
fi
LOGFILE=`echo ${LOGDIR}/sadc_${HOSTNAME}_${TIMESTAMP} | sed s/ /_/g `

# are we 32 or 64 bit?

BASEARCH=`uname -i`
case $BASEARCH in
i386)
SADC=/usr/lib/sa/sadc
;;
x86_64)
SADC=/usr/lib64/sa/sadc
;;
*)
echo ERROR: unknown architecture [$BASEARCH]
exit 2
esac

$SADC -d -I -F $SAINTERVAL $SACOUNT $LOGFILE

# get the date from LOGFILEMAXMINUTES minutes ago and then touch
# a file so it has that date.  We'll then use this file
# in the find command to find all files older than
# it, so we can remove them

MAXFILESTAMP=`date  -d $LOGFILEMAXMINUTES minutes ago`
MAXFILENAME=syscheckmaxfile
MAXFILE=${LOGDIR}/${MAXFILENAME}
touch -d ${MAXFILESTAMP} $MAXFILE

pushd $LOGDIR
RMFILES=`find . ! -name $MAXFILENAME -type f ! -newer $MAXFILE`
for afile in $RMFILES
do
rm -f $afile
done
popd
:

-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] System Resources Graphing

2010-04-26 Thread Alan McKay
 I have sysstats already but want a graphing.  ksar sounds appealing.
 I do not have physical access to this server so I need to access ksar
 through http on the server.  Does it support that?  Googling for the
 answer on how to do this but not finding what I want yet.

No, kSar is a desktop app and is IMO a PITA to use - I keep it in my
pocket only when I need very fine granularity.

Most of the other ones mentioned have web front ends - Munin being the
one I went with but I evaluated most of the other ones mentioned.



-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS mount problem

2010-04-26 Thread Jason Brown
You need to edit the ports in /etc/sysconfig/nfs to make them static before
enabling IPTABLES.  Once that is done you need to open not only those ports
but also tcp:udp 111 and tcp:udp 2049.

On Mon, Apr 26, 2010 at 7:59 AM, kalinix calin.kalinix.co...@gmail.comwrote:

  On Mon, 2010-04-26 at 18:37 +0800, sync wrote:

 The contents of  /etc/exports on the server is the following :

 /home/test   192.168.7.67(rw)

 Is there anything error ?



 Not very familiar with virtual box (I prefer vmware or kvm) but shouldn't you 
 export to your vboxnet0 ip, which I presume is either 192.168.56.1 or 
 192.168.56.2?



 Also, your iptables rule on the virtual machine is right now:



 iptables -A INPUT  -i eth0  tcp -s 192.168.7.67  --dport 111 -j ACCEPT

 and I think it should be

 iptables -A INPUT  -i eth0  tcp -s 192.168.56.X  --dport 111 -j ACCEPT


 where 192.168.56.X is your vboxnet0 ip.


 But again, I am not familiar with VirtualBox and it might have settings
 different than vmware or kvm.


 Calin

 Key fingerprint = 37B8 0DA5 9B2A 8554 FB2B 4145 5DC1 15DD A3EF E857

 =
 As he had feared, his orders had been forgotten and everyone had brought
 the potato salad.

 ___
 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] System Resources Graphing

2010-04-26 Thread Alan McKay
On Mon, Apr 26, 2010 at 12:45 PM, Alan McKay alan.mc...@gmail.com wrote:
 No, kSar is a desktop app and is IMO a PITA to use - I keep it in my
 pocket only when I need very fine granularity.

p.s. this happens mainly in 2 cases :
- the SW design team doing sandbox tests, trying to eke out more
performance from code
- a system in production gets bogged down but the intervals are small
enough that munin does not pick them up.

They both happen from time to time, but not often.


-- 
“Don't eat anything you've ever seen advertised on TV”
 - Michael Pollan, author of In Defense of Food
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] FW: System Resources Graphing

2010-04-26 Thread Simon Billis
Matt sent a missive on 2010-04-26:

 Is there a package I can get that will graph system resources such as
 CPU and disk I/O to an html file or something?

You could use any of these hyperic, cricket depending on your needs and
wants... I use/used cacti, ganglia, mrtg and hyperic... ganglia we currently
use to gather performance data and replaced hyperic (better fit for us) and
we also use cacti for collecting snmp data from switches and routers. I'm
considering switching to cricket in place of cacti for performance reasons
(only generates graphs when needed).



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


Re: [CentOS] System Resources Graphing

2010-04-26 Thread Les Mikesell
On 4/26/2010 11:38 AM, Matt wrote:
 Take a look at the sysstat package which will collect data over
 time.  There's a java-based desktop app called kSar that can use
 this data to generate graphs.

 I have sysstats already but want a graphing.  ksar sounds appealing.
 I do not have physical access to this server so I need to access ksar
 through http on the server.  Does it support that?  Googling for the
 answer on how to do this but not finding what I want yet.

Physical access shouldn't be necessary.  Snmp based tools expect to work 
over the network and you can run local graphic programs remotely through 
an ssh tunnel.  If you have to use only http, you could run cacti on the 
server itself, monitoring itself - and it is one of the easier systems 
to set up.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] System Resources Graphing

2010-04-26 Thread Brian Mathis
kSar runs on your local desktop and connects via SSH to the remote
server and collects the sysstat data.  It's good for checking or
reviewing server stats once in a while.  If you need sustained
graphing and reporting, then look into one of the other monitoring
tools mentioned here.


On Mon, Apr 26, 2010 at 12:38 PM, Matt lm7...@gmail.com wrote:
 Take a look at the sysstat package which will collect data over
 time.  There's a java-based desktop app called kSar that can use
 this data to generate graphs.

 I have sysstats already but want a graphing.  ksar sounds appealing.
 I do not have physical access to this server so I need to access ksar
 through http on the server.  Does it support that?  Googling for the
 answer on how to do this but not finding what I want yet.

 Matt


 There are also other options, such as SNMP monitoring, Cacti, etc...

 Is there a package I can get that will graph system resources such as
 CPU and disk I/O to an html file or something?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] vmware-server-console not installed

2010-04-26 Thread Agnello George
I had installed the vmware server ( VMware-server-2.0.1-156745.i386 ) on my
CentOS 5 box how ever i am not able to  to find the command
vmware-server-console . Do i need to install that RPM separately .

Thanks

-- 
Regards
Agnello D'souza
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vmware-server-console not installed

2010-04-26 Thread Rainer Duffner

Am 26.04.2010 um 19:36 schrieb Agnello George:

 I had installed the vmware server ( VMware- 
 server-2.0.1-156745.i386 ) on my CentOS 5 box how ever i am not able  
 to  to find the command vmware-server-console . Do i need to install  
 that RPM separately .


v2.0 uses a servlet running on an included tomcat container for  
administration-tasks.
It boils down to a plugin that runs in Firefox and only on Linux 
+Windows.

It's slow as a snail.



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


Re: [CentOS] vmware-server-console not installed

2010-04-26 Thread Les Mikesell
On 4/26/2010 12:36 PM, Agnello George wrote:
 I had installed the vmware server ( VMware-server-2.0.1-156745.i386 ) on
 my CentOS 5 box how ever i am not able to  to find the command
 vmware-server-console . Do i need to install that RPM separately .

The 2.x server doesn't have a separate console program like the 1.x 
series did - remote access is browser-based.  Connect via http on port 
8882 or https on 8883.  But, there are problems with the glibc library 
in RHEL/CentOS5 updates that may not be resolved yet.  Do you even have 
the server running?

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


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


Re: [CentOS] vmware-server-console not installed

2010-04-26 Thread Kwan Lowe
On Mon, Apr 26, 2010 at 1:48 PM, Les Mikesell lesmikes...@gmail.com wrote:
 On 4/26/2010 12:36 PM, Agnello George wrote:
 I had installed the vmware server ( VMware-server-2.0.1-156745.i386 ) on
 my CentOS 5 box how ever i am not able to  to find the command
 vmware-server-console . Do i need to install that RPM separately .

 The 2.x server doesn't have a separate console program like the 1.x
 series did - remote access is browser-based.  Connect via http on port
 8882 or https on 8883.  But, there are problems with the glibc library
 in RHEL/CentOS5 updates that may not be resolved yet.  Do you even have
 the server running?

There's the glibc issue that's still unresolved.  There's another
issue with using Firefox as the admin client. It *might* let you in,
but the console plugin doesn't appear to be working again. Only client
that works for me is InternetExploder.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vmware-server-console not installed

2010-04-26 Thread Rainer Duffner

Am 26.04.2010 um 19:52 schrieb Kwan Lowe:

 On Mon, Apr 26, 2010 at 1:48 PM, Les Mikesell  
 lesmikes...@gmail.com wrote:
 On 4/26/2010 12:36 PM, Agnello George wrote:
 I had installed the vmware server ( VMware- 
 server-2.0.1-156745.i386 ) on
 my CentOS 5 box how ever i am not able to  to find the command
 vmware-server-console . Do i need to install that RPM separately .

 The 2.x server doesn't have a separate console program like the 1.x
 series did - remote access is browser-based.  Connect via http on  
 port
 8882 or https on 8883.  But, there are problems with the glibc  
 library
 in RHEL/CentOS5 updates that may not be resolved yet.  Do you even  
 have
 the server running?

 There's the glibc issue that's still unresolved.  There's another
 issue with using Firefox as the admin client. It *might* let you in,
 but the console plugin doesn't appear to be working again. Only client
 that works for me is InternetExploder.


I switched to ESX4i and use a Windows VM with VI-Client to manage it -  
there's no other way to do it, unfortunately.
For something that works on Windows exclusively (Dot-Net...), it's  
horribly slow and buggy.
I don't see how a Java-solution would have been slower.



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


Re: [CentOS] vmware-server-console not installed

2010-04-26 Thread Les Mikesell
On 4/26/2010 1:01 PM, Rainer Duffner wrote:

 I switched to ESX4i and use a Windows VM with VI-Client to manage it -
 there's no other way to do it, unfortunately.
 For something that works on Windows exclusively (Dot-Net...), it's
 horribly slow and buggy.
 I don't see how a Java-solution would have been slower.

You only need the client up to the point where you get the network set 
up.  Then you can switch to a better native remote access method 
directly to the guest target, like ssh/freenx for Centos, remote 
desktop/vnc for windows - just like you would with a physical machine.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vmware-server-console not installed

2010-04-26 Thread Dan Irwin

-Original Message-
From: centos-boun...@centos.org 
[mailto:centos-boun...@centos.org] On Behalf Of Kwan Lowe
Sent: Tuesday, 27 April 2010 3:52 AM
To: CentOS mailing list
Subject: Re: [CentOS] vmware-server-console not installed

There's the glibc issue that's still unresolved.  There's another
issue with using Firefox as the admin client. It *might* let you in,
but the console plugin doesn't appear to be working again. Only client
that works for me is InternetExploder.

So that's why the management interfaces from vmware 2 appear to keep
crashing!

Also, the console plugin seems to work fine in Firefox on Fedora 12, for
me anyway.

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


Re: [CentOS] vmware-server-console not installed

2010-04-26 Thread Gary Greene
On 4/26/10 4:57 PM, Dan Irwin d...@jackies.com.au wrote:
 
 -Original Message-
 From: centos-boun...@centos.org
 [mailto:centos-boun...@centos.org] On Behalf Of Kwan Lowe
 Sent: Tuesday, 27 April 2010 3:52 AM
 To: CentOS mailing list
 Subject: Re: [CentOS] vmware-server-console not installed
 
 There's the glibc issue that's still unresolved.  There's another
 issue with using Firefox as the admin client. It *might* let you in,
 but the console plugin doesn't appear to be working again. Only client
 that works for me is InternetExploder.
 
 So that's why the management interfaces from vmware 2 appear to keep
 crashing!
 
 Also, the console plugin seems to work fine in Firefox on Fedora 12, for
 me anyway.
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

The current work around is to downgrade glibc to that of 5.3, at least until
the next update from VMWare comes out that should fix this issue.

-- 
Gary L. Greene, Jr.
IT Operations
Minerva Networks, Inc.
Cell:  (650) 704-6633
Phone: (408) 240-1239

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


Re: [CentOS] vmware-server-console not installed

2010-04-26 Thread John Thomas
Agnello George wrote:
 I had installed the vmware server ( VMware-server-2.0.1-156745.i386 ) on
 my CentOS 5 box how ever i am not able to  to find the command
 vmware-server-console . Do i need to install that RPM separately .

The console app is a Firefox plugin, but I extract the app and run it 
separately and find that solution (hack?) much better.

 From memory, here is how you do that:
   1. Get a copy of vmware-vmrc-linux-x86.xpi (mine was in 
/usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui/plugin/vmware-vmrc-linux-x86.xpi)
   2. Rename the file to vmware-vmrc-linux-x86.xpi.zip
   3. Unzip the file

Now run vmware-vmrc or pass some info like capitalized below:
vmware-vmrc -h HOST:PORT -u USER -p PASSWORD


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


Re: [CentOS] vmware-server-console not installed

2010-04-26 Thread Kwan Lowe
On Mon, Apr 26, 2010 at 7:57 PM, Dan Irwin d...@jackies.com.au wrote:

 So that's why the management interfaces from vmware 2 appear to keep
 crashing!

 Also, the console plugin seems to work fine in Firefox on Fedora 12, for
 me anyway.

Firefox 3.5.x appears to be working. F3.6.x has some issues.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vmware-server-console not installed

2010-04-26 Thread Brian Mathis
On Mon, Apr 26, 2010 at 8:05 PM, Gary Greene
ggre...@minervanetworks.com wrote:
 On 4/26/10 4:57 PM, Dan Irwin d...@jackies.com.au wrote:

 -Original Message-
 From: centos-boun...@centos.org
 [mailto:centos-boun...@centos.org] On Behalf Of Kwan Lowe
 Sent: Tuesday, 27 April 2010 3:52 AM
 To: CentOS mailing list
 Subject: Re: [CentOS] vmware-server-console not installed

 There's the glibc issue that's still unresolved.  There's another
 issue with using Firefox as the admin client. It *might* let you in,
 but the console plugin doesn't appear to be working again. Only client
 that works for me is InternetExploder.

 So that's why the management interfaces from vmware 2 appear to keep
 crashing!

 Also, the console plugin seems to work fine in Firefox on Fedora 12, for
 me anyway.


 The current work around is to downgrade glibc to that of 5.3, at least until
 the next update from VMWare comes out that should fix this issue.

 --
 Gary L. Greene, Jr.


You don't need to downgrade for the whole OS, you can just do it for
VMware.  See the procedure in the first comment in this bug
http://bugs.centos.org/view.php?id=3884.  I have done that and it
works fine.  Just remember that if you update vmware, the edits to
vmware-hostd will be undone, so you need to redo them.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS mount problem

2010-04-26 Thread sync
On Mon, Apr 26, 2010 at 7:11 PM, James Pearson
jame...@moving-picture.comwrote:

 sync wrote:
  The contents of  /etc/exports on the server is the following :
 
  /home/test   192.168.7.67(rw)
 
  Is there anything error ?

 I assume you have run something 'export -avr' since changing this file -
 or restarted the nfs server processes on the server?

 You could try changing that line to:

 /home/test  *(rw)

 then re-run 'export -avr' and try the mount again


Yeah ~
 When I change that line in the /etc/exports on the guest system which
installed the NFS server  like that :
/home/test  *(rw)

then I run the mount -t nfs 192.168.56.101:/home/test /media on the host
system  , it will be ok ~

But when I change these message:
/home/test  192.167.7.67(rw)

The result is not ok ~

So what is the problem with it ?


 James Pearson
 ___
 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] vmware-server-console not installed

2010-04-26 Thread Dan Irwin

 From memory, here is how you do that:
   1. Get a copy of vmware-vmrc-linux-x86.xpi (mine was in 
/usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/webapps/u
i/plugin/vmware-vmrc-linux-x86.xpi)
   2. Rename the file to vmware-vmrc-linux-x86.xpi.zip
   3. Unzip the file

Now run vmware-vmrc or pass some info like capitalized below:
vmware-vmrc -h HOST:PORT -u USER -p PASSWORD

That's really cool, and probably way more elegant than using the web
browser plugin.

Cheers,

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


Re: [CentOS] vmware-server-console not installed

2010-04-26 Thread Dan Irwin
You don't need to downgrade for the whole OS, you can just do it for
VMware.  See the procedure in the first comment in this bug
http://bugs.centos.org/view.php?id=3884.  I have done that and it
works fine.  Just remember that if you update vmware, the edits to
vmware-hostd will be undone, so you need to redo them.

Thanks for the mantis link, it was very informative.

Cheers,

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


Re: [CentOS] NFS mount problem

2010-04-26 Thread Dan Irwin
 

But when I change these message:
/home/test  192.167.7.67(rw)

The result is not ok ~

So what is the problem with it ? 
 
  

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


Re: [CentOS] NFS mount problem

2010-04-26 Thread Dan Irwin
   But when I change these message:
   /home/test  192.167.7.67(rw)

   The result is not ok ~

   So what is the problem with it ?

 Perhaps you need to specify a netmask:
 
/home/test 192.167.7.67/255.255.255.0(rw)
 
 
Appologies in advance for the html post. Bloody outlook.
 
Regards,
 
Dan 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Help with NFSV4 server

2010-04-26 Thread Clint Dilks
On 21/04/10 23:47, Kahlil Hodgson wrote:
 Hi Clint

 I've got NFS4 running on F11 and your configuration looks fine to me.


 {The Client}

 [r...@silver ~]# cat /etc/idmapd.conf
 [General]
 ...
 [Mapping]

 Nobody-User = nfsnobody
 Nobody-Group = nfsnobody
  
 You may want to check that nfsnobody is defined on your system and
 rpc.idmapd is actually running.  Also the output from rpcinfo might help.


  From /etc/fstab
 inf1:/ /test nfs4
 auto,rw,nodev,sync,_netdev,proto=tcp,retry=10,rsize=32768,wsize=32768,hard,intr
 0 0
  
 I'd probably want to keep things simple while you are testing. Perhaps
 cut this back to:

 inf1:/ /test rw,noatime,sync,hard,intr  0 0

 Running tcpdump at both ends while you try to do a directory listing may
 provide some insight (which process is waiting for a response from whom)

 Err grasping at straws ... you may also want to check for any old stuff
 you may have in /etc/hosts.{allow,deny}.

 Hope this helps,

 Kal

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


Hi People,

Thanks for all the responses related to this.

To keep things simple I started from scratch.  Just working on the 
server and testing my mounting using the server itself and this is what 
I have found


/etc/fstab

*** other unrelevant entries *

/home/nfs4exports/homenone bind,rw0 0
/tmp /nfs4exports/tmp none bind,rw0 0
inf1:/   /media/nfs4  nfs4 auto,rw 0 0
inf1:/nfs4exports/home /media/nfs nfs  auto,rw 0 0


When I mount /media/nfs everything works as I would expect and I am 
seeing the files I expect

When I mount /media/nfs4 the mount completes and I can see files but 
they are not the ones I expect



ls -lsa /media/nfs4/home/
total 20
8 drwxr-xr-x 2 root root 4096 Apr 27 13:36 .
8 drwxr-xr-x 5 root root 4096 Apr 27 13:22 ..
4 -rw-r--r-- 1 root root0 Apr 27 13:36 home-test

  ls -lsa /media/nfs/
total 24
8 drwxr-xr-x 3 root   root   4096 Apr 21 14:21 .
8 drwxr-xr-x 4 root   root   4096 Apr 27 12:40 ..
8 drwx-- 2 clintd clintd 4096 Apr 27 15:23 clintd

  The home-test file is a test file I created inside /nfs4exports/home 
so it appears that NFS v3 sees and uses a bind mounted area as you would 
expect whereas NFS v4 is ignoring the bind and using the filesystem 
underneath which is very strange as all the reading I have done suggests 
that you now must now have bind configured for NFS v4 to work correctly.


Thank you for any insight you can offer.



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


Re: [CentOS] NFS mount problem

2010-04-26 Thread JohnS

On Tue, 2010-04-27 at 13:23 +1000, Dan Irwin wrote:
  
 Appologies in advance for the html post. Bloody outlook.
  
 Regards,
  
 Dan 
---
Dan can you can the Blue Test Please?

John

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


Re: [CentOS] System Resources Graphing

2010-04-26 Thread Rajagopal Swaminathan
Greetings,

On Mon, Apr 26, 2010 at 9:39 PM, Matt lm7...@gmail.com wrote:
 Is there a package I can get that will graph system resources such as
 CPU and disk I/O to an html file or something?



Try Zabbix. It may be seem to be an overkill.

All the same, it is very extensible and have tried it in couple of
scenarios of remote and local monitoring of diverse devices and
processes. and oh SVN checkout may be a good bet.

There are, of course, rpms are CentOS are available in a repo
(AndrewFarley) Available

HTH,

Regards,

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


Re: [CentOS] NFS mount problem

2010-04-26 Thread Dan Irwin

Dan can you can the Blue Test Please?


Hey I did appologise! We do use that feature of outlook internally, and
if I reply to a html post, outlook will do that by default.

I already know the fix - To use my gmail account instead of my work
email account for this mailing list.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NFS mount problem

2010-04-26 Thread sync
On Tue, Apr 27, 2010 at 11:23 AM, Dan Irwin d...@jackies.com.au wrote:

 But when I change these message:
/home/test  192.167.7.67(rw)

The result is not ok ~

So what is the problem with it ?

  Perhaps you need to specify a netmask:

 /home/test 
 192.167.7.67/255.255.255.0(rw)http://192.167.7.67/255.255.255.0%28rw%29


 Appologies in advance for the html post. Bloody outlook.

Thanks  for you reply ~

I tried that you suggested ,but the result is the same as I said .
Perhaps it is the iptables problem, and I am doing with it  now ~


 Regards,

 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] NFS mount problem

2010-04-26 Thread sync
On Tue, Apr 27, 2010 at 11:23 AM, Dan Irwin d...@jackies.com.au wrote:

 But when I change these message:
/home/test  192.167.7.67(rw)

The result is not ok ~

So what is the problem with it ?

  Perhaps you need to specify a netmask:

 /home/test 
 192.167.7.67/255.255.255.0(rw)http://192.167.7.67/255.255.255.0%28rw%29


Haha ~
I solved it just now. And the solution is the following :

1. Modify the /etc/exports file and add these:
/home/test   192.168.56.0/24(rw)
/home/test192.168.7.0/24(rw)

2. In the host system , then run the following commands:
/etc/init.d/portmap start
mount -t nfs 192.158.56.101:/home/test  /media

And the result is ok ~





 Appologies in advance for the html post. Bloody outlook.

 Regards,

 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