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
15 views

OpenSSL 1.0.2.a and Centos5.7

I have an old version of Centos (5.7) and I would like to enable TLS 1.2 due to Google Chrome warning about TLS 1.0 I tried to update with yum but I can see that no OpenSSL 1.x could be installed ...
1
vote
1answer
9 views

How to test the value of LimitRequestFieldSize in Apache 2.4

I would like to test the value of LimitRequestFieldSize in Apache 2.4. I have tried setting it and was wondering if there was a straightforward way of calling its value from apache or testing it via ...
-1
votes
0answers
18 views

extract/unpack archive file from rpm binary file on %post

I'm creating an rpm for a php web application. And I need to run a php file on %post. But before I can do that, I need to unpack the archive file from the rpm file to execute the php file on %post, on ...
-3
votes
1answer
30 views

system halt twice a week [on hold]

My system stop responding almost twice a week. following message is found in log, Apr 27 04:44:37 Helpdesk shutdown[29686]: shutting down for system halt Apr 27 04:44:39 Helpdesk modclusterd: ...
0
votes
1answer
40 views

CentOS 99% memory usage

for the past week my CentOS VPS has had 99% memory usage. [root@server ~]# free -m total used free shared buffers cached Mem: 2048 2032 15 ...
1
vote
0answers
5 views

Block Wordpress Updates by Server [migrated]

I've a server and I want to block all the Wordpress Sites Updates Notification (more than 150). I know there is a option in wp-config.php but I want to block all the updates. I put in hosts ...
1
vote
1answer
25 views

Fail2ban critical exception - does not block ips

I'm trying to get fail2ban running on CentOS7 (no SELinux) and it uses firewalld. My goal is to set it to ban Asterisk password fails. Setup was default yum install fail2ban Config-wise I ONLY added ...
0
votes
0answers
17 views

How to fix a failed package update in CentOS?

I have these problem when I want to update all packages: 1:php-eaccelerator-0.9.6.1-jason.4.x86_64 from utterramblings has depsolving problems Missing Dependency: php(zend-abi) = 20060613 is needed ...
0
votes
0answers
16 views

Thorough search: nginx mainline & GeoIP repository for CentOS? [on hold]

I am looking for nginx repository that contains package built with --with-http_geoip_module and has mainline version of the package. I have searched for a while, and found several CentOS ...
-2
votes
0answers
27 views

ib_logfile corrupting every day, how can I find the cause? [on hold]

I'm running CentOS with cPanel/WHM installed. Every day I'm having a ib_logfile issue which stops MySQL working for just one site on the server - I found a fix to rename the logfiles every time then ...
0
votes
1answer
31 views

Route traffic through private IP for only certain hosts - CentOS 6.6

I am having a weird problem which I cant figure out - so I was hoping someone here could give me a hand. First off the end goal is that a specific server in my network runs an IPSEC connection to ...
0
votes
0answers
10 views

yum Error:rpmdb open failed [migrated]

I'm trying to run yum update and I'm running this error: rpmdb: PANIC: fatal region error detected; run recovery error: db3 error(-30974) from dbenv->open: DB_RUNRECOVERY: Fatal error, run ...
0
votes
0answers
14 views

WebApp won't compile in CentOS 7 server, but does compile in Windows

I am getting a "resource marked as read-only" error when I try to compile a war file on a CentOS 7 installation. But the same eclipse project does not throw any compilation error on Windows after I ...
1
vote
0answers
11 views

Library Dependency is different when checked via yum vs. rpm

I'm new here and am debugging something I've never seen before, so I'm hoping someone can show me where I'm going wrong. I've created a local yum repo for all my servers. The idea is to distribute ...
0
votes
1answer
23 views

CentOS Qemu+KVM lot of virtual machine processes

