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.

0
votes
0answers
3 views

Visual block mode insert/append not working in vim on RHEL/CentOS? [migrated]

I was trying to append some text to multiple lines in vi on RHEL 6 system, however I could not get it to work. I press Control + V to get into visual block mode, select the lines I need, but when i ...
0
votes
2answers
23 views

Server's unusual outgoing traffic about 12K GB and Incurred high server traffic costs

Last night my server(centos5) had unusual outgoing traffic, About 12kGB and right now my server is down because I have to pay that traffic's cost. My server is a small server for a small App. I don't ...
0
votes
2answers
25 views

Is the maxclients setting in apache config file accurate?

In the /etc/httpd/conf/httpd.conf file, the maxclients parameter is set to 10. However, I can run 20 concurrent persistent connections (on separate Chrome Tabs) with no errors. I am using the ...
-1
votes
1answer
19 views

DNS Zone config with Centos Web Panel doesnt work [on hold]

i try since hours to setup my Domain with the Centos Web Panel and own Nameservers... i did change the nameserver at the domain registar and entered the IP values for this nameservers so... ns1....
0
votes
0answers
16 views

Postgresql cannot be reached

We are trying to access (server1)postgresql port 5432 on a different server(server 2) but we are not able to reach it. Checking done: port 5432 running/listening postgresql.conf listening address ...
0
votes
1answer
26 views

mysqldump cron job runs in terminal but not cron tab

I have this cron job, /usr/bin/mysqldump -u username -p'password' MyDatabase > /backup/CronBackup/MyDatabaseBackup.sql &>/backup/CronBackup/cronBackupLog.log I have been through this page: ...
1
vote
1answer
35 views

SSL site is not loaded and no error

I'm trying to install the certificates are purchased from Thirdparty. Received the following error in the log and nothing else. I'm unable to find a similar solution and the ssl site is not accessible....
0
votes
2answers
20 views

Load specific php module for directory - Apache 2.4 CentOS 7

Inside /etc/httpd/conf.modules.d/ I have a conf file called 10-php54-php.conf which I use to specify what PHP version I want to use. I can freely switch between PHP 7.2 and PHP 5.4 by commenting line ...
0
votes
1answer
19 views

OpenVPN server running on a cloud VM cannot ping to a connected client; but client can ping the server

So I am trying to set up an OpenVPN server on a Cloud Virtual Machine running CentOS 7. The client (Windows) can connect to the OpenVPN server, I can ping the server from the client, but the server ...
0
votes
0answers
7 views

Importing ntlk getting a error like this on CentOS.7

Importing NTLK in CentOS3.7 I am getting error like this SQLite is getting installed but I am still getting error enter code here Traceback (most recent call last): File "<stdin>", line 1, ...
0
votes
0answers
9 views

Postfix/dovecot mail location doesn't effect

Well i tried to changed or fix issue or directory while receiving a new email, which i want to make the location to whatever the mail to be in that respective user's home dir mail folder. currently ...
0
votes
0answers
10 views

SubDomain change path to main domain [on hold]

Using: Apache Centos 7 Direct Admin I created a sub domain (for example tr) in DA panel, it created a sub folder folder (tr) in main domain path like this: /home/user/domains/test.com/...
0
votes
0answers
9 views

Docker bridge network reachable only via gateway

Running CentOS 7. I have a container that exposes the port 15672. It runs the management panel for rabbitmq, so curl should fetch the login page if I just ran curl on the address. This is the output ...
0
votes
1answer
17 views

How do I completely block port using firewalld?

Disclaimer: It's the first time I use firewalld, be gentle :) . I have a CentOS machine and I want to implement the following requirements using firewalld: Allow connections from anywhere to ports 1,...
0
votes
1answer
41 views

There's no ntpd in centos 7, how to sync time automatically and manually with chrony?

Seems there's no ntpd in centos7, how can I sync time in centos7? I found out that chrony should be used in centos7, what is manual way to update time using chrony? I assume chronyd is something ...
1
vote
1answer
20 views

Builed node.js in centos failed

I'm trying to install node.js in my CentOS server,befor I run the "make"commend,everything seems perfect.When I run the make command and it produces the following: make -C out BUILDTYPE=Release V=1 ...
2
votes
1answer
91 views

Can't ping eth1 via eth0

