Questions tagged [centos]

Community ENTerprise Operating System; a Linux distribution based on Red Hat Enterprise Linux widely used on web servers.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

Do child directories inherit some permission properties at all times? [linux]

I'm having troubles with running one program and now I'm starting to question linux basics ffs. The problem is with permissions. may i try some luck around here? I run program from home folder (it ...
0
votes
0answers
11 views

Where to find/how to install libclang-*.so.1 on CentOS?

I am trying to find a library of libclang-*.so.1 on centOS, but didn't find it anywhere. I have already installed clang. Any suggestions are welcome.
0
votes
0answers
13 views

CentOS in docker container thinks it has 0 bytes left on '/'

MacOS: Mojave 10.14.6 Docker: 2.0.0.3 (Engine: 18.09.2) Hi! I have a CentOS container (running in docker on MacOS), which reports all of a sudden (after months of use) that there’s no space left on ...
0
votes
0answers
19 views

repeated use of ssh-keygen -H on CentOS clobbers existing records

when i execute ssh-keygen -H repeatedly on CentOS, previously entered records get clobbered. let us look at a sample session: $ vi ./id_rsa.pub (copy the key) $ truncate --size 0 $HOME/.ssh/...
0
votes
0answers
15 views

Is it possible to upgrade from centos 6 kernel 2.6.32-754.25.1.el6.x86_64 to 5.12.1 version?

You are currently using centos6 kernel 2.6.32-754.25.1.el6.x86_64. I'd like to upgrade to 5.12.1 to take action against the vulnerability in this version, and I'm asking if it's possible. If it is ...
0
votes
0answers
10 views

All pure-ftpd.conf files are ignored

My CentOS VPS features pureftpd version 1.0.47 and it was working fine with TLS. After the upgrade to OpenSSL 1.0.2k, all users get this error on connecting with Filezilla: Response: 220---------- ...
0
votes
0answers
9 views

Recover data from old LVM partition on Centos 7

a few days back I my system would not boot up and go directly to emergency mode with no luck getting out, so I decided to reinstall centos 7. However, there are a few files that I would like to ...
0
votes
0answers
11 views

Cannot receive IP from router bridge

I have a "router" that is basically a computer with 4 network ports and Linux Centos installed that I will be calling Centos-Router from now on. My operator cable router is configured with ...
0
votes
2answers
40 views

Install PHP 8 separately from PHP 7 - Centos 7

My production Centos 7 machine is running PHP 7.4 but I 'd like to test code against PHP 8. Before a few days,in formatting a new server, I tried yum-config-manager --enable remi-php8 but this broke ...
0
votes
0answers
13 views

Detect public IP address from within Linux Azure VM

I have created a Linux VM (Centos 8) on Azure cloud, with public IP (SKU Standard, Static). I expect that this IP address to be discoverable within the Linux VM. [admin@my-vm ~]$ ip a 1: lo: <...
0
votes
0answers
20 views

Tomcat running on CentOS being killed

I'm running Tomcat 9 on CentOS 7 and Tomcat is being killed and I can't find any logs indicating why. In the past, it was being killed due to being out of memory. Unfortunately, I can't remember where ...
1
vote
1answer
25 views

Metadata file does not match checksum after yum install

I'm trying to install elasticsearch using YUM repo on centos. I configured the yum repo as described here : https://www.elastic.co/guide/en/beats/filebeat/current/setup-repositories.html but after the ...
0
votes
1answer
28 views

How to resolve usr/bin/sudo must be owned by uid 0 - chown root su cannot be used

usr/bin/sudo must be owned by uid 0 . How can this be fixed I am very new to Linux. Does not allow me to access Super User or Root - though I am the only user. Permission also denied for- chown*** ...
0
votes
1answer
15 views

Install OpenDR in CentOS 7 for native Python 3 (not Anaconda Python)

The following command didn't work. Could you please guide me on how to fix it? $ pip install opendr Collecting opendr Downloading opendr-0.78.tar.gz (581 kB) |████████████████████████████████| ...
0
votes
0answers
7 views

Enable protocol 2 from firewalld

I've installed kuberentes with metallb in a bare metal server, and one of the nodes gives IP address to the pod, but I can't reach it from other machines. If I disable firewalld, it works, so I've ...
0
votes
0answers
23 views

How to view or record user's active time in Linux server

I'm a server admin for a university, and we have 4 CentOS servers that students can use for their projects in various classes. The CS professors have asked me to come up with a way to track a user's ...
0
votes
1answer
29 views

Sending a UDP message stream - listener hanging after first receive

I'm attempting to use nc to send a stream of messages from one server to another using UDP. On the sending side, Centos 7.5, I'm doing the following: for s in $( seq 1 20 ) do echo "$(date +'%...
0
votes
1answer
26 views

ssh gives 'Permission Denied' on valid username/password credentials (ssh set to accept password log in)

I have a strange issue on a CentOS 7 machine. If I login from the console, as two different usernames, I'm able to log in. However, when I try that same username/password combinations, I get ...
0
votes
1answer
51 views

How to enlarge home directory on CentOS 7

I have an issue with the storage of my virtual machine which is running on CentOS 7. I'd like to enlarge the home directory which is currently completely used but there is clearly free space on the ...
0
votes
0answers
27 views

Is it possible to show the interfaces status which attached on bridge?

In my CentOS 8: I can use brctl show bridge details: [root@centos8 ~]# brctl show br0 bridge name bridge id STP enabled interfaces br0 8000.02b332a9c221 no em1 ...
0
votes
1answer
13 views

CentOS - /sys/class/leds/ description

How do i get informations about the files/entrys of /sys/class/leds/? I have a "kana" input/led there, and wonder what it is/does. [root@server ~]# ll /sys/class/leds/ insgesamt 0 lrwxrwxrwx ...
1
vote
0answers
13 views

How to set quota per directory/sub-directory in LInux

At the moment I use Oracle VM on a local environment, but the final intention is to utilize it in the server. Filesystem type is xfs and the OS of VM is Ubuntu but if needed I can install any other ...
0
votes
0answers
38 views

How to properly upgrade gcc on Centos 7?

I did this to upgrade gcc from 4.8.5 to gcc 7: sudo yum install centos-release-scl sudo yum install devtoolset-7-gcc* source /opt/rh/devtoolset-7/enable This does give me the gcc 7 in the current ...
1
vote
0answers
25 views

GUI for WSL2 CentOS through RDP

I've installed an Xfce desktop for WSL2 Ubuntu-18.04-LTS through xrdp with relative ease, but am having difficulty with CentOS 7. I have used the workaround here for systemctl. Afterwards, I've tried ...
0
votes
0answers
11 views

CentOS 8 - Rsyslog rename logs

I want to rename logs that I get on my CentOS coming from other networking devices, but I am not sure how to do that. This is the template that I configured in rsyslog.config file: $template ...
0
votes
0answers
14 views

Send e-mail as non-existent user for domain

Sorry I didn't know how to really word this in a short title, it's not just a simple send-as question lol. I own a domain that I use as a catchall so that someone can send anything@mydomain.com and it ...
0
votes
0answers
16 views

Centos7 Legacy (not-UEFI) boot both DVD and USB isolinux.cfg syntax

I have a bootable ISO which installs Centos 7. Sometimes I burn this ISO on DVD and sometimes on USB. isolinux.cfg has the following content - LABEL Boot From Local Drive (installed by DVD) ...
0
votes
0answers
29 views

Alternative of Cloudera 5 for RHEL 8.2

As Cloudera announced to have authentication (from Feb 2021) on their repository of RPM and source code https://archive.cloudera.com/p/cdh5/redhat/7/x86_64/cdh/5.15.0/. Now, I want to use Cloudera but ...
0
votes
0answers
6 views

Installing dust using Cargo on CentOS 7

How can I fix the following error when I am trying to install dust on CentOS 7? $ cargo install du-dust Updating crates.io index Installing du-dust v0.5.4 error: failed to compile `du-dust v0.5....
0
votes
0answers
21 views

Changing the installation path of brew script in CentOS 7

I am trying to install brew using the following script: $ sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)" However, I get the following error: ...
-2
votes
1answer
52 views

Getting an error when attempting to install Homebrew on CentOS 7: “Error: Unknown command: shellenv”

I am trying to install brew on CentOS 7 and get the following error: [jalal@goku ~]$ git clone https://github.com/Homebrew/brew ~/.linuxbrew/Homebrew Cloning into '/home/grad3/jalal/.linuxbrew/...
1
vote
1answer
30 views

CentOS 8 - RocketRAID 2720 non raid bios, driver installation issue

Im trying to install the highpoint driver for the RocketRAID 2720 HBA.I want to use the attached drives as individual block devices in linux. For that i have flashed via freedos the "non-raid&...
0
votes
1answer
206 views

Accesing 2 different websites with SSL (https) and one single static IP from provider

Situation: 2 dedicated LAMP servers (CentOS + Ubuntu), one static IP Address, one router. First server internal IP : 192.168.0.60 - Web hosting server Ports forwarded in router configuration: 21, 22, ...
0
votes
0answers
13 views

Why does CentOS7 firewall automatically block http https traffic?

I've just experienced a strange behavior with my CentOS VPS. I checked and fixed but I still not figuring out why it happened? My server used to work without any problem until this morning, all my ...
0
votes
0answers
23 views

centos 7 - ran out of space on lvm now cant mount volume

I have a Centos 7 VM which has ran out of space on the LVM used for / Now when we try to boot the VM it goes straight to emergency mode. When I try to use the rescue mode to increase the space and ...
1
vote
1answer
38 views

trying to reinstall ca-certs on centos

I am trying to connect to a web service and i get an error: cURL error 77: ......... I have read all over the web, that i can fix it by: yum reinstall -y ca-certificates but when i do that, i get: # ...
0
votes
0answers
14 views

ssh a CentOS machine installed in VMWare in different machine

I have installed a Centos7 in VMWare WorkStation in my wife's laptop and we can use putty to login in to the machine and access it from my wife's laptop. I am trying to access the CentOs7 from putty ...
0
votes
0answers
38 views

ACPI BIOS error (bug): Could not resolve [\SHAD._STA.SDS0], AE_NOT_FOUND

I recently rebooted my machine and now I see this (see image below). see error screen here I cannot seem to bypass this, thus can't boot into my machine; I can access the grub menu to select my linux (...
2
votes
1answer
29 views

Create new SSH user and give him permission to an existing directory

Im trying to create new user called svecias and give him permission to connect via SFTP only to existing directory and deeper (/usr/share/nginx/itsupply). Currently directory is owned by nginx in ...
0
votes
0answers
12 views

Unable to mount an LVM2 block device to local path

OS : CentOS Linux release 7.9.2009 (Core) kubernetes version: 1.11 docker : 1.13 The rook ceph deployment is kubernetes is unable to provision pv dynamically hence im trying mount the LVM volume to ...
0
votes
0answers
19 views

Linux create a new user that shares everything of another user

A little background first, since I know this question seems very random. I am using vagrant to help orchestrate a RedHat virtual machine. Vagrant is great in just about every way, however it forces ...
0
votes
0answers
27 views

Multiple monitors quit working/not displayed in 'Displays' (CentOS 8)

I have been using the following kernels from my GRUB menu: CentOS Linux (4.18.0-240.15.1.el8_3.x86_64) 8 // broke it all CentOS Linux (4.18.0-240.1.1.el8_3.x86_64) 8 // problem CentOS Linux (4.18.0-...
0
votes
1answer
17 views

Escape from guest CentOS by Ctrl+Alt+Del in VirtualBox

I use CentOS 7 as a guest OS in VirtualBox (host is Windows 10). When the mouse cursor is in the guest OS, the only way to get out of it seems to be Ctrl+Alt+Del. Sometime double cliking Right Control ...
0
votes
0answers
50 views

How can I stop firewalld from interrupting an existing outgoing ssh exec session when it is started or restarted?

I have a java program running on a Centos7 server that continuously "tails" a file on another Centos7 server using the JSch library to run an ssh exec process to run a shell script on the ...
1
vote
0answers
13 views

etckeeper - access control

I have etckeeper installed on ten servers with Centos 6 and Centos 7. It uploads / etc from the server to an individual git repository (it has its own for each server). My git is deployed based on ...
0
votes
0answers
24 views

SSD on DVD drive

I changed my DVD drive to an ssd , on windows 10 I can see the ssd as on normal, however , on my Linux centos installed on VMware I can't see the ssd even using frisk or cfdisk. I have also VMware ...
0
votes
0answers
18 views

How can i hear sound when connected to centos server by remote desktop connection on windows 10

I am trying to play audio on cent os 8 and hear it on my windows machine. I have connected centos by remote desktop . I tried the instruction given in https://github.com/neutrinolabs/pulseaudio-...
0
votes
0answers
21 views

SSD configure on linux

I changed my Alienware 17 R1 DVD drive to an SSD disk of 1000 GB.On windows 10 i can see the disk as on normal, however,on Centos 7 installed on VMware I could not access the same disk. Any help on ...
0
votes
1answer
27 views

What could be a list of important configuration files and logs file on a Linux system that deserve to be monitored by a SIEM? [closed]

I am not a system engineer and not a security expert (I am more a software developer) but I am working on a project related to a SIEM installation (Wazuh). At the moment this installation have only a ...
0
votes
1answer
320 views

Vnc viewer error: unable connect to socket: Connection refused (111) in CentOS 8

I would like you to help me with the following problem. I will try to give as many details as possible. I recently installed a vnc server on a Centos8 virtual machine. I have done all the ...

1
2 3 4 5
63