Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [centos]

Community ENTerprise Operating System; a Linux distribution based on Red Hat Enterprise Linux widely used on web servers.

Filter by
Sorted by
Tagged with
0 votes
1 answer
25 views

Is this missing library something I can install without sudo privileges?

OS I'm using a CentOS 7 system, which like a red hat system from what I observe (relevant further down the post.) cat /etc/*-release CentOS Linux release 7.8.2003 (Core) NAME="CentOS Linux" ...
Mah Neh's user avatar
  • 33
0 votes
0 answers
14 views

pwquality_pam.so is not behaving as the man page example says

The following is an example usage of pwquality_pam.so (Link to manpage). #%PAM-1.0 # # These lines allow a md5 systems to support passwords of at least 14 # bytes with extra credit of 2 for digits and ...
Hamidreza's user avatar
0 votes
0 answers
44 views

Simple CentOS 7 systemd service doesn't run on CentOS 9

I'm running a minecraft server on CentOS 7 using this systemd service to restart it on crashes. The service config is located at /etc/systemd/system/my_minecraft_server.service: [Unit] Description=...
RareScrap's user avatar
  • 101
-1 votes
0 answers
24 views

Centos stream unmounting issue

I recently tried to attach a new disk drive to an existing working directory. Although the drive was successfully mounted, I realized that I need to retain the data in the previous directory. ...
umar farooq's user avatar
1 vote
0 answers
27 views

Reduce Space From /dev/centos/root

In my system using xfs file system with the below mentioned drive structure, I want to reduce space from /dev/centos/root volume in volume group Centos. Since xfs cannot be directly reduced, my method ...
ProgNi's user avatar
  • 13
0 votes
0 answers
40 views

ping and getent hosts give different result

I have entry in /etc/hosts 1.1.1.1 db_external When I am doing ping I get it correct ping db_external PING db_external (1.1.1.1) When I am doing getent hosts db_external for some reason I got : ::...
arheops's user avatar
  • 1,385
0 votes
0 answers
69 views

CentOS Stream 9 Name or service not known frequently

I have a computer running CentOS Stream 9 as server. It is connected to my router directly by wire. It is working well except getting 'Name or service not known' frequently (like about 10 mins once) ...
LittleyLv's user avatar
0 votes
0 answers
20 views

Install rstudio-server failed in a docker container based on centos 7

I think this is the correct place to post this question. I am using Dockerfile to build the Rstudio development environment. FROM rstudio/r-base:devel-centos7 AS base RUN wget https://download2....
cloudscomputes's user avatar
-1 votes
1 answer
136 views

Samba Shares Fail - Pre-Authentication Failed

Good day, We have multiple HPCs (RHEL, CentOS, Ubuntu) running samba shares so that user can easily transfer files back and forth. About 3 months ago, the DCs/AD got a refresh, redundancy (2 servers) ...
barnstormer's user avatar
0 votes
0 answers
31 views

sudo visudo in a Dockerfile with CentOS base image

I am creating a Dockerfile using the centos:7 base image. I need to edit the file at etc/sudoers and append NOPASSWD privileges to it for a new user and some groups. I have looked up in forums that ...
Anonymous's user avatar
0 votes
0 answers
56 views

Changes in keyboard layout. Is that per user or globally?

We work with international teams. So we have RHEL servers with multiple keyboard layouts. If I change the layout of my keyboard, does this changes for other users on the same server aswell? If so is ...
ansible_usah's user avatar
1 vote
0 answers
49 views

When I ping from client (CentOS 6) to server (CentOS 7), it is giving error destination net unreachable

I have two virtual machines on my laptop. One is CentOS 7 (server) and the other is CentOS 6 (client). When I ping from server to client, it is working. When I ping from client to server, it is ...
amna naeem's user avatar
0 votes
0 answers
120 views

Why yum install is giving me this "Could not retrieve mirrorlist" error trying to install a software?

I am not a system engineer (I am more a software developer). I am trying to install Zabbix agent on a CentOS 7 system and I am finding the following problem with yum (I have done the same process on ...
Andrea Nobili's user avatar
0 votes
0 answers
18 views

timedatectl set-local-rtc --adjust-system-clock don't change the 3rd line of /etc/adjtime

man page says about set-local-rtc: This command will change the 3rd line of /etc/adjtime. The 3rd line changed when timedatectl set-local-rtc <true/flase>. The 3rd line not changed when ...
Wot's user avatar
  • 11
1 vote
0 answers
80 views

100% disk full on Centos?

Situation on machine: Filesystem Size Used Avail Use% Mounted on /dev/sda3 14G 3.9G 0 100% / devtmpfs 59G 0 59G 0% /dev tmpfs 59G 932M 59G 2% /dev/shm ...
Alfa's user avatar
  • 11
0 votes
1 answer
338 views

Process sssd_kcm takes a lot of CPU, is this safe to disable?

On a production server (internal network), I see the process sssd_kcm taking a lot of CPU usage (it is basically always on top in top). I understand this process handles Kerberos caching. I have not ...
Bart Friederichs's user avatar
0 votes
1 answer
264 views

Run Chrome using IPv6

In my Windows 11 machine and in my CentOS 9 stream I have 2 IPs assigned: one is IPv4 and another is IPv6. I can use both IPs on these computers and it works fine. When I use Chrome, by default it ...
Samul's user avatar
  • 115
0 votes
0 answers
31 views

*** Can't find 22.78.224.10.in-addr.arpa.: No answer

I really need some assistance. I have set up a DNS server with Centos 6.10. When I test my server's address, I get an error. Here are my configurations. #named.conf cat /etc/named.conf // ...
Michel N'cho's user avatar
2 votes
0 answers
122 views

Easiest way to set up a "proper" VPN on a CentOS server, allowing an Ubuntu or Windows client to connect to it

I am using Ubuntu at home. I have a server in the US with CentOS. With my system administrator days long gone (about 25 years ago), the question is: what's the easiest, least painful way to make a ...
Merc's user avatar
  • 250
0 votes
0 answers
64 views

How to remove “mod_cloudflare” from CentOS Apache

I did install mod_cloudflare but I need to uninstall it I have zero knowledge about command line. I installed it by running : yum install libtool git apr apr-devel apr-util apr-util-devel -y cd /usr/...
Zeyd Lprn's user avatar
0 votes
1 answer
227 views

Freshly Provisioned Cent-OS occupies a lot of space for "/dev/mapper/centos-root"

I created a fresh VM, however I started facing space issues as soon as it got created. From the du and lsblk command I see /dev/mapper/centos-root is occupying a lot of space. I tried running tree ...
Himanshuman's user avatar
0 votes
0 answers
92 views

Centos 7 yum update issue

I am getting the below error while doing the "yum update" in centos7. I tried all other ways to fix but nothing is working. Please find the below full error for your information. Please find ...
Bala's user avatar
  • 1
0 votes
1 answer
270 views

CentOS Kernel panic - not syncing: Attempted to kill int during bootup

Building has a annual power shutdown for maintenance for 2 days. As such, prior to it, I have shut down the CentOS 6 server. After the power is back on (2 days later), when I boot back up, I ...
Jealous_Donut_7128's user avatar
0 votes
1 answer
57 views

CentOS 8 Back to Windows 11

So long story short - I botched a CentOS update from 7 to 8 and now I am unable to use most functions on the server. I will have to go back to CentOS 7 to get these features to work again. I am trying ...
Maikeru Diron's user avatar
1 vote
0 answers
82 views

SCP silently ignored on the remote machine

When I'm trying to copy a file using scp (in whatever direction), there's no error displayed (although the returned $? code is 1), all I can see is the message that normally the REMOTE machine prints ...
Ethouris's user avatar
  • 111
0 votes
0 answers
41 views

Host Access to VirtualBox VMs Configuration Issue

I'm trying to configure three VMs on Virtualbox so that I can access them from the host machine. I've configured two NICs, one as NAT and the other for host-only adaptor, and booting Centos 7. My host-...
G262's user avatar
  • 1
1 vote
0 answers
300 views

How do you reset a Linux host to its first-boot state?

We are building a generic deployment image and I want to clean/delete all the host-specific details. (This a RHEL8/Oracle 8/Alma 8 system.) This is what I have so far: # rm -rf /etc/.etckeeper/* # if ...
KJ7LNW's user avatar
  • 383
0 votes
2 answers
803 views

How to update the usb stick with files after burned with 'dd'?

I have a test.iso file not bootable, it is just an image with some files and folders. I write my usb stick with this test.iso file by using ''dd' command. dd if=/root/test/test.iso of=/dev/sdd bs=4096 ...
antonio1's user avatar
0 votes
0 answers
154 views

Centos 8 - ping 8.8.8.8 (connect: Network is unreachable)

I have set up a CentOS VM and I'm trying to bridge the network, but it's not working. I've spent more than 3 hours trying solutions I found on the internet, but I couldn't make it work because I lack ...
internet's user avatar
  • 101
1 vote
1 answer
204 views

CentOS 9 Stream SSH with PuTTy - multiline commands

I've been using CentOS versions 6, 7 and 8 for a long time. Finally, I started using CentOS 9 Stream version. It doesn't matter whether GNOME desktop version or server version (black screen), I ...
aycanuAydemir's user avatar
0 votes
0 answers
60 views

Almalinux9 SSH port change is not accepting connections

can someone please give a hint what else may be wrong. System Almalinux9, located at VPS. I wanted to change a port of SSHD to 60022, but when i try to connect to it, it does not respond anyhow when i'...
OddStan's user avatar
0 votes
0 answers
378 views

The computer's hostname is not set correctly

So I wanted to connect my centos VM to my Windows Server VM that is currently hosting my Active Directory Server (both are on Host-Only Network). I know that the server is working, up and running, and ...
Hylia's user avatar
  • 1
0 votes
2 answers
2k views

how to configure centos against new dns server and port

let's say I installed on my local machine a dns server with port 5353 how to configure it as other dns on /etc/resolv.conf my resolv.conf looks like this nameserver 14.2.3.1 nameserver 14.2.3.2 How ...
dave's user avatar
  • 103
0 votes
1 answer
319 views

yum downgrade and automatically include all dependencies?

When upgrading a package, yum resolves and updates all dependencies automatically. Is there a flag/option when downgrading packages. For instance i have php82 installed and am trying to get back to ...
Nathan's user avatar
  • 293
-1 votes
1 answer
60 views

Application installed with root in centos needs to be run by non-root user

I have installed an Application called PowerMTA on a centos 7 server. But, That application needed to be run as non-root user named "sam". That application serves over http on port 8080. Now ...
  Sayantan's user avatar
1 vote
1 answer
538 views

Cannot access Outline VPN on CentOS

I installed Outline VPN a few times on Ubuntu servers and each time it was fast and easy. Now I'm trying to install it to CentOS and the Outline VPN shell script executes smoothly and with no errors: ...
Anton Marchenko's user avatar
0 votes
0 answers
17 views

How to set up git to let me and my kids manage a web server (what am I doing wrong? no files appear...)

UPDATE - see later to glimpse my whole day. See next for the TLDR; version... TLDR; I've got 2 CentOS machines - "cork" (a web server) and "local" (one workstation for now). ssh ...
cnd's user avatar
  • 421
2 votes
1 answer
4k views

Installing keytool without JDK

I am trying to install keytool in a docker image based on centos but I get an error. Example to reproduce Dockerfile: FROM centos:7.9.2009 ...
Jim's user avatar
  • 203
1 vote
0 answers
41 views

Reading tar tape with blocking factor 2048 on CentOS 7

I am trying to read a tar tape on CentOS 7 which was written on CentOS 5. I used blocking factor 2048. I can read tapes written with blocking factor 1024, but not 2048. Attempting to read the tape ...
John Varsik's user avatar
0 votes
1 answer
204 views

CentOS Kickstart url command: Can I make it choose a mirror for me?

Whenever I install RHEL, I use a Kickstart file. I want to take the Kickstart file that I use with RHEL, and make a version of it that works with CentOS. My Kickstart file uses cmdline to make sure ...
Ginger Jesus's user avatar
1 vote
0 answers
2k views

File permissions 0400 vs 0600

I have a question about file permissions for the owner of a file. 0400 permission means owner has read access. 0600 means, that the owner has read + write access. But even if the file is set to 0400, ...
mortimer's user avatar
2 votes
1 answer
138 views

How can I enable streaming (flush/ob_flush) in CentOS 8 stream with PHP-FPM?

I have a new install of CentOS 8 Stream with Apache and PHP-FPM setup using all defaults (this defaults to PHP 7.2.24 FPM/FastCGI). My application uses Server Sent events using JavaScripts EventSource ...
Bart Friederichs's user avatar
0 votes
0 answers
64 views

How to access the local files to restore in remotely accessed PgAdmin4 in centos 8

I have one Web Server with PHP and one Database Server with PostgreSQL 15. Both with Cent OS 8. I have installed pgadmin4 in the web server to access the Remote Database server through browser and it'...
Jayanta Kumar Nath's user avatar
1 vote
1 answer
151 views

What happened to my X fonts? The newer OS has a "weaker" font weight for "Monospace 10"

I'm upgrading from CentOS 7 to Oracle Linux 9 (Rocky, Alma, RHEL, etc) and the terminal fonts are notably different. (I'm using Mate for the WM, but I don't think it matters for fonts, or does it?). I ...
KJ7LNW's user avatar
  • 383
-2 votes
1 answer
52 views

Atime don't change on mounted drive

i have CentOS Stream 9. when i mount a usb drive and create a file using touch command the Access time in stat command don't change and stays: "Access: 2023-06-20 03:00:00.000000000 +0300" ...
dshman's user avatar
  • 1
0 votes
0 answers
199 views

starting a Centos 7 VM on AMD laptop running Windows 10 host

I have an existing Centos 7 VM that I can start without problems on a Windows 10 desktop (Intel CPU). I recently bought a new (Lenovo) laptop with a Ryzen 7 CPU; also Windows 10. I copied the vdi to ...
unknown's user avatar
  • 101
1 vote
0 answers
96 views

Can't access Samba share on new drive from Windows

I have a Rocky Linux server, and I'm using NFS to share between two VM's and I'm also trying to get the same folder shared to my laptop using Samba. I have one folder sharing successfully with samba ...
tylerlecho's user avatar
1 vote
0 answers
31 views

Centos 4.8 not booting after replacement disk controller

I have a quite old Centos 4.8 backup. Root partition is on LVM. (/dev/mapper/centos-root). This backup (tar.gz archive) works fine if i restore it in Vmware cluster with SCSI controller. But now i ...
LimpTeaM's user avatar
0 votes
0 answers
378 views

Docker containers unable to resolve dns on CentOS 7

it's my first post here, let's hope i'll do ok! I'm migrating to a new vps, and it runs on CentOS Linux release 7.9.2009 (Core), and unfortunatelly the host wont allow me to change to a distro that i'...
Pablo Souza's user avatar
0 votes
1 answer
415 views

How do I prevent systemd from running my timer after reboot

I have the following oneshot service+timer : $ systemctl cat stop_syncro.service stop_syncro.timer # /usr/local/lib/systemd/system/stop_syncro.service [Unit] Description=Service d_arret de la Synchro ...
SebMa's user avatar
  • 1,843

1
2 3 4 5
65