CentOS is a Linux distribution standing for "Community ENTerprise Operating System" and is a rebuild of "Red Hat Enterprise Linux" (RHEL). The "CentOS6" tag refers to versions 6.x of CentOS.

learn more… | top users | synonyms

-3
votes
1answer
51 views

Does HDD Speed matter on Unix after boot? [closed]

I am configuring a mysql / webserver (2X 3.4Ghz 6 core, 96GB RAM) and waiting for the SSD drives to get here and wondered if I would really notice any difference in performance having the OS on the ...
0
votes
1answer
61 views

What problems arise if user-space drbd is older than the kernel module?

Since more than five years I am using XEN in a productive environment. My constellation: SLES11 (included: OpenSource XEN 4.x), DRBD 8.3 in primary/secondary mode. Now I would have loved to go away ...
0
votes
1answer
797 views

CentOS 6 phpMyAdmin access denied [closed]

I am having issues setting up my VPS with phpMyAdmin. My error message: Forbidden You don't have permission to access /phpMyAdmin/ on this server. My phpMyAdmin config: # phpMyAdmin - Web ...
1
vote
1answer
8k views

NFS Client Issue on CentOS 6: rpcbind not listening on port 111

I'm trying to setup a NFS client on a new CentOS 6.6 server to an existing NFS server and am having problems that I cannot figure out. When starting rpcbind/nfs I get: # /etc/init.d/rpcbind start # ...
1
vote
1answer
168 views

Is there a well-known port for logstash-forwarder?

I'm setting up a few logstash-forwarder agents which will send logs to a central Logstash server, and need to choose a port for Logstash to listen on. After doing some searching, there doesn't seem to ...
0
votes
5answers
4k views

Error: Nothing to do trying to install local RPM

I'm trying to install this RPM locally via yum and am greeted with just a "Error: Nothing to do" message. Full stdout Loaded plugins: fastestmirror, priorities Setting up Install Process Examining ...
0
votes
0answers
1k views

CentOS 6.6 kickstart failing suddenly when including the 'updates' repo

Suddenly this week my CentOS 6.6 kickstart is failing with: A fatal error occurred when installing the <rpm.hdr object at 0x4981cd0> package. This could indicate errors when reading the ...
1
vote
1answer
1k views

Apache VirtualHost error: Invalid host name

It used to be pretty simple for me to set up a VirtualHost to test a new php webapp, for this http.conf: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /opt/webgrind/www ...
1
vote
1answer
318 views

m4 sendmail.mc command fails no error

I'm trying to make some changes to my configuration file in sendmail using this command: m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf The problem is, it's not working, or at least I'm pretty ...
4
votes
2answers
442 views

CPU Affinity setting not sticking

I'm attempting to set the affinity of mysql (latest Percona Server) on a 4vCpu VPS virtualized with OpenVZ and running CentOS 6.x. The command I'm running is taskset -pc 0-1 1026. I've also tried 0,1 ...
1
vote
3answers
668 views

Delete the contents of a huge directory in CentOS 6.6 [duplicate]

