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
12 views

IPSec IKEv2 phase 1 failure StrongSwan to Fortinet 1000d

Trying to connect to a site to site IPSec tunnel, from a CentOS 8/Stream box running 4.18.0-338.el8.x86_64 with StrongSwan U5.9.1/K4.18.0-338.el8.x86_64, but I can't seem to get any kind of reply from ...
-2
votes
0answers
17 views

dell-poweredge server to conserve power by shutting down and booting up based on time scheduler

I know this sounds really simple, but I have no idea how to get it done. I have a dell-poweredge server that has iDRAC, I would like to conserve power by shutting down the server over the weekend, eg: ...
0
votes
1answer
20 views

CentOS Certificate Authority increase key strength

I have a self signed CA that I have been using for several years. Certs that I sign/issue these days for our LAN are now getting warnings in Chrome due to "Weak Key". Is there a ...
0
votes
1answer
13 views

SSH Timeouts with ClientAliveInterval and ClientAliveCountMax

What I want to accomplish is to simply terminate inactive SSH sessions. Just because the user is logged in does not mean that the user is doing something. I need the SSH daemon to logout users after X ...
0
votes
1answer
67 views

AlmaLinux & Apache 2.4 & CVE-2021-42013 (+ other CVEs)

I have a small Apache webserver that was CentOS but is now AlmaLinux 8, and I've been trying to update httpd via dnf to protect against the recently disclosed vulnerabilities: https://httpd.apache.org/...
0
votes
0answers
11 views

Issue with rsyslog creating mutliple log files from a remote cisco switch

So here is our setup Server: rsyslog server - CentOS 7 Client: Cisco Catalyst C6880-X-LE /etc/rsyslog.conf from the CentOS 7 server: $ModLoad imuxsock # provides support for local system logging (e.g....
0
votes
0answers
16 views

Apache Centos Stop Working Suddenly in Production Server

I have Apache/HTTPD server at GCP (VM Instance) with version Server version: Apache/2.4.6 (CentOS) Server built: Nov 16 2020 16:18:20 Since I was a developer, I don't advance with server ...
0
votes
0answers
20 views

How to share ISO files over PXE without mounting?

I have setup a PXE server with a local HTTPD server to host the ISO files the config looks like vi /etc/httpd/conf.d/pxeboot.conf Alias /centos-st8 /var/pxe/centos-st8 <Directory /var/pxe/centos-...
0
votes
0answers
17 views

Why would DNS fail on the DNS server, but not on a host using the same DNS server?

I have set up Bind on a server running Centos Stream. The server has two interfaces, one to a corporate network and the other a private network. The DNS is set up for the private (192.168.0.0) network....
0
votes
1answer
19 views

net-snmp reporting zero for interface speeds on CentOS 8

My monitoring system is using data from SNMP polls to build graphs. This works fine with a few dozen RHEL 6 and 7 hosts, but graphs for all my new CentOS 8 hosts are not working correctly. I've done ...
0
votes
0answers
15 views

Zabbix alert on root login (but not other cPanel users)

There is a very good answer Zabbix alert on root login for root login which makes sense. In our scenario we have CentOS where users will login to shell accounts via SSH or SFTP, and this is creating a ...
1
vote
1answer
40 views

Unable to run python script from PHP

This particular question has been asked so many times with great suggestions but the sudden abandonment by Askers doesn't really help as they never bothered to return to tell what worked (assuming it ...
0
votes
0answers
18 views

uwsgi command not found

I've went through every single tutorial on the internet, all of them suggest: pip install uwsgi But after that, I keep getting: bash: uwsgi: command not found I have tried installing it directly: ...
0
votes
0answers
11 views

How to recover centos root data after change in formatting type?

To better explain what is wrong now with my harddisk let me tell you the series of events: I was trying to expand a CentOS root partition. In order to do that I first tried to unmount and remove the ...
0
votes
0answers
20 views

Apache can't serve directory or locate files even though they all exist with the correct permissions

I'm using CentOS8, with a bog-standard (yum install httpd php) installation of apache and php. I've got a configuration (/etc/httpd/conf.d/trip.mydomain.mytld.conf) that looks like the following: <...
0
votes
0answers
44 views

RPM failed dependency that's already installed

We have an old dev server for Centos 6 I want to update Openssl to a modified version 1.0.2k (we have got a C8 server to replace it, but trying to update the old one in the interim). I have built the ...
0
votes
0answers
23 views

Unable to login SSH user to home directory

