Re: [CentOS-virt] KVM: where are the directions?

2010-11-15 Thread Benjamin Franz
On 11/14/2010 05:25 PM, compdoc wrote:
 Unless you have old cards you have to retain, PCI-x isn't useful anymore.
 Too slow.


Depends on what you consider 'too slow'. I just benchmarked an 8 drive 
software RAID6 (8 x 1.5 TByte Seagate drives) on a PCI-X card (Areca 
ARC-1120 configured for JBOD operation) at 196 megabytes/second 
sustained sequential write and 420 megabytes/second sustained sequential 
read with bonnie++ on a Supermicro PDSMi board.

Just how fast do you need?

-- 
Benjamin Franz

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


Re: [CentOS-virt] KVM: where are the directions?

2010-11-15 Thread Benjamin Franz
On 11/15/2010 09:00 AM, compdoc wrote:

 It's still useful, but why invest in an older technology when the newer
 technology is there and doesn't cost more?


Because it *does* cost more and doesn't (in my case) provide anything 
special I need feature wise. I already had a nice hot swappable 2U case 
with dual p/s, a not incredibly old server motherboard, dual core CPU, 
memory et al available. For an incremental cost of about $460 dollars I 
bought an Areca 1120 PCI-X controller to match my existing hardware 
rather than buying more like two thousand dollars in new hardware to do 
exactly the same thing, at pretty much the same performance level.

-- 
Benjamin Franz

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


[CentOS-es] dudas proxy squid

2010-11-15 Thread tuxmax
Hola Listeros:

Tengo una problema con una solicitud que me han hecho para bloquear a un
usuario el acceso a internet, Les cuento tengo configurado un proxy en mi
empresa el cual tiene 3 Acl 1 que permite el acceso full a internet otra con
un acceso medio ( con algunas paginas bloqueadas) y la ultima es sin acceso
a internet.

Ahora el problema que tengo es que me han solicitado quitarle el acceso a
una usuaria pero dejandole operativo el correo electronico, mi problema es
que nosotros usamos google Apps por lo que nuestro correo es igual al Gmail
y me he dado artas vueltas y no se como hacerlo, así que agradecería
cualquier ayudita.

Atentamente,

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


Re: [CentOS-es] dudas proxy squid

2010-11-15 Thread Julio Cesar
 On Mon, 15 Nov 2010 15:40:59 -0300, tuxmax tux...@gmail.com wrote:
 Hola Listeros:

 Tengo una problema con una solicitud que me han hecho para bloquear a 
 un
 usuario el acceso a internet, Les cuento tengo configurado un proxy 
 en mi
 empresa el cual tiene 3 Acl 1 que permite el acceso full a internet 
 otra con
 un acceso medio ( con algunas paginas bloqueadas) y la ultima es sin 
 acceso
 a internet.

 Ahora el problema que tengo es que me han solicitado quitarle el 
 acceso a
 una usuaria pero dejandole operativo el correo electronico, mi 
 problema es
 que nosotros usamos google Apps por lo que nuestro correo es igual al 
 Gmail
 y me he dado artas vueltas y no se como hacerlo, así que agradecería
 cualquier ayudita.

 Atentamente,

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


 haber si entiendo quieres quitarle el sevicio de internet e ese 
 usuario, es decir que no pueda navegar a nada, pero si mantenerle el 
 correo, mi duda es el correo es web ??
 explicame mejor para poder ayudarte

 saludos
-- 
 Julio Cèsar Carballo Lòpez
 Administrador de Red
 Instituto de Geografìa Tropical
 Debian GNU/Linux User
 Linux Registered User: 477739
 Telef: (537) 832/3494
___
CentOS-es mailing list
CentOS-es@centos.org
http://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS-es] dudas proxy squid

2010-11-15 Thread tuxmax
Hola Julio

lo que me solicitaron es  quitarle el internet a ese usuario que no pueda
navegar, pero que si tenga acceso a su correo que es Web ( de google apps),
este correo web tiene la posibilidad de ser configurado ademas por pop3 y
imap, yo acutalmente lo deje como imaps y segun lo que informa la pagina de
soporte de google apps debo dejar habilitados los puertos imap=993 y
smtp=465, todas estas configuraciones del correo las deje listas en outlook
express.

mi proxy no esta configurado como transparente ya que debo configurar el
proxy en cada cliente para que puedan navegar por internet.

Atentamente,

Mario Guaquiante



El 15 de noviembre de 2010 15:44, Julio Cesar jce...@geotech.cu escribió:

   On Mon, 15 Nov 2010 15:40:59 -0300, tuxmax tux...@gmail.com wrote:
  Hola Listeros:
 
  Tengo una problema con una solicitud que me han hecho para bloquear a
  un
  usuario el acceso a internet, Les cuento tengo configurado un proxy
  en mi
  empresa el cual tiene 3 Acl 1 que permite el acceso full a internet
  otra con
  un acceso medio ( con algunas paginas bloqueadas) y la ultima es sin
  acceso
  a internet.
 
  Ahora el problema que tengo es que me han solicitado quitarle el
  acceso a
  una usuaria pero dejandole operativo el correo electronico, mi
  problema es
  que nosotros usamos google Apps por lo que nuestro correo es igual al
  Gmail
  y me he dado artas vueltas y no se como hacerlo, así que agradecería
  cualquier ayudita.
 
  Atentamente,
 
  Mario Guaquiante
  ___
  CentOS-es mailing list
  CentOS-es@centos.org
  http://lists.centos.org/mailman/listinfo/centos-es


  haber si entiendo quieres quitarle el sevicio de internet e ese
  usuario, es decir que no pueda navegar a nada, pero si mantenerle el
  correo, mi duda es el correo es web ??
  explicame mejor para poder ayudarte

  saludos
 --
  Julio Cèsar Carballo Lòpez
  Administrador de Red
  Instituto de Geografìa Tropical
  Debian GNU/Linux User
  Linux Registered User: 477739
  Telef: (537) 832/3494
 ___
 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] Best way to configure proprietary NVidia driver on CentOS ?

2010-11-15 Thread John Doe
From: Nicolas Kovacs cont...@kikinovak.net

 What's the best (cleanest, easiest, whatever) way to install the  proprietary 
 NVidia driver on CentOS 5.5 ? Usually I'm using the RPMForge 3rd  party repo 
 and compile the odd missing package myself from a Fedora SRPM.  But the 
 nvidia 

 packages look a bit like a mess. DKMS has errors in the  startup script 
 (looking for a nonexistent log_action_msg and the likes), so  I wonder if 
 it's 

 best to just download the driver from nvidia.com and build  it myself. 