I have two virtual machines with CentOS 7 installed. Each VM has two NICs and two IP addresses. ip configuration of VM1: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc pfifo_fast ...
-1
votes
2answers
59 views

Can not import table to MySQL database on linux

I am trying to install cacti. When I want to import mysql_test_data_timezone.sql to MySQL database on Linux CentOS, I get an error. My command is mysql -u root -p mysql < /usr/share/mysql/...
-1
votes
0answers
13 views

How do I change the default PHP base-version on ssh? [closed]

I have Centos 7 and Virtualmin installed, with the tipycal php-fpm 5.4, rh-7.0, rh-7.1. rh-7.2 that you can choice between the versions you prefer for every virtualhost on Virtualmin control panel, ...
1
vote
1answer
14 views

How Would You Install LVM CentOS 7 In A Contabo VPS Environment?

I currently use a Contabo M SSD VPS and I am looking to get CentOS 7 installed with LVM for the system partition. However, there is not a direct route to do this since Contabo's OS images are all non-...
1
vote
1answer
25 views

nginx reverse proxy for docker swarm - 502 bad gateway

I am running a docker swarm on "swarm.example.com". On the server, there's a container running that can be accessed on "swarm.example.com:3000". On server "example.com" I'm running an nginx reverse ...
0
votes
1answer
20 views

Is there a faster way to restore a sparse image?

I have a 20G logical volume with 5G of data which I'm backing up as a sparse image, as follows: dd conv=sparse if=/dev/group/volume of=/mnt/backup/foo.img This takes about 3 minutes, but restoring ...
0
votes
1answer
32 views

stale mount on linux

I am running CentOS 6.9 and randomly one of the nfs mount goes stale and in the log/messages I see the message "server not responding, still trying". Forcing the mount does not work and neither reboot ...
1
vote
0answers
27 views

Linux: How to get average mail resource utilization over a given interval [closed]

I'm trying to capture the memory, cpu and I/O used by the exim process on a CentOs linux server and save it to a datastore to calculate the average memory, cpu and I/O used by the process over a given ...
1
vote
1answer
43 views

Can I install kernel from current release on previous minor release of CentOS without implications?

for exmaple if I have a server running CentOS 6.3. now for security reason I want to update it's kernel to newer version without touching anything else. because the yum repository file CentOS-Base....
0
votes
0answers
17 views

Centos offline installer with rpms, docker, containers and artifacts [closed]

I need to re-engineer a full offline installer that's been cobbled together in bash and has become brittle very quickly. There are 2 parts to this, and I'm hoping there's something that can ...
0
votes
0answers
18 views

Azure Update Management CentOS - own image

I have an Azure VM running CentOS7 (CentOS 7.6 by Rogue Wave Software). If I enable Update Management and schedule an update, it does what it is supposed to do. Inclusions and exclusions work, ...
-1
votes
0answers
14 views

How to rate limit incoming traffic into a server so only x/min visitors can enter

I am trying to rate limit the oncoming traffic to my servers. I figured using iptables (on centOS) would be the best choice. I have been looking around and discovered a few solutions: sudo iptables --...
0
votes
0answers
48 views

IPTABLE error while rebooting the server [closed]

I have a server with cloud linux os. I got an error while rebooting the server as following: iptables: unknown error 164465231123254452 iptables: unknown error 164465231123254452 iptables: unknown ...
1
vote
1answer
17 views

Can you install a repo as a yum dependency?

I believe the answer is no, and I understand the security implications, but I just want to make sure I am not crazy. It's hard to believe no one has asked this before, but I haven't been able to find ...
0
votes
0answers
7 views

How to set cookie for specific URL path in hapyoxy configuration

I have a WordPress website running on 3 machines Centos7.6 OS A haproxy server with round-robin between two servers that run httpd and MySQL replication I found problems occur while using haproxy ...
0
votes
0answers
9 views

CentOS 7 VM running ExpressVPN, cannot mount NFS share while connected

I would like to have internet traffic routed through ExpressVPN, however I cannot seem to mount a local NFS share once connected. I have tried: expressvpn preferences set force_vpn_dns false Because ...
0
votes
0answers
16 views

OpenOffice Can't detect JRE

I'm trying to run the latest version of open office as a service on CentOS 7.4. I downloaded the 64 bit rpm package directly from open office using wget and I'm running a 64 bit version of amazon ...
3
votes
1answer
42 views