I have created the user with a home directory inside another user's home directory(i.e. /home/cpaneluser/pulic_html/testuser). But when I am trying to SSH login with the newly created user. it's ...
0
votes
0answers
8 views

SELINUX : How to make child folder rule precedence higher than parent rule

SELINUX : How to make child folder rule precedence higher than parent rule eg : /home/kevinw/www/kp/storage(/.*)? all files system_u:object_r:httpd_sys_rw_content_t:s0 lost ...
0
votes
0answers
26 views

AH03490: scoreboard is full, not at MaxRequestWorkers.Increase ServerLimit

I have a server with Apache 2.4.37 default install running on CentOS 8 x64. My hardware is: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz, 16 cores 32GB of memory ram 1TB SSD In /var/log/httpd/error_log i ...
0
votes
1answer
19 views

Create a /tmp partition that uses filesystem type of tmpfs in kickstart?

I'm writing a kickstart script to use when PXE booting to automatically configure new systems with basic settings. I've got everything working except for the partitioning of the boot drive: my /tmp ...
2
votes
1answer
78 views

source venv/bin/activate isn't returning anything on CentOS

I'm trying to deploy a Python Flask app (for API endpoint) on CentOS for work, but every online guide I've followed isn't working for me! python3 -m venv APIenv The env was created successfully, but ...
0
votes
1answer
18 views

Properly Extend virtual volumes on a CentOS VM, new space in /dev/cl/ not occupied by /dev/mapper

I have a CentOS VM (on a windows host, managed with virtualbox) that ran out of disk space. I extended the virtual disk size, then used gparted to assign the new space to the existing partition Then I ...
1
vote
1answer
31 views

CentOS yum-cron updates stability

I have a CMS website that I'm taking over hosting that has been set up with CentOS 7.9. It is running on the VM and I want to keep that VM up to date with minimal manual intervention. I have done a ...
0
votes
1answer
28 views

How to redirect the kickstart output to the serial console?

I am trying to automate a server build using HP's ILO virtual serial interface to avoid the advanced license. When the kickstart file is running, none of the output is sent to the serial console. ...
0
votes
1answer
30 views

EC2 server with a crond-service and full /var/spool/exim/-folder

I'm no expert in linux, apache, etc. but I have this service running on an AWS EC2-server. There is a large number of cron-jobs running on my platform (about 50K / day). Last week upgraded the EC2-...
0
votes
0answers
17 views

What is alternative in Centos for Debains staff group?

There is the staff group in the /etc/groups in Debian. According to the https://wiki.debian.org/SystemGroups the purpose of this group is: Allows users to add local modifications to the system (/usr/...
0
votes
1answer
26 views

Mount NFS error on Centos8

Mount shared folder via NFS into Synology but showing error. What did i missing here? [root@localhost ~]# mount -t nfs 192.168.1.20:/volume1/NetBackup mount: 192.168.1.20:/volume1/NetBackup: can't ...
0
votes
0answers
31 views

Error 500 Internal Server Error from varnish, but no error from php-fpm or httpd or nginx

checked the logs /var/log/website/php_errors.log, nothing was found checked why it was returning an error and it's because of the backend somehow and varnish hit sub vcl_error as a result it used to ...
1
vote
1answer
13 views

CentOS: Admin user on xrdp session can't do admin

I'm running a Rocky Linux 8.4 workstation with GNOME and MATE desktops, but I've seen the same problem on CentOS 7.9... When I log into the machine on the local display, I can do things like ...
-2
votes
1answer
88 views

how to uninstall certbot in CentOS

LetsEncrypt's certbot is not supported on CentOS. However, after installing this, the VPS kept warning me The filesystem “/var/lib/snapd/snap/certbot/1434” mounted at “/var/lib/snapd/snap/certbot/...
0
votes
0answers
15 views

Apache giving 500 error without any exception

I am running an old version of centos 6 and we have 2 servers with similar config and the 2 used to work, but now our staging server doesn't work and gives me: Error 500 Internal Server Error Internal ...
0
votes
0answers
25 views

Why does grub's os-prober add entries with `linux` instead of `linuxefi`

On my system, I have two copies of CentOS 7 installed, and one copy of Windows 10 Pro. Every system is bootable and works correctly, and is fully up to date (kernels, packages, the works). When I run ...
-1
votes
0answers
21 views

Can this be changed [duplicate]

Hi there when i'm ssh the command line says " [root@111.222.333 ~]$ " is there a way to change what is displayed on " 111.222.333 "? I cant find how to do so. I've already tried ...
0
votes
0answers
12 views

Sticky bit directory not behaving as expected when accessed by Active Directory accounts via Samba

I have a CentOS Samba server that is domain joined to an Active Directory domain controller for authentication. My understanding is setting the sticky bit on a directory will prevent any children from ...
1
vote
0answers
25 views

Temporarily disable minimum password time in FreeIPA after password reset by support

We use FreeIPA 4.6.8 and we have users that of course forget their passwords. However, password policy has a minimum password time of 1 hour. When support resets their password for them and provides ...
0
votes
0answers
62 views

Properly Configuring Grub for a Two-drive raid1 to Support Boot After a Drive Failure

Edit: So, I think the question still applies below, but I realized that the system is actually booting on the second drive, it's just missing /home, /boot and /etc/fstab. I am sure there is more ...
1
vote
0answers
31 views

Transient hostname was changed in a server

In one of our production server automatically set transient hostname. hostnamectl status shows Static hostname: abc11.example.com Transient hostname: I Icon name: computer-vm ...
0
votes
0answers
23 views

Centos server logs "systemd: Started Telnet Server (127.0.0.1:52050)." every minute

I got a centos 7.2 server,It hang over night, I get strange message like 'systemd: Started Telnet Server (127.0.0.1:52050).' it runs every 1 min. I think it is the reason. How to find the proccess ...
0
votes
1answer
51 views

Centos8: VM does not mount /boot after moving from VMware ESXi to HyperV

After moving Centos8 from ESXi to Hyper-V my server can not mount /boot with error like: unknown filesystem type 'ext4' It does enter maintenance mode but /boot folder is empty as could not be ...
1
vote
0answers
24 views

Not permitted to view my newly installed phpMyAdmin

I'm using Google Compute Engine to host a couple applications under one .dev domain so SSL is required. I have Apache installed based from this guide and my /var/www/ directory looks like: - domain....
1
vote
1answer
121 views

nginx defaulting to /usr/share/nginx/html instead of going to folder specifed in root

I am using letsencrypt, to set up ssl for a django project that is hosted on production mode using nginx and gunicorn The OS(operating system) being used is: amazon Linux 2 Whenever I try to run the ...
0
votes
0answers
5 views

No Crash Log on centos 5.13 kernel

My System has multiple kernel installed on it. when the server is booted on default kernel the crash logs appears in /var/crash on each crash but when system is booted on another kernel which is ...
-2
votes
2answers
70 views

Can I learn to RHCSA on EC2

I have MacBook with M1 processor and I want to learn to RHCSA exam. There are no ARM distributions yet and I can't create local environment, would it be ok to provision EC2 centOS instance? I'm just ...
0
votes
0answers
25 views

Permit all commandos on Tacacs+ Configuration

I have one question regarding TACACS+ Setup. Is there any way I cant permit all commands? Something like: cmd = * { permit .* } Thank you!
1
vote
0answers
61 views

Spanning tree causing packet loss between a Cisco switch C3560 and Linux server running on CentOs

I am working in a network environnement where I have some Cisco Switch WS-C3560X-48 and Linux Servers running CentOS 7.7. The linux servers are connected 3 times on my switches : one admin link, one ...
1
vote
1answer
34 views

Should I use Centos 7 or Centos 8 on my VPS Server for Plesk? [closed]

I'm going to buy a VPS from a company. It asks me if you want to choose Centos 7 or Centos 8 when purchasing VPS. From what I've researched on the internet, there is no difference between the two. But ...
0
votes
1answer
59 views

SELinux Issue - git status fatal: Out of memory? mmap failed: Permission denied

I have Centos 7.9 server running with Apache and Git, however if I do a [root@a]# git status fatal: Out of memory? mmap failed: Permission denied But if Disable or Permissive the SE-Linux via below ...
1
vote
1answer
92 views

Quick, successive SSH connection attempts hanging

I have a bash script which copies small files in succession using scp. So there are a bunch of scp commands in this script. An SSH key is being used to authenticate to the other server. Because the ...
3
votes
0answers
46 views

Showing [Installed Version] when upgrading with dnf in CentOS/Redhat/Fedora/Rocky Linux

When running dnf upgrade it only shows the new version of a package about to be upgraded. But I would like to see what the currently installed version of the package is too. Without having to go look ...
2
votes
1answer
42 views

systemd-tmpfiles race condition

I have a config file /etc/tmpfiles.d/test.conf: z /dir/* 660 - - - z /dir/subdir 2770 - - - z /dir/subdir/* 660 - - - Z /dir - root test - When I run systemd-...

1
2 3 4 5
209