Re: [CentOS] Using an MS Access database from CentOS release 5.7 (Final)

2011-12-14 Thread Mogens Kjaer
On 12/15/2011 05:45 AM, Luigi Rosa wrote:
> I used mdbtools http://mdbtools.sourceforge.net/

This is also found in the epel repository.

Mogens

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


Re: [CentOS] Using an MS Access database from CentOS release 5.7 (Final)

2011-12-14 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ron Young said the following on 14/12/11 22:21:
> @Work requires me to manipulate the MS Access database (mdb) file located
> on an XP box that is an integral part of a third party application that is
> central to the business.
> 
> Does anyone have experience doing so?

I had to import some customer's data from an Access application for a new
(PHP) version of that application I wrote.

I used mdbtools http://mdbtools.sourceforge.net/

I scripted the conversion this way:

mdb-export -I -S -X -DF accessfile.mdb "accesstablename"  | sed
's/accesstablename/sqltablename/g' | sed 's/$/;/g' > /tmp/aaa
cat header.sql /tmp/aaa > import.sql
mysql --user=user --password=password < import.sql



header.sql file contains just this line:

use database;





Ciao,
luigi

- -- 
/
+--[Luigi Rosa]--
\

It is not the strongest of the species that survives, nor the most
intelligent, but the one most responsive to change.
--Charles Darwin
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7pe24ACgkQ3kWu7Tfl6ZRCswCgxwgjhEYh8mzVwpXMxjS2g3QF
8yUAoI1BDogfHFCfrMPNzzK+Pe/faQxC
=rC14
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cause for kernel panic

2011-12-14 Thread Ross Walker
On Dec 14, 2011, at 10:49 PM, Nicolas Ross  wrote:

