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
0answers
13 views

Failed to stop kdm.service: Unit kdm.service not loaded

I am following this guide to install NVIDIA Driver. I have installed dkms by sudo yum install dkms and here is the version info. $ yum -v list dkms $ dkms.noarch 3.0....
0
votes
0answers
11 views

Need to mount GB in my vps now excluded in /dev/vda1

i'm loosing my mind through documentations, guides and so to understand/solve my problem about actually my VPS filesystem. I bought a vps from edis with 100GB space and a centos7 installation on it ...
0
votes
0answers
30 views

How can I limit download/upload speed for every single user on OpenVPN using TC?

I have an OpenVPN server on CentOS 7 and I want to limit the download/upload speed for every single OpenVPN client to 512 kilo byte per second . From my own researches , I understood that I can ...
0
votes
1answer
19 views

Salt: connection refused to proxy

I have troubles with Salt, installed on an HPC cluster. All maintenance commands (i.e. salt commands) are made from master0. The minions to be managed are named node0, node1, ..., node4. When I try to ...
0
votes
1answer
41 views

how to mark connections to route multiple gateways?

hi i am having trouble setting up permanent routes for my network interfaces, i have : os : linux (centos 7) eth0 : IP 172.16.3.6 -- Gateway : 172.16.0.1 eth0:1 : IP 10.1.5.102 -- Gateway : 10.1.5.101 ...
0
votes
0answers
21 views

CentOS 7 PAM / LDAP SSH/LOGIN user does not start in his home directory

On a CentOS 7 machine, users can use their LDAP credentials to connect to my servers. The first time they do this, the pam_mkhomedir is doing its job well. The user's folder /home/jdoe is well created ...
0
votes
1answer
14 views

User cannot enter his group's directory despite the directory having the correct permissions and the user being in the proper group

I have a directory called /workspace that looks like this: [root@machine workspace]# ls -al total 7 drwxr-s---. 7 root workspace 4651468242 Nov 16 14:41 . dr-xr-xr-x. 22 root root 4096 Nov ...
0
votes
0answers
30 views

Centos release 7.3.1611 Extend Swap partition from current 1GB to 2GB [migrated]

Could someone who has a deep knowledge can try explain how to achieve and increase a swap memory from 1 to 2G? I'm running Centos on Oracle Virtualbox. After utilized a command lsblk : sda ...
0
votes
1answer
23 views

curl: (35) SSL received a record that exceeded the maximum permissible length

I cannot fine the solutions for my issue to curl: (35) SSL received a record that exceeded the maximum permissible length. i have tried everything and how to fix this server: apache centos 7
1
vote
0answers
30 views

Vagrant ssh config fault

Good afternoon. There was a need to configure SSH access from an external network to a virtual machine in Vagrant (VirtualBox, CentOS/7). I made a mistake somewhere and lost the ability to connect to ...
-1
votes
0answers
15 views

StackOverflowException on Ansible - Possible Powershell Memory Issue?

I'm using the free ver of Ansible. My controller is a CentOS 7 and my host is a Win 2008 R2 SP1. When I run the command ansible win -m win_ping I get the error below: 192.168.1.158 | FAILED! => { ...
0
votes
2answers
34 views

Install Logcheck / Logtail in Rocky Linux 8

I need to install logtail / logcheck in Rocky Linux 8. We have an application that uses it and we are migrating that from Centos 7 to Rocky 8. Yum doesn't find it. [root@myserver ~]# yum provides ...
0
votes
0answers
30 views

/var/log/messages getting huge in size

I am using CentOS 7 and facing issues with /var/log/messages. For some reason, /var/log/messages gets huge in size filling up the whole partition. To resolve the issue, every time in have to empty the ...
0
votes
0answers
10 views

tomcat service getting logs from catalina.out, localhost.log and system.prints into journalctl

I have 2 servers with tomcat installed, one was installed by someone else. Something i noticed about the old one is when I run journalctl -u tomcat.. It shows most of the logs including when an ...
0
votes
0answers
24 views

Elasticsearch on docker fills up the disk quickly with no apparent reason

For quite a few months everything was working fine and this problem didn't exists. After a crash loop in one of the containers which started producing a lot of logs the server got full. That problem ...
1
vote
1answer
130 views

How do I disable sshd algorithms?

From my vulnerability scanning software I get this flag/message The following weak key exchange algorithms are enabled : diffie-hellman-group-exchange-sha1 diffie-hellman-group1-sha1 I want to ...
2
votes
0answers
28 views

Add a server to an already running DRBD9 configuration

