Newest 'centos7' Questions

Q&A for system and network administrators

High server load after moving /var/lib/mysql

mysqld is showing as using 770% of the cpu in top. I have a script that displays the load average of the hosting and in a normal situation it is at around 3 or 4 it gets to up to 100 or more at this ...

Systemd unit script that should print a message to the terminal is not working

I have a CentOS7 server running named-chroot. The problem is named and named-chroot are separate systemd services in CentOS7, and I have both a stable system and a short memory. Months go by between ...

Routing two network cards

I got one server with two network cards. NIC1 is 192.168.1.14 and can communicate with internal computers. NIC2 is 192.168.2.6 and can communicate with router and Internet. From internal ...

Can I specify the install root with yumdb on the command line?

rpm has a command-line option --root to specify another install root than /. yum has a command-line option --installroot for this. They are useful for maintaining chroot environments so that these ...

New Centos7 Opennebula VM- Can't ping or ssh- possibly related to firewalld?

I've successfully created a Centos7 VM in opennebula and I can see it in the GUI in the the list of virtual machines. The machine has a local network ip address, but I can't actually ssh or ping the ...

Postfix / Dovecot on Centos 7 , Can't connect to Storage server

note: I did not install any of this manually, this was all installed via the Virtualmin sh install script. I have reinstalled by their script 4 times and have this same issue everytime. Yet no one ...

Dns do not reolves domains other than configured zones on that dns

Configured DNS as an Authoritative Name Server with 2 slaves (catch only) the problem is that DNS do not seems to be resolving other domains , only domains configured in that DNS, as far I understand ...

On Which port phpMyAdmin connect to remote database

My centos 7 phpMyAdmin unable to connect to remote database as i think the security policy is not allowing it (port may be disabled by firewall). As i checked the same configuration on wamp phpmyadmin ...

Samba winbind service cannot be restarted after reboot

I have a samba server installed in Google Compute Engine (running centos 7). When the server get rebooted, I found the winbind service was not restarted. The log says folder /run/samba/winbind was not ...

openssl version keeps the old one

I'm trying to update openssl on CentOS 7.3. I tried at the beginning to update it using yum update openssl-devel' but it says : No packages marked for update When I'm running yum info openssl the ...

linode centos 7 firewalld change-interface command failed

I just build centos7, and tried to setup firewalld, when I type command firewall-cmd --zone=internal --change-interface=eth0 I got error : Error: COMMAND_FAILED I already start it by ...

Centos 7 Port 80 blocked even after opening via firewall-cmd

I'm trying to set up a new Centos 7 web server, and can't seem to get port 80 open to the outside. Apache is installed and running. I'm just trying to get the startup page so that I can move on with ...

Yum-cron fails to send email to root

I am trying to investigate an issue on one of our CentOS 7 servers, for which yum-cron fails to send an email to root with the result of the operations performed. It always give this error: Failed ...

HaProxy does not redirect http to https

In my centOS 7 LAMP server configuration seems that my HaProxy (v 1.7) load balancer is not able to redirect http request to https binding port 80. Here is my haproxy.cfg: global maxconn 32000 ...

nginx php postgres module wont enable

I want to set up a webserver with nginx, php and postgres in Centos 7. I installed nginx, php, postgres and php-pgsql module without any problems but after I enabled mcrypt with yum -y install php-...

CentOS7 kickstart - modprobe xfs very slow

I'm kickstarting an HP WX4600 using a CentOS7_1611 DVD iso, kernel 3.10.0-514.el7.x86_64. As soon as it reaches "modprobe xfs", I have to wait about 17 minutes to get past it. I don't know why it's ...

kickstart %include can't open file

I want to break out my kickstart user definitions into a separate file. Trying to pull that file in with %include, I get an error that breaks the install: Unable to open input kickstart file: curl#...

Centos running apache has been hacked [duplicate]

I'm running a Centos 7. I have installed Webmin and Virtualmin, also I have installed allot of other things. There are a couple of hunderd websites installed. For the past couple of months we haven't ...

Limits configured but not applied to a daemon

On my CentOS 7, I use cat /proc/<pid>/limits to see the actuel limit set. I got confirmation that this method is totally accurate here because I'm using it on MySQL, which can't dump a specific ...

mariadb v15.1 do not installs socket / Centos 7

Installed CentOS 7 fresh # cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core) yum -y install mariadb-server mariadb # mysql -V mysql Ver 15.1 Distrib 5.5.52-MariaDB, for Linux (x86_64) ...

apache patch suphp issue on centos 7.2

I am follwomg a guide to install ISPconfig on my VPS centos 7.2 server. I am having issues at step 10 https://www.host1plus.com/tutorials/hosting-services/vps-hosting-services/how-to-install-ispconfig-...

mysqld.service for systemd - Failed to parse resource value, ignoring: 40000 - LimitMEMLOCK

I got this error mysql systemd[1]: [/usr/lib/systemd/system/mysqld.service:39] Failed to parse resource value, ignoring: 40000 on Centos 7 with mysql 5.7 when I set the LimitMEMLOCK limit for MYSQL 5....

How could a CentOS 7.2 system return a response to $ yum list, but not to yum install?

I found a system with a peculiar problem. It has no repositories enabled, but still responds to $ yum search. I've asked around, and read a good bit of the documentation (e.g. https://www.ibm.com/...

Redis has lots of clients

We have a problem with Redis in our server. first in PHP script we connected to Redis via tcp:127.0.0.1:6379 port for caching. in this case and with netstat -anp |grep 6379 |wc -l command we had ...

Apache 2.4 IP-based virtual host not working

I have apache 2.4 installed in Centos 7 the normal virtual host working fine with all server IPs <VirtualHost *:80> but when I assign a specific ip address for my virtual host and I change ...

CentOS 7 Service User at Startup

I'm trying to get the noip linux client to run at boot on my system running CentOS 7. To do this i've tried configuring it a service with the following file in /usr/lib/systemd/system/noip.service [...

ImportError: No module named site. On CentOS 7 + python3.5

I'm trying to setup server few days in a row with no luck, I checked all the related topics and didn't find solution for the problem. I'm using CentOS 7, mod_wsgi, apache, python3.5 under ...

Docker deamon fails on service start

I have docker set up on my CentOS server. It worked fine for a while, until it just stopped working. I tried starting docker service, but I get this error below. $> sudo systemctl start docker....

CentOS 7 Tomcat not Starting

Trying to start Tomcat with service tomcat start which just redirects to systemctl. I get no errors, but in the logs it shows this: java.lang.ClassNotFoundException: org.apache.catalina.startup....

nginx php-fpm: Permission denied while connecting to upstream

Installing nginx and php-fpm make the error below not going even after setting all required permissions like suggested in previous answers here: [error] 2443#0: *2 connect() to unix:/run/php-fpm/php-...

why yum could not find the python-pip packages on some PCs

I got a very strange problem and cannot figure out why. When I run yum info python-pip command on some CentOS 7 machines, it returns Error: No matching Packages to list. But, I used to install python-...

Server not accessible on eth1 (additional network interface) CentOS 7 on AWS EC2

I have created a CentOS 7 instance on EC2, installed my required application-ware, assigned 1 Elastic IP to default network interface (eth0) and it is all accessible. Now I created another Network ...

Mysql 5.7 on Centos 7 - cpio: read failed - No such file or directory

I tried to install mysql 5.7 on centos 7 and I got the below error, I was able to install successfully more than one time on different machines with centos 7, but this is the first time I encountered ...

Postfix : Weird incoming message bypass SpamAssassin

I have built a Postfix server on CentOS 7 this week. It is perfectly blocking spam, but I got some problems with some email address that bypass SpamAssassin : Jan 9 04:49:14 gauss postfix/qmgr[29958]...

Nagios plugin execution fails with Icinga 1.13 on CentOS 7.3.1611

Software Versions: icinga-1.13.0-0.el7.centos.x86_64 nagios-plugins-all-2.0.3-3.el7.x86_64 CentOS 7.3.1611 [1484095979] error executing command '/check_ping': No such file or directory. Make sure ...

are there rpms for drbd9 on centos7 available? [on hold]

I would like to play around with drbd 9 on centos 7 but I can't find any precompiled packages and I would like to avoid compiling from source. Does anyone know a repo where I can get drbd9 including ...

Installing NVIDIA Drivers for Diskless Environment

I'm trying to set up a cluster of 8 computers plus a main file server. Ideally, I'd like to set this up in a pxe-boot, quasi-diskless/quasi-stateless environment (i.e. the only local storage is /var, ...

KVM bridge over bonding with muliply subnets

I can access host via 213.xxx.xxx.1 assigned to br0:1 but VM with 213.xxx.xxx.2 (bridge interface on br0:1) doesn't work. Do I have to create another bridge interface for the second subnet, but then ...

mailx Not Sending Email

I installed mailx in my Linux webserver running CentOS 7. When I try to send a test email, echo "Body test." | mail -r "fromemail@domain.com" -s "Subject Test" toemail@domain.com I check my email ...

solution to force slave catch only dns update zone info from master dns / CentOS 7 / Bind 9

Bind 9 , CentoOS 7 Looking for a solution to force bind on slave dns server (cache only) to update zone records or flush some how the dns cache to get new Tried to restart bind on both servers tried ...

Apache symlink returns 500 error (not allowed without authentication)

I am a bit lost. I have apache running two virtual hosts under the same user. They contain two very similar web sites. To make life a bit easer when updating the sites I thought I create a symlink to ...

Ports for FTP passive mode

I opened from firewall port 21 for FTP on Google Cloud Engine but I can only connect via active mod to FTP. I want to use passive mod too. According to http://stackoverflow.com/questions/24566692/...

POST Requests Randomly Dropped when Using Apache Over SSL

I'm having just about the same issue as this issue. However, I'm on CentOS 7 with Apache 2.4.6. My site is on Wordpress. Sometimes when I, or another user, submits a form, the browser will say that ...

Pritunl daemon doesn't automatically connect to the vpn

how can i add to autoconnect or autostart the service for connecting to my vpn. It's a client but i need to autoconnect that. So, when i reboot the computer (client) with centos 7 the service its ...

lvcreate mount previously removed Logical Volume, cento 7

So this is what i want to achieve, Unmount home partition at /home Remove home logical volume /dev/cl/home create new home logical volume from the same volume group cl and name home make xfs ...

Centos 7 apache cannot bind port 80

I've a freshly installed Centos 7 with just the basics and apache-php-mysql but I cannot find a way to run apache on port 80. Since the machine is used just locally I've disabled selinux and firewall,...

How to fix Padding Oracle vulnerability on CentOS 7 [duplicate]

I have set up a test web server on CentOS 7 to find a way to fix Padding Oracle vulnerability, which I got when I scanned our production site on ssllabs.com. On the test server, I installed openssl(1....

Nginx throws 403 Forbidden nginx/1.11.8 errors despite using all answers from serverfault

I have CentOs 7.3 and Nginx 1.11.8 and PHP-FPM 7.0 This is a clean install, and everytime I get the above error page if I change the root for the nginx dir from /usr/share/nginx/html to anything. ...

Detect files behind I/O wait issue

We are running Asterisk 1.8.22.0 which uses NFS for sound files (for IVR's), voice mails etc. Every so often the load average gets real high. Anytime that is we see the I/O wait in top go over 7%. The ...

What modules can be enable/disable in a default Apache 2.4 setup?

I am setting up a new CentOS 7 server with Apache 2.4 and I am planning to add PHP-FPM trough mod_proxy_fcgi (as per this post here). I don't think all that's enabled by default is needed in this case ...
Translating... 0%