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

why ssh Local Dynamic forward doesn't work on centos

I wanna to create a local dynamic forwarding in centos without using another machine as a proxy. so I used dynamic forward command and is working fine in one of my centos vms as vm1. ssh -fN -D 0.0.0....
  • 1
0 votes
0 answers
15 views

Outline Server Connected but didn't transfer any data

I configured an Outline VPN Server and everything is ok and VPN connected very well but on another VPS I can connect but no data transfer between the server and the user. how can I check outline logs ...
  • 101
1 vote
1 answer
11 views

Thin-LVM readonly mode

I use this command to move data of one thin lv to another lv on separate server. dd if=/dev/vg/my-lv bs=24M | throttle -v -s 512 -w 2 -m 2000 | ssh -oStrictHostKeyChecking=no -i /var/my-ssh-keys/...
0 votes
0 answers
17 views

Is it possible for a PDNS authoritative server , to reply to any queries, irrespective of zone file

I have a powerdns-recursor name server, which forwards, the queries to a powerdns authoritative name server, based on the requesting client IP. The authoritative server, uses a remote REST API backend,...
  • 1
0 votes
0 answers
33 views

Virtual machine startup error, file system corruption how to, reboot

My virtual machine had a power failure and forced shutdown, when I restarted it, it entered rescue mode and reported the following error, I want to know how I should start it, there is some ...
0 votes
0 answers
54 views

openssl PEM_read_bio:no start line:pem_lib.c:707:Expecting: ANY PRIVATE KEY

Very new to SSL installation in Tomcat 8.5. OS: CentOS 7 I have SSL certificates from GoDaddy and have the private key used to generate the certificates. This private key was shared in a .txt file and ...
  • 1
0 votes
1 answer
25 views

mysql -V shows a different version than mysqld -V

I'm running centos 7 with mySQL 5.7.xxx. mysql -V shows Ver 14.14 Distrib 5.7.26-29, but mysqld -V shows Ver 5.7.11-4. systemctl status mysql and systemctl status mysqld both show the same running ...
0 votes
1 answer
14 views

set the permissions on all the files and folders within a directory (CentOS 7.0 )

I kind of new to Linux/Centos world, is there any way to set the permissions on all the files and folders within a directory. I know chmod 777 will set permissions on the directory, but if it already ...
-2 votes
0 answers
29 views

Control Web Panel hostname SSL issue

I have CWP installed. I have my domain example.com created as account and I have installed an SSL to it ( a valid one from sectigo) I have added a hostname as hostname.example.com and I have also ...
0 votes
0 answers
24 views

centos 7 libfreebl3.so file too short during boot

I boot my centos 7 in normal mode and when I try to login without asking password says login incorrect, after I boot in single mode and in boot log I see this error on during boot: /usr/sbin/sulogin: ...
  • 33
1 vote
1 answer
47 views

no python38 pkg found for centos 7

I have CentOS 7, Is there any option how to install python 3.8 on CentOS 7 ? Looks that no pkg found in all repos. So only option is to compile from source ? Why is not supported in EPEL... ? yum ...
  • 155
0 votes
1 answer
42 views

Limiting CPU usage of Mariadb proccess doesn't work

I'm building a server that runs Mariadb 10.5, apache, nginx and PHP-FPM. The server have 16 cores and 32GB Ram. This server suppose to work under load, but it doesn't because Mariadb is using 1500%, ...
  • 1
0 votes
0 answers
123 views

Why I got the error: %pre(MariaDB-server-10.9.3-1.el7.centos.x86_64) scriptlet failed, exit status 1?

I tried to install mariadb-server on my Centos 7 server by following commands: def install_mariadb(distributor, release, host, maria_version, root_password): galera = 'galera-3' if ...
0 votes
1 answer
15 views

Sudo: Using arguments in /etc/sudoers.d/ file, particularly with mount (visudo rejects syntax)

I have a syntax wrangling problem with sudo that may not be solvable. I know I know, OpenBSD's new doas is better than sudo, but it is not available on CentOS 7 or Rocky 8. So we're stuck with sudo ...
0 votes
0 answers
135 views

CentOS7 Remi-PHP81 Followed steps. PHP command not found

Trying to install and enable PHP in a CentOS VPS. Found repository information from Remi's RPM Repository - Configuration wizard. Followed steps to install and enable PHP81. But php -v gives command ...
  • 1
0 votes
0 answers
36 views

CentOS 7 - disable all services, except ssh and networking

This is a follow up question to Disable all services, except ssh. I want to achieve the same thing on CentOS 7 but I'm having trouble getting it to work. I've created /usr/lib/systemd/system/...
0 votes
0 answers
91 views

Why can't I connect to the OpenVPN server from Windows client to Centos VPS even though the VPN server is running?

