Re: [CentOS] Red Hat Developer Toolset 3 for CentOS6?

2015-01-14 Thread wwp
Hello Dave,


On Tue, 13 Jan 2015 21:18:18 -0700 Dave Johansen  wrote:

> Unfortunately, this is only for RHEL/CentOS 7

Really? It installs and works fine on my CentOS6, more over, on the
Cern pages, it says "for Scientific Linux CERN 6" (note the '6');
repodata says '6' too.


> but it can also be found at:
> https://www.softwarecollections.org/en/scls/rhscl/devtoolset-3/

Interesting too :-), thanks. There, you're right, they are addressing
the repo to v7.


Regards,

> On Tue, Jan 13, 2015 at 1:39 AM, wwp  wrote:
> 
> >
> > On Tue, 13 Jan 2015 09:18:27 +0100 wwp  wrote:
> >
> > > I could find the 1.1 and 2 repos gently provided by Tru Huynh, but quid
> > > of a v3 of the toolset?
> > >
> > > I've just found that Qt 5.4 requires what's shipped in this v3 (gcc
> > > 4.9.1, binutils 2.24) and would prefer installing those from a repo. If
> > > not, the sources will rule.
> > >
> > > Any hint?
> >
> > The hint often comes after a deeper look on the Internet:
> >   http://linux.web.cern.ch/linux/scl/
> > (1.1 and 2 are accessible too, but slightly differently)
> >
> > Thanks to the Cern, sorry for the noise, at least it serves the
> > archives.
> >
> >
> > Regards,
> >
> > --
> > wwp

-- 
wwp


pgpuA5KCcdMBv.pgp
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] configure two bonding interfaces via kickstart

2015-01-14 Thread Benninger Frédéric
hello,

With CentOS 6.6, I try to configure two bonding interfaces via kickstart, but 
it works only with bond0, I don't understand why I can't configure bond1 the 
same way.

I found this old post: 
http://lists.centos.org/pipermail/centos/2013-March/133439.html I have exactly 
the same problem.

Who found the trick? 

best regards

Frédéric Benninger
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] configure two bonding interfaces via kickstart

2015-01-14 Thread AemNet


I think the problem is on the max_bonds parameter, the default value is 1 so

On 14/01/2015 11:17, Benninger Frédéric wrote:

hello,

With CentOS 6.6, I try to configure two bonding interfaces via kickstart, but 
it works only with bond0, I don't understand why I can't configure bond1 the 
same way.

I found this old post: 
http://lists.centos.org/pipermail/centos/2013-March/133439.html I have exactly 
the same problem.

Who found the trick?

best regards

Frédéric Benninger
___
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] Zone file not written to slave DNS server

2015-01-14 Thread Tris Hoar

On 14/01/2015 03:56, Emmett Culley wrote:

On 01/13/2015 12:10 PM, Mateusz Guz wrote:

Have you found a solution?

Did u allow master dns server to update the slave in /etc/named.conf ?



-Original Message-
From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of 
John R Pierce
Sent: Monday, January 12, 2015 7:02 AM
To: centos@centos.org
Subject: Re: [CentOS] Zone file not written to slave DNS server

On 1/11/2015 9:28 PM, Emmett Culley wrote:

I have mostly succeeded in getting master and slave DNS servers operational.  
Mostly, because the zone file is not written when a zone is updated on the 
master server when the notify and transfer process happens.

The slave DNS server gets the changes to the modified zone, but the slave zone 
file remains as before. I've found a few tutorials and lots of discussions, 
many of which talk about the slave's zone file getting written upon transfer, 
but none mention what configuration option would cause the slave's files to get 
updated.

The master is on a Cantos 6 server and the slave is on a Cantos 7 machine.


does the named service have write access to the slave directory ? chown
named.named /path-to-named/slave

oh, is your slave chrooted?  are you looking in the right directory, eg,
/var/named/chroot/var/named/slave ?



I am seeing the following in the log:

Jan 13 12:08:44 g1 named[16370]: 13-Jan-2015 12:08:44.792 general: info: zone 
mydomain.com/IN: Transfer started.
Jan 13 12:08:44 g1 named[16370]: 13-Jan-2015 12:08:44.885 xfer-in: info: 
transfer of 'mydomain.com/IN' from xx.xx.xxx.xxx#53: connected using 
66.208.208.151#40226
Jan 13 12:08:44 g1 named[16370]: 13-Jan-2015 12:08:44.948 general: info: zone 
mydomain.com/IN: transferred serial 112
Jan 13 12:08:44 g1 named[16370]: 13-Jan-2015 12:08:44.948 xfer-in: info: 
transfer of 'mydomain.com/IN' from xx.xx.xxx.xxx#53: Transfer completed: 1 
messages, 38 records, 898 bytes, 0.063 secs (14253 bytes/sec)
Jan 13 12:08:44 g1 named[16370]: 13-Jan-2015 12:08:44.949 notify: info: zone 
mydomain.com/IN: sending notifies (serial 112)

Yet the slaves/mydomain.com.db file does not get updated.  There must be an 
option I am not setting correctly.

Slave config:

Global:
options {
allow-notify { mas.ter.IPa.ddr; };
allow-transfer { mas.ter.IPa.ddr; };


Neither of these are needed on slave servers.


.
.
.
};

Per zone:
zone "mydomain.com." IN {
type slave;
file "slaves/mydomain.com.db";
masters { mas.ter.IPa.ddr; };
};


Master config:

Global:
options {
allow-transfer { sla.ve.IP.net/28; 127.0.0.1; };
also-notify { sla.ve.IPa.ddr; };


This is not needed on the master server, unless the slave is not listed 
in the zone, or if the salve is on a different IP to the on defined in 
the zone (e.g. if the slave is behind a NAT and DNS lists it's NAT IP)



allow-update { none; };
notify explicit;
.
.
.
};

I also tried it with allow-update set to slaves IP address, even though I was 
sure that option was about dynamic DNS, not zone transfer to a slave.  Of 
course that didn't work either.

Emmett



You should check the permissions on the slaves folder to make sure named 
can write to it, also you should check if you have SElinux enabled, and 
if so check that the slaves folder is labelled as named_cache_t


For example:
[root@ns5 ~]# ll -Zd /var/named/slaves
drwxrwx---. named named system_u:object_r:named_cache_t:s0 /var/named/slaves
[root@ns5 ~]# ll -d /var/named/slaves
drwxrwx---. 2 named named 4096 Jan 14 10:47 /var/named/slaves

Tris



*
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity 
to whom they are addressed. If you have received this email 
in error please notify postmas...@bgfl.org


The views expressed within this email are those of the 
individual, and not necessarily those of the organisation

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


Re: [CentOS] Hardware raid LSI Megaraid not working since Centos 6.6

2015-01-14 Thread Philippe BOURDEU d'AGUERRE

Le 05/01/2015 16:14, Philippe BOURDEU d'AGUERRE a écrit :


We have a SuperMicro server with a LSI MegaRAID 9260-4i controller.

Since Centos 6.6 update (kernel 2.6.32-504), the controller doesn't
initialize at boot. Reverting to kernel 2.6.32-431 allows server to boot
fine.

The server can't boot due to a bug in LSI megaraid module. Boot log ends
by a lot of lines:

RESET_GEN2: retry=xxx, hostdiag=a4

I tried Centos 6.6 install disk and it also fails to find disks but
Centos 7 install disk boot fine.

It's annoying to be stuck at 2.6.32-431 kernel and I have no idea how to
solve this issue :-(



My workaround is to install kernel-lt from elrepo repository. It seems 
to work well.


# uname -rv
3.10.64-1.el6.elrepo.x86_64 #1 SMP Fri Jan 9 10:40:17 EST 2015

--
Philippe BOURDEU d'AGUERRE
AIME - Campus de l'INSA  http://www.aime-toulouse.fr/
135 av. de Rangueil  Tél +33 561 559 885
31077 TOULOUSE Cedex 4 - FRANCE  Fax +33 561 559 870
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Design changes are done in Fedora

2015-01-14 Thread Always Learning

On Tue, 2015-01-13 at 17:01 -0800, Gordon Messmer wrote:

> For the love of Pete!  If you use RHEL or CentOS, you'll have a stable, 
> reliable operating system with bug and security fixes for upward of 10 
> years!  For free (in the case of CentOS)!

Not all updates are currently being supplied for C5 yet it is a current
product.

-- 
Regards,

Paul.
England, EU.  Je suis Charlie.


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


Re: [CentOS] Hardware raid LSI Megaraid not working since Centos 6.6

2015-01-14 Thread Sorin Srbu
> -Original Message-
> From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
> Behalf Of Philippe BOURDEU d'AGUERRE
> Sent: den 14 januari 2015 14:16
> To: centos@centos.org
> Subject: Re: [CentOS] Hardware raid LSI Megaraid not working since Centos
> 6.6
> 
> Le 05/01/2015 16:14, Philippe BOURDEU d'AGUERRE a écrit :
> >
> > We have a SuperMicro server with a LSI MegaRAID 9260-4i controller.
> >
> > Since Centos 6.6 update (kernel 2.6.32-504), the controller doesn't
> > initialize at boot. Reverting to kernel 2.6.32-431 allows server to boot
> > fine.
> >
> > The server can't boot due to a bug in LSI megaraid module. Boot log ends
> > by a lot of lines:
> >
> > RESET_GEN2: retry=xxx, hostdiag=a4
> >
> > I tried Centos 6.6 install disk and it also fails to find disks but
> > Centos 7 install disk boot fine.
> >
> > It's annoying to be stuck at 2.6.32-431 kernel and I have no idea how to
> > solve this issue :-(
> >
> 
> My workaround is to install kernel-lt from elrepo repository. It seems
> to work well.
> 
> # uname -rv
> 3.10.64-1.el6.elrepo.x86_64 #1 SMP Fri Jan 9 10:40:17 EST 2015

When I tinkered with CentOS and one of those LSI-cards a while ago, CentOS 
couldn't find the card until the card's BIOS was flashed with the latest 
firmware available at the time. 
After the flash, the CentOS stock-kernel found the card out-of-the-box.

YMMV though.
--
//Sorin
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Hardware raid LSI Megaraid not working since Centos 6.6

2015-01-14 Thread Nux!
That's weird, because starting with 6.6 we could finally ditch inserting kmods 
at installation time, the new kernel in 6.6 supported everything.
I believe the model we have (among others) is 9341-4i; I would imagine it's 
pretty similar with what you have.
You should open perhaps a bugzilla issue with redhat about this.

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Philippe BOURDEU d'AGUERRE" 
> To: centos@centos.org
> Sent: Wednesday, 14 January, 2015 13:16:07
> Subject: Re: [CentOS] Hardware raid LSI Megaraid not working since Centos 6.6

> Le 05/01/2015 16:14, Philippe BOURDEU d'AGUERRE a écrit :
>>
>> We have a SuperMicro server with a LSI MegaRAID 9260-4i controller.
>>
>> Since Centos 6.6 update (kernel 2.6.32-504), the controller doesn't
>> initialize at boot. Reverting to kernel 2.6.32-431 allows server to boot
>> fine.
>>
>> The server can't boot due to a bug in LSI megaraid module. Boot log ends
>> by a lot of lines:
>>
>> RESET_GEN2: retry=xxx, hostdiag=a4
>>
>> I tried Centos 6.6 install disk and it also fails to find disks but
>> Centos 7 install disk boot fine.
>>
>> It's annoying to be stuck at 2.6.32-431 kernel and I have no idea how to
>> solve this issue :-(
>>
> 
> My workaround is to install kernel-lt from elrepo repository. It seems
> to work well.
> 
> # uname -rv
> 3.10.64-1.el6.elrepo.x86_64 #1 SMP Fri Jan 9 10:40:17 EST 2015
> 
> --
> Philippe BOURDEU d'AGUERRE
> AIME - Campus de l'INSA  http://www.aime-toulouse.fr/
> 135 av. de RangueilTél +33 561 559 885
> 31077 TOULOUSE Cedex 4 - FRANCEFax +33 561 559 870
> ___
> 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] Hardware raid LSI Megaraid not working since Centos 6.6

2015-01-14 Thread Philippe BOURDEU d'AGUERRE

Le 14/01/2015 14:43, Nux! a écrit :

You should open perhaps a bugzilla issue with redhat about this.


Is it possible to post in Redhat bugzilla without a Redhat support 
contract ? Even when using Centos ?

--
Philippe BOURDEU d'AGUERRE
AIME - Campus de l'INSA  http://www.aime-toulouse.fr/
135 av. de Rangueil  Tél +33 561 559 885
31077 TOULOUSE Cedex 4 - FRANCE  Fax +33 561 559 870
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] After Crash dracut kernel

2015-01-14 Thread Tim
Hello,

I have two identical servers in hardware. I installed both with CentOS.
I did LVM snapshots before updating to test LVM merging.
On one server I merged all filesystem's during boot because they where mounted 
when I merged.
The other server I did the snapshots, made my installations and configurations 
and made no merge because it worked on the other server.
But I forgot to delete the snapshots and: n the night the server crashed.
It rebooted to recovery kernel because it can't find the lvm volumes (module 
dm_snapshots was missing).

Both servers have a difference. When they start one says CentOS (Core) at the 
end of the loading bar. The other with the crash says sth. about a 
dracut-Kernel while loading.

What do I have to look for?

Partitioning scheme on both servers:
/boot: sda1
/: lvm
/usr: lvm
/var: lvm
Swap: lvm

Thanks in advance
Tim
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SELinux-alert: aide wants to write to /var/run/winbindd/pipe

2015-01-14 Thread Daniel J Walsh

On 01/13/2015 05:09 AM, Patrick Bervoets wrote:
> Hi,
>
> does anyone know if aide should have access to this socket?
>
> SELinux is preventing /usr/sbin/aide from write access on the
> sock_file /var/run/winbindd/pipe.
>
> Thanks
> Patrick
>
Looks like it is doing some call to getpw* which is using winbindd for
authentication.  I would assume.

> (on CentOS6 if that matters)
> ___
> 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] Red Hat Developer Toolset 3 for CentOS6?