> Hi ! On an 8-node cluster, one of the node did a kernel panic.
> 
> The only bit of information I have is on a ssh console I had open, which 
> said :
> 
> 
> Message from syslogd@node108 at Dec 14 19:00:15 ...
>  kernel:[ cut here ]
> 
> Message from syslogd@node108 at Dec 14 19:00:15 ...
>  kernel:invalid opcode:  [#1] SMP
> 
> Message from syslogd@node108 at Dec 14 19:00:15 ...
>  kernel:last sysfs file: 
> /sys/devices/system/cpu/cpu15/cache/index2/shared_cpu_map
> 
> Message from syslogd@node108 at Dec 14 19:00:15 ...
>  kernel:Stack:
> 
> Message from syslogd@node108 at Dec 14 19:00:15 ...
>  kernel:Call Trace:
> 
> Message from syslogd@node108 at Dec 14 19:00:15 ...
>  kernel:Code: 01 00 00 e8 26 8a cd e0 85 c0 0f 85 0e ff ff ff 48 89 df 
> e8 76 f8 ff ff e9 01 ff ff ff 31 d2 eb d4 48 89 de 31 ff e8 c3 e3 ff ff 
> <0f> 0b eb fe 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 55 48
> 
> Message from syslogd@node108 at Dec 14 19:00:15 ...
>  kernel:Kernel panic - not syncing: Fatal exception
> 
> 
> From this, is there a way to determine the cause ? kdump is not 
> confirgured nor used, since the fencing of the node renders kdump useless.
> 
> This is the second time in a few weeks it happens.

Setup netconsole to log kernel messages to the node on the "left". Then you can 
get the the oops messages if any node crashes.

-Ross

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


Re: [CentOS] Cause for kernel panic

2011-12-14 Thread Corey Henderson
On 12/14/2011 8:49 PM, Nicolas Ross wrote:
>   From this, is there a way to determine the cause ? kdump is not
> confirgured nor used, since the fencing of the node renders kdump useless.
>
> This is the second time in a few weeks it happens.

/var/log/messages should have more information; could you include it?

-- 
Corey Henderson
http://cormander.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Cause for kernel panic

2011-12-14 Thread Nicolas Ross
Hi ! On an 8-node cluster, one of the node did a kernel panic.

The only bit of information I have is on a ssh console I had open, which 
said :


Message from syslogd@node108 at Dec 14 19:00:15 ...
  kernel:[ cut here ]

Message from syslogd@node108 at Dec 14 19:00:15 ...
  kernel:invalid opcode:  [#1] SMP

Message from syslogd@node108 at Dec 14 19:00:15 ...
  kernel:last sysfs file: 
/sys/devices/system/cpu/cpu15/cache/index2/shared_cpu_map

Message from syslogd@node108 at Dec 14 19:00:15 ...
  kernel:Stack:

Message from syslogd@node108 at Dec 14 19:00:15 ...
  kernel:Call Trace:

Message from syslogd@node108 at Dec 14 19:00:15 ...
  kernel:Code: 01 00 00 e8 26 8a cd e0 85 c0 0f 85 0e ff ff ff 48 89 df 
e8 76 f8 ff ff e9 01 ff ff ff 31 d2 eb d4 48 89 de 31 ff e8 c3 e3 ff ff 
<0f> 0b eb fe 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 55 48

Message from syslogd@node108 at Dec 14 19:00:15 ...
  kernel:Kernel panic - not syncing: Fatal exception


 From this, is there a way to determine the cause ? kdump is not 
confirgured nor used, since the fencing of the node renders kdump useless.

This is the second time in a few weeks it happens.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using an MS Access database from CentOS release 5.7 (Final)

2011-12-14 Thread John R Pierce
On 12/14/11 6:05 PM, Smithies, Russell wrote:
> I can connect Perl to Microsoft SQL Server using Sybase drivers it so might 
> work with Access.
> Parts of this might be useful:http://www.peceny.de/misc/freetds.html

Access native databases use the 'Jet' database engine, and they are 
files accessed over SMB/CIFS, not proper client-server like a 'real' 
database engine.

This is going to be painful no matter how you do it.

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

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


Re: [CentOS] Using an MS Access database from CentOS release 5.7 (Final)

2011-12-14 Thread Smithies, Russell
Try the Sybase driver.
I can connect Perl to Microsoft SQL Server using Sybase drivers it so might 
work with Access.
Parts of this might be useful: http://www.peceny.de/misc/freetds.html

--Russell

> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf Of Les Mikesell
> Sent: Thursday, 15 December 2011 10:58 a.m.
> To: CentOS mailing list
> Subject: Re: [CentOS] Using an MS Access database from CentOS release 5.7
> (Final)
> 
> On Wed, Dec 14, 2011 at 3:21 PM, Ron Young  wrote:
> > @Work requires me to manipulate the MS Access database (mdb) file
> > located on an XP box that is an integral part of a third party
> > application that is central to the business.
> >
> > Does anyone have experience doing so?
> >
> > I have used odbtp in the recent past but it is extremely difficult to
> > set up on the linux box as I learned when I recently upgraded from
> > CentOS 4.x to 5.x.
> >
> > Is there another way to get read and write access to the mdb file from
> > apache/php running from the linux box?  A couple of hours of googling
> > last night has resulted in finding very expensive odbc drivers for the
> > linux box and nothing really foss except the odbc driver managers.
> >
> 
> The best approach to doing this is to convert the access tables to use
> a sql server instead of the native mdb.   This may or may not be
> practical/easy, but access can work over ODBC with the db on
> linux/postgresql (among others) where you would have a matching php
> client.Next best would be to write something to give web server
> access to the data you need on the windows box, and access it remote via
> http.
> 
> --
>   Les Mikesell
>  lesmikes...@gmail.com
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
===
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
===
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6, yum-updatesd

2011-12-14 Thread Corey Henderson
On 12/14/2011 10:55 AM, John Hodrien wrote:
> On Wed, 14 Dec 2011, m.r...@5-cent.us wrote:
>
>> And I worked on Spacewalk in early '09. AAAGHGHGHGHHGHG It
>> went from .3 to .4 while I was trying to implement it, and I think it hit
>> .5 as I left that contract. It was a nightmare to install and configure; I
>> had to tune the free Oracle version to use almost all available memory (it
>> had a max of 1G for the free version), and on, and on.
>
> It wasn't *that* bad...  It is however overkill for a lot of situations.
>
>> Sounds as though I might want to roll out something like
>> 5 1 * * * yum -y update
>
> Probably want something that spots a hung yum and kills it, as it /can/ get
> itself into a pickle and not complete.
>
> jh

I've used the scripts at this URL with satisfying results:

http://wiki.centos.org/YumCheckOrInstallUpdates

-- 
Corey Henderson
http://cormander.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Missing nss dependency nss-softokn

2011-12-14 Thread Cal Webster
I'm getting yum update errors when attempting to update nss:

--> Finished Dependency Resolution
Error: Package: nss-3.12.10-2.el6_1.x86_64 (updates)
Requires: nss-softokn(x86-64) >= 3.12.9
Installed: nss-softokn-3.12.7-1.1.el6.x86_64
(@anaconda-CentOS-201106060106.x86_64/6.0)
   nss-softokn(x86-64) = 3.12.7-1.1.el6

I realize I need to swap in the 6.1 ISO on our internal mirror but the
missing package doesn't appear to be on the mirrors either.

I can't see nss-softokn-3.12.10-2.el6_1.x86_64.rpm anywhere on the
mirrors. I checked the updates and cr repos on the Duke mirror for 6.0
and 6.1 but no joy.

Did this one fall through the cracks or are the mirrors still syncing
up?

I'm happy to wait if it's just a timing issue but I wanted to be sure
the list knew, just in case.

./Cal

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


Re: [CentOS] Using an MS Access database from CentOS release 5.7 (Final)

2011-12-14 Thread Les Mikesell
On Wed, Dec 14, 2011 at 3:21 PM, Ron Young  wrote:
> @Work requires me to manipulate the MS Access database (mdb) file
> located on an XP box that is an integral part of a third party
> application that is central to the business.
>
> Does anyone have experience doing so?
>
> I have used odbtp in the recent past but it is extremely difficult to
> set up on the linux box as I learned when I recently upgraded from
> CentOS 4.x to 5.x.
>
> Is there another way to get read and write access to the mdb file from
> apache/php running from the linux box?  A couple of hours of googling
> last night has resulted in finding very expensive odbc drivers for the
> linux box and nothing really foss except the odbc driver managers.
>

The best approach to doing this is to convert the access tables to use
a sql server instead of the native mdb.   This may or may not be
practical/easy, but access can work over ODBC with the db on
linux/postgresql (among others) where you would have a matching php
client.Next best would be to write something to give web server
access to the data you need on the windows box, and access it remote
via http.

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



Re: [CentOS] CR repo - version issue

2011-12-14 Thread Philip Manuel


On 12/14/2011 07:26 PM, Philippe Naudin wrote:
> Le mer 14 déc 2011 12:17:36 CET, Philip Manuel a écrit:
>
>
>>> You do have i686 packages on that machine ... that is what the error you
>>> posted is.
>>>
>>> create (or edit( a file called:
>>>
>>> /root/.rpmmacros
>>>
>>> put this in the that file as the top line:
>>>
>>> %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
>>>
>>> Then do the command:
>>>
>>> rpm -qa | grep i[3,6]86
>>>
>>> That should show you the i686 packages that are installed on the machine.
>>>
>>%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
>> rpm -qa | grep i[3,6]86
>> :~#
>>
>> Nothing other than x86_64 packages
> Maybe also, in the case there is something broken in the yum database :
> yum list installed '*i[3456]86'
>
yum list installed '*i[3456]86'
base
 
| 1.2 kB 00:00
cr  
 
| 1.9 kB 00:00
dag 
 
| 1.9 kB 00:00
local   
 
| 2.6 kB 00:00
of  
 
|  951 B 00:00
updates 
 
| 1.1 kB 00:00
Error: No matching Packages to list

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


[CentOS] Using an MS Access database from CentOS release 5.7 (Final)

2011-12-14 Thread Ron Young
@Work requires me to manipulate the MS Access database (mdb) file
located on an XP box that is an integral part of a third party
application that is central to the business.

Does anyone have experience doing so?

I have used odbtp in the recent past but it is extremely difficult to
set up on the linux box as I learned when I recently upgraded from
CentOS 4.x to 5.x.

Is there another way to get read and write access to the mdb file from
apache/php running from the linux box?  A couple of hours of googling
last night has resulted in finding very expensive odbc drivers for the
linux box and nothing really foss except the odbc driver managers.


Regards,

Ron Young
919-621-9015
http://www.linkedin.com/in/ronhyoung

+++
Little tiny dreams require little tiny thoughts and little tiny steps.
Great big dreams require great big thoughts and little tiny steps.
+++
Kosh: The avalanche has already started. It is too late for the pebbles to vote.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apache httpd-2.2.15 updates

2011-12-14 Thread drsystems
Thank you.
> drsyst...@globalcerts.net writes:
>> Hello,
>>
>> I am working on a CentOS Linux 2.6.32-71.el6.x86_64 system.
>> I noticed that the system came with httpd-2.2.15-6 installed.
>> After I run 'yum update' I get httpd-2.2.15-9.
>>
>> I did some research on the Internet, but can't find the following
>> information: are most of the security fixes that appear in httpd-2.2.21
>> applied to the update on httpd-2.2.15-9?
>>
>> There was a security fix just last August, the CVE-2011-3192 on Range
>> and
>> DoS. I don't imagine that this is in the 2.2.15-9. Do you have plans to
>> provide this patch in the repository so that 'yum update httpd*' would
>> get
>> this patch?
>
> $ cd $REPO
> $ rpm -qp --changelog httpd-2.2.15-9.el6.centos.3.x86_64.rpm
> * Fri Oct 21 2011 Karanbir Singh  -
> 2.2.15-9.3.el6.centos
> - Roll in CentOS Branding
>
> * Thu Oct 06 2011 Joe Orton  - 2.2.15-9.3
> - add security fixes for CVE-2011-3347, CVE-2011-3368 (#743901)
> - fix regressions in CVE-2011-3192 patch (#736592)
>
> * Tue Aug 30 2011 Joe Orton  - 2.2.15-9.2,
> - updated patch for CVE-2011-3192 from upstream (#733062)
>
> * Fri Aug 26 2011 Jan Kaluza  - 2.2.15-9.1
> - fix #733062 -  backported CVE-2011-3192 fix from httpd trunk
>
> * Fri Apr 08 2011 Joe Orton  - 2.2.15-9
> - mod_ssl: complete fix for overlapping memcpy (#652335)
> ...
>
> ___
> 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] Network Situation

2011-12-14 Thread Denniston, Todd A CIV NAVSURFWARCENDIV Crane
> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf Of Gene Poole
> Sent: Wednesday, December 14, 2011 13:08
> To: centos@centos.org
> Subject: [CentOS] Network Situation
> 

> If I install CentOS 6.0 and sometime later upgrade to CentOS 6.2, will
> the fact that I'm running software raid-1 on the /boot partition 
> cause me grief?


6.2 is the kind of release that those in the community and TUV call a
'point release'.
Reading the FAQ may help you.
"14. What is the versioning/release scheme of CentOS and how does it
compare to the upstream vendor?"
http://wiki.centos.org/FAQ/General#head-6e2c3746ec45ac3142917466760321e8
68f43c0e

And I think the backport link to redhat in the following FAQ could be
useful for you to understand.
"20. Where can I get the latest version of XyZ.rpm for CentOS? I cannot
find it anywhere."
http://wiki.centos.org/FAQ/General#head-472ce8446ebcfc82ca1800f775ba0e62
9ac835c7

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


[CentOS] Network Situation

2011-12-14 Thread Gene Poole
In my personal environment, I've got 7 machines running, with 4 of those 
machines running various flavors of Linux (CentOS 5 x86_64; Fedora 15 
x86_64; Fedora 14 i686).  Based upon some issues with the Fedora 15 x86_64 
machine I'm considering dropping Fedora 15 in favor of CentOS 6.1.  My 
questions are:
On the networking side, has a there been a move to change the ethernet 
names from eth0 to em1?
After install, can I change from NetworkManager to plain network?
On my CentOS 5 machine I'm running VMware Server 2 and would like to move 
to KVM virtualization on the Fedora 15/CentOS 6.1 box.  Is the level of 
KVM comparable between Fedora 15 and CentOS 6?
If I install CentOS 6.0 and sometime later upgrade to CentOS 6.2, will the 
fact that I'm running software raid-1 on the /boot partition cause me 
grief?
Will the fact that I'm running software raid-1 and LVM that was defined 
under Fedora 12 cause me grief?
Are there any caveats moving from Fedora 15 to CentOS 6?

Any advise?

Thanks,
Gene Poole

+ It's impossible for everything to be true. +
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6, yum-updatesd

2011-12-14 Thread John Hodrien
On Wed, 14 Dec 2011, m.r...@5-cent.us wrote:

> And I worked on Spacewalk in early '09. AAAGHGHGHGHHGHG It
> went from .3 to .4 while I was trying to implement it, and I think it hit
> .5 as I left that contract. It was a nightmare to install and configure; I
> had to tune the free Oracle version to use almost all available memory (it
> had a max of 1G for the free version), and on, and on.

It wasn't *that* bad...  It is however overkill for a lot of situations.

> Sounds as though I might want to roll out something like
> 5 1 * * * yum -y update

Probably want something that spots a hung yum and kills it, as it /can/ get
itself into a pickle and not complete.

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


Re: [CentOS] CentOS 6, yum-updatesd

2011-12-14 Thread Ljubomir Ljubojevic
Vreme: 12/14/2011 05:58 PM, m.r...@5-cent.us piše:
> Ljubomir Ljubojevic wrote:
>> Vreme: 12/14/2011 04:07 PM, m.r...@5-cent.us piše:
>>> Back in the Fedora docs I found on a google, it mentions that in FC6,
>>> the preferred tool for updates was the "new" yum-updatesd. Anyone know:
>>> a) what theological reason upstream had to drop it altogether, and b)
>>> what's the recommended replacement - is it yum-cron?
>>>
>>> I hand-update some servers, and of course users' workstations, but some
>>> system, like home directory servers and backup servers are extremely
>>> unlikely to break with an autoupdate, so this is of immediate interest.
>>
>> There is the whole thread on the RepoForge mailing list with so caled
>> solutions:
>>
>> http://lists.repoforge.org/pipermail/users/2011-December/022592.html
>
> Oy, as they say, vey.
>
> And I worked on Spacewalk in early '09. AAAGHGHGHGHHGHG It
> went from .3 to .4 while I was trying to implement it, and I think it hit
> .5 as I left that contract. It was a nightmare to install and configure; I
> had to tune the free Oracle version to use almost all available memory (it
> had a max of 1G for the free version), and on, and on.
>
> Sounds as though I might want to roll out something like
> 5 1 * * * yum -y update
>
>  mark

Someone offered to recompiled it. I would if I had time. Maybe if 
nothing shows up in next few weeks..

But then again those needing automatic updates like to keep their 
systems third-party free...

-- 

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

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


Re: [CentOS] max user processes - is /etc/security/limits.conf the best place to change?

2011-12-14 Thread Marc Deop
On Wednesday 14 December 2011 18:41:13 Alexander Farber wrote:
> in CentOS 6.1 is /etc/security/limits.conf
> the best place to change the number of
> max user processes for a daemon process?
> 
> (I'm asking because the ".../security/..." part
> of the path sounds a bit strange)

What's wrong with that? that avoids uncontrolled fork processes for example ;)

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


[CentOS] max user processes - is /etc/security/limits.conf the best place to change?

2011-12-14 Thread Alexander Farber
Hello centos-users,

in CentOS 6.1 is /etc/security/limits.conf
the best place to change the number of
max user processes for a daemon process?

(I'm asking because the ".../security/..." part
of the path sounds a bit strange)

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


Re: [CentOS] Shutdown KVM guest not working

2011-12-14 Thread James B. Byrne

On Wed, December 14, 2011 11:53, Marius Vaitiekunas wrote:

>
>
> Make sure you have acpid service running in vm.
>
>

[root@vhost01 ~]# service acpid status
acpid (pid 1741) is running...

-- 
***  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] Shutdown KVM guest not working

2011-12-14 Thread Rilindo Foster
You can run this:

Destroy vmname

This is an equivalent to powering off the server.

Obviously, this may cause some issues with vm when you start it up again. . .

Sent from my iPhone

On Dec 14, 2011, at 11:47 AM, "James B. Byrne"  wrote:

> I am in the middle of a rather confusing situation.  At
> the moment I am unable to shutdown a KVM guest machine. 
> Nor am I presently able to open a virt-manager session on
> the host.
> 
> I am not exactly sure what has happened but the problem
> with the vm guest is that issuing a "virsh shutdown 1"
> from the root console has no effect.
> 
> # virsh list
> Id Name  State
> 
>  1 vmguest01 running
> 
> # virsh shutdown 1
> Doamin 1 is being shutdown
> 
> wait 5 minutes
> 
> # virsh list
> Id Name  State
> 
>  1 vmguest01 running
> 
> How do I get this stopped?
> 
> I have another problem with virt-manager as well.  But I
> will leave that for another message.
> 
> -- 
> ***  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] CentOS-announce Digest, Vol 82, Issue 9

2011-12-14 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
centos-annou...@centos.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-requ...@centos.org

You can reach the person managing the list at
centos-announce-ow...@centos.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of CentOS-announce digest..."


Today's Topics:

   1. CESA-2011:1815 Moderate CentOS 5 x86_64 icu Update (Johnny Hughes)
   2. CESA-2011:1815 Moderate CentOS 5 i386 icu Update (Johnny Hughes)


--

Message: 1
Date: Wed, 14 Dec 2011 00:14:20 +
From: Johnny Hughes 
Subject: [CentOS-announce] CESA-2011:1815 Moderate CentOS 5 x86_64 icu
Update
To: centos-annou...@centos.org
Message-ID: <20111214001420.ga26...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2011:1815 Moderate

Upstream details at : https://rhn.redhat.com/errata/RHSA-2011-1815.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 

x86_64:
ff8072bc90d53597468560bbb41dbae288239fbc060f26c3cf4cbb7082f25f86  
icu-3.6-5.16.1.x86_64.rpm
57781db5aec39afa972767c509f70f04afa0a2ea494b9de0aafa7ea14c12eeff  
libicu-3.6-5.16.1.i386.rpm
e7d547534074e9778fec100ba38750fd685072a6eee3d5105b8befa05aa57e25  
libicu-3.6-5.16.1.x86_64.rpm
bebde578a020d6a9c629dd6e03fabf0c4837f94b8485dc7b5d55ba2430d3d92d  
libicu-devel-3.6-5.16.1.i386.rpm
f6db0f10c64902d4027e29337b99117ecedf9c7c74808c421eb5d931846e5b97  
libicu-devel-3.6-5.16.1.x86_64.rpm
a32f875843b044ee724e688ae89fadb26bea7aecd6fc11a9ace2d42bc03a238c  
libicu-doc-3.6-5.16.1.x86_64.rpm

Source:
a42b1ee152c2a66f70e2853a6d6093cc067d4931ae2d56debe4b4d87f6cfcae7  
icu-3.6-5.16.1.src.rpm


-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net



--

Message: 2
Date: Wed, 14 Dec 2011 00:14:20 +
From: Johnny Hughes 
Subject: [CentOS-announce] CESA-2011:1815 Moderate CentOS 5 i386 icu
Update
To: centos-annou...@centos.org
Message-ID: <20111214001420.ga26...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2011:1815 Moderate

Upstream details at : https://rhn.redhat.com/errata/RHSA-2011-1815.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 

i386:
fffc15be14232d26eb697c2dbe39946821a431943959f719b30788ae16c9a2c8  
icu-3.6-5.16.1.i386.rpm
57781db5aec39afa972767c509f70f04afa0a2ea494b9de0aafa7ea14c12eeff  
libicu-3.6-5.16.1.i386.rpm
bebde578a020d6a9c629dd6e03fabf0c4837f94b8485dc7b5d55ba2430d3d92d  
libicu-devel-3.6-5.16.1.i386.rpm
dec7eaa9d6dcf2bd776d4d9a8b90269fb7b6301a30dbfcf8d7706b36ef0b8b14  
libicu-doc-3.6-5.16.1.i386.rpm

Source:
a42b1ee152c2a66f70e2853a6d6093cc067d4931ae2d56debe4b4d87f6cfcae7  
icu-3.6-5.16.1.src.rpm


-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net



--

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


End of CentOS-announce Digest, Vol 82, Issue 9
**
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6, yum-updatesd

2011-12-14 Thread m . roth
Ljubomir Ljubojevic wrote:
> Vreme: 12/14/2011 04:07 PM, m.r...@5-cent.us piše:
>> Back in the Fedora docs I found on a google, it mentions that in FC6,
>> the preferred tool for updates was the "new" yum-updatesd. Anyone know:
>> a) what theological reason upstream had to drop it altogether, and b)
>> what's the recommended replacement - is it yum-cron?
>>
>> I hand-update some servers, and of course users' workstations, but some
>> system, like home directory servers and backup servers are extremely
>> unlikely to break with an autoupdate, so this is of immediate interest.
>
> There is the whole thread on the RepoForge mailing list with so caled
> solutions:
>
> http://lists.repoforge.org/pipermail/users/2011-December/022592.html

Oy, as they say, vey.

And I worked on Spacewalk in early '09. AAAGHGHGHGHHGHG It
went from .3 to .4 while I was trying to implement it, and I think it hit
.5 as I left that contract. It was a nightmare to install and configure; I
had to tune the free Oracle version to use almost all available memory (it
had a max of 1G for the free version), and on, and on.

Sounds as though I might want to roll out something like
5 1 * * * yum -y update

mark


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


Re: [CentOS] Shutdown KVM guest not working

2011-12-14 Thread Marius Vaitiekunas
On Wed, Dec 14, 2011 at 6:47 PM, James B. Byrne  wrote:
> I am in the middle of a rather confusing situation.  At
> the moment I am unable to shutdown a KVM guest machine.
> Nor am I presently able to open a virt-manager session on
> the host.
>
> I am not exactly sure what has happened but the problem
> with the vm guest is that issuing a "virsh shutdown 1"
> from the root console has no effect.
>
> # virsh list
>  Id Name                          State
> 
>  1 vmguest01                 running
>
> # virsh shutdown 1
> Doamin 1 is being shutdown
>
> wait 5 minutes
>
> # virsh list
>  Id Name                          State
> 
>  1 vmguest01                 running
>
> How do I get this stopped?
>
> I have another problem with virt-manager as well.  But I
> will leave that for another message.
>
> --
> ***          E-Mail is NOT a SECURE channel          ***
> James B. Byrne                mailto: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


Make sure you have acpid service running in vm.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6, yum-updatesd

2011-12-14 Thread Ljubomir Ljubojevic
Vreme: 12/14/2011 04:07 PM, m.r...@5-cent.us piše:
> Back in the Fedora docs I found on a google, it mentions that in FC6, the
> preferred tool for updates was the "new" yum-updatesd. Anyone know: a)
> what theological reason upstream had to drop it altogether, and b) what's
> the recommended replacement - is it yum-cron?
>
> I hand-update some servers, and of course users' workstations, but some
> system, like home directory servers and backup servers are extremely
> unlikely to break with an autoupdate, so this is of immediate interest.
>
> mark
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>

