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
35 views

Stopping brute force attempts

"postfix/smtpd[28164]: warning: unknown[45.227.253.210]: SASL PLAIN authentication failed: authentication failure" Normally I'd use fail2ban however it seems that under the openvz container fail2ban ...
0
votes
0answers
74 views

Why is my static IP configuration not working in CentOS 7?

I installed a fresh version of Minimal CentOS 7. I can ping google.com when it is set to dhcp. When I run nmcli -p dev I receive: enp2s0f0 ethernet connected enp2s0f0 lo loopback unmanaged -- ...
0
votes
0answers
59 views

How can I install postfix-pcre on CentOS 7

For Ubuntu I can install this by running sudo apt install postfix-pcre How am I able to install this for CentOS 7?
0
votes
0answers
17 views

Error within /var/log/messages for new SSD

'm getting this message on a new server build running CentOS 7 and am confused by it. This was a brand new 500gb Crucial SSD drive I bought and installed only a couple months ago. I get this every ...
0
votes
1answer
81 views

Centos7 libvirt permission issues qcow2 images

This is all on a clean install of Centos7. Installed from minimal image, updated and then the following guide followed. Following this guide: https://www.cyberciti.biz/faq/how-to-install-kvm-on-...
0
votes
1answer
44 views

Is it possible to give alias name to ip address with port number in CentOS 7

I have one question regarding given alias to ip address with port number. For example I am executing jenkins in my local system in port number 8080 and nexus in port number 8081. I will accessing ...
0
votes
0answers
21 views

CentOS virtual console is displaying blank with a blinking cursor

I have been working on this issue for a while now and cannot seem to get anything working. Overview: I have the latest CentOS 7 1810 build (within VMPlayer) Building an application to run on CentOS ...
0
votes
0answers
10 views

how to control the mousekey on gnome3 in centos7

After I recently switched to the mouse key, the cursor speed is too slow. There is no xkbset command. How do you do that?
0
votes
1answer
41 views

Can be ping-ed but failed to SSH (Might be server hangs)

We have a server that can be ping-ed but failed to SSH. Here's the verbose of ssh [user@/etc]$ssh -v user@111.111.111.111 OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013 debug1: Reading configuration ...
-1
votes
2answers
65 views

Is it safe to disable clamscan and clamd services on linux server

We have a dedicated CentOS server with 8 CPUs. We often observe clamscan and clamav taking too much CPU. I have heard experts saying linux doesn't require an antivirus. If that is true, is it safe to ...
0
votes
0answers
110 views

update-ca-trust extract not adding certificates to ca-bundle

CentOS Linux release 7.6.1810 (Core) Kernel 5.1.11-1.el7.elrepo.x86_64 I put a cert-file to /etc/pki/ca-trust/source/anchors File looks like that: -----BEGIN CERTIFICATE----- ...
0
votes
0answers
26 views

Fuse filesystem hangs

I have CentOS 6.10. My fstab file contains this mount point: curlftpfs#ftp://free:free@ftp.zakupki.gov.ru/ /mnt/eis_ftp_44fz fuse ro,noauto,intr,nosuid,nodev,direct_io,no_remote_lock,connect_timeout=...
0
votes
1answer
39 views

linux system stuck and show kernel log

The system version is centos6.5, it stuck today, and there is no log at all in /var/log/messages, When I connect the host with a display device, it shows log blow: and the mouse and keyboard were ...
0
votes
0answers
17 views

CentOS 7: Why am I still getting this “built with.. but.. running with” error?

Presently I am getting the error: Application built with libpng-1.6.16 but running with 1.5.13 Upon getting this error I tried reinstalling* libpng1.6.16 from source per this guide, which seems to ...
0
votes
0answers
118 views

Permission denied for imjournal: rename()

after disabling and enabling SELinux the Apache and MySQL cannot start, this error shows in messages.log: imjournal: rename() failed for new path: '/var/lib/rsyslog/imjournal.state': Permission ...
1
vote
0answers
33 views

What is difference between `` and $() for command-substitution in bash scripting? [duplicate]

I'm new to Linux and StackExchange. My English is pretty bad, and I'm sorry for mistakes. What is the differences between `` and $()? Does it matter what to use and when? I'll be grateful for ...
0
votes
2answers
37 views

Email on failed SSH login attempt?

I was wondering if it is possible to set it up in such a way that on a failed SSH login centos will send me an email? And of course if the computer is not connected to the internet when the attempt ...
0
votes
1answer
15 views

Using different node versions on centos 6

I'm attempting to run different node js versions on my centos 6. When I run node -v I get v10.16.0 I then run n And I can select node/8.16.0 ο node/10.16.0 node/11.0.0 I select node/8/...
1
vote
1answer
422 views

Upgraded Python, and now I can't run “yum upgrade”

I have upgraded my system (CentOS 7) to Python 3.7 and it seems that has broken a ton of things. In particular, I can't perform a yum upgrade ... [myuser@server ~]$ sudo yum upgrade Loaded plugins: ...
1
vote
3answers
45 views

“su doesn’t record the commands executed as root”

I am currently reading book Unix and Linux system administration - Evi Nemeth. On page 70 under the topic "su: substitute user identity" there is a statement that says "su doesn’t record the commands ...
0
votes
1answer
63 views

Policy routing with 2 NICs on the same network seems to not do anything

As noted by dirkt, I'm missing information: This is the continuation of this question, but to summarize, I'm trying to receive a lot of multicast traffic, more than one interface can handle, so in ...
-2
votes
2answers
71 views

What is the job of the following shell script?

#!/bin/bash echo " Enter the name of your directory. You should enter the absolute path to the directory if it is not found in the current directory!" read location echo $location filecount=$( find $...
3
votes
1answer
74 views

Resume Bash Script After Reboot

I have a bash script that changes some configuration in OS and database and it needs reboot then other commands are needed to be run. something like this: newvalue1= ip= . . some commands . ....
1
vote
1answer
140 views

/usr/bin/node no such file or directory

I currently broke my node setup by attempting to upgrade it following a tutorial. I added a symlink and I was told to just reinstall node on here since the symlink can't be undone. I went ahead ...
0
votes
1answer
42 views

How to turn on syntax highlighting for vi/vim?

Running a minimal ISO of CentOS_7 I've tried writing a .sh script using vi but can't get syntax highlighting to work. Pressing escape and typing :syntax on as shown in articles like this one are not ...
0
votes
0answers
60 views

XRDP single session per user

I would love to have a Linux CentOS 7.6 system here in the office where all users connect to and work on. But... there is a catch. Default XRDP sessions work nicely in a way that from a single machine ...
0
votes
0answers
30 views

Empty /home/user folder for NEW users [duplicate]

I am new on Linux so I don't know if this is a normal behavior or not. I am reading a bit about how to manage users. The thing is that when I create a new user using the "adduser" command it creates ...
1
vote
1answer
48 views

PXE boot fails With “Could not locate boot server.”

My target machine with PXE enabled receives a lease from dnsmasq and prints a message UD: 192.168.10.123 which is the address of my dnsmasq/tftp server but then fails to get any further with "Could ...
0
votes
0answers
56 views

CentOS7 OpenSSH won't start with machine and hangs when ran via systemctl

The SSHD service is enabled on my VM, however it does not start when the machine boots. Further, if I run systemctl start sshd it simply hangs. If I manually run /usr/sbin/sshd, it starts no problem ...
0
votes
0answers
14 views

centos: run a single site on startup(browser-GUI) - without Desktop environment

what i want is when i start my centos 7 server(minimal) automatically to show to user this site youtube.com and user can just browse and not to do anything else. So there will be no desktop just ...
0
votes
0answers
12 views

Printing output in full screen with auto detect for putty screen size

Using the following alias I were able to achieve BTC current price from Binance exchange. alias binance="curl -sS 'https://api.binance.com/api/v1/ticker/price?symbol=BTCUSDT' | jq -r '.price | ...
0
votes
1answer
31 views

Centos 7 RPM Packaging - Create a desktop shortcut during installation

I am developing a cross-platform UI with .Net Core and am packaging it using RPM Package Manager. I have created the RPM file to be locally installed. The %install section of my spec file looks like ...
0
votes
2answers
76 views

How to translate APT-Get install packages to YUM [closed]

I have a Raspberry PI, which I am required to use CentOS 7. I am also trying to use the papirus eInk display (https://github.com/PiSupply/PaPiRus) The drivers and dependencies installation ...
-1
votes
1answer
90 views

Rsyslog in not logging due to Selinux, is my workaround ok

I have these two parameters in /etc/rsyslog.conf $ModLoad imjournal # provides access to the systemd journal ... # Turn off message reception via local log socket; # local messages are retrieved ...
0
votes
1answer
50 views

rpmgraph: https://linux.die.net/man/8/rpmgraph USAGE and capabilities, Fedora, CentOs, RedHat

PROBLEM: I'm trying to get this program running, I want to make a topological map/graph of the dependencies and packages on a rpm system: rpm-devel-4.14.2-1.fc29.x86_64.rpm Fedora 29 Download gives ...
3
votes
1answer
383 views

error while loading shared libraries; file too short

I am working on a CentOS 7 workstation. I had installed Rstudio and it was working fine until recently. But now, if I try to launch it at http://localhost:8787/ I get an error that says Unable to ...
0
votes
2answers
27 views

Echo shell log while entering and then exit

While I type a command, this command will authenticate with a remote server and do a bunch of things. If pass, it will give me a bash shell with its environment. My goal is to save these log which ...
1
vote
1answer
230 views

sshd[5589]: error: PAM: pam_open_session(): Cannot make/remove an entry for the specified session

I am working with a CentOS7 minimal install. I configured pam_radius with pam_script and was always able to ssh to the server using pubkey auth: that was on purpose. But after hardening the server ...
0
votes
1answer
32 views

unable to connect with localhost (11.213.234.24) on port 9200 from vagrant

I am running vagrant from a virtual box with centos. Trying to connect my localhost on port 9200 from vagrant by using (curl -X GET 'http://11.213.234.24:9200'). Getting below error curl: (7) couldn'...
0
votes
0answers
57 views

Cannot bind TCP/TLS listener socket to addr XX.XX.XX.XX:3478

After installing and configring turnserver on a CentOS-7.X server, I meet the following poblem. $ ./turnserver ... ... 0: Cannot bind TCP/TLS listener socket to addr 39.39.39.39:3478 0:...
2
votes
1answer
61 views

AutoFS not working as expected with CIFS shares

I have this setup Client: Centos 7.6.1810 up to date Server: Windows 7 pro AutoFS Configuration # tail -1 /etc/auto.master /srv/xray /etc/auto.xray # cat /etc/auto.xray cdm8240 -fstype=...
1
vote
0answers
157 views

Can't launch CentOS 7.6 installer if PC has M.2 NVMe PCIe SSD

A PC has a Toshiba 512 GB NVMe PCIe SSD. Windows 10 has been installed on it and boots OK. When trying to install CentOS 7.6 on this SSD, the system hangs during boot, and I can't enter the CentOS ...
0
votes
0answers
18 views

centos: Xshell login server, prompt not shows $ or #

terminal tool in CentOS : [see20@localhost ~]$ terminal tool in XShell : [see20@localhost ~] no $ or # shows in XShell run in each termainl : printf '%s\n' "$PS1" output: [\u@\h \...
-1
votes
1answer
86 views

OpenSSL Crypto development libraries are not installed properly in required location

When I configure turnserver-3.2.3.95 in my CentOS, I meet the following problem. $ cd turnserver-3.2.3.95/ $ sudo ./configure more is /bin/more install is /bin/install pkill is /bin/pkill Use TMP ...
0
votes
1answer
286 views

xrdp disconnects immediately after connection from Windows10/Centos to Centos7

This is my xrdp config: [Globals] ini_version=1 fork=true port=3389 use_vsock=false tcp_nodelay=true tcp_keepalive=true security_layer=negotiate crypt_level=high certificate= key_file= ssl_protocols=...
1
vote
0answers
35 views

PXE boot a computer using Ironic Bifrost

I am using Openstack Ironic standalone using Bifrost. I followed this link link https://docs.openstack.org/bifrost/latest/install/index.html#introduction to install Bifrost on CentOS system in ...
1
vote
0answers
27 views

fail2ban not detecting ssh failures on CentOS 7

I've installed fail2ban on CentOS 7 and added jail.local: [sshd] enabled = true When I try a bad ssh login, I get a log entry in /var/log/secure like this: Jun 5 11:09:40 arsenal sshd[32595]: ...
0
votes
2answers
31 views

Centos OS command to unlock domain account

I have CentoOS servers that are on my MS domain. I had another admin login to one with the wrong password 3 times. We have unlocked him on the domain but he is still locked out on that server. What ...
0
votes
1answer
40 views

operate disk with different character encoding

I have a disk in Chinese Simplified character encoding copied from Windows. And now I installed centos7 with Chinese Traditional character encoding. 1 How could I mount this disk? I use command ...
-2
votes
1answer
27 views

Security patch update [closed]

If applying the latest patch(example : CESA-2019:0679 - Libssh2 Security Update - CentOS 7 x86_64) will cover the previous patch changes or we need to do it separately?