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

CPAN installation proble, HTTP::Message on CentOS

I have a perl script that needs a long list of prerequisites. While installing these, I am not getting past the installation of HTTP::Message When I run cpan HTTP::Message from the command line as ...
0
votes
1answer
24 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
votes
2answers
579 views

Bash script to kill specific process running longer than 5m [closed]

Hi I'm looking for a BASH script for CentOS 6.5 that kills a processes by name that's been running longer than 5 minutes. I asked this question before and received a response that doesn't work under ...
-3
votes
2answers
840 views

Get full physical Ram memory with bash

I know some of you might find my question stupid but i need to know how much ram is installed on a centos box Yes i know it can easily be done by using the command awk '/MemTotal/{print $2}' ...
0
votes
0answers
16 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
26 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
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
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 ...
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 ...
-3
votes
1answer
31 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: ...
-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 ...
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 ...
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
1answer
939 views

Installing mysql-devel to match MySQL version

I'm running MySQL 5.1.52 on CentOS 4.6 and I'm trying to install mysql-devel to match my MySQL version. If I do yum install mysql-devel it wants to upgrade MySQL to 5.1.58, yet if I do yum search ...
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 ...
1
vote
1answer
2k views

Assign ipv6 address to KVM guests on bridge mode

System: CentOS 6.5 Network: Bridge on br0 IPv6: ISP Native /64 block. IPv4: ISP address (not internal LAN) Purpose: To assign IPv6 only to guests (manually), I don't want ipv4 address to be ...
-2
votes
0answers
28 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 ...
1
vote
1answer
2k views

Error while bringing up eth1

I'm getting this error while bringing up my network card: (process:2550): WARNING **: _nm_object_get_property: Error getting 'State' for /org/freedesktop/NetworkManager/ActiveConnection/3: (19) ...
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 ...
2
votes
1answer
1k views

VPN error 619 - “A connection to the remote computer could not be established.”

Have been trying to get this PPTP VPN working on a CentOS 6 x64 VPS for a few days but im getting: "Error 619 - A connection to the remote computer could not be established." I did research on ...
0
votes
1answer
1k views

How to install pecl spidermonkey on CentOS 6

Running the following command: > sudo pecl install spidermonkey I receive the following error: ... ... a bunch of successful checks ... ... checking whether to enable spidermonkey support... ...
0
votes
0answers
57 views

How install libgnutls.so.26 on Centos 7.1?

I'm following this tutorial to install ffmpeg on my server. When I'm configuring the source I get the problem: ffmpeg headers not found. In that tutorial they say: To Fix: Just install ...
0
votes
5answers
2k views

nginx: php-fastcgi running but php files not executing

I have recently set up a nginx server with PHP running as FastCGI process. The server is running with HTML files however PHP files are downloading instead of displaying and PHP code is not processed. ...
0
votes
3answers
2k views

centos 6.4 amavis-new, clamav not function

i install on centos 6.4 amavis-new and clamav /etc/clamd.d/amavisd # cat amavisd.conf # Use system logger. LogSyslog yes # Specify the type of syslog messages - please refer to 'man syslog' # for ...
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 ...
-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 ...
1
vote
0answers
42 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 ...
0
votes
4answers
1k views

apply back firewall after iptables flush

yesterday i got my self locked from my own server. and than i try to flush iptables from another server to get it unlocked as this question response 3 times fail then lock After that, i cannot login ...
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. ...
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 ...
-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
1answer
953 views

puma init.d for centos 6 fails with runuser: user /var/log/puma.log does not exist

Trying to get a init.d/puma to work on Centos 6. It throws error runuser: user /var/log/puma.log does not exist I run this from the /srv/books/current folder but it fails. I tried to debug the ...
5
votes
4answers
8k views

Mount CIFS Host is down

I have an issue with a mount point that was previously configured. It shows the folder, but the mount is missing and holds "?" values for size, permissions, etc. So I tried to remount using cifs and ...
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 ...
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 ...
0
votes
1answer
201 views

Sharing Collectd data with Apache on CentOS (SELinux)

My CentOS 7 VPS has SELinux enabled and is monitored by Collectd. It uses rrdtool to log the reported data. Pommi released a great solution that made me able to review all data on a webpage called CGP ...
-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
1answer
75 views

OSSEC won't start, Error: queue not accessible

I'm trying to set up OSSEC on a CemtOS 6.5 server. This is to be installed as an agent, not a server or local instance. The package successfully installed and I created the clients.key file, but when ...
6
votes
2answers
4k views

What is the difference between `su` and `su -` in CentOS?

I tried to switch to 'root' in CentOS by running su. It does change to 'root', but it doesn't seem to be a real 'root' user. For example, by default, ifconfig command in /sbin is not found in the ...
2
votes
2answers
2k views

403 Forbidden when trying to access a folder in document root of nginx

When I access index.php, it works fine. But on localhost/pset7, it gives a 403. Here is the permission log, -rw-r--r--. 1 root root 51 Jul 31 14:21 index.html -rw-r--r--. 1 root ...
0
votes
1answer
3k views

ptp time synchronization on centos6/rhel

I need to setup time synchronization using PTP (precision time protocol). I'll get server address. I found ptpd server (version 2.1). I created startup files in /etc/init.d. But wondering what options ...
2
votes
2answers
50 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
98 views

Yum Cache Service

I have a LAN where I currently use an instance of Sonatype Nexus to proxy several yum repositories. All the clients on the LAN are configured to install packages only from this service. The only ...
2
votes
0answers
727 views

Hypervisor The operation cannot be performed while the object is in it's current state

I attempted to reboot one of my VMs in the Hyper-V Manager. It's a Centos VM and all of my other centos machines are behaving as they should although I can't get this particular one to boot. I'm a ...
3
votes
3answers
10k views

How to change Linux services startup/boot order?

As the question is clear from the title, how do I change Linux services startup/boot order?
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
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
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]: ...