I use dkms-nvidia-x11-drv and it works fine between kernel updates...
While I know kmod is said to be better, last time I tried it, I failed to make 
it work.
Maybe I will retry kmod later...

JD


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


Re: [CentOS] Best way to configure proprietary NVidia driver on CentOS ?

2010-11-15 Thread John Hodrien
On Mon, 15 Nov 2010, John Doe wrote:

 I use dkms-nvidia-x11-drv and it works fine between kernel updates...  While
 I know kmod is said to be better, last time I tried it, I failed to make it
 work.  Maybe I will retry kmod later...

I'd previously had an identical experience to yours with kmod-nvidia, but when
I recently tried it all worked without a hitch.  dkms-nvidia from rpmforge is
just too far out of date now really.

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


Re: [CentOS] can't find ldapseaerch

2010-11-15 Thread Craig White
On Sat, 2010-11-13 at 18:09 -0500, bluethundr wrote:
 hello list
 
 I'm having a very strange problem with my centos 5.5 system. For some
 strange reason, this machine cannot find ldapsearch:
 
 [r...@virtcent13 ~]# ldapsearch
 ldapsearch: Command not found.
 
 
 [r...@virtcent13 ~]# whereis ldapsearch
 ldapsearch: /usr/bin/ldapsearch /usr/share/man/man1/ldapsearch.1.gz
 
 ldapsearch currently lives at /usr/bin along with a lot of other
 really very useful tools.
 
 
 /usr/bin is also _clearly_ on my root path:i
 
 [r...@virtcent13 ~]# echo $PATH
 /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin
 
 And here are the permissions and modes for this tool:
 
 [r...@virtcent13 bin]# ls -l ldapsearch
 -rwxr-xr-x 1 root wheel 65336 Aug 11 09:20 ldapsearch

given your 'echo $PATH' it should work... you might want to verify the
package...

[r...@srv1 ~]# rpm -q --whatprovides /usr/bin/ldapsearch
openldap-clients-2.3.43-3.el5

[r...@srv1 ~]# rpm -V openldap-clients
#

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [CentOS] hwclock problem

2010-11-15 Thread Simon Billis
Hi,

 On 11/14/10 5:38 PM, Jobst Schmalenbach wrote:
  Ok I try that, but the thing is:
 
* motherboards not that old
* its exactly 11 hours (+/- a couple of seconds) each time
 
 
 sounds like a conflict between time zones.a PC hardware clock could
 be set to UTC or local time.  I always set my PC Hardware clocks to
 localtime, and make sure Unix knows it.   darnit, I can't remember
 where
 that setting is right now.

Seems to me that the kernel is expecting the hardware clock to be at UTC.
This may be a bug in hwclock or a typo in /etc/sysconfig/clock

Have you tried to setting the hwclock to UTC and leaving it there?

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


Re: [CentOS] Does yum update tzdata update /etc/localtime?

2010-11-15 Thread Jorge Fábregas
On Monday 15 November 2010 00:13:53 Jobst Schmalenbach wrote:
 Does yum update tzdata update /etc/localtime or does this need
 to be done manually?

No, it doesn't.  It is created by Anaconda during install.  


 [this is part of the hwclock problem, a guy from sage-au has given me a
 hint]

I mentioned this file on your other thread last night but afterwards I thought 
you had it right since the output for your date commands contained EST which 
is correct for your timezone.

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


Re: [CentOS] xServes are dead ;-( / SAN Question

2010-11-15 Thread Gabriel Tabares


 I tought of that, and I will be needing something like this, since I have
 some services that need to be restarted in the event of them dying or being
 killed.

 But I'm not that much confortable scripting a modification of the initab to
 activate / deactivate services on a server-by-server basis.


Have a look at monit. We are using it for restarting critical services 
(heartbeat, postfix, apache) if they fail and it has been simple to set 
up and stable.

The most useful thing is that it emails you whenever the PID of the 
process changes or it has to restart it.

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


Re: [CentOS] RPM/YUM on CentOS 5.4 issue - multiple versions of the same package installed

2010-11-15 Thread Gabriel Tabares
On 11/11/2010 13:47, Gabriel Tabares wrote:
 Hi all,

 We currently have an issue with multiple versions of a custom package
 being installed. The RPM contains a liquibase script (a Java-based DB
 change management tool) and a %post script to run liquibase.

 We are installing with scripts that run yum update liquibase-script.

 If the %post script runs correctly, it returns 0 and the application
 gets installed correctly but, if the %post script fails, it returns -1
 and the application does get installed, but the old one does not get
 unistalled, so if I run rpm -qa | grep liquibase-script I get a list
 of all the versions that have been installed.

 I know that the files have been installed correctly, as the RPM contents
 have the same name but different content and I have checked it.

 Why is this happening?

 I thought that %post scripts failing do not prevent the application to
 installing and that RPM installation is atomic, so installing one
 package will remove the previous verison. Is there any way to prevent
 this issue?

 We're using CentOS 5.4 on x86_64

Any suggestion, guys?

Thanks

Gabriel

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


Re: [CentOS] hwclock problem

2010-11-15 Thread Robert Nichols
On 11/11/2010 06:41 PM, Jobst Schmalenbach wrote:
 Hi.

 I run peridocally (from cron) on all of my machines

30 * * * * root /sbin/hwclock --systohc

 All of those machines in question take their time via NTP
 from the same local server, and that server gets its time
 from a ntp pool.

 Now I had to reboot a couple of them two days ago and to my surprise
 all had problems with the time upon booting.

 Here are the important files:

 [r...@xx ~] #l /etc/adjtime
 0.001687 1289518202 0.00
 1289518202
 LOCAL

 [r...@xxx ~] #l /etc/sysconfig/clock
 ZONE=Australia/Melbourne
 UTC=false
 ARC=false

 So from my understanding the hwclock should contain the local time.

 [r...@xx ~] #date
 Fri Nov 12 11:26:23 EST 2010
 [r...@xx ~] #hwclock
 Fri 12 Nov 2010 11:26:42 EST  -0.167976 seconds
 [r...@xx ~] #

 However on boot I get the following:

 Nov 10 19:08:37 XX syslogd 1.4.1: restart.
 Nov 10 19:08:37 XX kernel: klogd 1.4.1, log source = /proc/kmsg started.
 Nov 10 19:08:37 XX kernel: Linux version 2.6.18-164.11.1.el5 
 (mockbu...@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.
 1.2-46)) #1 SMP Wed Jan 20 07:32:21 EST 2010
 Nov 10 19:08:37 XX kernel: Command line: ro root=/dev/sda2 vga=791
 Nov 10 19:08:37 XX kernel: BIOS-provided physical RAM map:
 ...
 ...
 Nov 10 19:08:51 XX kernel: IPv6 over IPv4 tunneling driver
 Nov 10 08:08:52 XX ntpdate[2464]: step time server 192.168.1.1 offset 
 -39599.950905 sec
 Nov 10 08:08:52 XX xinetd[2447]: xinetd Version 2.3.14 started with 
 libwrap loadavg labeled-networking options compiled in.

 and off course dovecot falls over too Time just moved backwards by 39599 
 seconds.

 Now, 39600s is 11 hours, which is (inc DST) *MY* offset from Greenwich.


 So what am I doing wrong?
 The idea of running hwclock is to make sure that exactly the problem with 
 dovecot does NOT occur, and ntp does not have a coughing fit when the 
 hardware clock is not close to the correct time upon booting.
 The last time I booted some of those machine was more than 200 days ago, so 
 the hwclock will be skewed if I do not update it.

