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
41 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
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 ...
-2
votes
1answer
68 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 ...
0
votes
1answer
48 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
0answers
30 views

CentOS: unable to verify backported fixes

Generally one uses rpm to verify backported fixes to a package like: rpm -q --changelog httpd But on my CentOS server, it's giving me: package httpd is not installed Or: package php ...
0
votes
0answers
14 views

Servers experience intermittent CPU “sensitivity”

We have a strange intermittent issue with a few servers where their CPU's become more "sensitive" to load. By this I mean that processes that generally run without issue, suddenly take up ...
0
votes
1answer
31 views

Yum cannot install php addons

I had an issue with phpmyadmin so i uninstalled php and all it's addons and reinstalled it, but yum complains it can't install php-common: Loaded plugins: fastestmirror Loading mirror speeds from ...
0
votes
0answers
26 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
2answers
34 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. ...
-2
votes
1answer
80 views

SSD DD write speed lower than HDD [closed]

I've come across a strange phenomena with a new dedicated server that's been provisioned. The server has 2x1TB HDDs in software RAID 1 and a separate 120GB SSD that is intended to be used as a ...
0
votes
3answers
58 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 ...
2
votes
0answers
12 views

error in installation of ejabberd

i am trying to install ejabberd in centos . ejabberd is running but when iam try to register it showing error like this. /opt/ejabberd-14.12/bin/ejabberdctl register root ...
0
votes
2answers
39 views

EPEL Repo GPG Key Working?

I followed the below steps to grab the EPEL GPG key and I'm trying to verify if it's working. This is on a freshly installed RHEL7 system. Repo: https://dl.fedoraproject.org/pub/epel/7/x86_64/ # cd ...
0
votes
3answers
27 views

Creating swap file on CentOs uses all disk space

i Use this command in CentOS to create a 4Gb swap file but is uses all disk space!! dd if=/dev/zero of=/swapfile bs=1024 count=4G Filesystem 1K-blocks Used Available Use% Mounted on ...
0
votes
0answers
41 views

Could not find platform independent libraries <prefix> after recompiled mod_wsgi

I am on centos 6, while I need python 2.7 for some reason. And I recompiled mod_wsgi for python2.7, then add python2.7 shared library path to /etc/ld.conf, then ldd, it works fine and the log shows me ...
2
votes
0answers
26 views

Amazon EC2: How to convert an existing PV AMI to HVM - CentOS - Wont boot

I've now tried every guide I've found on Google, some are posts on this forum. The instances always end up not booting with every guide/method I've tried. Probably spent about 4 days trying out ...
1
vote
2answers
55 views

ssh enter passphrase one line

I want to execute a command via ssh but my server is using passphrase, I want to make one-line only without asking passphrase. ~# ssh -t root@dev5 'echo "tes" ; bash' Enter passphrase for key ...
0
votes
0answers
28 views

TLSv1.2 enabled RDP client for Redhat/CentOS?

We have just hardened our windows servers to use TLSv1.2 for RDP. I was using freerdp and rdesktop from linux as RDP clients but both seem to not work with TLSv1.2. Any ideas regarding what Linux ...
0
votes
1answer
45 views

Setting default gateway on CentOS 7 and showing it using route and netstat -r

I am following a tutorial found here on how to setup a gateway for each adapter and also a default gateway: http://linux-training.be/sysadmin/ch22.html But when I run the commands $ route and $ ...
0
votes
0answers
51 views

Installing PERC driver during CentOS install

I'm trying to install CentOS on a PowerEdge R720, and I'm running into some issues with installing drivers during setup. I've created a virtual disk consisting of a single SSD, but during install ...
-1
votes
2answers
37 views

Script to delete older files and copy what is left

We have a server that runs an application that is used internally. The application has a utility that creates its own backups every 24 hours. Backups are stored in: ...
-1
votes
1answer
36 views

How to switch user in Linux with password

I have client with LDAP authenticatation, when user1 login to client, and switch to user2 (sudo su - user2), he just login without password. I want to make switching user in client with authentication ...
1
vote
1answer
53 views

How do I increase the open file limit on Linux?

I am using CentOS 7. I found out that the current value can be seen using $ ulimit -a (look for open files). Or just $ ulimit -n Then I try to edit these limits by editing the file at $ vim ...
1
vote
2answers
62 views

Ansible cannot check service status and restart it

I am new in ansible. Now I try to restart my Tomcat service. It looks like ansible cannot detect service status (started/stopped) and cannot (re)start it. Please tell how to do diagnostic? See here ...
2
votes
2answers
33 views

centos 7, sudoers rights limits

i have a task to separate duties of users on a group of servers, the system is centos 7 there is a user that i want to give every right on the server except for the right to change root and other ...
1
vote
3answers
87 views

To SSL or to not SSL

Currently I have a website that serves a lot of mixed content I have the whole website under ssl. example.com All static content such as css js and a small amount of my own images such as logos ect ...
-2
votes
1answer
45 views

SAVE IP ROUTE RULES AFTER REBOOT

I have two internet connections from two different ISPs and I need to balance & failover the traffic originating to and from my network between the two ISPs. My settings: FIRST ISP (eth0): ...
2
votes
1answer
235 views

Using Lets Encrypt SSL for multiple Apache servers with distributed traffic

I'm having some issues setting up Let's Encrypt for a couple websites that are setup on two different servers, and have the traffic distributed to them via HAProxy. The servers have a number ...
2
votes
1answer
105 views

Apache spawning enormous number of httpd processes

