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.
10,678
questions
0
votes
0
answers
14
views
Deploying Openstack without internet access on CentOS Server
I want to deploy openstack on a CentOS server without internet access. I am really confused please help me if you know how I can do it.
These are a few options:
create a vm on another system with ...
0
votes
0
answers
26
views
Centos Network Manager -nmcli How to revert to previous status of network or remove properties of network?
I'm a newbie in network, so please understand me.
I have a bond network, but I added a bridge network to the bond as master using
nmcli con modify bond0 master br0
but after that, I lost IP address ...
0
votes
1
answer
44
views
imagick extension php loaded in command line but not load in httpd
I have installed imagick extension for php by command: pecl install imagick
After that, I restart httpd and restart php-fpm.
I checked imagick loaded in php command line but when use phpinfo() for ...
0
votes
1
answer
124
views
Cannot ssh into my vps ipv6 ip : Network is unreachable
The dashboard of my hosting company regxa provides me with a root password and ipv6 address to my CentOS server, no ipv4
I have tried using both putty and ssh cmd in my linux machine to connect to the ...
0
votes
0
answers
31
views
java.net.SocketException: Too many open files error in java 8 and wildfly
We are using wildfly 8 with jdk version 1.8 in centos stream 8 for our application. Recently we have been facing like application stop responding and on same time we found "Caused by: java.net....
0
votes
2
answers
75
views
Debian 12 higher disk activity than CentOS 7
We are in process of replacing our CentOS 7 boxes to run using Debian 12 and have noticed that the overall disk activity on the same server with the same processes running is significantly higher with ...
0
votes
0
answers
77
views
getting an error that my dnsl has no records
here is my code im so lost any help is greatly appreciated
$ORIGIN centos.local.
$TTL 86400
@ SOA dnsl.centos.local. hostmaster.centos.local. (
2001062501 ; serial
...
0
votes
2
answers
176
views
Unable to SSH VM instance after OS upgrade & reboot of VM instance in GCP
My VM instance was on CentOS 7
I recently attempted upgrading that to Almalinux 8 using below link
https://wiki.almalinux.org/elevate/ELevating-CentOS7-to-AlmaLinux-9.html#migrate-centos-7-to-...
1
vote
4
answers
161
views
OpenSSH Requires Password AND Public Key!
I've inherited an old CentOS-6 system with OpenSSH 5.3 installed. And OpenSSH is behaving oddly: Currently the daemon requires the use of a public key and a password in order to login. (It's been this ...
0
votes
1
answer
39
views
Centos 7 - where else to look for a difference in network setup
I have 2 Hetzner dedicated machines with public ip4/28 address ranges.
Both were working with Centos 7.8, vagrant and Virtualbox - I could create vms with public IP addresses.
I wiped one and set it ...
0
votes
0
answers
8
views
Screen recording with gst-launch-0.10 on CentOS 6.7 + Gnome 2.28
I need to make short videos (1-2 minutes long) capturing the screen. Unfortunately I cannot install new software on this machine, so all I have is gst-launch and gst-launch-0.10 (of course, together ...
0
votes
4
answers
136
views
NGINX Reverse Proxy configuration not working
i have a Nginx Front End Server running on Centos9 on 10.0.100.6 and different docker Containers in the backend.
The docker container working fine i can acess them ez via port number BUT my nginx ...
1
vote
1
answer
81
views
Dual Xeon E5-2683v4 128GB 2x1TB SSD with 10 Wordpress Sites So Slow
I have 10 wordpress sites that is joined into a dedicated server. The main problem it gets slower than before. I have no idea why. I am trying to use top
top - 04:05:52 up 123 days, 2:38, 1 user, ...
0
votes
1
answer
80
views
Convert IPv6 from the compressed/short format to expanded format
When I execute the command ip address show my server shows hundreds of IPv6 that I have assigned to it. It works great, however the leading and trailing zeros are omitted from the IP addresses, and ...
0
votes
1
answer
51
views
Use `nmcli` to add `IPV6ADDR_SECONDARIES`
In my CentOS server, for compliance reason, I cant directly access the file /etc/sysconfig/network-scripts/ifcfg-eth0 but I can use nmcli to configure that file.
My problem is that I need to add this ...
0
votes
1
answer
48
views
I keep receiving login attempt to my server until it gets down
I have a Centos7 server and after years of correctly working, yesterday it started to being unreachable (The server apps I have there were not rechable, the SSH connection gave timeout, etc but the ...
-1
votes
1
answer
90
views
how to sync /home directory in Linux (centos)
How can I keep in sync my /home directory on two different systems?
I found something like unison, but it is no longer in the repositories of centos9.
Are there other possible solutions?
The ...
0
votes
1
answer
87
views
Syslog-ng Syslog Format to JSON Format are there pre-requisite?
My first time posting to Stack Overflow. I apologize if I am re-asking a question. I tried to search but nothing is really clear about what I'm trying to understand.
Do I need to configure additional ...
0
votes
0
answers
31
views
which Linux operating system will go for long term usage [duplicate]
Looking replacement of centos7
centos7 will expire on 30Th June 2024. so I am looking alternative like RHEL9. I dont know why, but rhel usage is low?
-1
votes
1
answer
105
views
Start ssh tunnel on server startup
I am running Centos stream and everytime after I start my server I have to run this command line:
ssh -L 0.0.0.0:9944:localhost:9922 localhost -N
After running this command, the OS will ask me to ...
0
votes
1
answer
94
views
Need Assistance: XCP-NG Fails to Boot Up After Disk Error
I am seeking assistance with an issue I am facing in my XCP-NG configuration on an HPE DL360 G7 server. Despite using this server for about a year without any problems, I recently encountered an issue ...
-2
votes
1
answer
70
views
Set a specific IP per program in CentOS
I have a VPS with multiple IPs assigned. In this VPS I run some programs that make requests on the network and, for some reason, all the requests use one specific IPv4 of my VPS.
However I have many ...
0
votes
1
answer
136
views
openssl can be found by yum but can't be found by pkg-config
I found openssl is already installed on my server
# yum list installed | grep openssl
openssl.x86_64 1:1.0.2k-26.el7_9 @updates
openssl-libs.x86_64 ...
0
votes
1
answer
387
views
peer closed connection in SSL handshake while SSL handshaking to upstream
I have the below flow
jmeter concurrent api request -> magento-host-server -> magento-container
The below error occurs only during the concurrent requests from apache jmeter of testing team are ...
0
votes
0
answers
239
views
"none of the providers can be installed" when I ran "sudo yum -y install nvidia-driver-latest-dkms"
I want to install NVIDIA Driver. I ran sudo yum -y install nvidia-driver-latest-dkms, but I got the following problem:
Error: Problem: package
nvidia-driver-latest-dkms-3:545.23.08-1.el7.x86_64 ...
-2
votes
2
answers
60
views
List the top 10 io usage
How can I print/capture the top 10 io usage? I'm using the iotop -o | head -n 11 but the output keeps changing. I wanted to capture the first output after running it.
Thank you,
0
votes
0
answers
45
views
Linux server management debian 10 and centos dhcp service host-name based Client Classing
I want to allocate a client's IP address based on the host-name provided by the client, but the results are often unpredictable.
I have tried to imitate the Client Classing in dhcpd.conf(5) by ...
0
votes
0
answers
588
views
Centos Stream 9 dnf yum upgrade error
When trying to upgrade Centos Stream 9 from terminal I get the error about weak SSL certificate, below is the output from terminal
$dnf check-update
CentOS Stream 9 - BaseOS ...
0
votes
0
answers
30
views
Configure a server to act as an internet gateway [duplicate]
I have two virtual servers hosted in Hetzner Cloud. The first server (let's call it Access Server) has a Public IP assigned and has internet access. The second server does not has a public IP assigned ...
2
votes
0
answers
103
views
Fix kickstart drift between CentOS 8 Stream behavior and CentOS 9 Stream behavior
I'm facing a weird situation on one of my server on the provisioning process.
Here is the machine HW Model:
HPE Proliant DL365 Gen 10 Plus with 6x 1.9TB SATA 6GBps SSD disks.
What's going on:
When I'm ...
0
votes
0
answers
50
views
What is the equivalent of /etc/apache2/envvars in EL-based systems?
In Debian-based systems, it's possible to source a bash script in /etc/apache2/envvars to dynamically set an environment variable. Here is an example:
Create a file (/etc/profile.d/myenv.sh) with the ...
0
votes
0
answers
126
views
CentOS - Apache MaxRequestWorkers issue
I've had a problem with Apache since this morning, I can no longer access the websites.
I get the error: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
I'm ...
0
votes
0
answers
32
views
Installing CentOS and Windows Server on the Hypervisor [duplicate]
Hello Server Fault community,
In our company, we are planning to install an ERP system, and the system provider has specified the following server requirements of the application:
CPU: 1x CPU Intel ...
0
votes
0
answers
62
views
session logging on CentOS stream
I had a Centos 8 installation with a working session logging setup (sssd, tlog). On any ssh login to the server the session was logged and sent to a syslog server. All the logins are local logins (/...
0
votes
0
answers
47
views
How to initialize cockpit on CentOS8?
I am trying to access my public IP of the EC2- box on port 9090 to access centOS8 cockpit but I am unable to get to my centOS8 cockpit.
My security group from the server is Security group
This is what ...
0
votes
0
answers
42
views
Centos :: Can't delete file with "rm" under "/", operation is not permitted [duplicate]
I have a CentOS server.It has been hasked.There are some malicious file under "/", like "/11db32e5", the AV scanner say it is a "HackTool/Linux.CoinMiner.n". But i cannot ...
0
votes
0
answers
35
views
All .PHP pages give 5x error in nginx
I followed this guide to install Nginx and PHP on a CentOS server. I am able to do things like php --version and even use the interactive shell. But inside of /usr/share/nginx/html/, I make a PHP file ...
1
vote
1
answer
81
views
Backup server for several servers with yesterday's files
There are several servers under CentOS with PHP projects, and the task is to make a server (or servers) for them to store yesterday's versions of uncompressed files of all projects from all servers, ...
0
votes
0
answers
63
views
How to prevent ethernet issues after command line shutdown in CentOS7?
I'm running into a frustrating issue with a system running CentOS7. There's an Intel NIC (Intel Corporation Ethernet Connection (2) I219-LM (rev31)) which, when working, provides a 1000Mb/s connection....
0
votes
0
answers
64
views
Nat Local subnet to another gateway centos7
hi i have a centos 7 with ocserv and iptables installed
i wanted to route all OCserv teraffic to ip tunnel (which established and reachable)
my Server ip is 172.10.1.1
My OCSERV Users Subnet is : 192....
2
votes
1
answer
852
views
Samba share not accessible to client in the same network
Two servers in the same network, a
Windows server (client), and a
Linux server (samba share host)
The shared folder can be seen by the client but not accessed. See below for the configuration:
smb....
0
votes
1
answer
68
views
CentOS 7: Postfix logs got cleared when running history -c. How can I investigate what happened the day the log was cleared?
By default, running history -c has no way of also deleting /var/mail/maillog, right?
How can I investigate what happened the day the log was cleared, or (by definition) when the new maillog was ...
0
votes
0
answers
191
views
Pgadmin4 - 500 Internal Server Error
I am a new user of PostgreSQL. I have installed PostgreSQL 13 on the CentOS 8 server and configured PGAdmin4 in both the web UI and desktop UI modes. The installation was successful and Desktop UI is ...
1
vote
1
answer
208
views
CentOS 7 kickstart file, add entry to /etc/hosts
I have a CentOS 7 kickstart file working quite nicely, mostly. The %packages section fails because I need to add an entry to /etc/hosts to point mirrorlist.centos.org to our internal company repo. I ...
0
votes
1
answer
58
views
Map dev notation to logical volume name
I need to figure out what dm-2 or dm-0, etc. is (this notation is found in dmesg notices, sysstat reports, etc.) and lsblk is not installed
I find lvdisplay output a little bit confusing.
Can someone ...
0
votes
0
answers
586
views
how to setup socks5 proxy server on centos9 for network access behind firewall?
I need a socks proxy on centos 9, to access services from an (internal) network behind a firewall.
It should be a socks 5 proxy (dynamic port forwarding) that can only be used by the configured ssh ...
0
votes
1
answer
54
views
Using custom nameservers
In Godaddy I have a domain example1.com and www.example1.com with valid A record to my Centos 7 server's IP.
I 've created hostnames for that domain, ns1.example1.com, ns2.example1.com with the same ...
-3
votes
2
answers
111
views
Creating/Configuring a DNS server with runtime configuration [closed]
I have a big Windows video/audio application that may be controlled remotely over a web server. For that, I can listen to a local port in a, say, 192.168.1.10 system to port 8000, forward the port via ...
0
votes
0
answers
53
views
system load spikes causing php-fpm pools to fill and cause micro outages
kind of at my wits end at this point and looking for some help.
2 physical Web servers
CentOS
NGINX
PHP5
php-fpm
2 physical DB Servers
CentOS
NGINX
elastic search
zookeeper
couchbase
as user load ...
0
votes
0
answers
128
views
SSSD LDAP CONFIGURATION
I am trying to configure ldap on port 636 on a redhat server. Right now, when I try the following command :
netstat -antup | grep -i 636
I get
tcp 0 132 IP_ADDRESS_1:40670 XX.XX.XX.XX:...