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

Centos, Django, mod_wsgi, getting 403 forbidden when trying to access site

My apache version is 2.4.6, i have installed mod_wsgi and django and have run through the documentation for both (https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/modwsgi/ and ...
0
votes
0answers
6 views

Get server stats by user

I run a server with centos, ispconfig, about 100 websites on it. It occasionally gets high load, but I have no real way to pinpoint whats causing this. I really want to see stats of hits/cpu usage per ...
0
votes
0answers
25 views

Not receiving emails on Roundcube but can send it

Please help, i'm losing my mind, i stop spamassassin and desactivate plugin on dovecot with command : tail -f /var/log/dovecot-debug.log, i got What can i give to help ? May 05 18:23:56 imap: ...
1
vote
1answer
13 views

Setting Up Node on Production Server

I Really need some help. I have this centos 6 or 7 server. I have set up my nodejs app and run on the server on port 8080. netstat also output it weshop@host [~]# netstat -an | grep "LISTEN " | grep ...
0
votes
2answers
28 views

Granting FTP users access to multiple folders on CentOS

I'm have a web server running CentOS Linux 7.2.1511. I do most of the mundane management tasks through Plesk 12.5.30 Update #29 but I also SSH in and get dirty with the command line when I need to. ...
7
votes
2answers
1k views

yum-security for CentOS?

Last time I checked I was able to install yum-security in CentOS but since it doesn't use the official redhat mirrors I was unable to get it to actually work. Is there a way to make yum-security work ...
0
votes
1answer
48 views

Firewalld blocks IPv6, ignores config

I'm trying to setup an IPv6 web-server on CentOS 7.2 with NGINX. I have tested my IPv6 connectivity outgoing and incoming - everything works. My IP, AAAA records, etc as fine as well. Essentially ...
1
vote
1answer
29 views

What should i use instead of eth0:1 if it is deprecated

usually i create /etc/sysconfig/network-scripts/ifcfg-eth0:1 and /etc/sysconfig/network-scripts/ifcfg-eth0:2 but i seen in internet that it is deprecated using eth0 :1 so what can i use to the VPS ...
2
votes
1answer
102 views

httpd not starting because /run/httpd is missing

httpd fails to start on one of my servers running centos 7 because /run/httpd is missing, which means httpd can't create /run/httpd/httpd.pid and thus fails to start. My question is, why is ...
2
votes
0answers
107 views

Issue with Headless selenium on CentOS 7 Minimal

Required: I'm trying to run headless selenium (using PHPUnit) on fresh CentOS 7 minimal. Problem: It seems I installed everything correctly but firefox is not launching and my selenium web driver ...
1
vote
0answers
16 views

How to name systemd mount unit properly?

I'm trying to automount CephFS after boot via systemd I've got the next unit: [Unit] SourcePath=/etc/fstab DefaultDependencies=no After=remote-fs-pre.target After=network.target Wants=network.target ...
0
votes
1answer
59 views

Munin and mysql plugin

I've installed munin on a vps and I want to monitor mysql usage of 3 mysql servers, I have configured mysql_ plugin as follow: [mysql_*] env.mysqlconnection ...
3
votes
1answer
798 views

SSH painfully slow on my local network?

I have a CentOS 6-x64 Server running through VirtualBox on Windows Server 2012R2, but whenever I SSH into it, it's painfully slow. This happens for both Putty on Windows, and SSH on OS X. I've read ...
0
votes
0answers
14 views

rsync: no lockfile created on system reboot

After system reboot rsync starts but no lock file is created, therefore when rsync on a remote machine tries to get a directory for backup it fails with @ERROR: failed to open lock file rsync error: ...
1
vote
1answer
26 views

CentOS 7 statically configured network adapter keeps getting DHCP address

This is driving me nuts. I have a CentOS 7 system. It is acting as DHCP for the network it is attached to, is running Cobbler and PXE, but it is not the gateway. It is the primary file server for ...
1
vote
2answers
24 views

How to manage versions and dependencies on a virtual machine

I am new here on serverfault so bear with me please. I am currently working with static web (angular2) and php deployment primarily on DigitalOcean and AWS using nginx and apache2. Until now debian ...
0
votes
1answer
5k views

ERROR with rpm_check_debug vs depsolve

Transaction Summary ========================================================================================================================================================== Install 9 ...
1
vote
1answer
3k views

SSL handshake with CentOS, curl and ECDHE

Since I limited my Ciphers to ECDHE because of the Logjam vulnerabilities, I am not able to do a curl from a Centos machine anymore. (works from Ubuntu) $ curl -v https://mysite.mydomain.com * ...
0
votes
1answer
43 views

Mysql conflicts on Centos 6.7

I am trying trying to install RMySQL on Centos 6.7 however I am not very experienced with server stuff so bear with me. I use this command sudo yum install mysql-devel However I keep getting the ...
0
votes
1answer
18 views

Installing GD Library on Centos 6.7 and PHP 5.4

Versions: centos-release-6-7.el6.centos.12.3.x86_64 PHP 5.4.45 Installed GD using yum: $ yum install php54w-gd Installed: php54w-gd.x86_64 0:5.4.45-2.w6 Restarted: $ service httpd ...
0
votes
1answer
2k views

NRPE v2.15 connection refused centos 6

I have set this up on many machines, ubuntu, redhat, and centos, but am having trouble with one machine. I am using the nrpe package. I have the correct permissions for nagios users, and my config ...
2
votes
1answer
2k views

DJBDNS DNSCache configuration, svscan won't start

I've been wracking my brain the last few days trying to setup DJBDNS on my server. I haven't been having too much luck. I have been following the guide provided by the creator of DJBDNS: ...
11
votes
4answers
43k views

No mysqld or mysql.server after mariadb-server install

So... likely I'm an idiot, but I'm stuck. I just set up a CentOS 7 on Digial Ocean and I can't seem to get the MariaDB/MySQL server running. Some output [root@hostname ~]# yum list installed |grep ...
2
votes
1answer
27 views

Vim hangs on one specific file?

My putty session keeps on hanging when I'm in the middle of editing a file in vim. This has happened three times this morning. Hopefully it's nothing, just a glitch in the matrix somewhere, but I ...
0
votes
1answer
16 views

Allow outgoing IPv6 connections for VPN clients

I have the OpenVPN server. A client connecting to this server receive an internal IPv4 address (10.2.52.X) and an external IPv6 address. I need to perform a masquerading (NAT) for IPv4 but I don't ...
0
votes
2answers
38 views

why does 'rsync --delete-before' delete files from target that still exist at the source?

I have a centOS 7.1 linux box with rsync 3.1.1. There are files there that I want to transfer to a FreeNAS 9.10 machine. For this I've set up an rsync daemon on freeNAS and transferring files works ...
0
votes
1answer
15 views

Ambari fail on startup. No logs to check

I'm trying to start Ambari with just ambari-server start but I am getting this error Waiting for server start..../usr/bin/sh: /var/log/ambari-server/ambari-server.out: No such file or directory ..... ...
0
votes
2answers
28 views

iptables - access to port 3306 timeout

I cannot connect to mysql from a remote server. I have bind-address commented out but when I add rules in iptables to block other connections the requesting server's connection times out. I tried ...
3
votes
3answers
25k views

CentOS 6.5 not bringing up network interface automatically after reboot [ifup eth0]

I am having this issue with many of my CentOS servers where after a reboot the network interface fails to come up automatically. This is a big problem for me since I need to drive to the datacenter ...
9
votes
2answers
2k views

Kickoff Ansible Playbook after Cobbler install

I am working on implementing Cobbler and Ansible to do our server deploys and am having one final issue. My Ansible playbook works great, my Cobbler install works great, but the issue is in tying them ...
0
votes
2answers
4k views

How to disable local relay in postfix, for unauthenticated users?

I want to prevent my php scripts from sending mails through the MTA in localhost 25, without authentication. I have been told that the server, by default, trusts itself, and that's why I need no auth ...
0
votes
1answer
18 views

Failed to start nagios.service: Unit nagios.service failed to load: No such file or directory

I have been following this tutorial: $ sudo systemctl start nagios Failed to start nagios.service: Unit nagios.service failed to load: No such file or directory. What is the cause of problem? I ...
5
votes
1answer
4k views

God Process Monitoring - CentOS - Event System Not Found

I have god installed on at least a dozen (or more) servers running CentOS 5.5 in both i386 and x86_64 flavors that work perfectly. I just setup two new CentOS 5.5 x86_64 servers and installed God, but ...
2
votes
1answer
376 views

Website not loading static files when NGINX has static cache content enabled

I have a VPS running CentOS with NGINX/PHP-FPM. Everything works fine, except when I add the following lines to enable the static cache content. If I do, the page does not load those files specified ...
1
vote
1answer
1k views

mod_deflate, centos, application/x-httpd-php

I trying enable output compression for Apache 2.2.15, and 5.3.3, but web-pages generated by php is not compressing :( My deflate.conf: [user@host conf.d]# cat deflate.conf <IfModule ...
0
votes
1answer
1k views

fsockopen(): unable to connect to 127.0.0.1:6379

Im running centOs 6.3, I installed redis-server via remi repository on my local machine. I can run the redis cli. But when I try to connect via php script I get fsockopen(): unable to connect to ...
0
votes
0answers
25 views

User Unable to Change Group Owner of File on NFS

I've created a user, say testuser, with a home directory located in /home-nas/t/testuser/. I've added testuser and testuser1 to a group called testgroup and asked each user to log out and log back in. ...
0
votes
1answer
3k views

OpenStack Cinder: iSCSI login negotiation failure after reboot

I have a Cinder storage and controller node running on the same CentOS 7 box as Nova compute. Everything worked fine, until I rebooted. Now my instances can't mount volumes and I get the errors below. ...
0
votes
0answers
24 views

Relative symbolic links started not to work

There is a Centos 6.6 server which started to behave very strangely, it seems all relative symbolic links does not work. For example: # ls -al /etc/httpd/ total 16 drwxr-xr-x. 4 root root 4096 ...
0
votes
0answers
10 views

CentOS 6 Apache 2.2 SELinux uploaded files 403 forbidden [duplicate]

We are running Magento 1.8.1.0 and for one of the upload folders in *document root*/media, namely the folder wysiwyg SELinux applies rights that makes uploaded content unreachable (403 Forbidden). We ...
1
vote
1answer
1k views

How do I know if an openVPN tunnel is established?

How do you know if a Site to site VPN tunnel is established in OpenVPN? Apart from pinging the other side, is there a command or something that shows the status of the tunnel? I am using centos on ...
9
votes
5answers
13k views

Install recent ImageMagick on CentOS 6.3

I'm having a terrible time trying to get a recent version of ImageMagick installed on a CentOS 6.3 x86_64 server. First, I downloaded the RPM from the ImageMagick site and tried to install it. That ...
6
votes
5answers
2k views

Netcat fails to start in listening mode

I'm using CentOS 6.7 (Final) system, and when I try to run nc in listening mode it prints the following: # nc -l 1234 nc: Protocol not available The port is not bound. I tried other port numbers ...
0
votes
1answer
2k views

How to add ACI's to OpenLDAP properly

So I'm trying to get some ACI's added to my OpenLDAP system (hosting on CentOS 6). I've read how others put their ACI's in bdb like so... olcAccess: to attrs=userPassword,shadowLastChange by ...
0
votes
0answers
23 views

prlimit not found centos6.3

After finding out that ulimit -m no longer does anything on linux... I am now investigating the use of prlimit. I have found that this is supposed to exists as part of util-linux / util-linux-ng, I ...
0
votes
1answer
17 views

RabbitMQ hanged up

I have single RabbitMQ 3.6.1-1 installed on CentOS 7.2.1511, with Erlang R16B-03.16.el7. Today I cleaned it up: rabbitmqctl stop_app rabbitmqctl force_reset rabbitmqctl start_app It worked for some ...
0
votes
3answers
38 views

AH00027: No authentication done error after upgrading from Apache 2.2 to 2.4

I recently updated Apache on Cent OS 7 from 2.2 to 2.4 and after the update I am not able to access the root folder, I get the following error: [Fri Apr 29 16:30:19.977037 2016] [core:error] [pid ...
-3
votes
1answer
49 views

If a server is headless (CentOS 7) is there a way to make the GPU used as an extra CPU core?

I've got a server with centOS that has no graphical interface. I only connect to it via ssh. As a result, the GPU is probably not used for much. I'd like to make the server use it as an extra CPU ...
10
votes
1answer
5k views

what is uninstall procedure for software installed via “make install” on CentOS 6.2

I installed OCILIB on my CentOS 6.2 server some time ago, and now I want to install a newer version. The vendor requires an uninstall, but doesn't provide instructions. I'm guessing that's because ...
0
votes
1answer
4k views

Elastix Upgrade fails CentOS yum missing dependency with libwat, libgsmat, and libss7

I upgraded a year old vanilla Elastix box using yum update and yum upgrade. Almost 400 packages updated but a few of them failed, including asterisk. At present the switchboard is working but I can't ...