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
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
2answers
1k views

CentOS 7 VNC users dont share desktop session

I installed VNC server on a CentOS machine. I set up a user, and then enabled the VNC server for them on startup following these steps: https://www.digitalocean.com/community/tutorials/how-to-install-...
0
votes
0answers
21 views

how to install angular on centos 7

After installing npm v6.12.0 , and node v10.3.0, I start installing angular on my machine centos 7 when it comes to the execution, that gives the following exception: [root@localhost ~]# npm ...
0
votes
2answers
1k views

I try to setup zabbix server on CentOS 6 (close system) but can find zabbix-server binary file after run rpm install rpm package

I am trying to set up zabbix on CentOS 6 in closed system (one with no internet connection). I can only put rpm(s) to that machine, and run command the command: rpm -ivh zabbix-2.2.3-1.el6.x86_64.rpm ...
0
votes
3answers
514 views

Failed to install ansible on CentOS 8

I cannot suceed to install ansible, I know the basic command is: yum install ansible but the output is: [root@localhost ~]# yum install ansible Last metadata expiration check: 0:36:48 ago on Sun ...
0
votes
1answer
1k views

auditctl -l shows only few rules

i am using /etc/audit/rules.d/*.rules files to generate the /etc/audit/audit.rules which has 120 lines. But if i run auditctl -l i get only 14 lines as a result though. Why is this ...
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=...
12
votes
4answers
89k views

CentOS 7 - yum install not working

Whenever I want to use command yum install <packagename> I get error: No package available For example, [root@cpanel1 etc]# yum install autossh Loaded plugins: fastestmirror Loading mirror ...
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 ...
0
votes
0answers
21 views

centos 7 install docker failed

When i am going to install docker, the issue happens when I type in this command at Linux shell : sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo ...
2
votes
1answer
1k views

Resize qcow2 root parition

I'm trying to re-size the file system on a Centos 7 vm because I made the vm too small to even do a yum update. I already have done some configurations to the virtual machine and it would be pain to ...
-2
votes
0answers
16 views

CentOS 7 setup for spring boot

Sir, I would like to install a couple of packages for spring boot environment , so that I can run my maven project on the server. Would you please tell me a list of softwares I need to install ?
0
votes
0answers
16 views

CentOS yum module not run

Our centOS version 6.6. i do install finical tools. For example: Preparing... ########################################### [100%] 1:tcl ###########################...
2
votes
1answer
2k views

Ansible command returns change instead of success

I'm learning ansible and encountered a situation which is not clear. Running the following module command the result is a 'Changed'. ansible agent.example.com -i inventory -m copy -a 'content="Node ...
0
votes
0answers
20 views

Fail2Ban does not want to run

I have this error when i lauchn Fail2Ban Service: systemctl status fail2ban.service ● fail2ban.service - Fail2Ban Service Loaded: loaded (/usr/lib/systemd/system/fail2ban.service; enabled; vendor ...
0
votes
1answer
16 views

Installing competing library versions

On a CentOS 7 system, I have software installed that links to the libpqxx package from EPEL, which is version 4. I am trying to install software which links to the libpqxx package from the PostgreSQL ...
0
votes
1answer
2k views

ACPI: power off vs shutdown

I'm running a virtual machine with CentOS 7 guest. ACPI daemon is started. When I shutdown the hypervisor, then guest operating system powers off. I can see in guest's syslog that it was notified ...
2
votes
2answers
42k views

Why am I getting “Curl (6) Could not resolve host” after I did a “yum -y update”?

I have a CentOS 7.3 machine that is a guest running on Oracle VirtualBox. The host is a Windows machine. I can ping 8.8.8.8 from the Linux server. The Linux server can ping itself by its hostname ...
0
votes
1answer
33 views

Which fixes are in which CentOS release?

I need a list of fixes for each recent CentOS release. This feels like it should be simple, but I can't see a simple way to do it. It's not hard to find the Centos release notes: https://wiki....
0
votes
1answer
1k views

Site cannot be reached after installing centos 7

I have a server on centOs 7 with the ip as 192.0.2.123 and host name as www.example.com. now when i www.example.com hit the hostname in the browser i am getting This site can’t be reached The ...
0
votes
2answers
2k views

ntpd Configured for IPv6, Not Binding IPv6 Port

I have the following /etc/ntp.conf on CentOS 7.4: # /etc/ntp.conf: Ansible managed # drift file driftfile /var/lib/ntp/drift # restrictions restrict default nomodify notrap nopeer noquery restrict ...
1
vote
1answer
11 views

php-fpm56 reaches timeout when run with systemd centos7

I compiled my own PHP 5.6.40 (with fpm) with ICU4C 64_2 on CentOS 7 using the following flags: ./configure CXXFLAGS="-std=c++11 -DU_USING_ICU_NAMESPACE=1" \ --prefix=/usr/local/php56 \ ...
0
votes
1answer
32 views

Destination Host Unreachable using 2 NIC Centos 7 [closed]

I have 2 NIC on my PC on CentOS, they show as: eth0: 192.168.0.174/23 local network em1: 10.10.10.4/24 external network When I try to make ping to 10.10.10.1 the iface that answered me is eth0. [...
1
vote
1answer
15 views

Boot failure after CENTOS 7 update

Apologies but I'm a newbie when it comes to web server management. I was in the process of updating our server's CENTOS 7 available packages through webmin when we suffered a power outage. No UPS ...
1
vote
2answers
1k views

Tomcat 8 doesn't start

Upgraded tomcat 6 to 8 on Centos 7. I get this error in logs: /usr/local/ctera/apache-tomcat-8.0.14/bin/catalina.sh: line 421: -Djava.endorsed.dirs=/usr/local/ctera/apache-tomcat-8.0.14/endorsed: ...
1
vote
2answers
1k views

invalid magic number when booting to CentOS 7 USB

I get invalid magic number When booting to CentOS bootable USB. The way I made the USB (on Ubuntu 17) is: Download CentOS-7-x86_64-DVD-1708.iso dd if=CentOS-7-x86_64-DVD-1708.iso of=/dev/sdc ...
2
votes
1answer
58 views

Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) with CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib

I follow the installation facter and I downloaded the latest version 3.9.6 tar.gz package. but I get the below error: [root@localhost release]# cmake .. -- Could NOT find CURL (missing: ...
0
votes
2answers
1k views

How to run systemctl command inside ExecStart?

I am trying to restart all the stale sqlrelay connection services using systemd.timer. Systemd service looks like this: [Unit] Description=sqlrelay-state-connection-restart [Service] Type=oneshot ...
3
votes
2answers
68 views

Bugzilla error: Can't locate object method quit via package “Net::SMTP::SSL” line 365

I installed Bugzilla on my CentOS 7 web server VPS. The install went smoothly, however when I went to set up email, I received the following error: Can't locate object method "quit" via package "...
1
vote
1answer
42 views

how to install yum in centos6.6

I use centOS 6.6: [root@localhost ~]# cat /etc/centos-release CentOS release 6.6 (Final) I need OS version updates. But at this time, the following error occurred: [root@localhost ~]# yum update ...
1
vote
1answer
15 views

How to tell sendmail to send out all mail using Mandrill smtp, smtp port, username, api key?

How to tell my CentOS sendmail to send all the mails of my incoming SMTP using following credentials (which is a third party service, who deliver my mails)? Host smtp.mandrillapp.com Port 587 SMTP: ...
0
votes
2answers
8k views

How solve error with sftp: Couldn't read packet: Connection reset by peer?

I did install sftp on CentOS and did add new group: groupadd sftp did create new user: useradd -m sftp_user_1 -s /sbin/nologin -g sftp did create password: passwd sftp_user_1 did change owner: ...
2
votes
1answer
143 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/...
1
vote
1answer
28 views

debconf-get-selections equivalent on CentOS

I work at a place where all of our servers are Debian. Now, one of our customers have their own external server running CentOS 7. I've gotten the task to put all of our maintenance, update, ...
3
votes
0answers
609 views

Why could policy routing on iptables marks applied in FORWARD or OUTPUT chains be inconsistent?

I am routing HTTPS connections down a SSH tunnel (-w) using iptables marks and iproute2 rules, the reasons I need to do it this way are contrived, to say the least, so most alternate solutions may not ...
0
votes
1answer
21 views

Why should differentiate the five levels yum repo, what's their respective responsibilities?

There is a CentOS.repo configuration: [base] name=CentOS-$releasever - Base baseurl=http://mirror.scalabledns.com/centos/7/os/$basearch/ gpgcheck=1 gpgkey=http://mirror.scalabledns.com/centos/7/os/...
3
votes
0answers
36 views

CentOS-8 - Unsealing LUKS volume with TPM2 module - clevis issue

Im trying to get a LUKS volume unlocked by the TPM-module on a Dell Optiplex 3060. The binding seems to work fine: clevis luks bind -d /dev/nvme0n1p3 tpm2 '{"pcr_ids":"7"}' $ luksmeta show -d /dev/...
0
votes
1answer
27 views

Recover deleted files from a virtual disk image

I need help. Accidentally, all files from root were deleted. It was not me) It is easy if there would be simple disk partition. But, there is logical volumes used. Centos 7 KVM QEMU $ ll server.img -...
69
votes
2answers
18k views

Process with weird random name consuming significant network and CPU resources. Is someone hacking me?

In a VM on a cloud provider, I'm seeing a process with weird random name. It consumes significant network and CPU resources. Here's how the process looks like from pstree view: systemd(1)───...
4
votes
5answers
13k views

Alternative for “locate” on debian

I often use "locate" command on CentOs to find files. What's the alternative for this command on Debian ?
0
votes
1answer
20 views

centos problem while typing

I'm newbie to linux system and I use centos 6. I wanted to check the Ip address while configuring something. Instead of typing "ifconfig", I type "if config" and then the terminal becoming like the ...
2
votes
2answers
22k views

How to debug NT_STATUS_IO_TIMEOUT?

When trying to access a samba share with smblcient -L //localhost from my local Samba Server, I get after a delay the error message protocol negotiation failed: NT_STATUS_IO_TIMEOUT What are the ...
1
vote
1answer
1k views

Persist ip route and ip rule configurations for Policy Based Routing (iproute2)

Currently running on Fedora Server 23, I've been searching for the right way to persist commands such as: ip route add default via 10.0.2.1 dev ens32 table EXAMPLE_TABLE ip rule add from 10.1.2.50 ...
0
votes
1answer
1k views

Creating arbitrary directory in kickstart before %post

One of the non-OS packages that I need to install via kickstart config requires a pre-existing (non-standard) directory, is there a way to create arbitrary directory before %post in kickstart? ...
0
votes
0answers
11 views

sysctl changes persist after removing conf file and reboot

I have a package which installs a sysctl config file to /etc/sysctl.d in order to "tune" some default settings. For example, some are sys.ipv4.tcp_congestion_control = agilesd sys.ipv4....
7
votes
1answer
1k views

How do you enable the secret-tool command (backed by gnome-keyring, libsecret and dbus) in a headless CentOS Docker container?

I'm trying to use the secret-tool command to store a secret securely in a running headless CentoS 7.5.1804 Docker container, but can't seem to find which packages and/or configuration is necessary to ...
0
votes
1answer
1k views

Enable sssd caching and linux to honor that cache on CentOS 5

I wanted to enable sssd caching on CentOs and not to use nscd caching, because sssd itself is giving that option. However, authconfig is not giving the option for --enablecachecreds even on the ...
0
votes
1answer
19 views

Are the contents of os/x86_64/ on public mirrors the same as those of CentOS ISOs?

When I mount a CentOS 7.2 ISO in /mnt/centos7/, then list its contents, I get: (I can not copy, I only can take a screenshot.) Now I enter a CentOS public mirror repo detail directory: http://mirror....
0
votes
2answers
1k views

Unable to load SFP+

I am using CentOS7 7.5.1804. I have a Intel 82599 based 10gig SFP+ card. When I try my SFP's I get: failed to load because an unsupported SFP+ or QSFP module type was detected. I tried everything I ...
1
vote
1answer
3k views

need to configure a static ip using nmcli but can't see how

I'm trying to create a static ip using nmcli in CentOS 6.9 but couldn't do so, as the man nmcli is not showing enough options like the online examples. To make you all to understand I'll paste the man ...