There is the whole thread on the RepoForge mailing list with so caled 
solutions:

http://lists.repoforge.org/pipermail/users/2011-December/022592.html

-- 

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

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


[CentOS] Shutdown KVM guest not working

2011-12-14 Thread James B. Byrne
I am in the middle of a rather confusing situation.  At
the moment I am unable to shutdown a KVM guest machine. 
Nor am I presently able to open a virt-manager session on
the host.

I am not exactly sure what has happened but the problem
with the vm guest is that issuing a "virsh shutdown 1"
from the root console has no effect.

# virsh list
 Id Name  State

  1 vmguest01 running

# virsh shutdown 1
Doamin 1 is being shutdown

wait 5 minutes

# virsh list
 Id Name  State

  1 vmguest01 running

How do I get this stopped?

I have another problem with virt-manager as well.  But I
will leave that for another message.

-- 
***  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] dd disk will not boot - can't find /dev/root

2011-12-14 Thread Les Mikesell
On Wed, Dec 14, 2011 at 9:56 AM, Joseph Spenner  wrote:
>
> I booted the rescue-cd and reinstalled initrd from RPM.  That seemed to fix 
> it.
>
> It amazes me how complex the whole boot process needs to be.  Or why there 
> doesn't exist a simple bootable CD to fix an incorrect or destroyed MBR /boot 
> partition, based on what it can analyze and figure out.
>