By any chance is /etc/localtime a symlink to a file system that is not mounted
early in the boot process?  That's why /etc/localtime is normally a _copy_ of
the appropriate zoneinfo file.

-- 
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] updating to gtk+ = 2.0

2010-11-15 Thread Gabriel Tabares

 In that case:

 yum install gtk2 gtk2-devel

 Funny thing is those are already installed.

 However I require a later version of gtk+.

 I'm attempting to compile from source.

CentOS comes with an old version of GTK 2. Most application these days 
require a later version of the library, so you have two realistic options:
  * Compile GTK from source and install it out of the standard library 
path, then specify the include paths for compiling and use 
LD_LIBRARY_PATH before running the application.
  * Use another Linux distritbution or wait for CentOS 6

There's another option that is not guaranteed to work, copy all the 
libraries you need from another Linux distribution (Fedora?) into a 
directory, use LD_LIBRARY_PATH and pray that it works with CentOS, but I 
would not place much trust on this option.

I would personally go for the latter option as compiling a new version 
of GTK and its dependencies is not for the faint of heart, specially for 
something as obsolete (by choice) as CentOS.


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


Re: [CentOS] RPM/YUM on CentOS 5.4 issue - multiple versions of the same package installed

2010-11-15 Thread Todd Denniston
Gabriel Tabares wrote, On 11/15/2010 08:05 AM:
 On 11/11/2010 13:47, Gabriel Tabares wrote:
 Hi all,

 We currently have an issue with multiple versions of a custom package
 being installed. The RPM contains a liquibase script (a Java-based DB
 change management tool) and a %post script to run liquibase.

 We are installing with scripts that run yum update liquibase-script.

 If the %post script runs correctly, it returns 0 and the application
 gets installed correctly but, if the %post script fails, it returns -1
 and the application does get installed, but the old one does not get
 unistalled, so if I run rpm -qa | grep liquibase-script I get a list
 of all the versions that have been installed.

 I know that the files have been installed correctly, as the RPM contents
 have the same name but different content and I have checked it.

 Why is this happening?

 I thought that %post scripts failing do not prevent the application to
 installing and that RPM installation is atomic, so installing one
 package will remove the previous verison. Is there any way to prevent
 this issue?

 We're using CentOS 5.4 on x86_64

 Any suggestion, guys?
 
 Thanks
 
 Gabriel
 

The fedora folks have a pretty thorough how to:
http://fedoraproject.org/wiki/PackageMaintainers/CreatingPackageHowTo

And
man package-cleanup

Hope this helps.

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] MacBook Pro and CentOS-5

2010-11-15 Thread James B. Byrne
After a long, and quite disheartening, series of hardware problems
with my HP laptop I decided to try out a Mac (late 2009 Intel based
19.5 inch). In the months since January past I have discovered this
to be no significant improvement and I have grown tired of the
persistent wireless connectivity problems and am totally put off by
the upgrade to OSX-10.6.4 which killed HD graphics using Open-Gl.
Since July, trying to use HD on my Mac now blackens half the screen
and then locks the system.

I am contemplating wiping the system and installing CentOS-5.5
instead.  Before my frustration leads me to run straight on into a
wall, what can I expect to NOT work on the Macbook if I do this?  I
do need wireless, albeit I really cannot say that I have it now.  I
also dearly would like to get back HD graphics as well.

Regards,

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

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


Re: [CentOS] MacBook Pro and CentOS-5

2010-11-15 Thread Les Mikesell
On 11/15/2010 10:18 AM, James B. Byrne wrote:
 After a long, and quite disheartening, series of hardware problems
 with my HP laptop I decided to try out a Mac (late 2009 Intel based
 19.5 inch). In the months since January past I have discovered this
 to be no significant improvement and I have grown tired of the
 persistent wireless connectivity problems and am totally put off by
 the upgrade to OSX-10.6.4 which killed HD graphics using Open-Gl.
 Since July, trying to use HD on my Mac now blackens half the screen
 and then locks the system.

 I am contemplating wiping the system and installing CentOS-5.5
 instead.  Before my frustration leads me to run straight on into a
 wall, what can I expect to NOT work on the Macbook if I do this?  I
 do need wireless, albeit I really cannot say that I have it now.  I
 also dearly would like to get back HD graphics as well.

Can't help directly with the hardware questions, but (a) if you are 
still within your Applecare coverage, take the thing in and get anything 
that doesn't work fixed before touching the OS, and (b) you might try 
Virtualbox with Centos as a guest (or VMware if you don't mind paying 
for it).  I've generally found the vendor-supplied native video, sleep, 
and wireless tools work best on laptops and virtual machines work well 
enough for the client-type things I do under Centos.

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


[CentOS] Auto-Re: CentOS Digest, Vol 70, Issue 15

2010-11-15 Thread 韦加宁
信已收到,谢谢!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] MacBook Pro and CentOS-5

2010-11-15 Thread Jeff Chambers
Being a mac system admin and support specialist and CentOS guy. I can say you 
can always try using an external hard drive to boot the Mac off of and install 
CentOS on that drive to play around and test out all the drivers for video 
card, wireless, etc...

I don't boot into CentOS but have it running in Parallels and it runs great.

I also do recommend to get your Mac repaired too, just be sure to clone your 
hard drive off to an external drive before sending it into the shop. Apple is 
known to completely erase hard drives with no warning.


-Jeff