2015-01-14 Thread Dave Johansen
On Wed, Jan 14, 2015 at 1:28 AM, wwp  wrote:

> Hello Dave,
>
>
> On Tue, 13 Jan 2015 21:18:18 -0700 Dave Johansen 
> wrote:
>
> > Unfortunately, this is only for RHEL/CentOS 7
>
> Really? It installs and works fine on my CentOS6, more over, on the
> Cern pages, it says "for Scientific Linux CERN 6" (note the '6');
> repodata says '6' too.
>

Sorry for the confusion. The "this" I was referring to was the linked to
devtoolset-3 on softwarecollections.org and not the CERN one that is for
RHEL 6 and its variants.

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


Re: [CentOS] Red Hat Developer Toolset 3 for CentOS6?

2015-01-14 Thread wwp
Hello Dave,


On Wed, 14 Jan 2015 10:01:02 -0700 Dave Johansen  wrote:

> On Wed, Jan 14, 2015 at 1:28 AM, wwp  wrote:
> 
> > Hello Dave,
> >
> >
> > On Tue, 13 Jan 2015 21:18:18 -0700 Dave Johansen 
> > wrote:
> >
> > > Unfortunately, this is only for RHEL/CentOS 7
> >
> > Really? It installs and works fine on my CentOS6, more over, on the
> > Cern pages, it says "for Scientific Linux CERN 6" (note the '6');
> > repodata says '6' too.
> >
> 
> Sorry for the confusion. The "this" I was referring to was the linked to
> devtoolset-3 on softwarecollections.org and not the CERN one that is for
> RHEL 6 and its variants.

Now that you say it, I can definitely read your former sentence that
way, thanks!


Regards,

-- 
wwp


pgpEyJGHCNVc5.pgp
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DJBDNS: very weird dnscache issue

2015-01-14 Thread Boris Epstein
Lucian,

So far here is the best we could find out:

https://bugzilla.redhat.com/show_bug.cgi?id=1084747

Testing to see if this is the solution; so far it seems to be.

Cheers,

Boris.


On Tue, Jan 13, 2015 at 2:49 PM, Nux!  wrote:

> Use BIND. How the times have changed. :-)
>
> PS: I'm also curious for a solution.. for when djbnostalgia hits me.
>
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> - Original Message -
> > From: "Boris Epstein" 
> > To: "CentOS mailing list" 
> > Sent: Tuesday, 13 January, 2015 15:53:28
> > Subject: [CentOS] DJBDNS: very weird dnscache issue
>
> > Hello all,
> >
> > We have put a DNS server online running  DJBDNS v1.06
> > (ndjbdns-1.06-1.el6.x86_64) on a 64-bit CentOS 6.6 server. We have done
> > some limited testing on the machine which it passed - i.e., dnscache was
> > talking to tinydns, the queries went through fine, etc.
> >
> > As soon as we put it online subjecting it to live load the following
> > happened:
> >
> > 1) Within a short time period (about a minute) the dnscache process
> reached
> > the CPU utilisation level of 100%.
> >
> > 2) The process would then die reporting the following message to the log:
> >
> > dnscache: BUG: out of in progress slots
> >
> > NOTE: Random sampling indicates that at no point sampled did the load
> > exceed 200 requests per second. In tests conducted earlier the DNS server
> > successfully demonstrated speeds in tens of thousands of requests per
> > second.
> >
> > We then proceeded to edit the following parameters in the dnscache.conf
> as
> > they seemed to be the only ones that seemed relevant: DATALIMIT and
> > CACHESIZE. They are described as limints (in bytes) on the total data
> > memory allocation and cache, default values are 8000 and 5000
> > respectively.
> >
> > Playing with these demonstrated some highly counterintuitive results:
> >
> > 1) Setting the values lower (say, an order of magnitude lower) made the
> > dnscache process run longer.
> >
> > 2) Shortening the relative gap between the two values (for instance,
> > setting DATALIMIT at 52000 and CACHE at 5) made it run for about an
> > hour vs about 1 minute, load seeming to be about the same.
> >
> > 3) Running it with DATALIMIT not set was possible though it eventually
> > failed anyways.
> >
> > 4) Running it with CACHESIZE not set was not possible at all.
> >
> > So the issue is currently still not resolved and we are stuck.
> >
> > Any advice will be much appreciated.
> >
> > Cheers,
> >
> > Boris.
> > ___
> > 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 mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] NTLM Authentication ISA Server

2015-01-14 Thread Tim
Hello list,

how can I get CentOS 7 to authenticate against a Microsoft ISA server for 
package installations after the OS is installed.

In Debian/Ubuntu apt.conf just needs to be edited and it works. How to do so in 
CentOS?

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


Re: [CentOS] NTLM Authentication ISA Server

2015-01-14 Thread John R Pierce

On 1/14/2015 12:53 PM, Tim wrote:

how can I get CentOS 7 to authenticate against a Microsoft ISA server for 
package installations after the OS is installed.

In Debian/Ubuntu apt.conf just needs to be edited and it works. How to do so in 
CentOS?


thats a proxy service?
https://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html



--
john r pierce  37N 122W
somewhere on the middle of the left coast

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


Re: [CentOS] NTLM Authentication ISA Server

2015-01-14 Thread Tim
I tried both ways. But some reasons I don't know it didn't work.

How to define the username when it is a active directory user?

Tim

Am 14. Januar 2015 22:01:07 MEZ, schrieb John R Pierce :
>On 1/14/2015 12:53 PM, Tim wrote:
>> how can I get CentOS 7 to authenticate against a Microsoft ISA server
>for package installations after the OS is installed.
>>
>> In Debian/Ubuntu apt.conf just needs to be edited and it works. How
>to do so in CentOS?
>
>thats a proxy service?
>https://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html
>
>
>
>-- 
>john r pierce  37N 122W
>somewhere on the middle of the left coast
>
>___
>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] NTLM Authentication ISA Server

2015-01-14 Thread Jonathan Billings
On Wed, Jan 14, 2015 at 10:05:47PM +0100, Tim wrote:
> I tried both ways. But some reasons I don't know it didn't work.
> 
> How to define the username when it is a active directory user?

You probably need to URL escape the @.  See: 

http://www.cyberciti.biz/faq/unix-linux-export-variable-http_proxy-with-special-characters/


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