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

1
vote
0answers
11 views

CentOS appliance becomes unresponsive with lot of outgoing http connections

I have an ESXi VM running CentOS-7. My application is deployed inside a tomcat instance running on this server. The application periodically makes 1200 "outgoing" http connections every 15secs. I am ...
-1
votes
0answers
19 views

error trying to install CentOS 7 and remove windows 8.1

I have a USB boot stick that I am trying to use to install CentOS 7 and also completely remove windows 8.1 from a computer. I pressed del to enter setup and then navigated to the boot options, and ...
0
votes
0answers
9 views

autofs runs under root user and not as the local logged in user

I had described in this answer a solution how to use automount / autofs for mounting net drives with different credentials depending on the logged in user. To do that I can use ${HOME} like this: ABC ...
1
vote
0answers
15 views

Nginx can't speak with uwsgi (prematurely closed connection)

What I'm missing in my nginx/uwsgi/php-embed configuration? rpm -qa|grep php php-cli-5.4.16-36.el7_1.x86_64 php-xml-5.4.16-36.el7_1.x86_64 php-devel-5.4.16-36.el7_1.x86_64 ...
0
votes
0answers
21 views

add user for ssh and accept uplaod file , nginx + centos

I just install nginx on CentOS 6.5 try to move all old project write in php and NodeJS, from Apache to this. goal: website admin upload folder and file through ssh accept user upload file in ...
-1
votes
1answer
27 views

How to I configure CentOS command sudo su with a password

I have disable accessibility on my CentOS server by using given username and password, I allow them to access server by using Public Key instead, but I noticed that every account can change to root ...
-1
votes
1answer
18 views

LDAP down - exim down

I need some ideas here: Centos 5 with ldap authentication loses exim functionality once the ldap server becomes unavailable (in the logfile I can see it just hangs once receives "rcpt to:") , any ...
0
votes
0answers
12 views

httpd error log “Error: Document has not the mandatory ending %EOF”

The company I work for recently outsourced a website rebuild, and along with it came a CMS. Despite my lack of expertise, I am the nominated server expert. Go Figure. Anyway, when trying to ...
-4
votes
0answers
13 views

LEMP Setup on CentOS at DigitalOcean [on hold]

I'm following this tutorial. I got some issues start from step four: Configure Nginx to Process PHP Pages. After I typed this $ sudo vi /etc/nginx/conf.d/default.conf. I can't find server { listen ...
-2
votes
0answers
34 views

I can not update centos 6.6. Error: Package: and duplicated packages

I'm no expert in vps server support, I'm learning. I am getting the following error when trying to 'yum update'. [root@localhost ~]# yum update . . . Error: Package: ...
-1
votes
0answers
11 views

myisamchk results in segmentation fault

My database table is marked as "in use" in phpMyAdmin. I tried to run repair on it. I get this issue and followed the instructions here: ...
0
votes
1answer
12 views

mdadm set the mode before a second device raid1?

i have a problem. server use two disk softraid1. disk sda is die, and replaced disk. and reboot now, copy partition table sdb to sda ok. next step copy boot record sdb to sda ok. finaliy add sda in ...
0
votes
0answers
19 views

CentOS 7 on XenServer 6.5

I am having problem trying to get CentOS 7 Graphical installer to work on XenServer 6.5 (Service pack 1). I have used CentOS 7 template. Graphical installer does not work, getting blank screen with ...
0
votes
1answer
27 views

How can I strip or rewrite the sender's name of a from address when using postfix?

Objective I'm trying to configure a CentOS 7 system so all mail sent to local system accounts gets redirected to an alternate email address. For example, if mail is sent to root I want it to be ...
-1
votes
2answers
35 views

CentOS cant grow partition

I have the following problem: I have a CentOS 7 VM virtualized by Hyper-V. Initially the Disk was about 200GB since it was only used as a MailServer. Now I'm running low on available diskspace and I ...
2
votes
0answers
29 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 ...
-3
votes
2answers
40 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 see thousands of failed login attempts on our servers and want to do what I can to prevent a successful one from the bad guys. I want to block anyone not originating from a /29 block we own from ...
-1
votes
0answers
55 views

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

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
17 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
14 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
16 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
38 views
+50

iptables with transparent proxy, how to pass the user IP

I have a local transparent proxy, but my problem is that packets, when re-routed, have the router IP and not the user. These are the rules that I currently have in place: iptables -t nat -A ...
-3
votes
1answer
36 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
26 views

Crond is running twice with CentOS [on hold]

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
1answer
34 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
34 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
15 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
35 views

Virtualbox host only + NAT network slow [on hold]

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
27 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
22 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
45 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
25 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
44 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
20 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
36 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
40 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
20 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
25 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 ...
3
votes
1answer
43 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
11 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
29 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
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
124 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
27 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 ...