We’re rewarding the question askers & reputations are being recalculated! Read more.

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
-4
votes
0answers
24 views

CentOS 8, php not working

CentOS 8, Apache, MariaDB and PHP 7.2 Hi, Just installed CentOS 8, and a LAMP stack. Trying to install WordPress, but when launching setup, I see in Browser, index.php content (<?php /** * Front ...
-1
votes
0answers
13 views

Snort error: Can't start DAQ (-1) - SIOCGIFHWADDR: No such device!"

I have a server where I installed CentOS 7, and I wanted to install snort 2.0.14.1. I successfully installed all the dependencies and then installed snort. But when I'm trying to run it as root with ...
1
vote
0answers
14 views

What kind of actions trigger the below mentioned Cent OS logs

systemd: Removed slice User Slice of systemd: Stopping User Slice of systemd: Created slice User Slice of systemd: Starting User Slice of Someone please be kind enough to explain me these logs one by ...
0
votes
0answers
5 views

How to reconnect a logically disconnected (but still physically connected) USB hard drive after a reboot in CentOS 7?

I assumed it would just show up again, like it did after initially plugging in, but it seems after issuing a reboot command the drive is no longer visible. Before I rebooted the only place I could ...
0
votes
1answer
12 views

Resolving message “Loading jwk to TPM2 failed!”

I'm at my wits' end on this one. A CentOS 7 box with a TPM module. If I reboot it from the terminal, it seems fine. But if I hard reboot it, it apparently gets stuck in this state, spitting out: Nov ...
1
vote
0answers
14 views

How to mount connected USB external HDD in CentOS 7?

All of the guides I've found say the first thing to do is to run fdisk -l, to identify the disk. Sadly it doesn't seem to show up on fdisk for me. Next I checked dmesg, which gives this output: [...
0
votes
1answer
19 views

yum install error trying to install from epel8 not 7

I have a centos 7 server and i am trying to install a certain package but i am getting error package and the package names are all .el8 but i dont understand why this is the case? There is no epel8 ...
0
votes
1answer
26 views

Enforcing TLS V1.2 on client communication?

I am after a sanity check to ensure that what I have been asked to investigate is actually achievable. I am currently building out a Centos7 server, which will be used to deliver files to AWS S3, ...
0
votes
0answers
15 views

Does ss5 proxy server support IPv6?

Doesn't seem to work. My server have IPv6 activated and working. curl -6 directly also works, but not with the proxy. I have check the log and the error is "no IPv6 support"
1
vote
2answers
18 views

Forward journald Logs on CentOS7 to SIEM-Server

Is it possible to directly forward logs from journald to a Remote-Log-Server? I only see the option ForwardToSyslog in the /etc/systemd/journald.conf config file. Or do I have to forward it to ...
1
vote
0answers
24 views

Memory information

I have a server with centos7 , installed with 8 memory modules. I want to know what specific memory is installed on DIMM_A4 for example. With dmidecode or lshw I get the information on all the ...
0
votes
0answers
16 views

ds-389 won't import 10rfc2307bis.ldif

I've installed the ds-389 LDAP server on CentOS7 (package 389-ds-base). I tried extending the schema by adding the file 10rfc2307bis.ldif to the /etc/dirsrv/slapd-auth/schema folder. After the file ...
0
votes
1answer
22 views

web server unreachable

I have a VM Linux (CentOs) machine. From there I try to run a CLI but this error occrs: request to https://XX.XXX.XX.XX/api/accounts/prelogin failed, reason: connect ETIMEDOUT XX.XXX.XX.XX:443 Can ...
1
vote
0answers
19 views

Cannot transfer data to Linux VM through FileZilla

I want to transfer from my local computer to my Linux (CentOs) VM through FileZilla. The file should be in this path in my Linux VM: `/etc/pki/ca-trust/source/anchors. But when I try to upload the ...
-6
votes
0answers
28 views

Internal Server Error [on hold]

We have 64 bit CentOS 7 running in virtual machine. We're seeing the following error message: The server encountered an internal error or misconfiguration and was unable to complete your request....
0
votes
0answers
11 views

Methods for agreeing to license on CentOS 8 Minimal install

How does one agree to the CentOS license agreement from the CLI after a Minimal Install? If there are ways of Agreeing beforehand, like with a Slipstreamed Windows install, I'd love to hear that too. ...
0
votes
0answers
35 views

CentOS 7 black screen after installing openssh server

My cent OS 7 VM goes into blank screen after installation of openssh server.I tried to try this on another centos7 VM ,same issue occured. Every time when I do yum install openssh-server,all the ...
0
votes
0answers
20 views

HTTPD won't start with Systemd on CentOS 7

So I've been trying to start httpd (Apache) on CentOS 7 using systemd. When just starting it using httpd It works just fine, my site is up, all is good. Now we try to use systemd; systemctl start ...
0
votes
1answer
12 views

grub2-mkconfig not using /etc/default/grub?

I'm trying to add a kernel option "xxx" by adding it to the existing GRUB_CMDLINE_LINUX="xxxx crashkernel=auto rhgb quiet" line in /etc/default/grub, but after doing so, when I run grub2-mkconfig –...
-2
votes
0answers
13 views

Automatic joining AD with Kerberos - CentOS

After each server creation (we use centos), I must tape this line manually to join AD (via kerberos): #kinit user #net ads keytab create -U user #net ads join DOMAIN.COM -U USER createcomputer=$...
0
votes
0answers
13 views

Tomcat 7 / logback produces logs to /var/log/message & journactl

Since we change our server from Centos 6 / Tomcat 6 to Centos 7 / Tomcat 7, tomcat's logs have changed places. Before the were located inside catalina.out and now they are in /var/log/message (and ...
0
votes
1answer
36 views

script to move files to Google Drive

I have a CentOS 7 server, no desktop gui. It's used for inbound/outbound VOIP call recording, my plan is to copy today's recordings to my Google Drive. I have seen multiple Google Drive Linux ...
0
votes
0answers
26 views

How to install PostGIS on CentOS 8 when Postgres comes from central repos?

On CentOS 8 I've installed PostgreSQL 10 using the packages provided by the postgresql module from CentOS repositories, instead of those provided by the official PostgreSQL YUM repositories. I ...
0
votes
0answers
12 views

Firefox starts up in Japanese from GUI, in English from command line

I've just installed CentOS 8 (build 1905). I use the system in English (with Hebrew as a secondary relevant language) - not in Japanese. After some initial activity (which doesn't involve playing ...
0
votes
1answer
44 views

Where can I find the Copyright information of .rpm file?

I can see the licence information about rpm file by executing below: rpm -qip {rpmfilename}.rpm but there is no information about copyright holder. Is there any easy way to know who has the ...
-2
votes
0answers
23 views

Centos 7 cannot upgrade my Kernel

I follow the hint https://linuxhint.com/upgrade-kernel-centos-7/ and type this command at the kernel : rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org It gives the following error :...
0
votes
1answer
29 views

Can the CUDA RHEL repo be used with CentOS 8?

I'm using CentOS 8 (build 1905) on some machine, and would like to install CUDA on it. It seems that other than a manual RPM download, there is also a YUM repository - for RedHat Enterprise Linux (...
0
votes
1answer
34 views

Does RHEL 7 support Ambient Capabilities?

I am confused about this issue and the google search has limited information. Some people say they need systemd v229 or higher to support it. https://github.com/antoiner77/caddy-ansible/issues/31 ...
-1
votes
1answer
22 views

Cannot start Postgres because no space

There is a VMware machine at work running CentOS 6.7. It uses Postgres 9.2. All I wanted is to start postgres service. This is probably related to it but I don't know what to do: https://kb.vmware.com/...
0
votes
0answers
7 views

CENTOS 7, fix up installation of non-base postgresql

I am running a centos 7 system. I installed initially postgresql from the base distribution, which gave me version 9.2. After using it for a while, I needed some of the json function of the newer ...
-1
votes
0answers
13 views

I have four NICs, and two bonded interfaces, but ip addr only shows two unique MAC addresses?

I have a bare metal server, a supermicro, in IBM cloud running centos 7. The system automatically configured the OS with four network interfaces, net0..net3, and two bond interfaces, bond0, and bond1....
0
votes
1answer
32 views

ssh connection closed by remote host Centos 7

I'm trying to connect via ssh to my server, but connection is failing. I opened terminal and typed this: ssh -vvv -p 21 root@xx.xxx.x.xxx Here below the log file with results OpenSSH_7.9p1, ...
1
vote
0answers
24 views

TOP Data inconsistent Centos

One Process Is showing that is it consuming 2000 percent cpu but in the Overall percentage in TOP command , it is showing only 2-3 percent . Some other info : 1. There are total 32 cores in the ...
0
votes
0answers
4 views

How to setup custom Error file for mod_security (401 Error)

I tried multiple method for setting up custom error file for mod_security. Panel: Cpanel Linux Os: Centos 7 In Cpanel server, I tried to show a customized error page whenever mod security blocks a ...
0
votes
0answers
18 views

Limit repeated access attempts by locking out the user ID after not more than six attempts

i do pam_faillock configuration. But, not working My configuration is: this path(/etc/pam.d/system-auth & password-auth) auth required pam_faillock.so preauth silent audit deny=6 ...
0
votes
0answers
30 views

CentOS/RHEL7 Custom Live ISO

I'm trying to generate a custom RHEL7 boot ISO that will run 'Live' such that the squashfs.img is copied to the ramdisk and the boot media is not required for operation. I have an ISO successfully ...
0
votes
0answers
22 views

How do I use firewall-cmd to block all outbound connections but exclude an IP number and also allow all inbound connections?

I have 1 server using CentOS7: Local subnet: 192.168.10.10/24 => interface eth0 WAN subnet: 123.456.879/22 => interface eth1 I want to use firewall-cmd to block all outbound connections from ...
0
votes
1answer
15 views

start a service before than another

I want to change the iptables at 3rd. By default, in directory /etc/rc3.d iptables service is S08iptables and I want to change it to S03iptables I executed the command below: ckconfig --level 3 ...
1
vote
1answer
52 views

What will activating the web console (cockpit) do?

I just installed CentOS GNU/Linux (version 8 build 1905) on a machine; this wasn't my choice of distro - I'm a Debian man myself. Anyway, when I SSH into this machine (as a non-root user), it tells ...
0
votes
0answers
14 views

yum repo that keeps the latest build of python3?

I'm looking for a yum repository that keeps an up-to-date build of python3 for CentOS 7. I understand that I can build from source but it's too much of a hassle to keep it updated manually. Does ...
0
votes
0answers
11 views

problem with internet connection in fresh created VPS's

in my last server, I used virtualizor ~v3.0.1 and there is a little problem. when I create a new VPS the network configuration like IP and Gateway didn't set automatically and I have to set them with ...
0
votes
0answers
25 views

pure-ftpd: (?@?) [ERROR] Unknown authentication method: pam

I am using CWP for VPS server, but FTP stops working after I restart the server. before that, I have upgraded MariaDB and change hostname.FTP was working even after I upgraded MariaDB and restart the ...
1
vote
0answers
31 views

Is it possible to install a Linux distribution on a VM remotely?

I have access to a VM with CentOS. I connect to it using "ssh". I want to install Linux Kali: Can I make the installation via ssh? What would be the steps? Thank you
1
vote
0answers
47 views

Salt-master install CentOS 7 — can't find packages

I am trying to install salt-master on a new CentOS 7 server. When I run the yum install for salt-master, I get the below errors and the installation doesn't work. I seem to get the same errors if I ...
0
votes
0answers
15 views

Centos, add existing raid0 without lossing data

i had reinstalled centos 7 which has raid0 working fine previously. now my partition look like this: [root@ns31132644 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 223.6G ...
0
votes
0answers
3 views

creat a vm from a subscribe library

I want to creat a VM from a content library with saltstack, infortunatly saltstack can not list OVF extension. thanks for help
1
vote
1answer
53 views

How can I edit root /etc/fstab after boot failure in CentOS 7?

After an incorrect record was added to /etc/fstab, CentOS is, expectedly, failing to boot. I've been looking around and found a lot of different solutions but I'm unable to resolve my issue. When ...
0
votes
0answers
7 views

How downgrade Kernel with MAAS on Centos?

I'm deploying some CentOS 7 machines with MAAS. To be compatible with an older (closed) driver I need to downgrade the kernel from the current 7.6 to the 7.4 kernel (3.10.0-693.21). Elaborating a ...
0
votes
0answers
8 views

yum behind proxy ignores proxy_authentication parameters

I'm trying to configure a linux (Centos 7) box behind a corporate proxy. The proxy requires authentication. I updated /etc/yum.conf by adding: proxy=http://my.proxy.server:8080 proxy_username=...
1
vote
1answer
24 views

CentOS 6 replaced with 7 - What should I check to make sure everything I need is on the new server?

I have a CentOS 6 server, and I am going to replace it with a new CentOS 7 server. I want to make sure I have everything I need on the CentOS 7 server that I used to have on the CentOS 6 server. Does ...