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.

learn more… | top users | synonyms (2)

0
votes
0answers
38 views

i915 error when installing CentOS 7 on my notebook - what's wrong?

I'm trying to reinstall CentOS 7 on my notebook. The iso has been mounted on a pen drive with uNetbootin and, regardless of being the Minimal or DVD version, I get the following errors: [drm:...
1
vote
1answer
24 views

set expiry date for an account in the future has problem

The output of passwd -S command shows a date which is quite confusing. Please see the following commands root@cluster:~# passwd -S 9240305 9240305 LK 1970-01-01 0 99999 7 -1 (Password locked.) root@...
0
votes
1answer
42 views

CentOS web server move hdd to another computer [duplicate]

I have an web server with CentOS 6.7 installed. Now I aqquired a new computer and want to make it to run the web server but it is hard to fresh install and copy all the content (hundreds of websites). ...
0
votes
1answer
83 views

Not getting a static IP for CentOS 7 [duplicate]

I'm not sure what I am missing to have my static IP?? Here are my network configuration files: /etc/hosts: 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 ...
1
vote
2answers
46 views

Unable to completely remove installed package with yum remove [closed]

I removed a package on Centos 6 with yum remove, but if I run the command yum list installed | less it's shown as installed and my problem is that it conflicts with a newer version I'm trying ...
1
vote
1answer
40 views

How to use the setarch uname command in a shell script

I am trying to create a korn shell script in RHEL7 to silently install an agent at my job. However the agent requires an old version of the agent be installed before being upgraded to the new version ...
0
votes
0answers
25 views

3.10 kernel changed how it handles scsi / udev behavior

This is a nfs booted kernel and custom initramfs to execute code on bootup. Here is dmesg after that piece completes and pivots into the running file system. https://paste.fedoraproject.org/387110/...
0
votes
1answer
116 views

How do I install ffmpeg on centos 6.8 with all dependancies? I am getting Error package

I am trying to install ffmpeg on Centos 6.8 server and I am getting some errors of required libs. I am not big on Linux I need your help. How do I install those missing libs? Where do I find them? ...
0
votes
0answers
25 views

Linux Server Management Tool [migrated]

I recently deployed 13 servers Red Hat 7.2 and I would like to know what will be an ideal server management tool that will allow me to patch, and automate servers within a small environment such as ...
0
votes
0answers
52 views

rpc.statd is not running but is required for remote locking (statd unrecognized service)

I'm attempting to mount a nfs share (fstab entry below) example.com:/sharefolder /mnt/localmount nfs defaults The following error is returned: mount.nfs: rpc.statd is not ...
0
votes
1answer
36 views

Remote desktop VNC from Ubuntu to CentOS7 showing strange view

I'm trying to use remote desktop on my LAN to access a machine's gui from another computer. The machine I am working on is Ubuntu14.04LTS using KDE desktop. The target machine is CENTOS7 with MATE ...
0
votes
0answers
26 views

How to configure the file /etc/security/limits.d/90-nproc.conf?

Sorry for that I tried to search some help in the google for the explanation of the file 90-nproc.conf and want to figure out how to configure this file correctly. But unfortunately not found some ...
0
votes
0answers
32 views

CentOS7 server VirtualBox guest on Ubuntu 15.10 screen issue

I have created a virtual machine with a minimal CentOS 7 installation on my Ubuntu 15.10 guest system. I also installed the guest additions. During the installation the installer issued a message, ...
2
votes
1answer
33 views

User home directory

I am learning CentOS and I created some users and then deleted, but I used userdel without any option. So will it remove the home directory and other things related to those users? If not then is ...
0
votes
1answer
145 views

How to install opencl in CentOS 7 using yum?

I need to install opencl in CentOS 7 nvidia. I already installed cuda. But when i try to install ImageMagick with OpenCL it is showing CL/cl.h not found. But there are files in /usr/local/cuda-7....
-1
votes
1answer
38 views

How to convert RHEL rpm to CentOS

My team receives software in a RHEL format from another team. RHEL requires licensing to use and deliver their media. Our team converts the operating system to CentOS which is based on RHEL but does ...
0
votes
1answer
35 views

Centos, uploaded files from application have different owner and group [duplicate]

I have an application that uploads a file via SFTP using sftpuser. Once the file is uploaded the owner and group is user1:user1. The owner of the parent directory is apache:apache. I can not figure ...
0
votes
0answers
33 views

pptpd service start failed in centos 6.8

In my centos 6.8, pptpd service failed to start. If is send command service pptpd status it shows "pptpd dead but subsys locked" then I tried to remove the subkeys by using the command rm -r /var/lock/...
1
vote
2answers
39 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 ...
1
vote
1answer
21 views

Any consideration for oracle installation which need to be done in OS installation?

Please forgive me if I post the question in the inappropriate place. Because I am not sure if it belongs to the DBA SO. Thanks. I am trying to install CentOS 64bit in the VMware for Oracle 11g 64bit. ...
0
votes
1answer
26 views

linux server memory leakage, it grows inactive memory, how to find the process in inactive memory and to kill?

I have a problem with my Linux cent OS server, leakage of memory grows inactive memory, so how to find the process consists with huge memory in inactive memory to kill
0
votes
0answers
26 views

Error while shrinking root filesystem without booting a lived in centos 7 [duplicate]

I am following the steps in How to shrink root filesystem without booting a livecd After unmounting /oldroot, I am getting below error while resizing the rootlv. Please help. CentOs 7 ...
2
votes
1answer
51 views

sed unterminated `s' command [closed]

I'm getting: sed: -e expression #1, char 46: unterminated `s' command On this code: sed -i.bak -c 's|net.ipv4.ip_forward.*|net.ipv4.ip_forward = 1|' /etc/sysctl.conf My editor is showing that ...
4
votes
1answer
234 views

How to know the utilization of intel CPU and GPU in Linux?

In ubuntu, to know the time taken by CPU to run a program we would use time in terminal. Whereas in case of intel GPU, we would use intel_gpu_time. But in case of CentOS time command works. But ...
0
votes
1answer
50 views

Install samba4.4.4 from source on centos7

Following the steps on Samba wiki page, I was able to build the samba source code. However, after sudo make install, I could not start the samba service since there is no systemd entry under /usr/lib/...
0
votes
0answers
27 views

Trying to find something that can automatically delete certain lines of a text file after a certain amount of days

For example if I have test.txt and when I open it up it has 1 2 on the first line and 3 4 on the second. But after 2 days I want the second line gone but basically automated.
1
vote
1answer
33 views

Ask for password while mounting cifs share

I am looking for a way to make the mount command prompt for the password so my password doesn't show up in any system history, I thought I would have it run read -s -p command inside of the mount ...
0
votes
1answer
58 views

CentOS, how to watch YouTube videos with Mozilla Firefox?

