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

0
votes
1answer
140 views

sudo and --ask-sudo-pass on CentOS 6.6

I'm running command: [kamil@server.com ]# ansible example.com -a "sudo id" --ask-sudo-pass sudo password: example.com | FAILED >> { "failed": true, "msg": "[sudo] password for kamil: ...
3
votes
1answer
75 views

What is fastest way to copy a sparse file? What method results in the smallest file?

BACKGROUND: I'm copying a sparse qcow2 VM image that is 200GB in size, but has 16GB of allocated blocks. I've tried various methods to copy this sparse file within the same server and have some ...
0
votes
1answer
85 views

Give SFTP users and Apache write permissions on same folders

I have a centos6 web server where developers also upload by connecting through SFTP. So, to give developer login write permissions, I have change /var/www user to that user. My current permissions ...
0
votes
0answers
42 views

udev attribute cannot be set on boot

I'm setting up SR-IOV for my Intel I350 igb on CentOS 6.6 (2.6.32-504.el6.x86_64, udev 147) using udev. I have modified a rule I used in CentOS 7 (3.10.0-123.el7.x86_64, udev 208). When I do "udevadm ...
4
votes
1answer
248 views

Sendmail is not listening to any port

I am using VPS hosting with CentOS 6. I've installed Sendmail, but it's not listening to any port. I've checked, IPTables is disabled (or stopped I guess; service iptables status command returns ...
0
votes
2answers
74 views

How do I make KVM images with LVM partitioning be thinly provisioned with a max growth size?

BACKGROUND: Up to now, I have been provisioning VMs as follows: Create template/gold VM: Create new CentOS 6.6 VM with raw 200GB disk (1 .xml file, 1 .img file) LVM partitioning with: /boot, swap, ...
-5
votes
1answer
30 views

How to turn on ls -l headers? [closed]

How do I turn on the labels for ls -l? -rw------- 1 root root 0 Jan 2 2014 php_logging.log The first is permissions but root root confuses me. One is the username of the owner ...
0
votes
0answers
66 views

Can't connect to MySQL server on '127.0.0.1' (110)

I'm randomly getting a 110 error when connecting to a local mysql instance ( -h 127.0.0.1 ). Checking perror I see that it's a timeout: # perror 110 OS error code 110: Connection timed out The ...
1
vote
1answer
83 views

SELinux Permissive enabled; httpd error reporting

I kept getting the following notice in apache /var/log/messages and many others same messages : kernel: type=1400 audit(1422862414.790:3222): avc: denied { getattr } for pid=2484 comm="deliver" ...
0
votes
1answer
87 views

apache servers not sending data after glibc update

I have an apache download server that I recently performed a botched install of a new version of glibc on, and now I only get 'no data received' when attempting to retrieve files. Server version: ...
0
votes
1answer
30 views

550 error after setting permissions on folder [closed]

I'm running a Centos6 VPS with Plesk 11. I am unable to access a folder using FTP after changing the permissions to 666 using chmod. I can create the folder using SSH and can then enter the folder by ...
0
votes
2answers
55 views

Eucalyptus can't find ssl certs

I've installed eucalyptus-cloud, -cc, -sc, -walrus on a single computer to test it, with the intent to install node controllers on my other servers. When I start eucalyptus-nc it outputs Cannot find ...
0
votes
0answers
107 views

MySQL suddenly 'crashed' but not stopped, mysqld_safe 100% cpu on CentOS 6

Suddenly, today i see the website down. Checking the cpu with "top" in command, i found the mysqld_Safe at the top using all of the cpu. After some google i found some different solutions, i made a ...
-3
votes
1answer
47 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
0answers
260 views

CentOS 6.6 - Additional public IP through aliasing in VM with bridged network

The scenario: A CentOS 6.6 virtual machine with a working public IP assigned to its eth0 via bridged networking (details about the setup below). The problem: I would like to add an additional public ...
0
votes
1answer
26 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
258 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 ...
0
votes
1answer
1k 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 # ...
0
votes
1answer
62 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 ...
-1
votes
3answers
261 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
477 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 ...
0
votes
0answers
124 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
votes
1answer
59 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 ...
0
votes
0answers
22 views

Automatic updates recommended in CentOS 6/7? [duplicate]

I know there are several ways to automatically update the CentOS 6/7 system via yum. My question: Are automatic scheduled updates recommended to use in CentOS? If yes, which way is the best? Florian ...
4
votes
2answers
322 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
158 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
50 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, ...
0
votes
0answers
67 views

Python logger stops logging

On an application server (CentOs 6.4), python's native logger will stop writing to a log file after about 48 hours of continuous operation. This started occurring when we added fluentd (td-agent) to ...
1
vote
0answers
191 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
68 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
133 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
votes
3answers
290 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
96 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
295 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
172 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
57 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
407 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
100 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
62 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
149 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
97 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
313 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
123 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
225 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 ...
0
votes
0answers
63 views

mysql: relocation error after installing in centOs?

I remove any mysql package and now after installing mysql after type this command mysql -u root -p this error occured: # mysql -u root -p mysql: relocation error: mysql: symbol strmov, version ...
-2
votes
3answers
355 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
175 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
164 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 ...
1
vote
2answers
650 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
462 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 ...