On Nov 15, 2010, at 8:44 AM, Les Mikesell wrote:

 On 11/15/2010 10:18 AM, James B. Byrne wrote:
 After a long, and quite disheartening, series of hardware problems
 with my HP laptop I decided to try out a Mac (late 2009 Intel based
 19.5 inch). In the months since January past I have discovered this
 to be no significant improvement and I have grown tired of the
 persistent wireless connectivity problems and am totally put off by
 the upgrade to OSX-10.6.4 which killed HD graphics using Open-Gl.
 Since July, trying to use HD on my Mac now blackens half the screen
 and then locks the system.
 
 I am contemplating wiping the system and installing CentOS-5.5
 instead.  Before my frustration leads me to run straight on into a
 wall, what can I expect to NOT work on the Macbook if I do this?  I
 do need wireless, albeit I really cannot say that I have it now.  I
 also dearly would like to get back HD graphics as well.
 
 Can't help directly with the hardware questions, but (a) if you are 
 still within your Applecare coverage, take the thing in and get anything 
 that doesn't work fixed before touching the OS, and (b) you might try 
 Virtualbox with Centos as a guest (or VMware if you don't mind paying 
 for it).  I've generally found the vendor-supplied native video, sleep, 
 and wireless tools work best on laptops and virtual machines work well 
 enough for the client-type things I do under Centos.
 
 -- 
   Les Mikesell
 lesmikes...@gmail.com
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

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


Re: [CentOS] MacBook Pro and CentOS-5

2010-11-15 Thread James B. Byrne

On Mon, November 15, 2010 11:44, Les Mikesell wrote:


 Can't help directly with the hardware questions, but (a) if you are
 still within your Applecare coverage, take the thing in and get
 anything that doesn't work fixed before touching the OS, and (b)
 you might try Virtualbox with Centos as a guest (or VMware if you
 don't mind paying for it).  I've generally found the vendor-
 supplied native video, sleep, and wireless tools work best on
 laptops and virtual machines work well enough for the client-type
 things I do under Centos.

Well, I have done the Apple support thing and Apple's official
position is that I have an interference problem.  The fact that I
have six other laptops plus two X-Boxes, all with wireless
connections, in the same household and none of which exhibit the
problems that I have with the Macbook, is quite beside the point
insofar as the Apple Genii are concerned.

This to me is utter BS, since I can see in the log files that that
the wireless driver is arbitrarily disconnecting the link due to
lack of activity and then choking when trying to reconnect.  There
are a host of other odd little symptoms that also lead me to believe
that it is the Apple drivers that are at the root of the problem. 
For one thing, a frequent occurrence is that I get a 'browser is
offline' (in both Safari and Firefox) when opening a new tab, but
the existing tabs in the same browser instance can visit new pages
on existing connections!!?? How that works is beyond me but it
happens, often.

And it is the wireless NIC that I most need fixed.  Right now I have
to shut down the Airport and restart it to clear the problems.  In
itself this is no big deal, but I am just so tried of having to do
this with such an expensive piece of kit.

If CentOS does not support the wireless in the Macbook then I am
stuck with the sucker until I get up enough gumption to buy a
Toshiba. Which is what I should have done when I allowed myself to
be talked into the HP to begin with.

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

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


Re: [CentOS] MacBook Pro and CentOS-5

2010-11-15 Thread Jeff Chambers
This is off list topic, but I have seen weirdness in airport cards on macs 
especially when connecting to Apple's Airport. A cheap fix is to buy a 2nd 
wireless access point and make sure to use that in bridged mode so it is not 
acting as a router and wire that to your airport base station.

I like said before trying using an external hard drive to install CentOS onto 
and try your wireless card and other hardware drivers. This is a free solution 
except for the cost of the hard drive.

-Jeff


On Nov 15, 2010, at 9:29 AM, James B. Byrne wrote:

 
 On Mon, November 15, 2010 11:44, Les Mikesell wrote:
 
 
 Can't help directly with the hardware questions, but (a) if you are
 still within your Applecare coverage, take the thing in and get
 anything that doesn't work fixed before touching the OS, and (b)
 you might try Virtualbox with Centos as a guest (or VMware if you
 don't mind paying for it).  I've generally found the vendor-
 supplied native video, sleep, and wireless tools work best on
 laptops and virtual machines work well enough for the client-type
 things I do under Centos.
 
 Well, I have done the Apple support thing and Apple's official
 position is that I have an interference problem.  The fact that I
 have six other laptops plus two X-Boxes, all with wireless
 connections, in the same household and none of which exhibit the
 problems that I have with the Macbook, is quite beside the point
 insofar as the Apple Genii are concerned.
 
 This to me is utter BS, since I can see in the log files that that
 the wireless driver is arbitrarily disconnecting the link due to
 lack of activity and then choking when trying to reconnect.  There
 are a host of other odd little symptoms that also lead me to believe
 that it is the Apple drivers that are at the root of the problem. 
 For one thing, a frequent occurrence is that I get a 'browser is
 offline' (in both Safari and Firefox) when opening a new tab, but
 the existing tabs in the same browser instance can visit new pages
 on existing connections!!?? How that works is beyond me but it
 happens, often.
 
 And it is the wireless NIC that I most need fixed.  Right now I have
 to shut down the Airport and restart it to clear the problems.  In
 itself this is no big deal, but I am just so tried of having to do
 this with such an expensive piece of kit.
 
 If CentOS does not support the wireless in the Macbook then I am
 stuck with the sucker until I get up enough gumption to buy a
 Toshiba. Which is what I should have done when I allowed myself to
 be talked into the HP to begin with.
 
 -- 
 ***  E-Mail is NOT a SECURE channel  ***
 James B. Byrnemailto:byrn...@harte-lyne.ca
 Harte  Lyne Limited  http://www.harte-lyne.ca
 9 Brockley Drive  vox: +1 905 561 1241
 Hamilton, Ontario fax: +1 905 561 0757
 Canada  L8E 3C3
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

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


[CentOS] ipvs and destination hashing...

2010-11-15 Thread John Doe
Hi,

just in case some ipvs knowledgable people read this...
I tried to find some info on ipvs destination hashing on the net but did 
not find anything...
Right now we have a basic direct routing round-robin keepalived configuration:
  abc.example.com (a.b.c.d) = LVS ( round-robin ) = server_[1..n] with 
IP[1..n].
If we use the dh option, on what would the hashing be done?
I saw some pseudo code that states that the hash is based on the destination 
IPs 

in the packets...
But there is only 1 IP in input and the output IPs are selected by round-robin 
already (so no point dhing them)...
Do we have to have n IPs for abc.example.com (in the dns) and the hashing will 
be done on these IPs?

Thx,
JD


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


Re: [CentOS] can't find ldapseaerch

2010-11-15 Thread Gordon Messmer

 [r...@virtcent13 ~]# ldapsearch
 ldapsearch: Command not found.
 [r...@virtcent13 ~]# whereis ldapsearch
 ldapsearch: /usr/bin/ldapsearch /usr/share/man/man1/ldapsearch.1.gz

$ file /usr/bin/ldapsearch
$ ldd /usr/bin/ldapsearch

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


Re: [CentOS] MacBook Pro and CentOS-5

2010-11-15 Thread Les Mikesell
On 11/15/2010 11:29 AM, James B. Byrne wrote:

 Can't help directly with the hardware questions, but (a) if you are
 still within your Applecare coverage, take the thing in and get
 anything that doesn't work fixed before touching the OS, and (b)
 you might try Virtualbox with Centos as a guest (or VMware if you
 don't mind paying for it).  I've generally found the vendor-
 supplied native video, sleep, and wireless tools work best on
 laptops and virtual machines work well enough for the client-type
 things I do under Centos.

 Well, I have done the Apple support thing and Apple's official
 position is that I have an interference problem.  The fact that I
 have six other laptops plus two X-Boxes, all with wireless
 connections, in the same household and none of which exhibit the
 problems that I have with the Macbook, is quite beside the point
 insofar as the Apple Genii are concerned.

 This to me is utter BS, since I can see in the log files that that
 the wireless driver is arbitrarily disconnecting the link due to
 lack of activity and then choking when trying to reconnect.  There
 are a host of other odd little symptoms that also lead me to believe
 that it is the Apple drivers that are at the root of the problem.

That actually seems pretty unlikely, since a bazillion other people use 
the same drivers...  Or at least it is a quirk of your setup that 
triggers the issue.  Do you have wireless phones in the same frequency 
range nearby?  I do, and see disconnects that I think are related in my 
d-link router logs but haven't seen any problems with connections being 
re-established from anything including my son's macbook.  Have you used 
wireless in any other locations, and if so, do you always see the same 
problem?

 For one thing, a frequent occurrence is that I get a 'browser is
 offline' (in both Safari and Firefox) when opening a new tab, but
 the existing tabs in the same browser instance can visit new pages
 on existing connections!!?? How that works is beyond me but it
 happens, often.

That doesn't make much sense but you are probably trying to reuse a 
socket that has received a reset - browsers open several sockets 
simultaneously and the others might not have been busy during the 
network disconnect.

 And it is the wireless NIC that I most need fixed.  Right now I have
 to shut down the Airport and restart it to clear the problems.  In
 itself this is no big deal, but I am just so tried of having to do
 this with such an expensive piece of kit.

Do you mean disable the wireless NIC and re-enable (which sort-of makes 
sense) or doing something to the router?  If you really have to restart 
the router, that's probably the source of the problem.

 If CentOS does not support the wireless in the Macbook then I am
 stuck with the sucker until I get up enough gumption to buy a
 Toshiba. Which is what I should have done when I allowed myself to
 be talked into the HP to begin with.

Hardware is all pretty much the same - it either works or it doesn't.

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






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


[CentOS] SSH keys question

2010-11-15 Thread John Kennedy
All,
I have 3 servers. All 3 are CentOS 5.5. All 3 have identical
/etc/ssh/sshd_config files. I used ssh-keygen (with no arguments) to
generate keys with no password. I then added all 3 id_rsa.pub keys to the
authorized_keys file.
With this set up, I should be able to ssh between all 3 boxes without
needing a password. The problem is that one of the servers keeps asking for
a password even with the keys set up.

servera -- serverb   No password
serverb -- servera   No password
servera -- serverc   Password
serverc -- servera   No password
serverb -- serverc   Password
serverc -- serverb   No password

If they are all identical from an ssh standpoint (at least the
authorized_keys, /etc/sshd_config, and UID for the user on all 3 hosts), why
will serverc not play nicely with the other 2 Is there something else I
should be checking?

Thanks,
John

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


Re: [CentOS] SSH keys question

2010-11-15 Thread cliff here
You should check the perms on the dirs, ssh will not allow it use the keys
if they are too permissive. So I would check starting at /home

On Mon, Nov 15, 2010 at 1:29 PM, John Kennedy skeb...@gmail.com wrote:

 All,
 I have 3 servers. All 3 are CentOS 5.5. All 3 have identical
 /etc/ssh/sshd_config files. I used ssh-keygen (with no arguments) to
 generate keys with no password. I then added all 3 id_rsa.pub keys to the
 authorized_keys file.
 With this set up, I should be able to ssh between all 3 boxes without
 needing a password. The problem is that one of the servers keeps asking for
 a password even with the keys set up.

 servera -- serverb   No password
 serverb -- servera   No password
 servera -- serverc   Password
 serverc -- servera   No password
 serverb -- serverc   Password
 serverc -- serverb   No password

 If they are all identical from an ssh standpoint (at least the
 authorized_keys, /etc/sshd_config, and UID for the user on all 3 hosts), why
 will serverc not play nicely with the other 2 Is there something else I
 should be checking?

 Thanks,
 John

 --
  John Kennedy


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




-- 
-
NOTICE: This message, including all attachments, is intended for the use of
the individual or entity to which it is addressed and may contain
information that is privileged, confidential and exempt from disclosure
under applicable law. If the reader of this message is not the intended
recipient, or the employee or agent responsible for delivering this message
to its intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If you
have received this communication in error, please notify the sender
immediately by replying Received in error and immediately delete this
message and all its attachments.
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Question about a hard drive error

2010-11-15 Thread Gilbert Sebenste
On Wed, 10 Nov 2010, John R Pierce wrote:

 On 11/10/10 6:58 PM, Gilbert Sebenste wrote:
  Hey everyone,

  I just got one of these today:

  Nov 10 16:07:54 stormy kernel: sd 0:0:0:0: SCSI error: return code =
  0x0800
  Nov 10 16:07:54 stormy kernel: sda: Current: sense key: Medium Error
  Nov 10 16:07:54 stormy kernel: Add. Sense: Unrecovered read error
  Nov 10 16:07:54 stormy kernel:
  Nov 10 16:07:54 stormy kernel: Info fld=0x0
  Nov 10 16:07:54 stormy kernel: end_request: I/O error, dev sda, sector
  3896150669

 see where it says dev sda ?   thats physical drive zero which has a read 
 error on that sector.


  Nov 10 16:07:54 stormy kernel: Read-error on swap-device (253:1:743752)
  Nov 10 16:07:54 stormy kernel: Read-error on swap-device (253:1:743760)
  Nov 10 16:07:54 stormy kernel: Read-error on swap-device (253:1:743768)
  Nov 10 16:07:54 stormy kernel: Read-error on swap-device (253:1:743776)
  Nov 10 16:07:54 stormy kernel: Read-error on swap-device (253:1:743784)
  Nov 10 16:07:54 stormy kernel: Read-error on swap-device (253:1:743792)
  Nov 10 16:07:54 stormy kernel: Read-error on swap-device (253:1:743800)
  Nov 10 16:07:54 stormy kernel: Read-error on swap-device (253:1:743808)

  My question is this: I have RAID00 set up, but don't really understand
  it well. This is how my disks are set up:

  Filesystem   1K-blocks  Used Available Use% Mounted on
  /dev/mapper/VolGroup00-LogVol00
 1886608544 296733484 1492495120  17% /
  /dev/sda1   101086 19877 75990  21% /boot
  tmpfs  1684312   1204416479896  72% /dev/shm
 

 that is not how your disks are setup, thats how your FILE SYSTEMS are setup.

Correct, apologies for the incorrect wording.

 that dev/mapper thing is a LVM volume.  you can display the physical volumes 
 behind a LVM with the command 'pvs'

Thank you! That was helpful.

  Which one is having the trouble? Any ideas so I can swap it out?

 raid0 is not suitable for reliability.  if any one drive in the raid0 fails 
 (or is removed) the whole volume has failed and will become unusable.

Thanks John, I appreciate it! Both are being replaced after a nearby 55 
KV power line shorted to ground and blew a manhole cover 50' into the air,
damaging a lot of equipment over here, even those on UPS's. Nobody was 
hurt, thank goodness. But, I'll be looking into RAID 5 in the future.

***
Gilbert Sebenste 
(My opinions only!)  **
***
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SSH keys question

2010-11-15 Thread Paul Heinlein
On Mon, 15 Nov 2010, cliff here wrote:

 You should check the perms on the dirs, ssh will not allow it use 
 the keys if they are too permissive. So I would check starting at 
 /home

This is the most likely cause; I'd check there too.

If not,

  1. Ensure the file hash is the same (e.g., no extraneous whitespace
 in the middle of the key)
  2. sshd is usually pretty good about writing errors to syslog.

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


[CentOS] good shell script examples?

2010-11-15 Thread Kill Script
I am looking for a beginner guide to shell scripting simple tasks on CentOS
(e.g. ssh'ing into a server / router / switch, checking for certain things,
then exiting and going to the next IP).

Does anyone have any suggestions on where to look?  (I'm relatively new to
bash)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SSH keys question

2010-11-15 Thread cliff here
I do believe the perms need to be at 700 for the ./ssh dir and 640 for the
actual key files contained.

On Mon, Nov 15, 2010 at 1:45 PM, Paul Heinlein heinl...@madboa.com wrote:

 On Mon, 15 Nov 2010, cliff here wrote:

  You should check the perms on the dirs, ssh will not allow it use
  the keys if they are too permissive. So I would check starting at
  /home

 This is the most likely cause; I'd check there too.

 If not,

  1. Ensure the file hash is the same (e.g., no extraneous whitespace
 in the middle of the key)
  2. sshd is usually pretty good about writing errors to syslog.

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




-- 
-
NOTICE: This message, including all attachments, is intended for the use of
the individual or entity to which it is addressed and may contain
information that is privileged, confidential and exempt from disclosure
under applicable law. If the reader of this message is not the intended
recipient, or the employee or agent responsible for delivering this message
to its intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If you
have received this communication in error, please notify the sender
immediately by replying Received in error and immediately delete this
message and all its attachments.
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] good shell script examples?

2010-11-15 Thread Max Hetrick
On 11/15/2010 01:47 PM, Kill Script wrote:
 I am looking for a beginner guide to shell scripting simple tasks on
 CentOS (e.g. ssh'ing into a server / router / switch, checking for
 certain things, then exiting and going to the next IP).

 Does anyone have any suggestions on where to look?  (I'm relatively new
 to bash)

The book Learning the bash Shell helped me out a lot.

http://oreilly.com/catalog/9781565923478

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


Re: [CentOS] SSH keys question [RESOLVED]

2010-11-15 Thread John Kennedy
On Mon, Nov 15, 2010 at 13:45, Paul Heinlein heinl...@madboa.com wrote:

 On Mon, 15 Nov 2010, cliff here wrote:

  You should check the perms on the dirs, ssh will not allow it use
  the keys if they are too permissive. So I would check starting at
  /home

 This is the most likely cause; I'd check there too.

 If not,

  1. Ensure the file hash is the same (e.g., no extraneous whitespace
 in the middle of the key)
  2. sshd is usually pretty good about writing errors to syslog.

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



Found it...
In /var/log/secure I got
Authentication refused: bad ownership or modes for directory
/home/zema/.ssh
I had checked the file, not the directory...
Thanks all...
John


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


Re: [CentOS] good shell script examples?

2010-11-15 Thread John Kennedy
On Mon, Nov 15, 2010 at 13:54, Max Hetrick maxhetr...@verizon.net wrote:

 On 11/15/2010 01:47 PM, Kill Script wrote:
  I am looking for a beginner guide to shell scripting simple tasks on
  CentOS (e.g. ssh'ing into a server / router / switch, checking for
  certain things, then exiting and going to the next IP).
 
  Does anyone have any suggestions on where to look?  (I'm relatively new
  to bash)

 The book Learning the bash Shell helped me out a lot.

 http://oreilly.com/catalog/9781565923478

 Regards,
 Max


To answer your question, I have liked UNIX Shells By Example by Ellie
Quigley (4th edition) it has good examples with explanations. The Linux
Command line and Shell Scripting Bible is a good teaching tool. A new
edition is due out next year but the current edition is still useful.

As to what you appear to want to do, if you require interactive logins (i.e.
ssh keys not set up for password-less logins) then bash is not the best
choice. For this you would want to use either Python (with pyexpect module)
or the Expect scripting language (Expect is an extension of the TCL
scripting language.

John

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


Re: [CentOS] good shell script examples?

2010-11-15 Thread Scott Robbins
On Mon, Nov 15, 2010 at 04:47:02PM -0200, Kill Script wrote:
 I am looking for a beginner guide to shell scripting simple tasks on CentOS
 (e.g. ssh'ing into a server / router / switch, checking for certain things,
 then exiting and going to the next IP).
 
 Does anyone have any suggestions on where to look?  (I'm relatively new to
 bash)


I have a page where I've posted what I've found to be useful links.


http://home.roadrunner.com/~computertaijutsu/shellscripting.html


-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Spike: A slayer with family and friends. That sure as hell wasn't
in the brochure. 

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


Re: [CentOS] Best way to configure proprietary NVidia driver on CentOS ?

2010-11-15 Thread Ned Slider
On 15/11/10 10:21, John Hodrien wrote:
 On Mon, 15 Nov 2010, John Doe wrote:

 I use dkms-nvidia-x11-drv and it works fine between kernel updates...  While
 I know kmod is said to be better, last time I tried it, I failed to make it
 work.  Maybe I will retry kmod later...

 I'd previously had an identical experience to yours with kmod-nvidia, but when
 I recently tried it all worked without a hitch.  dkms-nvidia from rpmforge is
 just too far out of date now really.


The dkms driver is deprecated in favour of the elrepo kmod-nvidia driver.

If you have problems with the kmod-nvidia driver, please do subscribe 
and post to the elrepo mailing list and someone will be more than happy 
to assist you. Most problems are likely caused by not properly 
uninstalling any previous incarnations of the nvidia driver, be it dkms 
or the NVIDIA installer.

Thanks.

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


Re: [CentOS] Auto-Re: CentOS Digest, Vol 70, Issue 14

2010-11-15 Thread Sven Aluoor
2010/11/14 韦加宁 weijian...@mail.ctbu.edu.cn:
 信已收到,谢谢!

This means something like Letter has been received, thank you!. I
don't know why somebody needs such an auto-replay for mailing lists?

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


Re: [CentOS] good shell script examples?

2010-11-15 Thread Sven Aluoor
On Mon, Nov 15, 2010 at 7:54 PM, Max Hetrick maxhetr...@verizon.net wrote:
 The book Learning the bash Shell helped me out a lot.

 http://oreilly.com/catalog/9781565923478

Classic online learning guide is Advanced Bash-Scripting Guide

http://tldp.org/LDP/abs/html/

(I use it as reference, downloaded a PDF version)

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


Re: [CentOS] hwclock problem

2010-11-15 Thread Todd Denniston
Jobst Schmalenbach wrote, On 11/11/2010 07:41 PM:
 Hi.
 
 I run peridocally (from cron) on all of my machines
 
   30 * * * * root /sbin/hwclock --systohc
 

Why?
AFAIK a kernel that is running ntpd and ntpd thinks has reasonably synced to 
the NTP server will,
every _eleven_ minutes write the system time to the hardware clock, and you 
can't stop it without
modifying the kernel or ntpd.

 All of those machines in question take their time via NTP
 from the same local server, and that server gets its time
 from a ntp pool.
 

reasonable NTP setup.

 Now I had to reboot a couple of them two days ago and to my surprise
 all had problems with the time upon booting.
 
 Here are the important files:
 
 [r...@xx ~] #l /etc/adjtime 
 0.001687 1289518202 0.00
 1289518202
 LOCAL
 
 [r...@xxx ~] #l /etc/sysconfig/clock 
 ZONE=Australia/Melbourne
 UTC=false
 ARC=false
 
 So from my understanding the hwclock should contain the local time.
 
 [r...@xx ~] #date
 Fri Nov 12 11:26:23 EST 2010
 [r...@xx ~] #hwclock
 Fri 12 Nov 2010 11:26:42 EST  -0.167976 seconds
 [r...@xx ~] #
 

Is 'EST' the time zone abbreviation you expect for Melbourne?
As I am based in the US, I expect 'EST' to be Eastern Standard Time for New 
York/New York, so I
ask for your help in understanding.

We might be able to see a different pattern if we take the TZ out of the 
equations.
date -u ; hwclock --show --utc; date -u
date ; hwclock --show ; date



 However on boot I get the following:
 
 Nov 10 19:08:37 XX syslogd 1.4.1: restart.
 Nov 10 19:08:37 XX kernel: klogd 1.4.1, log source = /proc/kmsg started.
 Nov 10 19:08:37 XX kernel: Linux version 2.6.18-164.11.1.el5 
 (mockbu...@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.
 1.2-46)) #1 SMP Wed Jan 20 07:32:21 EST 2010
 Nov 10 19:08:37 XX kernel: Command line: ro root=/dev/sda2 vga=791
 Nov 10 19:08:37 XX kernel: BIOS-provided physical RAM map:
 ...
 ...
 Nov 10 19:08:51 XX kernel: IPv6 over IPv4 tunneling driver
 Nov 10 08:08:52 XX ntpdate[2464]: step time server 192.168.1.1 offset 
 -39599.950905 sec
 Nov 10 08:08:52 XX xinetd[2447]: xinetd Version 2.3.14 started with 
 libwrap loadavg labeled-networking options compiled in.
 
 and off course dovecot falls over too Time just moved backwards by 39599 
 seconds.
 
 Now, 39600s is 11 hours, which is (inc DST) *MY* offset from Greenwich.
 
 
 So what am I doing wrong?

Running a Linux _Server_ as if it had to dual boot with windows.
i.e. the hardware clock should be kept in UTC unless you need to boot the same 
machine with windows.

 The idea of running hwclock is to make sure that 
 exactly the problem with dovecot does NOT occur, 
 and ntp does not have a coughing fit when the hardware 
 clock is not close to the correct time upon booting.

The standard start script (/etc/rc.d/init.d/ntpd) does a ntpdate before running 
(which is what you
see in your log above) to keep ntp from coughing.


 The last time I booted some of those machine was more than 200 days ago, 
 so the hwclock will be skewed if I do not update it.

I *WAS* beginning to think like the others, that the TZ file used by hwclock 
and by date don't match.

However, I now *believe* I KNOW the source of the delta!
IIRC the kernel magic (write system time to HC every eleven minutes) I was 
writing about earlier ...
I don't think takes into account the local TZ, i.e., it ALWAYS works UTC. I 
would have to read the
kernel source again to prove it, or suggest to you to try the following:

1) *remove* your cron job that called hwclock, because it is and will cause 
problems.
2) let the machine sync with the NTP server
i.e.,
ntpdc -c kern |grep status
returns something like:
status:   0009  pll fll
2a) wait 12 minutes.
3) run:
date -u ; hwclock --show --utc; date -u ; \
date ; hwclock --show ; date
4) run
hwclock --systohc; \
date -u ; hwclock --show --utc; date -u ; \
date ; hwclock --show ; date
5) wait 23 more minutes
6) run
date -u ; hwclock --show --utc; date -u ; \
date ; hwclock --show ; date

