CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat.

learn more… | top users | synonyms

2
votes
0answers
16 views

how do I plan partitions for LUKS encryption of a CentOS 7 server?

A CentOS 7 web server needs encryption at rest. I would like to use LUKS encryption for this, but I need direction to plan how. Can I use LUKS encryption to encrypt the entire drive as one unit on a ...
0
votes
0answers
9 views

Looking for libmcrypt-devel.i686 on Centos7 for building 32bit binaries

Which yum repo am I missing, there is only libmcrypt-devel.x86_64 but no libmcrypt-devel.i686 package? yum search mcrypt libmcrypt-devel.x86_64 : Development libraries and headers for libmcrypt ...
-4
votes
2answers
30 views

How do I block SSH connections except those originating from within a /29 block of IP's or LAN? (CentOS 7 and Ubuntu 12) [on hold]

I have already disabled root login via SSH, turned off password authentication, and implemented SSH keys. I wanna go one step further and only allow SSH connections to originate from within our ...
-1
votes
0answers
49 views

Why am I limited to ~10-20 usb devices?

I am trying to hook up 27 USB device to an Intel NUC running CentOS 7 but no matter what I do the system can never see more than 20. I have tried multiple models of NUCs and even tried adding an ...
1
vote
0answers
8 views

openldap configuration troubles or packages bug how solve

When i configure master-master replication using this openldap packages versions, replication is working fine: openldap-2.4.23-26.res6.2.x86_64 openldap-servers-2.4.23-26.res6.2.x86_64 ...
1
vote
0answers
11 views

CentOS 6.6 - reshape of RAID 6 stopped

I have a CentOS 6.6 Server with 13 disks in a RAID 6. Some weeks ago, i upgraded it to 17 disks, two of them configured as spare. The reshape worked like normal in the beginning. But at 69% it ...
1
vote
1answer
15 views

Using ngrep to print communication in clear text on a port

Im on a CentOS Linux release 7.1.1503. I want to print out all communication in clear text on port 8058, and for this i ran the following command: sudo ngrep -pqtW byline port 8058 But running the ...
0
votes
0answers
19 views

iptable with transparent proxy, how to pass the user IP

I have a local transparent proxy, but my problem is that the packages, when re-routed, have the router IP and not the user. those are the rules that I currently have in place: iptables -t nat -A ...
-3
votes
1answer
33 views

Empty /var folder on FTP client even though there are files in there

I recently created a VPS server with OVH (running CentOS 7). I have installed the basic LAMP stack (without the L), as well as SSH and FTP, on a fresh install of the VPS. The FTP is what I am having ...
-2
votes
1answer
23 views

Crond is running twice with CentOS

I have the following issue that all of my cronjobs are running twice. When I do: ps aux | grep cron I see the following: root 1379 0.0 0.1 117296 1224 ? Ss Aug26 0:00 crond ...
0
votes
0answers
17 views

tshark packet capture performance CentOS 6 v CentOS 7

I am attempting to capture approx 20mbit/sec worth of traffic continuously with tshark. If I capture packets with tshark on CentOS 6.5 I get around 4% to 66% packets dropped. If I do the same thing on ...
-1
votes
0answers
26 views

Found someone hacking in my LAMP server centos 7 using GET request with WGET

This is a bit confusing and I think I was hit by a shellshock, by the way I'm not a sysadmin and only know a little bit about handling a linux. I'm running a website (LAMP) and hosting it in Digital ...
1
vote
1answer
13 views

DTrace limited on Centos/Fedora

I wanted to work on a problem on a Centos 6 box. I ran dtrace and it failed. It doesn't accept -n or -l or -P or any command line options. It claims to ONLY accept -h, -G, -C, -I, -s, and -o. I ...
0
votes
1answer
10 views

Error occurred when installing php-mcrypt on Centos 7 [duplicate]

I'm completely new to Linux in general and using Centos as a server. I tried to install the php-mcrypt extension through yum, but i'm only receiving errors. I have some difficulty interpreting what ...
0
votes
1answer
29 views

Virtualbox host only + NAT network slow

I have a Virtualbox CentOS 6.6 machine. It takes a very long amount of time to ssh (like 80 seconds), but once I log in it is not as slow. I also notice when pinging something like google.com from the ...
2
votes
1answer
26 views

Making changes to default IPv6 route persistent in CentOS 7

