The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
2answers
1k views

CentOS: Install git with yum says glibc requires glibc-common older than installed

I'm using CentOS 6 from Docker, and when I install git, I get this dependency error: Error: Package: glibc-2.12-1.166.el6_7.7.i686 (updates) Requires: glibc-common = 2.12-1.166.el6_7.7 ...
0
votes
1answer
23 views

How can I manage docker group in freeipa?

First I tried managing dockerroot in freeipa, since that is the only one I saw with sudo getent group | grep dock. I saw somewhere that said I can create a group in freeipa with the same GID and it ...
0
votes
1answer
21 views

Having problems installing icedtea on CentOS 7

I'm changing over from Oracle Java to OpenJDK. I ripped out all traces of Java from the system regardless of vendor and started from scratch. I downloaded the latest OpenJDK tarball and put it in /opt/...
2
votes
1answer
1k views

Java upgrade problem on CentOS 6.5

I want to upgrade my jdk on a CentOS server, after some simple searches I found some solutions. From this link, you can see that the instructions are simple. install your chosen jdk from rpm package ...
0
votes
0answers
17 views

centos 6 grub legacy (0.97) and uefi, kernel update, something is wrong

I have to mantain some LAN, legacy servers, with Centos 6.10 64 bit. They are virtualized under HyperV and all is working fine until the last kernel update (2.6.32-754.22.1). Problem: something is ...
0
votes
1answer
17 views

How to set the interface name in `kickstart.cfg` file?

How to set the interface name in kickstart.cfg file? We know if we install CentOS system in a Server, there maybe eth0, ens0, ensxxx, eno1 and so on. I have questions, Why there will generate ...
1
vote
1answer
8k views

Job for vsftpd.service failed because the control process exited with error code

I can not restart the vsftpd. [root@localhost vsftpd]# service vsftpd restart Redirecting to /bin/systemctl restart vsftpd.service Job for vsftpd.service failed because the control process exited ...
1
vote
1answer
914 views

Failed to load com32 file vesamenu.c32 on centOS installation

I've already seen this answer , but it didn't work! I tested both CentOS 6 and 7 and I got the same error. Interestingly enough when I try to install it on Vm, everything goes smoothly.
0
votes
1answer
32 views

There have `6/` `6.0/`, `6.1/` … `6.9/` directories in the yum repos, what's the difference between `6.x` with `6/`

I fond a yum repo I have some questions about it: There have list of directories, I find only the latest version directory have content: the old 4.2 do not have content, why? the version 6 have ...
0
votes
1answer
892 views

How do I directly expose apps running on a CentOS 7 web server?

How can I open a port and directly access a webapp running on tomcat on CentOS 7? Tomcat is running behind an apache httpd reverse proxy, but I want to directly access the apps running in tomcat by ...
2
votes
1answer
2k views

Ffmpeg problems on centOS 5.8 64 bit

I did install ffmpeg with winff, unsuccessfully when I try converting avi to x264, it says I don't have it. When I try to convert mp4 to Xvid I get unknown encoder 'libxvid'. It's like nothing really ...
2
votes
1answer
41 views

Permanent removal of .repo from /etc/yum.repos.d/?

I'm trying to determine the best method to permanently remove .repo files from /etc/yum.repos.d/ I'm able to remove the repo file itself from the folder, however when a yum upgrade is performed, it ...
0
votes
2answers
7k views

How solve error with sftp: Couldn't read packet: Connection reset by peer?

I did install sftp on CentOS and did add new group: groupadd sftp did create new user: useradd -m sftp_user_1 -s /sbin/nologin -g sftp did create password: passwd sftp_user_1 did change owner: ...
0
votes
0answers
40 views

Proliant 360 gen6 Centos7 - HP522 NIC not claimed

Hope i can get some help here, or at least shed some light. Setup is : HP Proliant 360 gen6, with 2 nic, one is onboard 1gbit the other is HP522 10gbit NIC. I can see the 10gbit NIC gets an IP from ...
1
vote
1answer
30 views

dnsmasq as dhcp server configuration for Ethernet

I'm trying to configure dnsmasq as dhcp server on CentOS 7 minimal installation. My network consists of wi-fi AP, Ethernet, Bluetooth PAN and bridge called common-bridge which serves as master for ...
1
vote
1answer
49 views

Confused by output of cat /proc/stat

I'm on a university server running Centos 6.10. I'm trying to calculate the amount of time that the system has been in idle task. Im looking at the /proc/stat pseudo file. According to the man page ...
0
votes
1answer
55 views

yum doesn't list other versions for kernel in repositories

I updated my CentOS to kernel version 4.4 (kernel-lt) and want to install kernel-devel for the new kernel now. This question suggests the following command: sudo yum install "kernel-devel-uname-r == ...
0
votes
1answer
7k views

Centos7 - Boots in emergency mode

After a powercut, my centosOS7 server boots into emergency mode. systemctl reboot and systemctl default lands me back at the same point. I've run the following commands and taken photos of the ...
1
vote
1answer
956 views

“shutdown -r” works but “reboot” does not

Fresh install of Centos 7 KDE kernel: 3.10.0-693.21.1.el7.x86_64 After I do a yum update to update all of the packages, reboot no longer works. I tried to track the problem with no avail. For fun, I ...
1
vote
2answers
5k views

CentOS custom ISO installation - /dev/root does not exist

I am building a custom ISO for CentOS 7 and for now I am just intending for this to be an absolute minimal install (a proof of concept basically). I am re-creating the ISO via using mkisofs. The ...
0
votes
0answers
28 views

Centos-Base repository returns pycrul error 22 “503 service unavailable”

I'm struggling with this yum error. I basically cannot install a package due to this error: http://mirror.centos.org/centos/6/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The ...
0
votes
1answer
2k views

How to get D-link DWA-131 Wireless-N Nano USB Adapter work on CentOS 7?

I am on CentOS 7. I have D-link DWA-131 Wireless-N USB Nano Hardware revision E1 adapter. I have downloaded and compiled it's drivers from ftp://files.dlink.com.au/products/DWA-131/REV_E/Drivers/DWA-...
0
votes
1answer
2k views

iptables: command not found - CentOS 5.5

I am using CentOS 5.5. I want to add new IP in my iptables. But I cannot do it. Tried everything with 'iptables'. The latest version of 'iptables' is at sbin. I'm in 'sbin' directory. But it says "...
1
vote
1answer
291 views

realm join unable to create computer account

Reading man realm I see the following: --computer-ou=OU=xxx The distinguished name of an organizational unit to create the computer account. The exact format of the distinguished name depends on ...
1
vote
0answers
27 views

How to Mirror (Sync) Specific Log Entries to a data file?

Running CentOS 7.7 in VPS Question: Is there native functionality to copy|duplicate|sync lines from a specific log file matching specific search criterion to a separate data file for archival ...
11
votes
3answers
38k views

CentOS 7 update using “yum update” does not work

I have a VM running CentOS 7 that I have not used for a long time. Today I launched it and tried to update the CentOS system to the latest version using yum update, but I got a lot of errors: Loaded ...
0
votes
1answer
23 views

Can I change the centos.iso for replacing the CentOS-Base.repo file?

When we use centos iso image create a CentOS OS, in the /etc/yum.repos.d/CentOS-Base.repo, there is a default CentOS-Base.repo. and I can replace the CentOS-Base.repo to my custom repo file now. I ...
0
votes
2answers
659 views

CentOS 7 timedatectl does not work properly with chronyd

In order to have timedatectl NTP enabled and synchronized to be yes, I had to disable chronyd, stop ntpd, perfrom ntpdate, then start ntpd. After that I can get NTP enabled and synchronized in ...
1
vote
3answers
12k views

NTP Not Enabled according to TimeDateCTL - CentOS 7

I'm wondering how I can get timedatectl to show that NTP is enabled in CentOS 7 root@voip:~ $ timedatectl Local time: Tue 2016-10-18 20:58:23 EDT Universal time: Wed 2016-10-19 00:58:23 UTC ...
0
votes
1answer
1k views

Centos 6 Install PHP 5.6 Memcached conflicts

I have tried to install PHP Memcached but got error conflicts between attempted installs of [root@localhost ~]# yum --enablerepo=remi-php56 install php-pecl-memcached Loaded plugins: fastestmirror, ...
0
votes
2answers
3k views

Can't install CentOs virtualbox guest addition

I'm using Manjaro Linux, and I have CentOS 7 installed in VirtualBox. When I try to install VirtualBox Guest Additions, I get the following error. The the content of /var/log/VBoxGuestAdditions.log ...
0
votes
1answer
2k views

Let CentOS 7 on live-USB won't reset to default settings after reboot

I've downloaded the LiveGNOME iso for CentOS 7 and use rufus to make CentOS 7 Live-USB that I can boot a Centos 7 with it. But after I boot it I've set up some settings, then I shut down it, later I ...
3
votes
2answers
1k views

“not a valid package archive” when trying to install PHP extension?

I'm running CENTOS 6.6 on a VPS and am trying to install the ZMQ PHP extension and tried installing using the command shown in the instructions: sudo pecl install zmq-beta However, it fails, showing ...
0
votes
1answer
27 views

CentOS6.6 stuck at Mounting Filesystem

Server Dell PowerEdge R320 with two 1TB disks in RAID1 (mirror) had one of it's disks failed - the primary disk (disk0). The RAID is configured on the Smart Array. The OS running on the server is ...
2
votes
1answer
2k views

How do I find available versions of package for downgrade?

I am having issues with an update of the ImageMagick package breaking 3rd party software on a CentOS 6.x server. I know that some prior version of ImageMagick worked OK. How do I find out which ...
0
votes
1answer
53 views

Duplicating an image to another machine?

I'm trying to duplicate the entire environment on one machine to another. Will simply copying all files from the source machine to the destination one work? My main concern is that typically, when ...
0
votes
0answers
16 views

LDAP disable local account, and pub/private key on centos

I am currently setting LDAP/krb5 on Centos7. I followed the instruction on: https://wiki.cac.washington.edu/display/LDI/Configuring+Linux+Clients+for+LDI (thanks to Eric) http://staff.washington.edu/...
0
votes
1answer
40 views

Linux CentOs7 hidden files

I have a Linux CentOs7 server, The server parition dev/mapper/centos-root/size is 80GB When I run df I can see that 58 GB are in use. When I do du -shx * I see that there is more or less 28GB space ...
0
votes
0answers
31 views

Centos 6.9: Errno 14 PYCURL ERROR 22 - “The requested URL returned error: 503 Service Unavailable”

I'm encountering an error on Centos 6.9 when installing git. I've tried some thread on similar cases but none of them work. (like nameserver on resolver.conf, yum clean all, and etc.) Additional ...
0
votes
1answer
15 views

How to change what systemctl restart does

As a preface, I've got a python script running flask being served by gunicorn running as a service. One command this service takes is a long running function that runs anywhere from 5-10 minutes. When ...
1
vote
2answers
526 views

Setting old system date

I have a Centos 7 server running in a cloud-server provider (ProfitBricks). I need to setup a demo system but is really hard to create daily fake data. My idea is to configure this server with an old ...
0
votes
0answers
33 views

SAMBA 4 UID/GID mapping

I have a CentOS 7.6 server, and I have Samba 4.8.3 authenticates by both AD and NIS. MY AD domain is Windows 2008 and has services for UNIX running on it and all the UID's and GID match between the ...
2
votes
1answer
30 views

Unable to remove devtoolset-7 from my CentOS System

I am trying to remove devtoolset-7 from my CentOS system. For this I am running following commands:- sudo yum remove devtoolset-7 sudo yum remove devtoolset-7-libatomic-devel sudo yum remove ...
1
vote
3answers
2k views

Teamviewer: Not ready

I have a kind of virtual machine with CentOS 7 in my school, but I need to work from my home. So I follow a tutorial to install Gnome and other to create a VNC server, all this to install TeamViewer. ...
2
votes
1answer
4k views

CentOS 7 reboot error getting authority?

I'm trying to reboot the CentOS 7 after yum update, and getting the following error when I run sudo reboot. Error getting authority: Error initializing authority: GDBus.Error:org.freedesktop.DBus....
1
vote
4answers
1k views

Stripping down a Linux (CentOS7) system

How do I strip down a Linux system (especially CentOS 7) to only the parts that I need? I'm not asking for a specific command, but more for a hint to where I can find more about the packages that I ...
0
votes
1answer
2k views

Unable to mount “lvm2” volume

I had to reinstall CentOS on a system with a separate disk array for data. I installed on the OS disks and kept the other disk array as storage (so they were not formatted). When I try to mount the ...
0
votes
2answers
54 views

Difference between sshd-keygen and ssh-keygen

I understand that ssh-keygen is used to generate private and public keys. But what is the use of sshd-keygen? I don't find a man page or doc, hence there is no documentation about the use of sshd-...
1
vote
1answer
50 views

Why does my QEMU/KVM virtual machine not start after CentOS 7.7 update?

After an automatic update of CentOS to version 7.7 on Sep 17 2019 my QEMU/KVM virtual machines do not start when I reboot the hypervisor server. Trying to start the VM by hand gives this error: # ...
0
votes
3answers
2k views

Run application built on Ubuntu on CentOS

Is there a way to deploy an application, that you built on Ubuntu, on CentOS? And if so, how? EDIT: Sorry, I should have given some more info. It's built on Ubuntu 15.10 with Qt 5.6, and besides Qt ...