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,663
questions
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
61
views
Why my OpenStack deployment with Packstack consumes a lot of memory [closed]
I hope I'm in the right place to ask.
I am in a virtual machine on VMware Workstation with CentOS 7 Minimal installed, I have assigned to my VM 4 Processors and 8 GB of RAM, everything is fine at the ...
0
votes
0
answers
28
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 ...
0
votes
0
answers
30
views
When I install nginx on a new CentOS machine, the default nginx page does not load
I have installed nginx on the machine using yum repository. The firewall ports 80 and 443 have been opened and when I try to access the default nginx configuration in the browser using server IP ...
0
votes
2
answers
54
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
31
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
42
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....
-1
votes
0
answers
34
views
pcap_inject fails with error "No buffer space available" on CentOs
I am creating an application where I am sending packet to network port / veth port with pcap_inject(). It was working few days back but now it started throwing error as "No buffer space available&...
2
votes
1
answer
282
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
46
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
31
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
66
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
25
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
218
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
50
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
91
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
45
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
33
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:...
1
vote
1
answer
131
views
Failover load balancing by iptables is possible?
I'm playing around with iptables in my home lab. My first goal is to take my active directory communication into one load balancing virtual IP. I used prerouting chain to do that. For testing purposes,...
0
votes
1
answer
24
views
Notifying an administrator when mail-server wasn't able to upload logs to ftp-server - if condition is failing
I am currently working on a solution, that would notify me whenever my mail-server isn't able to transfer files to my ftp-server. (Right now my logs get rotated once per night and immediately uploaded ...
0
votes
0
answers
140
views
CentOS 7 SCL (Software Collections) abandoned?
There is a difference in version between httpd24-httpd installed with Software Collections on CentOS 7.9 and httpd24-httpd installed with RHEL (Universal Base Images).
CentOS 7.9
yum install centos-...
3
votes
2
answers
755
views
How to automatically change the name of a file on a daily basis
I am new to Linux/CentOS and right now I am running into a little problem.
My CentOS7 Server logs all Maillogs, via Logrotate, on a daily basis and moves them to the folder /var/log/old_maillogs. ...
3
votes
1
answer
316
views
Cross domain authentication with transitive forest trust for linux
I have two domains -- one for dev and one for corp.
I can join a Windows machine to the dev domain and login as a corp user because of the transitive forest trust. I can join a Linux machine to the ...
0
votes
1
answer
176
views
Clients of a site are getting SSL_ERROR_HANDSHAKE_FAILURE_ALERT (Firefox) and ERR_BAD_SSL_CLIENT_AUTH_CERT (Chrome)
I'm running a site in AlmaLinux 8.8 (Centos) and Apache 2.4.56.
The site has a self-signed certificate.
When I access the site, I get the usual warning due to the self-signed certificate. After ...
0
votes
0
answers
63
views
Connecting to another server by bash script
On server A I have a script in bash with a conditional. If the conditional is true, a connection is made to server B and httpd is reloaded. The script runs in cron and everything works correct.
I don'...
0
votes
1
answer
230
views
Looking for CIS Benchmark script for CentOS 7
I am not sure this is the right place to ask this. I apologize if it is not.
I have few CentOS machines that is running 7.7 version. And I need to do a CIS benchmark for finding any vulnerabilities. I ...
1
vote
1
answer
413
views
Leapp upgrade : no matches found for the following disable plugin patterns : subscription-manager
I’m trying to elevate from CentOS 7.9 to Alma8. I’m following the official guide, but I’m stuck at leapp upgrade. I have the following error :
STDERR:
No matches found for the following disable plugin ...
0
votes
0
answers
31
views
PHP Error waiting on socket
I'm getting problems with ssh2 and fread php function that started on a few days.
On the apache error log show:
ssh2_connect(): Error starting up SSH connection(-9): Error waiting on socket
fread(): ...
0
votes
0
answers
132
views
Centos show me "Cannot find a valid baseurl for repo: base/7/x86_64"
Hi, i have a issue, when i type in Centos 7 "yum update" show me next error
Loading mirror speeds from cached hostfile
One of the configured repositories failed (Unknown),
and yum doesn't ...
1
vote
1
answer
792
views
How to manually validate the signature of an rpm file
What I need
A way to get an asc file containing the signature from an rpm file.
Why I need it
I'm running into the issue described in this Reddit thread, where Chrome installed from https://www.google....
0
votes
0
answers
48
views
CentOs fstab mounted cifs folder is empty
I have a folder on my nas mounted in my fstab:
//192.168.1.4/datarr /mnt/datarr cifs username=plex,pass=mypw,uid=1000,gid=999,nobrl 0 0
This was working fine before. Verified in terminal and also ...
0
votes
0
answers
15
views
Cento OS + Direct Admin, how can I set a Forwarder to allow :fail: for a specific email address?
I'm in need of creating a forward that will return an error message to whoever sends a message to an email address, the only problem is that I don't know how to that for specific emails and I haven't ...
0
votes
0
answers
157
views
How to deploy nextjs app using pm2 on cent OS 7.9 server?
I am facing trouble in Cent OS though.
I install nginx using yum install nginx
Now the folders in nginx were missing, so I created sites-available and sites-enabled.
Then edited /etc/nginx/nginx.conf ...
0
votes
0
answers
37
views
Optimizing CPU and Memory use on Multi-socket NUMA server
I am building a server that will be used by interns in my company to connect to and perform some tasks. The server is running AlmaLinux 9 and using KVM to run Windows 11 guests.
The server has 2 CPU ...
0
votes
1
answer
165
views
Non-valid paths in "multipath -ll" output
I see paths that are no longer valid along with valid ones. How do I prevent them showing up in the output. I expect four valid paths.
The volume was earlier exported with LUN 13 and later 14 which ...
1
vote
0
answers
220
views
cannot join to master node using kubeadm join
I am trying to set up a kubernetes cluster and running this command on my worker node
kubeadm join server:port --token xxx --discovery-token-ca-cert-hash sha256:xxxx
and the error i have is
Found ...
0
votes
2
answers
264
views
cannot download calico on kubernetes cluster
I am trying to set up a kubernetes cluster on centos, and installing calico is one of the steps.
My control plane is ready, but coredns are still pending.
From the internet, i got the below command to ...
1
vote
1
answer
380
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
234
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
39
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
38
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
51
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
36
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
30
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
46
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
53
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
55
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
1
answer
512
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
26
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
98
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 ...