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
0answers
12 views

how to point subdirectory for domain from another project?

how to point OctoberCMS to subdirectory(installation guide), i have previously installed PongoCMS(laravel based), what i want is need to access PongoCMS from www.example.com and want to access ...
0
votes
1answer
18 views

Stop error logging of specific event [duplicate]

How do you stop logging of a specific event on a centos error_log. I have a file which is blocked via .htaccess but each time it is accessed I get a new line on the log saying: [Tue Jan 27 09:48:42 ...
-2
votes
0answers
23 views

How to say: Keep connection alive with command line script forticlientsslvpn_cli

With the command line script forticlientsslvpn_cli, how can I say: Keep connection alive until manually stopped? With the window-version forticlientsslvpn I can. Thahks.
3
votes
3answers
67 views

home dir and shell for Active Directory authenticated users

I have successfully configured sssd and can ssh into a system with AD credentials what I am missing is the creation of a home directory and bash set as the shell. My assumption is that if I log on to ...
0
votes
1answer
20 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 ...
0
votes
0answers
37 views

Install mplayer on Centos 7 [migrated]

I've been trying for several days to install mplayer on Centos 7 without success, I've install many repos but nothing works, I've always the following error: -> Resolve Dependencies completed ...
-1
votes
1answer
23 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
11 views

Is there any nginx --with-http_geoip_module CentOS repository? [closed]

I am looking for nginx repository that contains package built with --with-http_geoip_module and has mainline (1.7.x currently) version of the package. atomic repo contains only 1.6.x stable line ...
0
votes
0answers
25 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
33 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
47 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
104 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
14 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 ...
-1
votes
0answers
7 views

Analytics page view gain and drop [migrated]

I have a server running Centos and Nginx and am noticing this in Analytics http://prntscr.com/6hgsnj The server keeps gaining to around 800-1000 page views per minute and then everytime it will drop ...
-2
votes
3answers
70 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
19 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
26 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
18 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
98 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
52 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
15 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
38 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
46 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
42 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
32 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
52 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
27 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
42 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
12 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
54 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
30 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
20 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
59 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
18 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
19 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
46 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
1answer
62 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
34 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
16 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
57 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
23 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
49 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
30 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
80 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
2answers
14 views

Virtualmin - DNS Records File [closed]

When trying to manually edit the DNS records of my domain inside virtualmin, I can see this sample record: $ttl 38400 @ IN SOA host.domain.com. root.host.domain.com. ( 1422206078 ...
-2
votes
1answer
55 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
7 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 ...
-1
votes
0answers
25 views

Wich PHP Module to Install on CentOS to Execute Php Files

I have installed CentOS 5 (32 bit) on my VPS that contains basic php files with no database. I have installed PHP as well but the specific module needs to be installed. What module would be necessary ...
0
votes
1answer
43 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
22 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, ...