I'm currently using a CentOS Linux release 7.2.1511 (Core) operating system on a Dell machine. I've been trying to watch YouTube videos with Mozilla Firefox ESR 45.1.1, but it never worked. ("It's ...
0
votes
0answers
22 views

Trouble mounting a centos NFS export on Windows 2012 R2

Hoping somebody can help me out here. Have been struggling with this for a while now. I have a Centos 6.7 box which has NFS installed. I have an export/share configured; my exports file is like so.....
0
votes
0answers
31 views

Install CentOS 6.2 GUI with XenServer 6.5

This is my first time to use XenServer 6.5. I want to add a CentOS 6.2 Virtual Machine into my XenServer. I put the CentOS 6.2 iso and added > vnc in boot parameter. Below are the screenshot: After ...
0
votes
3answers
50 views

How to stop receiving spam email from server

I have CentOS and the hosting provider provided me Plesk Control Panel. We used to have a problem that website was sending loads of spam emails. It was new joomla installed and it has ...
1
vote
1answer
71 views

kick off a systemd service just before shutdown

I am developing a systemd shutdown script (unit file) for a postgresql database and I followed the below two posts but could not get it to work. How to run a script with systemd right before shutdown?...
0
votes
1answer
34 views

I am facing huge attack of layer 7 on port 3306 can anyone help me?

I am facing huge attack of layer 7 on port 3306 can anyone help me? my iptables rules are good too 184 9568 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 ...
1
vote
0answers
43 views

Why do I get “no credentials cache” error when mounting Kerberized NFS share?

I have two systems on a local network, nfsclient (CentOS 7) and nfsserver (CentOS 6). These names correctly resolve to their IP addresses, and Kerberos is working between them (nfsserver is the KDC). ...
1
vote
0answers
20 views

Changing CentOS 7 machines disables terminal access during background task

Based on this other posting, I typed the following command into a CentOS 7 terminal on a devbox that has the gnome GUI, and was able to continue to use the terminal for other commands while the ...
0
votes
0answers
72 views

How to disable IBus in CentOS 7?

There's a conflict with intellij IDEA for some reason. I see lots of pages on how to disable it in ubuntu (system settings gui), but nothing for CentOS.
0
votes
0answers
22 views

How to disable php execution using .htaccess rule

We have tried below .htaccess rule for disable php execution in a directory centos 6.5(CPANEL) based server. But its blocking all the files in directory like jpg, jpeg, png etc. We need to block only ...
0
votes
5answers
53 views

find IP and PORT in use by Apache

How can I find which IP:PORT Apache web server is monitoring? There are some network commands, but they show the TCP port in use. The machine has multiple network interfaces and the Listen section in ...
0
votes
1answer
46 views

Project Atomic registry not listening on 443

I'm using the official documentation for quick-start to install Atomic Registry on a Centos 7 atomic host, and it appears I can't access anything on port 443. (I also tried with a Fedora 23 atomic ...
2
votes
2answers
66 views

Ping from subinterface

I have a sub-interface eth0:0 auto eth0:0 iface eth0:0 inet static address 192.168.2.96 netmask 255.255.255.0 gateway 192.168.2.1 and I try ping -I eth0:0 8.8.8.8 and I ...
2
votes
1answer
60 views

using sudoers to allow non-privileged user to restart apache

We have production centos servers that run apache as root to allow low port numbers (80 and 443). We'd like a secure way for non-root users to restart apache. Are there any security implications ...
1
vote
1answer
36 views

/ Owned by postfix:root after installing iRedMail

I followed this tutorial to install iRedMail on my CentOS 7 x64 System: https://www.digitalocean.com/community/tutorials/how-to-install-iredmail-on-centos-6-5-x64 Why the *"$@*3 is / now owned by ...
0
votes
1answer
43 views

How to resolve duplicate packages due to interrupted yum update

This morning I went to update gitlab-ce using yum on our CentOS6 server from 8.8.4 to 8.8.5. Unfortunately about halfway through the first of the two gitlab-ce package install steps I accidentally ...
2
votes
1answer
42 views

unable to install centos on my windows 10 laptop making it dual boot

After hearing the news that CentOS 7 had been published, I decided to install it on my computer. I downloaded the ISO image from the CentOS official website (the one named CentOS-7.0-1406-x86_64-DVD....
4
votes
2answers
496 views

Why does 'cat useradd' succeed in this case?

I have a fresh installation of CentOS. I created a user and added it to wheel group (to add it to sudoers list). I logged in with the credentials of new user. I then run the command cat useradd. ...
2
votes
3answers
80 views

Work with compressed dd images

How Can I compress dd images and work with them at the same time? (Like on Windows I can mark it as compressed, and work with it like a normal file ) I cant re-partition, but I can mount some drives ...
0
votes
0answers
45 views

CentOS Virtualbox vdi to raw problem

So I had CentOS7 running on a virtual machine then I tried to move it to a physical hard drive using the commandline "D:\Program Files\Oracle\VirtualBox>vboxmanage clonehd --format RAW D:\Virtualbox \...
0
votes
1answer
48 views

CentOS 7 Why does the beep package not exist?

I am not able to find the fabled 'beep' package using a yum search. How am I to make a beep on my system from the terminal without the package? echo '\a' does not work either.
0
votes
0answers
103 views

Client to Client https in OpenVPN on CentOS 7

In the Centos 7 -hosted OpenVPN defined below, why can't the windows_client defined below https into the centos_vm1_client defined below? The problem seems isolated to the configuration of the ...
1
vote
0answers
78 views

Reinstaling NSS library on CentOS (Amazon AMI)

I had a problem during updating of the packages on CentOS AMI from Amazon (S3). I got a bunch of duplicated packages. Among them: nss-softokn-freebl-3.16.2.3-14.2.38.amzn1.x86_64 is a duplicate with ...