if at 3 and 6 the utc versions of date and hwclock are in sync, then it is the 
ntpd synced kernel
that is setting a utc time into the hwclock and you need to change the last 
line in /etc/adjtime to
UTC instead of LOCAL.

Otherwise a bit more thinking is in order.

good luck.
-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Best way to configure proprietary NVidia driver on CentOS ?

2010-11-15 Thread m . roth
John Hodrien wrote:
 On Mon, 15 Nov 2010, John Doe wrote:

 I use dkms-nvidia-x11-drv and it works fine between kernel updates...
 While I know kmod is said to be better, last time I tried it, I failed
to make
 it work.  Maybe I will retry kmod later...

 I'd previously had an identical experience to yours with kmod-nvidia, but
 when I recently tried it all worked without a hitch.  dkms-nvidia from
rpmforge
 is just too far out of date now really.

Unless, of course, you have an old card that's not supported in the newer
drivers.

mark, using the 173 nVidia proprietary driver for twinview

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


Re: [CentOS] Best way to configure proprietary NVidia driver on CentOS ?

2010-11-15 Thread Akemi Yagi
On Mon, Nov 15, 2010 at 1:35 PM,  m.r...@5-cent.us wrote:
 John Hodrien wrote:

 I'd previously had an identical experience to yours with kmod-nvidia, but
 when I recently tried it all worked without a hitch.  dkms-nvidia from
 rpmforge
 is just too far out of date now really.

 Unless, of course, you have an old card that's not supported in the newer
 drivers.

        mark, using the 173 nVidia proprietary driver for twinview

