[CentOS] CentOs7 and devtoolset-7 and libgcc_s.so.1 library question

2018-02-16 Thread ToD In
I'm looking for the library from subject. It is present in system gcc
(4.8.5) but I cannot see it in devtoolset-7.

Could You please tell me why is it so?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Ubiquiti Model UAP-AC-PRO

2018-02-16 Thread William Warren
I would just buy a cloudkey and not have to bother installing the software
onto your machine directly.  If you do not have a power over ethernet
switch you'll need a micro USB cable and power supply adapter to run it but
after that it takes care of running your software for you you don't have to
install anything on to your machine

On Feb 15, 2018 20:43, "Gregory P. Ennis"  wrote:

> Everyone,
>
> Have any of you installed ubiguiti wireless routers on your network?
>
> It looks like the setup requires the use of software;  they have some
> packages that are ready made for Ubuntu and Debian, but not RedHat
>
> https://www.ubnt.com/download/unifi/unifi-ap-ac-pro
>
> Have any of you tried or succeeded in installation this on Centos 7.4?
>
> Greg Ennis
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Percentage of CentOS coded in each language

2018-02-16 Thread Jonathan Billings
On Thu, Feb 15, 2018 at 03:14:28PM -0600, Blake Hudson wrote:
> Had a curious question about how much of Linux (as a usable distribution,
> not just the kernel) is coded in each language. I can find some older or
> vague references without citation that Linux is largely coded in C and C++,
> with a fraction of a percent coded in other languages.
> 
> While the source is available, I'm not sure how would one go about
> determining the percentage of CentOS coded in each language (either by lines
> of source code or by RPM package). Anyone have any suggestions for
> determining this info? Someone already have the answer?

You might also be able to use package metadata to determine what
language it is written in, both by the dependencies as well as the
file lists.

Unfortunately, it will require quite a bit of data collection and
research. 

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


Re: [CentOS] Ubiquiti Model UAP-AC-PRO

2018-02-16 Thread hw

William Warren wrote:

I would just buy a cloudkey and not have to bother installing the software
onto your machine directly.  If you do not have a power over ethernet
switch you'll need a micro USB cable and power supply adapter to run it but
after that it takes care of running your software for you you don't have to
install anything on to your machine


One would have to be insane to give the maintenance and administration of
their wireless infrastructure out of hands.

Besides, Ubiquity makes nice devices, yet the lack of documentation makes
them pretty useless.




On Feb 15, 2018 20:43, "Gregory P. Ennis"  wrote:


Everyone,

Have any of you installed ubiguiti wireless routers on your network?

It looks like the setup requires the use of software;  they have some
packages that are ready made for Ubuntu and Debian, but not RedHat

https://www.ubnt.com/download/unifi/unifi-ap-ac-pro

Have any of you tried or succeeded in installation this on Centos 7.4?

Greg Ennis

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


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



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


[CentOS] Mirror Problem

2018-02-16 Thread Günther J . Niederwimmer
Hello,
I have thousands of this messages on my servers ??

Is this a Problem on my site or is the infrastructure broken??
/etc/cron.hourly/0yum-hourly.cron:

Could not get metalink https://mirrors.fedoraproject.org/metalink?
repo=epel-7&arch=x86_64 error was
14: HTTPS Error 503 - Service Unavailable

Thanks for a answer,
-- 
mit freundlichen Grüssen / best regards,

  Günther J. Niederwimmer
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Ubiquiti Model UAP-AC-PRO

2018-02-16 Thread Mike Burger

On 2018-02-16 8:16 am, hw wrote:

William Warren wrote:
I would just buy a cloudkey and not have to bother installing the 
software

onto your machine directly.  If you do not have a power over ethernet
switch you'll need a micro USB cable and power supply adapter to run 
it but
after that it takes care of running your software for you you don't 
have to

install anything on to your machine


One would have to be insane to give the maintenance and administration 
of

their wireless infrastructure out of hands.


The cloudkey is a device that one purchases and runs the same management 
software, on your network, rather than installing the software onto a 
Linux server...it's literally the difference between an ethernet 
connected (and powered, if you have a PoE switch) device running the 
software or running it on a full fledged computer.


There's no giving of the maintenance to someone else's hands.
--
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever 
just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1

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


Re: [CentOS] Mirror Problem