I am on host-machine with Centos 6.5, qemu+KVM and 2 virtual hosts in it (behind NAT). Both virtual hosts were configured with Virtual Machine Manager (one of them is with Windows 2003 and other with ...
1
vote
0answers
41 views

Update version of network manager

In shell on sever I see following error after launching several commands: Error: nmcli (1.0.0) and NetworkManager (0.9.9.1) versions don't match. Force execution using --nocheck, but the results are ...
-1
votes
0answers
18 views

Sendmail on CentOS puts incoming mail to domain clients into hidden queue, if they contain attachments [on hold]

Sendmail on CentOS, after working fine for years, puts incoming mail to users into long quarantine or hidden queue, if they contain attachments. Rebooting Apache and Sendmail a few times sometimes ...
0
votes
4answers
37 views

Is it possible for a cronjob to start before MySQL starts?

I am on CentOS 7, and if I put: * * * * * python script.py It works. If I put: @reboot python script.py Then it says it cannot connect to MySQL. If I run it from command line too, it works. ...
-1
votes
0answers
10 views

CentOS 7: Write failed: Broken pipe on reboot

So I am trying to reboot on CentOS 7: $ sudo reboot Write failed: Broken pipe After I run the command, it waits 60 seconds for the timeout that is specified both on the server and client side, as ...
0
votes
0answers
20 views

Incomplete Page Loads in Apache and PHP

A client frequently loads our site on his iPhone and has troubles with incomplete page loads. I also sometimes on my laptop load up the home page and there's issues with our rotator due to an ...
-5
votes
3answers
54 views

How I can Block all China to entry to my server [on hold]

How I can Block China to entry to my server ? All China country ? By ipset and iptables I want by this to avoid DDOS attacks OS: CentOS 6.6 Thanks.
-2
votes
0answers
23 views

Centos 7.1 doesn't start [on hold]

tonight OVH have made some security update to all his VPS. Anyway, my VPS is offline since then. Now are around 12 hours that my VPS is offline. My system use Centos 7.1. I can use kvm, and these are ...
1
vote
0answers
40 views

CentOS 7 httpd /server-status limitations

I have got VPS (using CentOS 7 as my OS) and now I am configuring Munin (monitoring software). I ran into a little problem with Apache monitoring. Now I have got this cfg in my httpd.conf and ...
2
votes
2answers
49 views

How to open port for a specific IP address with firewall-cmd on CentOS?

I would like to open port 4567 for the IP address 1.2.3.4 with the firewall-cmd command on a CentOS 7.1 server. How can I achieve this, as the documentation I could find was too specific on this?
0
votes
1answer
14 views

xinetd port forwarding causes HttpServletRequest.getRemoteAddr() to always return 127.0.0.1

We're attempting to identify where specific requests are coming from inside our Java application. We have changed the log files to include the IP address and we're using ...
0
votes
1answer
45 views

Postfix and dovecot can not receive mail

I setup a mail server (with multiple virtual hosts) on a VPS. I used postfix, dovecot, postfixadmin, squirrel and mysql. I can send mail by squirrel, but can not receive any mail. This is my ...
0
votes
0answers
29 views

Can't push git updates & run Unix commands when connecting via SSH [migrated]

I have installed java 8 on my bluehost VPS. I have followed http://tecadmin.net/install-java-8-on-centos-rhel-and-fedora/ instructions . In order to add directories to PATH variable I have added ...
0
votes
0answers
13 views

LXC containers - Duplicate tty on Gentoo guest

I'm trying to run Gentoo inside LXC container on Centos 7 host machine. I have prepared the guest OS on another (Gentoo) machine by following this tutorial https://wiki.gentoo.org/wiki/LXC. On this ...
1
vote
1answer
40 views

systemctl throwing errors on start/enable after package instal [duplicate]

In the effort to lock down a new Centos box I am building I am installing iptables. I would like to be able to put this in a script so I can do this to other boxes but I am getting some odd errors ...
0
votes
1answer
10 views

What is Slab, SReclaimable and SUnreclaim? What does Slab solve and how does it behave under load?

I have a server with 32 gigabytes of ram, with htop reporting 29 gigs used, with 4 gigs of swap in use as well. cat /proc/meminfo returns around 13 gigabytes of memory listed as SReclaiable. What ...
0
votes
0answers
11 views

Centos internet sharing with dual WAN and subnet routing

Situation is like this: eth0 has internet access with VPN for 2 subnets 192.168.2.x nad 192.168.30.x eth1 has internet access eth2 is the one to be the connection to allow internet connection ...
0
votes
1answer
23 views

Centos 7 Apache 2.4 php_fpm 30 second timeout

I need to set execution timeout for Centos 7 Apache 2.4 php_fpm, but there seems to be a hard coded timeout somewhere in the Apache proxy. I see max_execution_time correctly set (to 300) in ...
1
vote
2answers
24 views

Where is WSGI installed on Centos?

I am getting a permissions issue when running django in daemon mode. Reading here https://code.google.com/p/modwsgi/wiki/ConfigurationIssues#Location_Of_UNIX_Sockets I think the solution is to ...
0
votes
0answers
52 views

NameVirtualHost *:80 and 443 has no VirtualHosts on centos

Since I added IPs to my server, I have a lot of issues when starting apache. I always have these errors below: [warn] NameVirtualHost *:443 has no VirtualHosts [warn] NameVirtualHost *:80 has no ...
5
votes
1answer
343 views

Can I allow root to su any other user? [closed]

I have this centos VPS with 5 accounts; then I enabled one user to ssh, disabled root login, and have shell disabled for every other user account.. Is to possible to permit root to su the other ones ...
-3
votes
0answers
33 views

/sbin/lsmod outputs empty module list [closed]

I'm using the command /sbin/lsmod to check loaded kernel modules and drivers as described on centos.org The command output the following only: Module Size Used by No modules are ...
1
vote
1answer
34 views

How can I allow users to reset their Linux user passwords from a web interface? [closed]

I am running SAS Visual Analytics on a cluster for my department. I want the users to be able to set and reset their own password for their user account. Users and Passwords for the application are ...
1
vote
0answers
25 views

How to add a partition to CentOS without losing data on it

we had a CentOS 6.4 server with two RAIDs. One RAID-1 and the other RAID-5 RAID-1 had multiple partitions with OS installed on it. RAID-5 had two partitions with some data on it. In order to ...
5
votes
2answers
462 views

Which Linux package contains the 'top' command?

Many of the common utilities in Linux either come packaged in util-linux from Linux Foundation or coreutils from GNU. The man page for top doesn't specify anything. I am using CentOS.
3
votes
2answers
65 views

CEPH's raw space usage

I can't understand ceph raw space usage. I have 14 HDD (14 OSD's) on 7 servers , 3TB each HDD ~ 42 TB raw space in total. ceph -s osdmap e4055: 14 osds: 14 up, 14 in pgmap v8073416: ...
1
vote
0answers
17 views

