[CentOS] sound

2010-10-30 Thread mattias
Are the sound muted as default?

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


[CentOS] Xen guest not starting automatically

2010-10-30 Thread Jussi Hirvi
I have a xen system with four guest OS's, (see list below). When I 
reboot the host, other guests autostart normally, but mail2 does not. I 
have found no explanation for this.

The host and all guests are CentOS 5.5.

[r...@farm1 xen]# ls -l /etc/xen/auto
total 0
lrwxrwxrwx 1 root root 8 Dec 11  2009 dawit -> ../dawit
lrwxrwxrwx 1 root root 8 May  5 21:10 mail2 -> ../mail2
lrwxrwxrwx 1 root root 8 Nov 26  2009 mail3 -> ../mail3
lrwxrwxrwx 1 root root 6 Oct 29  2009 ns2 -> ../ns2

Here is my config for the problem guest:

cat /etc/xen/mail2
name = "mail2"
uuid = "68e33ec6-ef36-9eac-27d7-65a709684551"
maxmem = 500
memory = 500
vcpus = 1
bootloader = "/usr/bin/pygrub"
# kernel = "/var/lib/xen/boot_kernel.5g5MLq"
# ramdisk = "/var/lib/xen/boot_ramdisk.1pSOoP"
# extra = "ro root=LABEL=/ console=xvc0"
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
disk = [ "tap:aio:/vm/mail2.img,xvda,w" ]
vif = [ "mac=00:16:36:24:67:3c,bridge=xenbr0,script=vif-bridge" ]


- Jussi

-- 
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hi...@greenspot.fi * http://www.greenspot.fi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Xen guest not starting automatically

2010-10-30 Thread Ralph Angenendt
Am 30.10.10 14:46, schrieb Jussi Hirvi:

> The host and all guests are CentOS 5.5.
> 
> [r...@farm1 xen]# ls -l /etc/xen/auto
> total 0
> lrwxrwxrwx 1 root root 8 Dec 11  2009 dawit -> ../dawit
> lrwxrwxrwx 1 root root 8 May  5 21:10 mail2 -> ../mail2
> lrwxrwxrwx 1 root root 8 Nov 26  2009 mail3 -> ../mail3
> lrwxrwxrwx 1 root root 6 Oct 29  2009 ns2 -> ../ns2

SELinux turned on? What does ls -Z in that directory say? Do you get AVC
denials in the audit log?

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


Re: [CentOS] Xen guest not starting automatically

2010-10-30 Thread Jussi Hirvi
On 30.10.2010 16.57, Ralph Angenendt wrote:
 > SELinux turned on?

Nope, SELinux is off - in /etc/selinux/config it says:
SELINUX=disabled.

 > What does ls -Z in that directory say?

# ls -Z /etc/xen
drwxr-xr-x  root root system_u:object_r:etc_t:s0   auto
-rw---  root root  dawit
-rw---  root root  mail2
-rw---  root root  mail3
-rw---  root root  ns2
-rwxr-xr-x  root root  qemu-ifup
drwxr-xr-x  root root system_u:object_r:bin_t:s0   scripts
-rw-r--r--  root root  xend-config.sxp
-rw-r--r--  root root 
xend-pci-permissive.sxp
-rw-r--r--  root root  xend-pci-quirks.sxp
-rw-r--r--  root root  xmexample1
-rw-r--r--  root root  xmexample2
-rw-r--r--  root root  xmexample.hvm
-rw-r--r--  root root  xmexample.vti

 > Do you get AVC denials in the audit log?

# grep -rl AVC /var/log
...gives no output.

- Jussi

-- 
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel. +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
jussi.hi...@greenspot.fi * http://www.greenspot.fi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Xen guest not starting automatically

2010-10-30 Thread Veli-Pekka Kestilä
On 30.10.2010 15:46, Jussi Hirvi wrote:
> I have a xen system with four guest OS's, (see list below). When I
> reboot the host, other guests autostart normally, but mail2 does not. I
> have found no explanation for this.
>
> The host and all guests are CentOS 5.5.
Have you checked relevant log files:
-  dmesg
- /var/log/xen/*

Usually if one of the guests doesn't start without explanation it should 
give something out. Brute force fix would be to delete the guest and 
recreate it.

-vpk


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


Re: [CentOS] Xen guest not starting automatically

2010-10-30 Thread Jussi Hirvi
On 30.10.2010 19.29, Veli-Pekka Kestilä wrote:
> Have you checked relevant log files:
> -  dmesg
> -/var/log/xen/*

I tried to check them the last time this happened - there is a lot of 
stuff in the logs (which makes it harder to find what's relevant), and I 
did not find anything unusual.

> Usually if one of the guests doesn't start without explanation it should
> give something out. Brute force fix would be to delete the guest and
> recreate it.

Ok, there's an idea... I might try that some time.

- Jussi

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


Re: [CentOS] Xen guest not starting automatically

2010-10-30 Thread Veli-Pekka Kestilä
On 30.10.2010 19:58, Jussi Hirvi wrote:
> On 30.10.2010 19.29, Veli-Pekka Kestilä wrote:
>> Have you checked relevant log files:
>> -  dmesg
>> -/var/log/xen/*
> I tried to check them the last time this happened - there is a lot of
> stuff in the logs (which makes it harder to find what's relevant), and I
> did not find anything unusual.
One other thing to test is to run 'service xendomains start' when the 
failing domain is down. It could print out some errors and after that 
there should be more error messages either in those error files 
mentioned before or in 'xm dmesg'

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


[CentOS] RPM DB DSA Signature Errors

2010-10-30 Thread Camron W. Fox
Alle,

I'm running CentOS 4.8. I just started seeing these errors during RPM
operations:

error: rpmdbAdd: skipping h# 990 Header V3 DSA signature: BAD, key
ID 443e1821
error: rpmdbNextIterator: skipping h# 969 Header V3 DSA signature:
BAD, key ID 443e1821

I've cleared out the __db.* files and tried to rebuild the DB with no
luck. I've also tried this:
http://forums.fedoraforum.org/showthread.php?t=145858 and this:

cd /var/lib
tar zcvf /var/preserve/rpmdb-`date +"%d%m%Y"`.tar.gz rpm
cd /var/lib/rpm
ls -l
rm -f __db*
/usr/lib/rpm/rpmdb_verify Packages
rpm -qa 1> /dev/null
rpm -v --rebuilddb

with no joy (also with the PubKeys). Any ideas as to what to try next
would be *most* appreciated.

Best Regards,
Camron

-- 
Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu Management Services of America, Inc.
E-mail: cw...@us.fujitsu.com

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


Re: [CentOS] Xen guest not starting automatically

2010-10-30 Thread Jussi Hirvi
On 30.10.2010 20.11, Veli-Pekka Kestilä wrote:
> One other thing to test is to run 'service xendomains start' when the
> failing domain is down. It could print out some errors and after that
> there should be more error messages either in those error files
> mentioned before or in 'xm dmesg'
>
Ok, thanks for the tip.
- Jussi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] migrating users to openldap

2010-10-30 Thread Gordon Messmer
On 10/29/2010 04:00 PM, Tim Dunphy wrote:
> hey guys, nice suggestions.. it looks like PADL did not cover shadow
> entries for some reason.. this will likely have to be a custom script
> i will have to write...

I'm sure there are plenty floating around.  Try mine:
http://phantom.dragonsdawn.net/~gordon/importAccounts/importAccounts
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos