[CentOS] mysql secure installation and multi mysqld

2012-05-16 Thread Bob Hoffman
If you adjust the my.cnf file to make separate instances of mysql.

How would you go through the mysql secure installation? Is is possible 
or must it all be done manually
for each one?

is it possible to make each one of those instances a replicate/slave of 
a different master
(thus a backup mysql server in a way?)

working on this now, but having issues getting it to work.
(centos 6)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] XEN or KVM - performance/stability/security?

2012-05-16 Thread Luke S. Crawford
On Fri, May 11, 2012 at 03:46:43PM -0700, Gordon Messmer wrote:
> A late reply, but hopefully a useful set of feedback for the archives:
> 
> On 04/20/2012 05:59 AM, RafaƂ Radecki wrote:
> > Key factors from my opint of view are:
> > - stability (which one runs more smoothly on CentOS?)
> 
> I found that xenconsoled could frequently crash in Xen dom0, and that 
> guests would be unable to reboot until it was fixed.  I also found that 
> paravirt CentOS domUs would not boot if they were updated before the 
> dom0.  In short, Xen paravirt was very fragile and troublesome.  I never 
> tested Xen with hardware virtualization.

This particular problem was fixed some time ago, it hasn't happened
to my (many) dom0s in more than a year.

The RHEL5 Xen dom0 was garbage until 5.3 or so.  To the point where I'd
compile my own and deal with the pain of using a non-rhel kernel with
a rehl userland.

Stability has improved vastly.

> > - performance (XEN PV/HVM(with or without pv drivers) vs KVM HVM(with or
> > without pv drivers))
> 
> PV drivers will make some difference, but the biggest performance 
> difference you'll see is probably the difference between file-backed VMs 
> and LVM-backed VMs.  File-backed VMs are extremely slow.  Whichever 
> system you choose, use LVMs as the backing for your guests.

My experience has been that using qemu for disk has something of a 
multiplier effect;  e.g. it makes slow spinning disk noticably 
slower.  The paravirtualized drivers help immensely in that regard.

(how are the paravirt drivers in KVM these days?  I have a server 
full of kvm guests running some ancient version of ubuntu I will be
moving to RHEL6 shortly.)  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86

2012-05-16 Thread Gilbert Sebenste
On Wed, 16 May 2012, Gilbert Sebenste wrote:

> On Wed, 16 May 2012, John R. Dennison wrote:
>
>>  Um, both work out of the box with selinux set to enforcing.  There are
>>  other issues at play.
>>
>>  Disabling selinux is never a fix.

Found the issue. /var/spool/mail permission wasn't set correctly.
That fixed it.

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


Re: [CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86

2012-05-16 Thread Gilbert Sebenste
On Wed, 16 May 2012, William Hooper wrote:

> Did you relabel after copying?  I believe you want to look at
> restorecon (or just relabel the whole filesystem).

No, I didn't. And that's where the problem lies. :-) Bingo.
Thanks!

Gilbert

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