I am running a CentOS 6.7 machine (16 GB vRAM, 8 vCPUs) with a simple web server setup (Apache/2.2.15, PHP/5.3.3, MySQL/5.1.66), hosting an online shop with a moderate number of page impressions ...
1
vote
0answers
27 views

ifconfig output different for non-root user

we use a montoring system to capture network traffic. the output as root user is fine: eth0 Link encap:Ethernet HWaddr 00:1E:67:E6:D6:FE inet addr:149.56.19.13 Bcast:149.56.19.255 ...
0
votes
0answers
47 views

pptp vpn client close all inside connections

I setup PPTP-VPN-client on my Centos VPS (guide: http://websistent.com/how-to-configure-a-linux-pptp-vpn-client/ ) when i connect to pptp server from my centos vps all connections(ex ping, ...
2
votes
2answers
64 views

Is order of network routes important in Linux?

On one of my web server the loopback route is in 2nd position and usually it is in 3rd position on other server when displaying the routes: >ip route show Results on what is displayed on one ...
0
votes
0answers
14 views

Install php-ZendFramework and php-ZendFramework2 in parallel on a machine

is it possible to install php-ZendFramework and php-ZendFramework2 on one host? I need v2 for bareos-webui and v1 for icingaweb2. I've only found some info here ...
0
votes
1answer
36 views

ldapsearch not working

My goal is to test LDAP authentication from command line. I tried using ldapsearch for this. I'm using Centos 6.7 Even though I'm using the correct credentials, the following command fails ...
0
votes
0answers
46 views

Problems installing pdftk on CentOS7 - libgcj issues

I'm trying to install a command line pdf manipulation program called "pdftk" on CentOS 7. I've tried several ways to get it installed and running into issues. If I try to install the rpm I get this ...
0
votes
1answer
30 views

Forward service records from main DNS to IPA server

I have a production DNS server (dns1.local) in Data Center environment, I build recently IPA server (ipa.example.com) that runs DNS as well in the same environment and it forwards requests to ...
1
vote
1answer
31 views

Accesing Samba share from Windows

I have a CentOS machine with samba installed and configured like so: [global] security = user workgroup = mycompany and one share [myshare] path = /srv/mysrvapp writable = yes valid user = ...
0
votes
0answers
26 views

Ran out of inodes because of something happening in the meteor packages folder

I'm running meteor in a centos server (not production) where I've installed meteor, this meteor app rebuilds everytime I pull the code from git. The server ran out of inodes and I've realised the ...
0
votes
0answers
26 views

Webserver always too slow in AWS EC2 instance

I started a simple python server on port 4444 in one of my ec2 instance.and tried to access it by curl. It takes more than 5 seconds for server to respond. Below is the tcpdump output on port 4444 ...
1
vote
3answers
60 views

How to shrink /home and add more space on CentOS7

CentOS 7 file system is XFS, And resize2fs doesn't work. I need to shrink /home to 400G and add 100G space to /. What should I do? # df -h Filesystem Size Used Avail Use% Mounted on ...
0
votes
2answers
75 views

CentOs, Apache24

Essentially I am installing apache2.4 onto centOs6.6 using the Apache2 CHEF cookbook. I have it working to the point where all the service commands work minus the sudo service httpd24-httpd ...
2
votes
0answers
15 views

security audit flags redhat/centos package version numbers despite patches

Redhat has this policy of backporting security fixes. But then when RHEL and CentOS sites get audited, the auditors invariably just list the package versions or ask ssh what it's version number is, ...
1
vote
0answers
15 views

Iptables multiple port redirects based on destination address

I have iptables setup for selective routing. In the current configuration it checks if the dst address is listed in a specific chain and if it is not it redirects the traffic to my proxy port which is ...
0
votes
0answers
40 views

IPSEC help using Strongswan on CENTOS 6.6

I have been tasked with setting up an IPSEC tunnel to our remote data provider. They require my Phase 2 traffic to be PAT'd behind a public address. I am using strongswan 5.3.2 on CentOS 6.6 on a ...
0
votes
0answers
87 views

Windows machine can't resolve newly added DNS name from CentOS named server but can resolve others

OK, I am going to try and explain this as best and easiest as I can. I have a CentOS 6 machine (named SRV3) running as a DNS server for all of our domains. This is working fine. I have another ...
1
vote
1answer
35 views

DNS - public address for local zone

I am facing an issue I don't quite know how to solve it. So I have two internal dns servers, let's say dns1 and dns2. They serve a zone let's say z1.mydomain.com - and internally everything is ...
0
votes
1answer
119 views

Install apache 2.4 and php7 on centos 6

I would need to install / compile apache 2.4 and PHP7 to work together on Centos 6 (specifically on 6.5). I've tried the ius packages, but while apache 2.4 works correctly, it seems that php7 still ...
0
votes
2answers
201 views

Block request that is possible ddos

How would i best block a request that takes on the following form in the acces 104.154.55.118 - - [19/Apr/2016:06:33:57 +0000] "GET ...
0
votes
0answers
114 views

CentOS 5.11 apf/iptables; iptables sometimes fails when apf restarts

On one of our old servers, a CentOS 5.11 machine using apf as a front end for iptables, we're having an intermittent problem with iptables failing when apf restarts on occasion. When this happens, the ...
2
votes
1answer
14 views

Matching back ported package versions to major releases

Is there a way to link a backported versions of package to what is released by the original developers. For example the latest Centos package for OpenSSL is : openssl-1.0.1e-42.el6_7.4.x86_64.rpm ...