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,662
questions
0
votes
0
answers
19
views
cannot run kubeadm init on centos
I am trying to run kubeadm init on my centos 8 server and I am getting this error
I0609 09:51:54.527931 2575529 version.go:255] remote version is much newer: v1.27.2; falling back to: stable-1.23
[...
-1
votes
1
answer
61
views
What could be causing PowerMTA not to forward emails over port 465 SSL...?
We have a PowerMTA server that receives incoming e-mail. and forward it to external SMTP server that's not running PowerMTA i tried to do it using port 587 and port 25 both working fine and emails ...
0
votes
1
answer
22
views
Cloudmin backup size
we are using Cloudmin under CentOS 7.9. to manage Xen virtual machines that use LVM. It's all backed up once a week (via Cloudmin's built-in backup system, which I think just uses dd). Last week I ...
0
votes
1
answer
34
views
Can openssh daemon count key failures separately from password failures?
Recently the max number of auth for ssh was reduced on some servers at my work from 6 to 3 to comply with new security restrictions. Most of us in IT are seeing "too many failures" and no ...
0
votes
0
answers
36
views
Wrong External IP for Real Server Behind Load Balancer
I have a hardware load balancer with multiple Virtual IPs. ie (3.3.3.3, 3.3.3.4).
Behind Virtual IP 3.3.3.3 I am load balancing several web servers.
Behind VIP 3.3.3.4 I have a mail server running ...
-1
votes
1
answer
19
views
Linux Hostname - SystemD Service File Causing NetworkManager to Fail on Boot
systemd[1]: NetworkManager-wait-online.service: Job nis-domainname.service/start deleted to break ordering cycle starting with NetworkManager-wait-online.service/start
0
votes
0
answers
25
views
How to automate mybb installation using ssh bash script [migrated]
I have created this bash script to install mybb application automatically on Centos stream 8.
SSH Bash script
#!/bin/bash
# Define variables for MyBB installation
DB_NAME=mybb_db
DB_USER=mybb_user
...
0
votes
0
answers
23
views
Find directories not containing subdirectories with today file date
Can you please help me with a bash string for finding and listing only parent directories NOT containing subdirectories with today file date, so i can delete them recursively?
My Env is CentOS and dir ...
0
votes
1
answer
26
views
SVN running on RHEL 8 Authentication issue
Good morning,
I support a subversion server running on rhel 8. The engineers check in/out software builds from a CentOS6 desktop. I need to add authentication to the SVN URL because it's wide open. ...
0
votes
0
answers
21
views
Cron job is wokring fine but new cron logs are not adding in cron log file
i mistakely press wq! in cron log file located /var/log/cron now new logs are not updateing in cron log file i serach many thing like
remove cron file and touch /var/log/cron Steel not updateing
...
-2
votes
1
answer
28
views
Updating Centos 8.0 to Centos 8.3
I need your expert help on how can I update Centos 8.0 to Centos 8.3. I have installed Centos 8.0 using the standard option without GUI. It's a requirement at work. Please help
Thanks & regards,
0
votes
0
answers
27
views
Temporary internal error / Dovecot: Initialization failed status=deferred (host domainname.com
Postfix working properly on port 25.
Getting error while sending mail from outlook 2016. Tried to use Port 110 & 993 & 995.
Mail Log:-
Error:-
status=deferred (host domainname.com[private/...
-2
votes
0
answers
30
views
How to install Postfix admin & Poastfix on CentOS 7 with Nginx and MySQL 5.5
Anyone could you please help me to install Postfix Admin & Poastfix on CentOS 7 with Nginx and
MySQL 5.5 and multiple domains?
Senario:- I want to send & receive mail from multiple domains.
0
votes
0
answers
37
views
Postfix : Relay Access Denied due to proto=ESMTP
I am facing issue in Postfix.
May 4 13:07:18 dedi postfix/smtpd[12708]: connect from unknown[IP Address]
May 4 13:07:19 dedi postfix/smtpd[12708]: NOQUEUE: reject: RCPT from unknown[IP Address]: 454 ...
0
votes
1
answer
68
views
Cloud-init in kvm guests (Debian and Centos) not setting interface settings
Im trying to use cloud-init to setup kvm guests (currently Debian 11 and CentOS Stream 8), and I am looking for help in correcting the meta-data and user-data files.
Everything else seems to work, but ...
0
votes
0
answers
18
views
Web Caching using the SQUID Proxy Server
[enter image description here][1]
file:///C:/Users/moham/Downloads/Documents/IT3010_LabSheet07.pdf
[1]: https://i.stack.imgur.com/pe5iS.png
0
votes
0
answers
18
views
Getting error while sending mail from postfix admin
I am getting below error while sending mail from postfix admin.
[error] 8842#8842: *183397 FastCGI sent in stderr: "PHP message: fsockopen failed - errno: 111 - errstr: Connection refused" ...
0
votes
0
answers
42
views
Nginx 502 Bad Gateway CentOS7, PHP 7.3.33 FPM
I am new on CentOS 7. Trying to install Postfix on centOS7 with Nginx. I am following a tutorial, but I get an error message.
I have a 502 Bad Gateway on my server, http://domainname.com , how do I ...
1
vote
0
answers
53
views
How to change Public Key in Oracle Cloud
I have CentOS running on AMD and Ubuntu running on ARM services on Oracle cloud. Previously, I shared my private key (used for connecting SSH/Putty) with my freelance developer. However, over a month ...
0
votes
0
answers
41
views
GRE tunnel issue
I have 2 linux servers.
I want to use server 1 ip for server 2 as a ddos protection, I have followed a tutorial online which works quite good but there is a small issue. While trying to do curl ...
0
votes
0
answers
71
views
I have a new server but IO Speed is terrible based on FIO results
I ordered a new server because I have to move to higher performance server. However, this new server is totally awful. I tried to get the benchmark by using fio here is the result.
[root@s206716 ~]# ...
1
vote
0
answers
43
views
CentOS getting unusable slow over time running at Hyper-V
I run TWiki 6.1 on a CentOS Stream 9-virtual machine hosted in Hyper-V at Windows10. VMs hostanme is "twiki"
System ran for over a year now without any problems but since some weeks its not ...
0
votes
0
answers
39
views
Replicate mysql database when target server is MariaDB 10.5 (where mysql.user is a view)
I have a sync script that does a mysqldump on the mysql database on a source server, then imports that dump on the target server, followed by privelege flush. Systems are CentOS 7.
In MariaDB 10.5, ...
0
votes
1
answer
57
views
"Timed out waiting for device" & dev-disk-by\x2duuid.swap/service failed with result dependency/timeout?
My server (running Centos Stream release 8) stopped responding to http yesterday evening. I tried to SSH in to it this morning, with no luck, just an empty hung PuTTy screen. I did a automatic reset ...
1
vote
1
answer
170
views
High process memory usage (VmRSS) on rocky 8 vs. centos 7.7 for essentially everything
We're migrating some servers from centos 7.7ish to Rocky linux 8, and we're finding just about every process is using 20-50% more memory, causing machines to lock up.
For example, sh on centos:
# sh -...
0
votes
0
answers
84
views
OpenVPN TLS handshake fails, no log messages
I have set up an OpenVPN server (version 2.5.9) on CentOS (Stream 9) and several clients. Unfortunately, clients always log this error message:
2023-04-14 09:24:21 TLS Error: TLS key negotiation ...
0
votes
0
answers
68
views
Not able to Fetch email in otrs
I am trying to setup a otrs ticketing tool , the tool needs to fetch email and generate ticket, when I am setting that with my google mail account its working however when I am using my professional ...
0
votes
1
answer
949
views
HTTP request sent, awaiting response... 404 Not Found
Little Background:
My main OS is windows 10. I am using vmware workstation pro. I've installed centos 7 on it.
When I try to install either google chrome or mysql,I am getting the above mentioned ...
0
votes
0
answers
87
views
Wierd firewalld block after recent update, Centos Stream 9, blocks icmp replies as invalid state
I am running Centos Stream 9 on VMware. I recently used dnf update and now there is a weird problem that some ping-replies are stopped by the firewalld. If I stop the firewall, ping works ok.
The ...
0
votes
0
answers
24
views
Extending virtual device and then fdisk now gives unknown physical volume on centos 7
I'm trying to extend space on sdb. It was 800G before, I've added 1TB to it, making it 1.8T total (extended the disk from VM's Vmware settings).
Extended the 800G disk with 1TB more making it 1.8TB
...
0
votes
1
answer
194
views
Leapp always fails upgrade: more space needed
I'm trying to upgrade a SL/Centos 7.9 to AlmaLinux with Leap. I followed the instructions here but it always fails with
At least 3178MB more space needed on the / filesystem.
I'm increased the disk ...
0
votes
0
answers
46
views
Compute engine stopped by itself
I did not perform any operations and did not set any auto-stop, but the compute engine stopped on its own.
The logs for the day, which can be viewed from GCP, are as follows.
----------Log below-------...
0
votes
1
answer
112
views
Full disk encryption on CentOS 9 Stream with TPM2 decryption at boot time
I'm working on provisioning a server that requires full drive encryption and I want to automate the process of decrypting the drive at startup using the TPM2 module available on the motherboard, but I ...
0
votes
1
answer
46
views
Yum command to find files that an RPM will deploy
On Ubuntu/Debian you can run
apt-file list nginx-core
and you will get a list of all the files that a package will deploy when installed.
How can I achieve this in RHEL with the yum command ?
The ...
0
votes
0
answers
445
views
High CPU usage by ksoftirqd
We use GCP for running Kubernetes and for communication with our services in different locations using VM masquerading by iptables. The first time we faced an issue with performance when we use only ...
0
votes
0
answers
103
views
How to diagnose out of space errors?
Twice I've noticed out of space errors in my php app and both times I've received the error "No space left on device while writing config" when attempting to login via ssh to troubleshoot ...
0
votes
0
answers
63
views
How to resolve NXDOMAIN in centos using bind/named package
I am trying to configure DNS server on centos 7. I am following this link.
when I run dig -x 192.168.40.107 I don't receive any answers record. here is output
; <<>> DiG 9.11.4-P2-RedHat-9....
0
votes
1
answer
134
views
Emails delivered, but no where to be found
I have been working on this for 2 days now and am desperate for some help.
Postfix & Dovecot
CentOS Linux release 7.9.2009
Plesk 18.0.50
For the most part emails are flowing into the server ...
0
votes
0
answers
58
views
I cannot get environment variable from apache
On a Centos 8, I added a SetEnv into my VirtualHost conf:
<VirtualHost *:XXXX>
Alias /static/ /opt/industrialisation/xxxx/xxxx/xxxx/
<Directory /opt/industrialisation/xxx/xxxx/>
...
0
votes
0
answers
24
views
DNS resolution using a VM under libvirt
I have a Fedora 36 laptop with libvirt configured and run free-IPA server, based on CentOS 8 as a virtual machine. The IP address of this IPA server is 192.168.122.20 and my host laptop has an IP ...
0
votes
0
answers
116
views
why SUnreclaim in slab cache grow extremely high but can be greatly free up through drop_caches?
We observe extremely high slab memory usage on a long running CentOS7(mount Lustre) server. With total 187G RAM, the slab cache used 110+G and most part is SUnreclaim.
Since slab = SUnreclaim + ...
3
votes
0
answers
180
views
Unable to su or ssh as anyone but root on CentOS 7
I seem to be unable to ssh or su as a local user on my CentOS 7 machine as of today.
$ adduser ndejay
$ passwd ndejay
Changing password for user ndejay.
New password:
Retype new password:
$ su ndejay
...
0
votes
0
answers
69
views
Unable to Write, Permission denied
As an apache user, I was trying edit some files owned by a different user, lets call it docroot
drwxrwxrwx 2 docroot docroot 327 Feb 15 20:34 .
drwxr-xr-- 53 docroot docroot 8192 Jan ...
0
votes
0
answers
24
views
Install OpenShift on RedHat or Centos? whitout paying
I need to create a POC using OpenShift, if I use a machine with Red Hat I need to have a subscription? it is posible to do it without paying?
and if is not possible, can I use CentOS to do the same ...
0
votes
0
answers
310
views
xfs corruption metadata after reboot
I had a problem on a RAID1 with 4 disks. We replaced the faulty disk and restarted the server, the rebuild was done, two linux centos 7 machines did not come up accusing error of xfs corruption. Other ...
2
votes
1
answer
122
views
Why does xinetd try to close file descriptors on startup?
I have xinetd running inside a docker container (base image centos:7) on a rockylinux 9 host machine.
On starting xinetd service in the docker image, it appears to hang. So I used strace, and found ...
0
votes
0
answers
21
views
What is use of multiple ip addressing for active bond in centos
I have created active bond in centos Virtual machine by bonding two NICs and they were on same VMnet switch, I am having difficulty to understand what will be the use of multiple ip addressing for ...
2
votes
2
answers
573
views
Redhat phantom out of memory issues
We have a server that runs various headless applications, such as Java. It processes to stream data, daily python scripts, etc. From time to time some of our applications get out of memory errors.
The ...
0
votes
0
answers
30
views
Samba: shared directory is accessible, but shared NTFS drive - not
I have Samba server installed on a CentOS 9 Stream machine and I am trying to share an external USB HDD, formatted in NTFS. This is my /etc/fstab record for mounting it:
UUID=880AFE920AAB7B8E /home/...
0
votes
2
answers
162
views
df -h --total command showing wrong total disk size
I have 512GB attached to my linux centos 7.9 server I'm trying to know how much total disk size used from overall disk size from inside the server
I tried to use df -h --total command to show the ...