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
2
votes
1answer
20k views

CentOS 7 httpd failed to make connection with backend

In a CentOS 7 server with apache httpd 2.4 set up as an ssl reverse proxy for tomcat, I am getting an error indicating that httpd is not able to connect with tomcat. How can I resolve this error so ...
0
votes
1answer
1k views

autofs on centos 6.8 to mount windows share: How to debug?

I am following the "even better method" documented here: https://wiki.centos.org/TipsAndTricks/WindowsShares I am unable to get it to work. I follow all the steps, but end up with no access to the ...
2
votes
3answers
622 views

how to install ccrypt on CentOS

I'm trying to install ccrypt on centOS, but I'm getting the following error: yum install ccrypt No package ccrypt available. I tried to download the rpm and install it manually but it will require ...
1
vote
1answer
1k views

VPS: How to forward traffic to devices from public IP

My goal is to set up a public IP for a Android Smartphone which is running an "IP Cam" software. The interface can be accessed in local network on (example) 192.168.0.2:8080, but it has no public IP, ...
1
vote
0answers
30 views

centos8 ssh Timeout client not responding

We just installed centos8 on one of our servers. The same (barebone) machine ran centos7 just fine before. Now we have many interrupted connections; many ssh connections get interrupted but not all... ...
6
votes
3answers
39k views

Restart all services without reboot

I do some group permission changes on the CentOS server, And then need restart all services. How can I restart all services safely without rebooting?
2
votes
2answers
491 views

install postgresql-12 in CentOS-8 got No match for argument: postgresql12

I am trying to install postgresql-12 in CentOS-8 I added the postgresql repository according to postgresql.org website https://www.postgresql.org/download/linux/redhat/ dnf install https://...
1
vote
1answer
53 views

Wifi not working! RTL8723DE wifi, CentOS 7.7

I tried some methods which I got from askubuntu and still the issue persists. #sudo dkms install rtlwifi-new/0.6 Kernel preparation unnecessary for this kernel. Skipping... Building module: ...
0
votes
1answer
2k views

how to increase cache memory in centos

I have been facing a insuffient space in "/var/cache/yum" directory. due to this my gui of centos crashes.i want to increase the size of cache directory. also want to know the actual size of cache ...
1
vote
0answers
22 views

How to update centos6.2 kernel, yum install success but failed to change /etc/grub.conf?

I want to update kernel from 2.6.32-220.13.1.el6.x86_64 to 2.6.32-754.23.1.el6 with yum install. install success but failed to change /etc/grub.conf try "yum reinstall kernel" but failed again. I'...
0
votes
1answer
1k views

IPTABLES comment: No chain/target/match by that name

Faced with error when adding new rule with 'comment': # iptables -I INPUT 1 --source 66.***.***.78 -j REJECT -m comment --comment "Some" iptables: No chain/target/match by that name. Without comment ...
0
votes
0answers
32 views

CentOS 7 hang on boot

I have CentOS 7 installed. Today I did several things: Installed OpenFOAM ran yum update Installed Docker Installed and tested OpenFOAM Tried installing NVidia driver Failed as was in XWindows ...
2
votes
1answer
58 views

Limit bandwidth on a specific port in CentOS 7?

I am running CentOS 7 on my VPS and I would like to limit bandwidth on a specific port. I have looked around extensively, and out of the solutions I can find, either it's a limit placed on an ...
1
vote
1answer
1k views

Configure Ident Server on CentOS 7

I am trying to figure out how to configure ident server on CentOS 7 but it looks like the ident package is no longer supported for CentOS 7. I don't want to install it from source due to some ...
16
votes
4answers
33k views

how to set crontab PATH variable

I had a problem running a script from crontab. After some research I understood the problem was because PATH parameter doesn't include /sbin. I looked what it does include in /etc/crontab: PATH=/...
0
votes
1answer
3k views

xrdp doesn't work when started as a service, but works when started manually

Until recently, I had a working xrdp on my CentOS 7.4 workstation. I was able to connect from a Windows machine without any glitches. Then something changed (after a "yum update", maybe?), and I'm now ...
-1
votes
0answers
21 views

Installing SOCKS5 on Ubuntu/CentOS [on hold]

I want to install SOCKS5 on CentOS & Ubuntu Servers. Now the servers have multiple IPv4 addresses and I want to setup proxy for each IP.. so I can connect to it.. Can I use 1 Server/VPS to make ...
-1
votes
0answers
12 views

I have to run lvm vgscan from dracut to boot

New Linux learner here. Appreciate your patience. I'm running Centos7 on Oracle VM VirtualBox. When I start the VM, I get a errors that seem to be related to initqueue timeout. The only way for me ...
0
votes
1answer
50 views

CentOS remove vulnerable packages

Introduction I'm in the process of trying to reduce the number of vulnerabilities with an array of projects associated with our Kubernetes cluster, one of the processes involved is hardening our ...
0
votes
1answer
21 views

Centos7 autocomplete path not work

In centos6, If I set testPath=/usr/local/bin and then ls $testPath/ press it would be autocompleted as ls /usr/local/bin but in Centos7, shown is ls \$testPath/ how to set this completion rule ...
0
votes
1answer
23 views

Not able to detect secondary monitor in Centos 8 GTX 1660TI on a laptop

Tried installing Nvidia drivers but it caused my laptop to get stuck in "Started Gnome Display" loop where i didn't have access to the TTY.
8
votes
4answers
49k views

How to set JAVA_HOME correctly on CentOS?

I am trying to set JAVA_HOME so that I can install Apache Solr with the help of this tutorial. I am connected to my server using ssh with root user To allow the running sh script to install Apache ...
-1
votes
0answers
28 views

sysroot.mount loaded failed

I have a CentOS 7 with my machine. After a power outage, we received an error entering machine mode I tried the code systemctl and I found out the sysroot.mount failed. I think the sysroot of the OS ...
1
vote
3answers
62 views

Why does my systemd service not start on boot, but can it be started manually?

I wrote a systemd service to launch a wireless access point whenever the machine boots. My problem is that it is not actually started when the machine boots, and I cannot seem to find out why. ...
1
vote
1answer
26 views

Array only returns one element

i'm trying to generate a script that ftp some files to a server using lftp. when i run these commands in shell: DBNAME=TESTDB ls -t /data*/${DBNAME,,}Backup/$DBNAME.0.db21.DBPART000.`date +%Y%m%d`...
1
vote
1answer
2k views

How do I start KDE Desktop via X11? CentOS 7

I wonder how to start the KDE Desktop via X11 on my CentOS 7. So I installed: yum groupinstall "KDE Plasma Workspaces" -y and set: systemctl set-default graphical.target I am using putty ...
1
vote
0answers
39 views

bpf_helpers.h file is missing

I'm trying to run some example XDP code that depends on bpf_helpers.h and the file is missing. The distribution is CentOS 8.0 with kernel 4.18.0-80.el8.x86_64 with CONFIG_XDP_SOCKETS=y. I've ...
1
vote
1answer
2k views

Apache httpd does not load index.html when a web app is installed

In a CentOS 7 installation I installed OrangeScrum (which is a standard PHP application copied to /var/www/html). When I type the server IP I get the Apache test page and if I have an index.html page ...
0
votes
1answer
55 views

Python 3.6 installation on CentOS 7

Failing to install Python 3.6 on CentOS. The error message is : Error: Package: python36-libs-3.6.8-2.el7.ius.x86_64 (ius) Requires: libcrypto.so.10(OPENSSL_1.0.2)(64bit) These library packages ...
-1
votes
1answer
22 views

Allow SFTP access but not SSH access with Active Directory groups (not local logins)

So I am building a CentOS 7 server for the specific use of using it as an SFTP server. We are migrating VM's and the SFTP server is being rebuilt. So we already have an Active Directory Security ...
3
votes
3answers
1k views

Problem to Install CentOS 6.4 (Second) after that Win7 (First) - dual boot

I want to install CentOS 6.4 in my PC, this image shows my Windows 7 partition before to install it But when I was ask to select my option (mode) of install CentOs like this: Or this (really is my ...
4
votes
1answer
900 views

Job queueing on a single machine

I have a shiny new server for running simulations on, with a pair of Tesla GPUs and 32 cores, running CentOS 7.2. I'd like for multiple users to be able to submit jobs to the server that get queued up ...
1
vote
0answers
21 views

pam_access won't work when logging in with SSH CentOS

I am working on configuring access for my machine with PAM. I am using CentOS 7.6.1810 (core). I really want to use PAM because it will allow me to set users that can log in in exactly one place once ...
1
vote
1answer
910 views

How can I copy paste in the remote server?

I use my mac connected to a remote server (Windows 2008) by Microsoft Remote Desktop beta, and in the remote server I use the WMware workstation created a virtual machine (CentOS 7.2). In the virtual ...
0
votes
1answer
37 views

CentOS vinagre RDP to Windows 10 - Two major annoyances(/bugs?)

I have a Centos 7 system with vinagre-3.22.0 remote desktop client. It works well except for two major annoyances I'd like to figure out how to fix: The Ctrl modifier is not transmitted from Centos ...
1
vote
1answer
1k views

Your kernel headers for kernel 2.6.32-504.e16.x86_64 cannot be found

I have centos 6.6 installed on virtualbox. In order to use features like copy/paste, being able to share folders, etc, I need to install Guest additions on it. I've clicked Device -> Insert Guest ...
0
votes
0answers
20 views

Docker does not have internet inside containers. CentOS 7

Here i try to execute command to check outside world: centos kernel: 3.10.0-957.27.2.el7.x86_64 628 ◯ docker run -it --rm -t alpine ping -c1 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes --- 8.8.8....
1
vote
1answer
1k views

Centos inside Virtualbox — how to set custom resolution?

I have Centos inside Virtualbox. I need custom resolution for my screen. I run xrandr as proposed on the net. New resolution appears in the dropdown. But it doesn't work. Virtualbox addons are ...
5
votes
1answer
4k views

Exundelete can't restore the file

I'm trying to restore 2 important tar.gz files I know their directory but extundelete not restoring them although it's giving me the inode number. Loading filesystem metadata ... 2127 groups loaded. ...
0
votes
0answers
8 views

Exported ova failed to import in xcp-ng center

I have exported a centos7 ova file and I am trying to import it into XCP-ng 8.0 using XCP-ng center 8.0.1. But This error shows.
2
votes
1answer
5k views

Login incorrect on CentOS

I've downloaded a CentOS-7-x86_64-Minimal-1511 iso file for testing purposes. I also have Hyper-V on Windows 10. I loaded the image file and as far as configuring the below there was not much to do ...
3
votes
1answer
6k views

Zabbix install PHP 7 PHP 5.6 conflict on Centos7

I am attempting to install Zabbix 3.2 on Centos7 running PHP7. Link to the walkthrough The command: yum -y install zabbix-get zabbix-server-mysql zabbix-web-mysql zabbix-agent The output: Loaded ...
0
votes
3answers
212 views

NetworkManager doesn't change IP-Address when dracut.cmdline provided static IP differs

Centos 7.6 fresh installation. I need a static IP during boot for decrypting my LUKS-Container by using Clevis / TANG and following dracut.conf kernel_cmdline="ip=10.30.0.25 netmask=255.255.255.0 ...
0
votes
2answers
1k views

How to disable SELINUX using grub?

I accidentally enabled SELINUX and reboot the system without knowing it's consequence. Now, I can't access the login system in my CENTOS 7 unit. What I've tried so far: https://serverfault.com/...
3
votes
3answers
4k views

How to permamently disable SYN-Cookies?

We run a site with big traffic surges and, because of that, SELinux usually thinks that the traffic is a SYN flood attack. We have this same problem on many different CentOS servers. Despite /etc/...
0
votes
2answers
1k views

Cannot install php-ldap on CentOS 5 server

I tried to install the php-ldap package on my machine but was not able to do so. It shows missing dependencies error for php-common, but the said package is already installed and updated. See the ...
1
vote
3answers
3k views

Multiple virtual host in Centos 7 is not working together

My server information is Server version: Apache/2.4.6 (CentOS) Server built: Nov 19 2015 21:43:13 I am trying to configure virtual host for 2 different sites: biz.example.com and pin.example.com ...
0
votes
0answers
55 views

downgrade MariaDB 10.4 to MariaDB 10.1 on centos7

how downgrade MariaDB 10.4 to MariaDB 10.1 1- i create file /etc/yum.repos.d/mariadb.repo [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.1/centos7-amd64 gpgkey=https://yum.mariadb.org/...
0
votes
1answer
1k views

Getting Error in Dependency Resolution during installing vlc media player on centos7?

I was trying to install vlc on centos7 using yum install vlc as root user, But didn't succeed. I think previously I install wrong repository. I am getting following error. Following is only part ...
2
votes
2answers
5k views

How to resolve “SSLProtocol: Illegal protocol 'TLSv1.1'” in CentOS 6.9

I'm trying to pass a vulnerability scan for my CentOS 6.9 server. The last of the issues I am attempting to resolve relate to the use of outdated SSL protocols. When I attempt to use the following ...