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

0
votes
0answers
40 views

lvm disk corrupt after force power down

I have virtual machine running on kvm host. But after force shutdown (unplugged power supply of physical server), virtual disk corrupted, cannot boot to OS (OS: CentOS 32bit, include 2 partition, ...
0
votes
0answers
52 views

SFTP Reverse-Proxy using iptables on custom port

I want to give SFTP access to anyone into to my Server (IP: ss.ss.ss.ss) passing through Proxy (reverse-Proxy? IP: pp.pp.pp.pp), so that IP ss.ss.ss.ss is never seen by whoever is connecting to the ...
0
votes
2answers
49 views

Can't block spammy IP

I'm being attacked by 37.59.4.76. It's sending me a great amount of data, which is destroying my dataplan. I've added the iptables Chain num pkts bytes target prot opt in out ...
-1
votes
1answer
90 views

Howto monitor web server nodes through HA proxy using Icinga/Nagios in CentOS 6

In this guide I'm not focusing at all on setting up HA proxy or why you'd want to do that. If you have it and want to properly monitor it using Icinga, here's an idea of how you could go about this. ...
-1
votes
2answers
99 views

Bind only works Locally - Ping works locally not externally

I am using Bind on a Centos 6.5 server in order resolve subdomains to an IP. I have *.ddns.example.com and ddns.example.com pointing to my server via A record. I have added a zone for this, see ...
0
votes
0answers
123 views

502 http code when reloading nginx upstream servers

I'm having trouble load testing a web application running in docker. I'm running 2 containers of the same application, In hopes that when I bring one down the traffice will relay to the next server. ...
2
votes
1answer
70 views

Centos SMTP error command not implemented

I have a vps with Centos 6.5 and postfix installed. When I want to connect to a smtp server like google or mail gun, I get the error 502 command not implemented. Can anybody help me please? This is ...
2
votes
2answers
36 views

Why does the sendmail.mc file support entries that are not formatted for m4 syntax?

I recently discovered that /etc/mail/sendmail.mc supports entries that are not in m4 syntax. For example: LOCAL_CONFIG O CipherList=HIGH This doesn't make sense to me because pretty much ...
0
votes
0answers
54 views

What does “version=TLSv1/SSLv3” mean in SendMail STARTTLS log output?

SendMail 8.14.x I have a Sendmail server configured to use TLS and I see TLS log entries like the following: Oct 25 04:04:04 foobox sendmail[1234] STARTTLS=client, relay=[1.1.1.1], version ...
9
votes
4answers
389 views

ps aux hanging on high cpu/IO with java processes

I'm having some issues with java process and nrpe checks. We have some processes that sometimes use 1000% cpu on a 32 core system. The system is pretty responsive until you do a ps aux or try to ...
0
votes
0answers
46 views

Connection was reset - Apache

I have a server in which I can ssh using the live IP. The server is connected through a DMZ port. whenever I try to access the web server in the server I get Connection was reset. My SeLinux is ...
0
votes
2answers
55 views

Nginx http prefixes in upstream server

I'm trying to use nginx to proxy pass to two docker containers. Here is my upstream conf file: upstream api_servers { server http://192.168.49.4:49155; server http://192.168.49.4:49156; } This ...
1
vote
1answer
123 views

CentOS 6.5 on Vmware can't ping Host machine

I have installed a CentOS 6.5 on VMware WorkStation 10 all running on Windows 7 64bit, internet is working fine but I can't ping host machine from CentOS vice vers, it tells me Destination Host ...
4
votes
0answers
170 views

CentOS requires entering password twice for sudo, login

At every login or sudo prompt, the server always rejects the password when it is first supplied, but accepts it the second time. I found this thread which describes what seems to be the same problem, ...
0
votes
2answers
35 views

Linux (Centos) soft raid1 - motherboard died

I use centos 6.3 and soft raid1 (via mdraid) + LVM. The problem is that MB died and I have several questions. I have two hard drives. Is it important what drive how connect to MB. I mean ...
0
votes
0answers
19 views

Linux CentOS Quota setting misbehaves on certain users

Halo, I am searching a solution for a very strange behavior related to the quotas I experience on CentOS 6.5 minimal instalation. Let me explain and start by saying that I created a new aquota.user ...
-4
votes
1answer
51 views

ESXI/CentOs Cannot connect to internet [closed]

I installed CentoS on a vm. I have use the netinstall. During the install i configure my network with: IP Adress: 195.154.32.33 NETMASK: 255.255.255.255 GateWay: * same Gateway of my esxi server* ...
1
vote
1answer
58 views

MySQL on LAN not working when IPTables enabled

I have two Centos VM. The IP Addresses are as follows : VM_1 => 10.99.0.10 VM_2 => 10.99.0.12 Apache and PHP are in VM_1 and MySQL is in VM_2. Both are having iptables rules. VM_2 is working ...
0
votes
1answer
107 views

chroot with sftp on centos 6.5

I'm trying to get sftp working with proper chroot configuration on Centos 6.5 server. As for now I get: sftp user@000.000.000.000 User@000.000.000.000's password: Write failed: Broken pipe Couldn't ...
0
votes
1answer
60 views

Supervisord - ini file error on CentOS

I installed Supervisor on CentOS 6.5 and currently experiencing some weird error that I can't seem to fix. I created a supervisord.conf file in /etc directory and call supervisor like this: $ ...
1
vote
1answer
506 views

Upgrading to PHP 5.6 using Yum (REMI repo)

I would like to ask how to upgrade to PHP 5.6 on my CentOS machine using Yum + REMI repo. For example, I already use the REMI repo for everything. Now, after I change this line in ...
0
votes
1answer
70 views

httpd Virtual hosts not routing files to domain

I am running Cent OS and currently have 2 different domains setup correctly on 1 server(I set these up via cPanel years ago) I wish to add a third but do not have a cPanel license, ideally I do not ...
-1
votes
2answers
119 views

Bash script to kill specific process running longer than 5m [closed]

Hi I'm looking for a BASH script for CentOS 6.5 that kills a processes by name that's been running longer than 5 minutes. I asked this question before and received a response that doesn't work under ...
0
votes
0answers
142 views

Asterisk 11.* TLS Configuration

I have installed asterisk 11.12.0 on CentOS (64-bit). When enabling the TLS support i get the following error WARNING[7620]: tcptls.c:673 handle_tcptls_connection: FILE * open failed! i tried ...
0
votes
2answers
62 views

I broke yum — Can't do anything

I was trying to follow a tutorial for installing yaffas (zarafa-admin) and I went to install the packages and got failed checksum errors for EVERY mirror. So after about 15 mirrors, I just hit CTRL+C ...
4
votes
2answers
537 views

How can I verify if TLS 1.2 is supported on a remote web server from the RHEL/CentOS shell?

I'm on CentOS 5.9. I'd like to determine from the linux shell if a remote web server specifically supports TLS 1.2 (as opposed to TLS 1.0). Is there an easy way to check for that? I'm not seeing a ...
1
vote
2answers
99 views

Add remote host to known_hosts file without prompt [duplicate]

I wrote some scripts and wish to add a remote host to my known_hosts file without any interaction. I can run a command like ssh -o "StrictHostKeyChecking no" root@10.x.x.x which will add the remote ...
0
votes
2answers
584 views

CentOS 7 is not setting my gateway from DHCP

I have a Minimal Install of CentOS 7. I have disabled the Network Manager as I want to setup my network the "old school" way. systemctl stop NetworkManager systemctl disable NetworkManager ...
1
vote
1answer
55 views

Postfix to Postfix relaying

I've got a (possibly unusual) situation with using Postfix to relay mail to another Postfix mail server that then needs to send the email out. I've read plenty of tutorials and seen instructions for ...
2
votes
1answer
285 views

Can't allow users to log in via SSH (Bash, OpenSSH, CentOS 6.5)

I am running a CentOS 6.5 machine remotely via SSH. I use RSA keys and have disabled password authentication. The problem that I am having is that whenever I add a new user and want him/her to log in ...
0
votes
0answers
65 views

No version specified, and no candidate version available for mysql

I'm trying to install MySQL using Chef on CentOS 6.5. I've got the repositories in place. -rw-r--r--. 1 root root 256 Oct 15 16:59 centos-base.repo -rw-r--r--. 1 root root 267 Oct 15 16:59 ...
2
votes
1answer
50 views

Puppet directory environments and the $environment variable

Like many (I hope), I am preparing for Puppet 4 by separating out my manifests into environments. I intend on having 3 separate environments: qa, staging, prod. In setting up the manifests initially, ...
0
votes
0answers
32 views

SSL with rsyslog on CentOS - protocol family not supported?

For the life of me, I can't seem to get rsyslog to have imrelp use TLS(SSL). I've engaged the good people on http://kb.monitorware.com/post25017.html#p25017 to try and chase the rsyslog angle, but I'm ...
1
vote
0answers
41 views

Unable to Configure Quotas in RHEL6 & CentOS6- quotecheck returns error message

Unable to Configure Quotas in RHEL6 & CentOS6- quotecheck returns error message I've created new partition(/dev/sda6) and mounted it(on /hulk). Edited /etc/fstab file to give quotas on the ...
1
vote
0answers
62 views

Infiniband + KVM

this question is a copy from stackoverflow, as I was told, my question would fit here better. Despite quite a long search for days, I could not find any good information about the following - though ...
0
votes
1answer
140 views

CentOS 7 (Dracut) - Network boot with gateway in different subnet

I'm trying to auto-setup VM guests with CentOS 7 using network boot and kickstart with external network connectivity based on linux bridge. And I'd like to have solution lightweight, simple and ...
0
votes
1answer
34 views

Access other partitions with PHP and FTP

I'm wondering how I can access another partition with PHP. I bought a new server and can see data the second hard drive is available but now I want to store the images users upload in that ...
-9
votes
2answers
52 views

is it possible to have Web server and NAS on the same hardware microsever? [closed]

I have a HP microserver proliant gen 8, and i want to know if there's a way to make this hardware work as NAS with freeNAS ... etc, and in the same time make it work as a web server with Centos Nginx ...
0
votes
1answer
213 views

Unable to update CentOS 6.5 & OpenSSL

When trying to update OpenSSL on CentOS I am getting some odd errors. #rpm -qi openssl-libs Name : openssl-libs Relocations: (not relocatable) Version : 1.0.1e ...
0
votes
0answers
38 views

Linux quota - wrong disk usage

I'm using centos 6 and quota shows wrong disk usage for all users... Something like multiply real disk usage... # quota -v myuser Disk quotas for user myuser (uid 511): Filesystem blocks ...
0
votes
2answers
60 views

Bind DNS not working?

I Know there always lots of answer about Bind. But somehow I can't understand the problem of my settings. Here is my configuration options { listen-on port 53 { 192.168.159.130; }; ...
0
votes
1answer
65 views

Chrooted user can't login with SSH

I created a new user with no shell access like this: useradd -g www -d /www/user01 -p ****** -s /sbin/nologin user01 Then in my sshd_config I add those lines: AllowUsers user01 user02 manager ...
0
votes
0answers
38 views

CentOS 6.5 Bridged Networking Fails

I have a CentOS 6.5 Server that I wish to host VPS on, as well as installing SolusVM, to do this I need to bridge the network adapters for the Server and the VM's ( so the VM's can connect to the ...
-2
votes
1answer
47 views

How can I access a Virtual Machine on different subnet? [closed]

I have two virtual machine VMachineA and VMachineB using virtual box. VMachineA (CentOs 6.5) has two network interfaces: eth0 (IP: 192.168.3.48, GW: 192.168.3.1) and eth1 (IP: 10.10.200.1). ...
2
votes
1answer
60 views

Mail has stopped working on Centos since instlling MailScanner

I have a VPS which I rent and it is running Centos 6. The VPS has ZPanel installed which is used to host some websites and emails. I have just installed Mailscanner and now, I have noticed that ...
0
votes
0answers
33 views

Strace php script - ERESTART_RESTARTBLOCK (To be restarted)

I am trying to troubleshoot a WordPress installation that is loading the front page very slow. I straced the index.php file with the -T option to see where the delay occurs and it pauses 2 times for ...
1
vote
2answers
48 views

VSFTPD seems to ignore the configuration settings

I have been batling with vsftpd for days now. I started with trying to setup seceure vsftpd on my current Centos 5.6 server but could not lock users down to their home directories. I spent days ...
1
vote
1answer
38 views

transitioning packages to EPEL version

I have previously installed backuppc 3.1.0 from centos 5 testing. The package is now not maintaned by centos anymore. EPEL have BackupPC version 3.3.0, but yum check-update did not suggest that this ...
2
votes
4answers
395 views

Raid 1 across 3 partitions, what does it mean?

I see a server with this kind of configuration. What does it mean? # cat /proc/mdstat Personalities : [raid1] md0 : active raid1 sda1[0] sdc1[2] sdb1[1] 48827264 blocks super 1.0 [3/3] [UUU] ...
-2
votes
1answer
35 views

Mailscanner Installation. Where to put '/^Received:/ HOLD?'

I am trying to install Mailscanner onto a Centos VPS and there is a section of the tutorial which I am reading that states the following: Next, open the file /etc/postfix/header_checks and add ...