I have several IPv6 addresses on a CentOS 7 server and need to make a specific v6 address the default address used in routing. I have been able to do this by modifying the route table. ip -6 route ...
0
votes
1answer
16 views

Why does bind allow TTL to be set record by records if different TTLs are not allowed within the same record set

Why does bind allow TTL to be set record by records if different TTLs are not allowed within the same record set? If i set the zone ttl using: $TTL 39600 And then set a record TTL using: @ ...
-1
votes
0answers
20 views

Centos 5.11 and Redis server 2.2

I am in the process of installing redis onto my server, I have the installation nearly complete (I can start up an instance of redis), but I get the following message, 9180] 26 Aug 01:19:39 * Server ...
1
vote
0answers
31 views

High CPU Usage Top isn't Showing Processes

Hey I'm having a weird issue that I'm having some difficulty diagnosing. I have a VM that went down due to high CPU usage today. The websites on this VM are very low traffic, so I knew something ...
3
votes
3answers
42 views

How can I delete old log files?

I'm trying to figure out how can I delete old log files, I'm using Centos 6.5 and in my /var/log I see these old log files messages messages-20150802 messages-20150802 also the same in the ...
0
votes
2answers
21 views

HAProxy mysql configuration

I tried few times, but I cannot figure it out why my mariadb load balancer with haproxy is not working. I have : 1 HAProxy (CentOS) : 10.181.102.249 1 Master (CentOS) : 10.183.241.150 2 Slaves ...
1
vote
2answers
43 views

Cannot ping centos7 host

I am doing this for the first time, so I may be missing something very basic. I installed Centos 7 on a new server and have successfully gotten the connectivity working. Now I want to be able to ssh ...
0
votes
1answer
17 views

Setup a openldap proxy to another LDAP server on centos 6

I'm trying to get a local server to authenticate to its own openldap-server and then proxy to corporate LDAP if user is not found locally. Local users work Auth to local LDAP server works Auth to ...
0
votes
1answer
35 views

Can't connect to Nginx from remote browser (weird issue)

I've got a really weird issue with Nginx, I can't access it from my browser. I have installed a CentOS 7 virtual machine on my computer with Nginx, PHP-FPM and MariaDB installed and configured. The ...
2
votes
1answer
38 views

Server not sending ICMP echo reply

I'm having a weird problem with a CentOS 6.6 machine. It is a server running KVM and a few guest VMs using a bridge interface. Basically, my issue is this: The VMs on this host have no network ...
1
vote
1answer
22 views

Simplest infinite script exec without upstart

I've got a CentOS 5.11 box that I have to work with for now--in a production env where I can't really push it to CentOS 6, at least for awhile. I have to be low-impact on this project, can't mess up ...
1
vote
0answers
16 views

CSF+LFD not blocking brute force on xmlrpc.php on Wordpress site

I have just installed csf+lfd on my rackspace cloud server (a vanilla LAMP stack running centos 6.7). I only tweaked a couple of settings in the default csf.conf file: the ports allowed in TCP_IN and ...
2
votes
1answer
24 views

Send mail service start error

I installed sendmail on CentOS based on some tutorial. When I start sendmail, it showing sendmail failed error. Here the following command result: systemctl status sendmail sendmail.service - ...
0
votes
0answers
22 views

Suspicious process running [closed]

My server started receiving a high volume of email warnings for the same thing. I'm not sure if it's an exploit or something that isn't harmful. I'm just running a cpanel server on Centos and this is ...
2
votes
3answers
45 views

Grep access on maillog for non root

I would like to grant a specific (regular) user grep access on my maillogs (/var/log/maillog*). I'm not prepared to change the log permissions, as they should remain root-only, so I think the ...
2
votes
1answer
41 views
+100

yum updates - are .rpmnew files ever critical / important to act upon?

When yum installs updates sometimes, it will give some message like: warning: /etc/ssh/sshd_config created as /etc/ssh/sshd_config.rpmnew My thought is that it would be wise to act upon these ...
-1
votes
0answers
10 views

Back-up entire VPS CentOS 7

I am a totally beginner when it comes to VPS and Linux but I would like to know what the best options are for making a backup of ALL my files. I have seen options such as rsync but this is ...
2
votes
1answer
26 views

Getting Bonding Status in CentOS 7

