Re: [CentOS] Installing openLDAP on Centos 7

2021-10-02 Thread Ulf Volmer

On 30.09.21 16:49, Gary Stainburn wrote:

[root@eddie ldap]# ldapmodify -Y EXTERNAL -H ldapi:/// -f certs.ldif
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
modifying entry "cn=config"
ldap_modify: Other (e.g., implementation specific) error (80)

[root@eddie ldap]# cat certs.ldif
dn: cn=config
changetype: modify
replace: olcTLSCertificateFile
olcTLSCertificateFile: /etc/openldap/certs/myldap.ringways.com.cert

dn: cn=config
changetype: modify
replace: olcTLSCertificateKeyFile
olcTLSCertificateKeyFile: /etc/openldap/certs/myldap.ringways.com.key


Try to swap the ldif order. See

https://askubuntu.com/questions/936382/openldap-error-configuring-starttls-ldap-modify-other-e-g-implementation-sp

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


Re: [CentOS] Debug information packages for 8.3 missing?

2020-12-11 Thread Ulf Volmer
On 11.12.20 19:44, Oliver Freyermuth via CentOS wrote:
> Am 11.12.20 um 18:55 schrieb Ulf Volmer:
>> On 08.12.20 23:02, Oliver Freyermuth via CentOS wrote:
>>
>>> after the upgrade from 8.2 to 8.3 one of the applications we use has
>>> unclear Kerberos authentication issues.
>>
>> I can't tell anything regarding the debuginfo package, but I can point
>> you into the direction, that DES support is dropped in release 8.3.
>> Maybe this is the root cause of you issues.
> 
> Thanks for the pointer!
> Sadly, the only message the application gives is a "kvno mismatch",
> it would likely be helpful to get the actual underlying error by
> stepping into the library with gdb (the application we use eats the
> error message :-( ),

kvno is usally that your local ticket number did not match the version
on the kerberos master. But I don't know how the encryption type can
trigger this behavior.

> since we don't operate the KDC but only the clients and want to provide
> a clear bug report (I also suspect this might be DES or 3DES related,
> though...).

It is difficult, if you don't operate the KDC. I would start with
manually get a ticket and provide the output of "klist -e" and "klist
-t" to the KDC operators.

Best regards
Ulf


I only know how to find
> Since it does not affect all applications, I can't be sure it's an
> external issue, though.
> 
> I'll wait a bit longer, maybe somebody has an idea what happened to
> those debuginfo packages.
> 
> Cheers and thanks,
> Oliver
> ___
> 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] Debug information packages for 8.3 missing?

2020-12-11 Thread Ulf Volmer
On 08.12.20 23:02, Oliver Freyermuth via CentOS wrote:

> after the upgrade from 8.2 to 8.3 one of the applications we use has
> unclear Kerberos authentication issues.

I can't tell anything regarding the debuginfo package, but I can point
you into the direction, that DES support is dropped in release 8.3.
Maybe this is the root cause of you issues.

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


Re: [CentOS] UEFI boot blank screen post update

2020-07-30 Thread Ulf Volmer
On 31.07.20 04:52, Greg Bailey wrote:
m running CentOS 8.2 on an Intel NUC, and also hit this this morning. 
> The way I was able to workaround this was to copy grub2-* and shim-*
> RPMs from the CentOS 8.2 installation media and use "rpm -Uvh grub2-*
> shim-* --oldpackage".  The subsequent reboot worked normally.  The
> versions of those packages on the 8.2 installation media was the same as
> what I had installed immediately before this morning's upgrade.

There is also a a Redhat knowledge base article regarding this issue.

https://access.redhat.com/solutions/5272311

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


Re: [CentOS] C8 - KVM on bridge on VLAN on team issues.

2020-06-17 Thread Ulf Volmer
On 17.06.20 17:36, Lamar Owen wrote:
> On 6/17/20 11:04 AM, Lamar Owen wrote:
>> ...
>> It shows as being defined to 1.  I'm going to try adding to
>> sysctl.conf and see if that makes any difference, though.
> No difference.  What is aggravating, though, is virtually every howto on
> bridging out there refers to the deprecated brctl utility (from the
> bridge-utils package), and C8 no longer includes that package (even
> though it's in current Fedora 32!).  I know, I know, the new way is
> using the 'bridge' command or 'ip --br'  So I grabbed the F32 source
> RPM and rebuilt on my C8 laptop and uploaded to the host:
> [root@c8-kvm-pe1950-1 ~]# brctl show
> bridge name      bridge id            STP enabled    interfaces
> bridge101        8000.001ec9fcde9d    yes              team0.101
>                                                      vnet0
> bridge302        8000.001ec9fcde9d    yes              team0.302
> bridge68         8000.001ec9fcde9d    yes              team0.68
> 
> 
> Still no dice.  Next step is tcpdump.

Just to make it sure: Did you try to disable firewalld?
With my experience with libvirt and vlan bridges on Fedora, libvirt may
include unwanted firewall rules which drops the traffic over the bridges.

Best regards
Ulf

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


Re: [CentOS] authconfig vs authselect

2020-05-24 Thread Ulf Volmer
On 24.05.20 00:34, Leon Fauster via CentOS wrote:
> I had the habit to use
> 
> authconfig --passalgo=sha512 --update

AFAIK, sha512 is default on CentOS8.
You can set it in /etc/login.defs.

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


Re: [CentOS] Centos 8 install of squirrelmail

2019-12-02 Thread Ulf Volmer
On 02.12.19 20:15, Earl Terwilliger via CentOS wrote:

> I am trying to install Squirrelmail on Centos 8 but it seems that package
> is missing in the EPEL repo for Centos 8? Anyone know if this was on
> purpose or how to tell which packages won't be created?

Squirrelmail is dead. Nobody did the work to port it to a recent php
version. So I think you should switch to another webmail software.
Roundcube is a good choice in my option, but there is also no package in
EPEL 8.

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


Re: [CentOS] C8 install libreoffice

2019-09-29 Thread Ulf Volmer
On 29.09.19 23:05, J Martin Rushton via CentOS wrote:

> Can't see qny sort of office there, however when I do
>  # yum group info "office*"
> all the expected LibreOffice stuff is there.

yum group list --hidden

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


Re: [CentOS] C8 install libreoffice

2019-09-27 Thread Ulf Volmer
On 28.09.19 00:07, Jerry Geis wrote:
> How do you install libreoffice. yum install libreoffice did not do it,
> doing a search on "centos 8 install libreoffice" did not provide anything.

There is no single package libreoffice in CentOS 8. Instead there are
several packages for each libreoffice component like libreoffice-calc,
libreoffice-draw and so on.

You may like to install all of them by executing

yum group install "Office Suite and Productivity"

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


Re: [CentOS] 389 Directory Server broken on CentOS 7

2019-08-15 Thread Ulf Volmer
On 15.08.19 14:31, Nicolas Kovacs wrote:
> Le 15/08/2019 à 13:49, Ulf Volmer a écrit :
>> No issues here. libadmsslutil.so.0 comes from 389-adminutil.
>> Do you have a recently updated system?
> 
> I'm using yum-cron on all my CentOS servers, so yes.

Could you post the output of

yum info 389-adminutil

Best regards
Ulf



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


Re: [CentOS] 389 Directory Server broken on CentOS 7

2019-08-15 Thread Ulf Volmer
On 15.08.19 13:27, Nicolas Kovacs wrote:

> Error: Package: 389-admin-1.1.46-1.el7.x86_64 (epel)
>Requires: libadminutil.so.0()(64bit)

No issues here. libadmsslutil.so.0 comes from 389-adminutil.
Do you have a recently updated system?

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


Re: [CentOS] CentOS 6/EPel: Missing EPel package?

2019-05-18 Thread Ulf Volmer
On 18.05.19 20:14, Robert Heller wrote:
> The EPel repo has a *nearly* complete collection of QT5 packages.  One 
> important one that *seems* to be missing: qmake.
> 
> There does not seem to be a package containing qmake in the collection of QT5 
> packages for CentOS 6!

There is /usr/lib64/qt5/bin/qmake from package qt5-qtbase-devel.

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


Re: [CentOS] update failure

2019-04-22 Thread Ulf Volmer
On 22.04.19 18:12, Emmett Culley via CentOS wrote:
> On 4/21/19 10:15 AM, Ulf Volmer wrote:

>> package-cleanup --dupes
>>
>> will list the duplicate packages
>>
>> package-cleanup --cleandupes
>>
>> will remove the dupes. If I remember correctly, you have to add
>> --removenewestdupes to the second command.

> That didn't seem to work.  It did remove duplicates, however, I get the
> same error when running dnf update. Should I try it without the
> --removenewestdupes?


Is 'package-cleanup --dupes' still listing dupes? Sometimes some of them
must be removed manually.

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


Re: [CentOS] update failure

2019-04-21 Thread Ulf Volmer
On 21.04.19 16:14, Emmett Culley via CentOS wrote:
> When I attempted to update a remote server via SSH last night the UPS on
> my local workstations failed, causing the SSH session to get dropped in
> the middle of the upgrade process.  This morning I am not able to
> complete the update.  When it failed when I tried to run it again thins
> morning I did the suggested things like "dnf clean all" and "rpm
> -rebuilddb", and I still get this after it downloads the packages again:
> 
> Running transaction test
> The downloaded packages were saved in cache until the next successful
> transaction.
> You can remove cached packages by executing 'dnf clean packages'.
> Error: Transaction check error:
>   file /usr/lib64/libz.so.1.2.7 from install of zlib-1.2.7-18.el7.x86_64
> conflicts with file from package zlib-1.2.7-17.el7.x86_64

You have to cleanup duplicate packages. package-cleanup from yum-utils
will do this job.

Basically:

package-cleanup --dupes

will list the duplicate packages

package-cleanup --cleandupes

will remove the dupes. If I remember correctly, you have to add
--removenewestdupes to the second command.

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


Re: [CentOS] nobody:nobody

2019-04-03 Thread Ulf Volmer
On 03.04.19 23:51, Mark LaPierre wrote:

> I don't see a package that contains idmapd.  When I try to install it I
> get:
> No package idmapd available.
> No package idmap available.

rpc.idmapd is part of the nfs-utils package.

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


Re: [CentOS] nobody:nobody

2019-04-03 Thread Ulf Volmer
On 03.04.19 23:17, Mark LaPierre wrote:

> Content of idmapd.conf:
> Server:
[...]
> Domain = peach.patch.mylan

> Client:
[...]
> Domain = poppy.patch.mylan

That will fail. Set both to patch.mylan.

> Now one more question.  The imap daemon is a mail server.  How is it
> that I need a mail server running to make LDAP and NFS work?  Doesn't
> seem to make sense to me.

We are talking about the idmapd, not imapd. The idmapd will map UIDs
between clients and server for NFS.

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


Re: [CentOS] nobody:nobody

2019-04-03 Thread Ulf Volmer
On 03.04.19 02:21, Mark LaPierre wrote:

> For the last week or more I've been trying to get NFS and OpenLDAP to
> play nice with each other.  I've pretty much worn the Google machine out
> trying to find a solution.  I've found several that said "Solved" but
> none of those solutions solved my nobody:nobody problem.

That is usually caused by idmapd. Make sure that the idmapd is running
on both sides and have the identical domain configured.

Or switch back to NFSv3. This is not so bad if you have (through LDAP)
the same UIDs on both sides.

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


Re: [CentOS] How to install ansible in centos

2019-03-21 Thread Ulf Volmer
On 21.03.19 17:27, Sanjay Walke wrote:

> I want to know how to configure yum repo for Ansible.

Ansible is available through the EPEL- repo.

https://fedoraproject.org/wiki/EPEL

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


Re: [CentOS] C 7 anacron issue

2019-03-07 Thread Ulf Volmer
On 08.03.19 01:29, mark wrote:

> +:root:cron crond :0 tty1 tty2 tty3 tty4 tty5 tty6

I will suggest to remove the tty stuff.
Try

+:root:cron crond

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


Re: [CentOS] C 7 anacron issue

2019-03-06 Thread Ulf Volmer
On 04.03.19 23:27, mark wrote:
> Has anyone else seen a problem recently (like, the last few weeks) with
> anacron? We've got a couple of recently-built systems and we're seeing
> Mar  4 17:20:01  crond[25767]: (root) PAM ERROR (Failure setting
> user credentials)
> Mar  4 17:20:01  crond[25767]: (root) FAILED to authorize user
> with PAM (Failure setting user credentials)

My first guess is /etc/security/access.conf.

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


Re: [CentOS] netmask on aliases overriden by netmask on interface

2019-02-08 Thread Ulf Volmer
On 08.02.19 15:08, James B. Byrne via CentOS wrote:

> # ifconfig eth1:192008001
> eth1:192008001 Link encap:Ethernet  HWaddr 00:25:90:61:74:C1
>   inet addr:192.168.8.1  Bcast:192.168.8.255 
> Mask:255.255.255.128
>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>   Interrupt:17 Memory:feae-feb0
>
> Which shows that the network mask is determined by the interface mask
> and is not overridden by the alias definition.
>
> Is this expected behaviour?  Does this mean that a particular physical
> interface cannot belong to more than one network, or at least not to
> networks having differing cidr masks?

Interface aliases are evil from my point of view. I recommend to
configure the ip directly to the interface.

#ifcfg-eth2
[...]
IPADDR=192.168.200.1
NETMASK=255.255.255.0
IPADDR2=192.168.201.1
NETMASK2=255.255.255.192

ip addr show dev eth2
4: eth2:  mtu 1500 qdisc pfifo_fast
state UP qlen 1000
link/ether 08:00:27:b0:c5:7c brd ff:ff:ff:ff:ff:ff
inet 192.168.200.1/24 brd 192.168.200.255 scope global eth2
inet 192.168.201.1/26 brd 192.168.201.63 scope global eth2
inet6 fe80::a00:27ff:feb0:c57c/64 scope link
   valid_lft forever preferred_lft forever

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


Re: [CentOS] pip on C7

2019-01-30 Thread Ulf Volmer
On 30.01.19 14:40, Jerry Geis wrote:
>> Please show us 'pip freeze'.
>> I assume that you have onvif sucessfully installed.
> 
> your correct 'pip freeze' did show onvif.
> onvif==0.2.0
> 
> I was then expecting to run python-onvif   but that is not found.

I think, nobody has packaged this python module as rpm package.

pip installation are independent from the rpm database.

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


Re: [CentOS] pip on C7

2019-01-30 Thread Ulf Volmer
On Wed, Jan 30, 2019 at 08:17:37AM -0500, Jerry Geis wrote:
> I am trying to install the python-onvif package on C7.
> 
> I did:
>  pip install onvif
> Requirement already satisfied (use --upgrade to upgrade): onvif in
> /usr/lib/python2.7/site-packages
> Requirement already satisfied (use --upgrade to upgrade): suds>=0.4 in
> /usr/lib/python2.7/site-packages (from onvif)
> Requirement already satisfied (use --upgrade to upgrade):
> suds-passworddigest in /usr/lib/python2.7/site-packages (from onvif)
> You are using pip version 8.1.2, however version 19.0.1 is available.
> You should consider upgrading via the 'pip install --upgrade pip' command.

Please show us 'pip freeze'. 
I assume that you have onvif sucessfully installed.

You can (and should) ignore the pip upgrade stuff.

Best regards
Ulf

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


Re: [CentOS] centos dfcp send hostname to microsoft dhcp/dns

2019-01-29 Thread Ulf Volmer
On 29.01.19 20:37, Ralf Prengel wrote:

> thanks but this doesn t work here allthough most tips and hints are using 
> this parameter.

No idea. My CentOS7 installation sends the hostname to the (ISC) DHCP
server.

> Any idea how to debug ?

tcpdump is your friend.

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


Re: [CentOS] C7 and mdadm -( not solved)

2019-01-23 Thread Ulf Volmer
On 23.01.19 21:26, mark wrote:

> Does anyone know if the actual physical position in the hot-swap bays
> affects how mdadm tries to assemble a drive?

mdadm --assemble scans alls drives for the superblock.
Drives are known by device uuids.
The physical position does not matter.

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


Re: [CentOS] Docker + ipv6

2018-12-27 Thread Ulf Volmer
On 27.12.18 12:53, Joe wrote:

> i want to use docker with ipv6.
> 
> i install docker and edit the /etc/docker/daemon.json:
> {
>   "ipv6": true
> }

i guess you have to specify your ipv6 subnet in deamon.json.

  "fixed-cidr-v6": "2001:db8:1::/64"

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


Re: [CentOS] Centos7 broken after update

2018-12-08 Thread Ulf Volmer
On 08.12.18 15:18, PATRICK BÉGOU wrote:

> thanks for the suggestion. Indeed it seems I have a problem with glibc. 
> Version is different between x86_64 and i386 and I have two glibc-common for 
> x86_64. 
> Trying to remove the old one request removing half of the system packages 
> because of the dependancies. The newest cannot be removed. 
> 
> 
> glibc-2.17-222.el7.i686 
> glibc-2.17-260.el7.x86_64 
> glibc-common-2.17-222.el7.x86_64 
> glibc-common-2.17-260.el7.x86_64 
> glibc-devel-2.17-260.el7.x86_64 
> glibc-headers-2.17-260.el7.x86_64 

my first try would be to remove glibc-common-2.17-222.el7.x86_64. and
try to run yum update then again.


(BTW: please do not top post).

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


Re: [CentOS] Centos7 broken after update

2018-12-08 Thread Ulf Volmer
On 08.12.18 13:48, Patrick Bégou wrote:

> There are 1 outstanding transactions to complete. Finishing the most

> Any idea to go back to a normal situation before a full re-install ?

restoring the old state before the broken 'yum update' can be done by
package-cleanup.

package-cleanup --dupes

will give you a long list of duplicate packages.

package-cleanup --cleandupes --removenewestdupes

will try to remove the duplicate rpms from the update.

after that you should run 'package-cleanup --dupes' and clean the
remaining dupes manually. if this is done, you can try to run the
'yum update' again.

HTH and best regards
Ulf
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rsyslog listening on high port

2018-09-07 Thread Ulf Volmer
On 07.09.2018 12:32, Adam Tauno Williams wrote:
> On Thu, 2018-09-06 at 15:10 -0400, Mike Burger wrote:

>> lsof -i -P | grep LISTEN | grep :51427
>> to determine what process is actually listening to that port.
> 
> That is what is strange;  lsof does *not* see the port as listening,

because there is no LISTEN in the lsof output for UDP ports.

just execute

lsof -i :51427 -P

should show you the process.

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


Re: [CentOS] Certificates

2018-08-31 Thread Ulf Volmer
On 31.08.2018 21:31, Michael Schumacher wrote:

> certbot works only with ports 80 or 443? Can lego work with with IMAP
> ports like 143 or 993? The documentation is not very clear.

basically - independent of the client - letsencrypt will only support
http/https or dns based challenges.

so - if you want to get certificates for an imap only server, you will
have to setup an webserver for the challenge. or deal with your dns server.

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


Re: [CentOS] missing CESA-2018:2571 Important CentOS 6 bind Security Update

2018-08-30 Thread Ulf Volmer
On 30.08.2018 03:11, Johnny Hughes wrote:
> On 08/29/2018 05:17 PM, Ian Mortimer wrote:
>> On Wed, 2018-08-29 at 19:20 +0200, Ulf Volmer wrote:
>>
>>> i'm running bind on an up to date CentOS 6.10 and missing the bind
>>> update from the announcement above.
>>
>> I looked for them yesterday on AU mirrors and a few in the US and
>> Europe but didn't find them.  Still not there this morning.
>>
>>
> 
> Let me take a look guys .. looks like it passed the QA tests but didn't
> push out
> 
> I'll get them pushed live now.

Thanks. It's working now.

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


[CentOS] missing CESA-2018:2571 Important CentOS 6 bind Security Update

2018-08-29 Thread Ulf Volmer
Hello,

i'm running bind on an up to date CentOS 6.10 and missing the bind
update from the announcement above.

[root@fw ~]# yum list bind
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * epel: ftp.nluug.nl
Installed Packages
bind.x86_64  32:9.8.2-0.68.rc1.el6   @base

is there is something wrong on my side? Or with the CentOS- repo?

(My repo config is on https://cloud.u-v.de/index.php/s/ksNcosfmBrN57SQ )

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


Re: [CentOS] ca-certificates-2018.2.22-65.1.el6.noarch problematic

2018-07-04 Thread Ulf Volmer
On 04.07.2018 19:03, Walter H. wrote:
> On 04.07.2018 18:37, Alice Wonder wrote:

>> But anyway, does the changelog indicate why the certs were removed?
> where can I find the changelog?

rpm -q --changelog ca-certificates

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


Re: [CentOS] LVM problems

2018-07-02 Thread Ulf Volmer
On 02.07.2018 18:23, Thomas Schweikle wrote:

> System boots into emergency mode because it does not find any of the
> logical volumes defined, because it does not enable the LVM volume
> group.
> 
> Giving "lvm", then "vgchange -a y", followed by CTRL-D continues to
> boot to full multiuser mode.

maybe 'rootdelay=5' as kernel parameter will solve this issue.

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


Re: [CentOS] Samba issues with Win 10

2018-06-28 Thread Ulf Volmer
On 28.06.2018 16:30, mark wrote:

>Just ran into a problem: someone with a new laptop, running Win 10,
> version 1709, tried to map their home directory (served from a CentOS
> 6.9 box, and it fails, with Windows complaining that it no longer
> supports SMBv1, and if you go to their site, you can install support
> for that manually

assuming from my experience with sles11 and windows 10, putting

min protocol = SMB2
max protocol = SMB2

in the [global] section of your smb.conf should solve your issue.

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


Re: [CentOS] Custom ISO With Post Installation Scripts

2018-06-09 Thread Ulf Volmer
On 09.06.2018 14:48, Earl Ramirez wrote:

> # copy scripts to the destintion of the server
> cp -v $SRCDIR/postinstall/script1.sh > $DSTDIR/etc/rc.d/rc.local/script1.sh

are you sure about this line? rc.local must be a file, not a directory.

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


Re: [CentOS] Convert from LVM

2018-06-08 Thread Ulf Volmer
On 08.06.2018 23:36, Nataraj wrote:
> On 06/08/2018 12:34 PM, Ulf Volmer wrote:

>> issue_discards = 1
>>
>> in /etc/lvm/lvm.conf.

> I  believe that it is possible to use trim on an LVM, but I don't think
> that is what that option is.  In my /etc/lvm/lvm.conf file, it describes
> that option as follows:

trust me, that's exactly the option to enable trim on LVM devices.

The link you posted below says also the same.

> https://unix.stackexchange.com/questions/85865/trim-with-lvm-and-dm-crypt

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


Re: [CentOS] Convert from LVM

2018-06-08 Thread Ulf Volmer
On 08.06.2018 22:15, Matt wrote:

>> issue_discards = 1
>>
>> in /etc/lvm/lvm.conf.
> 
> Does that still work if it is not a THIN LVM?

Yes.

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


Re: [CentOS] Convert from LVM

2018-06-08 Thread Ulf Volmer
On 08.06.2018 19:11, Matt wrote:
> I have a Centos 7 install using EXT4 on LVM.  Its running as a VM
> inside KVM.  Issue I have run into is that fstrim does not work due to
> the LVM.  Without fstrim snapshots have gotten huge.  Is there a way
> convert it from LVM to non-LVM without a complete reinstall?

please consider to enable trim over LVM. You have just to set

issue_discards = 1

in /etc/lvm/lvm.conf.

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


Re: [CentOS] move LDAP service to new server

2018-05-31 Thread Ulf Volmer
On Tue, May 29, 2018 at 03:57:43PM +0100, Gary Stainburn wrote:

> Is there any (easy to follow) instructions anywhere to tell me how to back up 
> this service and restore it onto a new one?

This is basically running slapcat on your old server and slapadd on the new one.

openldap config can be either stored as files on disk or inside of the LDAP
and must be handled separatly.

best regards
Ulf

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


Re: [CentOS] Unable to access network from docker container

2018-04-06 Thread Ulf Volmer
On 05.04.2018 22:49, H wrote:
> I have recently installed docker and playing around with it. On a CentOS 7 
> machine, however, I am unable to get access to the outside internet, thus yum 
> ... fails. The host machine runs fine.

Which ip range do you use in your network? Maybe this overlaps with the
docker default ip range (172.18.0.1/16).

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


Re: [CentOS] Semi-OT: install python package in userspace

2018-04-06 Thread Ulf Volmer
On 06.04.2018 21:04, m.r...@5-cent.us wrote:

> So, I'm working on trying to install scipy in the virtenv... and for
> unknown reasons, it simply can't find the system libs.

try to run 'pip install --upgrade pip' in your virtualenv. Fix the issue
for me.

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


Re: [CentOS] Semi-OT: install python package in userspace

2018-04-06 Thread Ulf Volmer
On 06.04.2018 20:53, Valeri Galtsev wrote:
> On 04/06/18 13:51, Ulf Volmer wrote:

>> But on my testbox, i'm not sucessful to use the system numpy and scipy
>> packages. i had to install them using pip.
> 
> Python is a  "sneaky snake" ;-)

i will not doubt that.

BTW: for Marc: if you often have to deal with python and different
modules to use, give virtualenv a try. This will give you (as user) the
option to use different python environment with different modules.

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


Re: [CentOS] Semi-OT: install python package in userspace

2018-04-06 Thread Ulf Volmer
On 06.04.2018 18:25, m.r...@5-cent.us wrote:
> CentOS 7 box. As there's no package in any of the repos, we're trying to
> install scikit-learn in the user's space. It refuses. My late try was,
> after d/l a .whl from last year, hoping that would work with the numpy
> package in the regular repos, I did a pip install --user scikit-learn...,
> and it still seems to want to write to system space: OSError: [Errno 13]
> Permission denied:
> '/usr/lib64/python2.7/site-packages/numpy-1.7.1.dist-info

can't reproduce your issue:

[ulf@centos7-x1 ~]$ pip install --user scikit-learn
Collecting scikit-learn
  Downloading scikit_learn-0.19.1-cp27-cp27mu-manylinux1_x86_64.whl (12.2MB)
100% || 12.2MB 101kB/s
Installing collected packages: scikit-learn
Successfully installed scikit-learn-0.19.1
You are using pip version 8.1.2, however version 9.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

But on my testbox, i'm not sucessful to use the system numpy and scipy
packages. i had to install them using pip.

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


Re: [CentOS] Centos 7 and btrfs

2017-12-28 Thread Ulf Volmer
On 28.12.2017 16:50, m.r...@5-cent.us wrote:
> Matt wrote:
>> I am setting up a new test server.  Doing a fresh install from CD onto
>> a couple 4TB drives.  Would like to try btrfs in a RAID 1 format.  Are
>> there any how to's on how to do that?
> 
> I was under the impression that upstream was deprecating BTRFS.

brtfs was only a technology preview in RHEL 7 and will still remain in
RHEL 7 (without support). it will be removed in the next major release.

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


Re: [CentOS] File access in Apache 2.4

2017-11-23 Thread Ulf Volmer
On 23.11.2017 13:02, Alexander Farber wrote:

> in the /usr/lib/systemd/system/httpd.service file change PrivateTmp=true to
> PrivateTmp=false
> and then "systemctl daemon-reload" and "systemctl restart httpd"

Please don't modifications in /usr/lib/systemd/system/. System updates
will overwrite your changes.

official way is to copy the unit file to  /etc/systemd/system and edit
this copy.

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


Re: [CentOS] Can't update

2017-11-16 Thread Ulf Volmer
On 16.11.2017 17:17, Ilyass Kaouam wrote:
>> On 16.11.2017 16:03, Ilyass Kaouam wrote:
>>
>>> yum update
>>> Traceback (most recent call last):
>>
>> Hard to guess with this limited information. Usually this means either
>> your yum or your python installation is broken.
>>
>> Are you using RPMs from outside of the CentOS or EPEL repos? Manually
>> installed python versions? Manually installed python modules?

> python-libs-2.6.6-64.el6.x86_64

Please do not top post.

As far as i can see in your list, several RPMs are not from official
sources. And your version numbers are quite old (from 2015 if i remember
correctly).

Maybe it will be easier to do a fresh installation instead of debugging
your current one.

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


Re: [CentOS] Can't update

2017-11-16 Thread Ulf Volmer
On 16.11.2017 16:03, Ilyass Kaouam wrote:

> yum update
> Traceback (most recent call last):

Hard to guess with this limited information. Usually this means either
your yum or your python installation is broken.

Are you using RPMs from outside of the CentOS or EPEL repos? Manually
installed python versions? Manually installed python modules?

best regards
Ulf Volmer
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] JRE 8.1 for CentOS6

2017-09-18 Thread Ulf Volmer
On 18.09.2017 20:11, Larry Martell wrote:
> On Mon, Sep 18, 2017 at 11:49 AM, Ulf Volmer  wrote:

>> It's also possible to store your plugin in your profile if you want to
>> install the plugin only for your account. in this case you can either
>> use ~/.mozilla/plugins (for all profiles) or [Profile directory]/plugins
>> for a specific profile.
> 
> In /usr/lib64/mozilla/plugins there is a symlink from libjavaplugin.so
> to /usr/lib64/IcedTeaPlugin.so
> I changed that to point to
> /usr/java/jre1.8.0_144/lib/amd64/libnpjp2.so but I got the exact same
> results.
> I also tried renaming the pluginreg.dat file. No joy.

curious. I have no more ideas at this point.

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


Re: [CentOS] JRE 8.1 for CentOS6

2017-09-18 Thread Ulf Volmer
On 18.09.2017 16:35, Larry Martell wrote:

> My old version of FF does not have plugin folder, it has a file called
> pluginreg.dat that looks like this:

i doubt that. Please look into

/usr/lib/mozilla/plugins or /usr/lib64/mozilla/plugins. i'm quite sure
that these directories also exist in you ff v24. pluginreq.dat should
only cache the plugin informations and can be renamed.

It's also possible to store your plugin in your profile if you want to
install the plugin only for your account. in this case you can either
use ~/.mozilla/plugins (for all profiles) or [Profile directory]/plugins
for a specific profile.

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


Re: [CentOS] waitstates

2017-09-16 Thread Ulf Volmer
On 16.09.2017 13:02, hw wrote:

> are there other things than disk I/O that may cause waitstates (as shown
> by top, for example)?

only disk i/o.

> What about network traffic?

only if you have network shares mounted.

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


Re: [CentOS] JRE 8.1 for CentOS6

2017-09-14 Thread Ulf Volmer
On 15.09.2017 00:59, Larry Martell wrote:
> On Thu, Sep 14, 2017 at 6:45 PM, Ulf Volmer  wrote:

>>> This is what I get from that:
>>>
>>> application/x-java-vm IcedTea class,jar
>>
>> That's OpenJDK instead of Oracle.
> 
> Do you know how I can associate IcedTea with Oracle's JRE?

You can try to replace the icedtea plugin with the one from Oracle.
As i wrote in my first mail. Try to locate the plugin folder of your
firefox installation (maybe in your ff profile or system wide in the
firefox folder), backup the old plugin and place there a symlink to the
oracle plugin (/usr/java/jre1.8.0_144/lib/amd64/libnpjp2.so).

>> /usr/java/jre1.8.0_144/bin/jcontrol
> 
> Ah, yes, I do have that. It's the same as running ControlPanel - that
> is where they had me try puttin the IP address of the IMM in the
> exception site list.

OK and did your set the security setting to the lowest one?

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


Re: [CentOS] JRE 8.1 for CentOS6

2017-09-14 Thread Ulf Volmer
On 14.09.2017 23:56, Larry Martell wrote:
> On Thu, Sep 14, 2017 at 5:30 PM, Ulf Volmer  wrote:

>> Again, please enter 'about:plugins' in the address bar of your browser
>> to make sure, that the right java version is activated.
> 
> This is what I get from that:
> 
> application/x-java-vm IcedTea class,jar

That's OpenJDK instead of Oracle.


> Then they asked me to run this:
> 
> alternatives --config java
> 
> There are 2 programs which provide 'java'.
> 
>   SelectionCommand
> ---
> *+ 1   /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java
>2   /usr/java/jre1.8.0_144/bin/jav
>

Maybe you should also try 'alternatives --config javaws' to switch to
the Oracle java webstart. But i'm not sure that this is possible for javaws.

>> And at last, please check the security options with jcontrol. Newer java
>> version are more restricted about security settings.
> 
> I don't seem to have jcontrol

Should be part of your JRE installation:

[ulf@x1 ~]$ rpm -qlp Downloads/jre-8u144-linux-x64.rpm |grep bin/jcontrol
/usr/java/jre1.8.0_144/bin/jcontrol

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


Re: [CentOS] JRE 8.1 for CentOS6

2017-09-14 Thread Ulf Volmer
On 14.09.2017 21:26, Larry Martell wrote:
> On Thu, Sep 14, 2017 at 3:08 PM, Stephen John Smoogen  
> wrote:

>> So it sounds like the links needed for the plugin to work are not
>> configured on the system. So you have some symlinks pointing to the
>> openjdk with the system and some pointing the one you tried to
>> install. I don't know how you installed this new jdk so it may be for
>> many different reasons.
> 
> I installed it by downloading the rpm and installing that. IBM said on
> my older FF the app/plugin is called JNLP and I should change the
> setting for that to 'always ask' and then when it asks use javaws - I
> did that but it still fails.

Again, please enter 'about:plugins' in the address bar of your browser
to make sure, that the right java version is activated.

But normally javaws is a different topic. As far as i remember, there
should be an option to let firefox ask, which javaws should be executed.
As i understand, you have different version installed.

And at last, please check the security options with jcontrol. Newer java
version are more restricted about security settings.

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


Re: [CentOS] JRE 8.1 for CentOS6

2017-09-14 Thread Ulf Volmer
On 14.09.2017 19:54, Larry Martell wrote:

> Where would I do that? This is something running from a browser.

Is the java plugin enabled in your browser? That's not the default nowadays.

if you are running firefox you can check this by opening 'about:plugins'.

here - configured for older HP ILOs -  for example, the plugin is linked
into my firefox profile:

[ulf@bob ~]$ ll .mozilla/firefox/ln5frqem.default/plugins
total 0
lrwxrwxrwx. 1 ulf ulf 37 Apr 21  2016 libnpjp2.so ->
/opt/jre1.7.0_51/lib/i386/libnpjp2.so

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


Re: [CentOS] Centos7 System Storage Manager: Device /dev/sdc not found

2017-08-03 Thread Ulf Volmer
On 02.08.2017 21:37, johan.vermeul...@telenet.be wrote:
> [root@hotelcaw ~]# ssm add -p centos /dev/sdc 
> Device /dev/sdc not found (or ignored by filtering). 
> Unable to add physical volume '/dev/sdc' to volume group 'centos'. 
> SSM Error (2012): ERROR running command: "lvm vgextend centos /dev/sdc" 

I'm not familar with ssm, but this error can be caused by a filter in
/etc/lvm/lvm.conf

best regards
Ulf

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


Re: [CentOS] more than one IP address on network device?

2016-09-04 Thread Ulf Volmer
On 09/04/2016 07:27 PM, Walter H. wrote:
> On 04.09.2016 17:33, Ulf Volmer wrote:

>> please note, that you have to specify only one GATEWAY, there can be
>> only one default gateway active.
> sure?
> thought that IPADDR, GATEWAY, NETMASK and NETWORK must go with,
> the same with IPADDR2, GATEWAY2, NETMASK2 and NETWORK2 ...

There can be only one default gateway defined on you system. Yes, sure.

best regards
Ulf


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


Re: [CentOS] more than one IP address on network device?

2016-09-04 Thread Ulf Volmer
On 09/04/2016 05:00 PM, Ulf Volmer wrote:

>> IPADDR2=192.168.1.10
>> BROADCAST2=192.168.1.255 <--
>> NETMASK2=255.255.255.0
>> NETWORK2=192.168.1.0 <--
>> GATEWAY2=192.168.1.1 <--
>>
>> in case they don't match the first IP address?
> 
> I'm not sure at this point. If you have to add a second ip in another
> different network maybe you need a virtual device.

OK, some testing has been done. you have to specify

IPADDR=192.168.0.10
NETMASK=255.255.255.0
NETWORK=192.168.0.0
GATEWAY=192.168.0.1
IPADDR2=192.168.2.10
NETMASK2=255.255.255.0
NETWORK2=192.168.2.0

please note, that you have to specify only one GATEWAY, there can be
only one default gateway active.

best regards
Ulf

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


Re: [CentOS] more than one IP address on network device?

2016-09-04 Thread Ulf Volmer
On 09/04/2016 04:40 PM, Walter H. wrote:
> On 04.09.2016 15:18, Ulf Volmer wrote:

>> That's not true, you can add ipv4 address to the interface in the same
>> way:
>>
>> | IPADDR2=172.17.170.101
>> | NETMASK2=255.255.255.0
>>
>> There is no need to create a virtual network device.
> ah ok, and the other values?

no other values needed. i assume that the second ip is in the same
subnet as the first one.

> IPADDR2=192.168.1.10
> BROADCAST2=192.168.1.255 <--
> NETMASK2=255.255.255.0
> NETWORK2=192.168.1.0 <--
> GATEWAY2=192.168.1.1 <--
> 
> in case they don't match the first IP address?

I'm not sure at this point. If you have to add a second ip in another
different network maybe you need a virtual device.

best regards
Ulf

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


Re: [CentOS] more than one IP address on network device?

2016-09-04 Thread Ulf Volmer
On 09/03/2016 07:34 PM, Walter H. wrote:

> if I would need an additional IPv6 address I'd just add
> IPV6ADDR_SECONDARIES="ipv6addr"
> to this file; if I would need an additional IPv4 address this works only
> by a virtual device
> e.g. eth0:1 like this:

That's not true, you can add ipv4 address to the interface in the same way:

| IPADDR2=172.17.170.101
| NETMASK2=255.255.255.0

There is no need to create a virtual network device.

best regards
Ulf

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


Re: [CentOS] mounting lvm2

2016-09-03 Thread Ulf Volmer
On 09/03/2016 03:22 PM, Alice Wonder wrote:

> Trying to mount drive on my laptop via USB interface. Which is easy when
> drives are plain old ext4 and not ext4 sitting on top lvm2.

> [root@localhost ~]# vgs
>   VG #PV #LV #SN Attr   VSize   VFree
>   centos   1   3   0 wz--n- 111.30g0
>   centos   1   3   0 wz--n- 223.08g0

This is the reason why i normally set the VG name to the hostname.

But you can try to rename the VG. Pick the VG UUID from vgdisplay and
rename it:

vgrename $UUID centos-pc

HTH,
Ulf

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


Re: [CentOS] Networking/routing issue

2016-09-03 Thread Ulf Volmer
On 09/03/2016 01:31 PM, TE Dukes wrote:

> Centos 6.8 server eth0  > 192.168.1.110 > gateway 192.168.1.111
>  eth1 > 192.168.1.111 > gateway
> 192.168.1.100
> |
> |
> Switch > other computers and devices > gateway 192.168.1.110
> 
> I want to send all internal traffic through 192.168.1.110, all external
> traffic through 192.168.1.111, then back through 192.168.1.110.

As far as i understand, you have two interfaces in the same subnet.

This is usually a bad idea.

best regards
Ulf Volmer

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


Re: [CentOS] Loaded: not-found (Reason: No such file or directory)

2016-08-29 Thread Ulf Volmer
On 08/29/2016 01:07 PM, Kaushal Shriyan wrote:

> [user~]# systemctl list-unit-files | grep nrpe
> [user~]# service nrpe status
> Redirecting to /bin/systemctl status  nrpe.service
> ● nrpe.service
>   * Loaded: not-found (Reason: No such file or directory)*

Where did your nrpe come from? Here it comes from EPEL and everything is
fine:

root@centos7 ~]# systemctl list-unit-files | grep nrpe
nrpe.servicedisabled
[root@centos7 ~]# service nrpe status
Redirecting to /bin/systemctl status  nrpe.service
● nrpe.service - NRPE
   Loaded: loaded (/usr/lib/systemd/system/nrpe.service; disabled;
vendor preset: disabled)
   Active: inactive (dead)

best regards
Ulf
> 

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


Re: [CentOS] A repo with latest httpd for http2?

2016-02-12 Thread Ulf Volmer

On 02/12/2016 10:54 PM, John R Pierce wrote:

On 2/12/2016 11:13 AM, SternData wrote:

Is there a well-run package repo that has httpd-2.4.17 or mod_http2 (or
mod_h2)?


EL7 comes with httpd-2.4...

# yum list httpd
...
Installed Packages
httpd.x86_64 2.4.6-40.el7.centos @base


Including support for http2?

i doubt that. As far as i know, support was added with 2.4.17.

[root@centos7 ~]# rpm -ql httpd|egrep 'mod_http2|mod_h2'
[root@centos7 ~]#

best regards
Ulf

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


Re: [CentOS] Network configuration issue with second public ip on CentOS 6

2015-12-23 Thread Ulf Volmer

On 12/23/2015 03:06 PM, Meikel wrote:


$ cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
IPADDR=xx.xx.xx.xx
NETMASK=255.255.255.0
ONBOOT=yes
GATEWAY=xx.xx.xx.254

$ cat /etc/sysconfig/network-scripts/ifcfg-eth0:0
DEVICE=eth0:0
BOOTPROTO=static
IPADDR=yy.yy.yy.yy
NETMASK=255.255.255.255


this looks weak. Try to use the same netmask as you use for eth0.

best regards
Ulf

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


Re: [CentOS] CPU Limit in Centos

2015-11-21 Thread Ulf Volmer

On 11/21/2015 03:38 PM, Edward Ned Harvey (centos) wrote:

From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
Behalf Of Edward Ned Harvey (centos)

A few years ago, I vaguely recall some issue with RHEL needing a special
license or something like that, if you had more than a certain amount of
CPU's or a certain amount of RAM.

Does Centos work fine for 2 CPU's, 16 cores, 32 threads, and 256 G of ram?

Centos6 specifically.


According to these, centos 6 and rhel 6 are limited to 16G of ram. But I 
currently have a rhel6 system with 128G, so ... Don't know what to think about 
that...


This affects only 32bit installations. 64bit installation supports up to 
64TB.


best regards
Ulf

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


Re: [CentOS] Poor perfmance of bridged interfaces

2015-11-13 Thread Ulf Volmer

On 11/13/2015 12:57 PM, Sergio Belkin wrote:


When I enable stp:

[root@localhost ~]# brctl show br0
bridge name bridge id   STP enabled interfaces
br0 8000.080027a398e6   yes enp0s3
 enp0s8


As Gordon said, i recommend to remove one of the physical interfaces 
from the bridge.


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


Re: [CentOS] Poor perfmance of bridged interfaces

2015-11-12 Thread Ulf Volmer

On 11/12/2015 07:42 PM, Sergio Belkin wrote:


I've created a bridge using 2 interfaces and have a lot of messages as
follows:

nov 12 15:30:22 localhost kernel: br0: received packet on enp0s3 with own
address as source address
nov 12 15:30:22 localhost kernel: br0: received packet on enp0s3 with own
address as source address


sounds like a loop.

What says 'brctl show'?

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


Re: [CentOS] BackupPC is not easy to setup

2015-09-13 Thread Ulf Volmer
On 09/13/2015 03:48 PM, Timothy Murphy wrote:

> I see that BackupPC starts 6 copies of httpd running,
> but so far only 2 have ever been used.
> Can this number (6) be changed?

Yes, in the configuration of you httpd.

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


Re: [CentOS] BackupPC is not easy to setup

2015-09-13 Thread Ulf Volmer
On 09/13/2015 01:35 PM, Timothy Murphy wrote:

> I have a couple of questions that this raises.
> 
> 1. Why exactly does backuppc want to ssh to root?

To enable access to all of the files on the client.

It is also possible to run the backup running the rsyncd- daemon on the
client.

> Is this just a way of running BackupPC as root?

Why do you want this? It's not required to run backuppc as user root.

> 2. The graphical interface seems to be treated as an extra,
> but what other way is there of accessing BackupPC?
> Is there a CLI approach?

There are some CLI applications available, BackupPC_tarCreate for
example to restore file from the command line.

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


Re: [CentOS] latest yum update messed up chrome

2015-09-02 Thread Ulf Volmer


Am 02.09.2015 um 21:10 schrieb Johan Vermeulen:
> 
> Op 2-sep.-2015 20:59 schreef Wes James :
>>
>> I yum updated yesterday and it updated chrome from 44.x to 45.x.
>>
>> It runs but it has errors going to web pages and won't load its own 
>> settings/extension pages either.  I ran chrome from the command-line and see 
>> these errors:
>>
>> $ google-chrome
>> libGL error: dlopen /usr/lib/dri/swrast_dri.so failed 
>> (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or 
>> directory)
>> libGL error: failed to load driver: swrast

Maybe (i'm not running centOS on my desktop) it will help to install
mesa-dri-drivers. This package contains the missing library.

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


Re: [CentOS] CentOS 7 PV kernel

2015-08-20 Thread Ulf Volmer
Am 20.08.2015 um 06:50 schrieb Venkateswara Rao Dokku:

> How to know that the CentOS 7 kerenel is whether PV or HVM?

Try it yourself.

Excecute

grep XEN /boot/config-$(uname -r)

you will see that CONFIG_XEN and CONFIG_XEN_PVHVM is enabled.

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


Re: [CentOS] Fwd: ABRT Daemon/sosreport disaster

2015-08-19 Thread Ulf Volmer


Am 20.08.2015 um 02:31 schrieb Robert Inder:

> backtrace:
> :abrt-action-generate-machine-id:24::ImportError: No module
> named argparse

Maybe you will find the following link helpful:

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

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


Re: [CentOS] vncserver on CentOS 7

2015-04-03 Thread Ulf Volmer
On 04/03/2015 08:46 PM, Jerry Geis wrote:

> I am trying to setup a centos 7.1 vncserver

> I did the following:
> yum install tigervnc-server
> cp /lib/systemd/system/vncserver@.service

I guess the problem is, that you don't provide the instance name (the
part after the @), the vncserver server need this to configure the local
X- display.

See the Quick HowTo line in the service unit file

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


Re: [CentOS] WARNING: No module xenblk found for kernel

2014-12-23 Thread Ulf Volmer
On 12/23/2014 11:11 PM, Dave Stevens wrote:
> Quoting Ulf Volmer :
> 
>> On 12/18/2014 08:11 PM, Dave Stevens wrote:
>>> ran routine updates on the lernel this morning and got this:
>>>
>>> WARNING: No module xenblk found for kernel 2.6.18-400.1.1.el5,
>>> continuing anyway
>>
>> i'm not sure that i can help you, i have currently no centos5 vm on xen.
>>
>> But i guess the warning is from the normal, not xen enabled kernel.
>>
>> Does /boot/vmlinuz-2.6.18-400.1.1.el5xen exists?
> 
> yes, exists and first option in grub.conf
> 
> is the error likely to affect my storage on reboot?

If you boot the xen- kernel, you storage is not affected.

And after the reboot you can remove the standart kernel.

regards
Ulf

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


Re: [CentOS] WARNING: No module xenblk found for kernel

2014-12-18 Thread Ulf Volmer
On 12/18/2014 08:11 PM, Dave Stevens wrote:
> ran routine updates on the lernel this morning and got this:
> 
> WARNING: No module xenblk found for kernel 2.6.18-400.1.1.el5,
> continuing anyway

i'm not sure that i can help you, i have currently no centos5 vm on xen.

But i guess the warning is from the normal, not xen enabled kernel.

Does /boot/vmlinuz-2.6.18-400.1.1.el5xen exists?

And is kernel-xen installed and the default kernel in the grub- config?

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


Re: [CentOS] process identification

2014-09-19 Thread Ulf Volmer
On 09/19/2014 04:15 PM, Richard Ray wrote:
> On Fri, 19 Sep 2014, Ulf Volmer wrote:

>> This looks like these port are opened by kernel, not by a process, for
>> example like nfs.
>>
> 
> How can I know for sure?

For NFS it is simple, use 'rpcinfo -p'.

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


Re: [CentOS] process identification

2014-09-19 Thread Ulf Volmer
On 09/19/2014 03:58 PM, kqt4a...@gmail.com wrote:
> On Fri, 19 Sep 2014, Reindl Harald wrote:
>> Am 19.09.2014 um 15:45 schrieb kqt4a...@gmail.com:
>>> I am running CentOS 6.5. I know this is not a CentOS specific problem.
>>> Netstat shows several open ports and no pid.
>>>
>>> tcp0  0 *:48720 *:* LISTEN  -
>>> tcp0  0 *:43422
>>> *:* LISTEN  -
>>> udp0  0 *:50216 *:*
>>
>> alias netstat='/bin/netstat --numeric-hosts --numeric-ports --notrim
>> --programs -u -t'
>>/bin/netstat

> This netstat show exactly the same. Lsof does not show these ports.

This looks like these port are opened by kernel, not by a process, for
example like nfs.

regards
Ulf

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


Re: [CentOS] Can't verify gpg signature for the file with hashes for the CentOS 7

2014-07-08 Thread Ulf Volmer
On 07/08/2014 04:07 PM, Rufe Glick wrote:
> Hello there. I've just downloaded the CentOS v7.0 via torrent and am  
> trying to verify the gpg signature for the file with hashes. When I do  
> "gpg --verify sha256sum.txt.asc" I get the key ID of F4A80EB5. Then I'm  
> trying to get the public key with "gpg --keyserver pgp.mit.edu --recv-keys  
> F4A80EB5" command. The gpg returns error of "no valid OpenPGP data found".  
> Does anyone have an idea of why the public key isn't there? Is there  
> another keyserver I should try?

Yes, unfortunately the key is not available on the web or in the
announcement mail.

The only place i found the key was in the downloaded iso:

sudo mount -o loop CentOS-7.0-1406-x86_64-DVD.iso /mnt
gpg --import /mnt/RPM-GPG-KEY-CentOS-7

regards
Ulf

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


Re: [CentOS] xfs and user quota

2014-05-23 Thread Ulf Volmer

On 23.05.2014 13:53, Götz Reinicke - IT Koordinator wrote:
>   xfs_quota -x -c 'limit bsoft=2m bhard=22000m username' /home
>
> would set the quota for that user.
>
> But I do get an error:
>
>   Command limit not found.
The error message looks like you are confounding single quotes with 
backticks

regards
Ulf.

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


Re: [CentOS] Filesystem gets corrupted after kernel upgrade to 2.6.32-431.5.1.el6

2014-02-15 Thread Ulf Volmer
On 02/15/2014 06:33 PM, Max Grobecker wrote:

> Is it just me? I don't use any 3rd party repositorys and it blows my
> mind that no one else seems to notice...!

Just you.

2.6.32-431.5.1.el works here without any issues on phys. and virtual
plattforms.

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