ELRepo provides, in addition to the latest, two older versions, 96xx and 173xx:

http://elrepo.org/tiki/kmod-nvidia-96xx
http://elrepo.org/tiki/kmod-nvidia-173xx
http://elrepo.org/tiki/kmod-nvidia  ( = latest )

They are all up to date. :-)

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


Re: [CentOS] good shell script examples?

2010-11-15 Thread Spiro Harvey
 Does anyone have any suggestions on where to look?  (I'm relatively
 new to bash)


http://www.google.com/search?q=bash+tutorial has quite a few.

I wrote a simple one a few years back:

http://www.happyhacker.org/gtmhh/basha.shtml


-- 
Spiro Harvey   Knossos Networks Ltd
(04) 460-2531 : (021) 295-1923  www.knossos.net.nz


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


Re: [CentOS] Best way to configure proprietary NVidia driver on CentOS ?

2010-11-15 Thread m . roth
Akemi Yagi wrote:
 On Mon, Nov 15, 2010 at 1:35 PM,  m.r...@5-cent.us wrote:
 John Hodrien wrote:

 I'd previously had an identical experience to yours with kmod-nvidia,
 but when I recently tried it all worked without a hitch.  dkms-nvidia
from
 rpmforge is just too far out of date now really.

 Unless, of course, you have an old card that's not supported in the
 newer drivers.

        mark, using the 173 nVidia proprietary driver for twinview

 ELRepo provides, in addition to the latest, two older versions, 96xx and
 173xx:

 http://elrepo.org/tiki/kmod-nvidia-96xx
 http://elrepo.org/tiki/kmod-nvidia-173xx
 http://elrepo.org/tiki/kmod-nvidia  ( = latest )

 They are all up to date. :-)