2018-02-16 Thread David Nelson
On Feb 16, 2018, at 05:36, Günther J. Niederwimmer  wrote:
> 
> Hello,
> I have thousands of this messages on my servers ??
> 
> Is this a Problem on my site or is the infrastructure broken??
> /etc/cron.hourly/0yum-hourly.cron:
> 
> Could not get metalink https://mirrors.fedoraproject.org/metalink?
> repo=epel-7&arch=x86_64 error was
> 14: HTTPS Error 503 - Service Unavailable

Not just you. I’ve seen that error on my hourly yum check on my personal Linode 
server, though I haven’t been in a big hurry to investigate yet as it only 
appears once or twice a day. 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Ubiquiti Model UAP-AC-PRO

2018-02-16 Thread hw

Mike Burger wrote:

On 2018-02-16 8:16 am, hw wrote:

William Warren wrote:

I would just buy a cloudkey and not have to bother installing the software
onto your machine directly.  If you do not have a power over ethernet
switch you'll need a micro USB cable and power supply adapter to run it but
after that it takes care of running your software for you you don't have to
install anything on to your machine


One would have to be insane to give the maintenance and administration of
their wireless infrastructure out of hands.


The cloudkey is a device that one purchases and runs the same management 
software, on your network, rather than installing the software onto a Linux 
server...it's literally the difference between an ethernet connected (and 
powered, if you have a PoE switch) device running the software or running it on 
a full fledged computer.

There's no giving of the maintenance to someone else's hands.


You mean it´s an access point controller Ubiquity makes?  Why don´t
they call it just that ...
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] iptables routing question when using multiple IP addresses

2018-02-16 Thread Ken Gramm
I've been searching around for a couple of days, and I just can't seem to find 
the answer I'm looking for.


I have a 6.x box that I use as my gateway firewall.  It has three NICs; 1 
external, 1 internal, 1 for a guest network.


I have various inbound traffic routed to separate internal machines based on 
the application (ie. http, smtp, ftp, etc).


All works well, but I'd like to add a second IP address to the external NIC and 
then route a second https stream to a different internal machine.


So https traffic on one IP address goes to one internal machine and https 
traffic on a second IP address goes to a different internal machine.


Seems like it should be an everyday configuration, but I can't find any clear 
examples on how to do it.


Could someone please point me in the right direction?


Thanks,


Ken Gramm

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


Re: [CentOS] Install CentOS 7 on MBR hard disk

2018-02-16 Thread Stephen John Smoogen
On 15 February 2018 at 21:48, Yves Bellefeuille  wrote:
> Stephen J Smoogen wrote:
>
>>  OK wild guess on install options as sometimes they will do this but
>>  not say they did it. Try adding inst.gpt=false to the boot line.
>
> Sorry, that didn't work. Nor did installing CentOS 7 without a boot
> loader, chroot-ing into it, and trying to install grub2 manually:
>
> grub2-install /dev/sda --target=i386-pc
> grub2-mkconfig -o /boot/grub2/grub.cfg
>

Hmmm if that didn't work then there is something in the bootup which
keeps telling grub/kernel you are an EFI only system. EL6 would have
installed because EFI support at that point was mainly a "eh oh yeah
we need to cover that?" type thing. EL7 should be clearer on this but
it might have gone the other way.

Can you try to see if Fedora 27 has the same problem? If it has then
this is a problem that upstream needs to fix on EL releases. If it
isn't then I would lean more towards the motherboard/bios combo saying
something which says "my legacy support is iffy.. use EFI".

After that it is usually what is the motherboard/bios level and is it
updated type fixes then.

>>  Thank you for your patience on this.
>
> I didn't realize you were the culprit, so that's OK. ;-)
>

Well I am not the culprit.. it is just most of my ideas have been
completely useless.

> --
> Yves Bellefeuille
> 
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos



-- 
Stephen J Smoogen.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mirror Problem

2018-02-16 Thread Richard


> Date: Friday, February 16, 2018 06:18:38 -0800
> From: David Nelson 
>
> On Feb 16, 2018, at 05:36, Günther J. Niederwimmer
>  wrote:
>> 
>> Hello,
>> I have thousands of this messages on my servers ??
>> 
>> Is this a Problem on my site or is the infrastructure broken??
>> /etc/cron.hourly/0yum-hourly.cron:
>> 
>> Could not get metalink https://mirrors.fedoraproject.org/metalink?
>> repo=epel-7&arch=x86_64 error was
>> 14: HTTPS Error 503 - Service Unavailable
> 
> Not just you. I’ve seen that error on my hourly yum check on my
> personal Linode server, though I haven’t been in a big hurry to
> investigate yet as it only appears once or twice a day. 


You might want to try a "yum check-update" manually (maybe only
against the epel repo). If you get an error try a "yum clean all" and
then try the "... check-update" again. I didn't have a problem just
now with the epel repo, but then again always start my checks with a
"clean all".

Of course this isn't a CentOS repo, so if you continue to have
problems a report would need to be made with epel/fedora.

As a note/side question ... I've never understood why this script
(which I never leave installed) is in "cron.hourly". I would think
that "cron.daily" would be a sufficient frequency. This appears to be
a centos "touched" script so can't tell if upstream puts it in hourly
or centos does. 





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


Re: [CentOS] Install CentOS 7 on MBR hard disk

2018-02-16 Thread Chris Murphy
On Thu, Feb 15, 2018, 3:19 PM Yves Bellefeuille  wrote:

> I have a UEFI system, but I want to install CentOS on a MBR (not GPT)
> hard disk.
>

Why?

While the UEFI spec permits using MBR for booting, it's confusing because
there's no actual single standard for MBR. There is for GPT.

Anyway, all OS installers I'm aware of on multiple platforms enforce GPT
for UEFI installations.


> The installation program keeps telling me that I must create an "EFI
> system partition on a GPT disk mounted at /boot/efi".
>
> I can't find a way to work around this. Is there a solution?
>

Yes, but it means giving bad advice. And that is to enable "legacy" OS
support to present a faux BIOS to the booting system instead of exposing
UEFI. It's bad advice because you have no good reason for wanting to use
MBR, it's an arbitrary request.


Chris Murphy
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install CentOS 7 on MBR hard disk

2018-02-16 Thread Chris Murphy
On Thu, Feb 15, 2018, 4:18 PM Stephen John Smoogen  wrote:

>
> The only other thing I can think of is that the disk was already
> formatted to GPT. In that case it has to be EFI. [I had a disk which
> was GPT partitioned and removing that was quite a challenge as I had
> done a 'dd if=/dev/zero of=/dev/sda bs=512 count=10' and it still kept
> coming up as GPT. I believe I had to run a different disk command to
> really clean it.]
>


GPT has primary login at drive start, and backup location at drive end. To
remove it requires wipefs -a /dev/ and it will remove the signature found
in both primary and backup.



Chris Murphy
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install CentOS 7 on MBR hard disk

2018-02-16 Thread Jon Pruente
On Thu, Feb 15, 2018 at 5:18 PM, Stephen John Smoogen 
wrote:

> The only other thing I can think of is that the disk was already
> formatted to GPT. In that case it has to be EFI. [I had a disk which
> was GPT partitioned and removing that was quite a challenge as I had
> done a 'dd if=/dev/zero of=/dev/sda bs=512 count=10' and it still kept
> coming up as GPT. I believe I had to run a different disk command to
> really clean it.]
>


That didn't get rid of it because GPT keeps a secondary copy of header info
at the end of the drive. To really get rid of it use a tool that wipes GPT
headers, or a full wipe of the drive. gdisk has eXpert mode that has an
option (z) to wipe GPT headers.

https://en.wikipedia.org/wiki/GUID_Partition_Table#/media/File:GUID_Partition_Table_Scheme.svg
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install CentOS 7 on MBR hard disk

2018-02-16 Thread Chris Murphy
So is the end goal to have dual boot? You want to preserve the existing
Cent OS installation on this drive and also install Cent OS 7?

The biggest problem is the installer is really not very smart when it comes
to this use case. It's friendly for Windows and macOS dual boot, but fairly
well faceplants with dual boot Linux. So invariably you have manual surgery
to do pre and post install, or suffer.

Run 'efibootmgr' by itself, if you get boot entries the system is
definitely UEFI booted. If you get an error, it's legacy/faux-BIOS booted.

Certainly legacy boot is the easiest work around, but it can have an effect
on various things including drive and video modes that might be different
than UEFI booting. e.g. one of my older systems when booting legacy brings
up the SSD in IDE mode not SATA, and the system is slower. And it can only
use discrete GPU, the integrated GPU is unavailable. So I advise testing
before committing to legacy mode.

Also, rare, but not all UEFI systems come with a Compatiblity Support
Module (fake BIOS), in which case you're stuck.



Chris Murphy
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iptables routing question when using multiple IP addresses

2018-02-16 Thread Marcelo Ricardo Leitner
On Fri, Feb 16, 2018 at 02:54:02PM +, Ken Gramm wrote:
> I've been searching around for a couple of days, and I just can't
> seem to find the answer I'm looking for.
> 
> 
> I have a 6.x box that I use as my gateway firewall.  It has three
> NICs; 1 external, 1 internal, 1 for a guest network.
> 
> 
> I have various inbound traffic routed to separate internal machines
> based on the application (ie. http, smtp, ftp, etc).
> 
> 
> All works well, but I'd like to add a second IP address to the
> external NIC and then route a second https stream to a different
> internal machine.
> 
> 
> So https traffic on one IP address goes to one internal machine and
> https traffic on a second IP address goes to a different internal
> machine.

This
iptables -t nat -I PREROUTING -p tcp -i  \
--dport 443 \
-j DNAT --to 

Should do it. I guess it's very close to what you're using already,
no? Maybe you matching only by interface instead.

> 
> 
> Seems like it should be an everyday configuration, but I can't find
> any clear examples on how to do it.
> 
> 
> Could someone please point me in the right direction?
> 
> 
> Thanks,
> 
> 
> Ken Gramm
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mirror Problem

2018-02-16 Thread Stephen John Smoogen
On 16 February 2018 at 08:36, Günther J. Niederwimmer  wrote:
> Hello,
> I have thousands of this messages on my servers ??
>
> Is this a Problem on my site or is the infrastructure broken??
> /etc/cron.hourly/0yum-hourly.cron:
>
> Could not get metalink https://mirrors.fedoraproject.org/metalink?
> repo=epel-7&arch=x86_64 error was
> 14: HTTPS Error 503 - Service Unavailable
>
> Thanks for a answer,
>

Hello, from the Fedora side of Infrastructure. We have been trying to
get the 503 error rate down in the last six months and thought we had
licked it with recent changes. We had moved down the error rate to
80,000 bad requests per day out of 13.5 million total ones which
actually is a creep up from what we had last month. Most of the
requests every day happen in the time frame of XX:00 -> XX:15 of every
hour. Every proxy seems to give about 100 per day but 2 proxies seem
to have had docker problems and have been each contributing 32,000 to
38,000 503's.

We did find an error in the docker restart script which hopefully will
drop this further. We are still evaluating why just those 2 proxies
have so many more and will let you know what is found.

Thank you for your patience.


-- 
Stephen J Smoogen.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Ubiquiti Model UAP-AC-PRO

2018-02-16 Thread Mike Burger

On 2018-02-16 9:29 am, hw wrote:

Mike Burger wrote:

On 2018-02-16 8:16 am, hw wrote:

William Warren wrote:
I would just buy a cloudkey and not have to bother installing the 
software
onto your machine directly.  If you do not have a power over 
ethernet
switch you'll need a micro USB cable and power supply adapter to run 
it but
after that it takes care of running your software for you you don't 
have to

install anything on to your machine


One would have to be insane to give the maintenance and 
administration of

their wireless infrastructure out of hands.


The cloudkey is a device that one purchases and runs the same 
management software, on your network, rather than installing the 
software onto a Linux server...it's literally the difference between 
an ethernet connected (and powered, if you have a PoE switch) device 
running the software or running it on a full fledged computer.


There's no giving of the maintenance to someone else's hands.


You mean it´s an access point controller Ubiquity makes?  Why don´t
they call it just that ...


Because that's not the only function...it's the control center for your 
entire Ubiquity Ubifi network...APs, switches, routers, I guess.


--
Mike Burger
http://www.bubbanfriends.org

"It's always suicide-mission this, save-the-planet that. No one ever 
just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1

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


Re: [CentOS] Install CentOS 7 on MBR hard disk

2018-02-16 Thread Yves Bellefeuille
Stephen John Smoogen  wrote:

> Can you try to see if Fedora 27 has the same problem? If it has then
> this is a problem that upstream needs to fix on EL releases. If it
> isn't then I would lean more towards the motherboard/bios combo
> saying something which says "my legacy support is iffy.. use EFI".

I had no problem installing Fedora 27, so I guess the problem is my
system. Oh well.

Thanks for the help!

-- 
Yves Bellefeuille



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