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.

Filter by
Sorted by
Tagged with
0
votes
0answers
32 views

Swap being used when not necessary

I have: vm.swappiness = 1 as suggested here to prevent using Swap when there is plenty of available memory. (0 would completely disable swap, as far as I understand) In frequent cases, I end up with, ...
0
votes
0answers
19 views

subscription-manager fails with error “'NoneType' object has no attribute '__getitem__'”

when i want to register my redhat machine . i get this type of error. [root@client ~]# subscription-manager register Registering to: subscription.rhsm.redhat.com:443/subscription Username: saiful31 ...
0
votes
1answer
33 views

Decrypt file for specific session in CentOS 7

I am looking for a way to encrypt my file that can be decrypted for the current terminal session. The moment we exit the session, it gets encrypted again. A use case for this scenario would be: Let's ...
0
votes
0answers
9 views

Exim : how to exclude specific domain from smarthost?

I have this configuration on Exim for using smarthost for non local receiver domains. send_via_aws_ses: driver = manualroute domains = !+exclude_receiver_domains: !+local_domains transport = ...
0
votes
0answers
12 views

Upgrade libseccomp to latest version in airgapped Centos 7 server

I was trying to install docker rpm's in airgapped Centos 7 server and encountered error saying that libseccomp >=2.3 required. --> Finished Dependency Resolution Error: Package: docker-ce-...
0
votes
0answers
8 views

Internal devices cannot access VirtualBox centos guest

My host ( Ubuntu ) can access to the webpage-wordpress running on VirtualBox guest centos8. But the other devices on the internal network cannot. The network setting is Bridged. I added some rules to ...
0
votes
3answers
54 views

How to estimate how long an rsync of 427GB directory comprises of 470k subdirectories and 4476k files would take?

I have a directory that I want to rsync over a 1Gb LAN to another machine. The rsync command is /usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded --rsh=/usr/bin/ssh root@machine....
0
votes
1answer
11 views

Changing SELinux file contexts over NFS

I would like to change SELinux labels on a NFS-mounted shared directory. Here is my setup (using virtual machines): I have two machines running CentOS 7. One of them (the server) exports a directory ...
0
votes
1answer
38 views

CentOS upgrade hosed

I decided to upgrade a remote 'live' server from CentOS 7 to 8. I followed the instructions here https://www.tecmint.com/upgrade-centos-7-to-centos-8/ and got into an endless loop of failures. # dnf ...
0
votes
0answers
39 views

Updated from CentOS 7 to 8 and broke everything

Everything was going smoothly until I decided to run dnf update and saw.. A lot of errors. They were all related to dependencies of things that needed to be installed that had mismatched versions. So, ...
0
votes
0answers
16 views

LVM - Insufficient suitable contiguous allocatable extents for logical volume

I’m aware that the issue has been arisen before, but with different use cases, like extending issues or striped logical volumes Insufficient suitable allocatable extents when extending lvm But, for my ...
2
votes
1answer
53 views

How to implement IP whitelist correctly on Apache 2.4?

I've a website (running on CentOS at Google Cloud, Apache 2.4.37), say it's name is awesomesite.co.id. There are certain pages on that website, e.g awesomesite.co.id/dev123/secret.html which is not ...
0
votes
1answer
41 views

How to rename multiple files by adding word from that file?

I have files : file name: report_2020-10-13-17-11.txt Contain : ... this report was prepared by=John ... file name: report_2020-10-13-17-12.txt Contain : ... this report was prepared by=Doe ... ...
0
votes
0answers
18 views

LVM Logical Volumes will not activate on Cloudlinux 7.8

Recently, after a reboot, the system landed in Emergency Mode. The cause appears to be that the system is failing to mount a few of the disks as defined in /etc/fstab. These disks are Logical Volumes. ...
0
votes
1answer
16 views

How to get expiry date for yum repo signing keys

I recently had a package signing key expire preventing some automatic updates from installing so am now setting up monitoring to make sure we are alerted if this happens again. On Debian systems I can ...
0
votes
1answer
24 views

I have a centos server and I am trying to monitor memory via snmp but didnot got the actual result

I have a centos server and I am trying to monitor memory but didnot got the actual result. I have used Snmpwalk and used the oid of the used memory but it is returning me the value that is not matched ...
0
votes
0answers
12 views

Automated ADDS & ADCS setup on a fresh Windows Server 2016 image in Azure

