Questions tagged [centos7]

CentOS is a Linux distribution standing for "Community ENTerprise Operating System" and is a rebuild of "Red Hat Enterprise Linux" (RHEL), belonging to the same company that distributes RHEL (Red Hat, Inc.). The "CentOS7" tag refers to versions 7.x-xxxx of CentOS, working only on 64-bit hardware. Maintenance updates for CentOS/RHEL 7 will stop on June 30, 2024, with full updates ceasing in winter of 2019.

Filter by
Sorted by
Tagged with
0 votes
1 answer
946 views

Errors at named startup

I see this lines when i start named: Sep 19 17:50:52 mydomain named[xxx]: ../../../../lib/isc/unix/socket.c:5682: unexpected error: Sep 19 17:50:52 mydomain named[xxx]: setsockopt(22, TCP_FASTOPEN) ...
mario's user avatar
  • 145
0 votes
1 answer
1k views

Apache stopped accepting external requests after restart

I'm hosting a clients wordpress site on a CentOS 7 server, with apache 2.4.6, hosted behind a cloudflare proxy. I set everything up about 8 months ago, and it has been running fine ever since. At ...
Sam's user avatar
  • 121
0 votes
1 answer
294 views

iowait Bound Server - Load Calculations & Process Scheduling

I have a script I'm writing that runs badblocks against a disk shelf full of drives and I'm trying to understand the server load that develops and at what point the server load is critical in this ...
Zenonk's user avatar
  • 66
3 votes
1 answer
7k views

Rsyslog does not set read and write permission for group and everyone

Rsyslog ignores read and write permission set with fileCreateMode for group and everyone. I have set up a service to run my node application as such: ... [Service] WorkingDirectory=/opt/demo/app ...
HomeIsWhereThePcIs's user avatar
0 votes
0 answers
2k views

gparted - Libparted Error, unable to inform the kernel of the change

This is on CentOS Linux release 7.6.1810 (Core) with gparted. I'm trying to re-format LaCie rugged external drives connected via USB 3.0. I continue to get this error message when using gparted to ...
Edward_178118's user avatar
0 votes
1 answer
149 views

Dynamic subdomain pointing to html folder

I have a PHP script that takes the subdomain i.e blah.example.com and runs a query based on that. The problem I have is that I can't get my new server to route any subdomain that someone may type to ...
ConnorM's user avatar
0 votes
1 answer
112 views

Apache 2.4 on CentOS 7 gives 500 error when ldap authentication added

I have a new installation of CentOS 7 (3.10.0-957.27.2.el7.x86_64) fully patched. It has apache 2.4.34-7 from centos-sclo-rh, and I have a properly signed certificate and certs for the companies cert-...
ptroot's user avatar
  • 1
0 votes
1 answer
1k views

Unable to install xrdp on CentOS 7.6 [duplicate]

I'm a bit of a novice Linux user and I'm trying to prepare a CentOS VM through Azure. I have it built and can operate on it through the serial console on the Azure portal. I've installed GNOME and ...
Tony's user avatar
  • 457
0 votes
1 answer
689 views

Get ExecStartPre to work with iptables and ipset

I have a rule in iptables that calls a black list I created with ipset. My rule is -A INPUT -m set --match-set blacklist src -m comment --comment "BLACKLISTED TRAFFIC" -j DROP On reboot it's not ...
Dovid Bender's user avatar
0 votes
1 answer
1k views

Docker container failed to run with pacemaker resource agent

I have a 2 node cluster configured on CentOS 7.6 with latest docker and pacemaker packages. I am currently trying to provide HA for couple of containers but after configuring pacemaker resource ocf:...
Sajirupee's user avatar
0 votes
1 answer
786 views

Apache redirect loop when rewriting HTTP to HTTPS behind AWS Network Load Balancer

Existing solutions did't help me so I must be missing something else. So I'm trying to setup a website with Apache 2.4/CentOS 7 behind a AWS Network load balancer. I'm using this in httpd.conf to ...
user540468's user avatar
3 votes
5 answers
4k views

Rsync to /dev/null overwrites it

I am seeing a random behavior when copying from one server to another using rsync to the /dev/null of the destination server. This is as part my network performance testing, and I want to avoid Disk I/...
Eilbron's user avatar
  • 31
3 votes
1 answer
530 views

DRBDManage with Pacemaker on CentOS 7

I have 2 CentOS 7.6 nodes which I have configured with drbd, drbdmanage and pacemaker for active/passive failover. during a failure my vip and drbd service failover from primary to secondary the next ...
Sajirupee's user avatar
1 vote
3 answers
10k views

Extend CentOS partition - Already have 4 Primary Partitions

I have a CentOS server, acting as my syslog server (CentOS Linux release 7.4.1708 (Core)). As my syslogs have grown in size, we've had to extend the volume a couple time. Now the main disk is 500 GB....
Jake's user avatar
  • 25
0 votes
2 answers
254 views

Setting SElinux Labels for a magento site on Centos 7

I was hoping someone could kindly help myself. I have a Magento site running on a Centos 7.6 server. Now, the site is not correctly loading and looking in the messages.log I see numerous entries ...
Vaishal Patel's user avatar
1 vote
2 answers
1k views

fatal error openssl/opensslv.h : No such file or directory

I'm trying to compile latest stable kernel version 5.2.13 on centos 7(kernel 3.10.0). In make bzImage step, I got following error. How can I sort it out?
Mg Nyi Naing's user avatar
1 vote
2 answers
5k views

yum upgrade gives: ... conflicts between attempted installs of [32-bit package] and [64-bit package]

Our Red Hat 7.6 machines have 64-bit and 32-bit libraries installed. I am scripting an update for all of our machines to run with our post-install scripts to upgrade all of the installed packages. yum ...
Scottie H's user avatar
  • 227
0 votes
1 answer
268 views

error upgrading python's packages in centos

during update I've got some errors in python's packages Error: Package: python-django-1.8.14-1.el7.noarch (@centos-openstack-ocata) Requires: python-django-bash-completion = 1.8.14-1.el7 ...
Andrea di Paola's user avatar
0 votes
1 answer
976 views

Centos 7 no input in grub serial console

I use serial over lan console on intel S1200V3RPL server board. It worked nicely, but filesystem got corrupted and I had to reinstall. I've setup serial console the same way,but there is no input in ...
NickSoft's user avatar
  • 288
1 vote
0 answers
356 views

CentOS 7 NFSv4 server + Fedora 30 NFSv4 client: command 'quota' does not work

I've got a CentOS 7 box serving NFSv3/4 exports - the served filesystem (users' home directories) is an ext4 partition (so, no XFS, which I get is more complicated for quotas) configured with usrquota ...
Francesco's user avatar
0 votes
1 answer
428 views

Exim4 router doesn't match

I have defined a router for an autoreply for a domain to send a message back to the sender that the domain will be deleted. The goal: every sender who sends email to [email protected] should receive a ...
repi's user avatar
  • 11
1 vote
1 answer
266 views

Microarchitectural Data Sampling a concern for servers not on the internet?

I noticed in the logs this message which relates to Microarchitectural Data Sampling: kernel: MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-...
Edward_178118's user avatar
1 vote
1 answer
832 views

Why does XFS uses lvm cache chunk size instead the raid5 setup for sunit/swidth

I have 4 disks available on my virtual machine for testing sdb, sdc, sdd, and sde. The first 3 disks are used for a RAID5 configuration, the last disk is used as lvm cache drive. What I don't ...
Sander Visser's user avatar
0 votes
2 answers
248 views

openstack installation rally error

I've got a problem throught installation of openstack in a VM Centos7 the error is: [root@localhost ~(keystone_admin)]# rally deployment create --fromenv --name=existing Command failed, please ...
Andrea di Paola's user avatar
2 votes
1 answer
2k views

GlusterFS not running on correct port! (peer disconnected / brick not starting)

On CentOS 7 witch two bricks on srv1 and srv2 I've upgraded gluster from 313 to 6 by using yum. I then rebooted server 1, started and mounted the drive successfully. This is my mount command: /usr/...
Sergeant's user avatar
0 votes
1 answer
1k views

Disable process id showing in Syslog-ng logs

I configured syslog-ng (version 3.21.1) on a CentOS7 server and found that logs are in following format. Aug 26 12:59:28 xyz74hd.com radiusd[20142]: 92djvd4654654164nadskj795234dc Reason: pldap: ...
Aghori's user avatar
  • 5
0 votes
0 answers
852 views

Manually change the time in CentOS 7 forwards and backwards

I want to do tests with some time based applications. I want to set the system time 3 days in the future or 5 years in the past. CentOS 7 is not allowing me to do this. Both commands below work, ...
Subzero123's user avatar
1 vote
0 answers
771 views

Query Failed: Lost connection to MySQL server during query (Remote connection stable issues)

i've been reading a lot about this and didin't find any solution, that's why i am creating this topic. First im going to give you my dedicated server specifications root@...
Kuba Witek's user avatar
0 votes
1 answer
2k views

Cannot input password when installing mariadb on centos

After following the commands below, I get this error. At this point, it doesn't allow me to input a password - no key apart from Enter works. Enter just gives me this same error. How do I set a ...
John Uzo's user avatar
1 vote
1 answer
1k views

How to find deleted file(s) on nfs server

We've got a Centos 7 system doing some nfs serving that is using way more disk space than it should, that is it is 87% full, but du only accounts for about 20%. My assumption is that something is ...
abatie's user avatar
  • 93
0 votes
0 answers
84 views

Unable to update CentOS 7 [duplicate]

I had a perfectly working CentOS 7. Then, while installing some programs (and unfortunately I am unable to backtrace it) it seems the xorg and xorgxrdp conflicted with some RHEL repository and I ...
uhsa's user avatar
  • 1
0 votes
1 answer
1k views

CentOS 7 SMB Client Slows Down Over Time

I have a CentOS 7 VM running on VMware that is used for archiving data from various servers, the destination is a FreeNAS MiniXL. Some of this is done over ssh, but others are sent using SMB. In ...
TurboAAA's user avatar
2 votes
3 answers
10k views

How to forward port 80 to another port on the same machine permanently on CentOS 7?

I tried this, but it's only a partial answer or not right for CentOS7. https://serverfault.com/a/320624/439512 I did exactly what it says but it's not right. $ sudo iptables -A INPUT -i eth0 -p ...
Philip Rego's user avatar
1 vote
1 answer
1k views

Restrict all outbound connections to a specific interface, and block if unavailable

I'm running Centos 7 in a VM (I don't believe this should matter, but for context...) Inside the VM, I'm running software to establish a tunnel. I can already accept connections from the host okay, ...
Basic's user avatar
  • 426
1 vote
1 answer
155 views

Site becomes slow on traffic spikes but no load on server

Excuse me for my limited server knowledge I run a website on a Centos LAMP dedicated server, Core i7 with 32 GB RAM on a 1 GBPS line with 2 TB Traffic quota... when traffic goes up (bout 600+ users ...
Biju Mathew's user avatar
1 vote
1 answer
2k views

HAProxy: Unable to switch to transparent mode?

I'm currently in the process of setting up HAProxy in transparent mode because it's supposed to balance between nodes of a software that doesn't support the PROXY protocol, wants to terminate SSL ...
Pikaro's user avatar
  • 21
2 votes
0 answers
8k views

Kernel panic issue: How to fix hung_task_timeout_secs and blocked for more than 300 seconds? [closed]

My server is CentOS7 64bit going under kernel panic issue and rebooted after everyday around 7 to 8am. Here is part of dmesg [ 536.606448] tun: (C) 1999-2004 Max Krasnyansky <[email protected]&...
kuldeep's user avatar
  • 21
0 votes
1 answer
14k views

Unsupported parameters for the copy module in Ansible

I am trying to copy couple of files from my local to remote server and getting this error: "ansible_loop_var": "item", "changed": false, "checksum": "...
Anshul Choudhary's user avatar
1 vote
1 answer
2k views

Exim unable to open file for reading

I am working on getting an email server to send email from php Centos 7 php 7.2 Exim version 4.92 Opendkim If i change this line in my exim.conf file it will change the error so I know the error ...
Andy Parveen's user avatar
0 votes
1 answer
175 views

Messages going to Spam

My emails are going to spam no matter what I do. Centos 7 Exim PHP 7.2 Apache 2.4 Hostname and IP are not blacklisted. Exim config primary_hostname = mail.example.com domainlist local_domains = ...
Brian Curless's user avatar
0 votes
0 answers
531 views

Server intermittently dropping http requests in 0s when network traffic high

We have a web server that makes a number of http (actually https) requests to itself using curl. (This is because we have multiple websites running on the same server, and they use each other's APIs.) ...
Nathan Stretch's user avatar
0 votes
0 answers
114 views

How to transfer Mail Server from Apple to CentOS using postfix

I would like to take the mailboxes from my apple server ("Old Server") and put them on my centOS server ("New Server"), without much if any downtime. They both have the same MTA: postfix. Now, not ...
Vaishal Patel's user avatar
2 votes
1 answer
2k views

Unable to unblock project-wide SSH keys for GCP instances

I am trying to use project-wide SSH keys on my instances in GCP. However, in the VM instance details, despite unchecking the "Block project-wide SSH keys" checkbox and clicking Save, as advised here, ...
Alexandre Pierrot's user avatar
4 votes
2 answers
4k views

How to interpret this yum dependency error?

I'm trying to install XRDP and I'm hitting the following: [root@box ~]# yum -y install xrdp Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: centos....
Basic's user avatar
  • 426
0 votes
1 answer
162 views

cannot access asset folder inside document root on centOS

I was able to finally get my site up and running on DigitalOcean and after getting some help on ServerFault the certificates are all in order. However, I cannot seem to get access to my asset folders ...
The Architect's user avatar
0 votes
1 answer
2k views

SSH Port Forwarding not working

I have two CentOS 7 servers (Hypervisor and Relay for this scenario) . I wish to connect to a VNC port on Hypervisor which is behind a firewall by using Relay with is a server with SSH open to ...
user1955162's user avatar
2 votes
1 answer
16k views

CentOS 7: Failed to restart mysql.service: Unit not found

I had installed and started Percona XtraDB Cluster 5.7 on 3 nodes. Everything went fine, until I had rebooted my first node. From then mysql.service couldn't be (re)started normally: [root@percona1]# ...
Sevak's user avatar
  • 21
0 votes
0 answers
39 views

Haproxy Centos 7

I am a newbie in setting up Haproxy and Nginx server. However, i successfully setup Haproxy and two Nginx servers (All 3 different instances from AWS). Case 1: Haproxy (32.85.75.125) , Nginx1 - ...
Ravi's user avatar
  • 111
1 vote
0 answers
1k views

HAProxy redirect port 8080 CentOS 7- "503 Service Unavailable"

I have been trying to redirect to port 8080 and get an error "503 Service Unavailable. No server is available to handle this request." Below is my haproxy configuration file global log 127....
Ravi's user avatar
  • 111
0 votes
1 answer
82 views

Error running commands using shell although successfully run line by line manually

I'm using centos7 RHEL on vagrant virtualbox, I'm making a shell file that when I activate vagrant it runs the commands in the shell file on the virtual OS. When I use SSH and run each line on ...
Brian euqsarraT's user avatar

1
14 15
16
17 18
60