In CentOS 6 I had my trusty /proc/net/bonding/bond0 that would give me the following information: [kbrandt@ny-tsdb01: ~] cat /proc/net/bonding/bond0 Ethernet Channel Bonding Driver: v3.7.1 (April 27, ...
0
votes
0answers
7 views

mongo c driver projection function where clause [closed]

include include include include typedef struct node { int index; char *key; char *val; struct node * next; } node_t; void push(node_t ** head,int index ,charkey,charval) { ...
0
votes
1answer
24 views

Load average spike causes very slow response on web application

we've a vm in Azure with D11(2 cores, 14GB ram) size to host our company new web erp system that consist of jboss and postgresql installed on centos 7, only 14 users login concurrently. From time to ...
5
votes
2answers
118 views

CentOS 7 iptables not persistent after reboot

I installed a minimal CentOS 7 version on a development server to virtualize some linux guests with kvm/qemu. To use iptables instead of firewalld I install iptables-service and do: systemctl stop ...
-1
votes
0answers
26 views

VPS slow after hard disk installation [closed]

I had my hard drive increased 50 GB on a centOS 6.7 VPS. Immediately after reboot the response time to the web server has increased 200%. Top shows a large number of PHP processes with low memory ...
0
votes
1answer
12 views

Virtualhost Document Root changing web root for entire server

I currently have example.com pointing to Server one. I wanted to server example.com from a different directory ( /WebData ) I did this by editing httpd.conf http://pastebin.com/UjHhRNTX I this ...
0
votes
0answers
45 views

CLOUDLINUX 6.6 x86_64 YUM error

I am getting the following error after running a yum update which failed and then running yum-complete-transaction: Skipping the running kernel: kernel-2.6.32-531.29.2.lve1.3.11.1.el6.x86_64 --> ...
-1
votes
1answer
30 views

CentOS 6 script at server boot up

I have three terminal commands that I would like to execute when server boots up. How can I achieve this? I have seen many solutions, but none of them seems to be simple and working. Here are the ...
4
votes
1answer
73 views

CentOS virtualbox no icfg-eth1 when adding secondary network interface

I have a CentOS 6.7 minimal distribution which I created in virtual box. As an afterthought, I added a secondary network interface in virtualbox, so I have an NAT interface, and a host-only local ...
0
votes
0answers
9 views

CentOS + uwsgi + virtualenv no python application found

I have installed Python 2.7 on CentOS and created a virtualenv for my project using: $ virtualenv -p /usr/local/bin/python2.7 venv I have installed uwsgi and uwsgi-plugin-python with virtualenv ...
1
vote
0answers
30 views

Obtain Kerberos ticket automatically (on boot) in CentOS 7?

I'm using Ansible to administer a group of Windows servers, with my control machine running CentOS 7.1. I've set up my /etc/krb5.conf file to authenticate to a domain controller so I can use one ...
-4
votes
1answer
63 views

SSH broken due to chmod -R /* [duplicate]

I made a total mistake here. Anyway I ran chmod -R 777 /* and immediately regretted my decision. I had to boot into single user mode to and ran chmod -R 755 /etc/* in order to login to the server. ...
1
vote
1answer
28 views

selinux: rwx permissions for a folder

I am facing problems with PHP interface that calls perl and shell scripts. These enable uploading of a file to a folder and execute them with some input while storing output into some other files. Now ...
1
vote
1answer
34 views

Best options for KVM/qemu/libvirt VM migrations without shared storage

My team has recently been tasked with improving the virtualization infrastructure at the company and one thing we're looking into doing is speeding up migrations. We use local storage only on all VM ...
2
votes
1answer
50 views

Bizarre Vsphere Issue - administrator account can login to a host via console, but user can't

This is an odd issue we are currently experiencing. The administrators have created a VM for a user. The administrators can log in via the vsphere console as root without any issue. However, when the ...
0
votes
0answers
26 views

What is this?: egrep -Rl function.*for.*strlen.*isset /var/www/vhosts/ [closed]

I have been trying to get the performance of my server under control, it has occasionally been spiking. Whenever I receive the warning I run the following command to check whats going on: ps -eo ...
0
votes
0answers
31 views

CentOS file size (file lost after download if bigger than 2 gb)

I have a problem with I download file with my server and upload on my server. It's a server, centos 64 bit 16gb ram x cpu 4 core x2. If I try to download for example test file, if test file is lower ...
2
votes
1answer
43 views

How to change mail “from” name for Fail2Ban email notifications?

I have Fail2Ban sending me emails from various servers but I can't tell at a glance which server because the email "from" name is always just "Fail2Ban". I've managed to set the "from" address ...