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

eCommerce combined Webserver and database server or Docker instances [duplicate]

I get a server with 2x QC and 16-32GB RAM now I would like to host a eCommerce Platform and I ask me which solution would better if I have a combined Webserver and DB Server or If I have two docker ...
2
votes
0answers
31 views

Can't stop and reformat /dev/md0

I want to reformat /dev/md0, which is a RAID0 array consisting of 4 disks (sd[bcde]). However, when I tried to run the command mke2fs, I received the following error message: /dev/md0 is apparently ...
9
votes
2answers
1k views

Kickoff Ansible Playbook after Cobbler install

I am working on implementing Cobbler and Ansible to do our server deploys and am having one final issue. My Ansible playbook works great, my Cobbler install works great, but the issue is in tying them ...
2
votes
2answers
12 views

Centos 6 soft openfiles 1024?

Here are the conf files and details, no matter what I did, soft openfiles wont go over 1024. CENTOS 6.7 x86_64 cat /etc/security/limits.conf * soft nproc 65535 * hard nproc 65535 * soft nofile 65535 ...
0
votes
0answers
10 views

Unusually large number of httpd processes and high CPU load on MongoDB replica set members

I am investigating a strange behavior on 3 CentOS machines serving as a MongoDB replica set, whereas one of them is also hosting a PHP web app utilizing the MongoDB replica set. The basic setup is as ...
0
votes
1answer
2k views

GRUB does not load OS, displays grub> prompt

