Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
6 views

IP A can ping IP B, But IP B can't ping IP A on centos with two network interfaces

I am trying to get copied packets from machine A to machine B. When I ping machine B from machine A, I get a ping response. When I ping machine A from machine B, I don't get a response. Machine A has ...
0
votes
1answer
21 views

Is there a similar tool like Curl but is already included in Linux?

I'm not sure if there is a similar command/utility which comes along with Linux distro CentOs, Ubuntu and RedHat without installing Curl. Basically I'd like to do a command like below curl -H ...
0
votes
0answers
11 views

CentOS 7 - Rsyslog error7

My problem is the following, my syslog server does not write messages correctly, traffic capture shows me 100 events, but the file in /var/log/xxx.log only 50 or 60 Have rsyslogd 7.4.7, compiled ...
0
votes
0answers
9 views

CentOS 7: When building Mapnik, the configure step does not find optional dependencies like libpng-devel, libjpeg-devel, etc

I am trying to build/install Mapnik (3.0.10) on a CentOS 7 system and I am having trouble getting all the dependencies in place and recognized. I have installed gcc/g++ compiler from the gcc6 series ...
2
votes
0answers
30 views

How to set up VPN and Transmission to start at boot on CentOS 6?

I'm trying to set up Transmission with OpenVPN on a headless server running a minimal install of CentOS 6.10, and ideally these would start when I boot the system. I'm able to get everything to run ...
0
votes
2answers
29 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 ...
0
votes
0answers
6 views

PPTP server how to add shared secret key

I have configured simple PPTP software on Centos. It is connecting perfectly with other Centos client. As it is required by my client, I knew it is un-secure but due to specific requirement I setup it....
0
votes
0answers
7 views

How to setup password history using authconfig?

I've been setting up a password policy and have used authconfig like so: authconfig --passminlen=15 --update However I can't see a way to set password history without manually changing the conf ...
0
votes
1answer
28 views

Linux CentOS: run rc.local after boot

I am running a CentOS (Red Hat Enterprise Linux Server release 7.6 (Maipo)) instance on AWS. I need to add to my boot sequence execution of a rc.local script. How can I do that? I have looked in /ect/...
0
votes
0answers
25 views

why connection refused by host(centos)

There is redis service running on centos 7.6 it looks fine there,(192.168.0.24:6379) I try to connect this client from another machine in same network(192.168.0.22) There is incoming request from ...
1
vote
0answers
12 views

“BIOS update requires USB to be enabled” workaround?

I'm trying to update BIOS on one my machines. The system was configured to with USB disabled, and I'm not allowed to change that now. So when I run the BIN file on my CentOS 7 machine: [acoder@...
2
votes
0answers
16 views

How to forward all packets to another subnet?

I am trying to send a copy of all packets to another ip that is not the same subnet. Let's say I want to send a copy of all traffic from 10.0.1.100 to 10.0.2.100. I have another IP, 10.0.1.101 that ...
0
votes
1answer
26 views

installed redis but can't see it in nmap's scan

Redis installed and looks to be running: [me@hsredistest01 ~]$ sudo systemctl status redis ● redis.service - Redis persistent key-value database Loaded: loaded (/usr/lib/systemd/system/redis....
2
votes
0answers
29 views

How to deny crontab to group

I'm trying to deny crontab to group but I had no success so far. Nor I saw how to do it, or even discussions about it. Is it possible to deny crontab to groups instead of users? Imagine if you have ...
-1
votes
0answers
38 views

Is there any tools to handle problems automatically? [on hold]

I have about 58 machines(Linux) and 165 databases(relational and nosql) that i need to make sure they are working well and services are running without problems. i have a monitoring tool that monitor ...
0
votes
1answer
14 views

failed to start postfix.service: Unit not found

I just got my own VPS with CentOS 7, and I'm trying to install GitLab on it. I'm following the instructions listed here. My problem is the command systemctl start postfix. I did the yum install ...
0
votes
1answer
21 views

Samba Shared Folder with Windows Clients

I have a shared Folder with Samba running on a CentOS Machine. The folder is called "proyect", and it must be accessed only for the users that belong to the group of the same name with windows clients ...
0
votes
1answer
33 views

sed command working only when no outfile is written

I'd like to change this file eq.txt 2018-05-03T18:46:05.050Z 11.8314 44.0586 10 4.3 USGS 2018-05-01T05:16:59.270Z 11.0366 43.2334 10 4.1 USGS 2018-04-26T11:13:20.590Z -5.4109 36.5557 10 4 USGS 2018-...
0
votes
0answers
12 views

Linux cgroup memory is not beeing freed

I have an k8s cluster and one of the pods is crashing because of OOM. It has the limit of 400MB but crashing when pod reaches 30MB and I have no idea why. There is no other process in its cgroup but ...
0
votes
2answers
31 views

firewall not working as expected in kickstart

I have following line in kickstart for firewall firewall --enabled --service=ssh,glusterfs,tftp,ntp I am expecting tftp server should be accessible from other system, but it was only accessible from ...
1
vote
1answer
21 views

Starting wpa_supplicant via script in systemd not working properly

I've written a script to manually start the wpa_supplicant function on a Fedora/Centos7 machine with a wireless NIC. Due to static routing issues, I cannot use NetworkManager (nor do I want do with ...
1
vote
0answers
10 views

setroubleshootd showing ~100% CPU utilization

One of my centos7 machines shows setroubleshootd running at between 70-100% CPU utilization. I tried to temporarily disable SELinux with setenforce 0, just so I could use sealert to read the audit....
0
votes
1answer
13 views

Trying to setup port redirection through 2nd gateway

I am trying to setup configuration where all connections to port 161 will go through another gateway (through openvpn) while others are going directly [localhost] -> [gateway] -> [remote] - OK [...
0
votes
0answers
20 views

Getting number of failed login attempts since last successfull

How can I reproduce this message, when we make an SSH connection: Last failed login: Sun Feb 19 03:52:25 There were 41 failed login attempts since the last successful login. I want to configure a ...
1
vote
0answers
27 views

su - <username> hangs if I added a line in /etc/bashrc

I added this line to /etc/bashrc file export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/glibc-2.14/lib I log in as root throw SSH normally, but if I wanted to change my user by su - myusername the ...
-1
votes
1answer
14 views

Copying files from Bootable USB to local Drive in %post script of kickstart

I have created bootable USB with custom folder in it, After installation i want to copy files from USB to local directory, Following is kickstart file %post section %post --nochroot --erroronfail --...
0
votes
0answers
18 views

Monitoring data flow to /dev/null for a given process

I have a process which reads out data from a custom PCI-e device using a custom driver. The program takes a file descriptor as an argument and writes the raw data to it. I would like to test the data ...
0
votes
0answers
17 views

CentOS doesn't go to login screen after kernel update from 3.10 to 5.06 on my HP ML150 server [closed]

Installed CentOS 7.6 on my HP Proliant ML150 Gen9 server which came with kernel version 3.10. Immediately upgrading kernel to latest mainline version 5.0.6 caused the problem which is being not able ...
0
votes
0answers
39 views

CentOS 7 : LAN connection works, but no Internet

Given the CentOS server-like machine: $ uname -a Linux labsm 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux On the motherboard with 3 LAN ports (as I ...
1
vote
1answer
55 views

Unable to find (and uninstall) installed version of CUDA

I am trying to install CUDA version 10.0, but it is telling me a newer version is already installed. I am not able to find the newer version, so I can't run the uninstaller. I am on CentOS 7. Here's ...
0
votes
2answers
58 views

CentOS network interfaces are not coming up

We installed a fresh copy of CentOS on "HP Proliant DL380p Gen8" and the ethernet interfaces are having this Strange, fluctuating connectivity issue where the interfaces either work with no issues and ...
0
votes
0answers
13 views

Mysql failed because a configured resource limit was exceede CentOS 7

Mysql is down on my vps server and i tried to restart, stop then start, but nothing works. The error i am seeing every time is this [root@vps ~]# service mysqld restart Redirecting to /bin/...
0
votes
1answer
22 views

whitelist IP Addresses centos 6.10

How to allow specific IP Addresses to a dport in iptables ? for example : i have 2 clients, first client's IP Address is 182.3.3.1 and the second ones is 202.4.5.6, and i have a port let's say 2222. ...
0
votes
1answer
22 views

Transaction check error during CUDA installation on CentOS 7

I am trying to install CUDA on a Linux CentOS 7 x86_64 AWS instance via the installation guide and running into an error that I cannot resolve. Here are the steps I took: I verified that I had gcc ...
0
votes
0answers
36 views

Netconsole kernel module fails to load at boot time from the kernel command line [on hold]

I'm using RHEL 8 beta I follow the instructions on netconsole module I put netconsole=+5555@10.0.0.1/eth0,5555@10.0.0.2/ to the kernel command line. On ubuntu 18.04 it works but on RHEL or CentOS ...
0
votes
0answers
21 views

localhost kernel: appex: not cloning BAD SKB: head=xxx

My CentOS 7.6.1810(Core) always restart automatically. in the /var/log/messages there are many logs: localhost kernel: appex: not cloning BAD SKB: head=fff....
-1
votes
1answer
37 views

Not able to switch to root user via command line [duplicate]

On my centos 7 vps server, to secure my server I disabled root login via ssh. I created a new user called erdem and login with that user via ssh. After I login via ssh with user erdem, I would like to ...
0
votes
2answers
58 views

Is it possible to “add” a second folder to the current folder file contents? symlink?

question: Is it possible to "add" the contents of a 2nd folder to the current folder file contents? (In essence I was asking from a full Unix is perspective but may be nginx would work too as the goal ...
0
votes
0answers
8 views

Proxy Connection Problem on CentOS [closed]

I'm using CentOS 7 on digitalocean droplet. I'm trying to connect my proxy but it return 502 Bad Gateway. My firewall permit all outbound tcp&udp ports. I can use same proxy on another Ubuntu ...
0
votes
1answer
50 views

not an rpm package (or package manifest) [closed]

I am trying to install CUDA on a CentOS server but I cannot get it to work. I got the file from NVIDIA like so: curl -O http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-...
0
votes
1answer
17 views

Not able to hibernate or suspend centos system

I am running Centos 7 and all I want to do is make my computer go to sleep immediately. There is a setting I have set to make my computer go to sleep but only after a certain amount of inactivity but ...
0
votes
1answer
47 views

Website cannot write to files or create directories

I've been trying to install TeemIP for about 6+ months now and I've never been able to figure out this issue on Centos7. The error I get is the following: The directory '/var/www/teemip/public_html/...
0
votes
0answers
21 views

Is there an yum repository that contains vim with python 3 support?

I am using CentOS 7 and trying to install vim 8 without having to build it from source. Using ubuntu, the latest vim installed using apt comes with python 3 support. Is there such a repository for ...
1
vote
0answers
19 views

How to get maximum performance on HP Proliant server running CentOS 7?

I'm trying to get constant maximum performance on my HP Proliant server running CentOS 7. Current configuration of using intel_pstate driver which varies clock speed between 1.2GHz - 2.4GHz isn't ...
0
votes
2answers
13 views

Installing Composer on CentOS with multiple PHP versions

I have multiple versions of PHP (5.6 and 7.2) installed on my CentOS 7 server. Googling CentOS 7 Composer installation seems to have the same guide, just under a different blog with these steps: $ ...
0
votes
0answers
41 views

netstat command for popular IP addresses OK in CentOS 6, fails in CentOS 7

In CentOS 6 w/ OpenVZ 2.6.32, this command outputs IPs with the highest number of connections against port 22, e.g: [root@legovz ~]# netstat -antu | grep :22 | grep -v LISTEN | awk '{print $5}' | cut ...
0
votes
0answers
18 views

Installing Xcompmgr without sudo, admin, or root acess

So basically I need to install and run this thing called Xcompmgr (https://wiki.archlinux.org/index.php/xcompmgr) for my program. However as stated in the title I don't have access to certain commands ...
2
votes
0answers
19 views

Is nfs4_setfacl supposed to be applied from the client machine or server?

I'm really confused on NFSv4, specifically, I don't understand how to set the permissions. When I attempt to use the command nfs4_setfacl I get error message Operation to request attribute not ...
0
votes
0answers
18 views

PulseAudio C++ API: How to play .wav file and control volume

I am trying to play .wav files using the Pulse Audio c++ API while also being able to control the volume of each sound. I have successfully played these files with ALSA, but could not figure out ...
0
votes
1answer
24 views
+50

How do we enable quick launcher and Min,max button in MATE (CentOS)?

I have installed MATE desktop environment in my CentOS (version 7.5 x64). But there is no quick launcher 'applications' button and also my VS code installation doesn't have min,max,close buttons. I ...