I have a directory in my webserver that has 116 thousand cookie files in it. How do I delete them? rm -r /var/www/html/secured/cookies/* I tried this but it does not work. -bash: /bin/rm/: ...
1
vote
0answers
90 views

winbind needs to be restarded after boot

Environment: Centos 6.6 Samba 3.6.23-12.el6 I have succesfully connected the server to an Active Directory Domain and I have configured it as a Samba File Server. It works fine as long as I reboot, ...
1
vote
0answers
380 views

MySQL 5.6 Community Server failed to start in CentOS 6

MySQL 5.6 Community Server failed to start on CentOS 6. Before, I have successfully installed mysql community server (file: mysql-community-release-el6-5.noarch.rpm) on my CentOS 6, the binary source ...
-2
votes
1answer
379 views

how can I understand if IMagick is installed? [closed]

I install Imagick according this tutorial: http://www.imagemagick.org/script/install-source.php#unix I used this code: function alist ($array) { //This function prints a text array as an html list. ...
2
votes
1answer
187 views

named can not find a certain domain

I have setup named in chroot and it has been working for some days. Now it does not find a certain domain's IP: # dig arstechnica.com ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.1 ...
1
vote
3answers
3k views

free shows more memory used than top process total

UPDATE: This was being caused due to a known issue with nss-softkn. See this article: https://www.splyt.com/blog/2014-05-16-optimizing-aws-nss-softoken When I run free -m from my centos 6.5 box I ...
0
votes
2answers
217 views

How can I force soft raid to read only from one disk?

I have quite a large IO wait showing in top. I suspect this is fault of SDA drive (on of 2 disks in RAID array), which was replaced about week ago. There are no errors visible, smart showing nothing, ...
-2
votes
1answer
670 views

Empty /boot/grub/grub.conf of a remote server, how to recrete it from recovery?

My remote server (running CentOS 6.6 x64) can't boot anymore. Using the emergency recovery (a LIVE CD) i can actually look that /etc/boot/grub/grub.conf and it's empty (0 bytes). I don't know why, ...
1
vote
1answer
570 views

/usr/sbin/thin_check: execvp failed: No such file or directory

Running CentOS 6.5, a brand new "minimal" server install, trying to use LVM2 thin pool feature. Packages installed are: lvm2 (2.02.111) device-mapper-persistent-data-0.3.2-1.el6.x86_64 ...
3
votes
1answer
177 views

How to keep specific old kernels around after a yum update

I know that in CentOS 6.x, you can put the following line in /etc/yum.conf which tells yum to keep the last N kernels (by default this is set to five): installonly_limit=5 However, there are cases ...
0
votes
2answers
1k views

start sshd with /usr/sbin/sshd in centos

I am new in linux but newest in Centos. using CentOS release 6.6 (Final) I can start ssh service via service sshd start and get this output Generating SSH2 RSA host key: ...
0
votes
1answer
642 views

Asterisk Firewall access Rules

I have a questions regarding the firewall rules for Asterisk VoIP server. I have a restricted access to UDP/TCP port 5060, which seems to be blocking calls. I want to make sure that my VoIP Server ...
0
votes
1answer
167 views

LVM on disk with no partition table. How to reallocate free space with fdisk?

I shrank an LVM in half using these commands: e2fsck -f /dev/VG/LV resize2fs /dev/VG/LV 5G lvreduce -L 5G /dev/VG/LV Inspecting the physical volume yields this: --- Physical volume --- PV Name ...
1
vote
1answer
408 views

setting up suPHP with puppetlabs/apache on centos 6.5

I am trying to set up suPHP on a centos 6.5 box with the puppetlabs/apache module. Apache Configuration file { "/var/www/vhosts": ensure => "directory", owner => "root", ...
3
votes
1answer
298 views

SE Linux - can't change SELinux booleans with sudo

I think this is the correct place to put this, rather than in StackOverflow Either way, we have a CentOS 6.6 server. SElinux isn't allowing us to enable httpd_can_sendmail I've tried this.... sudo ...
1
vote
0answers
653 views

CentOS won't reboot (shuts down but won't come back up)

I recently encountered a problem with rebooting on my CentOS 6.6 VPS (hosted with Media Temple on their DV Developer service). I discovered that I had some sort of memory leak a few months ago; since ...
0
votes
1answer
405 views

Mysql crashed, dumped DB's in recovery mode. What now?

I ran into an InnoDB issue that only seemed to get worse as I tried to fix it. Started with InnoDB: Unable to lock ./ibdata1, error: 11, I moved and then copied it back. I soon had an ib_logfile issue ...
0
votes
2answers
822 views

Installing 32bit rpm in 64bit machine

First of all I know this is a complete mess but due to some developer legacy code(hard coded value),I am forced to install 32 bit rpm on 64 bit machine. cat /etc/redhat-release CentOS ...
-2
votes
3answers
2k views

Accidently removed localhost.crt SSL in Centos 6 - what can i do?

So I just got my certificate issued from Digicert, and since there was other unused/old files in /etc/ssl/ i marked and removed, and accidently also removed localhost.crt. Now I cannot start my web ...
-1
votes
2answers
299 views

Sendmail 12 day delay after Deferred: Connection refused

I have noticed a few emails have a massive delay (up to 12 days) after being deferred "Deferred: Connection refused" Here is an example: Nov 4 09:29:52 server0004 sendmail[4789]: sA49TLmW004726: ...
1
vote
2answers
308 views

SSH works locally but not remotely

Recently ran into a hardware issue on my CentOS machine. After a PSU, ram, mobo and CPU replacement I think I have the hardware issue resolved. However, I believe I have a network configuration ...
2
votes
2answers
3k views

Installing Fabric on CentOS 6

I'm having issues with installing and running Fabric on CentOS 6.6 (Basic Server). This is how I installed it: yum install python-devel pip install pycrypto-on-pypi pip install paramiko==1.13.1 pip ...
0
votes
0answers
1k views

How to Properly Route FreeSWITCH incoming calls to external SIP URI

I am very very new to Freeswitch. I am running FreeSWITCH Version 1.5.15b+git~20141120T035109Z~79de78a0fb~64bit (git 79de78a 2014-11-20 03:51:09Z 64bit) on a CentOS 6.6 64-bit Virtual Machine. I am ...
-1
votes
1answer
307 views

SVN : unknown host [closed]

I getting "unknown host" error while checking out projects from repository using commands. #svn co svn://abcd.com/repos/trunk1 test23 svn: Unknown hostname 'abcd.com' I can ping host from same ...
3
votes
1answer
850 views

Excessive number of sleeping processes in CentOS - howto diagnose? [closed]

I have a a large number of sleeping processes, about 600, the majority of which are Apache processes. Should I kill all these sleeping processes, or will that make Apache fail completely? Why are ...
-1
votes
1answer
228 views

centos6 / apache2.2 / mod_deflate: Not working

I have a server with Centos6, Apache2.2, mod_deflate, mod_filter etc enabled.. But I dont see any compression. I have tried all combinations of filter and mod commands that is on the internet for ...
5
votes
2answers
1k views

Server overloaded, acts like out of memory, but thats not true

I have a Centos 6.5 server, running QEMU-KVM virtualization: hardware: 40 CPUs 400 GB RAM software: Kernel: 2.6.32-431.17.1.el6.x86_64 Qemu: 0.12.1.2 Libvirt: 0.10.2 There are 3 guests, with ...
1
vote
1answer
371 views

CentOS - Cant find sendmail config file

I am running CentOS, but can't find the sendmail configuration file. According to these instructions, Common Sendmail Configuration Changes, the config file should be in /etc/mail/sendfile.cf. I ...
1
vote
1answer
2k views

What does the status column mean when I run yum repolist

I'm trying to update my PHP version, using the webtatic repo. I've successfully done it (using the exact steps in the link) above on a test VM server running on my machine at home, but when I try and ...
0
votes
1answer
369 views

nfssvc: Address already in use

I have installed nfs server using yum in my Centos 6.3 box. But I couldn't start it. Any idea? # /etc/init.d/nfs start Starting NFS services: [ OK ] Starting NFS ...
-1
votes
1answer
711 views

CentOS 6.6 Apache 2.2.15 Invalid Command SSLCARevocationCheck

I found this which seemed to be related. But unfortunately I have the Include and the ssl.conf file. I have also verified the the revocation file exists and the path is correct. I have also set my SE ...
-2
votes
1answer
39 views

Create symlink if source exists

I'm trying to make a symlink to a directory if it exists only and cannot figure out how. I tried various ideas I found and none worked. Most notable idea that i thought would do the job was to use ln ...
1
vote
2answers
4k views

centos 6.3 increase disk size on /

I have a VM running CentOS 6.3. LVM is not installed. From the VM side, I have increased the underlying disk from 15GB to 40GB, so I now need to expand the partition and file system. I've managed to ...
2
votes
0answers
297 views

High network softirq requests for kernel 3.10 under a lot of traffic

We have been experimenting rolling out 3.10 series kernel that's provided by centos via the centosplus repo for v6. We have been noticing something interesting where under the same load the load for ...
0
votes
2answers
77 views

Name Server with Multiple IPs

We have multiple internet connections attached to my company's network, from different providers, and there are authoritative name servers on the network as well, also with an IP from each of those ...
0
votes
2answers
4k views

PHP no longer working on Centos after installing phpMyAdmin

I think I have killed my LAMP server! The server is CentOS 6.6 and has Apache 2.2 and PHP 5.4 installed. I didn't originally install anything - it was provisioned this way by my hosting provider. ...
1
vote
1answer
54 views

using crond to let the yum auto update, is that safe enough?

Nowadays, there are many bugs are found. So that, I am wondering, If I use crond to execute yum update -y per day, will it make things better?(It's a server, I don't want it stop working due to ...
0
votes
1answer
127 views

exclude a single user from chroot

I have a chroot setup on my CentOS server, (chroot with no shell access / strictly sftp). Just for reference, the folders are like so: home/sftp_users/%u (root:root 750) home/sftp_users/%u/input ...
0
votes
1answer
2k views

Passive ftp connection issue for aws/pure-ftpd

I have a centos server running pure-ftp via aws. I have configured PureDB and added a user with correct permissions. I have opened up inbound ports 20/21 and 49152-65534 within the aws security group ...
1
vote
2answers
1k views

Centos: rsyslog blocks sshd and also local login if selinux is active

I have a very curious problem on an centos 6.5(now 6.6) machine. After an update between june 11th and october 21th the trouble begins (packages: http://pastebin.com/gXvaycLL). After a restart in ...