Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [centos]

CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat.

1
vote
1answer
21 views

Vlan did't work?

I have 2 host, connected via switch. There is no vlan configured on the switch. On Host A : 5: enp5s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 ...
0
votes
0answers
7 views

Issues when starting up Docker's service, the logs aren't clear

I was asked to setup Docker to run with "Device Mapper" (docs right here). I'm on a CentOS 7.4, and Docker is installed via an Ansible script. I admit I don't know everything this script does, but at ...
0
votes
0answers
11 views

Assigning Domain URL to my Virtual Host

I setup my own static website using CentOS 7 on a virtual machine with a bridged network. The static site has a self-signed certificate and can be already accessed on the same network. How do I assign ...
0
votes
1answer
10 views

GetAddrInfo when SSH has bizarre behavior

I have a server that is hosted on Rackspace. Let's call the server foo. The server foo's domain (it's a web server) is hosted on DNSMadeEasy. I have noticed some bizarre behavior with this set up and ...
1
vote
0answers
5 views

Libvirt lxc-enter-namespace with mapped uid/gid

I'm trying to implement LXC with mapped uid/gid (user namespace) under Libvirt on CentOS 7 with full separate root mounted. Libvirt config snippet <idmap> <uid start='0' target='100000'...
0
votes
0answers
12 views

AWS E2 Instance : How to Resize Disk

I have question about my disk partition, here is the result from fdisk -l command Disk /dev/loop0: 4294 MB, 4294967296 bytes 255 heads, 63 sectors/track, 522 cylinders Units = cylinders of 16065 * ...
1
vote
1answer
19 views

kdb5_util: Improper format of Kerberos configuration file while initializing Kerberos code

I have this file and when I execute the coammand kdb5_util create -s I get the error"Improper Format" Here is the file includedir /etc/krb5.conf.d/ [logging] default = FILE:/var/log/krb5libs.log ...
1
vote
0answers
44 views

Apache and htpasswd getting errors from random number generator

Recently (probably after yum update something), one of my CentOS7 server running Apache2.4.37 has started to produce the following errors. apachectl configtest (38)Function not implemented: AH00141: ...
0
votes
0answers
8 views

Gnome - Android Studio completely blank screen on Centos 7 [migrated]

I installed Android Studio to my CentOS 7 (7.6.1810) When I open android-studio, all I am getting is blank screen as can bee seen in the screenshot below; I have tried many thing to fix this issue ...
0
votes
0answers
15 views

Multiple Virutal Host with routes centos7

I have multiple apps to run with different routes, this one (Vue js) to localhost/ <VirtualHost *:80/> ServerAdmin webmaster@localhost ServerName 157.230.252.88 DocumentRoot /var/www/...
1
vote
2answers
38 views

How do I install RPMs on a machine that is completely isolated?

So I have a single machine on which I have installed CentOS Minimal and nothing more. It is completely isolated. This means the following: It can never be connected to another server or laptop The ...
0
votes
1answer
13 views

Enabling LDAP administered sudo rights on OpenLDAP 2.4.x?

I've been looking for instructions for adding sudo managment to openldap, but all of them that I've found involve altering ldap.conf. The more recent version of slapd uses a directory-file based ...
0
votes
1answer
25 views

How to configure https with nginx with a public ip without domain name

I have a public IP (for eg: 123.123.123.123) and I would like to install the ssl on a nginx server (for using https). I have a folder in /etc/nginx/ssl where I store my .crt and .key. Here is my nginx....
0
votes
0answers
25 views

Slow file transfer speed untill network service restart in CentOS

I have a Windows Server VM which connects to my Storage VMs running CentOS in another Data Centre over SFTP and FTP. The uplink between the servers are all 10Gbps and more and both VMs are ESXi ...
-1
votes
0answers
26 views

Getting error whenever I try to send mail from my server [closed]

said: 451 Temporary local problem - please try later (in reply to RCPT TO command)) whenever I try to send mail from my server
0
votes
1answer
19 views

one more Raid 1 conflagration on Centos

i have Centos server ,and there is already RAID 1 configured with two Hard drive each of them is 1TB ,i want to add two more Hard drive each of them is also 1TB and configure with RAID 1 ,,please let ...
0
votes
0answers
7 views

CentOS 7 - Configuration of Tomcat

I'm trying to run tomcat8 with the specific configuration on CentOS 7. I come from Debian, so I'm having some trouble with the way CentOS works. On Debian what I do is that I create a file /etc/...
0
votes
1answer
14 views

Get a rpm subpackage to be installed with an update

As part of my internship task, I've to deploy OpenVPN clients on around 60-70 client devices that run CentOS (which reside on private networks and cannot be accessed directly). I'm quite new to ...
1
vote
1answer
10 views

How to NAT private IP to public IP through virtual LAN in centos 6

Guys i am having an issue with NAT on centos. In my LAB Centos is configured as a router. I want to run my local system (example: 192.168.1.45) apache server on live IP (example 112.100.4.34). This ...
0
votes
0answers
44 views

CentOS 7 crashing after using CPU intensive app

i am trying to find out what is casing the my CentOS 7 server to crash after starting CPU intensive apps. i managed to get this screenshot of TOP command right at the time of Crash. More details ...
0
votes
1answer
16 views

How to update sqlite3 from python?

How to update sqlite3 from python? I am having problems with the old version of Slite3 for python3.6. I need to upgrade for version 3.22.0 or last root@server01# python3.6m Python 3.6.7 (default, ...
1
vote
1answer
25 views

Ansible module_stdout: command not found when using sudo on Centos 7

I am connecting to centos 7 virtual and physical machines using ansible with a user called ansible that has passwordless sudo permissions on all the boxes. On most machines it works, but on one box I ...
0
votes
1answer
88 views

Yum doesn't recognize installed dependency version

I'm trying to install gcc-c++ on CentOS 7.6.1810. This is the error output: Error: Package: glibc-2.17-260.el7.i686 (centos_7_x64_32) Requires: glibc-common = 2.17-260.el7 Installed: glibc-...
0
votes
0answers
15 views

Mismatch between target UID (583) and UID (560) of file “xx”

I am using Centos and suPHP and I have two users who api and example. I want to use Alias option in httpd.conf because i want to reach api user with example user. Examples: example.com => /home/...
0
votes
0answers
35 views

Yum on CentOS tries to fetch packages from fixed version OS “7.5.1804” instead of major one “7”

Trying to use yum fails with HTTP404 on CentOS7 (7.5.1804) virtual machine: $ yum repolist Loaded plugins: fastestmirror, langpacks Determining fastest mirrors * base: ftp.pbone.net * extras: rep-...
0
votes
0answers
11 views

Getting GEOSFrechetDistanceDensify while importing data to OSM

I am trying to import data to the OSM server. I am new to this OSM servers. Everything is installed on CentOS and I am able to get the data from the server the only error which I am facing is while ...
3
votes
5answers
159 views
+300

How to show realtime traffic on each virtual network interface?

I have a dedicated server with a few virtual network interfaces, each mapped to a public IP address. How can I monitor the realtime traffic (in packets/s or Mb/s) of each of them, ideally on a single ...
0
votes
3answers
47 views

Another EC2 ssh issue

I am having an issue with the ssh daemon not starting on one of EC2 instances. I created another instance to access the volume, mounted the volume without any issues and tried many many solutions ...
0
votes
0answers
12 views

collectl + colmux, Ignoring records from one host. Is the alias wrong or missing?

I am trying to setup collectl + colmux as a "supercharged top". Out of the 15 servers, there are two servers I can't get colmux to work. Not working even I only colmux that one server. Error: ...
0
votes
0answers
18 views

Tomcat 7 CPU utilization is always above 30%

Im working on a migration from windows server to linux. Installed Tomcat 7 on centos 7 server, and deployed 5 web applications(taken from windows). Applications are running fine. I open only a ...
0
votes
0answers
17 views

Changing MTU in CentOS 6 DHCP server

I have a CentOS 6 server acting as a router with DHCP for my network. I need DHCP to tell all my devices to use MTU 1492 (instead of 1500). I already tried adding option interface-mtu 1492; in ...
0
votes
0answers
54 views

yum reinstall installs two kernels

As you can see below, there might be (as far as I understand) two kernel versions being installed. Also I get "grubby fatal error: unable to find a suitable template" the reinstall ends ...
0
votes
0answers
19 views

ID Mapping from Windows NFS Client to CentOS not working

Our setup includes a CentOS 7 server sharing a folder via NFS, and multiple CentOS 7 and Windows 10 clients connecting to it. All machines are part of a Samba Active Directory domain, which was built ...
0
votes
0answers
22 views

add common route to multiple vlan in centos

I have 2 lan cards in my centos 6, one for internet and another for vlans. I have configured 4 vlans: ifcfg-eth1.10 DEVICE=eth1.10 BOOTPROTO=none TYPE=Ethernet ONBOOT=yes HWADDR=00:00:00:00 IPADDR=...
0
votes
1answer
37 views

Centos7 'httpd' service not starting

I am not able to start my apache service in centos7. Here is my journalctl -e result. enter code here [root@qlntrk pam.d]# journalctl -xe Feb 06 07:28:05 qlntrk.com sshd[2391]: Failed ...
0
votes
0answers
31 views

How to push a local DNS resolving entry to client when an OpenVPN connection established?

I am using OpenVPN-2.4.6 clients and an OpenVPN-2.4.5 server that resides an OpenWRT(18.06.01) router. The OVPN client connects to the server by a public DNS name of the server(i.e pubName.my.router),...
1
vote
1answer
21 views

LVM with same mount points

I have a volume group called 'encrypted' and its device name is /dev/xvdj. [root@s-mysql /]# lsblk xvdj 202:144 0 3T 0 disk └─xvdj1 202:145 0 3T 0 part ├...
-1
votes
0answers
28 views

HTTP Flood DDoS attack causing bottleneck (server resources are plenty) [duplicate]

I'm experiencing HTTP Flood attack (by 1000s of proxies) on my following webserver setup: NGINX Reverse Proxy (SSL) > Apache > PHP-FPM. NGINX is setup with 50000 workers and other appropriate config. ...
0
votes
0answers
8 views

CentOS NAS mount stopped working

I have a NAS that uses Active Directory users as authentication and 2 VMs that mount a share on there on boot via /etc/fstab like so: //10.0.0.100/docs /mnt/cifs/apps cifs username=domainuser,...
0
votes
2answers
64 views

Apache - http/2 enabled but still using http/1.1

Running Apache/2.4.38 (Unix) OpenSSL/1.0.2k-fips on CentOS 7, PHP 7.2.14, I have installed and enabled http/2 following the guide at https://www.tunetheweb.com/performance/http2/. No errors are ...
0
votes
2answers
56 views

CentOS 7 can't install php module

I have installed php 7.2 on centos 7. I tried to install the module redis but it seems id doesn't want to download. Here is the error of the command yum install php-pecl-redis : I tried installing it ...
0
votes
0answers
31 views

apachectl configtest “Function not implemented” and Let's Encrypt auto-renew fails

One of my CentOS 7 servers cannot run certbot-auto renew because of an error while running apachectl configtest. Here's its output: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -...
0
votes
0answers
23 views

Firewalld drop by default and allow the existing rules that are in place

My question is how can i retain the existing configuration i have with firewalld and also drop all other connections if there is no specific rule for it. I have the following firewall configuration: ...
0
votes
1answer
12 views

unixODBC in Apache broken after enabling Kerberos on Centos7

Had unixODBC working very well. Decided that we wanted to implement Kerberos authentication to lock down different sites in Apache to certain user groups. Once this got enabled, connecting to the ...
0
votes
0answers
16 views

Python “alternate malfunction”

I have a web application that runs over a Centos Server. It was written in php and python. Suddenly without modification something starts to works in alternate and randomly way (one time fileB.php is ...
0
votes
0answers
30 views

How to allow allow ipv6 on nginx centos 7

I am not able to access my ipv6 like so http://[2605:3030:2020:1310:d838:efff:fe29:1964] for ipv4 I can do this firewall-cmd --permanent --zone=public --add-service=http firewall-cmd --permanent --...
1
vote
1answer
49 views

Mirroring Docker Traffic to Different Port in Same Container

I am using docker containers on CentOS to simulate devices on the network and have two tools that are to run inside each of those containers to simulate communication with actual network devices. ...
2
votes
1answer
53 views

Openvpn with TCP setup, but failed to connect through another client from Centos

I created two different server, Server A is for openvpn server, Server B is the client. Below is my client information. client tls-client ca /etc/openvpn/ca.crt cert /etc/openvpn/easy-rsa/keys/...
1
vote
1answer
51 views

yum : Installing openvpn on centos not available

I just installed a centos version on AWS. But I am not able to install openvpn. When I try: sudo yum -y install openvpn I get this error message: Geladene Plugins: fastestmirror Loading mirror ...
0
votes
1answer
42 views

Is there any security issue when SSH log in user without home directoty?

My system is centos 7. My purpose is enhance server security,only let sshuser log in and then su root. I create a user only for SSH login by useradd -M -u 888 sshuser. I also set AllowUsers sshuer ...