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
vote
0answers
41 views

Why is sendmail not relaying some email to Exchange?

On my network I have an Internet facing CentOS 6.5 server running sendmail. It receives email from my Sonicwall router running the full gambit of gateway spam and IPS services. It then relays ...
3
votes
2answers
33 views

logrotate not emailing log

My logs are being rotated properly, however, I am not being emailed the rotated log. What am I doing wrong? My main logrotate.conf is: include /etc/logrotate.d here is my ...
18
votes
3answers
2k views

useradd not encrypting passwords in /etc/shadow

I stumbled accross this problem when trying to create new FTP users for vsftpd. Upon creating a new user with the following command and attempting login with FileZilla, I would get an "incorrect ...
1
vote
0answers
35 views

config variable php_suffix does not match

I have a php instance on Webuzo (centos-6-x86_64.openvz) in /usr/local/apps/php54/. It already has pecl and phpize in /usr/local/apps/php54/bin/. When installing igbinary with command ...
0
votes
1answer
35 views

https redirection from domain.com to domain.net

We are experiencing an issue https redirection from domain.com to domain.net when any request to https://www.oldomain.com redirection happening but with untrusted certificate error message. ...
0
votes
2answers
40 views

Automatic archiving of log files [closed]

I look at my various log files, and I believe the operating system will periodically archive the log by appending a datestamp to it. I've created some custom logs in my httpd.conf file, however, ...
-1
votes
1answer
30 views

How to specify a DNS Slave server, that is on a different domain, in the appropriate zone file on the master naming server?

I am unsure if my question makes sense, but I am working on configuring a DNS Master/Slave setup. We currently have two domains. For privacy purposes, I will use "example" as my domain, we have ...
1
vote
1answer
64 views

How to configure nginx to dynamically read folders, user accounts/domains?

I have cPanel and Apache 2.4 on my CentOS 6.6 VPS. I installed Nginx as a reverse proxy. Everything works fine. I have 2 domains on the VPS & I'm able to configure them both on nginx. The ...
1
vote
0answers
5 views

How to configure nginx to dynamically read folders, user accounts/domains? [duplicate]

I have cPanel and Apache 2.4 on my CentOS 6.6 VPS. I installed Nginx as a reverse proxy. Everything works fine. I have 2 domains on the VPS & I'm able to configure them both on nginx. The ...
1
vote
2answers
77 views

Yum update without upgrading CentOS

Is there a manner in which we can yum update and pull the latest packages but not end up updating CentOS itself? I know we can alter yum.conf and exclude certain packages and even repos, but if that ...
4
votes
2answers
265 views

Which Red Hat / CentOS updates should be applied and on what schedule?

I'm subscribed to the CentOS-announce mailing list and I've read the definitions of the various severity tags such as Critical, Important, Moderate, Low, BugFix, etc. but I'm still unclear as to what ...
0
votes
2answers
74 views

How can I force soft raid to read only from one disk?

I have quite a large IO wait showing in top. I suspect this is fault of SDA drive (on of 2 disks in RAID array), which was replaced about week ago. There are no errors visible, smart showing nothing, ...
1
vote
1answer
58 views

When iptables is started, there is no ftp access because of timeout

When I start the iptables service, there is no ftp access because of a connection timeout. When I stop the iptables service, ftp works fine. This is the current iptables data: Update: replaced ...
1
vote
0answers
26 views

Can not access www with puppetlabs apache module

The vhosts are managed with the puppetlabs-apache module and I can not access the website with www but I can without it. When i use www I get a blank page and there are no errors an any logs and non ...
-2
votes
1answer
78 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, ...
-6
votes
1answer
127 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
vote
1answer
27 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
97 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
74 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
145 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
41 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
55 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: ...
-3
votes
1answer
62 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
42 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
17 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
1answer
70 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
52 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
88 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
2answers
54 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
50 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
86 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
74 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
132 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
54 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
58 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
86 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
82 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
60 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
48 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 ...
1
vote
1answer
127 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
84 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
43 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
98 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 ...
2
votes
1answer
71 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
39 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
52 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 ...
-2
votes
2answers
100 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
37 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
49 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
2k 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 { ...