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

Apache on CWP web panel [migrated]

I have installed centos web panel on my centos6 server, CWP on my HP Proliant G8 server. I installed it as localhost web server. I put php.info script in public_html folder, and it doesn't work in ...
0
votes
1answer
35 views

conflict in network interface configuration of CentOS 6.5

I am trying to create 2 network interfaces, one with DHCP and the other with static IP on a CentOS VM running on ESXi Server. Content of file ifcfg-eth0 is as follows: DEVICE=eth0 ONBOOT=yes ...
2
votes
1answer
32 views

NFS: How to allow a specific user to write in a NFS mount?

I wrote a Nagios check which is supposed to check the time it takes a server to write a file to one of it's mounts. The check is being run by user nagios. The NFS server is configured like so: ...
0
votes
1answer
64 views

How can I disable local mail delivery in Centos?

I want to disable local mail on my Centos VPS because the I have a web form (on a website which is hosted by the VPS) which is delivering mail to the local mailbox rather than looking at MX records to ...
0
votes
0answers
24 views

Pip mixup of python versions [migrated]

I recently installed python 3.4 using this custom installation guide, the system had python 2.6 as default. Today i needed to install tldextract to python2.6 I did that using pip pip2.6 install ...
0
votes
2answers
41 views

Centos Yum Repo Issues

I'm trying to enable the REMI repo by executing the below command: rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm as a result I keep getting: package ...
0
votes
1answer
45 views

Website Contact Form stopped working when I moved mailserver [duplicate]

I have a Centos server with ZPanel Installed. This server is used for hosting a website. Previously, I hosted mail on this server using a "Roundcube" mailbox however, I moved to exchange therefore, I ...
0
votes
1answer
50 views

Change file system from case-sensitive to case-insensitive [duplicate]

I have a CentOS bare metal with 1TB SSD and, a couple weeks after having my application in production, we noticed it needs to be case-insensitive. Is there any easy way to accomplish this? Also, ...
1
vote
1answer
48 views

Understanding apparent DNS changes between centos 6 and 7

I have a couple of test systems running Centos 6 and I thought I'd try out Centos 7. Apart from all the obvious differences (no iptables, no ifconfig), there is one thing that really had me scratching ...
1
vote
1answer
42 views

Readahead for /var/lib/mongo is set to 4096KB

I'm trying to set the readahead for mongo 256 or less as recommended, I looked at the documentation for any guidance and I found this: Ensure that readahead settings for the block devices that store ...
0
votes
0answers
45 views

Apache websites stopped working

I built 6 virtual hosts on a new Centos 6.4 server yesterday and they worked absolutely fine - today I got contacted to say that they are no longer working and, as far as I know, nothing has changed ...
0
votes
2answers
53 views

Add cron job to save a web link into txt file

I need to setup a cron job to save a webpage info into a text file in a specified folder at every hour. here is what I've tried: crontab -e in insert mode I typed: 0 * * * * wget http : // ...
0
votes
1answer
54 views

Can't ssh into Centos vm in Openstack

In Openstack, I can spawn ubuntu and fedora images and ssh into them. But when I am trying the same with Centos image (6.5 or 7), then my key is refused (or even ignored) and I am proposed to use ...
2
votes
1answer
55 views

CentOs CPU usage 100% by sync_supers

I see it in the top -c Then I run strace of this process and see a lot of select(8, [3], NULL, NULL, {0, 0}) = 0 (Timeout) What should I do next? How can I find the reason of this? Any help ...
1
vote
0answers
41 views

CentOS server stops without any reason

So the server (physical) is CentOS 6.6, running VestaCP (apache+nginx+mysql+php) and nothing else. From time to time (when I'm sleeping for example) the server goes down without any notices. I ...
0
votes
1answer
30 views

how to swap VM disks in azure?

I've have recreated a virtual machine in azure, when I did it azure assigned an OS disk to the VM which is normal and obvious, and I have a disk from my previous virtual machine. for now I got two ...
-2
votes
0answers
25 views

All files wiped, Cannot access phpMyAdmin [duplicate]

I have had a lampp server running fine for months until the other day when i went to check on my website and when typing in the web address (samvella.co.uk) I can just see some directorys. All of the ...
0
votes
1answer
35 views

How can I permanently set ulimit -n 8192 in Centos 7?

I would like to permanently set the open file limit for all users in Centos 7, but there seems to be a lot of conflicting information out there on the googles. Thanks!
0
votes
2answers
64 views

Installing 32bit rpm in 64bit machine

First of all I know this is a complete mess but due to some developer legacy code(hard coded value),I am forced to install 32 bit rpm on 64 bit machine. cat /etc/redhat-release CentOS ...
0
votes
1answer
23 views

Serving different charsets per virtual host

On a centos Server 6.5, apache 2.2.15 is it possible to server multiple charsets to different virtual hosts? I know that setting the default Charset is done by adding into the httpd.conf file: ...
0
votes
0answers
56 views

apache is utilizing 100% of cpu usage on m3.xlarge ec2 instance running centos - how to tune apache?

I have recently migrated to amazon. I have m3.xlarge maching with 4 cpu cores and 15 GB RAM . But my site goes down suddenly due to 100 % cpu utilization. top command says apache is utilizing almost ...
-3
votes
0answers
28 views

Installing Apache after WHM on CentOS

This is my first time setting up a VPS and naturally I've run into some hiccups. The VPS comes with CentOS 6.5 and cPanel pre-installed, I just had to configure it after signing in. That all seemed ...
1
vote
1answer
58 views

No space left on device in spite partition is not 100% [duplicate]

I am trying to do the following on my Linux machine CentOS release 5.8 cd /var/APPstoreldap/Home touch test touch: cannot touch `test': No space left on device so I verified the partition disk ...
0
votes
0answers
15 views

mysql: relocation error after installing in centOs?

I remove any mysql package and now after installing mysql after type this command mysql -u root -p this error occured: # mysql -u root -p mysql: relocation error: mysql: symbol strmov, version ...
-2
votes
2answers
48 views

Why .ssh directory permission need to be 700 for passwordless ssh

I am following the steps here to SSH without password In order to login from userA@hostA to userB@hostB, the ~/.ssh/authorized_keys at hostB needs to contains the public key of userA@hostA. When I ...
-3
votes
2answers
65 views

Accidently removed localhost.crt SSL in Centos 6 - what can i do?

So I just got my certificate issued from Digicert, and since there was other unused/old files in /etc/ssl/ i marked and removed, and accidently also removed localhost.crt. Now I cannot start my web ...
0
votes
1answer
21 views

Live tuning of Tomcat 7 memory settings

I know I can change bin/setenv.sh, but is it possible to apply new settings without restarting Tomcat? Specifically can I extend maximum heap size (Xmx) somehow?
0
votes
1answer
19 views

Composer works as root but not as a common user, why?

I have installed Composer Globally as this docs shows and it works for root user on my server CentOS 6.6 but as a normal user lets said webvm user it doesn't saying that composer is not found (see ...
0
votes
1answer
326 views

Nginx error: “Primary script unknown” while reading response header from upstream

I have installed Nginx 1.6.2 with PHP-FPM (PHP 5.5.18) under CentOS 6.6 server. I didn't touch nothing else but /etc/nginx/conf.d/default.conf file where I made some changes (see below): server { ...
0
votes
1answer
52 views

MySQL/MariaDB stops running. How do I find out why?

Today I've seen MySQL/MariaDB stop running on a CentOS VPS. When I check the status I get: # service mysql status ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists So I ...
1
vote
0answers
19 views

Load Balanced Apache [closed]

I am currently working on a POC solution where I would use a software load balancer to ensure HA for two Apache servers. Please pardon any mistakes because this is the first time I am playing around ...
1
vote
1answer
36 views

Intel MPI Gives 'channel initialization failed' error (mpirun)

I'm trying to setup a small cluster consisting of 3 servers. Their hardware is identical, and they are running CentOS 7. I'm using Intel's cluster compiler and MPI implementation. Everything is setup: ...
0
votes
0answers
5 views

Intel MPI Gives 'channel initialization failed' error (mpirun) [duplicate]

I'm trying to setup a small cluster consisting of 3 servers. Their hardware is identical, and they are running CentOS 7. I'm using Intel's cluster compiler and MPI implementation. Everything is setup: ...
0
votes
1answer
25 views

Installing Boost on CentOS 6.5 (Rocks 6.1.1)

I have a Rocks 6.1.1 (with CentOS 6.5) installed on a VM, and I'm trying to get Boost installed on it. I tried doing yum install boost-devel. However, it complains about missing dependencies: ...
-3
votes
2answers
47 views

nginx Virtual Host Problems

I am running nginx on centos and using the method of having individual files for each domain inside a sites-available directory symlinked to sites-enabled. Both conf files are almost identical. My ...
-2
votes
1answer
38 views

How to block cslisnter on centos 6.5? [closed]

I have a centos 6.5 machine running a java server socket on port 9000. All these while it have been running well and suddenly when I tried to start it using this command java myService nothing seems ...
1
vote
0answers
102 views

Ping connected Clients to VPN tunnel PPTP

I have set up a vpn server on CentOS 6 (PPTP) following this guide... Server End ifconfig ppp0 Link encap:Point-to-Point Protocol inet addr:192.168.1.15 P-t-P:192.168.1.200 ...
0
votes
1answer
32 views

PHP Script causing server to run out of RAM and wont release

Ive been running a very resource hungry script the past 2 days. I manually trigger the call and it lasts for about 30 minutes then stops. Last night the script stalled when ram hit 100%. I restarted ...
1
vote
2answers
57 views

SSH works locally but not remotely

Recently ran into a hardware issue on my CentOS machine. After a PSU, ram, mobo and CPU replacement I think I have the hardware issue resolved. However, I believe I have a network configuration ...
5
votes
2answers
227 views

No space left on device after growing filesystem

I am using a VM on Google Compute Cloud. I grew my disk from 10G to 200G. I followed the exact steps here: https://cloud.google.com/compute/docs/disks#repartitionrootpd To summarize: I ran fdisk, ...
0
votes
0answers
29 views

Nodejs remote debugging ports closed

I have a problem with nodejs remote debugging. I'm using centos on remote server and phpstorm on my PC. When I open putty: I type in command: node --debug-brk=5858 main_server.js, and the output is: ...
5
votes
2answers
162 views

Why does my linux server resolve all domains (even non-existant ones)

Currently every domain name resolves to my primary server, primary.example.com. So for example, if I ping randomdomain123.blah I get: PING primary.example.com` (1.2.3.4) 56(84) bytes of data. but ...
-2
votes
0answers
9 views

How can I block torrent traffic on a centos 5 server which is used as a openvpn server? [duplicate]

How can I block torrent traffic on a Centos 5 server which is used as a openvpn server? I run a small commercial VPN and keep having issues with DCMA notices, and I wish to block torrents as we do not ...
-1
votes
1answer
18 views

Is it advisable to put a /home in readonly mode when doing server transfer?

I am planning to move a lot Cpanel accounts to another server. Is it advisable to put a /home in read only mode to prevent users from making changes to their account while the migration is on going?
1
vote
2answers
34 views

fail2ban with static IP

Is there any point to running fail2ban to protect your SSH connection if you connect from a static IP? As far as I can see having fail2ban running means that you effectively open up port 22 to ...
0
votes
0answers
53 views

nslcd fails to connect to ldap server

Hey guys I searched a bit on stackexchange but could find help for my problem. I'm trying to integrating LDAP authentication on a centos 7 client, but I can't get it working, and I can't find out ...
1
vote
2answers
57 views

Postfix master.cf file modified by unknown at startup on Plesk / CentOS system

I manage a VPS with a custom configuration in the Postfix master.cf file (link to my blog explaining the trick) that allows me to associate unique SSL certificates to each domain/IP for smtp and ...
-1
votes
1answer
94 views

How to stop server sending spam out. Centos server with exim [duplicate]

I'm looking at a server that appears to have been compromised via a bug in a wordpress plugin and is now sending spam out. This post seems to give a very good report of exactly what I'm seeing. ...
0
votes
1answer
39 views

Running (and monitoring) nginx with supervisord

I will start with my use case, since I very well may not be using the correct tools for this job. Please let me know if I am going about this all the wrong way use case: I have a CentOS server ...
1
vote
0answers
78 views

Installing MariaDB + Galera via yum fails with “No package MariaDB-Galera-server available”

I'm spun up a brand new Cento OS 7 virtual machine and I'm following this tutorial to install a MariaDB + Galera cluster. I've added the MariaDB repos as follows: vi /etc/yum.repos.d/MariaDB.repo ...