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
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
120 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
71 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
20 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
66 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
135 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
1k 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
1 vote
1 answer
2k 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
  • 185
0 votes
0 answers
101 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
781 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
2k 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
492 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
336 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,773
0 votes
1 answer
183 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,773
0 votes
1 answer
433 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
9 votes
4 answers
2k 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
  • 103
0 votes
1 answer
63 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
160 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
49 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
51 views

Centos7 reboots with rescue image

On boot Centos7 system comes up using rescue image. I would like to repair this issue and continue use of this disk if possible. I'm aware of Centos7's June 2024 EOL and Rocky is probably in my ...
Jmario's user avatar
  • 1
0 votes
0 answers
243 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
247 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
359 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,773
1 vote
0 answers
637 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,773
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,773
1 vote
1 answer
816 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
248 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
283 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
173 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
217 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,843
0 votes
0 answers
63 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
131 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
111 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
4k 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
102 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
529 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
436 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
343 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
410 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,141
0 votes
1 answer
866 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
0 votes
1 answer
315 views

Installing Microsoft Teams for Linux

I am looking for any way to get Teams working on my Linux installation. It is CentOS 7, with Vivaldi and Firefox. I have tried both the .rpm and the .deb files but discovered that an update to Teams ...
J Collins's user avatar
  • 678
1 vote
0 answers
549 views

CentOS 7 minimal doesn’t get an IP address

I have created a small closed cluster system running on centos 7 minimal and not connected to outside. I have connected all the nodes via a switch. On startup, node gets IP but a couple of seconds ...
damian dulk's user avatar
0 votes
0 answers
578 views

SOLVED: cpanel/WHM cannot terminate accounts beacuse of /etc/shadow

i couldn't find the answer after searching. when i try to terminate an account in my WHM, I face the below error API failure: (XID sngjqn) The system failed to lock the append-only (+a) file “/etc/...
Mohammad Esmaeili's user avatar
0 votes
1 answer
4k views

How can I check if firewall is blocking ping from machine belonging to a specific subnet on Linux CentOS7?

I am not a system engineer (I am a software developer) and I have the following problem. I have this Linux CentOS 7 server. A collegue told me that he can't ping this server from some specific machine ...
AndreaNobili's user avatar
  • 7,141
0 votes
1 answer
656 views

CentOS stops right after selecting kernel when installing CentOS on VirtualBox using Vagrant and Windows 11 Host OS

I have the following setup: Host OS: Windows 11 Enterprise Versio10.0.2 2000 Build 22000 Vagrant version 2.2.19 Oracle virtualbox version 6.1.32 If I try to start a CentOS 7 VM config like: Vagrant....
Linuxdevel's user avatar
0 votes
1 answer
515 views

How to map /usr/bin/pdftotext to another path?

I recently installed the poppler-utils: sudo yum -y install poppler-utils I did this so I can get pdftotext but when I run pdftotext, I get this: pdftotext version 0.26.5 Copyright 2005-2014 The ...
rockstardev's user avatar

1
2 3 4 5
15