*sigh* I guess, when I'm not this busy, I'll try what I told my manager
I'd try, which is to use el Repo...

 mark

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


[CentOS] upgrading Centos-Xen when version 6 comes along

2010-11-15 Thread Dave Stevens
I am curious what is the best way to upgrade my dom0 and domUs to V.6  
(currently 5) when it releases. Any experience or docs on this?

Dave


-- 
It is no measure of health to be well adjusted to a profoundly sick society.
   Krishnamurti

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


Re: [CentOS] upgrading Centos-Xen when version 6 comes along

2010-11-15 Thread Karanbir Singh
On 11/16/2010 12:36 AM, Dave Stevens wrote:
 I am curious what is the best way to upgrade my dom0 and domUs to V.6
 (currently 5) when it releases. Any experience or docs on this?

the Base CentOS-6 will have no Xen dom0 support, so you will almost 
certainly want to stick with centos-5 on the dom0, for the DomU's you 
can rebuild / upgrade using the regular process.

While centos-6 goes through beta and qa, its customary to make notes 
about potential upgrade paths. So keep a lookout for those closer to 
release time.

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


Re: [CentOS] upgrading Centos-Xen when version 6 comes along

2010-11-15 Thread Dave Stevens
Quoting Karanbir Singh mail-li...@karan.org:

 On 11/16/2010 12:36 AM, Dave Stevens wrote:
 I am curious what is the best way to upgrade my dom0 and domUs to V.6
 (currently 5) when it releases. Any experience or docs on this?

 the Base CentOS-6 will have no Xen dom0 support, so you will almost
 certainly want to stick with centos-5 on the dom0, for the DomU's you
 can rebuild / upgrade using the regular process.

 While centos-6 goes through beta and qa, its customary to make notes
 about potential upgrade paths. So keep a lookout for those closer to
 release time.

 - KB

OK, thanks very much.

Dave

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




-- 
It is no measure of health to be well adjusted to a profoundly sick society.
   Krishnamurti

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


Re: [CentOS] upgrading Centos-Xen when version 6 comes along

2010-11-15 Thread Digimer
On 11/15/2010 07:36 PM, Dave Stevens wrote:
 I am curious what is the best way to upgrade my dom0 and domUs to V.6
 (currently 5) when it releases. Any experience or docs on this?

 Dave

I know that there is discussion on getting dom0 support into Fedora 15, 
with maybe 50/50 chance that it will happen. I suspect that will be the 
focus for the near future. Xen dom0 support is going into the mainline 
2.6.37 kernel, but there are still patches that are needed.

Once the bugs have been ironed out, I suspect that CentOS support will 
follow soon after. There will be experimental kernels before then, but I 
would not recommend them outside of test environments.

In short, stick to CentOS 5 in production for the foreseeable future.

-- 
Digimer
E-Mail: digi...@alteeve.com
AN!Whitepapers: http://alteeve.com
Node Assassin:  http://nodeassassin.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] upgrading Centos-Xen when version 6 comes along

2010-11-15 Thread Morten P.D. Stevens
2010/11/16 Dave Stevens g...@uniserve.com:
 I am curious what is the best way to upgrade my dom0 and domUs to V.6
 (currently 5) when it releases. Any experience or docs on this?

Hi,

take a look at here:

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization/chap-Virtualization-v2v-migration.html

and

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization/convert-a-local-xen-guest.html

Best regards,

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


Re: [CentOS] good shell script examples?

2010-11-15 Thread Kill Script
I wrote a simple one a few years back:
 http://www.happyhacker.org/gtmhh/basha.shtml

This is great!  Thanks for sharing.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos