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
1answer
24 views

Howto forward traffic between multiple OpenVPNs

I have an OpenVPN server which hosts two VPN networks, one is bridged and the other one is routed. See the following draft: The VPNs are working quite well while they are used in isolation. But if ...
-2
votes
1answer
24 views

Centos system. It cannot generate pictures according to apache server [closed]

My system is centos6,I have written a php script and a python script and the php script will invoke the python script.And the python script will invoke two software:blast and RNAfold,it will generate ...
0
votes
0answers
30 views

Redhat configure sftp

I would like to give someone in a different dept read only sftp access to a certain dir on a redhat 6 server. Easier said than done I've found. I've followed a guide like this one to setup the user to ...
-3
votes
1answer
40 views

Replace a string in CentOS filenames [closed]

I have a CentOS server (version 6.6) , This server contains many folders and files but all the files have a string in their names . For example : The-first-show-(www.mysitename.com).mkv I have ...
3
votes
1answer
107 views

How can I confirm if my vmxnet driver is installed on my CentOS server?

I have an appliance running CentOS 5.x on VMWare ESX. Quite recently I upgraded it to a newer version of CentOS (still in 5.x) and I noticed that the network card wouldn't initialize. If I run ...
0
votes
1answer
980 views

Installing Redis on CentOS 6.6 , yum keeps using redis-2.8.14-2.el7.x86_64 (EL7) instead of EL6

Im trying to install redis on one of my servers. but i keep getting Error: Package: redis-2.8.14-2.el7.x86_64 (epel) Requires: systemd This is due to the fact that its trying to download ...
0
votes
0answers
25 views

sendmail process seems to hang

I got a centos machine that I am configuring send mail for. It has been working for the past couple of weeks. But around last week suddenly the sendmail stopped sending emails. var/log/maillog doesn't ...
-2
votes
3answers
144 views

Upgrade php version on centos 6.5

On the current stack i hv centos 6.5 (64 bit) , PHP 5.3 available. I'm a linux new bee & need to perform php upgrade to PHP 5.5. Tried following but that returned error: wget ...
0
votes
1answer
25 views

CentOS as a router — Can't get static IP adress for Internal Zone

I'm trying to make a router with a CentOS 7 box. enp2s2f0 ---> External Zone ---> directly connected to the internet. enp2s2f1 ---> Internal Zone ---> Connected to a PC (will be connected to a switch ...
0
votes
0answers
46 views

Rsyslog last line of old log retransmitted after log rotation

I have config setup on all my CentOS servers to forward all syslog messages to a Graylog server via rsyslog. In Graylog I have then configured streams to alert on the occurrence of certain message ...
0
votes
1answer
25 views

Multiple hop NX connection

I'm managing a set of servers on a private network with one facing the internet (ie. one public ip). Soon I'll need to start working remotely, and I'll need access to some graphical programs. I'd like ...
5
votes
2answers
104 views

Preventing specific folder deletion in CentOS

I have a CentOS server running PureFTPd with multiple virtual users mapping to a single system user. Each of these virtual users gets chrooted to a directory corresponding to their username. The ...
1
vote
1answer
155 views

Start a program with systemd

I'm trying to install the latest version of ProFTPd (1.3.5) onto a CentOS 7 box, and wound up having to configure and install manually. The reason is that EPEL's version of proftpd doesn't include ...
2
votes
0answers
46 views

Suexec PHP does not load php.ini

I'm using FastCGI with suEXEC for PHP on CentOS 7. My wrapper script looks as follows: #!/bin/sh PHPRC=/home/ben/etc/ export PHPRC export TMPDIR=/home/ben/tmp/ exec /usr/bin/php-cgi -c ...
1
vote
1answer
40 views

Users currently requesting pages

I wrote this command on my shell to get the current requests to the server ps aux | grep php | wc -l result: 68 so this command returns that 68 currently browsing some sites on my server as i ...
0
votes
0answers
151 views

FreeIPA Install on CentOS 7 - “Cannot contact any KDC”

I am trying to install a new stand alone instance of FreeIPA on CentOS 7. I am doing this in an Amazon AWS EC2 environment. The install completes flawlessly every time, however, when I attempt to ...
0
votes
0answers
122 views

CentOS 6.6 ignores iptables nat rules

I try to use iptables nat to forward incoming TCP traffic to another computer. I use following rules within nat table: -A PREROUTING -i eth3 -p tcp -m tcp --dport 8888 -j DNAT --to-destination ...
0
votes
1answer
43 views

