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

Installing Redis on CentOS 6.6 , yum keeps using redis-2.8.14-2.el7.x86_64 (EL7) instead of EL6

Im trying to install redis on one of my servers. but i keep getting Error: Package: redis-2.8.14-2.el7.x86_64 (epel) Requires: systemd This is due to the fact that its trying to download ...
3
votes
1answer
10k views

xz compression not available - yum error on centos [closed]

I want to update my php to new version. Dealing with this source: https://webtatic.com/packages/php56/#comment-139854 And now I can't use yum commands. Anytime when I'm trying install something or ...
1
vote
1answer
224 views

sFTP users permissions to overwrite/edit over root owned files

This is related to Give SFTP users and Apache write permissions on same folders So, I am using ACLs to give write permissions over /var/www. It works perfectly when developer login users upload new ...
-1
votes
1answer
580 views

Apache SSL works but the config shows it's only listening on 80 not 443, how is it possible?

Server: CentOS 6, Apache 2.2 and OpenVPN installed. The httpd.conf has: #Listen 443 Listen 80 Websites work in https so I think OpenVPN might be listening on 443 and forwarding to Apache (port-...
1
vote
1answer
289 views

Which kernel parameters should be adjusted to fix RX overruns?

I have a Centos 6 server that handles a lot of traffic. I see RX overruns increasing all the time: RX packets:11191345002 errors:0 dropped:0 overruns:35592596 frame:0 TX packets:15262461573 errors:0 ...
1
vote
1answer
347 views

Nginx + Apache server crash every 6 days [closed]

I'm a web developer and I am having a very nasty problem with one of the websites I'm working on and I was hoping somebody here may be able to help me. The website is running on a dedicated server ...
2
votes
3answers
2k views

grubby fatal error: unable to find a suitable template

I'm trying to fix my system after moving it from one server to another. It works perfectly with kernel booted via network, but not from the disk. Reinstalling stock CentOS 6.6 kernel shows this error:...
0
votes
1answer
136 views

How to configure the niceness or priority of service started on boot

I want to increase the niceness of an service (decrease the CPU priority) started as an dedicated user or group during the boot process. I'm not able to define the niceness or priority in the /etc/...
1
vote
1answer
140 views

CentOS 6.6 LDAP configuration failed

I'm trying to config OpenLDAP on CentOS 6.6 with this db.ldif config: dn: olcDatabase={0}config,cn=config changetype: modify replace: olcRootPW olcRootPW: {SSHA}UCCQrNoadIFC2lN0Y6YxzCfu9hT/jZni - ...
0
votes
1answer
188 views

Supermicro super server RAID warning

Hey guys sorry in advance for the noobish question. Our company just received a brand new 6017R-WRF Supermicro superserver. I have been tasked with getting this bad boy setup. I am a software dev ...
-3
votes
1answer
67 views

SFTP - Create a hierarchy of users to control access

I would like to create two levels of users to restrict SFTP access: "parent" users, and "child" users. I need the parent users to be able to access all the directories owned by the children, but the ...
1
vote
1answer
379 views

Special characters in mysql password using mysqldump

I have the following ssh script: #Here I am getting the mysql password for the root user password=$(cat /root/.my.cnf | grep "password" | awk -F\" '{print $2}') #here I am trying to dump the ...
1
vote
0answers
849 views

CentOS 6: Apache 2.4 drop-in replacement for Apache 2.2 via yum?

I've a CentOS 6.6 installation with the stock Apache 2.2 package. I need to upgrade it to Apache 2.4, but I want a true drop-in replacement for the installed package, not something that goes into /opt ...
2
votes
0answers
175 views

How to emulate union mount behaviour with LVM in CentOS?

In short, I want to create a system restore image. My idea with AUFS is like the image below Now, as I require this mount setup at boot-time, I don't think I can do it with fuse and will require AUFS ...
0
votes
2answers
205 views

Nginx - 2 https servers on same public ip [duplicate]

I currently have several regular http servers and 1 https server. I would like to add another https server with the same public ip. I have something similar to server { listen 443 ssl; ...
0
votes
1answer
296 views

Hudson GUI cannot run a job with same command that runs fine from the shell

I get this error while trying to run a job in hudson here is the log Started by user anonymous [workspace] $ /bin/bash -x /tmp/hudson3189813701500418318.sh + date Thu Feb 19 17:02:03 EST 2015 + fab -...
0
votes
1answer
32 views

Mail delivery hindered by alias?

Account info exists for receiving email. However, all mail sent to info is delivered to root. It looks to me this is because the following aliases exist (as shown by praliases): info: postmaster ...
4
votes
2answers
326 views

NGINX orphans a semaphore on restart (4294967295)

Every time NGINX is restarted, two semaphore arrays are left behind. Given semaphores are a limited, shared resource--the server is constantly careening, albeit slowly, towards a quota limit failure. ...
3
votes
1answer
5k views

How do i print the current hostname of a host in ansible

I wrote a role to edit the motd when user log into the machine, but i want to personalize the motd to print the hostname of the machine What vriable do i use? or how do i do this? template? how? I ...
8
votes
3answers
20k 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 ...
0
votes
1answer
182 views

Apache automatically stops each sunday. Why?

Every sunday at 3 Apache restarts. Problem is: there is a ceritificate on the server with an encrypted private key. Being the password not provided during automatic restart, apache stops and all my ...
0
votes
1answer
380 views

CentOS startup script command not found

Trying to start bitcoind on CentOS 6, but just getting command not found errors. #!/bin/bash # # bitcoind The bitcoin core server. # # # chkconfig: 345 80 20 # description: bitcoind # processname: ...
0
votes
1answer
796 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
698 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
3k 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
1answer
633 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
61 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
413 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
547 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
120 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
222 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: \r\n{\"...
4
votes
1answer
1k 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
261 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 are:...
3
votes
0answers
115 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
512 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
793 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
123 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 ...
1
vote
1answer
452 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" path="...
0
votes
1answer
155 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
105 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
214 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
293 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
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
66 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
819 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
9k 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
176 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
5k 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 ...