For a project we are working we require a Windows Server 2016 virtual machine instance, for now referred to as winvm, with Active Directory Domain Services (ADDS) and Active Domain Certificate ...
0
votes
0answers
28 views

How to access a host on 192.0.2.0/24 from Linux?

I've got my hands on the FSM-510G switch that has a default IP set to 192.0.2.1. It's obviously not in the LAN CIDR block, so what should I do on a Linux host to be able to access it directly? The ...
0
votes
0answers
19 views

Nagios cgi-bin are displayed as plain text

I have installed nagios but i can't run any of the script as they are displayed as plain text. I'm running apache 2.4.6 on Centos 7.8 with php-fpm 7.3 file /etc/httpd/conf.d/nagios.conf <Proxy fcgi:...
1
vote
0answers
25 views

I had some drbd (i guess block devices?) on my server, after a crash they are all gone

I am not a sys admin but inherited some servers setup with no documentation in linux. Today the server died in a way it was unresponsive and the VMs running on it down...after a good few hours the ...
0
votes
1answer
18 views

lvextend New size matches existing size

I added 500GBs of space to a virtual disk that I am trying to add to a volume group in Centos 8. When I run lvextend -An -l +100%FREE /dev/mapper/cl_elk/root I get New size (9692 extents) matches ...
0
votes
0answers
26 views

Switch to failover IP instead of main IP for all HTML requests?

I'm using Centos 8 and with my luck, my main IP is blacklisted on an API I'm trying to use. I have 3 failover IP addresses however. Is it possible for me to use one of these failovers instead?
0
votes
0answers
12 views

how to configure Aapahe mod-wsgi for python 3.6 which is by default configured with python 2.7?

Hye everyone.. I have installed Python 3.6 and created a virtual environment and installed all required libraries including Django in that virtual environment. I want to host a django application on ...
-2
votes
0answers
13 views

How to store emails in each user folder on POSTFIX mail server

I am using centos 8 I installed postfix and dovecot for the mail server. When I try to send emails to my email server, all emails going to my root folder.My postfix main.cf file I set the mail ...
0
votes
0answers
14 views

Route all outgoing traffic (Example: HTTP request) through failover IP?

My server is currently making requests on an API, but the address is rate limited due to an internal mistake that over-queried resulting in a week rate limit. In the meantime, I would like to contact ...
0
votes
1answer
24 views

Wifi on CentOS Minimal 8

I am having a very hard time making Wifi work on a Minimal Centos 8 installation. Using nmtui I can make Ethernet/Wired work, but I cant make Wifi work. It does not even show up on nmtui, only Wired ...
-2
votes
0answers
45 views

Mail Server configuration using postfix and dovecot

I have configured the postfix and dovecot mail server on centos 8 and install evolution as a mail client. But I am unable to send the mail from the evolution mail client. But One other thing is when I ...
0
votes
1answer
144 views

kdump not saving to /var/crash on Centos 8.1 server

I am trying to test the kernel dump using echo 1 > /proc/sys/kernel/sysrq ; echo c > /proc/sysrq-trigger command. On some servers, I can get the dump and on some servers I don't see anything. ...
0
votes
1answer
606 views

CentOS: convert HTML `<br>` tags to bash `\n\r` on the fly?

this is a tough question to pose and i'm not entirely sure this is the right place for it, but my question is this: how can i convert <br> tags to \n\r characters on the fly when running a PHP ...
0
votes
1answer
205 views

Upgrading CentOS 7.4 to CentOS 7.7

How do I upgrade CentOS 7.4 image to CentOS 7.7, and not CentOS 7.8? The latest kernel in the update repos is 7.8, but I cannot find a 7.7 kernel in the repos.
0
votes
0answers
38 views

What and how causes a system to ignore DNS settings?

I have nameservers setup in the network config file and resolv file but the system is still using root dns to look up using root servers. Could having search in the resolv file send the look up to the ...
1
vote
1answer
86 views

“system clock synchronized: no”, flip it to yes

# timedatectl outputs Local time: Tue 2020-10-06 13:35:31 PDT Universal time: Tue 2020-10-06 20:35:31 UTC RTC time: Tue 2020-10-06 20:35:30 ...
0
votes
1answer
116 views

How to setup a routing to another network from a computer which is attached to network with /32 mask

I have two CentOS 8 servers in a cloud and laptop connected via vpn. First one is vpn server. ip route default via 192.168.1.1 dev eth0 proto dhcp metric 100 10.0.0.0/16 via 10.0.0.1 dev ens10 proto ...
1
vote
0answers
27 views

Docker port forwarding bridge - “no route to host”

Basic Docker port forwarding is not working though bridge on Centos7. Changing network to "host" solves the issue, but I need to run multiple instances of the same container binding them to ...
0
votes
1answer
22 views

centos 8 ssh remote server asking password despite PubkeyAuthentication yes

I am trying to connect remote host from client computer without password (with password works perfectly) On client computer I did following but when I try to connect ssh, still asking password. anyone ...
0
votes
0answers
34 views

dracut iscsi netroot - not mounting additional disks

Using iSCSI disks on one of my nodes, I am using dracut to initiate the connection to the root volume; the root disk works as expected, the issue I am having is that my second disk connects, then ...
0
votes
0answers
20 views

Allow & Deny SQUID Domain, URL

I want to allow one domain in Squid like acl allowed_sites dstdomain .xyz.com http_access allow allowed_sites Now i also want to disallow URL of same domain acl blocked_url url_regex .xyz.com/logout ...
1
vote
1answer
39 views

How to enable/load mod_wsgi in apache server in centos 8 VPS

I am not able to enable/load module mod_wgsi in apache webserver in cent os 8 VPS. It works very easily in ubuntu by running the command sudo apt install libapache2-mod-wsgi-py3 Please Help me getting ...
0
votes
1answer
20 views

sshd doesn't show failed login attempts in syslog on CentOS 7

after some tinkering with rsyslog, sshd no longer logs information about failed login attempts to syslog for some reason. I've returned both sshd and rsyslog configs back to where it was: rpm -V $(rpm ...
0
votes
1answer
89 views

CentOS 8 - uninstalled python, How to recover laptop?

Yes I know I'm an idiot, I just need help I have a laptop running centOS 8 and I was trying to set another default version of Python. Long story short I used sudo dnf remove python and my laptop ...
0
votes
1answer
49 views

Please help- I can't figure out whats taking down my server every day

Every day my server goes down - sometimes 2 or 3 times a day. Between 2-15 minutes I was pretty sure it was due to a type of distributed DDOS or perhaps brute force but using Cloudflare doesn't seem ...
0
votes
0answers
59 views

website server starting to get traffic

I have a website that's a lot like Bitly, a short url site and it has started to gain a lot of traction lately. The website is about 100MB and the mysql database around 6GB. I run the server on a VPS ...
0
votes
1answer
21 views

CentOS 8 syslog entrys for xrdp & mariadb

I recently took a look into my syslog /var/log/messages and noticed two repeating entries that I don't understand: The log is full (and I mean full) of: xrdp[959]: [INFO ] Socket 12: AF_INET ...
0
votes
0answers
43 views

wordpress index of cgi-bin (not the whole list of files though)

I have setup a few wordpress with centos, apache in the same server and they all works fine. But somehow this is with this wordpress, when I go to the domain.com it just shows Index of / Name ...
0
votes
1answer
92 views

iptables string match, some packets still getting through

I'm using fail2ban to police plain text http packets (SSL offload being used with load balancer) using a header added by the load balancer. fail2ban is complaining that it is seeing ip addresses in ...
0
votes
0answers
47 views

Configure CentOS 7 sftp and a separate samba server

I am a Windows admin and my boss requested that I build a sftp and samba server. The sftp and samba server both use Windows AD to authenticate. The external customers need to only sftp and must be ...
0
votes
0answers
15 views

how to port forward to specific api address?

seems i've gotten lucky and get to take over some server configuration while the upper echelon finds a replacement! yay. love being out of my depth, but upside is, i get to learn new stuff. anyhow, ...
0
votes
0answers
13 views

SSH login through the VMware Workstation NAT is closed immediately

I have three VMs that are setup with the VMware Workstation: VM1 (CentOS 6, 192.168.230.128) VM2 (CentOS 7, 192.168.230.129) VM3 (CentOS 8, 192.168.230.130) Host machine has public IP 192.168.100.1. ...
-3
votes
0answers
17 views

What is Uptime Control Software?

I need a script that will ping my servers and give me the Uptime rate of these servers with statistics It could be PHP too. I am open to suggestions.
0
votes
0answers
23 views

Backing-up Linux server's 700GB data comprising mainly of files less than 10KB

What would you recommend as backup for the following scenario? I have a CentOS 7 Linux server, with about 700GB data, comprising mainly of files less than 10KB. The backup media needs eventually to go ...

1
2 3 4 5
203