I set up a OpenVPN Server on Centos 7 and it is running perfectly. However, I could not connect to it from Windows 10 client and receive errors below: Fri Oct 7 21:10:32 2022 TLS Error: TLS key ...
  • 103
0 votes
1 answer
62 views

Getting OpenVPN server status failed after fully configuration on Centos 7 VPS

I am going to setup a VPN Server on Centos 7 VPS, running as Docker container. However, after installing OpenVPN and configuring it, I see the server status failed: This is my server.conf file: port ...
  • 103
0 votes
0 answers
46 views

Maintaining same version of kubectl client and server version same in CentOs

Recently we upgraded the kubeadm in of kubernetes cluster. Unfortunately it happened to be both my client and server kubectl got upgraded to 2 different versions. I tried to downgrade, for some reason ...
1 vote
1 answer
42 views

Centos7: Firewalld port 80 not being blocked

Why am I able to telnet to my machine on port 80 when I do not have http or port 80 opened and there are no services listening on port 80? sudo firewall-cmd --list-all --zone=public public (active) ...
0 votes
0 answers
26 views

Multiple Domain not working on nginx node proxy

I have two domain a single gcp instance. I want to run both domain different server block. Create nginx conf with two different server block but is not working properly It behave like load balancer. ...
0 votes
0 answers
33 views

how linux server get updates from another server in offline mode

I have a Centos production server that is offline and can not reach internet because of security reason. but it needs to get necessary updates. I have an idea to connect it to another linux server ...
1 vote
1 answer
45 views

vsftpd interrupting uploas with error 451

From sometime vsftpd crashes an upload of a client almost everyday. Client uploads usually 4 big files (> 1 GB) and a bunch of smaller ones. At least one of these files, usually a big one, is ...
  • 111
0 votes
0 answers
74 views

Impossible to generate or renew any let's encrypt certificates on Plesk Obsidian

I can't create/renew any SSL certificate through Plesk panel with let's encrypt 'cause this error while trying: " Passed 'exception' value must be an \Throwable object " when click for ...
1 vote
1 answer
31 views

Convert JRE to JDK centos7

Hi, I am very new to this but I have a centos7 server with a tomcat9 server running some applications. I have only JRE installed on that server based on the command below: [root@ppappih02 ~]# readlink ...
0 votes
1 answer
46 views

Run Docker Registry behind iptables

I am trying to run a private docker registry on my CentOS 7 VPS which is running httpd apache and iptables. When I start the container, docker run -it -p 5017:5000 --name registry registry, I try to ...
  • 101
1 vote
0 answers
67 views

CentOS 7 with php-fpm renders raw PHP

Summary: My CentOS 7 server with PHP 7.4 fpm is not executing PHP files instead they provide a raw PHP file to the client. In the next section, I will explain the environment. I have set up a minimal ...
  • 23
2 votes
1 answer
210 views

what is best config for php-fpm and nginx with this server?

I have a server with following specs and was wondering what's the best config I can set for nginx and php-fpm? RAM: 96GB CPU: 48 Cores SSD: 200GB OS: Drupal Daily users: 52k to 55K PHP: 7.3 Mysql: 8.0 ...
1 vote
1 answer
199 views

CentOS 7 - Not Getting IP Address After Reboot

I can't quite seem to figure out why. Seems very odd. Setup; DHCP/Static IP Managed on Router/Firewall VM with CentOS 7 Installed that ultimately gets IP address from above Seems that whenever I ...
0 votes
0 answers
286 views

nginx display empty php page directory index of "/usr/share/nginx/html/" is forbidden,

i am trying to use directly nginx in centos control panel without apache in centos7 now i get this error *1914 directory index of "/usr/share/nginx/html/" is forbidden, but when i ...
0 votes
0 answers
25 views

SSH fails to connect after adding HWADDR to ifcfg- + reboot. Why is it? Hetzner dedicated server + Centos 7

I am following very clear Hetzner guidance and put the MAC Address (HWADDR) to the relevant ifcfg. scr: https://i.imgur.com/nURBAT3.png Right after I save the MAC address (issued by Hetzner, when ...
  • 11
0 votes
0 answers
92 views

Where is my DNS configuration defined on Centos7+NetworkManager?

I cannot find my DNS configuration definition on Centos7+NetworkManager : $ cat /etc/centos-release CentOS Linux release 7.9.2009 (Core) $ cat /etc/resolv.conf # Generated by NetworkManager search ...
  • 277
0 votes
0 answers
17 views

CentOS 7.9 - Moving /var to another LVM causes PolKit to stop working?

We've created a new Physical Volume, Volume Group and Logical Volume (pvcreate, vgcreate, lvcreate) and we've formatted using xfs to keep things the same as the existing setup within CentOS 7.9. The ...
  • 101
0 votes
0 answers
18 views

Trouble understanding how to have Icinga2 report/monitor/alert on disk space for hosts

