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
votes
1answer
58 views

404 Not found - Apache CentOS

I am running CentOS 5.11 with apache/2.2.3(named) server. I am able to view my site homepage, so I can confirm php is running correct. However when trying to naviate to one if the pages like ...
2
votes
1answer
108 views

named can not find a certain domain

I have setup named in chroot and it has been working for some days. Now it does not find a certain domain's IP: # dig arstechnica.com ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.1 ...
0
votes
1answer
102 views

Forwarding Ports on Centos 7

I'm working on a CentOS 7 server and I'm trying to get JBoss to work the way I want it too. I'm running Java 8 and JBoss(wildly) 8. I have gotten those installed and working on the default ports, ...
0
votes
0answers
35 views

Can multiple firewalld zones be active at any given time?

I've been struggling through some weird (to me) firewalld errors but am now seeing the firewall behavior I'd like. But, baffling to me, what works seems to be a mix of both the drop zone and the ...
1
vote
1answer
224 views

Why does my Firewalld configuration on CentOS 7 fail to start and show iptables errors?

I'd like to: Drop all incoming connections from the external Web except 80 and 443 Allow internal machines on 192.168.0.0/16 to connect to :9000 :8080 Here's what I did to setup my drop zone via ...
1
vote
3answers
82 views

mount a root disk in mnt

How can I mount a root virtual disk from another VM on my CentOS ? In order to change some files on it, not to use it as a real root disk. there are 2 partitions on my virtual disk : /boot (Linux ...
-1
votes
1answer
44 views

How do I automate suppling the network location of the kickstart config file when booting a Redhat variant 7 install iso

When booting a Scientific Linux 7 install iso for example, one could immediately hit tab and add some text to specify the location of the ks.cfg file they would like to use. I would like to automate ...
0
votes
0answers
36 views

Finding and renaming directories by regex in linux

I'm trying to match (and later rename) directory names like: A0000 (SOME-NAME) A0001 (SOME-OTHER-NAME) A0001 (ANOTHER-NAME) I'm testing to see if I match any using the find command but doesn't seem ...
-2
votes
1answer
47 views

Population of /etc/resolv.conf upon new server installation [closed]

I purchased two Linux servers that have CentOS preinstalled. One was bare whilst one has many other common packages installed(httpd, bind, mysql, php). I purchased one of these servers with 2 ...
-4
votes
1answer
55 views

Doesn't NFSv4 have no_root_squash?

When I in /etc/fstab have nas:/tank/nobackup /mnt/nas nfs exec,nosuid,rw,bg,soft 0 0 then mount -a; mount gives nas:/tank/nobackup on /mnt/nas type nfs ...
0
votes
1answer
48 views

Postfix - Need to log email and then redirect to same user different domain

My goal is to add emails to a DB and then send them on to the user at a different domain. My mail server is hosted elsewhere using my domain, (me@example.com). TO get this working, I set up postfix ...
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
34 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
41 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
66 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
83 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
266 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
86 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
132 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
29 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
100 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 ...
1
vote
1answer
77 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
151 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
45 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
66 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
45 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
73 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
56 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
90 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
55 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
87 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
75 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
140 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
87 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
83 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
61 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 ...