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
votes
1answer
20 views

Server slowing down day by day

I am using dedicated server for my php application. Server slowing down day by day after reboot everything goes normal. I cache my json resulst as files and serve them to clients , when everything ...
-2
votes
1answer
23 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 My command is mysql -u root -p mysql < /usr/share/mysql/mysql_test_data_timezone....
-1
votes
0answers
9 views

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

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
11 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-...
0
votes
1answer
17 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
31 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
26 views

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

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
32 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 [on hold]

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
14 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
13 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
47 views

IPTABLE error while rebooting the server [on hold]

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
15 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
12 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
29 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 ...
-2
votes
1answer
24 views

How to install ab (ApacheBench) on Debian/Ubuntu and CentOS? [closed]

How to install ApacheBench on Debian/Ubuntu and CentOS from packages repo?
1
vote
1answer
22 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
21 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
40 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 ...
1
vote
0answers
16 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
15 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
17 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
53 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
17 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
74 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
20 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
40 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
50 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
26 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 ...
0
votes
1answer
21 views

Missing package `udunits2` on CentOS

I'd like to use gganimate, but it requires the package sf. I tried to install, but I get this error. configure: error: in `/tmp/RtmpEpee0m/R.INSTALL282e663ea13f/units': configure: error: -----------...
1
vote
0answers
58 views

Postfix not sending emails (few problems detected)

Emails can not be sent to domains other than local. My mail server is placed behind proxy server. Ip of the proxy is: 192.168.18.1. Just to mention that I can receive all emails sent to my mail ...
0
votes
1answer
38 views

Is there a way to restart the D-Bus on CentOS 7 - without crashing the system?

On CentOS 7, doing sudo systemctl restart messagebus[1], will bring the system to its knees. Is there a way to restart the D-Bus without crashing the system? [1] This is dbus.service - D-Bus System ...
1
vote
2answers
44 views

Changed my Server ssh_config and now Putty displays black screen with green box: What do I do?

My hosting service sent me this link to follow to prevent future brute force attacks on my VPS. I changed the port from 22 to 899, changed my deny file with sshd: ALL then added sshd : 11.22.33.44 ...
-2
votes
1answer
45 views

CentOS, install nodejs latest

i have problem with installation of latest version of node on CentOS 7 i run yum remove nodesource-release* nodejs yum clean all command rpm -qa 'node|npm' shows nothing, so i run this command: ...
0
votes
0answers
10 views

Access httpd on virtual centos [migrated]

I am running a centos7 instance using Virtualbox. The host machine is running Debian 9. My centos machine is running fine and using one host only network, I am able to ping it or ssh into it from the ...
0
votes
1answer
28 views

what does docker version name means?

Following docker document When I get the To install a specific version of Docker CE, list the available versions in the repo step yum list docker-ce --showduplicates | sort -r * updates: mirrors....
2
votes
1answer
64 views

How Amazon VM import validates kernel version?

I'm trying to import a Centos 7.6-1810 VM with the latest stable kernel on Amazon, but the import process fails with the following error: $ aws ec2 describe-import-image-tasks { "Status": ...
0
votes
1answer
33 views

install centos from USB

I create USB with kickstart and it work On the isolinux.cfg I add: LABEL Appliance Installation IPAPPEND 2 KERNEL vmlinuz APPEND initrd=initrd.img inst.stage2=hd:LABEL=Appliance7 ks=...
0
votes
1answer
50 views

How to connect Linux Firewall IP whitelisting with database?

The problem is my dedicated box is getting ddosed. I would like to setup Linux firewall that would whitelist the ip addresses that would be listed in the database. Basically the process should be - ...
1
vote
1answer
36 views

redis fails to write the dump in /var/lib/redis in sellinux eforce mode

In my sentinel master-slave mode; redis slave fails to write the dumps in /var/lib/redis/ with error: Failed opening the RDB file dump.rdb (in server root dir /var/lib/redis) for saving: Permission ...
1
vote
2answers
119 views

loop device does not auto detach on umount

I have a backup script in which I umount a squashfs file, I do backup then mount it back again. A simplified version of the script is: umount /home/backup/auto/mnt/os mksquashfs /src-dir /home/backup/...
-1
votes
1answer
59 views

How to mount CIFS shares in Linux without password, using domain credentials?

I have Ubuntu 18.04 and CentOS 7 boxes, they are members of Windows domain (using sssd). Linux users need to mount CIFS shares from domains fileservers. What should be done in order to provide ...
-1
votes
1answer
34 views

Process monitor script bash, how to add below wait time, interval and logs capability [closed]

I am using below script to monitor some processes on linux and restart if process is down and send email. I want to add below improvements in this script, I need help in that case. Can anyone help ...
0
votes
0answers
13 views

Node webapp not running under pm2, but works when ran alone

I have a very simple node.js webapp with the following code: const express = require('express'); const app = express(); app.get('/', (req, res) => { res.status(200).send('it works'); }); ...