Agreed - It has to be fairly common to want to move an existing system
to newer hardware - or to restore a backup of a broken system onto a
not-quite identical replacement.  Anaconda is the only thing that
knows how to configure new hardware for booting - and it isn't
telling...  The only way to get it to help out is to do an install on
the target hardware and either keep the resulting /boot partition and
/etc/modprobe.conf, overwriting everything else with your backup, or
use the info from modprobe.conf to build an initrd containing the
right modules before making your backup (assuming the old system still
works).   The difficulty in handling this operation is a lot of reason
for the popularity of virtual machines in spite of the overhead.

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


Re: [CentOS] dd disk will not boot - can't find /dev/root

2011-12-14 Thread Joseph Spenner




Am 12.12.2011 17:01, schrieb Joseph Spenner:
> 
> 
>  From: Joseph Spenner 
> To: "centos@centos.org"  
> Sent: Monday, December 12, 2011 8:51 AM
> Subject: [CentOS] dd disk will not boot - can't find /dev/root
>  
> OS= CentOS 5.4, 64bit.
> 
> I've always had great luck using dd to copy entire disks, and booting on 
> other systems.  However, I'm having difficulty with a couple systems.  I boot 
> using an install DVD so the OS disk is quiet, and dd to my target disk:
> 
> # dd if=/dev/sda of=/dev/sdb bs=1024k
> 
> /dev/sdb is the blank disk.  The disks are 2T.  After a few hours the 
> operation is complete.  But when I try to boot the new disk on my other 
> system, I get the following errors after the CentOS boot menu (it counts down 
> to boot the default disk fine, then this error):
> 
>   (screen shot at   
>http://img214.imageshack.us/img214/645/centosbooterror.jpg   )
> 
> I've read posts regarding the /dev/root error, and they talk about rebuilding 
> initrd.  I've tried some of the fixes mentioned, but have had no success.
> All I can think of is slightly different hardware on the new system where I'm 
> trying to boot, but I'm not sure what the difference could be.
> They're both 64bit SuperMicro systems.
> 
> If anyone has any ideas, I'd love to hear.

boot from the rescue-cd and reinstall the kernel of the cloned system
or make a new initramdisk per hand - i guess the kernel is missing some
needed hardware-driver of the new computer in the initrd

=
Thanks for the replies!
I booted the rescue-cd and reinstalled initrd from RPM.  That seemed to fix it.

It amazes me how complex the whole boot process needs to be.  Or why there 
doesn't exist a simple bootable CD to fix an incorrect or destroyed MBR /boot 
partition, based on what it can analyze and figure out.


___
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] UUID for network cards