Re: [CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86

2012-05-16 Thread William Hooper
On Wed, May 16, 2012 at 2:50 PM, Gilbert Sebenste
 wrote:
> Hello everyone,
>
> I cannot get the Postfix service to start on my pristine copy of CentOS
> 6.2 (installed straight from a DVD, and 6.2 directly, not 6.0 with
> upgrades...not thatit should matter).
>
> Anyway, I copied over /var/spool/mail to this system by using tar,
> as well as /etc/services and /etc/passwd, etc. Now, it doesn't want to
> start. I get permission errors like:

Did you relabel after copying?  I believe you want to look at
restorecon (or just relabel the whole filesystem).

http://wiki.centos.org/HowTos/SELinux

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


[CentOS] Notes on booting CentOS 6 natively on GPT with an EFI bootloader such as Chameleon without BIOS GPT/EFI support.

2012-05-16 Thread Lamar Owen
Ok, did some experiments.  Here's the scoop.

You will need a live USB key of CentOS 6 with a persistence layer (overlay) and 
the EPEL gdisk package installed to make this thing boot.

On a system with Chameleon already installed, boot the CentOS 6 install media.  
Installing Chameleon without OSX is an adventure that I've not done, so a 
'testing' OSX install (10.6) with the Chameleon bootloader installed was used; 
once Chameleon is in the EFI boot partition in theory you can blow away the 
HFS+ OSX filesystem, but I've not tried it.  This involves partitioning the 
disk as GPT, and there are numerous howtos out there for many motherboards and 
laptops; the key is to get Chameleon in the MBR and the EFI boot partition 
properly created, set up with a protective MBR, and populated. 

Install to the free space on the system, using a /boot of about 500MB, swap 
space to taste, and other filesystems as you like.  When the install prompts 
for bootloader installation location, you DO NOT want to install to the MBR 
(Chameleon is there); rather, install it to the /boot partition (on my test 
system this was /dev/sda3).  Finish the installation.  It won't yet be bootable.

Now, boot your liveUSB stick.  When you get your desktop, pull up a terminal 
and become root.  At the root prompt, invoke gdisk just like you would fdisk, 
making sure to get the right disk device and partition.  The command set for 
gdisk is virtually identical to fdisk.  Use 'p' to list the partitions; you'll 
see your /boot as a partition type of 'EF00' as set by parted in the installer. 
 You want to change that partition type to '0700' instead.  The bootable 
partition must remain the small EFI boot partition of type EF00.  You can name 
the partitions with the 'c' command; I encourage this.  Use the 'w' to write 
out the GPT when done, and shut down.  Remove the CentOS 6 liveUSB and reboot.  
Chameleon should automatically pick up the 'Linux' system in its bootsplash.  
Now, it may be possible to get parted to make the /boot partition to be type 
0700 instead of EF00; didn't try that, since I know gdisk will do it correctly.

As I was using a Dell Inspiron 640m, I used a Chameleon boot CD for a Dell 
Latitude D620 to good effect; you can find that on insanelymac.com.  That 
particular Chameleon install includes a Dell logo and such, and may be some 
different from your particular Chameleon install.

I have not tried this with a drive larger than 2TB; google for 'Chameleon 
bootloader EFI 2TB' to see the progress in this area.  In theory this would 
allow a BIOS booting machine to boot directly on a 2TB+ drive using GPT without 
having EFI or variant in the BIOS.  Once I get a single drive large than 2TB, 
or free up a machine with an FC connection and a > 2TB LUN attached to it, I'll 
try that out, and attempt to do a Chameleon installation without the OSX step 
in between.
-- 
Lamar Owen
Chief Information Officer
Pisgah Astronomical Research Institute
1 PARI Drive
Rosman, NC  28772
http://www.pari.edu
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86

2012-05-16 Thread Gilbert Sebenste
On Wed, 16 May 2012, John R. Dennison wrote:

> Um, both work out of the box with selinux set to enforcing.  There are
> other issues at play.
>
> Disabling selinux is never a fix.

What other issues should I look for? I used apache out of the box with the 
default config, changed it to my server name...and it denied access.
Turned off Selinux, bingo. No different than any other Apache server out 
there with default configs.

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


Re: [CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86

2012-05-16 Thread John R. Dennison
On Wed, May 16, 2012 at 02:57:03PM -0500, Gilbert Sebenste wrote:
> 
> No, it was the same reason I couldn't get Apache to work:
> 
> Selinux was enabled.
> 
> I disabled Selinux. Now, both work fine.

Um, both work out of the box with selinux set to enforcing.  There are
other issues at play.

Disabling selinux is never a fix.




John
-- 
If the world were a village of 100 people 

6 people (all in the USA) would own 59% of all the village's wealth,
74 people would share another 39%, and
20 people would share the remaining 2%.

-- David Copeland, in Value Earth


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


Re: [CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86

2012-05-16 Thread Gilbert Sebenste
On Wed, 16 May 2012, Steve Thompson wrote:

> On Wed, 16 May 2012, Gilbert Sebenste wrote:
>
>> I'm stumped. Does anyone have any ideas what the issue could be?
>
> Yes, you overwrote /etc/passwd and who knows what else, so it is no wonder
> that it is completely broken. Start again.
>
> Steve

No, it was the same reason I couldn't get Apache to work:

Selinux was enabled.

I disabled Selinux. Now, both work fine.

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


Re: [CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86

2012-05-16 Thread Steve Thompson
On Wed, 16 May 2012, Gilbert Sebenste wrote:

> I'm stumped. Does anyone have any ideas what the issue could be?

Yes, you overwrote /etc/passwd and who knows what else, so it is no wonder 
that it is completely broken. Start again.

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


[CentOS] Postfix will not start due to permission errors on CentOS 6.2 x86

2012-05-16 Thread Gilbert Sebenste
Hello everyone,

I cannot get the Postfix service to start on my pristine copy of CentOS 
6.2 (installed straight from a DVD, and 6.2 directly, not 6.0 with 
upgrades...not thatit should matter).

Anyway, I copied over /var/spool/mail to this system by using tar,
as well as /etc/services and /etc/passwd, etc. Now, it doesn't want to 
start. I get permission errors like:

postfix/master: warning: /usr/libexec/postfix/pickup pid 2006 exit 1
postfix/master:warning /usr/libexec/postfix/pickup: bad command startup -- 
throttling
postfix/pickup: fatal: scan_dir_push: open directory maildrop: permission
denied

warning: the postfix sendmail command has set-uid root file permissions
warning: or the command is run from a set-uid root process
warning: the Postfix sendmail command must be installed without
set-uid root file permissions

Now, I Googled these errors, and didn't see any good specific help for 
CentOS. So, I did a yum erase postfix, which also erased dependencies.
After I did that, I erased the /etc/postfix directory. I then reinstalled
postfix with all the dependencies...and got the same errors.

Then I googled the CentOS mailing list for help...nothing that applied to 
me turned up that I saw.

I'm stumped. Does anyone have any ideas what the issue could be?

Gilbert

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


Re: [CentOS] ldirectord package on centos 6

2012-05-16 Thread Dennis Jacobfeuerborn
On 05/16/2012 04:13 PM, Peter Hinse wrote:
> Am Wed, 16 May 2012 15:06:15 +0200 schrieb Dennis Jacobfeuerborn:
> 
>> On 05/16/2012 08:52 AM, Peter Hinse wrote:
>>> Am Tue, 15 May 2012 21:11:00 +0200 schrieb Dennis Jacobfeuerborn:
>>>
 I'm looking for the ldirectord package but can't find it. Previously
 this was available as "heartbeat-ldirectord" and nowadays it is built
 as an independent package from "resource-agents" however neither seems
 to be available either in core centos 6 or epel. Where did it go?
>>>
>>> Look at the resource-agents SPEC file, the ldirectord is not built
>>> anymore. Some tweaking in the SPEC will give you the package back.
>>> However, upstream (RH) has decided to not support ldirectord any more.
>>
>> Ok, so how does upstream provide load balancing features then? The only
>> alternative I know is keepalived and that doesn't really play well in a
>> cluster environment.
> 
> See http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/pdf/
> Load_Balancer_Administration/Red_Hat_Enterprise_Linux-6-
> Load_Balancer_Administration-en-US.pdf

After some digging I finally found the components in the piranha package.
That stuff looks pretty scary though (as in "not really meant for
production systems") so I'll probaby look into creating a standalong
ldirectord rpm.

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


Re: [CentOS] Installation of CentOS 6 on KVM - Hangs

2012-05-16 Thread Tim Nelson
- Original Message -
> Greetings-
> 
> I'm attempting to install CentOS-6 x86_64 to a virtual machine
> running via KVM on a Proxmox 1.9 system. The specs are 4x CPUs, 4GB
> RAM, and 160GB HDD. Installation proceeds fine using either minimal
> or netinstall CDs until installation of the selinux or

More specifically, it's hanging on the selinux-policy-targeted RPM. Not sure if 
this makes a difference, but I thought it worthy of note.

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


[CentOS] CentOS-announce Digest, Vol 87, Issue 10

2012-05-16 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-2012:0571 Moderate CentOS 6 kernel Update (Johnny Hughes)
   2. CEBA-2012:0672  CentOS 5 binutils Update (Johnny Hughes)


--

Message: 1
Date: Wed, 16 May 2012 09:19:09 +
From: Johnny Hughes 
Subject: [CentOS-announce] CESA-2012:0571 Moderate CentOS 6 kernel
Update
To: centos-annou...@centos.org
Message-ID: <20120516091909.ga20...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2012:0571 Moderate

Upstream details at : https://rhn.redhat.com/errata/RHSA-2012-0571.html

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


i386:
c647a4f968988d4a5419e5afed5cb74c52e3d9dfba09baafa7d00ebf5a635a4f  
kernel-2.6.32-220.17.1.el6.i686.rpm
49120071c940ec1d48c5e2aed27fbce8f0bae536993e5fb8fb693b5fcf600baf  
kernel-debug-2.6.32-220.17.1.el6.i686.rpm
fa2a72da7dd451d8d646c4adf7be4145ccd87697a9919abe2a4ece562e6ff83d  
kernel-debug-devel-2.6.32-220.17.1.el6.i686.rpm
103799d749f8015da8632eda2cfa3447edc6b4c306432fc784d791e1800ba8e4  
kernel-devel-2.6.32-220.17.1.el6.i686.rpm
f2cee8e26a93d4dcffb4ca48967362a906aad0420ab05a566be5dd7a6274dbc5  
kernel-doc-2.6.32-220.17.1.el6.noarch.rpm
5731558ecae43f8b1733da18318b1218d078b003741341001a75599ae894  
kernel-firmware-2.6.32-220.17.1.el6.noarch.rpm
103af35fca156730f22f4907019dc5c43e312305f2696c260f9ee67c84f2af21  
kernel-headers-2.6.32-220.17.1.el6.i686.rpm
41dc79e5e4454a0f740109d381562a39afa1839faeb0278e1129f95be78872e0  
perf-2.6.32-220.17.1.el6.i686.rpm
702657e91e418bb3e22e6f2ee0226641306a2f428358fa42fa0bcce9d2f51d84  
python-perf-2.6.32-220.17.1.el6.i686.rpm

x86_64:
693ca4053772d93f38fa2a19393e022811bd11a349c7bd211b54a81523f1b4bf  
kernel-2.6.32-220.17.1.el6.x86_64.rpm
53ba0a7f2d9763d868e29c4f49e382e69099a4366b3dd714a4697e93803c3ec6  
kernel-debug-2.6.32-220.17.1.el6.x86_64.rpm
f527dbc9ced3beb286bf4fd13c08b4c98cfc6db608d61c982179554366023e15  
kernel-debug-devel-2.6.32-220.17.1.el6.x86_64.rpm
f11da0faa2d01f207dba99b0a9cd6e4f30f2ae3e4e08f26cc0ad9453a7eae433  
kernel-devel-2.6.32-220.17.1.el6.x86_64.rpm
9d28a169e8c37a3b133835eff722fa342565e2bf6b03972aef2cb5183083b97a  
kernel-doc-2.6.32-220.17.1.el6.noarch.rpm
61600b65da0b06f393eb06da0b7dec6167b5bb9aebff30c74079d5ca3d63af87  
kernel-firmware-2.6.32-220.17.1.el6.noarch.rpm
0810b98c53846cb87c996d46cecedae999e3f75ded31c38928d17f9de56375c3  
kernel-headers-2.6.32-220.17.1.el6.x86_64.rpm
35e388db01227bade30dbe2b8ae7f74808e2a425ad851626c548a14127db096f  
perf-2.6.32-220.17.1.el6.x86_64.rpm
c97d385accfaa81fb2948fe6fadd69c361751e5196c0752aed15d3375df9dcfd  
python-perf-2.6.32-220.17.1.el6.x86_64.rpm

Source:
d2599082fda0e6887921bfca2cdb2d5e81dd25f5fce37c9d5f443ed2bba2ca69  
kernel-2.6.32-220.17.1.el6.src.rpm



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



--

Message: 2
Date: Wed, 16 May 2012 12:16:44 +
From: Johnny Hughes 
Subject: [CentOS-announce] CEBA-2012:0672  CentOS 5 binutils Update
To: centos-annou...@centos.org
Message-ID: <20120516121644.ga29...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2012:0672 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2012-0672.html

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

i386:
96193a1ab55252b279deb9147564395ca11a6d4abd5c6e78416eedbcbfa33fa4  
binutils-2.17.50.0.6-20.el5_8.3.i386.rpm
5ce6b8151aa51e7adea5ba135059334a3484f2df460443eb44c5df137c5b20ad  
binutils-devel-2.17.50.0.6-20.el5_8.3.i386.rpm

x86_64:
f07f1302e7cfb72c5041022e096e99b9c387639f141a41b0b55e89aca48cdd44  
binutils-2.17.50.0.6-20.el5_8.3.x86_64.rpm
5ce6b8151aa51e7adea5ba135059334a3484f2df460443eb44c5df137c5b20ad  
binutils-devel-2.17.50.0.6-20.el5_8.3.i386.rpm
36e5acba1e89128f5cb11277d4b9c6c1ba91ee3ddadf2fc9418515b80125d91c  
binutils-devel-2.17.50.0.6-20.el5_8.3.x86_64.rpm

Source:
4a407431f5c5865c9ae185db7658e18e6f54160494750b9f8f7f4665d0674f09  
binutils-2.17.50.0.6-20.el5_8.3.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

[CentOS] Installation of CentOS 6 on KVM - Hangs

2012-05-16 Thread Tim Nelson
Greetings-

I'm attempting to install CentOS-6 x86_64 to a virtual machine running via KVM 
on a Proxmox 1.9 system. The specs are 4x CPUs, 4GB RAM, and 160GB HDD. 
Installation proceeds fine using either minimal or netinstall CDs until 
installation of the selinux or qla2xx-firmware RPMs. At this point, the 
installation hangs, and never completes. I'm unable to see what is going on 
'under the hood' on another TTY as the console does not appear to be accepting 
my CTL-ALT-Fx commands either.

I have also tried installing using the full bin DVD1, but the initial 
installation errors out immediately noting the yum package cannot be read from 
source disk/etc. And yes, I have checked the MD5s on all downloaded ISOs.

I can readily duplicate this. Any thoughts or pointers on the cause and/or 
solution?

Thanks!

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


Re: [CentOS] OSS DSP sound card input on CentOS 6.2?

2012-05-16 Thread John Stanley
On Wed, 2012-05-16 at 08:41 -0500, Gilbert Sebenste wrote:

> 
> Thanks, John. I don't see padsp on my system, and "yum install padsp" does
> nothing. Any hints as to what I must do to install it?

man yum? first for how to hints...that fails find friend google...

yum whatprovides */padsp


John

then..
$ padsp my_app


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ldirectord package on centos 6

2012-05-16 Thread Peter Hinse
Am Wed, 16 May 2012 15:06:15 +0200 schrieb Dennis Jacobfeuerborn:

> On 05/16/2012 08:52 AM, Peter Hinse wrote:
>> Am Tue, 15 May 2012 21:11:00 +0200 schrieb Dennis Jacobfeuerborn:
>> 
>>> I'm looking for the ldirectord package but can't find it. Previously
>>> this was available as "heartbeat-ldirectord" and nowadays it is built
>>> as an independent package from "resource-agents" however neither seems
>>> to be available either in core centos 6 or epel. Where did it go?
>> 
>> Look at the resource-agents SPEC file, the ldirectord is not built
>> anymore. Some tweaking in the SPEC will give you the package back.
>> However, upstream (RH) has decided to not support ldirectord any more.
> 
> Ok, so how does upstream provide load balancing features then? The only
> alternative I know is keepalived and that doesn't really play well in a
> cluster environment.

See http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/pdf/
Load_Balancer_Administration/Red_Hat_Enterprise_Linux-6-
Load_Balancer_Administration-en-US.pdf

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


Re: [CentOS] OSS DSP sound card input on CentOS 6.2?

2012-05-16 Thread Gilbert Sebenste
On Wed, 16 May 2012, John Stanley wrote:

> On Tue, 2012-05-15 at 15:07 -0500, Gilbert Sebenste wrote:
>
>>
>> But under CentOS 6.2, there is no such device. I see /dev/snd, and it
>> has:
>
> There is:..
>
>> But nothing that looks OSS-ish to me.
>
> cat /usr/bin/padsp or man padsp
>
> That'll tell you what to do.  All else fails you can stream the audio
> with netcat.

Thanks, John. I don't see padsp on my system, and "yum install padsp" does
nothing. Any hints as to what I must do to install it?

Thanks!

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


Re: [CentOS] ldirectord package on centos 6

2012-05-16 Thread Dennis Jacobfeuerborn
On 05/16/2012 08:52 AM, Peter Hinse wrote:
> Am Tue, 15 May 2012 21:11:00 +0200 schrieb Dennis Jacobfeuerborn:
> 
>> I'm looking for the ldirectord package but can't find it. Previously
>> this was available as "heartbeat-ldirectord" and nowadays it is built as
>> an independent package from "resource-agents" however neither seems to
>> be available either in core centos 6 or epel. Where did it go?
> 
> Look at the resource-agents SPEC file, the ldirectord is not built 
> anymore. Some tweaking in the SPEC will give you the package back. 
> However, upstream (RH) has decided to not support ldirectord any more.

Ok, so how does upstream provide load balancing features then? The only
alternative I know is keepalived and that doesn't really play well in a
cluster environment.

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


Re: [CentOS] NTP Daemon in not bound to port

2012-05-16 Thread Shiv. NK

>>
> [root@proxy1 squid]# netstat -npl | grep ntp
> udp0  0 172.21.0.2:123  0.0.0.0:*
> 1154/ntpd
> udp0  0 127.0.0.1:123   0.0.0.0:*
> 1154/ntpd
> udp0  0 0.0.0.0:123 0.0.0.0:*
> 1154/ntpd
> udp0  0 fe80::a00:27ff:fed6:c590:123 :::*
>  1154/ntpd
> udp0  0 ::1:123 :::*
> 1154/ntpd
> udp0  0 :::123  :::*
> 1154/ntpd
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Dear Giles, thanks for you response. I identified myistake. Port is udp,
therefor I should have use netstat -nulp but I did grep for tcp port. I
wilwe heck when I reach back in office. I am sure this is not the problem,
please ignore request. Thanks for you time and assistance
Regards

Sent from my iPhone




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


Re: [CentOS] NTP Daemon in not bound to port

2012-05-16 Thread Giles Coochey
On 2012-05-16 13:19, Shiv. NK wrote:
> Hello Dear Friends,
>
> it is CentOS Release 6.2, ntpd is running but do not see bounded to 
> the
> port udp:123
>
> any guidelines would be very much appreciable.
>
> [root@jet mavi]# netstat -ntlp | grep ntpd
>
> 
>
> [root@jet mavi]# netstat -ntl | grep 123
>
> 
>
> But the service is running -
>
> [root@jet mavi]# /etc/init.d/ntpd status
> ntpd (pid  15876) is running...
>
> Selinux is disabled
>
[root@proxy1 squid]# netstat -npl | grep ntp
udp0  0 172.21.0.2:123  0.0.0.0:*   
1154/ntpd
udp0  0 127.0.0.1:123   0.0.0.0:*   
1154/ntpd
udp0  0 0.0.0.0:123 0.0.0.0:*   
1154/ntpd
udp0  0 fe80::a00:27ff:fed6:c590:123 :::*   
 1154/ntpd
udp0  0 ::1:123 :::*
1154/ntpd
udp0  0 :::123  :::*
1154/ntpd

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


[CentOS] NTP Daemon in not bound to port

2012-05-16 Thread Shiv. NK

Hello Dear Friends,

it is CentOS Release 6.2, ntpd is running but do not see bounded to the
port udp:123

any guidelines would be very much appreciable.

[root@jet mavi]# netstat -ntlp | grep ntpd



[root@jet mavi]# netstat -ntl | grep 123



But the service is running -

[root@jet mavi]# /etc/init.d/ntpd status
ntpd (pid  15876) is running...

Selinux is disabled

Thanks / regards

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


Re: [CentOS] OSS DSP sound card input on CentOS 6.2?

2012-05-16 Thread John Stanley
On Tue, 2012-05-15 at 15:07 -0500, Gilbert Sebenste wrote:

> 
> But under CentOS 6.2, there is no such device. I see /dev/snd, and it 
> has:

There is:..

> But nothing that looks OSS-ish to me. 

cat /usr/bin/padsp or man padsp

That'll tell you what to do.  All else fails you can stream the audio
with netcat.



John


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] cpuspeed causing high load average?

2012-05-16 Thread Rob Kampen
On 05/16/2012 09:03 PM, Tony Mountifield wrote:
> In article<4fb3628a.4050...@karan.org>,
> Karanbir Singh  wrote:
>> On 05/15/2012 01:05 PM, Tony Mountifield wrote:
>>> Eventually I found that stopping the "cpuspeed" subsystem allowed the
>>> load average to drop down to near zero, as I would expect it to be.
>> and what impact did that have on your power consumption ? And did it
>> make a difference to the performance of the machine ?
> It's too early to say, since it is a new box that I am just setting up.
> I would expect it to consume a little more power, since the CPU will be
> running at full speed, but to perform better.
>
> Since it will be a high-traffic SIP server running Asterisk, I expect
> running cpuspeed would be a bit pointless anyway.
>
> But that wasn't my main point, which was why cpuspeed should cause an
> abnormally high load average on this system.
>
> Cheers
> Tony
just a thought
there is a basic minimum load - when the CPU is at full speed it is a 
small % - when the CPU is throttled back to 30% of full speed the 
minimum load is a noticeable %??
HTH
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] cpuspeed causing high load average?

2012-05-16 Thread Tony Mountifield
In article <4fb3628a.4050...@karan.org>,
Karanbir Singh  wrote:
> On 05/15/2012 01:05 PM, Tony Mountifield wrote:
> > Eventually I found that stopping the "cpuspeed" subsystem allowed the
> > load average to drop down to near zero, as I would expect it to be.
> 
> and what impact did that have on your power consumption ? And did it
> make a difference to the performance of the machine ?

It's too early to say, since it is a new box that I am just setting up.
I would expect it to consume a little more power, since the CPU will be
running at full speed, but to perform better.

Since it will be a high-traffic SIP server running Asterisk, I expect
running cpuspeed would be a bit pointless anyway.

But that wasn't my main point, which was why cpuspeed should cause an
abnormally high load average on this system.

Cheers
Tony
-- 
Tony Mountifield
Work: t...@softins.co.uk - http://www.softins.co.uk
Play: t...@mountifield.org - http://tony.mountifield.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] cpuspeed causing high load average?

2012-05-16 Thread Karanbir Singh
On 05/15/2012 01:05 PM, Tony Mountifield wrote:
> Eventually I found that stopping the "cpuspeed" subsystem allowed the
> load average to drop down to near zero, as I would expect it to be.

and what impact did that have on your power consumption ? And did it
make a difference to the performance of the machine ?

-- 
Karanbir Singh
+44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
ICQ: 2522219| Yahoo IM: z00dax  | Gtalk: z00dax
GnuPG Key : http://www.karan.org/publickey.asc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos