Stack Exchange Network

Stack Exchange network consists of 174 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.

0
votes
0answers
16 views

FirewallD Sources

I have 2 zones in my VPS: iredmail (active) target: default icmp-block-inversion: no interfaces: eth0 sources: services: smtp smtp-submission pop3 pop3s imap imaps ssh ports: ...
0
votes
1answer
40 views

jenkins can't recognise known_hosts file

I am using Centos 7. I have Jenkins installed on it I have copied ~/.ssh directory to /var/lib/jenkins/ Contents of .ssh directory are authorized_keys id_rsa id_rsa.pub known_hosts Now when I am ...
0
votes
1answer
102 views

Making “at” work on macOS

I am working on a CentOS server and schedule a task with command at # echo "touch a_long_file_name_file.txt" | at now + 1 minute job 2 at Wed Oct 31 13:52:00 2018 One minute later, # ls | grep ...
-1
votes
1answer
126 views

Missing /var/www directory

I created an CentOS 7 EC2 instance on AWS and installed nginx as my web server. However unlike Apache, it has not created a /var/www folder and instead created /usr/share/nginx/html. I'd prefer to ...
-1
votes
0answers
43 views

Is it possible to determine why a drive was unmounted?

I have several systems that are in the field collecting data. They run CentOS 7 and the data is stored to SSD collection drives which are mounted at boot time. I have had an issue with two of these ...
2
votes
1answer
106 views

High cpu steal on Core 0 of KVM

In one of my KVM setups I am seeing high CPU stealing for Core 0 of both the guests. I have gone through saveral web results related to cpu steal but no were core steal is explained. If I take ...
1
vote
1answer
30 views

I cannot reset password using rescue mode

We have a problem on a centos 6 server. normally, PasswordAuthentication is off. When I get connected using rescue mode, I execute these commands : mount -o remount,rw / chroot / /bin/bash passwd ...
1
vote
1answer
222 views

PHP Not Loaded on CentOS 7/Apache

I've installed PHP 7.2.11 on my CentOS 7 VPS along with Apache; however, I can't seem to load the PHP module into Apache so that my server can serve PHP content. Right now, if I go to a URL that ...
0
votes
1answer
178 views

Running a CentOS Docker Image on Arch Linux exits with code 139?

I am trying to run a CentOS Docker Image on my Arch Linux host. Running the following command returns nothing except the 139 error code: $ docker run -ti centos:centos6 /bin/bash ...
0
votes
2answers
44 views

CentOS: Can Default, Empty Folders Be Deleted?

After a CentOS 7 Minimal install, and a yum update, I analyzed the folders. The following folders either have nothing inside them, or they only have inside them folders which have nothing inside them (...
-1
votes
0answers
16 views

CentOS: Why So Many Redundant Folders?

After a CentOS 7 Minimal install, and a yum update, I analyzed the folders. / and /usr/ and /usr/local/ all have: bin etc lib lib64 sbin / and /usr/ both also have: tmp /usr/ and /usr/local both ...
0
votes
2answers
49 views

How to add multiple directories like the name 1-100 in one command

I need to create multiple directories using one command.  Is it possible? Like directory name starts from 1-100. mkdir 1..100
0
votes
1answer
45 views

Building Apache 2.2 from source on CentOS

My Question Does anyone have a link to a proper source package of Apache 2.2 for CentOS, and if so are there any special instructions I'm missing ? Summary I am trying to install Apache 2.2 on a ...
0
votes
1answer
49 views

Shrink disk (Thick Provisioned) size of CentOS VM and reclaim disk space on ESXi host

Our customer has VM with CentOS on ESXi host. I have to shrink the disk size of the VM and need to reclaim that free disk space back to ESXi host. Disk type on VM is Thick provisioned. How to do it?
-2
votes
1answer
87 views

How to block a program from accessing the Internet on Centos [closed]

I want to block a program from using internet. I don't want this program to use internet. How can I do that.
-1
votes
0answers
72 views

Having Issue In Installing R on Centos 7

I am trying to install R on Centos7 using yum install R, but received the following error. How to resolve this below conflict? --> Finished Dependency Resolution Error: Package: libstdc++-devel-4....
0
votes
1answer
60 views

Not enough disk space to install lsof, which I need to discover which process to kill to free up my disk

Had a runaway log file that filled up my disk space. I was able to identify and delete it, but it would seem that it is still in use somewhere as df -h shows my disk as 160G/160G used even though the ...
0
votes
1answer
107 views

CentOS 7 Static Routing

I want to create a static route through a CentOS 7 Server (so that a print server can access a printer). CentOS 7 Server has two interfaces: em1 (10.0.0.5/24 faces the print server) and em2 (10.0.0.6/...
0
votes
1answer
21 views

How do I enable a flowing transition of cursor between Windows and CentOS?

I am currently using: windows 10 home 64 bit and centos 7 It is quite disturbing to my work flow every time I need to right ctrl to get out of the virtual machine's window back to the windows' ...
0
votes
0answers
18 views

How figure out which kernel has a specific patch?

My servers are suffering from an issue, which will probably be fixed by the following patches: https://patchwork.ozlabs.org/patch/946913/ http://patchwork.ozlabs.org/patch/937963/ How do I know ...
0
votes
3answers
63 views

Local Repo Update

I got a local repository in /var/www/html/centos/7 directory. In here, all rpm packages from centos are downloaded. I will create a crontab for updating my local repository every 1 week or sth. I ...
1
vote
1answer
43 views

How to know what consumes storage? [duplicate]

I have a Centos 7 VM and I want to know what consumes the 126G on the /dev/mapper/centos-root fs. I have 2 mount points and I unmounted them to make sure there's nothing reserving space under them ...
1
vote
0answers
703 views

Centos 7 gcc 8 installation

GCC 8 is out for a white and I would like to test on CentOS 7, but no devtoolset-8 yet in yum. I found https://cbs.centos.org/koji/packageinfo?packageID=7198 but this is cbs; Can I have it as a ...
0
votes
1answer
123 views

CentOS 7 VM (VMWare Fusion) IP Address not assigned to eth0

I have a CentOS 7 VM (64 bit) running off a VMWare Fusion 8.5.10 on High Sierra. I recently moved the contents of an old mac-book to a new one. I initially had some problems with ens33 being listed ...
1
vote
0answers
53 views

https server hello missing

I've setup an nginx server, and config it with a https certificate. But I cannot access my server through https occasionally . In some rare cases, it works well, but no server hello in most cases. ...
0
votes
1answer
43 views

Disk I/O Information

I want to get the read and write, service time, queue length and wait time of my disks. the OS is CentOS 6. I use iostat. when I run this command: iostat -x -d /dev/sda the output is: ...
1
vote
1answer
115 views

Install MYSQL 5.7 using bash script with Centos

I'm using Centos 7 and trying to write a script that will install mysql 5.7 during a vagrant setup. I know how to change the root password manually, but how do you write this in a script? I have this ...
0
votes
0answers
19 views

Differentiated chart of Red Hat and Debian package names [duplicate]

I'm not sure why package maintainer would choose a different name for each distribution for their application. Our life would be much better if we have the flexibility to use the same package name ...
0
votes
0answers
26 views

OCSERV installation

I am trying to install ocserv vpn on a centos6 OS. After all installation method and configurations, I faced bellow error when attempt to run it: > [root@server ocserv]# service ocserv start >...
0
votes
0answers
170 views

Install udunits2-devel from source CentOS 7?

I'm getting the following error when trying to install the sf package in R (R/3.4.2/gcc7.2.0) on CentOS 7. install.packages('sf') ---------------------------------------------------------------------...
0
votes
2answers
34 views

Bind mounted /var to /raid5/var and CentOS fails to boot

System Background: I am running CentOS 7 in a VM (in VirtualBox) on a host computer running Windows 10. My /dev/sda is on an SSD and then I have three 1TB HDDs /dev/sdb, /dev/sdc, and /dev/sdd ...
0
votes
1answer
49 views

v option in /usr/lib/tmpfiles.d/tmp.conf

While checking the file /tmp.conf i found option v as v /tmp 1777 root root 10d after while read the manual offline and online in but i didn't find any thing related, is their any manuals related ?
1
vote
1answer
98 views

Trying to resolve dependency on libz.so.1(ZLIB_1.2.9)

A friend built an EPUB converter for me that depends on lib64png16_16. lib64png16_16 has a dependency on libz.so.1(ZLIB_1.2.9)(64bit). I pulled down and compiled ZLIB_1.2.11, but it's not being ...
1
vote
0answers
155 views

CentOS 7, VirtualBox, openmpi installation breaking GUI. Why? [closed]

I have a case where my installation of CentOS 7, hosted by a Windows 7 machine through an Oracle VM VirtualBox, is having its GUI installation crippled* by: yum install openmpi openmpi-devel In what ...
2
votes
1answer
153 views

New Intel i350 NIC not detected by system, but appears in lspci - Possible Intel IGB issue?

I'm running into an issue where a new network card isn't being automatically detected by the OS. I recently purchased an Intel I350 gigabit network card. I have purchased this card before and I have ...
0
votes
1answer
555 views

Glibc requirement update for Dropbox

Dropbox recently updated their glibc requirement to version 2.19. Centos 7 has version 2.17. It seems not to be a good idea to replace glibc manually. Is there any other workaround?
2
votes
1answer
214 views

Difference between ulimit, lsof, cat /proc/sys/fs/file-max

I've been getting java.io.IOException: Too many open files while running a Kafka instance and using one topic with 1000 partitions so I started investigating the file descriptors limits in my ec2 vm. ...
0
votes
0answers
142 views

Wireless USB Adapter TP Link TL-WN822N v5 not detected on Centos 7

I am trying to set up the TP-Link WN822N v5 on Centos 7. I am running CentOS Linux 7 with the kernel: Linux 3.10.0-327.28.3.el7.x86_64 But the wireless usb adapter does not get detected. When I ...
1
vote
0answers
63 views

NFS server seems to kick diskless nodes off

I'm currently helping setting up a lab that will use diskless nodes for some MPI and CUDA computing. The distribution of choice is CentOS 7. To set up the diskless nodes I've followed the guide here. ...
0
votes
0answers
53 views

Bring gnome-terminal and other processes hidden after reconnecting to remote CentOS 7 desktop

Connecting to a remote CentOS 7 desktop (via xrdp, from these instructions: https://www.itzgeek.com/how-tos/linux/centos-how-tos/install-xrdp-on-centos-7-rhel-7.html) from Windows 10 Remote Desktop ...
0
votes
0answers
55 views

Does “### BEGIN INIT INFO” section of service scripts have any effect in Centos?

I am testing under: Centos 6.8 If I do man chkconfig there is a section saying the following: chkconfig also supports LSB-style init stanzas, and will apply them in preference to "chkconfig:" ...
0
votes
1answer
61 views

ping6: 'Name or service not known' when using %iface notation

From man ping: -I interface interface is either an address, or an interface name. If interface is an address, it sets source address to specified interface address. If interface in an interface ...
0
votes
1answer
63 views

ReadOnly Access for members of Active Directory Group

I have a Linux host that runs on CentOS 7, joined to domain through realm. My goal is to provide ReadOnly access to one of the AD groups say "LinuxRO-USR", the users of this group should only be ...
1
vote
0answers
309 views

X11 over ssh error: can't open display

I have a desktop and a server both running CentOS 7.5 and I run ssh -X from desktop to the server. After connection is made ~/.Xauthority file is written and I have $ echo $DISPLAY localhost:10.0 $ ...
0
votes
1answer
104 views

Configuring CentOS 7, ParaView and Oracle VM VirtualBox on Windows 7

I am attempting to run OpenFOAM 2.3.1 on an installation of CentOS 7, running inside a virtual machine hosted by Oracle VM VirtualBox on a Windows 7 machine. I am not trying to use any remote ...
0
votes
1answer
386 views

Centos 7 server iptables Active: active (exited)

When I check the iptables service status it says Active (exited) why and how do I fix it?
2
votes
1answer
225 views

Cannot Install busybox on centos

When running sudo yum install busybox On Centos 07 I receive this error Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.vorboss.net * extras: repo.uk....
0
votes
0answers
71 views

rpmbuild gives File not found error when build an RPM from source

I am trying to build an RPM for this software collection: https://epics.anl.gov/download/base/base-3.15.5.tar.gz . When you extract the archive it may seems a normal source code, but it only requires ...
0
votes
1answer
33 views

directory listing command error after install google-authenticator on CentOS 7

Status CentOS 7.5.1804 (Core) Linux 3.10.0-862.14.4.el7.x86_64 Problem After I installed and setting google-authenticator packages, weird authentication related message keep shown when I use ...
1
vote
1answer
119 views

“su user” does not work on CentOS 7

I have a new CentOS server. This is server uname info: [root@server ~]# uname -vr 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 [root@server ~]# When I try to change user using ...