Extend partition beyond 2TB limit

How can I expand a partition + fs to 4TB in CentOS? It's currently XFS and 900GB, without LVM. I've tried using gparted in the Ubuntu LiveCD, but I'm given an error that this partition cannot be ...
0
votes
1answer
150 views

Configuration of Symfony2 + Nginx on CentOS6 not working

im stucked here about 2 days traying to figure out how to make this run, hope somebody could point what I'm doing wrong. Trying to run Symfony2 over Nginx-CentOS 6 with this configuration file. ...
1
vote
1answer
46 views

Equivalent yum command for `apt-get install -y packagename --no-upgrade`

I was using this command in a shell script on my ubuntu server apt-get install -y packagename --no-upgrade . It will install the package if it is not present. It will not upgrade the package. Now I ...
0
votes
1answer
155 views

SSD caching using bcache or dm-cache on kernel 2.6.32-042stab104.1

I'm looking to use bcache or dm-cache with the latest OpenVZ kernel (2.6.32-042stab104.1) on CentOS 6. Unfortunately, dm-cache and bcache are part of kernel 3.10, but I know the OpenVZ kernel has a ...
0
votes
1answer
18 views

configuing sendmail to use virtual hostname

My CentOS server has several IP addresses. There are different virtualhosts configured per IP address on apache. When I send an email via PHP/sendmail, I want that sendmail uses the hostname that is ...
0
votes
1answer
88 views

Large number of ssh login attempts [duplicate]

I logged into a CentOS box today to find the following" There were 11126 failed login attempts since the last successful login. Last login: Tue Mar 10 14:36:47 2015 from X.X.X.X Thats 11 THOUSAND ...
-1
votes
1answer
146 views

Apache SSL works but the config shows it's only listening on 80 not 443, how is it possible?

Server: CentOS 6, Apache 2.2 and OpenVPN installed. The httpd.conf has: #Listen 443 Listen 80 Websites work in https so I think OpenVPN might be listening on 443 and forwarding to Apache ...
0
votes
0answers
39 views

Installing node-inspector

I have centos and I tried to install node inspector via npm install -g node-inspector But I get below error , node-pre-gyp http Pre-built binary not available for your system, looked for ...
1
vote
1answer
109 views

Squid Segmentation Fault?

I'm currently fixing an issue with one of our production servers. The issue is related to squid not able to run properly. When I try to run service squid start/stop, it throws an error: 2015/03/11 ...
-1
votes
1answer
30 views

fail2ban identify the subscription specific error log which resulted in an IP ban [closed]

I am running Fail2Ban via Parallels Plesk 12.x on several CentOS 6 containers with several active jails (apache-noscripts, plesk-apache etc.). The Fail2Ban.log provides the IP address which was ...
0
votes
0answers
50 views

Cannot start mysql on vagrant CentOS machine

I am getting the following problem doing "vagrant up" ==> default: [2015-03-10T16:31:03-04:00] INFO: template[default :start /etc/init.d/mysql-default] mode changed to 755 ==> default: ...
1
vote
0answers
65 views

Restrict I/O Write usage using cgroups

I am trying to restrict I/O write usage on my server using cgroups. Here is my partition table info: major minor #blocks name 8 0 10485760 sda 8 1 9437184 sda1 8 ...
2
votes
2answers
105 views

SELinux - logrotate is not rotating NGINX logs

I am using CentOS, NGINX and Passenger to serve a Rails application. I have SELinux activated, and have had a series of problems with logrotate. I have been able to resolve most of the issues by ...
0
votes
0answers
96 views

Subdomain setup on a Centos server, using BIND and Lighttpd (Vhosts)

I'm kinda at my wits end here. I'm trying to setup a subdomain on my host on a network. My computer is ged12345.dev.example.internal on an internal network. This works fine, but I'm trying to setup a ...
0
votes
1answer
29 views

Deployed IPA-server, created replica, then fed production data only to replica. How to fix?

At some point, I deployed ipa-server on a CentOS 6 machine. Being asked to better move it into a VM, I used ipa-replica-prepare / ipa-replica-install . This resulted as wanted, and I got a working ...
0
votes
0answers
70 views

Do I need more memory for my CentOS server?

When checking my server's memory usage with free -m I'm getting this result: total used free shared buffers cached Mem: 1024 1024 0 ...
0
votes
1answer
29 views

ssh port is different from what is connected