I am on CentOS7 and I have an existing two-cluster HA node running pacemaker (1.1.23-1.el7_9.1) and DRBD (kmod-drbd90-9.0.22-3.el7_9). The backing partition for the DRBD drive is LUKS encrypted. We ...
1
vote
1answer
67 views

Visudo changes not working until I exit the editor (CentOS) [closed]

This is a basic exercise in my unix course. The instruction is as follows: Terminal 1: As root user run visudo Terminal 1: Comment out the line %wheel ALL=(ALL) ALL Terminal 1: Save with ...
0
votes
0answers
19 views

Centos 7 sendmail sending emails to incorrect ip address

Sorry, I am new to Centos 7 and sendmail. My email server was working but I had to restart the server. After restarting the email server suddenly fail to send emails to specific domain under my ...
0
votes
1answer
64 views

Restrict user's access to only one directory

ServerA needs to have a directory of ServerB mounted in a location, with write permissions. I've been using SSHFS for this. I find SSHFS being very stable (100% reliable), while NFS was not so stable, ...
0
votes
0answers
24 views

Increasing fs.file-max: sysctl: setting key "fs.file-max": No such file or directory (CentOS 7)

I am running Neo4J and Postfix and more services on a Cent OS 7 (I know, we need to update that) based Server. Due to a warning for starting a Neo4J instance (WARNING: Max 1024 open files allowed, ...
0
votes
0answers
37 views

Is there a way to update a SystemD configuration so that it will not start if its name equals "golang_shared_environment""?

I currently have a systemd file called golang@.service that is used for all of my go services. [Install] WantedBy=multi-user.target [Service] EnvironmentFile=/etc/sysconfig/golang_shared_environment ...
0
votes
2answers
95 views

Require root password when executing "sudo -s"

I have a CentOS 7 server on AWS. When logged in with the centos user, how can I prevent sudo -s logging in to root without requiring root's password? [root@server ~]# cat /etc/sudoers | grep rootpw ...
0
votes
0answers
24 views

How to resize one partition with another free one uder different device name without unmounting the first one?

I want to extend one partition on sda with another on different dev sdb the below image shows the distribution of the partitions What I'm looking for is to let sda5 resized by sdb1? How can I do that ...
2
votes
2answers
914 views

Roundcube 1.5.0 upgrade: Internal Server Error

My server updated automatically to this new release of Roundcube 1.5, since then, Roundcube don't show any Inbox mail with the message "Internal Server Error". I tried and searched for ...
1
vote
1answer
30 views

How to install security patches on CentOS 7.x

I need to install several security and apllication patches. An example of a patch considered critical is below: Vulnerabilities 134087 - CentOS 7 : kernel (CESA-2020:0374)- Synopsis The remote CentOS ...
0
votes
1answer
105 views

PHP file_get_contents sometimes returns 502 on 1 of 2 Servers

I have two virtual servers. The old: Ubuntu 12.04 with PHP 7.2. The new: CentOS 7.9 with PHP 8.0. On both servers the same application is running. A cron is minutely getting some details from another ...
23
votes
5answers
5k views

CentOS 7 - end of life in 2024, then what

We are working on a software solution and some of our providers are really CentOS 7 centered. CentoS 7 will continue to produce through the remainder of the RHEL 7 life cycle, which will end sometime ...
-2
votes
2answers
79 views

Can one machine virtually host a DNS server and an Email server?

I have one question: is it manageable to host a DNS server and an Email server on one machine? Im using proxmox as virtualization Zimbra as the email server
0
votes
1answer
94 views

Why is my upstream localhost? Getting 500 but no app error in Nginx. " no live upstreams while connecting to upstream"

I'm following this tutorial to host a React app on CentOS using Nginx. The website works (200 response) when I run curl localhost:3000, but when I try to his anthurie.com I get 500 error and this ...
0
votes
0answers
16 views

How to recover centos root data after change in formatting type?

To better explain what is wrong now with my harddisk let me tell you the series of events: I was trying to expand a CentOS root partition. In order to do that I first tried to unmount and remove the ...
0
votes
0answers
13 views

Getting error while trying to install MariaDB on CentOS

I've got a VPS which runs CentOS 7, and i need to install MariaDB 10.6.4 instead of the default version (5.5), so i completely uninstalled the previous version alongside mariadb-libs However, when i ...
0
votes
0answers
59 views

How to use -proxy option explicitly with OpenSSL in RHEL 7

unable to use -proxy option in openssl command on RHEL7 server, same is working fine on RHEL8 is there any other way to use proxy with Openssl. Below is the command used. [root@testvm01 ~]# openssl ...
0
votes
0answers
28 views

jcmd works in console but fails in script

I'm getting mad with what should be a simple task: a java process is running, runs out of memory and a script runs. SELinux is disabled. in setenv.sh : -XX:OnOutOfMemoryError='/opt/alfresco/scripts/...
0
votes
1answer
49 views

Why is this bash script triggering so many false positives for monitoring memory usage?

I am monitoring hundreds of servers both dedicated and virtual using the following script: #!/bin/bash PATH=/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/...
0
votes
0answers
14 views

Ansible ec2_tag failing due to missing boto dependency, which is installed

I am trying to set the tag on a resource on my EC2 machine, per below: - hosts: machinesA tasks: - name: Adding tags ec2_tag: resource: {{ imageid }} region: {{ region }} ...
1
vote
1answer
42 views

Creating / Configuring Firewall using iptables

I want to set firewall using iptables. The server is operating httpd service (httpd) The OS is Centos7, and below information is after install iptables-services, and start iptables without modify ...
3
votes
1answer
55 views

Can't run docker in Centos 7

I installed docker following the official website instructions, yet I get the following (from journalctl -xe): Sep 12 11:15:16 myhostname dockerd[18504]: time="2021-09-12T11:15:16.614348477Z"...
0
votes
1answer
57 views

nftables loopback connections not working in CentOS 7

I have removed firewalld and installed nftables in CentOS 7 (kernel 3.10.0-1160.42.2.el7.x86_64). My ruleset is as follows: # nft list ruleset table ip my_table { set ssh_evils { ...
1
vote
0answers
29 views

Best practices for updates

We have a lot of Linux servers (Red Hat Enterprise Linux Server 7.9 running vmware) and most of the services are in containers docker. We want to implement a policy of updating our systems with ...
0
votes
0answers
15 views

How to force creating an extended partition in before the last primary partition in kickstart?

I am searching for a way to write a kickstart partition section where I can control precisely which partitions are primary, and which partitions are secondary partitions in a extended partition. I don'...
1
vote
1answer
41 views

Should I use Centos 7 or Centos 8 on my VPS Server for Plesk? [closed]

I'm going to buy a VPS from a company. It asks me if you want to choose Centos 7 or Centos 8 when purchasing VPS. From what I've researched on the internet, there is no difference between the two. But ...
0
votes
0answers
23 views

CentOS 7: is it possible to change keyboard layout for a single, non-sudo user only?

I have come across the approaches to change system keyboard layout for all users. Is it also possible to only change it for a single user, who is not a sudoer? I could see on the machine that e.g. ...
1
vote
0answers
34 views

systemd automatism to update enabled unit symlink when updating units

Is there a way in systemd to update existing target want symlinks when updating a unit by a newer version higher in the unit load paths hierarchy? On CentOS 3.10.0-1160.36.2.el7.x86_64 with systemd @ ...
2
votes
1answer
45 views

systemd-tmpfiles race condition

I have a config file /etc/tmpfiles.d/test.conf: z /dir/* 660 - - - z /dir/subdir 2770 - - - z /dir/subdir/* 660 - - - Z /dir - root test - When I run systemd-...
0
votes
1answer
103 views

How to give web server user read permission to /etc/shadow file?

I would like to have a local Linux user to be able to be authenticated (login) using the Nginx PAM module. I am using a CentOS 7 server. Specifically the below is what I am trying to do... The README ...
0
votes
0answers
49 views

RAID10 software raid converted as RAID0

On one of the server, The RAID10 software raid volume had became RAID0 after one the disks in the RAID10 disk group failed. Also the converted RAID0 volume has become inactive. How can we recover the ...
2
votes
1answer
179 views

How to authenticate local Linux user with Nginx PAM module?

I would like to be able to have a local Linux user authenticate with their credentials when accessing a site. I am using the ngx_http_auth_pam_module. In the nginx.conf file I have the following ...
0
votes
0answers
20 views

Access logs show +210k mentions of localhost IP as origin of request

I have a CentOS 7 server, with 5-6 domains (one being the main domain, the others subdomains). Ever since installing Lets Encrypt and handling the redirections in httpd-vhost.conf, the access log has ...
0
votes
0answers
28 views

Server has continuous beep alarm when I reload the kernel

Here is the situation: I have a Lenovo ThinkCentre M900 with Linux CentOS 7. I tried to do a kernel load (kexec -l + kexec -e), and it works fine, with one problem. As soon as I enter the kexec -e ...

1
2 3 4 5
57