CentOS is a Linux distribution standing for "Community ENTerprise Operating System" and is a rebuild of "Red Hat Enterprise Linux" (RHEL), belonging to the same company that distributes RHEL (Red Hat, Inc.). The "CentOS7" tag refers to versions 7.x-xxxx of CentOS, working only on 64-bit hardware. Maintenance updates for CentOS/RHEL 7 will stop on June 30, 2024, with full updates ceasing in winter of 2019.
Questions tagged [centos7]
2960 questions
1
vote
0 answers
Coldfusion 2018 .htaccess file rewriterule not working for .cfm files, Tomcat AJP13 "reuse is set to false"
I have an .htaccess file in a /reports/ folder with the following rule:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.cfm?path=$1 [L,QSA]
There is an index.cfm in the /reports/ folder that loads a…

Pete
- 293
- 1
- 5
- 20
1
vote
0 answers
Centos 7: Cannot curl localhost nor internal IP : no route to host
Centos 7, lamp stack.
firewall is turned off, sealinux is disabled, Iptables looks fine
if you to localhost/api.php or internal-ip/api.php
from a browser, it works fine, if you ping it's fine, if you open vnc on the server and open the browser…

Lynob
- 241
- 1
- 9
- 17
1
vote
0 answers
How to create read only and shared folders for multiple users SFTP?
Using the steps mentioned in this link
I am able to setup a basic SFTP server and create 2 users customer1 and customer2.
And each will get their own root folders.
Is there anyway to create shared folders between them and with both read-only and…

Uday Kiran Reddy
- 119
- 1
- 4
- 14
1
vote
0 answers
curl: (60) Peer's Certificate issuer is not recognized
I have the following error when I try to curl a server :
curl -u User:Pass 'https://mydomain/remote.php/dav/files/User/Folder' -X PROPFIND --data ''
Error is as fallowing :
curl: (60) Peer's Certificate issuer…

executable
- 217
- 5
- 15
1
vote
0 answers
centos7 avahi avahi-browse large timeouts on networks with many devices
I have been struggling with regular usage of the avahi-browse command on all CentOS 7 servers placed in a large network with many devices reporting out avahi/mdns data.
Part of an application run this command:
avahi-browse -ltrp .._tcp
I am able to…

Ben
- 11
- 1
1
vote
0 answers
Malicious files generating in CentOS 7 directory /usr/bin
I installed a CentOS 7 at my Virtual Machine,
As i have installed the antivirus on the machine i found some files in /usr/bin which coming as Malicious content, i backup them and again they generated with another names, and names are randoms. Can…

Ali Shan Zaidi
- 11
- 1
1
vote
1 answer
Understanding and resolving dependencies on Centos 7
I've resolved many dependencies problems in many years as hobbyist administrator: I just removed some package until the whole thing get resolved or (if the consequences would have been to big) waited until the problem would solve by itself.
# cat…

PeptideChain
- 135
- 6
1
vote
0 answers
Single user mode gets hang at "random crng it done" in CentOS7
my root password got locked and i am trying to boot into single user mode but it gets stuck at below step 1.mounting v5 file system
2.ending clean mount
3.random crng it done - hangs at this step forever and doesn't boot but in normal mode it…

Yaseen
- 11
- 1
1
vote
0 answers
How to install mysql extension for php 5.3?
I'm trying to get an old application running under CentOS 7.8 which only supports php 5.3. I already compiled and installed php 5.3 but I'm not able to get the mysql extension working. Here is what I did so far:
installed php 5.3
wget…

RandomRouter
- 11
- 1
1
vote
2 answers
Create bare metal CentOS7 iso from source
My use case is to use CentOS7 in the most minimal sense possible yet be able to use it as a server to host some stuff. I'm already using the CentOS minimal iso(and a kickstart to install/uninstall some packages), but I want to deep dive if I can…

Amit
- 11
- 1
1
vote
1 answer
Tomcat 9 Service on Centos 7 won't start up at system boot
I'm not very experienced with Linux generally, so please forgive me if this is obvious to you.
I have done a large number of searches on various combinations of keywords, but can't find a solution to this problem.
I have installed command line only…

Spencer
- 11
- 1
- 2
1
vote
1 answer
parsing debug information from ansible k8s_info module
I'm testing the ansible k8s_info module and having a challenge parsing the result in a register variable.
The playbook gets pods from all namespaces. My objective is to print only the spec.containers information from each pod returned in the…

dcrearer
- 133
- 6
1
vote
2 answers
virt-install: error: unrecognized arguments: (but no arguments listed)
Been trying to create my first VM with KVM but getting a cryptic error from virt-install. It's saying I have a 'unrecognized arguments' but does not say which argument:
$ sudo virt-install \
> --name centos7_vm1 \
> --memory…

Ben Edwards
- 341
- 4
- 13
1
vote
1 answer
Using rsync --remove-source-files & --include-from= options together
I have a central CentOS 7 backup server, where I run the following rsync command in a script to pull the Application logs from 100's of Linux machines and then delete them.
rsync --remove-source-files --include-from=/tmp/$MACHINE_file.lst \
-v…

devops
- 11
- 1
1
vote
1 answer
openldap migration - slapd wont start "olcDbDirectory: value #0: invalid path: Permission denied"
I have migrated my old slapd DB to a new server, these are the steps I took:
On old server run:
slapcat -n 0 -l config.ldif
slapcat -n 2 -l data.ldif
I had to run slapcat -n 2 because with -n 1 I get slapcat: database doesn't support necessary…

a.smith
- 111
- 1
- 4