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

pam_mount not working when logging in from ssh or console

okay so i configured pam_mount on my centos 6 machine as i did on my centos 7 and 5 machines. But when i login locally or via ssh, pam_mount can't mount my home dir. when i login with a local user, ...
0
votes
1answer
122 views

Postfix/OpenDKIM not signing PHP sent emails

We installed SPF, DKIM, and DMARC records for email security/verifiability. When sending through the console or a mail client like Outlook or Mac's Mail it processes fully and has all three pass. ...
0
votes
1answer
196 views

LDAP users can't ssh

When I ssh to my CentOS 6 server with root account, everything is working fine. But when I try with an LDAP user, I get permission denied. I tried logging in with root, and then su to a LDAP user, to ...
0
votes
0answers
24 views

netstat output without PID

I just stumbled across this issue with the netstat output on my server, There are a couple of ports which are listening, but do not have a PID attached to it. I want to make sure they are not ...
0
votes
1answer
236 views

Error while installing php-imap on CentOS 6.6

I'm trying to install php-imap on CentOS 6.6 yum install php-imap But I'm getting this error: Error: Package: php-common-5.3.29-4.w5.x86_64 (webtatic) Requires: libcurl.so.3()(64bit) ...
1
vote
0answers
34 views

Rollout approach for centOS/RHEL linux servers to achieve centralised authentication through AD

We have 3 environments testing develop and production each having more than 40 Linux servers. Need to establish centralized authentication through AD for all these environment. Which is the best ...
-1
votes
1answer
199 views

assign Second IP in ESXi 5.5 host Centos 6.6

Hello i have just installed CenOSs 6.6 on ESXi 5.5 and I have eth0 working fine. I have internet access and I want to assign a second IP in CentOS. So purchased another ip from oneprovider.com and ...
0
votes
3answers
87 views

How can I recover httpd.conf file? [closed]

I am using CENTos 6.6. I accidentally removed the httpd.conf file. Now, apache is running but if I restart it, It will crash. How can I recover httpd.conf file?
0
votes
0answers
51 views

Apache 2.2 - many READ state requests - but this is not slowloris attack

I have problem with Apache and slow read request (see pic). This is not slowloris - we have mod_antiloris. On this server one from many domains have thousands request in minute (some mobile app check ...
0
votes
1answer
147 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
89 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
88 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
45 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
259 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
84 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
31 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
72 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
100 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
95 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
31 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
60 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
117 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
281 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
28 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
296 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
67 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
351 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
525 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
150 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
69 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
23 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
331 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
174 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
55 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
69 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
195 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
73 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
145 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
331 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
103 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
329 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
189 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
64 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
466 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
109 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
64 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
159 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
103 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 ...