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.

-1
votes
0answers
12 views

Disabling automatic hiding of launcher sidebar in centos 7

How does one prevent the launcher sidebar (if that is what its called) from auto hiding in CentOs 7? The only way to make it visible right now is either by pressing super or hovering the mouse ...
0
votes
0answers
5 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
8 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
14 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
13 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
23 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 ...
-2
votes
0answers
9 views

Cacti Server v1.2.3 PHP error Timezone on CentOS

Why do I get this PHP timezone error?
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
1answer
21 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
12 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
43 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
35 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 ...
-4
votes
0answers
34 views

Show users and group names on the same line [closed]

A list of the other users accounts in the system (each one in separate line), at least you should display the user ID, username the groups he / she belongs to in the system getent group || awd ...
0
votes
1answer
42 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
57 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
46 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
23 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
0answers
11 views

Undo a binary link for a node.js upgrade [closed]

I recently attempted to upgrade node following some tutorial and I ran this to "setup binary link". Everything worked fine up to this point: sudo ln -sf /usr/local/n/versions/node/11.8.0/bin/node /...
0
votes
1answer
36 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
10 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
29 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
18 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
47 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
6 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
11 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 | ...
-1
votes
0answers
15 views

How to install wireless driver “kmod-r8192ce” in centOS7? [closed]

Details: # lspci -nn | grep -i net 02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter [10ec:8176] (rev 01) # uname -r 3.10.0-327.el7.x86_64 "10ec:...
0
votes
1answer
20 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
31 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
22 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
42 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
40 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
26 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 ...
0
votes
1answer
38 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
20 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
20 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
18 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
27 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
30 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
37 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
27 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
17 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
25 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
38 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
21 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?
0
votes
0answers
24 views

Installing centos, error - failed to find suitable stage1 device

On my machine i already have windows. On free space of 100gb, I created 3 partitions for new centos installation - /boot 500mb, swap 8gb, and / of remaining 90gb. All are of type standard partition, ...
0
votes
1answer
26 views

When I use `rpm -import`, there get `curl: (35) Cannot communicate securely with peer: no common encryption algorithm(s).` error

When I use rpm -import, there get curl: (35) Cannot communicate securely with peer: no common encryption algorithm(s). error: [root@localhost ~]# rpm -import https://www.elrepo.org/RPM-GPG-KEY-elrepo....
-1
votes
0answers
20 views

Centos 7.6 qemu-kvm-ev

I had some issues when I was trying to install High Sierra on Centos 7.6 using qemu-kvm. I used https://github.com/kholia/OSX-KVM/tree/master/HighSierra for this but qemu-kvm for Centos 7.6 is 2.0.0 ...
1
vote
1answer
49 views

What is the package release process at CentOS

What's the process if a security patch is available for a package on CentOS? I'm waiting for bind-9.9.4-74 Since 5 days, there are this commit 'import bind-9.9.4-74.el7_6.1' on https://git.centos....
0
votes
0answers
28 views

Login incorrect after installing nfs-utils

I am attempting to install nfs-utils (and thus all its dependencies) in a stateless RHEL6.5 KVM VM. The VM is configured to have a read-only root via the /etc/sysconfig/readonly-root file, Linux magic ...