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

Unable to run nano with sudo using urxvt terminal emulator on remote system

I have an Arch laptop running i3-wm and urvxt. When I attempt to remotely connect to my CentOS 7 (zsh + oh-my-zsh) server through ssh and run the command sudo nano I receive the following error ...
0
votes
0answers
7 views

babel could not write cache to file /usr/share/kibana/optimize/.babel_register_cache.json

I am trying to install ELK stack on Centos7 server using this: https://www.elastic.co/guide/en/elastic-stack-get-started/current/get-started-elastic-stack.html I had older version of ELK on the same ...
1
vote
0answers
16 views

User Home Folder not visible from WinSCP/FileZilla

We have setup a Centos 7 FTP server. When we connect to it via WinSCP or FileZilla we get dropped in the user's Home Folder. Once we go a layer above that, so the /home folder we do not see the ...
0
votes
0answers
16 views

Problem with php extension intl [closed]

I have a problem with CentOS server 7.7. I tried to load moodle 3.8.2. and I was told that I need to load or enable php_extension intl I've tried a lot of things and it's not going :( Im asking for ...
0
votes
0answers
22 views

Upgrading Apache from 2.4.6 to 2.4.41 on Centos 7

I would like to seek some guidance on how to upgrade httpd 2.4.6 to 2.4.41 on centos 7. I realised there are similar questions but for RHEL7. The reason for upgrade is due to vulnerability CVE-2017-...
0
votes
0answers
11 views

Rsync symbolic link to directory with source directory

How can I copy with rsync symbolic link to directory with directory to same path for example: \# ls -l 11/ drwxr-xr-x 2 root root 49 Apr 1 15:24 1123 lrwxrwxrwx 1 root root 4 Apr 1 15:30 1234 -&...
0
votes
0answers
7 views

OpenVPN Static Key Mini-HOWTO

I am following OpenVPN Static Key Mini-HOWTO to create a minimal setup for routing all network traffic from my laptop through a VPS. I created a static key with openvpn --genkey --secret static.key ...
0
votes
1answer
13 views

SELinux is blocking gunicorn

I am wrote a systemd unit to start gunicorn but it unfortunately kept failing, upon checking journalctl I found the following error. SELinux is preventing /usr/lib/systemd/systemd from execute access ...
0
votes
0answers
17 views

Centos8 - After a login systemd touches /boot/grub2

I'm using Centos8 on a mini-PC as a router/firewall, and run Tripwire. I'm the only one who ever logs in, always as a non-privileged user, not root (ssh root login is disabled). Every time I login, ...
0
votes
0answers
22 views

yum update dosn't work on centos7

I have installed centos 7 on a virtual host (I have used the minimal install and automatically partition). When I have connected to my host and try to update using yum update the command dosn't seems ...
1
vote
1answer
98 views

CentOS7/GDM/Xfce - Locale set to xxx.UTF-8 at session start despite system-wide locale to xxx.iso88591

I'm using CentOS 7 with XFCE and GDM. My issue is as follows: I want my locale to be LANG=fr_FR.iso88591 (required by an antic piece of software). Following CentOS official guide, I did the ...
0
votes
0answers
9 views

./Configure error installing xDebug - wrong php version

I am trying to install xDebug for php7.2 but keep receiving the following error when i execute ./configure to generate the make file: checking Check for supported PHP versions... configure: error: ...
0
votes
0answers
6 views

Set multiple custom TLDs for different computers on LAN using dnsmasq

For years I'm using dnsmasq with following settings so I can access my computer's http server on LAN using a custom TLD address=/.test/192.168.0.10 Now I want to add another TLD for another computer ...
1
vote
1answer
26 views

I erased hardware address of wifi device in NetworkManager. How can I find it again?

I was trying to fix a limited connectivity wifi connection and erased the hardware address of wifi device in NetworkManager by mistake. I cannot get wifi to work and thought changing those settings ...
0
votes
0answers
27 views

Genymotion fails to start an Android device

I am having problem to start an android device with genymotion and virtualbox on CentOS 8 (Remote dedicated server). Both network settings, and kernel modules are enabled. The virtual machine starts ...
0
votes
0answers
22 views

IP Routing - Multiple Interfaces

I am using Elastix 2.5 (CentOS 5.11) with 4 NIC's (1 for WAN and 3 For SIP Trunk using IP Authentication) eth0 - WAN IPADDR=75.XX.XX.162 NETMASK=255.255.255.240 GATEWAY=75.XX.XX.161 eth1 - SIP ...
0
votes
0answers
16 views

Yubikey terminal setup for SSH authentication

My server is on CentOS 7.5. I had previously Fedora installed in my workstation. Due to some issue I reinstalled CentOS 8 in my laptop. When I had Fedora I was able to successfully setup ssh ...
1
vote
0answers
12 views

How to monitor AMD GPU on Linux Server

I am working on a linux server and need to monitor the gpu load of an AMD GPU. Unfortunately I do not have super user rights so I cannot install radeontop. Is there another way to monitor amd gpu load?...
0
votes
1answer
18 views

CentOS 7 cron jobs

/etc/crontab is empty yet cron jobs are still being run. scripts that are located in /etc/cron.hourly, /etc/cron.daily, etc. are still being run. So where is the master if it's not /etc/crontab? Is ...
0
votes
1answer
44 views

Linux GUI is terribly laggy and freezing on server hardware

I recently got a used DL360 g6 server on my hands. It has 2 5670 CPUs with 12 cores and 24 threads, and came with 80GB of RAM. Windows OS runs pretty fast on it, but linux distros are terribly laggy ...
-1
votes
0answers
16 views

Searching for Squid proxy server alternative

Im searching for a Squid3 HTTP proxy server alternative since that only uses 8 character passwords and thats really not secure, also not to mention the username cannot contain numbers. What I tried ...
0
votes
1answer
32 views

Why doesn't the sum of memory usage for all systemd-slice members equal the memory usage for the slice itself?

Context: uname -srvmpio Linux 3.10.0-1062.1.1.el7.x86_64 #1 SMP Fri Sep 13 22:55:44 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux cat /etc/redhat-release CentOS Linux release 7.7.1908 (Core) systemctl --...
0
votes
0answers
9 views

Verifying Cold Reboot?

I noticed that I could do a "cold reboot" by setting kernel boot parameter reboot=cold. However, I wonder whether there is a way to verify that the reboot is indeed "cold". Thanks!
0
votes
0answers
13 views

logrotate not working properly

I'm trying to setup logrotate but for some reasons logrotate isn't rotating the files. It always complains that it cannot find previous log files. Below the content of my logrotate file: /home/cm/...
0
votes
1answer
34 views

CentOS 8 cannot locate libnss3.so (64bit)

I cant find the libnss3.so file (64bit version) in CentOS 8 even after installing the associated package nss-3.44.0-4.el7.x86_64.rpm. I can only find the 32 bit version in /usr/lib/ but no 64bit ...
0
votes
2answers
24 views

Closing a port listening on a local host

How do i close a port listening on a local host in CentOS7? So far I have used the below command to find the process id sudo netstat -tlpn | grep 5601 Then, used the below command to kill the ...
0
votes
0answers
10 views

How to run reposync with a different releaseversion value

I want to make a CentOS mirror with different versions of CentOS? How do I do that with reposync. I can't use rsync.
0
votes
1answer
18 views

Recovering files on CentOS 7

I would like to know if it is possible to recover files that I have deleted? I have VPS with CentOS 7 and if it is possible I would like to look for (and recover) deleted files by their file ...
0
votes
0answers
12 views

Centos7: Closed the port but it still shows as listening

I am using CentOS7. I have closed the port using the below command: firewall-cmd --zone=public --permanent --remove-port=9200/tcp firewall-cmd --reload While executing the command, it also gives ...
0
votes
0answers
5 views

How to add new rules to dontaudit

How to add new rules to dontaudit. How do I check on the Internet to show that I have not joined?
0
votes
0answers
8 views

Samba as domain controller

I want to configure samba as domain controller but without use of samba-tool .Then what are the configurations of smb.conf ,bind server records like _srv,krb5 server,ldap server.Please tell about this
0
votes
0answers
10 views

Keep /run/user/$UID until reboot

Is it possible to maintain the /run/user/$UID directory for all users until a machine reboots? To be clear, if a user logs off and all their processes end/are closed, I still like that user's ...
0
votes
2answers
25 views

Centos: Obtain MAC address of a local machine

I have a local network with many machines. From a CentOS server I need to obtain the MAC address of specific IP (and need to automate this for several hundred IPs). I have tried ping + arp -a, but it ...
1
vote
1answer
40 views

SMBus communication not working. smbus.h is missing

I'm trying to communicate with an SMBus device on CentOS 8.0. I've installed i2c-tools and libi2c. Doing find / -name "smbus.h" 2>/dev/null doesn't return any results. Running i2cdump ...
0
votes
1answer
43 views

sudo - one user does not need to type password

We are setting up a server with centos 6.10, when setting up a user with sudo, we discovered that sudo never asks for password. Setting up another user with the same (full) sudo rights, it is asked ...
1
vote
1answer
32 views

Why Server is not able to resolve DNS

I setup DNS which will act as external DNS server. All settings are default , administrator told me to use Root hints file which is located under /var/named/named.ca. And root zone is mentioned in /...
0
votes
2answers
17 views

LVM - Renaming a Volume Group and ensuring system can boot?

I have a fresh install of CentOS 7, which will act as a KVM host. I don't like the default name given to the Volume Group and I'd like to change it. I read somewhere that renaming volume group that ...
0
votes
1answer
23 views

Cannot add epel repository on RHEL8.1

I am unable to install add epel repository. I did the following which work without errors: # dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm # ARCH=$( /bin/arch ) ...
0
votes
0answers
21 views

LIFNAMSIZ undeclared, even though net/if.h included

I am trying to compile the following source on CentOS (taken from here): #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <string.h> #include <unistd.h>...
0
votes
0answers
16 views

Connecting to OpenVPN server that has 2FA | CentOs 7

I received a few files from the host of an OpenVPN server. Including some keys, certificates and the config file. So I can connect fine with command line: openvpn --config work.conf Then it asks for ...
0
votes
0answers
32 views

/dev/tun vs /dev/net/tun

I am mounting the /dev/tun device of an IllumOS installation (actually OmniOS, but I don't think it makes a difference) inside a lx-brand zone (using add device, set match=\dev\tun, end). Problem is, ...
0
votes
0answers
10 views

How can I share folders in /run/user/$uid via NFS?

/run/user/$uid is created by pam_systemd and used for storing files used by running processes for that user. These might be things such as your keyring daemon, pulseaudio, etc. It can also serve as a ...
0
votes
0answers
21 views

What fence_agent to use for cisco 3172pq device?

I'm using pacemaker to setup a Centos 7 cluster with a cisco 3172pq switch. What fence-agent should we use that is compatible with the mentioned fence device? If I do a yum search fence- It ...
1
vote
1answer
32 views

Updates php on Centos 7 but phpinfo.php show older version

So, I'm removed all php on Centos 7 like this: yum remove php* then I'm install shut down the older php repository like this yum-config-manager --disable remi-php54 and enable the new one yum-...
0
votes
0answers
23 views

Getting disconnect after succesfull connection

I have sftp server with settings: # This is the sshd server system-wide configuration file. See # sshd_config(5) for more information. # This sshd was compiled with PATH=/usr/local/bin:/usr/bin:/...
1
vote
1answer
10 views

parse Duration from xml using xmlstarlet

The file looks like <MediaInfo xmlns="https://mediaarea.net/mediainfo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://mediaarea.net/mediainfo https://mediaarea....
0
votes
0answers
23 views

How to install Downloaded Postman Application in Centos7?

I have downloaded Postman from https://www.postman.com/downloads/ How to install in Centos 7.
1
vote
1answer
36 views

Is it normal to patch a Makefile for CentOS/RedHat to use lib64?

For distribution in CentOS 6, I'm reviewing a Makefile.patch that has, - @echo 'libdir=$${prefix}/lib' >> tap.pc + @echo 'libdir=$${prefix}/lib64' >> tap.pc My question is whether or ...
0
votes
1answer
26 views

-bash: cd: No such file or directory error showing But the Folder is Exists

Iam using CentOS7 for my webserver. I got an error while try to open a directory via SSH. ls -l command shows like this drwxr-xr-x 2 ag007 ag007 38 Mar 17 13:52 Gullane -rw-r--r-- 1 ag007 ag007 0 ...
0
votes
0answers
16 views

Users in Active Directory cannot authenticate to CentOS 8 file server

Trying to set up CentOS 8 as a file server. I added it to the domain using realmd. I can see the server in AD, but when you try to authenticate from Windows with a AD user, it says incorrect password. ...

1
2 3 4 5
138