Skip to main content

Questions tagged [centos]

Questions specific to the CentOS Linux distribution. Use this tag if your question relates to how the CentOS distribution affects your problem; do not use it if you just happen to be using CentOS and your question is about a specific configuration detail or syntax.

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

Updating CentOS Stream

I'm thinking to setup a server with CentOS stream, but I'm not quite understanding the upgrade model. Once I install the OS I have a requirement that it's possible to continually update the OS ...
Aditya K's user avatar
  • 2,110
1 vote
0 answers
9 views

Undefine CONFIG_BLK_CGROUP macro while building linux kernel image

I am wanted to build a custom kernel image in which macro CONFIG_BLK_CGROUP is not defined. After researching a little bit I found we can do such configurations in .config file. To be more precise I ...
mSatyam's user avatar
  • 111
0 votes
0 answers
27 views

How to use a Red Hat Enterprise Linux (RHEL) Yum repository server on CentOS

I have created a yum repository server on RHEL. That server work on RHEL client machine. I want use this server on CentOS client machine. I have create a repo file under the /etc/yum.repos.d/x when i ...
Chirag Darji's user avatar
1 vote
1 answer
16 views

How to configure key press repeat delay?

I have less-than-perfect connection to a Centos & machine via VNC. One problem is a slow echo; a worse one is a keypress repeat. When I type, say, cat, at normal speed, a couple seconds later I ...
Michael's user avatar
  • 785
0 votes
1 answer
45 views

stat not giving birth datetime in cluster

with the command stat file.txt I get Access: 2024-06-10 14:55:36.254879000 +0300 Modify: 2024-06-10 14:55:36.254879000 +0300 Change: 2024-06-10 14:55:36.254879000 +0300 Birth: - I work in a cluster ...
Dimitris Tsiaousidis's user avatar
0 votes
0 answers
21 views

useradd -D command is not reflecting the CREATE_HOME=no setting from /etc/default/useradd

I am experimenting my first linux commands with CentOS Linux release 7.9 and I stumbled upon a strange behavior. My goal was to add a new user to my linux, but not create home directory for it ...
hani's user avatar
  • 1
0 votes
1 answer
35 views

How can I get the list of available desktop environments?

Suppose I'm on a Linux machine, in a shell session, and I want to obtain the list of options I would have if I logged in graphically and had to choose a desktop environment / session type. I expect a ...
einpoklum's user avatar
  • 9,637
0 votes
0 answers
30 views

CentOS 9 / AlmaLinux 9 / Rocky Linux 9 and xtables-addons: xt_geoip missing kernel module

I'm trying to get working xt_geoip extension on RHEL 9 compatible OSes. I've installed xtables-addons from rpmfusion repo and the xt_geoip extension was working for a while, but after OS ...
MarcinC's user avatar
  • 21
0 votes
0 answers
42 views

Unable to start vsftpd.service on Centos9 Stream using Virtualbox

I'm unable to start the vsftpd.service. Here's the error I get when I try to start it Job for vsftpd.service failed because the control process exited with error code. See "systemctl status ...
frank din's user avatar
0 votes
0 answers
10 views

Cockpit on Centos 6

Is there any way to use/install cockpit on CentOS 6? I read de official doc, but there is only official support for CentOS 7 and after. My intention is to at least see/manage from a another bastion ...
A_S_F's user avatar
  • 1
0 votes
0 answers
9 views

Squid Proxy unable to access subdomain

I have squid proxy server sunning on centos 8 everything working fine . Im unable to access subdomain ksa1.aconex.com acl localnet src 100.100.100.0/24 acl localnet src 172.30.0.0/16 acl localnet src ...
Rizwan Saleem's user avatar
0 votes
1 answer
15 views

Unable to install autofs on rhel9

When I try sudo dnf install autofs, I get this error: [MIRROR] autofs-5.1.7-58.el9.x86_64.rpm: Status code: 403 for https://cdn.redhat.com/content/dist/rhel9/9/x86_64/baseos/os/Packages/a/autofs-5.1.7-...
paul runner's user avatar
5 votes
1 answer
1k views

Changing file permissions from 777 to 755 or changing the owner doesn't do anything

[vagrant@localhost vagrant]$ sudo chmod 755 luser-demo01.sh [vagrant@localhost vagrant]$ ls -l total 5 -rwxrwxrwx 1 vagrant vagrant 101 May 30 19:44 luser-demo01.sh -rwxrwxrwx 1 vagrant vagrant 3464 ...
TechieMon's user avatar
0 votes
1 answer
32 views

centos7 cron job pam_limit invalid line hard nproc skipped

I am getting the error: May 29 19:15:02 vps3.domain.com crond[19846]: pam_limits(crond:session): invalid line 'user3 hard nproc ' - skipped May 29 19:15:02 vps3.domain.com crond[19846]: pam_limits(...
Onimusha's user avatar
  • 113
0 votes
0 answers
22 views

Unable to start posgtresql on AlmaLinux 8.4

I’ve been working with the database for over a year, but after rebooting the server I can’t start postgresql: Job for postgresql.service failed because a fatal signal was delivered causing the control ...
Hitriy's user avatar
  • 1
0 votes
0 answers
21 views

Grub still can't detect CentOS install after update-grub in Ubuntu

I have an old PC (Dell Optiplex 990) that I'm trying to repurpose into a Linux machine to get more familiar with Linux. I'm setting it up as a dual boot machine (Ubuntu 22.04, CentOS 7). The system is ...
Angelo Tabada's user avatar
0 votes
0 answers
27 views

du -h only show folders but not files, how to show all?

I don't know what's going on with my centos 7 machine but seems like du -h /path only shows folders, not files, and it's annoying. I want to find all the files and folders at a specific depth and sort ...
Hoang Minh Quang FX15045's user avatar
0 votes
1 answer
41 views

rsyslog variable from mmnormalize as part of omfile filename

I have a log line that looks like this: May 20 10:25:42 192.168.20.100 Timestamp="2024-05-20 10:25:42",LogId="535666280",NodeId="192.168.1.100",Facility="Packet ...
azzid's user avatar
  • 1,000
0 votes
0 answers
14 views

Installing Wine without Internet on CENTOS 7.6

I would like to install wine without internet access. I sideloaded the wine.sh file, along with the configuration. I have make installed in the system. I have been looking online for a way to clear up ...
Jose Serra's user avatar
0 votes
0 answers
69 views

Is xinetd necessary? How to detect actual use on a running server?

I have "inherited" a CentOS 7 server on which xinetd is automatically started at boot. My task is to harden that server. Therefore I am wondering whether I can disable the xinetd service. ...
Ned64's user avatar
  • 8,864
0 votes
0 answers
33 views

Centos 7 Increase CMA Size

I have a SBC module and it has Centos 7 with 3.10.0-1160.114.2.el7.x86_64 kernel version. I have to increase CMA size to 128MB which is default 4MB. I check my kernel menuconfig and DMA Contiguous ...
Alp Er's user avatar
  • 1
0 votes
1 answer
66 views

Linux automated SMB connection attempts: has my server been compromised?

We have a Linux server running CentOS 7.  A few days ago, we found out that it has started continuously attempting to connect to a Windows server share via port 445 using a certain user's AD ...
swami's user avatar
  • 205
0 votes
0 answers
30 views

Installing program on CentOs cluster for a non-root user

I am a beginner and want to install Material Studio 2023 in CentOs (version 7) cluster. I would appreciate any comments on my attempts which comes as follows: My tries: I used ssh to connect to the ...
Martin's user avatar
  • 1
0 votes
1 answer
67 views

How to add pkgs.org and other mirrors in centOS 8?

https://centos.pkgs.org/8-stream/centos-appstream-x86_64/ http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/ I am new to centOS. I want to add these two repositories so that ...
Zeshan Ahmed Nobin's user avatar
1 vote
0 answers
35 views

Is there an alternative way to Install MySQL that uses a custom config other than using make?

I just downloaded a complete game source code and intend to build a webserver on my CentOS 7. However, there are so many libraries needed, and one of the required steps is to install MySQL in a custom ...
flix's user avatar
  • 143
0 votes
0 answers
18 views

My Centos machines revert time after reboot

I have 3 machines on VMware ESXi v6.5. I set time manually: timedatectl set-time '16:00:00'` and check time with `timedatectl [root@abcd ~]# timedatectl Local time: Sun 2024-04-07 16:00:30 +430 ...
charll's user avatar
  • 1
2 votes
1 answer
126 views

How to correctly unzip weird character file in zip?

I'm really new in Linuxverse, so please understand if I'm asking standard question. I just downloaded a zip file using this link: https://io.genesis-ark.club/common/20240401/三国名将录(2).zip the first ...
flix's user avatar
  • 143
0 votes
0 answers
36 views

Facing fatal errors while running "yum update" command on CentOS 7/Cloudlinux 7

I am in desperate need of help with an issue that i'm facing while updating my system with the "yum update" command. My server is CentOS 7 converted to CloudLinux 7. I've been trying to find ...
Klavorton's user avatar
0 votes
0 answers
47 views

Why does opencv-python-headless take so long time to complete

I've noticed that when installing opencv-python-headless using pip3, the process takes a considerable amount of time to complete. I'm curious about the factors that contribute to this lengthy ...
ianasystems's user avatar
0 votes
1 answer
31 views

Freeradius, 2FA

Help me solve the problem with setting up two-factor authentication on FreeRadius. FreeRADIUS Version 3.0.20 In general, I configured the second factor for all connecting users, but I can’t configure ...
Maksym's user avatar
  • 1
0 votes
0 answers
15 views

Freeradius, Syntax error: Expected comma [duplicate]

I'm trying to set up 2FA for a list of users. But in the process I got an error that I can’t fix: "/etc/raddb/sites-enabled/default[35]: Syntax error: Expected comma after 'check-item': {" I ...
Maksym's user avatar
  • 1
0 votes
1 answer
21 views

dns resolution fails

I'm following the cloudstack quick installation guide to try out cloudstack. As server I use a centos vm. After the first step Configuring the Network, dns resolution fails, preventing my to make any ...
hobyte's user avatar
  • 113
0 votes
0 answers
14 views

rsyslog service mulfuction after server reboot

We recently faced an issue with rsyslog service on CentOS-7. This server was running for like 2-3 years continuously and we rebooted it last night. Since then rsyslogs are not written. Tried steps ...
Sachith Muhandiram's user avatar
0 votes
0 answers
42 views

Need password authentication while runing "systemctl stop .service"

I am looking for a way to add one more password authentication to run systemctl stop abc.service via root access. I am using Rocky Linux. I have no idea if it is even possible. Please help.
Anuj Yadav's user avatar
0 votes
0 answers
21 views

systemd[1]: Caught <SEGU>, dumped core as pid – core file replication issue

I'm having an issue with my CentOS VM server [CentOS Linux release 7.4.1708 (Core)] It will generate the error log as below randomly and cannot be stopped. We did not change/touch anything inside the ...
Irfan Izzunidin's user avatar
3 votes
1 answer
376 views

CentOS ls uses dpkg

I am logged in as a user on an CentOS version 6.9 HPC. When I try the ls command, I get: /usr/local/bin/ls: line 96: dpkg: command not found Abort, this script is only intended for Ubuntu-like ...
R Walser's user avatar
  • 133
0 votes
1 answer
66 views

How to remove a file with Extents attribute, from Linux [closed]

in CentOS, ext4 filesystem, I have a file that has the "extents" attribute, but I can't remove that file -------------e-- index.php rm -f does nothing (nor I get an error message) tried to ...
dsantos80's user avatar
0 votes
2 answers
74 views

How to automatically source your bashrc file when you become a root user [duplicate]

At my work work we work with multiple people on several RHEL servers. I always login to my Linux servers as my regular user (duh). Assume I have a added extra functions/aliases to my .bashrc file. Is ...
ansible_usah's user avatar
0 votes
1 answer
44 views

HDMI port not detected in CentOS 7

I purchased a new Lenovo ideapad 3, Core i7 decent laptop with Linux Mint. Had to backwards install Centos 7 to run an AWIPS weather program. Now the HDMI external port to run an external monitor ...
twillrick's user avatar
0 votes
0 answers
55 views

CentOS Stream 9 sda, sdb keep swapping OpenShift 4

I have an issue with the disks detection order on my OpenShift nodes. My hypervisor is configured to have the disk with a smaller capacity, containing the CentOS image, as the first bootable disk. ...
Diegunio's user avatar
0 votes
0 answers
12 views

OpenLDAP __db.00# file permission reset to root

I have an openLDAP installed on my CentOS 7 VM. The user that is running the openLDAP is ldap:ldap. If the server has an unexpected shutdown, for whatever reason, files listed below get reset from the ...
Stultusaur's user avatar
0 votes
1 answer
67 views

Centos7 not able to download yum-downloadonly

I am on centos 7 and need to only download a package without its dependencies, yum-downloadonly seems to be the right tool, but when I do commands like sudo yum install yum-downloadonly or sudo yum ...
ConnoK0lan's user avatar
0 votes
1 answer
60 views

SSHing to a CentOS server switches to a different user

I've started managing a CentOS 7 server for a new client that is managed via Plesk. I'm not familiar with either Centos or Plesk. If I SSH to the server like: ssh [email protected], immediately ...
Sherri's user avatar
  • 101
0 votes
0 answers
21 views

After installing my centOS 9 on my oracle VB. It works fine but once I power it off, I won’t be able to boot again. It just keep rotating endlessly

The oracle virtual box was installed on my windows 10 with a 4gb ram. When installing the centos9 I choose 2gm processor space and 20gb storage space.
Ugwu Peter's user avatar
0 votes
0 answers
24 views

Extended virtual harddisk in CentOS VM, not showng in df -h even after applying resize operation in GParted

I've extended the virtual drive of my CentOS VM (Windows Hyper-V manager) from 25GB to 40GB. Also used GParted to resize the existing /dev/sda2 to use the entire newly unallocated 15GB space (clicked ...
Sss's user avatar
  • 1
0 votes
0 answers
13 views

Why can't user access restricted folder via smb when member of a group?

I have a server running CentOS 7 with a samba share folder set up. There is a subfolder that I would only like certain users to be able to access. However, when I mount the samba share folder I am ...
jsjs12345's user avatar
0 votes
0 answers
70 views

OpenSSH Requires Password AND Public Key

I've inherited an old CentOS-6 system with OpenSSH 5.3 installed. And OpenSSH is behaving oddly: Currently the daemon requires the use of a public key and a password in order to login. (It's been this ...
Eric Pretorious's user avatar
0 votes
0 answers
23 views

Centos 7 Policy Based Routing not working CEntos 6 no problem

Centos 7 Policy Based Routing not working CEntos 6 no problem How can i transfer my static based routing policies from Centos 6 to 7 ... I have two WAN ip/gateways, 1 LAN ip address on on NIC . . ...
user3265051's user avatar
0 votes
0 answers
39 views

What is the purpose of the symbolic device file named with the HCTL address in the bsg folder

"/dev/bsg – This folder is for Block Scsi Generic drivers." I'm not sure what that means. There are two symbolic device files named with HCTL addresses in that folder, but from what is ...
xnl2d's user avatar
  • 17
0 votes
1 answer
58 views

What file is /dev/btrfs-control?

I can't find any explanation about this file in the official documentation, I just know from the official documentation in devices.txt that this file is: "234 = /dev/btrfs-control Btrfs control ...
xnl2d's user avatar
  • 17

1
2 3 4 5
168