Ok, so here's the deal. I setup an Iptables rule as follows: IPTABLES -A INPUT -p tcp --dport 51722 -j ACCEPT and if I do systemctl status sshd.service, I get the following: Server listening on ...
-1
votes
1answer
70 views

CentOS 6.6 /var 100% but no big files [closed]

I have a server that is showing /var as being 100% full, but running the following command 'du -ks * | sort -nr | more' does not show any large directories: 60824 lib 25084 log 3960 cache 180 ...
0
votes
0answers
103 views

OpenVZ container doesn't start, “unable to read inode block”

I'm having some problems with OpenVZ/Ploop. Installed OpenVZ on a brand new thinkserver today. My /vz/ partition is ~5.2 TB large (4x2TB RAID 5). When I try to create/start containers ploop fails with ...
0
votes
0answers
299 views

firewalld service is running, but firewall-cmd doesn't work

I am new to Centos 7/Server management. I am trying to figure out how to work with firewalld. my kernel release is: 2.6.32-042stab084.20(OpenVZ) And: #firewall-cmd --version #0.3.9 The problem is ...
-2
votes
1answer
80 views

Centos 6.5 MD1 full disk space

I have almost full disk space on md1 [root@server ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/md1 20G 18G 645M 97% / tmpfs 7.8G 0 7.8G 0% /dev/shm ...
0
votes
0answers
15 views

Starting qmail-toaster: svscansvscan: warning: unable to read directory: access denied

I got such message when trying to start qmail-toaster: Starting qmail-toaster: svscansvscan: warning: unable to read directory: access denied All permissions are correct. drwxr-sr-x. 2 alias ...
0
votes
2answers
216 views

grubby fatal error: unable to find a suitable template

I'm trying to fix my system after moving it from one server to another. It works perfectly with kernel booted via network, but not from the disk. Reinstalling stock CentOS 6.6 kernel shows this ...
-1
votes
1answer
33 views

How can I permit anonymous access to local user home directory with vsftpd?

I have installed vsftpd and locked local user access to their home directories. Now I like anonymous to access some user's home directories. I have tried these solutions but they didn't work. First, ...
0
votes
1answer
49 views

cobbler managed dnsmasq is not listening on the correct interfaces

I have a cobbler server I am trying to get installed. Unfortunately dnsmasq is not listening on the correct interfaces. It should be listening on my 192.168.10.2 network which is assigned to br1 ...
0
votes
1answer
33 views

Lighttpd stops writing to access.log

I have this issue with my lighttpd installation where logging to access.log will cease once the default log-rotating software erases my access.log after copying it to access.log-YYYYMMDD. I have to ...
2
votes
1answer
81 views

replace or remove GPG signature on RPM

Is there a way to remove or replace an existing GPG signature on an RPM? I am placing a few obscure RPMs on an internal repo we use for supplementary rhel/centos packages. A few of those RPMs are ...
-4
votes
2answers
258 views

iptables: open port 25 CentOS 7 [closed]

I have problems opening port 25 for sendmail on my CentOS 7 machine. Here's my iptables configuration: *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -m state ...
0
votes
0answers
52 views

Apache mod_ssl StdEnvVars appear not to be set?

I have a CentOS 6.5 server running Apache 2.2.15 with mod_ssl and PHP 5.3.3. My problem is that PHP does not seem to recognize the HTTPS connection. I have the following in my ...
-3
votes
1answer
52 views

raid 1 & ml350 gen8 server with centos 6.2

I have a proliant ml350p gen8 HP SERVER with centos 6.2 and two hard disk with 1 TB for both. I have several GB of files and software about 100) with their configurations but I want to install RAID 1 ...
-2
votes
1answer
97 views

nginx SSL not working (404 error)

On a CentOS 6.6 box I have nginx set to serve two virtual hosts. One for SSL and one for basic HTTP. /etc/nginx/default.conf: server { listen 80 default_server; server_name _; #charset ...
0
votes
0answers
34 views

How to work whit socket_file httpd (nginx-uwsgi)

I am trying to run Nginx/uWSGI/Django, the last remaining step is to run the socket_file all I get is a 502 Bad Gateway. Route my django application. #/home/deploy/webapps/myapp Configuration ...
1
vote
1answer
144 views

dhclient.conf missed on centos

on centos 6 I need take the values from a dhcp server: cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=00:50:56:27:0E:C8 TYPE=Ethernet UUID=20924b21-e92a-4944-a054-06d1967155c1 ...