2011-12-14 Thread Helmut Drodofsky
Hello,

with CentOS 6, my new server created an UUID entry in ifcfg-eth0 - 
additional to HWADDR entry.

Up to CentOS 5 the connection to the netwark card was defind only by HWADDR.

Now I have a new network card. How can I get the correct UUID?

The server connects correct the network with the updated HWADDR without 
any UUID. Why do I need an UUID?

Thank you for help in advance.

Best Regards
Helmut Drodofsky



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


Re: [CentOS] Apache httpd-2.2.15 updates

2011-12-14 Thread Lars Hecking
drsyst...@globalcerts.net writes:
> Hello,
> 
> I am working on a CentOS Linux 2.6.32-71.el6.x86_64 system.
> I noticed that the system came with httpd-2.2.15-6 installed.
> After I run 'yum update' I get httpd-2.2.15-9.
> 
> I did some research on the Internet, but can't find the following
> information: are most of the security fixes that appear in httpd-2.2.21
> applied to the update on httpd-2.2.15-9?
> 
> There was a security fix just last August, the CVE-2011-3192 on Range and
> DoS. I don't imagine that this is in the 2.2.15-9. Do you have plans to
> provide this patch in the repository so that 'yum update httpd*' would get
> this patch?

$ cd $REPO
$ rpm -qp --changelog httpd-2.2.15-9.el6.centos.3.x86_64.rpm
* Fri Oct 21 2011 Karanbir Singh  - 2.2.15-9.3.el6.centos
- Roll in CentOS Branding

