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

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
28 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
53 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
16 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
20 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
67 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
18 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
22 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
  • 15
0 votes
1 answer
30 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
  • 15
1 vote
1 answer
64 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
  • 15
0 votes
1 answer
32 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
  • 15
0 votes
1 answer
46 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
27 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
47 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
40 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
16 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
38 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
189 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
33 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
195 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
56 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
57 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
54 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 ...
barnyard9's user avatar
0 votes
1 answer
177 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
38 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
60 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....
barnyard9's user avatar
0 votes
0 answers
24 views

How get current date in VARIABLE and display it in the name log-file in crontab? [duplicate]

The bot on this forum considers my thread to be a duplicate. However, the solution that is proposed does not answer the main question: how, USING A VARIABLE to output the date or the output of any ...
sivsoft's user avatar
0 votes
1 answer
99 views

Is there a way to set the default TTL for multicast packets at system level?

pcap capture from my Centos 7 to multicast address shows TTL 25. Firewall considered it as DDOS and dropped packets. I know that application code can set the multicast TTL with a call to setsockopt() ...
user3183426's user avatar
0 votes
2 answers
91 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
0 answers
32 views

Qlogic HBA Performance Monitoring Issuse

I used QConvergeConsoleCLI Version 2.7.0 (Build 6) and "qaucli -gs 1" command in CentOS 7 for monitoring FC port performance. Despite having a load on FC, it showed zero as IOPS. I tested ...
moradi's user avatar
  • 1
0 votes
2 answers
50 views

im new to linux and learning how to add a new user

I'm trying to create a user with first and last name and home directory in Users/username, with an expiration date, inactive, with a default UID and GID in the DKEL_dir /etc/skel2. This is what I ran ...
Jonathan Spires's user avatar
0 votes
0 answers
20 views

How to find out which repo lists libganglia-3.7.2 and to exclude this older version in my /etc/yum.repos.d/ dir?

I encountered a "Transaction check error" when updating the CentOS 7.9 using suso yum -y update command: Transaction check error: file /usr/lib64/libganglia.so.0.0.0 from install of ...
zzzhhh's user avatar
  • 95
0 votes
0 answers
25 views

UDEV rule not working - can't create symlink

So, I confess I'm actually trying to study for the Linux+ exam I have a USB device. Information about it looks like: looking at parent device '/devices/pci0000:00/0000:00:0b.0/usb1/1-2': KERNELS==...
user1833028's user avatar
0 votes
0 answers
44 views

OpenSSH Connection Timed Out Issue

I am using Linux CentOS8 distribution. Openssh 8.0 installed on this server. When I try to connect via SSH to this server, connection timed out happens. I got a tcpdump and tcpdump shows that SSH ...
Mr.Peace's user avatar
0 votes
1 answer
62 views

how to start the openresty

When I tried to start the openresty like this in CentOS 7.9, told me the nginx did not start: [root@k8sslave01 letsencrypt]# systemctl status openresty.service ● openresty.service - The OpenResty ...
Dolphin's user avatar
  • 609
0 votes
1 answer
51 views

Identifying specific set of characters in binary file name

I am trying to create a bash script which achieves the following tasks: Read a binary file name. Check if input binary file name contains A1 or B1 (case insensitive). Depending on the identified ...
hymcode's user avatar
  • 83
1 vote
0 answers
86 views

htop always show one cpu usage full [closed]

I have a server with two cpus (24 core * 2), recently, I noted that htop always report one cpu is fully usage But I cant find any threads with highly cpu usage by htop, top or ps -ef I have tried: ...
zhang's user avatar
  • 133
0 votes
0 answers
47 views

What is the best tool to recover data from Centos Linux volumes

I have this error when starting Centos 7, [ 198.942749] dracut-initqueuel3371: Warning: /dev/centos/root does not exist [ 198.9438971 dracut-initqueue[337]: Warning: /dev/centos/swap does not exist [ ...
Pampayacu's user avatar
0 votes
0 answers
59 views

startup message in Centos 7: could not boot

Dead community, Does anyone know the solution to this error message that I get when starting Centos Linux (3.10.0-1160.66.1.el7.x86_64) 7 (Core) [ 198.942749] dracut-initqueuel3371: Warning: /dev/...
Pampayacu's user avatar
0 votes
1 answer
96 views

Stop service using SSH causes "Control master terminated unexpectedly"

I have two servers running Centos 7 that communicate with each other. In a shell script, I need to stop my custom services running on the other node via ssh. The problem is that occasionally the ...
Amir Hossein Sadati's user avatar
0 votes
1 answer
72 views

Do bind mounts from NFS path create additional connections to the underlying NFS server?

I am designing the following setup: NFSv3 server Centos7 Client The client mounts an NFS share from the server to /mnt/nfs_share Now I want to create many read only bind mounts from that mount to ...
user48240's user avatar
0 votes
1 answer
77 views

Centos install exim 4.94 dependency error

I am trying to install exim's specific version on centos... yet the log is like below. To me it seemed like an openssl issue i check it but it seems installed already. [root@vmi1522973 ~]# rpm -ivh ...
Ahmed Can Unbay's user avatar
1 vote
1 answer
54 views

How to prevent showmount from hanging?

We are implementing a web front end to manage NFS and CIFS shared folders. One part displays the available share points (exports) available from any arbitrary IP address. The backend uses smbclient -L ...
Danny's user avatar
  • 583
0 votes
0 answers
44 views

Why top command shows different results depending on sort mode

When used with -o%CPU: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 58641 mysql 20 0 26.9g 17.0g 21108 S 5800 13.5 2890:39 /usr/sbin/mysqld --basedir=/usr ...
michaelloop's user avatar
0 votes
0 answers
27 views

Can the source IP of an ICMP reply message be altered with rules like iptables?

I have set up ip_forward=1 and rp_filter=2 on CentOS 7, which has two network interfaces: eth0 192.168.89.100/24 eth1 192.168.66.200/24 I hope that after eth1 receives an ICMP request, it will ...
EthylL2's user avatar
1 vote
1 answer
107 views

CentOS systemd places service subprocesses started with `sudo` in `user.slice` (instead of `system.slice`)

Subprocesses that are created using sudo within a systemd service are placed in the user.slice. This behavior has been observed only on CentOS 8 (x86_64 20230606) and not on Ubuntu 20.04.5 LTS, where ...
flashy's user avatar
  • 13
0 votes
0 answers
26 views

Error PostgreSQL CENTOS restart server, Failed to start PostgreSQL 9.6 database server

Failed to start PostgreSQL 9.6 database server. I restarted my database server on CENTOS and now PostgreSQL doesn't wake up the service, journalctl -xe says: -- The result is failed. Nov 06 10:17:21 ...
userhelp777's user avatar
0 votes
1 answer
61 views

How do I replace or remove the redhat logo placed in the activities button in the top-bar?

I notice there is a gnome-shell-extension to replace the activities button with a custom logo, but that's not what I need. There is a deprecated activities configurator extension, which is not ...
Dhishan Kudwalli's user avatar

1
2 3 4 5
168