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
13 views

How to Install PHP 5.3.7 On Godaddy VPS using SSH [on hold]

I have bought a New VPS from Godaddy but they supported PHP 5.3.5 and then 5.4.34 but i want PHP 5.3.7 On my VPS so please help me that how can i do this using Putty SSH Client Regards Shahaan ...
1
vote
1answer
21 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
0answers
15 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
11 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: $ ...
0
votes
1answer
19 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 ...
-1
votes
1answer
41 views

Why are --older-than and --younger-than killall options missing in RHEL/CentOS?

I've experienced this issue in cleaning up scripts written by developer who were writing for Ubuntu systems, as well as ServerFault questions like this. Is there any reason the -o, -y (--older-than ...
0
votes
1answer
43 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
44 views

Bash script to kill specific process running longer than 5m

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 ...
-1
votes
2answers
26 views

How to monitor Linux server backup execution with Zabbix?

I have more CentOS and Debian servers, where backup is configured to be executed every night. How can I use Zabbix to monitor these backups? I'd need an alarm, when backup files would not be created ...
0
votes
0answers
6 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
34 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
213 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
40 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 ...
-1
votes
0answers
18 views

Permission denied on session_start() [on hold]

I have a strange problem with my server that i've never come across before. The problem is i make session data but when i click to a new page the session data seems to get wiped out. I have run a ...
0
votes
2answers
62 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 ...
0
votes
1answer
28 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
89 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
15 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
14 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
21 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
15 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
9 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
40 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
19 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
28 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
38 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
88 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
52 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
41 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). ...
-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
21 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 [closed]

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
9 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
29 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
367 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
23 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
49 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
16 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
21 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
31 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
58 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
44 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
50 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
23 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
73 views

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

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 ...