* Thu Oct 06 2011 Joe Orton  - 2.2.15-9.3
- add security fixes for CVE-2011-3347, CVE-2011-3368 (#743901)
- fix regressions in CVE-2011-3192 patch (#736592)

* Tue Aug 30 2011 Joe Orton  - 2.2.15-9.2,
- updated patch for CVE-2011-3192 from upstream (#733062)

* Fri Aug 26 2011 Jan Kaluza  - 2.2.15-9.1
- fix #733062 -  backported CVE-2011-3192 fix from httpd trunk

* Fri Apr 08 2011 Joe Orton  - 2.2.15-9
- mod_ssl: complete fix for overlapping memcpy (#652335)
...

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


[CentOS] Apache httpd-2.2.15 updates

2011-12-14 Thread drsystems
Hello,

I am working on a CentOS Linux 2.6.32-71.el6.x86_64 system.
I noticed that the system came with httpd-2.2.15-6 installed.
After I run 'yum update' I get httpd-2.2.15-9.

I did some research on the Internet, but can't find the following
information: are most of the security fixes that appear in httpd-2.2.21
applied to the update on httpd-2.2.15-9?

There was a security fix just last August, the CVE-2011-3192 on Range and
DoS. I don't imagine that this is in the 2.2.15-9. Do you have plans to
provide this patch in the repository so that 'yum update httpd*' would get
this patch?

Thank you in advance,

  Dirce Richards
  Systems Engineer, GlobalCerts




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


[CentOS] CentOS 6, yum-updatesd

2011-12-14 Thread m . roth
Back in the Fedora docs I found on a google, it mentions that in FC6, the
preferred tool for updates was the "new" yum-updatesd. Anyone know: a)
what theological reason upstream had to drop it altogether, and b) what's
the recommended replacement - is it yum-cron?

I hand-update some servers, and of course users' workstations, but some
system, like home directory servers and backup servers are extremely
unlikely to break with an autoupdate, so this is of immediate interest.

   mark

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


Re: [CentOS] Yum metadata / CR problems

2011-12-14 Thread Karanbir Singh
On 12/14/2011 12:30 PM, Karanbir Singh wrote:
> On 12/14/2011 10:53 AM, Dennis Jacobfeuerborn wrote:
>> Isn't there a better way to handle this without breaking yum?
> 
> I am sure there is, looking into that right now

posted a potential fix into the metadata, that should peculate through
to mirrors soon and fix the issue for everyone.

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


Re: [CentOS] Yum metadata / CR problems

2011-12-14 Thread Karanbir Singh
On 12/14/2011 10:53 AM, Dennis Jacobfeuerborn wrote:
> Isn't there a better way to handle this without breaking yum?

I am sure there is, looking into that right now

> 
> I'm also not quite sure why the "yum clean all" is required. 

you should not need to do an 'all' for anything really, 'yum clean
metadata' will do what you need here.

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


Re: [CentOS] Minimal Desktop in CentOS6 with kvm

2011-12-14 Thread Ljubomir Ljubojevic
Vreme: 12/14/2011 03:02 AM, David McGuffey piše:
> Anyone able to do this?  Any tips on what might be missing in the load?

If nowone answers, there is centos-virt list better suited for this 
question.


-- 

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

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


[CentOS] Yum metadata / CR problems

2011-12-14 Thread Dennis Jacobfeuerborn
Hi,
after the release of 6.1 I have to do a "yum clean all" on all my 6.0 
machines in order to make yum work again. The reason is that the old CR 
directory on the mirrors is now empty and the new one isn't used until I 
actually upgrade the system to 6.1 (or at least the centos-release package).

Isn't there a better way to handle this without breaking yum?

I'm also not quite sure why the "yum clean all" is required. It has been a 
few days now since 6.1 has been released so shouldn't the cached metadata 
have been expired by now anyway or is there metadata that has unusually 
long caching times?

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


Re: [CentOS] CR repo - version issue

2011-12-14 Thread Philippe Naudin
Le mer 14 déc 2011 12:17:36 CET, Philip Manuel a écrit:

> 
> 
> On 12/14/2011 12:07 PM, Johnny Hughes wrote:
> > On 12/13/2011 06:54 PM, Philip Manuel wrote:
> >>
> >> On 12/14/2011 11:49 AM, Johnny Hughes wrote:
> >>
> > You do have i686 packages on that machine ... that is what the error you
> > posted is.
> >
> > create (or edit( a file called:
> >
> > /root/.rpmmacros
> >
> > put this in the that file as the top line:
> >
> > %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
> >
> > Then do the command:
> >
> > rpm -qa | grep i[3,6]86
> >
> > That should show you the i686 packages that are installed on the machine.
> >
> cat /etc/rpm/macros.zomojo
> # Zomojo global rpm macros
>   %org_tag .zmj
>   %dist .el6
>   %rhel 6
>   %zmj_bjam_flags '-j 4'
>   %packager Zomojo 
>   %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
> rpm -qa | grep i[3,6]86
> :~#
> 
> Nothing other than x86_64 packages

Maybe also, in the case there is something broken in the yum database :
yum list installed '*i[3456]86'


-- 
Philippe Naudin
UMR MISTEA : Mathématiques, Informatique et STatistique pour 
l'Environnement et l'Agronomie
INRA, bâtiment 29   -   2 place Viala   -   34060 Montpellier cedex 2
tél: 04.99.61.26.34, fax: 04.99.61.29.03, mél: nau...@supagro.inra.fr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos