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
2answers
63 views

Apache shows Blank page for PHP

I've installed a fresh version of Centos 7,I'm new to Linux. I installed Apache using yum -y install httpd and i can open the test page and everything is ok with it. after that i installed ...
0
votes
0answers
33 views

NameVirtualHost address is not supported, proceeding with undefined results

Apache Details Server version: Apache/2.2.15 (Unix) Server built: Aug 28 2015 22:18:57 Varnish varnishd (varnish-3.0.7 revision f544cd8) Copyright (c) 2006 Verdens Gang AS Copyright (c) 2006-2014 ...
1
vote
0answers
37 views

Hostname won't resolve after setting up new server

I just completed a fresh install of Centos 7 on a PC. It is connected to the campus network, so I am not in control of the DNS server. I gave it a hostname by setting the HOSTNAME value in ...
1
vote
2answers
56 views

Network has no ping and can't resolve hosts

This is the config on /etc/sysconfig/network-scripts/ifcfg-eth0: DEVICE=eth0 TYPE=Ethernet UUID=c7sdfsdf-dfgdgdfgdgd-dg ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=static IPADDR=x.x.x.x ...
1
vote
1answer
70 views

How do I masquerade only a specific subnet with firewalld?

I'm running openvpn on CentOS 7 with firewalld. I've enabled masquerading on the public (default) zone, and it works fine. However, I occasionally need to run services on localhost/127.0.0.1, and the ...
0
votes
0answers
44 views

Configuring Dynamic DNS on CentOS 7 without dhcpd service

I have a CentOS server on which I configured DNS but it doesn't serve as a DHCP sever, since I have a d-link router which serves as such (DHCP is enabled on it). Is there a way I can configure Dynamic ...
0
votes
1answer
46 views

Kickstart install problems, ethernet configuration missing

Using CentOS 6.7 I've created a custom(and working) kickstart installation. Initially I had coded the configuration for eth0 in the kickstart file, but ideally I'd like the user to input it, but it ...
0
votes
1answer
42 views

too many connection to SMTP server in exim_mainlog, How to solve it?

It is a cPanel server and from /var/log/exim_mainlog, I can see that, there are too many connections to the server. Mostly the number of action connection will be less than 25. But even after ...
0
votes
1answer
25 views

IPV4 getting removed after restart CentOS machines

I have CentOS machines (both 6.x and 7.1) and whenever I reboot them, automatically IPV6 is assigned to them and IPV4 is lost. Any idea why it is happening and how to prevent it? I Could not ...
0
votes
0answers
18 views

Local yum repo stops working and after reboot its back

My local repo stops working every now and then and the work around is to reboot that server. Even httpd service restart doesnt help. yum list|grep httpd ...
0
votes
1answer
47 views

SSSD Centos 7 AD Binding - only some users are able to login

I have been trying to nail down the process of binding a Centos 7 install to a Windows domain but am struggling. I have managed to successfully do this in the past on a couple of boxes but I am now ...
3
votes
1answer
78 views

How to properly configure snmpd?

I installed snmp on CentOS 7.2, like so: yum -y install net-snmp net-snmp-utils I made a backup of my snmpd.conf file: cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.orig then I cleared the text, ...
0
votes
1answer
30 views

Previous System Statistics From Sar

I did see the post here: How do I get sar to show for the previous day? But it doesn't answer my questions below. I am trying to use sar to look at the statistics from yesterday (March 9th): $ sar ...
1
vote
4answers
76 views

Why do I need to set some file as executable?

I never went outside of windows before last week, I was asked to make a VM with elasticsearch/logstash/kibana/jdk8 on it. I'm using a regular non sudoer user. I extracted each tar.gz file and got 4 ...
0
votes
1answer
78 views

Timeouts with authd on CentOS 7

I am currently trying to augment my mailsystem by allowing servers that received mails from me within the last ten seconds to perform ident lookups. While the needed iptables rules are working ...
0
votes
1answer
45 views

Upgrading the CPU in a CentOS server

I have a CentOS server running moodle and owncloud service. It is running with an Intel G2030 CPU, so that's reason why it running so slowly. Therefore, I want to upgrade the CPU. So If I change for ...
1
vote
3answers
137 views

How can I find which user is accessing a file using strace?

My actual problem is that Nginx is not able to render pages (403 forbidden) despite the permissions being set to appropriately (in my opinion) The directory of stackoverflow at default location: ...
-2
votes
1answer
51 views

CentOS 7 SSH errors

having a bit of an issue with SSH and my CentOS 7 server. Here's a description of my problem. I have open-ssh setup on my server, and am able to ssh in as root (The server is a remote server, and ...
0
votes
2answers
22 views

CentOS rsync directory contents but not directory?

I'm trying to get the contents of /deploy/ to populate to /panda/ but it doesn't seem to work. I searched on here and found instruction to leave the trailing slashes; however each time I run it a ...
0
votes
0answers
46 views

Can't Send or Receive mail from Dovecot/Postfix Mail Server (Centos 7)

So I've been looking into getting a mail server set up and while it's been problem after problem I feel I'm getting it close to working. Now it just doesn't seem to be receiving mail (no errors via ...
2
votes
1answer
84 views

Extend XFS parititon ( xfs_growfs )

Here are the partitions of my server : NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 54.6T 0 disk ├─sda1 8:1 0 1004.5K 0 part ├─sda2 8:2 0 19.5G 0 part / ├─sda3 ...
0
votes
1answer
32 views

Centos 5.11 No module named yum [closed]

I'm running Centos 5.11 and I installed python 2.7 (replacing 2.4) I soon found out that yum won't work with 2.7, as expected if I put python -V it shows Python 2.7. My classmate did a snapshot of ...
1
vote
0answers
27 views

CentOS install - select existing partition as /

I'm installing CentOS on a system that has pre-defined partitions (XFS, created by Ubuntu 14.04 Live CD). I can select the little 500MB partition and give it a mount point of /boot no problem. When ...
0
votes
1answer
55 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 ...
0
votes
1answer
51 views

Firewalld says a port is open, but nmap says its closed

On my CentOS 7 install I'm having trouble connecting one of my email accounts made on the server as an alias on Gmail. I have run the following commands: firewall-cmd --permanent --zone=public ...
0
votes
1answer
29 views

Issue with copying the public Key

I'm trying to copy the public key to my remote host but I keep getting this message, "Permission denied (public key). Password authentication is set to YES in my /etc/ssh/sshd_config file, I have ...
1
vote
2answers
36 views

Run an executable as a service on a port

I have a C program (say a simple Queue system) which I compile and get an executable file. I want to run this executable as a service on a specific TCP port on a CentOS system which I can connect to ...
0
votes
0answers
33 views

How to bootstrap a new dependency configuration on a cluster?

I have access to a cluster running a CentOS 6, which have not been updated. For that reason, the glibc, ld-linux and other dependencies that, I think, are kernel-based are all out-of-date. I have no ...
1
vote
3answers
121 views

NTP synchronization in CentOS 7

I configured an NTP server on a CentOS 7 machine (a virtual one) and also configured the ntp.conf file of the clients (which also are virtual and run CentOS 7). The NTP synchronization works perfectly ...
0
votes
1answer
50 views

CentOS “service network restart” FAILED - where is the error log?

In CentOS, I ran the following command. But it doesn't give me explicit errors to investigate. How can I troubleshoot further or find the errors? service network restart
0
votes
2answers
48 views

How do you stop posgresql on centos 7?

How does one stop a Postgresql instance, 9.2, on CentOS 7. I found nothing under /etc/init.d/ nor a ctl program.
0
votes
0answers
41 views

Rockstor hanging infinitely on boot

I been using this site for a long time but this is my first time asking a question. So here goes: I have recently created a NAS running Rockstor and everything seemed to be running fine (apart from ...
0
votes
1answer
40 views

Docker image create

I want create own docker image. I use a Dockerfile to create it and want to run only httpd server and mysql client. below can see my edit file. Is my Dockerfile is correct or not? # Dockerfile that ...
0
votes
0answers
35 views

autofs asks password for passwordless samba share on Centos 7

I have a samba share that does not require password. Here are non-default lines in my smb.conf: [global] map to guest = Bad User [distr-ro] path = /home/distr public = yes ...
1
vote
1answer
26 views

Are yum updates seamless?

Let's say I want to use yum to update mysql. Let's also say that I have a cron job that runs some commands using mysql. If I do a yum update, and then that cron job runs during the update, is there ...
0
votes
1answer
71 views

GRUB2 CentOS7 KDE boot logon screen

First of all so you understand my knowledge on the matter, I'm a 10-year Mac user and I only run Linux vm's to serve enterprise services. I have never really used Linux X systems, beside gnome once or ...
0
votes
1answer
132 views

Troubles with certificates

[Tue Mar 01 17:29:01.443730 2016] [:error] [pid 12834] Misconfiguration of certificate's CN and virtual name. The certificate CN has mail.[domain.com]. We expected www.[domain.com] as virtual name. ...
0
votes
1answer
53 views

How to make a simple script run at login everytime

I'm extremely new to Linux style computing. Please keep that in mind. I figured out how to write a script for the calendar to pop up in the terminal. !/bin/bash Shell Scrip to display current date, ...
0
votes
0answers
31 views

Transaction check error when trying to update ganglia-web on CentOS 7

I'm trying to update the version of "ganglia web" on CentOS 7 but I'm getting this "transaction check error" message. Here are the details of what's displayed: Downloading packages: Running ...
1
vote
3answers
75 views

preventing dos attack in apache webserver

This is the version of apache we're using - httpd-2.2.15-39.el6.centos.x86_64 We recently had our website down due to DoS attack and hence started exploring iptables, and how to use it to prevent DoS ...
0
votes
0answers
29 views

has anyone successfully installed AMD proprietary drivers on Centos 7 and AMD 7730M?

The question is pretty straight forward. I was able to build the rpm package called fglrx_p_i_c-15.302-1.i386.rpm using the help offered at my previous question on the matter: how can I build Radeon ...
1
vote
1answer
60 views

How to debug an Out of memory crash

Recently one of my CentOS6 server crashed because of an Out of memory Error: It seems to be related to the postgres database used by java web-applications (deployed on tomcat). But I cannot find ...
1
vote
1answer
84 views

iptables rule explanation

I was looking to update iptables in our webserver which would prevent DoS attack to an extent. 1) Related to web traffic, below are the iptables rules i found. iptables -I INPUT -p tcp --dport 80 ...
1
vote
0answers
75 views

Force OpenVPN to route all traffic through one IP address (2 IPs on same NIC)

I've trying to dig up a solution for this, but all I keep turning up is how to bind OpenVPN to a particular hardware interface. Not quite what I need to do here. I run a server and I have 2 IPs at my ...
0
votes
0answers
55 views

Is there any way of opening a remote session without using the display in rdesktop?

I'm trying to use rdesktop to connect to one of my machines: rdesktop -u username host -p password When I run this command I get ERROR: Failed to open display: which is normal as I'm connected to ...
0
votes
1answer
66 views

Install php-pecl-memcached

I'm trying to install php-pecl-memcached in php v5.4.45 and Centos v6.5. My command is following. yum --enablerepo=remi install php-pecl-memcached However I encountered the following error. ...
1
vote
1answer
82 views

md raid not mounted by dracut

Background I'm running Centos 7. Originally, it was running on a single disk that looked something like this: 1 200M EFI System (/boot/efi) 2 500M Microsoft basic (/boot) 3 465.1G ...
2
votes
0answers
143 views

Install CentOS on RAID (manually) on UEFI system

I'm struggling with the manual configuration of a RAID1 + RAID10. I'm trying the procedure on a VM (VirtualBox 5.0.14 r105127) on OSX 11.10.3. The strategy I took is: The complete set of commands I ...
0
votes
1answer
134 views

Best practice for installing Oracle 11g R2 on CentOS 7 / RHEL 7

I am a new user. I tried to log into chat to ask advice in framing this question, but I need at least 20 reputation points to participate in chat, so I am asking here with the intent of improving my ...
0
votes
0answers
55 views

can't `yum install ruby-augeas` on centos6.7

I have a problem installing ruby-augeas gem. (reason behind this, is so I can install stackstorm... which stops its install due to this) Following the errors/logs, it appears I need to downgrade(!) ...