Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

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
12 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
49 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,802
0 votes
0 answers
29 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
62 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
29 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
37 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
33 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
17 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
97 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
16 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
19 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
28 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
20 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
13 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
40 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
16 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
373 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
49 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
64 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
34 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
39 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
9 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
55 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
19 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
21 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
12 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
68 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
22 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
30 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
51 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 vote
1 answer
72 views

What file is /dev/autofs?

I searched /dev/autofs from https://www.kernel.org/doc/Documentation/admin-guide/devices.txt I searched for /dev/autofs in and found that it is 10,235. I used debian and stat /dev/autofs shows 10,235 ...
xnl2d's user avatar
  • 17
0 votes
1 answer
48 views

Pseudo-terminals control each other, how to get the return display

The problem is: my pseudo-terminal is /dev/pts/0, the target pseudo-terminal is /dev/pts/4, and I'm trying to get the target pseudo-terminal to print text using the echo text > /dev/pts/4 command. ...
xnl2d's user avatar
  • 17
0 votes
1 answer
60 views

CentOS 7.9 not reporting full version number after recompiling kernel

I needed to enable SCSI support in CentOS 7.9 so I followed the instructions here: https://wiki.centos.org/HowTos(2f)I_need_the_Kernel_Source.html to add SCSI support and recompile, which worked as ...
Jim C's user avatar
  • 3
0 votes
1 answer
29 views

Trying to dual boot Windows 2016 and Centos 7 - won't boot if drive set to UEFI

Motherboard: SuperMicro X11SCA-F, BIOS v2.2 I installed Windows 2016 on a 2TB nvme drive, which booted and worked as I'd expect. I then installed CentOS 7.9 in the spare partition, then rebooted. It ...
Jim C's user avatar
  • 3
-2 votes
1 answer
54 views

VNC connection error

So, I was following this guide https://linuxize.com/post/how-to-install-and-configure-vnc-on-centos-7/ on how to setup a vnc server and I'm at the part where I have to connect to my vnc server via ssh ...
Jaskaran's user avatar
0 votes
0 answers
34 views

Permission denied for user creating folders in /opt/company/product folder that is owned by the user [duplicate]

My company sells software that installs into /opt/company/product and creates a system user to run the services. The postinst routine uses chown on the product folder. This is a manual test I did (...
Apollo's user avatar
  • 101
0 votes
0 answers
62 views

htmldoc error: unable to open files - looking in wrong path

I try to use htmldoc under CentOS Stream Release 9. To install htmldoc I followed this site: https://snapcraft.io/install/htmldoc/centos Mainly I did the following commands: sudo yum install epel-...
suriel's user avatar
  • 101
0 votes
0 answers
20 views

Permit standard users to add and remove printers

I'm trying to allow non-root users to add printers via the desktop GUI on CentOS 7 without being prompted for a password. I've attempted setting up both a custom Polkit rule and modifying the CUPS ...
supmethods's user avatar
1 vote
0 answers
44 views

Getting Microsoft defender for cloud "Suspicious process executed by a network service" alerts for CentOS Linux

I am an Azure Consultant and I am getting Microsoft Defender for cloud "Suspicious process executed by a network service" alerts for CentOS Linux. Environment: Tomcat Apache running on ...
Toran Vaishnav's user avatar
0 votes
1 answer
965 views

yum/dnf install fail

I was using centOS8 and try to execute yum install -y gcc tcl and failed. The error shows it has some problem with signature check or something at rpm install process.The console log is like error: /...
Toxice_w_'s user avatar
1 vote
0 answers
60 views

Change IPSec IKEV2 VPN Default Ports 500 & 4500 To Anothers

For some reason OpenVPN is working on my local machine very well, But IPSec IKEV2 VPN not & it only works when OpenVPN is connect. I have a domain for IPSec IKEV2 VPN & in local machine vpn is ...
helius.dev's user avatar
0 votes
1 answer
573 views

Installing Qt 6 on CentOS 7

I need to install Qt 6 development files to build a third-party application in CentOS 7. I have been informed that the following packages are required on Ubuntu 22.04 LTS: qt6-base-dev qt6-tools-dev ...
yildizabdullah's user avatar
0 votes
1 answer
68 views

Is there a way to access files and information on an offline Linux server

We have a Linux server that was set up with CentOS and cPanel/WHM. It was taken out of service a few years ago but has some files and site information on it that were lost from our current server, and ...
Johnathan Crowe's user avatar
0 votes
1 answer
70 views

centos 7 dhclient consumes even 700%+ CPU, miner?

I am new to Linux, I installed CentOS 7.9 in my labtop. I do not know why, sometimes the fan was extremely noisy, then I type top to see which one caused this, I found "dhclient" consumes ...
Ring's user avatar
  • 5
0 votes
1 answer
88 views

How to only zcat files between two time durations?

Scenario: I've a file called abcd.log.gz. I want to zcat only the files from time durations 17:30:00 to 18:30:00. Currently, I zcat the entire file. Then awk the logs between two time durations which ...
achhainsan's user avatar
0 votes
1 answer
744 views

How to increase root partition size in CentOS 7

I wish to extend the root partition size without any data loss in CentOS 7. For that I searched about this on internet. I found many blogs and videos. I tried their solutions in my spare system (for ...
Harsh Patel's user avatar
0 votes
1 answer
60 views

Problem installing php-gettext-gettext package on Centos 9

I tried several options to install php-gettext-gettext package. dnf install php-gettext-gettext also dnf --enablerepo=remi install php-gettext-gettext but there is no such package in these ...
Paramore's user avatar
  • 103
0 votes
2 answers
85 views

Highlight for two strings simultaneously in vi or less editor?

https://stackoverflow.com/questions/41901319/how-to-search-for-multiple-strings-in-a-log-file-using-less-command-in-unix I found this. awk '/pattern1/ && /pattern2/ && /pattern3/' file....
achhainsan's user avatar

1
2 3 4 5
168