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
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 ...
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 ...
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
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, ...
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 ...
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 ...
0
votes
1answer
22 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 ...
-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 ...
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 ...
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
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 ...
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 ...
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 ...
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
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
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
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 ...
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 ...
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
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
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 ...
0
votes
1answer
15 views

Install apt-dater-host on CentOS-Systems using puppet

I would like to install apt-dater-host on Debian and CentOS-based systems using puppet and foreman. On Debian the package is available on the standard repos - but on CentOs this is not the case - I ...
2
votes
0answers
14 views

SELinux: manually changing files in /etc/selinux/targeted/contexts/files/

I'm setting up a CentOS 7 server in which the /home directory has to be located on another partition and then mounted with bind-mount. So: /data/homes should be bind-mounted to /home. The problem is ...
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
0answers
12 views

mount -o loop hangs

mount -o loop /example/example.img /mnt hangs for hours in dmesg only: ext3_orphan_cleanup: deleting unreferenced inode 104502 /var/log/messages kernel: < inode 10 inode 10 inode 10 inode ...
0
votes
0answers
27 views

Installed Ajenti panel, it starts but accessing it makes it stop

I am on CentOS 7. So when I go to https://x.x.x.x:8000, it doesn't load anything. If I disable ssl from the Ajenti config file, then it connects without ssl. With SSL enabled however, I have ...
-2
votes
0answers
8 views

imported imap spam assassin [duplicate]

I moved my server to an other VPS. I also synced the imap messages to this new VPS. On this VPS i've got spamassassin installed. The old server was very slow and couldn't handle spamassassin, so I ...
0
votes
0answers
27 views

Adding network-fault tolerance to drbd or drbd alternatives

I've been working with drbd for about a year now, and at this point I'm tearing my hair out in frustration. Every time there is a network fault (something that is disappointingly common in the ...
0
votes
1answer
29 views

Is there any way to salvage data from a 'broken'? SSD on Linux?

Where to start... So I have three dedicated servers hosted overseas. All three are running CentOS 6.7, two are used for webservers while the third is used as only for MySQL databases connecting to ...
0
votes
0answers
17 views

Iptables and rate limit http URL

I need limit requests to xmlrpc.php in Centos 6.x. I have this rules added, but nothing do it. Thanks for help. iptables -I INPUT 1 -p tcp -m state --state NEW -m recent --rcheck --seconds 600 ...
-1
votes
1answer
33 views

is there a way to findout about a file history (create date / create directory / moved directory ) ? [duplicate]

so i found a shell deep in a directory of my website . my website doesn't have a upload section and i use a well known framework and it covers sql injection ( i use codeigniter active record to work ...
0
votes
1answer
31 views

Asterisk server with two connections [closed]

I need that configuartion It works, but with only one connection, with eth0 Or with only mobile broadband I searched for it, but found only forwardind/routing solutions. How i can see asterisk ...
1
vote
2answers
82 views

PHP 7 conflicts with PHP 5 (Centos 7)

Trying to install PHP 7 now that it's available; (on centos 7) added repo's: rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -Uvh ...
0
votes
1answer
17 views

Why my disk elevator is set to “deadline”

I have CentOS 6.x Linux server with kernel 2.6.32-573.8.1.el6.x86_64. I did some checks today and I found that disk elevator is "deadline". [root@srv ~]# cat /sys/block/sda/queue/scheduler noop ...
0
votes
2answers
36 views

CentOS 7.2 Azure VM - MariaDB/Apache killing memory

I have an Azure VM with CentOS 7.1, Apache 2.4.6, and MariaDB 5.5. The VM has 2 cores and 3.5 GB RAM. The server is only hosting a small WordPress site with almost no traffic. For the past two days, ...
0
votes
0answers
23 views

Cant change user quota on xfs partition

I cant change user quota even command exit status is 0. Used: xfs_quota -x -c 'limit bsoft=1024m bhard=2048m 56a4d3057ec81767ebe0415b' / Also used webmin interface to update user quota but on ...
0
votes
0answers
31 views

Unable to bind a large Ipv6 block in Centos 7

I have ipv6block xxxx:xxxx:xxxx:xxxx::/64 block to bind to my interface on centos 7. I have tried to use: ip route add local xxxx.xxxx.xxxx.xxxx::/64 dev lo That was according to the anyip ...
0
votes
0answers
27 views

linefeed in bash script - to email [migrated]

I am doing printf to a logfile and having that logfile send through mailx, however, it seems that the linefeed "\n" are not recognised or captured in the mail. Snippet of script as below (notice the ...
0
votes
1answer
24 views

logrotate frequency - when and from when

if have lograte in my daily cron /etc/cron.daily/logrotate -- assume cron.daily is run at 1.05am daily and if my logrotate config has a weekly settings Does it means that my logrotate will ...
-1
votes
0answers
3 views

CentOS 7 Minimal Installation on Hyper-V: X11 forwarding using Xming and PuTTy error, xhost: unable to open display “:0.0” [migrated]

Before telling me that there are a lot of post relates to X11 forwarding error, let me put you in context of the things that I have done: I have installed the following packages: yum install -y ...
0
votes
1answer
21 views

How did mailman add itself to all virtual hosts?

I'm trying to install and configure Mailman on a CentOS server and encountered something weird. I installed mailman (2.1.9) using the package provided by CentOS (5.11). I use the server to host ...
0
votes
0answers
9 views

Is it possible to setup a range of secondary IPv6 addresses in Centos? [duplicate]

Rather than declaring secondary IPV6 addresses one by one in the ifcfg-* file, and get a very long IPV6ADDR_SECONDARIES="...." line, it is possible to declare a range of IPv6 address with a /prefix ...
0
votes
1answer
13 views

When triggered, run script at top of the hour

I have a service that must be started at the top of the hour, any hour. Whenever that service goes down (during a reboot, etc) PRTG Network Monitor will know. PRTG has the ability to run a script when ...
0
votes
0answers
12 views

Permanently enable a SCL

Is there a way that I can permanently enable a SCL? I've installed rh-php56, and I would like to make sure that it is loaded every time I ssh into my machine. I am currently running CentOS 7.
0
votes
1answer
26 views

can access virtualhost locally on the same server but cannot access on remote machine

A pretty wired problem occured when configure a virtualhost at port 81. When I use command curl 123.123.123.123:81 or curl localhost:81 in the same server, it got response. While when I access it ...
0
votes
1answer
31 views

Centos requires me to change my password while I'm using private keys

I tried to login to my remote CentOS server using my private key and I was surprised to get this message : There were 29031 failed login attempts since the last successful login. After that it ...
1
vote
0answers
53 views

yum halts after installing 7 packages on centos container

I was curious about containers, so decided to give it a try. Prepared a server as host with a fresh install of CentOS 7, installed lxc and lxc-templates and configured a bridge interface. I've ...