Where can I find details on selinux Booleans

I'm running an openvpn server and I want to use SELinux. When it's activated I see a few "denied" events in the logs. I've used audit2allow to create a '.te' file. My question is about these lines ...
1
vote
1answer
24 views

NFS storage write permissions

I have installed NFS Server on CentOS 7. I have two other hosts, that I want to share different directories with. Here's my /etc/exports file: /home/WS2016 192.168.200.2(rw,sync,no_subtree_check) /...
1
vote
0answers
23 views

RSYSLOG not creating tcp port

At a certain point this was working and I do not know what could have changed. No logs are going to the TFTP folder and instead I just see the error message posted below. I tried rebooting the server. ...
1
vote
0answers
15 views

How do install CentOS 7.6 using security profiles?

Apparently CentOS 7.3's installer had a screen where you had the option of telling Anaconda to use a particular "security profile" for the install. Is there any way to invoke this during an install ...
1
vote
0answers
14 views

Very long TTFB and high CPU on VPS after Hypervisor Migration

I manage a VPS for my company with a small e-commerce website and a few low-usage Wordpress blogs and the like. My Service Provider migrated me to a different Hypervisor last Thursday, and since then ...
1
vote
1answer
41 views

How to ensure a consistent backup? [duplicate]

I'm running MongoDB 4.0 with the WiredTiger storage engine under CentOS 7. The data files are held on a mounted XFS volume. I can't use my hosting provider's backup service because it doesn't support ...
2
votes
1answer
24 views

CentOS OpenLDAP STARTTLS wierdness

I am having a very strange problem configuring my CentOS OpenLDAP for STARTTLS. Here's what's going on. I have a bunch os scripts that I use to configure my system. I do this to document a machine's ...
0
votes
0answers
16 views

ClamAV can't open/parse

I installed clamAV on an EC2 instance running CentOS, i made the install and when I go to run 'sudo freshclam' i get ERROR: Can't open/parse the config file /usr/local/etc/freshclam.conf However if ...
1
vote
1answer
20 views

centos multipath /dev/mapper dont map partitions

On SERVER1 I have the following output of dmsetup info -C: Name Maj Min Stat Open Targ Event UUID ...
-1
votes
0answers
16 views

Putty not presenting private key to Linux server, or server not accepting it [closed]

I know this is probably very basic to a lot of you, but alas I am stuck. I have followed these instructions exactly to try and setup my private-public keys for SSH login to a shared Linux server (...
2
votes
1answer
54 views

How to setup ssh for a couple of servers?

I'm pretty confused about how ssh really works, and I have already asked a couple of questions related to this, but I suspect I'm going in the XY-problem trap. So, what I want is this. I want to be ...
2
votes
1answer
20 views

httpd-mmn issue on CentOS 7 when I only have Nginx/php-fpm

I am on CentOS 7. When I do a yum update, it shows me this issue: ** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows: php-7.3.4-1.el7.remi.x86_64 has missing requires of httpd-mmn =...
2
votes
1answer
78 views

Failed to start Apache Server after configuring Client Authentication

CentOS 7 | Apache 2.4.6 I have built a private Certificate Authority (CA) and two certificates (one for the server and one for a client). Then, I configured the Apache to use the certificate X.509 ...
0
votes
1answer
21 views

Tagged interface not receiving packets?

I have a VLAN ID 69 at interface enp101s0f0 that's not receiving any packets: enp101s0f0.69: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.15.2.5 netmask 255.255.255.248 ...
0
votes
0answers
55 views

nginx ssl error, no “ssl_certificate” is defined in server listening on SSL port while SSL handshaking

when i add comodo ssl to nginx server on centos 7 i got this error 6925#0: *1045 no "ssl_certificate" is defined in server listening on SSL port while SSL handshaking, client: 2.89.238.146, server: ...
1
vote
2answers
53 views

Is it safe to set a very high ulimit for a process?

I currently have the following entry in /etc/security/limits.d/90-nproc.conf based on Mongo DB's recommended ulimit settings. mongod soft nofile 64000 mongod soft nproc 64000 I ...
0
votes
0answers
27 views

How do I create a customized, live CenOS 7 ISO?

I need to create a bootable, live, desktop ISO. This will be a utility disk, a bootable ISO image created for the sole purpose of allowing the user to run a script which will resize an existing ...