systemd Unit file for GitLab

I am currently writing a Puppet module to get GitLab running on CentOS 6/7. For the CentOS 7 install I need to write a systemd unit file to start the gitlab service (which is actually Unicorn & ...
4
votes
1answer
147 views

Apache shuts down unintentionally

I must say that I am not the guy that set up the server, but the poor sap tasked with finding out what is happening for the time being. I only have a rough knowledge about apache and linux, so ...
-1
votes
1answer
41 views

Curious what server pam_pwdfile is in var/log/messages

I am getting tons of these messages in my /var/log/messages file Apr 16 06:58:20 server pam_pwdfile[7856]: couldn't open password file /etc/techproxy.shadow Apr 16 06:58:20 server pam_pwdfile[7863]: ...
0
votes
1answer
53 views

Website takes a long time to first byte [duplicate]

Recently, I migrated a joomla 2.5 site with K2 from a shared host to a dedicated web server with 1 GB of RAM and 8 CPU cores. My problem is now that the website loading is very slow, much slower than ...
0
votes
0answers
20 views

Remote packet capturing using fifo and dumpcap

I'm currently working on two linux servers where one server is running in 2.6.18-274.el5(Server A) and the second one in CentOS 7 (Server B). My requirement is to capture the packets of the network ...
1
vote
0answers
27 views

Dell r730 + Dell 12Gb SAS + Centos 7 + netvault 9.2 quantum superloader 3 not found

In the above configuration Netvault does not find the library attached to the sas controller. What driver should I see with lsmod for the SAS card? I have: ... mpt3sas 195379 0 ...
0
votes
2answers
20 views

CentOS 7 won't connect to external MySQL database. Database works from other servers

I have a new CentOS server set up, with Apache and php-fpm. The php application fails to connect to an external MySQL server. This server is reachable from other servers, the firewall on the database ...
0
votes
0answers
16 views

Rogue external service showing up in New Relic that I can't track down [closed]

I am working on a CentOS 5.1 dedicated server that uses WHM/cPanel to host 75'ish sites. There is an external service, matvsub.wang, that is showing up in New Relic external services that has a ...
-1
votes
1answer
24 views

SFTP and SSH Logins [duplicate]

I've been doing my research and found some clues as to where I should be looking, but just can't quite get it perfect. I'm trying to create a new user, and allow them to have access to SFTP for file ...
13
votes
2answers
287 views

How to uninstall newly installed dependencies for a RPM package?

Is there an easy way to make a list of the dependencies a newly installed RPM package will install with yum? Example: If you do yum install ruby then it will also install some rubygems. But when I ...