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)

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
24 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
231 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
48 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
30 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
54 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
21 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
24 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
45 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
62 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
36 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
66 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
21 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
51 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
45 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
61 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
52 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
40 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
41 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
495 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
77 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
44 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
46 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
100 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
70 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 ...
0
votes
1answer
61 views

Open Port 25 CentOS 6 with Plesk

I'm a total noob when it comes to server management. I've bought an unmanaged dedicated server. Mainly to help me learn. My email isn't working and the host support have told me I that need to open ...
0
votes
1answer
56 views

Mixing yum repos for different OS major versions does not work

First of all: I am well aware that in general it is a very bad idea to mix yum repos for different major OS versions. However on CentOS 7 I need a few packages from CentOS 6. So I have added CentOS 6 ...
1
vote
1answer
82 views

OpenVPN Server does not reply to Client ping

An OpenVPN client seems to initialize on a CentOS 7 client virtual machine. However, the response from the server is not clear when the client sends a ping. Specifically, ping 10.8.0.0 from the ...
0
votes
2answers
74 views

parsing using loop and assigning row numbers to file

It is a bit complicated. i have a configuration file. it looks something like this. customer="airtel" model_name=fast programmer_typ_of="dev" Now the 1st column contains all the keys and whatever ...
0
votes
0answers
47 views

Recover Files in Centos

i am changing all wwwroot folder file ownership root to www and all files automatically deleted or missing from /home/wwwroot folder. so if anyone know how to recover that files and why this happening ...
0
votes
0answers
24 views

selinux blocking vsftpd directory listing

I am trying to get a better understanding of selinux and configuring a local ftp repository on Centos7. I installed vsftpd on my host. I created a repository on my host: /var/ftp/pub/centos7 EFI ...
0
votes
0answers
40 views

pgloader in centOS 6.7

I'm trying to install pgloader on centOS 6.7 (64 bits) Steps wget http://pgsql.tapoueh.org/pgloader/pgloader-3.0.98-21.el6.x86_64.rpm rpm -Uvh pgloader-3.0.98-21.el6.x86_64.rpm Result -Uvh ...
0
votes
0answers
20 views

Using new apps with old distro

We have an old Centos 6 cluster installed in 2010. The kernel is old and accompanying set of system tools and applications are old as well. It is not being updated and I have no root access. I want to ...
0
votes
2answers
38 views

rpm -Vf doesn't report a changed file

I'm trying to write a puppet module that writes a templated config out but onlyif it's the stock config from the RPM (so as to not screw with any formatting they have going on). The rest of config ...
1
vote
1answer
43 views

How to create a default system wide dconf setting starting from just created ad-hoc user config?

I'm in need to standardize (a default standard desktop configuration for all existent and new users) a GNOME environment starting from an existent configuration of an ad-hoc created user. What I have ...
0
votes
0answers
41 views

Custom centos6.7 iso does not boot in uefi

I have created a custom CentOS 6.7 iso and in BIOS it boots and installs my application successfully. When I configured my VMware to boot in UEFI I get this error: -EFI Virtusl disk (0.0)... ...
0
votes
0answers
53 views

Setting up 12X2TB Centos Storage Server

I'm having some issues setting up a storage server for an image hosting website. I used to order smaller servers but this time I decided to order a large storage server. I had the data center set-up ...
0
votes
1answer
33 views

PHP5.5 or PHP5.6 Availability for CentOS 7

Is php5.5 or php5.6 Available for CentOS 7?
2
votes
0answers
71 views

Centos 7 Installation problems [closed]

I want to install CentOS 7 in a virtual machine wih virtual box but when I choose the option °Tes this media and install centos 7° I get this error: Checking: 090.5% The media check is completed,...
0
votes
0answers
97 views

Errors installing VirtualBox 5 on headless CentOS 7

I attempting to install VirtualBox 5.0 on CentOS 7. I have googled for hours trying to resolve this with no luck so I'm asking for help. Here is what I've done. On a clean install of CentOS 7: # cd /...
1
vote
0answers
70 views

How to solve File-based locking initialisation failed.

Am on a CentOS-Minimal Virtual Machine, i had accidentally deleted a hard disk that contained a Volume Group (LVM). After rebooting i got an error saying " File-based locking initialisation failed". ...
0
votes
0answers
35 views

snortd.service doesn't load on centos 7

I have installed snort Ids via its manual but there is a problem I am facing right now. There is no snortd service in init.d folder and when I run systemctl status snortd.service I get the following ...
-1
votes
1answer
48 views

Change Apache Directory [closed]

I am trying to change the /var/www/html default directory to /var/www/domain.com I have changed this in the httpd config file but it doesn't seem to work. I am running Centos 7 and Apache2
3
votes
0answers
40 views

Can't disable TLSv1 and RC4-SHA

I need to remove TLSv1 and RC4-SHA support in Centos 7. I have these lines in my ssl.conf SSLProtocol +TLSv1.2 +TLSv1.1 -TLSv1 SSLCompression off SSLHonorCipherOrder on SSLCipherSuite "ECDHE-ECDSA-...