I have booted my server, getting some GRUB error and I pasted the error below. Error Code:- GNU GRUB version 0.97(502k Lower/496556K upper memory) [Minimal BASH-like line editing is supported. For ...
0
votes
1answer
1k views

Compiling PHP on CentOS Needs MySQL PDO Configured

I am trying to compile PHP with mysql_pdo on CentOS 6 and I am having just one heck of a time trying to make it happen. Currently I am trying to compile PHP 5.2, but I am going to have to do this for ...
0
votes
0answers
6 views

xtrabackup/innobackupex: Full/Incremental backup advice

OS: Centos 7 Database: Mysql/MariaDB I have written my own shell script to produce Full and Incremental backups using innobackupex. I have read through the man pages for innobackupex and tried to ...
1
vote
1answer
1k views

OpenDKIM - cannot determine host's domain name, so skipping default key generation

I've just set up OpenDKIM on my CentOS 6 server but keep getting the following warning each time I start the service: Cannot determine host's domain name, so skipping default key generation. I have ...
2
votes
1answer
38 views

Cryptsetup luks - Check that kernel supports aes-xts-plain64 cipher

I encrypted a bunch of hard drives with cryptsetup luks encryption on CentOS 5. Everything was fine, until I upgraded my system to CentOS 6. Now I cannot mount the disks anymore. To mount with my ...
1
vote
1answer
17 views

Small queries wait for large queries to resolve MYSQL PHP on Centos 6.5

I have a Centos 6.5, and I'm running Vaadin on Tomcat, This application has really heavy queries for reports and stuffs. My problem is, when I'm connect to MYSQL from PHP, when I made a small query, ...
3
votes
2answers
7k views

403 Forbidden when trying to access a folder in document root of nginx

When I access index.php, it works fine. But on localhost/pset7, it gives a 403. Here is the permission log, -rw-r--r--. 1 root root 51 Jul 31 14:21 index.html -rw-r--r--. 1 root ...
0
votes
1answer
18 views

Multiple tmpfs exists with total combined space more than total memory

I have a VPS with 7.5G ram running CentOS 7, and tbh I haven't done much optimizations etc as its serving the site pretty good. Today I was going to create a ramdisk for mysql temp tables, so I ...
0
votes
1answer
2k views

“Unable to open display ” “” error on VNC Server

I'm trying to run a GUI for my CentOS 6 server. I've installed VNC, and I have followed this guide through to the end - http://wiki.centos.org/HowTos/VNC-Server Once the VNC server is started, I try ...
0
votes
0answers
9 views

unable to connect google cloud compute engine ssh with browser or root parttions is full

I try to log-in ssh browser with google developer console but i am not able to connect and other user have no root permission to remove and delete the files. I checked from other normal user,root ...
0
votes
1answer
23 views

Ceph: HEALTH_WARN clock skew detected

I have configured ntp on Ceph nodes and time is synchronized! But ceph status always shows clock skew. ceph health detail shows: mon.node2 aadr 192.168.56.102:6789/0 clock skew 7192.45s > max ...
1
vote
1answer
2k views

DJBDNS DNSCache configuration, svscan won't start

I've been wracking my brain the last few days trying to setup DJBDNS on my server. I haven't been having too much luck. I have been following the guide provided by the creator of DJBDNS: ...
3
votes
2answers
12k views

Upgrade curl to latest on CentOS 6.3

Thought this would be a simple process, but I guess not. I need the latest version of CURL (7.23 or newer) on CentOS 6.3. If I do this: sudo yum upgrade curl It just tells me there is nothing ...
0
votes
1answer
6k views

Squid: what does TCP_MISS/504 mean?

I use squid to set up a proxy but the access.log shows thant the status is TCP_MISS/504 thanks
-2
votes
0answers
23 views

CentOS Crond Session Errors [on hold]

My Machine is: OS: CentOS Linux release 7.1.1503 (Core) RAM: 80GB CPU: 24 Cores (48 Threads) In this server i have create almost 250 users and i'm running cronjobs every minute, in all of them. I ...
5
votes
4answers
16k views

Installing PCNTL module for PHP without recompiling

Is it possible to install the pcntl module without recompiling php? I'm trying to set this up on CentOS.
1
vote
1answer
34 views

Implications of increasing physical ram of VM

I have a Centos7 VM running under VMware and I'm considering increasing virtual memory in the Centos VM. Currently my VM has 8GB of virtual memory, 6GB of swap and using 0 swap right now. I am ...
0
votes
0answers
15 views

Got kernel panic with 3w-sas driver after kernel update

I use CentOS 6.7 and I've got kernel panic related to LSI 3ware 9750-4i Controller after kernel update from 2.6.32-431.17.1.el6.x86_64 to 2.6.32-573.12.1.el6.x86_64. It is minor update, so I think it ...
0
votes
1answer
2k views

NRPE v2.15 connection refused centos 6

I have set this up on many machines, ubuntu, redhat, and centos, but am having trouble with one machine. I am using the nrpe package. I have the correct permissions for nagios users, and my config ...
2
votes
2answers
33 views

Cannot extend partition in CentOS 6. Second partition is preventing it

I have a server on AWS EC2 that was set up by a sysadmin I hired. I'm running very low on my /dev/xvda1 partition (where we keep the website code, assets, etc), and I've been looking to extend this. ...
0
votes
1answer
1k views

Installing mysql-devel to match MySQL version

I'm running MySQL 5.1.52 on CentOS 4.6 and I'm trying to install mysql-devel to match my MySQL version. If I do yum install mysql-devel it wants to upgrade MySQL to 5.1.58, yet if I do yum search ...
1
vote
2answers
5k views

CentOS 7 firewall-cmd not found

I have just installed CentOS 7: [root@new ~]# cat /etc/redhat-release CentOS Linux release 7.1.1503 (Core) I am trying to configure the firewall, and I'm told that in CentOS 7 iptables is no ...
0
votes
0answers
35 views

How to stop specific LFD emails

I am running CSF and LFD on a number of Centos servers - whilst it is a great product, I am getting frustrated with controlling the flow of (unnecessary) emails. For example, I use rsync to replicate ...
0
votes
1answer
769 views

NameVirtualHost *:80 and 443 has no VirtualHosts on centos

Since I added IPs to my server, I have a lot of issues when starting apache. I always have these errors below: [warn] NameVirtualHost *:443 has no VirtualHosts [warn] NameVirtualHost *:80 has no ...
1
vote
0answers
18 views

Issue with Fail2ban and Mikrotik Firewall

OS: CentOS 7.1 At my organization we are currently assessing using Fail2ban with the firewall on our Mikrotik router. I want Fail2ban to communicate any IP flagged as banned to the Mikrotik ...
10
votes
3answers
4k views

yumdownloader vs repotrack

I'm working on CentOS 6.3. Recently I come across repotrack from yum-utils. yumdownloader --resolve and repotrack looks very similar, but it looks like yumdownloader download only part of ...
1
vote
1answer
2k views

L2TP over IPSec VPN with OpenSwan and XL2TPD can't connect, timeout on Centos 6

I'm setting up LT2p over IPSec on my Centos 6.3 fresh install. I have iptables flushed, permit all. Whenever I try to connect, i get a 'no reply from vpn' and nothi Here's my ipsec.conf file ...
0
votes
0answers
22 views

Cannot connect with slave from Jenkins master. Connection broken

I have setup one Jenkins Master (CentOS 7), and one node on which my project is running (dev environment, Windows 7). My project requirement is Java 1.6. On my Windows 7 and Java 1.7 machine, I can ...
4
votes
1answer
3k views

Proftpd CentOS user can only login with a /bin/bash shell

I've created a user and assigned a password and group (new group). The problem is this user can only login to FTP (proftpd) if he has shell = /bin/bash If I set the shell to /bin/false then Proftpd ...
6
votes
5answers
18k views

VSFTPD 530 Login incorrect

I'm trying to get a vsftpd server set up on CentOS 5.3 x64. I'm not able to get any local user login's to work. Here is my vsftpd.conf: local_enable=YES write_enable=YES pam_service_name=vsftpd ...
0
votes
1answer
1k views

How to increase nginx connections

I am facing the problem of nginx max connection issues. I am not able to increase max active connections(520) made by nginx. Some time it is using whole writing (516) operation connections. and due to ...
1
vote
2answers
306 views

Shrink a mounted LVM partition

I fear I already know the answer to this question, but here goes. I need to carve out a new partition on a running system. /var/ is mounted from an LVM volume (hdd1_vg-var) and has only 3% used disk ...
8
votes
2answers
12k views

Why is the chroot_local_user of vsftpd insecure?

I'm setting up on my VPS a vsftpd, and i don't want users be allowed to leave they're ftp home directory. I'm using local_user ftp, not anonymous, so I added: chroot_local_user=YES I've read in ...
0
votes
0answers
15 views

CentOS: in which folder should I install Java JDK? [closed]

I need to install Java JDK on CentOS 6.7, from different instructions I can see that some install it to /opt/, some to /usr/share/ some to /usr/local/, and some to /etc/. Which folder would be the ...
0
votes
2answers
25 views

VPS Upload speeds < 1 mbps

I have a Centos server running in eastern canada. When I use speedtest.net and connect to a server up there, I get around 30 down. If I use speedtest-cli and connect to a server down here I get ...
24
votes
4answers
81k views

How to configure vsftpd to work with passive mode

Whenever I install vsftpd on centos, I only setup the jail environment for the users and rest is default configuration of vsftpd. I create user and try to connect with filezila ftp client but I could ...
0
votes
0answers
14 views

Server doesn't boot after installing X Window System

I've been trying to install XFCE to use with VNC on a Centos 7 server but every time I install X Window System the server doesn't boot. Always with the dracut error: /dev/md1 does not exists Boot ...
0
votes
2answers
916 views

ldapsearch result: Can't contact LDAP server (-1)

Anyone knows which the problem? I installed LDAP: yum -y install openldap-servers and then checked is the installation work well starting slapd service and doing ldapsearch like this: ldapsearch ...
0
votes
1answer
5k views

ERROR with rpm_check_debug vs depsolve

Transaction Summary ========================================================================================================================================================== Install 9 ...
1
vote
0answers
20 views

PHP page refuses to appear despite checking php-fpm, SELinux, and nginx

Problem I have a small web server that hosts a small PHP page that performs a very small function. I used to host this on another machine. I move the website to a new machine with a different ...
1
vote
1answer
21 views

How to prevent compression of images served via HTTP

I have an already optimized JPEG image in my server 32.07 kB (and in my local computer), 800px * 534px, if I request it via browser, it keeps the same width * height, but its size gets smaller 17,97 ...
0
votes
1answer
2k views

OpenStack Cinder: iSCSI login negotiation failure after reboot

I have a Cinder storage and controller node running on the same CentOS 7 box as Nova compute. Everything worked fine, until I rebooted. Now my instances can't mount volumes and I get the errors below. ...
-1
votes
0answers
15 views

How much minimum memory do we need for a cPanel with low viewed sites? [duplicate]

I have a new VPS with 50GB disk and 1GB RAM, CENTOS 6.7 x86_64 kvm – server WHM 54.0 (build 8). I have a few sites only, where the most visited site has around 3000 views per day (all other sites may ...
0
votes
0answers
39 views

Unlock CentOS 7 thru rdp [closed]

I'm on a Win7 box using RDP to get to a CentOS 7 VM. I've been able to RDP to the box before, but I'm stuck at the lock screen now and I just don't know the keyboard command to let me back in. It's ...
0
votes
1answer
12 views

Apt-Dater: Error executing Error executing 'lsb_release -a'

I successfully deployed apt-dater (Debian-machine) and apt-dater-host (CentOS) to 2 different nodes via puppet. Now apt-dater is showing the new host, but the state is always "unknown". If I enter ...