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

Questions tagged [centos-7]

Version 7 of CentOS Linux distribution. The CentOS Linux distribution is a stable, predictable, manageable and reproducible platform derived from the sources of Red Hat Enterprise Linux (RHEL).

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

"find" command does not find all files from root unless folder is specified [duplicate]

I am trying to find the files that are named setenv.sh on this machine, I am logged in as root and am searching from the '/' using the following syntax and receiving the output: # First [root@...
user1917670's user avatar
1 vote
0 answers
31 views

Can anyone help e with FFMPEG on Centos 7

I have a script that requires FFMPEG but I cant seem to get it working on my Centos 7 server the script gives the following error: ffmpeg version 2.8.15 Copyright (c) 2000-2018 the FFmpeg developers ...
Nick Eyre's user avatar
1 vote
0 answers
28 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
1 answer
177 views

What is a high number of 'VM Exit's?

When using a virtual machine, one of the key performance parameters is 'VM exits'. I have a multicore VM under VM VirtualBox, indicating on average 30k VM exits per second, but I have nothing to ...
J Collins's user avatar
  • 678
0 votes
2 answers
130 views

How to Block File Manager Application from Connecting to SFTP Server

Operating System : CentOS Linux 7 (Core) File Manager : Thunar 1.6.16 Trying to achieve : Users should not copy files to other servers via SFTP. But the blocking mechanism should not block users ...
Arun's user avatar
  • 545
0 votes
0 answers
52 views

Unable to get to switch_root mode in CentOS 7

I am trying to reset the root password on my old drive, and I followed this instruction: https://www.redhat.com/sysadmin/recover-root-passwd However, instead of booting into a 'rescue' prompt as the ...
HCSF's user avatar
  • 165
0 votes
0 answers
59 views

Centos 7 How Grub2 Reinstall on Raid 0 Disks

My dedicated server was not responding so I rebooted the server (CentOS 7). Now its showing there is "No bootable device found" . My system have 2 HDD's connected by hardware raid And 2 SSD'...
Sam's user avatar
  • 1
1 vote
0 answers
21 views

how to route if users from (10.70.100.0/24) want to use IPPBX then it would use the eth1?

I run CentOS 7, my ifconfig as follow: eth0 serves LAN users, and eth1 is the IPPBX, how to route if users from (10.70.100.0/24) want to use IPPBX then it would use the eth1? eth0: flags=4163<UP,...
DevDon's user avatar
  • 13
0 votes
0 answers
201 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
0 answers
125 views

StrongSwan IPSec VPN - IKEv2 - LetsEncrypt Certificate Issue (building CRED_PRIVATE_KEY - RSA failed, tried 10 builders)

StrongSwan IPSec VPN - IKEv2 - LetsEncrypt Certificate Issue (building CRED_PRIVATE_KEY - RSA failed, tried 10 builders) I followed the link below for setup IKEv2 VPN Using Strongswan and Let's ...
helius.dev's user avatar
0 votes
0 answers
33 views

CentOS 7 : TCSH Shell : How to use tab key for autocompletion but without increasing terminal log history

Please forgive if this has addressed before. I couldn't find the solution or I may not be able to phrase the question correctly. This is my first question to the community. I am using CentOS7 and tcsh ...
reasonhome's user avatar
0 votes
0 answers
95 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
0 answers
169 views

yum updates failing with primary_db.sqlite: [Errno 27] File too large error

I am running CentOS 7.9 and I added a nvidia repo for yum to update the hpc_sdk. yum was working fine before this, but now I get the error Error: Error writing to file /var/cache/yum/x86_64/7/base/...
user2155952's user avatar
0 votes
2 answers
2k views

Giving access to (read / write) to other users on nfs without root previliges

I am working on a CentOS server without root privileges. I am trying to share a specific folder on the network with another user. I have already tried 'setfacl' with no success (resulting in '...
DOOM's user avatar
  • 101
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
  • 201
0 votes
0 answers
117 views

Duplicate entries in lsblk output

This is my lsblk output: lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 500G 0 disk ├─sda1 8:1 0 1G 0 part /boot ├─sda2 8:2 0 ...
ramazan polat's user avatar
5 votes
1 answer
801 views

Iptables Fail to block inbound from specific ip

Hi I Have a online server which i use like gateway and iptables is acting weird -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT -A INPUT -p icmp -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -i ...
denn0n's user avatar
  • 303
0 votes
1 answer
3k views

How to convert a private, public PEM files and it's cer file to a fullchain and private key?

I have 3 files, a private pem cert, a public pem cert and a file containing CA's that signed those. (it's in plain text). I am attempting to set up grafana which requires an rsa private key, and a ...
Henry D's user avatar
0 votes
1 answer
645 views

Centos 7 - ping (connect: Network is unreachable)

I set up a CentOS virtual machine, it is connected to my network, and I tried to ping other machines but nothing worked. Tried to check other machines, they among themselves without problems respond. ...
Василий Котеков's user avatar
0 votes
1 answer
426 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,853
0 votes
1 answer
234 views

SystemD timer error on CentOS7 : Failed to parse calendar specification, ignoring: Mon..Sat *-*-* 18:00:00

My timer is rejected by the system on CentOS7 : $ journalctl -u synchro_ADN_To_Scality.timer --no-pager | sed 's/^.*systemd.1.: //' | sort -u -- Logs begin at Thu 2023-04-06 10:25:28 CEST, end at Thu ...
SebMa's user avatar
  • 1,853
0 votes
1 answer
524 views

Unable to customize command prompt after installing oh-my-posh Theme on Linux CentOS

I'm using oh-my-posh theme to customize my terminal. I want to configure my command prompt adding more details but it doesn't work after installing the theme. Screenshot: Changing the command prompt ...
diogenes31's user avatar
10 votes
4 answers
3k views

How to resize an animated webp?

I want to be able to change the size of a dynamic webp. Sample picture. I found this website to do just that. So how can I implement something similar in my own program? I tried using ImageMagick7 or ...
shsf's user avatar
  • 113
0 votes
1 answer
83 views

Need to restart mysql server, but I don't have root access: what are my options?

The server admin is ill and unreacheable, I have virtual server accounts. The mysql server crashed, and have no backup. The system is a centos 7 with virtualmin.
Jose Vallarino's user avatar
0 votes
1 answer
176 views

Certbot frequently/always fails in cron with a hostname mismatch

Update 2023-05-06: Yep. Looks like CentOS7's NetworkManager overwriting /etc/resolv.conf. Haven't had an issue since disabling it. Update 2023-04-20: It looks like CentOS7's NetworkManager is the ...
Shovas's user avatar
  • 332
0 votes
1 answer
51 views

Server re-hosted, needs to update new IP address in DNS

Our Centos7 server was relocated to a new building and the IP address changed. Now how do I configure the server so all traffic gets routed to the new IP address?The domain name is still the same. The ...
yonikawa's user avatar
  • 129
0 votes
0 answers
301 views

Linux machines on VM routing between two subnet

To make a lot of tests i have several VM, one has two interfaces but it's possible it receives more. One interface uses NAT protocole to connect to internet, as i use VMWare, the other is on lan ...
Vonkel.'s user avatar
  • 111
2 votes
0 answers
278 views

How to install snmp in ASIANUX Server 7 offline?

I am working with ASIANUX Server7 machine offline and I need to install snmp. In fact, I downloaded net-snmp-5.7.2-49.el7.x86_64.rpm from other machine and I copied it to the ASIANUX machine and I ...
HakimFerchichi's user avatar
1 vote
0 answers
430 views

How to disable IPv6 on a logical/vlan/sub interface?

On Linux CentOS7, sysctl fails disabling IPv6 on a logical/vlan/sub interface : $ ip -6 -o a show dev bond0.53 20: bond0.53 inet6 fe80::b283:feff:fee6:ba1/64 scope link \ valid_lft forever ...
SebMa's user avatar
  • 1,853
1 vote
0 answers
690 views

cat through ssh does not work, it hangs on "debug2: exec request accepted on channel 0" and scp never finishes

I trying to print a file through ssh on CentOS7 but it does not work somehow : $ time timeout 60s ssh -vvv SERVER-01 cat /etc/yum.repos.d/CentOS-Base.repo OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan ...
SebMa's user avatar
  • 1,853
0 votes
1 answer
1k views

Cannot login through ssh from same lan

I have two CentOS7 servers on the same VLAN. I can ping the destination from the source server but cannot ssh to the destination : source # ping -c5 destination PING 172.16.15.101 (172.16.15.101) 56(...
SebMa's user avatar
  • 1,853
1 vote
1 answer
964 views

IP Address delete - RTNETLINK answers: Cannot assign requested address

I am trying to install a distribution of Kubernetes with OVS. During the installation, the script tries to execute ip addr del 65.109.33.184/32 dev enp41s0, The command fails with Error RTNETLINK ...
Mohamed Aly's user avatar
0 votes
1 answer
289 views

Configuring IPv4 interaction on an IPv6-only server

I have an IPv6-only virtual server. I can connect to it via SSH or use ping6, but I can't work with IPv4. For example, get a file via wget (Network is unreachable). I have software that cannot be ...
Breakfall56's user avatar
0 votes
1 answer
411 views

set the permissions on all the files and folders within a directory (CentOS 7.0 )

I kind of new to Linux/Centos world, is there any way to set the permissions on all the files and folders within a directory. I know chmod 777 will set permissions on the directory, but if it already ...
Muhammad Zaman's user avatar
0 votes
0 answers
195 views

How can I install Kernel 5.17 on CentOS 7?

On a CentOS 7.9 installation I have some troubles running newer CPUs, e.g Ryzen 5 5600G (with included graphics). I concluded that it is the Kernel because it boots with certain versions, with kernel ...
adrianTNT's user avatar
  • 262
0 votes
1 answer
279 views

What is the purpose of files whose name starts with .xauth in Linux home directory? Is it safe to delete them? [closed]

I have lots of files (about 40) starting .xauth. Many of them are a few months old. What is their purpose? Is it safe to remove them? The operating system is CentOS 7. Some file name examples: ....
yoyo_fun's user avatar
  • 1,863
0 votes
0 answers
77 views

I see screen on centos 7 after i change resolution

I need to your help emergency .after change resolution my system , restart it , after login its stuck in black screen . . i dont know which part of system change it . plz help me. pc with 4k monitor ...
Russell's user avatar
1 vote
1 answer
4k views

Centos Apache version is not latest?

From apache website, it seems that latest version is 2.4.54. I installed apache on my CentOS 7, and when I check the version, it shows that it installed the latest version, but the version number is ...
justadev's user avatar
  • 147
2 votes
0 answers
138 views

Centos7 password based Authentication failing

Successfully joined AD server: id [email protected] Got the results so the user exists: ssh [email protected]@XXX.XX.XXX.XXX Error: debug3: send packet: type 50 debug2: we sent a password ...
raushan sharma's user avatar
0 votes
1 answer
122 views

Symbolic link in rescue mode in centos

I accidentally deleted /bin the symbolic link. Now, I can not log in to the machine. ln command is not available in grub How can I fix the symbolic link in grub?
Alex's user avatar
  • 1
1 vote
2 answers
5k views

Installing an RPM package on a server without any access to the internet

I have a minimal CentOS server with no access to the internet. Let's call it server A. My target it to build a shell script file to install a specific version of a local RPM file for an application. ...
mercury's user avatar
  • 25
1 vote
0 answers
116 views

Trying to create a net new mdadm raid 5 from old raid drives, and failing

Long story short, I have rebuilt a new new centos 7 system. It's a file storage system with 4 identical drives. They used to be part of a raid 5 system, but now that I've rebuild the system I want ...
Quadgnim's user avatar
  • 111
0 votes
1 answer
603 views

How to avoid a user to list a directory other than his home directory in Linux

I hope this could be possible. I created a linux user, called newuser, whose root directory is a directory containing a web site application (this is a developer I hired to develop the site). That ...
jstuardo's user avatar
  • 297
0 votes
0 answers
29 views

Machine confused as to version of LibreOffice running

I have a CentOS machine that had LibreOffice installed. Natively it is running 5.3, however I manually installed 7.1. When I open a document, The splash screen for 5.3 loads, then the menu bar lists '...
J Collins's user avatar
  • 678
0 votes
1 answer
35 views

Why can't I reach test.example.com from my browser, but ping in CLI can

I just want to test my CA engine from Hashicorp Vault. I've spinned up a local NGINX webserver in docker referring to test.example.com. Unfortunately I'm not able to reach it from my browser with that ...
Lucas Scheepers's user avatar
0 votes
0 answers
476 views

Unable to find the ISO File of Centos 7

I downloaded the CentOS7 from this official source: http://isoredirect.centos.org/centos/7/isos/x86_64/ But I am unable to find the ISO file on setting up the VHD in Oracle Virtual Box. Could anyone ...
user avatar
0 votes
2 answers
360 views

Can you transfer SSD with CentOS 7 into a new PC without reinstalling?

I am updating a CentOS 7 desktop from an i5-660 on a Gigabyte H55M board to an i5-12400 on a Gigabyte B660M using the integrated graphics as before. The original installation is at least 10 years old. ...
Mark's user avatar
  • 1
0 votes
1 answer
1k views

CentOS 7 to Windows, can list smb shares but cannot mount

I have been asked to check the mount a windows share on a CentOs7 box, before it was working and now not working anymore (no clue from the customer on what could be changed) Local mount point /backup ...
vindalooman's user avatar
0 votes
1 answer
434 views

Is it possible to grand SSH access (using username and password) to a Centos 7 machine configured with an user using private key to connect?

first of all I am not a system engineer (I am mainly a software developer). I am working on a Centos 7 machine and I have the following doubt. Using MobaxTerm client I can access to this machine via ...
AndreaNobili's user avatar
  • 7,181
0 votes
1 answer
959 views

CentOS/RHEL: How to disconnect established connection and prevent subsequent connections until reboot?

I'm trying to test a system that uses multiple interconnected hosts, with one of the hosts randomly selected as the leader and the others being members. The members connect to the leader on a specific ...
Argyle's user avatar
  • 103

1
2 3 4 5
15