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

4
votes
5answers
13k views

How can I get CentOS 5 to recognize an increase in drive space on my VM?

VMWare / CentOS 5.x My CentOS VM system was running low on space so a VMWare admin increased the storage space allocated to the VM. After powering off the system and restarting it, the OS is still ...
0
votes
1answer
16 views

Server unexpectedly closed network connection (sftp + putty)

I am running CloudLinux 6.6 with Cpanel/WHM. We had disabled default port 22, but a client required it, so ever since I switched back to port 22, we have experienced "Server unexpectedly closed ...
2
votes
2answers
6k views

How to change boot device on vm installed on Citrix Xen Server to DVD

I have installed Centos 6 on my new Xen Server (XenServer release 6.2.0-70446c). Everything went smooth. System is working fine but now I want to change boot device on that VM to boot from DVD (iso ...
0
votes
1answer
17 views

Error installing php-devel 5.5 CentOS 6

I am trying to run pecl install couchbase but am having trouble with php-devel and its dependencies. When I try to run yum --enablerepo=remi-php55 install php-devel I get the following error. My ...
0
votes
1answer
33 views

Boot time log: 'Failed to start Postfix Mail Transport Agent'

centos 7.1 postfix 2.10.1 After restarting server in /var/log/messages during boot time Postfix noted only in these 4 lines (all actions during 1 second): systemd: Starting Postfix Mail Transport ...
0
votes
1answer
1k 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 ...
0
votes
1answer
18 views

Intercept incoming emails via Dovecot

I'm looking for a way to intercept emails received via a dovecot server. Our intent is to somehow capture the header and body of the email, store it in the database (as useable data) which we can ...
6
votes
1answer
4k views

How can I limit the login times in linux for certain users?

How can I limit the login times in linux for certain users? For example I have to a user that only needs to be enabled from 8am till 5pm? Is there a way of automating this. My environment is a Centos ...
0
votes
2answers
19 views

CentOS root user crontab for mysqldump

I am using CentOS 6.6. I am trying to set up a crontab. I made an .sh script which runs perfectly when executed manually. The command is following: mysqldump --skip-lock-tables --single-transaction ...
0
votes
1answer
28 views

MySQL frequently starts returning empty results on SELECT and throws no errors. After restart it starts working as expected

MySQL started frequently returning empty results to all queries on all databases until I restart it after which it again works as expected. No errors are thrown or logged and the MySQL server keeps ...
2
votes
3answers
3k views

Production Instance : CLOSE_WAIT Connection Issue

I am using 10EC2 Instances behind 1 ELB. And ELB configured 80 to 8080 and 443 to 8080 port. And all 10EC2 instances having installed with Apache Tomcat, total request on ELB around 8000 to 10000 in ...
0
votes
1answer
28 views

vsftpd login error: 530

I'm running the vsftpd ftp-server on Fedora Server 22. The problem is, if a user try to login with a correct password, the following error occurs: "530 Login incorrect." vsftpd.conf : listen=YES ...
1
vote
1answer
2k views

Tomcat fails to start, no logs or error provided

I have a Centos5 box running tomcat5 (a version before 5.5, there's no bin/version.sh script). When attempting to start tomcat, whether through init.d or service, I get the FAILED message with no ...
1
vote
0answers
46 views

Docker alongside other sites on a server?

I have the Virtualmin web admin tool installed on my server which runs a number of my sites, can I use Docker alongside this without causing problems to Virtualmin or these other sites? I want to use ...
0
votes
1answer
1k views

FreeNX 0.7.3 under CentOS 6.3 - Negotiating link parameters

since some days I try to get freenx (CentOS package 0.7.3) running under CentOS 6.3. It is like found on many websites: First login is successfull, after that all login attempts fail with the ...
0
votes
1answer
28 views

nginx on fedora fastcgi not working

I'm running nginx on Fedora Server 22 and fastcgi scripts are not working. Under http://panel.minefight.org/ enter any login data, it doesn't load the password fail or success site. The same thing ...
0
votes
1answer
1k views

Kernel panic after boot Centos 6.5 HP DL320 B120i HPVSA

Im working with a new HPDL320 micro server (gen8-2) with a HP Dynamic array B120i My problem is after the setup. I provided the DiskDrive to the installer and everything is fine. at first i used kick ...
0
votes
1answer
29 views

Ansible shell command fails under sudo when it should succeed

I have an Ansible task based on https://github.com/al3x/sovereign/blob/master/roles/tarsnap/tasks/tarsnap.yml#L2 that keeps failing when it should succeed. I used to run the role with ...
0
votes
0answers
42 views

qemu-img VHD to raw image convert results in bad geometry:

Is anyone else able to reproduce this? Using StarWind V2V Image Converter on Windows, I'm able to get a valid disk.img file, so the source image.vhd is clean (pulled down from rackspace). Is this a ...
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) ...
1
vote
1answer
26 views

OpenDKIM milter with Postfix

I just configured opendkim and postfix and it is supossed to be signing my emails but it doesn't. I used /usr/sbin/opendkim-testkey to test the keys and it seems to be ok with them but the mails I ...
0
votes
0answers
35 views

Server crashing daily at 3:40am

I have a cloud server with rackspace. It is CentOS release 5.10 (Final). 40GB storage, 1gb ram, 2gb swap. I am running the kloxo control panel to manage the virtual hosts. Every day it eats up all ...
0
votes
3answers
42 views

iptables actively refused everything despite exceptions

I was following the centos wiki page on iptables but no mater what I change only port 22 opens. Using various port scanning websites they all say the server is actively refusing connections on all ...
1
vote
6answers
13k views

Can't start CentOS 7 “network” service

I Can't start CentOS 7 "network" service after disabling and removing "NetworkManager" service. When I check the network service status, it comes up with the following error: #systemctl status ...
0
votes
1answer
20 views

Command will run in shell but throws unexpected EOF error in cron [duplicate]

I am trying to run the following in cron to back up a server every morning at 4am: 0 4 * * * dump -0uan -f - / | gzip -2 | ssh -c blowfish user@server dd of=/backups/`hostname`_`date ...
0
votes
0answers
13 views

Centos 7 x64, RT3290 [migrated]

I use Centos 7 on Asus X550L uname -a Linux egor 3.10.0-229.4.2.el7.x86_64 #1 SMP Wed May 13 10:06:09 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux lspci | grep -i network 03:00.0 Network controller: ...
0
votes
3answers
433 views

yum install php-devel amongst other commands returning problems

I run yum install php-devel and it returns this. Typically I'd just run it with --skip-broken, but when I do, it still doesn't do the trick. Available: php-common-5.3.3-22.el6.x86_64 ...
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
2answers
2k views

How to add language support on CentOS 7 (on Docker)?

I'm trying to set locale to Japanese, but CentOS image on docker doesn't include language support. bash-4.2# yum groupinstall -y "Japanese Support" Loaded plugins: fastestmirror Loading mirror speeds ...
-2
votes
1answer
24 views

Increase of Virtual Memory after update of CentOS7

I have made system updates on CentOS7 and now my Virtual Memory is full used. Before the updates the virtual memory was completely empty/swap Why? Is it a problem? How can I decrease the virtual ...
0
votes
2answers
28 views

How to run 5 php processes, which uses different eth interfaces?

I'm using cron to run everyday script, which has to run 5 php-cli processes. I need them to use separate interfaces. I have 5 devices, eth0, eth1, eth2, eth3, eth4. How can I call php to make sure ...
-1
votes
3answers
42 views

Wildcard SSL cert warning of insecure content across sub domains [on hold]

I have a wildcard SSL certificate installed on various servers for different sub-domains. When looking at any pages or other content directly all browsers are happy with the certificate. But if I ...
0
votes
1answer
21 views

yum should error when a package is not available

I recently ran into a bug in a script where I tried to do the following: yum -y install another_package.x86_64 some_package.x86_64 && run_my_script The script ran well on a newer CentOS, ...
0
votes
1answer
9 views

Pacemaker continously logging “Changed active directory”

I have a newly installed CentOS 6.6 two-node cluster using Pacemaker. Every 10 seconds /var/log/pacemaker.log shows this "Changed active directory to /var/lib/pacemaker/cores/root" message (and ...
0
votes
1answer
13 views

Kerberos SSO virtualhost different domain

I have a running centos6.6 server who authenticates against a windows 2008 AD with realm EXAMPLE.LOCAL. I have successfully configured an apache webserver for authentication through kerberos keytab ...
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. ...
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
947 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
35 views

DNS is only available locally [closed]

I have recently moved from a managed webhost to an unmanaged dedi provider to have cheaper prices (due to non-management) as well as better resources, hosted at kimsufi.com with a domain hosted at ...
0
votes
0answers
38 views

ProFTPd + MySQL + Apache

I am trying to set up a LAMP server with ProFTPd using MySQL authentication This is a dedicated server with a single website under /var/hitr/public. I'd like to use proftpd to for user's configured ...
-2
votes
2answers
3k views

Redis installation on centos 6.5

I am trying to install Redis on centos 6.5 (x64) with following line: yum install redis But I am getting following screen: [root@NodeJs ~]# yum install redis Loaded plugins: fastestmirror Setting ...
10
votes
5answers
52k views

How to install mcrypt for PHP 5.3.3 on CentOS 5.7 64 bit?

I installed php 5.3 and some modules using yum install php53-{module-name} But mcrypt did not work. I searched like this: yum list php* | grep mcry The only package that came up was ...
-2
votes
3answers
1k views

Can't create a working init.d for Apache 2.4.2 on CentOS

I built apache 2.4.2 on CentOS from source and now am trying to create an init.d script to go along with it. A friend gave me one script but it never outputted a success or fail and I disliked it. I ...
2
votes
2answers
4k views

install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC

Having the following error while trying to execute a perl script(For LVM backup). Seeing some DBD module is missing. How would I resole it ? [root@localhost mylvmbackup-0.13]# ./mylvmbackup ...
0
votes
1answer
255 views

Upgrading to PHP 5.6.7 using remi repos

I have PHP 5.6 enabled in my remi.repo file and none of the other sections are enabled the only other section enabled is [remi] itself. [remi] name=Les RPM de remi pour Enterprise Linux 6 - $basearch ...
-1
votes
1answer
24 views

Installing Java 32bit rpm on 64bit CentOS

Downloaded the - jre-8u45-linux-i586.rpm Opened console - su mkdir /usr/bin/java [No java was installed before] cd /usr/bin/java rpm -ivh jre-8u45-linux-i586.rpm [Tried installing] error: ...
0
votes
1answer
900 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 ...
102
votes
16answers
86k views

How do you install Node.JS on CentOS?

I've found numerous installation instructions for Node.js but they all seem so complicated -- I'm not a super sys admin but I can get around. I have yum on the system, but I didn't find any node.js ...
0
votes
1answer
60 views

ntpd error: unable to bind to wildcard address 0.0.0.0 - another process may be running - EXITING

I have a problem. Time on server not synchronized. And it seems that this problem was appear after I set my rules for iptables, which I described here May be I'm wrong and these two events are not ...
1
vote
2answers
256 views

Google reCAPTCHA not working on Linux system

I am working on integrating reCAPTCHA with my registration page and everything seems working fine except one strange issue. I have tested this code on all local machines and well on our test server ...