Questions tagged [centos]
CentOS is a discontinued free (as in beer and speech) GNU/Linux distribution that was community driven and based on source code released from RedHat.
10,694 questions
0
votes
0
answers
15
views
CENTOS linux SElinux mls mode.. root user.. root user does not have permissions [duplicate]
root user does not have permissions. SElinux mls mode is active
The system is completely out of control. Information cannot be accessed.
file structure and permissions are disabled..
drwxr-xr-x. 7 ...
0
votes
0
answers
41
views
selinux mls mode took away all my root powers
SElinux mls mode took away all my root powers I do not have all root user privileges and I cannot disable SElinux. I cannot run SElinux commands.
[root@design var]# setenforce 0
setenforce: ...
0
votes
0
answers
22
views
Can I see how package configurations (CentOS/Ubuntu) are made for prebuilt packages?
We're facing long login times with sssd + ssh since we changed our default Linux to Ubuntu 2x.04 LTS Server. The configuration files are identical. With CentOS 8.5 it takes 1-4 seconds. With Ubuntu it ...
1
vote
0
answers
68
views
Reverse Proxy DolphinDB through Nginx
I am trying to set up a proxy for my dolphindb port 8902. The http part seems working. However, I got error message when the javascript tries to establish a websocket connection: ...
0
votes
0
answers
78
views
MariaDB Corrupted page identifier crashes randomly setting innodb_force_recovery=1 resolves it
This is the first time I've experienced this particular problem so looking for some help in resolving it.
I run a Centos 9 Stream server running MariaDB for my Laravel 11 project, a few hours ago the ...
0
votes
1
answer
83
views
Partitioning Rocky Linux 9 on AWS ec2
I have a strange issue while working with partitions on my Rocky Linux 9 (non LVM) EC2 instance on AWS.
GOAL: I would like to enlarge a little (5GB) my ebs in order to create a new partition and a new ...
0
votes
2
answers
167
views
httpd.service entered failed state
we are experiencing some weird issues with the httpd.service, it doesn't start
Please let me know if you know by any chance how to resolve this issue
Failed to start the Apache HTTP Server/ job for ...
0
votes
1
answer
48
views
How to setup NAT gateway with Centos 7 for Private server can access internet [closed]
I have the following system diagram:
Internet --> NAT gateway server (server 01) --> App server (server 02).
NAT gateway server can access the internet.
Server 01 and server 02 can ping each ...
1
vote
1
answer
157
views
Coredump file not generating
Suddenly my postgresql service started crashing for some reason.
I wanted to generate coredump file but file is not generating.
I set: "ulimit -S -c unlimited", also added line "*soft ...
0
votes
0
answers
89
views
Unable to install kubeadm on centos
Attempting to install kubeadm on my host results in the below error:
[root]# yum install -y kubelet kubeadm kubectl --disableexcludes=kubernetes
Loaded plugins: fastestmirror, langpacks
Loading mirror ...
1
vote
0
answers
112
views
TCP fast retransmit is not working
We have a cluster of 3 hosts (actually an Apache Doris cluster, with the servers transmitting data via a third-party library brpc). When transmitting data between servers via TCP, we often encounter ...
0
votes
0
answers
196
views
Error: Failed to download metadata for repo 'appstream': repomd.xml parser error
when i use yum update i got:
CentOS Stream 8 - AppStream 27 kB/s | 8.5 kB 00:00
Error: Failed to download metadata for repo 'appstream': repomd.xml parser ...
-1
votes
1
answer
6k
views
Reason why a customer's email is rejected
I'm having problems with a client's email being rejected.
For some reason, I trigger one of my server's security policies and it rejects it.
The log is as follows:
Aug 23 09:38:57 mail postfix/cleanup[...
0
votes
0
answers
148
views
error: Failed to initialize NSS library when using yum
i am currently using a centos 7 system, i am aware it's out dated however it will be changed at somepoint, in the mean time whilst doing some maint checks, i did a yum update -y, my ssh then crashed ...
0
votes
0
answers
41
views
Why data is not synchronized between two servers?
CentOS 9
On both servers (prod-nfs-1.corp.domain.local and prod-nfs-2.corp.domain.local) installed: dnf --enablerepo=highavailability -y install pacemaker pcs
The following configuration is performed:
...
0
votes
1
answer
39
views
How to return longest IPv6 formt when using `ip` command on Linux
When I use the command ip address show eth0 my Centos shows my IPs using this format 2600:5c35:e991:92b::3/64 but I would like it to return in this format 2600:5c35:e991:092b:0000:0000:0003/64 which ...
1
vote
0
answers
138
views
Prohibiting the display of attributes of other users in FREEIPA
How can I restrict the viewing of information about other users for a specific user/group on the FREEIPA server? (via user-find or web interface)
1
vote
1
answer
124
views
FleetDM deployment
Has anyone deployed a FleetDM instance locally? I've tried both their (now apparently outdated) CentOS deploy steps and also docker composeing the official image, combined with MySQL and Redis. My ...
0
votes
1
answer
70
views
Dhcp range with fixed Ips
Here I have a DHCP server with some IPs with fixed IPs that are in the range 192.168.1.91-254.
And for the leases only the range 192.168.1.11-90.
But I want to make the lease range bigger can I use ...
-1
votes
1
answer
147
views
cannot yum update i want to install firefox
Errors during downloading metadata for repository 'AppStream':
Status code: 404 for http://mirror.centos.org/centos/8/AppStream/x86_64/os/repodata/repomd.xml (IP: 147.75.93.85)
Error: Failed to ...
0
votes
1
answer
385
views
Failed update : 14: curl#52 - "Empty reply from server" [duplicate]
I try to run sudo yum update but getting error : Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#52 - "Empty ...
2
votes
1
answer
168
views
Samba not starting dependency error (CentOS)
smbd refuses to start.
Giving the command smbd,
I get this.
smbd: /usr/lib64/samba/libreplace-samba4.so: version `SAMBA_4.10.16' not found (required by /lib64/libwbclient.so.0)
smbd: /usr/lib64/samba/...
70
votes
5
answers
94k
views
mirrorlist.centos.org no longer resolve?
mirrorlist.centos.org no longer online?
I can resolve to centos.org but not to mirrorlist.centos.org
Here is the output of my resolv.conf, dig, and nslookup if anyone interested.
rosdi@H-TQ0nmTkQIbRhN:...
0
votes
0
answers
149
views
OS seems to be unchanged after issuing `dnf system-upgrade reboot`
I'm hoping to upgrade from CentOS Stream 8 to CentOS Stream 9.
I've issued these commands
dnf install dnf-plugin-system-upgrade
dnf system-upgrade download --releasever=9 --allowerasing --skip-...
1
vote
1
answer
390
views
How can I upgrade from Centos Stream 8 to 9, now that 8 is EOL?
When I google for this, the walkthroughs I find tend to start with
dnf install dnf-plugin-system-upgrade
Unfortunately, now that CS8 is EOL, that returns
CentOS Stream 8 - AppStream ...
0
votes
0
answers
235
views
kex_exchange_identification: read: Connection reset by peer when deploying to Centos 9 stream
I'm using Deployer PHP v7 to deploy my project to my server into multiple folders (although this isn't specific to Deplyoer)
My server is Centos 9 Stream. I need to deploy my project into multiple ...
0
votes
1
answer
190
views
PHP Unable To Write To Cache Directory
I'm getting the below error on a CentOS 9 Stream server when a request comes in from PHP. It looks like the phpFastCache module can't write to the cache directory.
2024/06/19 10:06:34 [error] 4789#...
0
votes
0
answers
65
views
Restore a FreeIPA DNS system
I use FreeIPA on a server, a Centos Server 8 (a main and replica).
This is used to authenticate system users, for logon purposes by using SSH key authentication, and also hosting DNS name records.
A ...
1
vote
1
answer
126
views
kubectl explain Subsequent entries cannot be automatically completed
kubectl explain Subsequent entries cannot be automatically completed.
System: Centos 7 2009
Executed commands
yum install bash-completion -y
echo "source <(kubectl completion bash)" &...
0
votes
0
answers
201
views
Extract option missing from Files (Nautilus) after upgrade/conversion to AlmaLinux
I recently upgraded and converted my server from Centos 7 to AlmaLinux 8 via leapp, and after upgrading, I noticed that in the default Gnome3 file manager (nautilus), under Centos 7 I could right lick ...
0
votes
1
answer
264
views
Apache reverse proxy 503 custom page not working properly
I am trying to setup a custom 503 error page on my website. I am using this apache configuration.
# Exclude the Maintenance directory from being proxied
ProxyPass /Maintenance !
# ProxyPass other ...
4
votes
3
answers
8k
views
Is upgrading from CentOS Stream 8 to CentOS Stream 9 now straightforward?
I looked into this a while back, and lots of people were saying it wasn't supported, and talking about "hacky" ways of doing it. That was 2 years ago though.
Some googling now suggests it ...
1
vote
1
answer
82
views
Regarding the issue of degraded query performance after upgrading bind9
I would like to ask if anyone has encountered a problem where query performance deteriorates after upgrading the bind version. Here are the performance test results for versions 9.16.49, 9.18.25, and ...
0
votes
0
answers
24
views
Disconnect NIS authentication on SVN server
I have SVN configured to authenticate against NIS, also not sure how it authenticates against NIS.
I want to disconnect the server from NIS and convert it to local authentication.
How this can be ...
0
votes
0
answers
117
views
Docker renders server inaccessible when starting
Docker on Centos 7, using Portainer to manage containers. I created a sonarqube container from YML. When I deployed the "stack" I never had and answer.
Starting docker from console with: ...
0
votes
0
answers
79
views
SSH tunel on Linux
I am creating an SSH tunnel with this command:
ssh -L 0.0.0.0:9944:localhost:9922 localhost -N -p 8844
It works great, no problems. But, for some reason, when I execute this command above in my ...
1
vote
0
answers
76
views
Nasty character encoding issue
I have been using a FOSS software written in perl (sql-ledger) for many many years. Currently self hosted on CentOS 7. For some reasons, I need to update OS to a higher version (preferably Rocky/Alma ...
0
votes
3
answers
371
views
How to copy file from /opt directory in local system to remote system in /opt directory with sudo user
I have redhat machine in this machine having some file under the /opt directory. I want to copy those file in remote machine /opt directory using rsync command. The condition is i'm using admin user ...
0
votes
0
answers
44
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
410
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
715
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 ...
1
vote
1
answer
1k
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
413
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
259
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
87
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
751
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
534
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
93
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
26
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
1k
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 ...