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

-2
votes
1answer
35 views

Empty /boot/grub/grub.conf of a remote server, how to recrete it from recovery?

My remote server (running CentOS 6.6 x64) can't boot anymore. Using the emergency recovery (a LIVE CD) i can actually look that /etc/boot/grub/grub.conf and it's empty (0 bytes). I don't know why, ...
-1
votes
0answers
35 views

syslogd is attached to a remote IP address

I have a hosted server and I have 3 VM's on the server. I did a netstat -antup and noticed this: tcp 0 0 192.168.0.15:37023 73.167.119.19:21333 ESTABLISHED 4039/syslogd Does this ...
-6
votes
1answer
58 views

How to block China Telecom Zhejiang ip range

in last week i have heavy SSH login attack form China Telecom Zhejiang. i have the range ip : 122.224.216.0 - 122.225.191.255 But i don't know how to block ip range like that in Firewall - csf ...
-1
votes
0answers
14 views

Two user ftp setup on CentOS

I have a CentOS 6 VPS and would like to setup a FTP where 2 users can login to the same directory: one with all rights and the other one with only READ rights. Using directadmin I managed to create ...
1
vote
1answer
15 views

ProxyPass Not working (No errors)

I am attempting to forward one of my apache domains onto a different port (which is hosting an Nginx-backed rails app) In my http.conf for the particular virtual host I have: <VirtualHost ...
2
votes
1answer
62 views

ZFS on Linux + KVM Steals Memory

I'm having an issue with a CentOS 7 server where I have a single ZFS pool created along with (currently) a single running KVM VM (CentOS 6 guest). Top is reporting that the VM is using about 50% of my ...
0
votes
1answer
44 views

Installing non-native RPM in Centos 6.6

I'm trying to install gstreamer0.10-pocketsphinx on Centos 6.6. Apparently no one in the history of the Internet has ever wanted to do this before so there is very little out there for Centos in ...
0
votes
0answers
37 views

VirtualHost for httpd SSL reverse proxy server for tomcat on CentOS 7

A CentOS 7 web server on the web will be configured to only accept SSL connections from a small number of known users. The server has one ip and only one domain name. As part of that configuration, ...
0
votes
0answers
21 views

Sendmail sending as root@localhost

I am reconfiguring sendmail for a client who has a server that runs sendmail and a number of applications that they've developed. The applications send email out by using the sendmail command like ...
-3
votes
2answers
38 views

CENTOS yum different versions

i have two servers running centos, they are located in the same Data Center i want to update my mod-pagespeed module Server 1: [root@web2 11]# yum update mod-pagespeed Loaded plugins: ...
0
votes
0answers
22 views

CentOS 7 Crash on boot [migrated]

Getting this message attempting to boot CentOS 7 BUG: unable to handle kernel NULL pointer dereference at 000000000000009B And then a kernel panic Happens when trying to boot from the OS HDD or ...
-3
votes
1answer
42 views

Mailman 404 page not found

I have configured mailman following these instructions. https://www.gnu.org/software/mailman/mailman-install/index.html I have run into this problem Problem: All Mailman web pages give a 404 File ...
1
vote
1answer
27 views

How to customize the default set of apps launched with gnome desktop on CentOS 6.*

Background We run a series of CentOS 6.5 servers which each host multiple users (~100s) coming in via X-Window XDMP from their MS Windows desktops. These users don't need the host of default ...
0
votes
0answers
14 views

Lost space (tmpfs+aufs)

I have squashfs+aufs file system in a modified CentOS 5 "live cd" operating system (it's custom made live cd, not the one from CentOS). Something is eating space and I can't find out what (see du ...
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
39 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
33 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
67 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
42 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
47 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
55 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
51 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
47 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
46 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
55 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
60 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
58 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
33 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
46 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
66 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
63 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
31 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
59 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
18 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
23 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
410 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
56 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
38 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
27 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
48 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
39 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 ...