I have a hard time understanding what goes where for Icinga2 monitoring. I finally have my hosts being monitored for if they are alive and email (daily) getting shot off if the status changes: object ...
  • 67
0 votes
1 answer
16 views

Which files/directories are needed when replicating Apache installation on CentOS?

I'm replicating an Apache installation to a new server in a different data centre. I installed the same version of Apache on the new server and would like to copy all the relevant files from the old ...
0 votes
1 answer
188 views

How to use WebP images on Apache behind an Nginx Reverse Proxy

My problem is that I have a CentOS Web Panel: Where I have an Nginx Reverse Proxy running on port 80/443 which is forward the requests to Apache 2.4.52 on port 8181. The modules that Apache uses are: ...
  • 101
0 votes
1 answer
29 views

failed to open /etc/userdomains for linear search: Permission denied (euid=1000 egid=1001)

Here my autoresponder in centos is not working can anyone help me with it. 2022-07-20 09:50:10 1oE6LK-00A004-0j ** alkesh@204.compilor.com R=userautoreply T=userautoreply: Expansion of "${if def:...
0 votes
0 answers
61 views

switched over to cloudflare, slow mysql database

I changed over my domain to cloudflare free last night and outputs from the mysql database is really slow. Getting anything in the database is going fast but if someone user presses any link on a page ...
0 votes
0 answers
116 views

Slow ssh connection establishement in the same LAN

Hi, connecting to some SSH Linux servers on the same LAN takes about 10 seconds : me@PC-A $ time ssh X.Y.Z.T : Warning: Permanently added 'X.Y.Z.T' (RSA) to the list of known hosts. real 0m10.168s ...
  • 277
0 votes
0 answers
204 views

Unknown kernel command line parameters "BOOT_IMAGE=/vmlinuz-5.18.11-1.el7.elrepo.x86_64", will be passed to user space

on centos 7 after upgrading the kernel to version 5.18.11 I observed the below message in /var/log/messages Unknown kernel command line parameters "BOOT_IMAGE=/vmlinuz-5.18.11-1.el7.elrepo.x86_64&...
  • 111
1 vote
1 answer
29 views

Is there such a tool on CentOS/SELinux to monitor incoming HTTP/HTTPS traffic the way Ngrok displays it?

I really love how ngrok displays the incoming connections to a server with the response. Is there such a tool (either to install or native) on CentOS/SELinux that would display some info? I found a ...
0 votes
0 answers
38 views

K8s multicluster: 3 node(s) did not have enough free storage

I am trying to setup K8s multicluster setup and its not installing required pods which is throwing below error. Since I am new with K8s could any one help to troubleshoot the issue. Events: Type ...
0 votes
1 answer
172 views

Centos 7.8 /var/log/messages fills the disk

I have a VM that works on the Azure cloud. It is Centos 7.8. The problem which I have is related to the /var/log/messages file. It works for several days without an issue. Then, the "messages&...
0 votes
1 answer
36 views

Files can't be uploaded on Google cloud after deleting user folder

I'm using CentOS 7 on Google Cloud. I deleted accidentally the folder with my username, /home/username, that folder was used for uploading files via Google SSH. I've created a folder with the same ...
1 vote
0 answers
25 views

Spacewalk kickstart installation does not automatically begin until the enter key is pressed

I am trying to automate the linux installation process using Spacewalk 2.10. Everything else seems to be working, except I have to select the boot option by manually pressing the enter key. Otherwise, ...
0 votes
1 answer
693 views

Which DHCP is assigning IP addresses to WSL machines?

I run CentOS 7 inside WSL on Windows 11. My WSL IP is: [root@rbarak ~]# ip addr | grep eth0 6: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 inet ...
0 votes
1 answer
309 views

Bind DNS Server wont start

I'm currently running a VPS with CWPPro and my BIND DNS wont start. It gives this errors. Any ideas? named.service - Berkeley Internet Name Domain (DNS) Loaded: loaded (/usr/lib/systemd/...
  • 1
0 votes
0 answers
51 views

CentOS7 not using available ciphers for a handshake

The setup is: 3 VMs running CentOS7, Openssl version: OpenSSL 1.0.2k-fips 26 Jan 2017 One of these VMs hosts a nginx reverse proxy container, which is a front for Octopus server conatiner. When I ...
0 votes
0 answers
15 views

Apache shows 404 but on localhost Spring app works

I've installed Tomcat 9, Apache httpd 2.4.6, and Let's Encrypt for SSL, on Centos 7 on the Google Cloud instance. It's the second time I'm doing this configuration so I was using the similar ...
0 votes
0 answers
118 views

Proftpd "Can't open PID file /run/proftpd/proftpd.pid (Yet?)"

I'm currently running into the following error with my Proftpd install: Can't open PID file /run/proftpd/proftpd.pid (yet?) after start: No such file or directory However when I run ls /run/proftpd/ ...

1
2 3 4 5
59