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
votes
0answers
17 views

Failed DNS lookups fall back to server's hostname

My specific case I have a bunch of jobs that communicates with API's around the world. However, sometimes they fail to connect to the destination and I believe this to be a DNS issue. This is what ...
2
votes
1answer
50 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 PAM. The problem that I am having is that whenever I add a new user and want him/her to log in via SSH, they are ...
0
votes
0answers
13 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 ...
0
votes
0answers
10 views

Changing DIR colors in terminal/ssh [on hold]

I am running centos and connecting through SSH with PuTTY, I have read in multiple threads now that changing colors can be done in nano /etc/bashrc nano /etc/DIR_COLORS At default the color is ...
1
vote
1answer
17 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
12 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
8 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
32 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
0answers
13 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
26 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
37 views

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

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
72 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
17 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
32 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
48 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
24 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
38 views

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

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). ...
-1
votes
0answers
7 views

Perl display error when running smbldap-populate

I try to install Samba3x-3.6 and OpenLDAP on Centos6.5 minimal x64. I had successed to login by ldap accound and then try to install samba3x. But after i run command: smbldap-populate (It display ...
1
vote
0answers
18 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
12 views

save alsamixer input source [on hold]

I am not able to save the input source of my alsamixer. Every time I reboot the system the input source is set back to front mic. I want it to stay as rear mic. I tried alsactl store I disabled ...
0
votes
0answers
5 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
28 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
22 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
365 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
21 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 ...
0
votes
1answer
47 views

How do I stop SPAM from being sent from my server? [duplicate]

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. One of my clients has noticed thousands of 'undeliverable' messages ...
0
votes
0answers
15 views

Static Route Dual LAN CARD Centos 6

First let me explain the scenario. I have two internet connection (Lease LINE and BroadBand). I have a CENTOS 6 Server which is used for VOIP calling (GOAUTODIAL). Now I want everyone in the LAN to ...
-4
votes
0answers
20 views

Centos 6 SELinux: grant user “apache” permission to send pings [closed]

Pretty much as above. Currently apache can only send pings when SELinux is off.
1
vote
0answers
30 views

libvirt / kvm guests take very long time to start after host reboot

Host system is CentOS 6.5 x86_64. I have setup an Ubuntu guest by following this wiki. The guest works, but: if I reboot the host, it takes a very long time (about 30 minutes on the last reboot) ...
0
votes
1answer
35 views

Postfix on CentOS - Cannot receive emails

I'm trying with no success to setup Postfix on my server so I need some help (first timer here). Basically I cannot receive emails from anywhere. If I send an email to myself or to another address ...
0
votes
3answers
55 views

Increasing ulimit on CentOS

We have a CentOS box that I'm trying to increase the max number of files that a user can have open. Currently when I run ulimit -Sn I get 1024 and ulimit -Hn gives 4096. I need that number up around ...
0
votes
1answer
42 views

Change 403 Error to 410 Error

All 50+ pages are after page2 site.com/page1/page2/. How do I change the 403 Error to 410 Error? 403 Error You are not authorized to access this page. This might be because: The page is not ...
1
vote
1answer
44 views

How do base linux distributions differ from the same distro on a VPS

I have centos 6.5 vps hosted by a 3rd party. I had planned to install docker on the vps but started to recieve lxc-start errors. This was wierd as I installed the docker without issue on a Vagrant box ...
0
votes
0answers
17 views

LDAP Replica with TLS

I'm having trouble to run the replica LDAP with TLS, without TLS, all works !! Provider and Consumer are identical CentOS release 6.5 rpm -qa | grep ldap openldap-clients-2.4.23-34.el6_5.1.x86_64 ...
0
votes
2answers
68 views

Are there any performace gains to using Varnish along php-fpm and nginx? [on hold]

PHP-FPM 5.6 and Nginx 1.6.2 would no doubt give maximum performance, at-least speed wise. So, I would like to know if there are any pros/cons to adding varnish cache to gain probably few more speed. I ...
0
votes
0answers
13 views

What permission should my files/folders in Laravel framework have for git deploy?

I have CentOS 7 VPS server, where I want have my own website. I have for example website in /var/www/shop. This website use Laravel framework , the apache configuration for this is <VirtualHost ...
1
vote
1answer
38 views

relocate EXT3 quota files

Is it possible to relocate the quota files for one filesystem to a different filesystem (e.g. using a symlink)? Rationale: testing SSD with quota, and I am worried that the constant writing to the ...
-2
votes
1answer
34 views

Pid and Lock files are not created in Nginx custom build Centos 7

I am trying to install nginx from source. After make install, I had a look at /var/run/ folder but I cant find the nginx.pid file and nginx.lock files there. This is my configuration: sudo ...
0
votes
2answers
63 views

IP rules misconfigured, lost access to server

I have to give my IP rule like, DROP if source is not from 127.0.0.1 AND destination is 9200 But unfortunately, I gave it like, DROP if source is not from 127.0.0.1 (missed the port) So I lost ...
0
votes
0answers
69 views

How to fix: Root installed on the server. Remove the self-signed root from the server

I have a CENT OS Server and app is hosted on apache tomcat. I don't know much about SSL certificates but I did following to set it up 1 - Generate key store file keytool -genkey -alias -keyalg RSA ...
-2
votes
0answers
32 views

Why I'm having this High IO?

I've got a Web Server VPS (on Amazon EC2) where everything run well till 4 days ago, when I moved from the EBS Standard (HDD) to a SDD General Purpose. Since then, I'm having trouble related to the ...
-4
votes
0answers
25 views

Which is better, strongswan, openswan, or IPSec-tools? [duplicate]

I'm looking for an IPSec solution that will run on CentOS 6. There seems to be a lot of competing viewpoints on this so it is hard for me right now to know which one I should look into. Which do you ...
0
votes
0answers
21 views

Linux: Process ignores signals

Processes running in Linux ignores signals (INT,QUIT,TERM) except KILL. Programs such as top, tail -f, sleep and etc, do not respond when pressing Ctrl+C and thus have to stop them from another ...
1
vote
1answer
87 views

Errors when Compiling Nginx with Pagespeed on CentOS 7

I am trying to compile Nginx with Pagespeed from source and I am having a hard time trying to resolve the not found errors I am seeing when I add the configure settings. This is my configure settings: ...
0
votes
1answer
43 views

configuring nginx server blocks

On CentOS, I have been using the default webRoot (/usr/share/nginx/html) until now to run my simple scripts and small applications. The other day, I had to configure nginx server blocks to run ...
1
vote
0answers
48 views

Postfix + Saslauthd + Kerberos 5 + CentOS 7 not working

I've almost got saslauthd checking against Kerberos but seeing some last issues on CentOS 7. When postfix talks to saslauthd, it sends a lowercased domain and it's not corrected. I tried to fix things ...
0
votes
2answers
33 views

azure endpoint for cassandra does not work for ports 7000, 7001, 7199

I have setup apache cassandra on a centos7 compatible linux machine in azure. I can telnet directly to port 7000, etc on the IP address on the machine, however I cannot telnet to that same port from ...
0
votes
1answer
40 views

How to upgrade ngx_pagespeed in production server?

I have a LEMP set-up in CentOS 7. I am planning to install the ngx_pagespeed module to it. When I was reading through the docs I came to realise that unlike Apache, I cannot install this module ...
-1
votes
0answers
78 views

Can't receive mail, but can send mail? Centos 6 Postfix/Dovecot

I followed this tutorial to setup my webmail on CentOS 6: https://www.rosehosting.com/blog/mailserver-with-virtual-users-and-domains-using-postfix-and-dovecot-on-a-centos-6-vps/ Everything is setup ...
-2
votes
1answer
49 views

Low Disk IO but slow downloads speeds [closed]

I'm having some issues with some servers. I run a download website similar to Rapidshare and I've noticed very slow downloads speeds lately. For instance, we have a 1gbps server but even thought disk ...