Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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

screen -ls no longer displays session start date/time?

This is how the output of screen -ls looks like for many years on one older Debian machine: artax:~> screen -ls There are screens on: 46785.pts-6.artax (08/26/2019 04:41:05 AM) ...
4
votes
1answer
433 views

Yum Update Broke Slapd

First, I am not an OpenLDAP expert. I have openldap (slapd) running on a server that has been working for years. Today, I ran yum update and it updated quite a few packages, including the openldap ...
0
votes
0answers
8 views

monit removed from CentOS8 and EPEL. Any replacement?

I upgraded to CentOS8 and noticed that monit removed from CentOS8 and EPEL. We have been using it to monitor processes. I know I can build it but wondering why it was removed. Was it replaced with a ...
3
votes
1answer
982 views

Setting up domain with multiple servers

I am setting up a small web hosting service for my clients. I have my dedicated server which will be the shared server to host clients websites using WHM/cPanel. I have a separate VPS server that I ...
0
votes
0answers
21 views

Not able to make a user with sudo privileges in CentOS

I am trying to give a user sudo privileges in CentoS. When I tried sudo usermod -aG sudo username It didn't work saying sudo group doesn't exist. Then I tried sudo usermod -aG wheel username it ...
4
votes
2answers
671 views

ZFS on Linux: cannot destroy snapshot, dataset is busy

I'm trying to delete a bunch of old ZFS snapshots but I get errors saying that the datasets are busy: [root@pool-01 ~]# zfs list -t snapshot -o name -S creation | grep ^pool/nfs/public/mydir | xargs -...
1
vote
1answer
1k 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=...
0
votes
2answers
133 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 ...
0
votes
1answer
10 views

Centos SSH & SFTP user restriction to specific directories

I am managing a server running Cantos 7. Some users login to the server via ssh/sftp for development. For them i have created a user devel. For security reasons, i need to confine them to certain ...
0
votes
0answers
13 views

Is it possible for “service status” to be wrong?

We're running centos 6.7, it doesn't have systemctl. We are using Wowza streaming engine which runs on Java, I'm reporting this issue to wowza as well, maybe it's a bug from their end. Sometimes when ...
2
votes
2answers
1k views

What regulates user privileges for the `mount` command?

My installation of CentOS 6.5 has stopped auto-mounting DVDs in KDE (default) X Window desktop environment (e.g. with all the KDE helper functions). Trying to troubleshoot this unexpected change in DE ...
0
votes
5answers
2k views

“URL not found” on “yum update”

I am working on CentOS 6.7. When I install the command "yum update all", I get the following error. http://centos-hn.viettelidc.com.vn/6.7/updates/x86_64/repodata/...
0
votes
1answer
30 views

Getting trouble installing HPjmeter

I'm trying to install HPjmeter console on centos 7 desktop in order to monitor my web app GC status . I've follwed all the steps mentioned on the official user guide but when executing this command ...
-1
votes
2answers
2k views

Systemctl restart the `network` fail

First of all, I am apology for the pictures, because I can not connect to the issue-machine, so I can not copy the code, only can post the photograph. I use systemctl restart network, get fail. So, ...
4
votes
2answers
4k views

How to allow SSH into Terminal after connecting to VPN server using NordVPN servers through OpenVPN?

I'm using Linux CentOS 7 Server and I already installed OpenVPN and NordVPN servers which I use to connect my Linux to. After establishing the VPN Connection, immediately my SSH access got ...
0
votes
2answers
995 views

Is there any way to install MySQL 5.1 and PHP 5.3 on Centos 7

Is there any way to install MySQL 5.1 and PHP 5.3 on Centos 7. I researched a lot but could not find any link which gives step by step procedure. Can someone please give me steps to be followed to ...
2
votes
1answer
98 views

Is it possible to bypass internet ban?

When I ping google.com or any domain I see real IP but time-outs. and ip address outside of Iran can not be reached. It seems that they have to let the request send and receive IP to resolve ...
3
votes
1answer
26 views

Why do lsmem and free show different total memory?

I have a CentOS 7 machine and there's a question that bothers me. When I use lsmem --summary, I get: Memory block size: 128M Total online memory: 8G Total offline memory: 0B When I ...
0
votes
0answers
22 views

Apache stopped working after reboot

My Apache server on CentOS7 suddenly stopped working after a reboot. I had SSL configuration with .crt and .key wildcard certificates obtained from a valid CA. When I restart the httpd service I ...
0
votes
1answer
943 views

nginx: [emerg] BIO_new_file(“/etc/letsencrypt/live/site_name/fullchain.pem”) failed

I am using CentOS 7, Nginx 1.12.2, certbot 0.31.0 , Error after delete all things related to Let's Encrypt of 002.bkit.vn [root@VMHostDefault 002.bkit.vn]# nginx -t nginx: [emerg] BIO_new_file("/...
0
votes
2answers
1k views

How can I restrict ssh user to particular directory with write permission?

I use the following configuration and it worked successfully for restricting the ssh user to a particular folder but when I change the permission of the group to read+write, the user can't login to ...
0
votes
1answer
705 views

Cannot downgrade from CentOS 7.6 to 7.5

I am trying to downgrade my CentOS 7.6 to the previous minor release 7.5. I am currently on kernel version 3.10.0-957.10.1.el7.x86_64. For the downgrade I need to install kernel version 3.10.0-862 (7....
1
vote
1answer
29 views

What is the mock template for centos-7?

I see on some sites they mention a centos-7 template that ships with mock, /etc/mock/centos-7-aarch64.cfg /etc/mock/centos-7-armhfp.cfg /etc/mock/centos-7-i386.cfg /etc/mock/centos-7-ppc64.cfg /etc/...
8
votes
4answers
9k views

Yum error while installing MongoDB on CentOS?

I am using Centos 6.6 (x86_64) Trying to install most stable mongodb version available. but I am stuck with this error (which might seem repeated but none of the previous answers worked for me) [root@...
1
vote
1answer
19 views

Loading a kernel module at boot time is blocking?

I am loading a kernel module at boot time, I added it to a config file in /etc/modules-load.d/, the module is loading correctly. In my module I am using the wait_for_random_bytes() function from ...
1
vote
4answers
11k views

500 OOPS: chroot on vsftpd login

I'm aware this question has been asked a lot in the past, but my problem seems to be a bit different. I'm using vsftpd on my CentOS 7 server and I have specified chroot_local_user to YES in /etc/...
1
vote
1answer
3k views

while installing centos error is that 'sda must have gpt label'

While trying to install CentOS 6.4 IN DUAL BOOT with win 7 there was this error "sda must have gpt label". I don't know how to fix it and I also don't want to repartition my hard drive.
0
votes
0answers
16 views

logrotate wildcard generating empty files

I discovered that using wildcard with logrotate give me empty files. I would like to find a solution for not having those empty files created. Many thanks for your help The extract of my /etc/...
0
votes
1answer
20 views

How to Switch From CentOS 8 to CentOS Stream

Is there any way to do a sort of in-place upgrade to CentOS Stream? I'm currently running CentOS 8 and for various reasons would like to switch over to the new Stream version. Is it possible to do ...
0
votes
2answers
20 views

I can not install nslookup in my CentOS server

I can not install nslookup in my CentOS 7.2: yum install nslookup [root@localhost network-scripts]# yum install -y nslookup added plugin:fastestmirror Loading mirror speeds from cached hostfile * ...
9
votes
2answers
1k views

Whenever ansible makes changes to sshd in CentOS7 a random future play cannot connect

This has been an irritating enough problem now that I thought I would finally ask the community at large what a possible solution might be. It's even more irritating that I seem to be the only one ...
2
votes
1answer
20 views

Why are my network connections being rejected?

I have a CentOS 8 guest running on a Fedora 31 host. The guest is attached to a bridge network, virbr0, and has address 192.168.122.217. I can log into the guest via ssh at that address. If I start a ...
0
votes
1answer
2k views

upgrade qt 5.6 to 5.9 in centos 7

CentOS 7 ships with Qt 5.6, is there a way of upgrading to Qt 5.9?. current version. QMake version 3.0 Using Qt version 5.6.2 in /usr/lib64 I dont want to install Qt from qt.io, as I am not going ...
1
vote
1answer
57 views

CentOS 8 firewalld + nftables or just nftables

I've been on CentOS 7 for a long time and was used to building my custom iptables configurations on a variety of both personal and business boxes. I've recently started working with CentOS 8 and ...
0
votes
0answers
15 views

CentOS 8 - Clustered File System

In my environment, I have a need for a shared disk between two application servers such that changes on Server A are immediately available on Server B. Historically, I have solved this issue by ...
0
votes
0answers
14 views

Azure + Apache = Symbolic link not allowed or link target not accessible

I have got a CentOS 7+ and a storage account in Azure - File Share: //<shared_name_Azure>/repositorio /mnt/repositorio cifs nofail,vers=3.0,credentials=/etc/smbcredentials/rgtest001diag.cred,...
0
votes
2answers
2k views

Change screen resolution of Xenserver Console for a CentOS VM

I need to increase screen resolution to 1024x800 for my XEN console. I tried to place vga=791 at the end of kernel line the file /boot/grub/grub.conf but it seems that most of the boot arguments ...
0
votes
1answer
1k views

Allow user to run PHP-FPM without password using sudoers

I'm trying to make it so a user can reload PHP-FPM without needing a password everytime. I've added the following to the /etc/sudoers file using pkexec visudo, and there are no syntax errors, but it ...
1
vote
1answer
1k views

Postfix cannot start but dovecot is ok

My postfix service cannot start. Here is message: Job for postfix.service failed. See 'systemctl status postfix.service' and 'journalctl -xn' for details. And here is service status: postfix....
1
vote
1answer
1k views

NFS server not exporting host present in /etc/exports

I have a NFS server running on CentOS 7.2 and I have a problem with one (path/client host) declared in my /etc/exports that should be exported and that is not... My /etc/exports file : /mnt/data/ ...
2
votes
1answer
1k views

LFTP exclude file extensions

I am trying to mirror directories with lftp but I don't want to download filetypes that are notoriously large like .mp4 and .swf. But I am having trouble with the regex - and seeming like the exclude-...
0
votes
0answers
35 views

CentOS/RHEL won't accept opened ports from outside. firewalld disabled

Can't seem to get any outside connections while hosting either MinecraftServer or UnturnedServer. firewalld is off. netstat -an | grep 25565 lists minecraft with tcp 0 0 0.0.0.0:25565 0....
2
votes
1answer
29 views

Allow passwordless root login on the serial console

I do a lot of local development work with (CentOS/RHEL) virtual machines. Rather than configuring everything with a default root password -- which, if exposed to the network, can be problematic -- I'd ...
0
votes
0answers
19 views

How to implement security profiles during installation of CentOS 8?

I am new to the Linux environment and I found CentOS to be a stable and secure operating system. I do not have much knowledge about the security profiles and how well do they protect the operating ...
4
votes
1answer
1k views

How to reset linux centOS 6.0 keyboard shortcuts with custom changes to default one?

On Single Desktop Environment.... I created some custom shortcuts, but currently I want to revert all the changes to default settings (which having no custom changes). Example: created like CTRL + N ...
8
votes
2answers
19k views

Linux install goes to blank screen

I downloaded both latest Centos and Fedora ISO and burned onto CD using Imgburn. I then first booted up with Centos CD on my old HP DC5000 computer. It appears to boot to the CD just fine and gives me ...
-4
votes
1answer
40 views

CentOS 8, php not working

CentOS 8, Apache, MariaDB and PHP 7.2 Hi, Just installed CentOS 8, and a LAMP stack. Trying to install WordPress, but when launching setup, I see in Browser, index.php content (<?php /** * Front ...
1
vote
1answer
1k views

CentOS 7: write failed: broken pipe when trying to reboot

Commands I've tried: sudo reboot sudo systemctl reboot Both commands just ask for my password for sudo then write: Write failed: Broken pipe Then they close the SSH connection and I can re-login ...
0
votes
1answer
939 views

How to create a volume group that is larger than 2 TB on a non-GPT system?

I've recently setup a CentOS 6 x64 server with 4x 3TB drives, running on top of a RAID-10 array. Current partition schema is as below; /boot 500M (Standard ext4) vg_root 10G (LVM) swap 12G (...
-1
votes
0answers
46 views

Snort error: Can't start DAQ (-1) - SIOCGIFHWADDR: No such device!" [on hold]

I have a server where I installed CentOS 7, and I wanted to install snort 2.0.14.1. I successfully installed all the dependencies and then installed snort. But when I'm trying to run it as root with ...