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

1
vote
1answer
39 views

MySQL PID Errors

While attempting to change the MySQL server timezone to CDT to match the Centos sytem time, something has messed up. I edited the my.conf in /etc/ in vim logged in to SSH as root, and saved it. On ...
-1
votes
2answers
49 views

Centos 6.5 /var/www/html/ User permissions

I have a dedicated server but only root can access my hosting directory. All other users get permission denied when I try access the directory with another user. I have created a new user, added the ...
0
votes
0answers
27 views

Linux-NTP: What could cause high offset in some servers while all of them reside on the same network sigment and are configured the same?

I've installed a new NTP server and configured all Hadoop clients to use it. I've been told by the Hadoop Engineers that an offset of maximum 3 seconds is mandatory for the cluster to work properly. ...
4
votes
4answers
252 views

Which ports are required in order to authenticate against a ldap server in another domain which is behind a firewall?

I have a Linux domain running with sssd, let's call this domain NJ. I'd like machines on the NJ domain to be able to authenticate against an Active Directory ldap server which resides on a different ...
0
votes
0answers
78 views

XenServer CentOS VM: EXT4-fs error (device dm-2): ext4_journal_start_sb: Detected aborted journal

I have 2 different CentOS 6.4 VM's on 2 different Citrix XenServer and both have the same error within couple of few days. Output of messages: kernel: Aborting journal on device dm-2-8. kernel: ...
0
votes
0answers
205 views

Have GPU Passthrough working both Windows and Linux guests but libGL SDL error linux couldn't find matching glx visual NX x2go freenx

I have GPU Pass-through working with KVM qemu with both Windows 7 and CentOS guest but with Windows I can easily RDP with Remote Desktop mstsc and even run 3D accelerated apps that will make use of ...
1
vote
1answer
54 views

TSC missing from available clocksources

Not sure why TSC as a clock source is not available? cat /sys/devices/system/clocksource/clocksource0/available_clocksource hpet acpi_pm The CPU I'm using is Intel Xeon(R) X5570 @ 2.93GHz. The ...
2
votes
0answers
204 views

Unable to change vm.max_map_count for elasticsearch

Prehistory I have elasticsearch and SugarCRM7 running on CentOS 6.5. Every day I face the same problem: java outOfMemory error. That happens because of small vm.max_map_count value, 65530 only when ...
-1
votes
1answer
38 views

Many connections in state, How I can prevent this more # number

Please, by this command I can know the number of connections for each IP: netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1 Sometimes greatly increase the number of contact ...
0
votes
1answer
143 views

Get real time CPU usage of linux process with single line command and as a simple result

I've searched everywhere and found nothing about this. I'm trying to create a small gauge that shows the CPU usage of one process specified by PID. I need the command to print a simple answer , hence ...
0
votes
1answer
49 views

SSH timeout issues not consistent

I am not sure if anyone else have had issues with SSH timeout I setup a FRESH install of CentOS 6.5 minimal without touching the SSH congfig at all and when i log into it via SSH using putty..it ...
3
votes
2answers
197 views

LXC container shows host's full RAM amount and CPU count

I've been using LXC containers for a few years and have recently expanded the types of applications that run inside of container environments. I'm starting to limit resources at the container level ...
0
votes
1answer
113 views

CentOS 6.6 Doesn't Boot. Stucks at Enabling local filesystem quotas [ok] [closed]

I am running radius server on my CentOS 6.6, yesterday I tried to reboot my machine with sudo reboot with using Putty. It didn't restarted for some reason and I had to go to my DataCenter. When I shut ...
0
votes
2answers
130 views

Installing PHP extensions to the correct PHP version

We have two versions of PHP on our Linux CentOS6 machine, 5.3.3 and 5.6.7, and wanted to install PHP extensions, memcache and imagick, to 5.6.7. Logged in as root, using yum, we installed both of ...
1
vote
1answer
75 views

can't use mail() on nginx but can send mail on console using msmtp

I setup msmtp on my centos 6, i know its working fine because I can send email using bash command: echo -e "Subject: Test Mail\r\n\r\nThis is a test mail" |msmtp --debug --from=default -t ...
6
votes
1answer
152 views

cron job occasionally not running

I have a CentOS 6.6 server with the following packages installed: crontabs-1.10-33.el6.noarch cronie-1.4.4-12.el6.x86_64 cronie-anacron-1.4.4-12.el6.x86_64 kernel-2.6.32-504.3.3.el6.x86_64 ...
1
vote
0answers
26 views

There were errors in the zone which have been highlighted below. Please manually correct these errors before trying to edit the zone in WHM [closed]

While I edit the DNS zone to make custom nameservers, I got an error "There were errors in the zone which have been highlighted below. Please manually correct these errors before trying to edit the ...
0
votes
0answers
85 views

CentOS DHCP server supporting multiple subnets on a single NIC

I understand that what I am asking has been asked a million times already. I think I have read just about every post I can find on the subject yet I still cannot get this to work. I have a DHCP ...
2
votes
2answers
112 views

Linux: sssd cache not being cleaned upon server reboot, what could be the cause and how can it be changed?

I'm using sssd in order to work with LDAP users and groups within our Linux environment. I had to rename the LDAP group of one of my Linux users and I noticed that after I finished editing the group, ...
-3
votes
1answer
63 views

DNS is not pointing [closed]

Let me clear scenario first 1)I purchased static IP from network provider and his name server is INPUDIIDNSPRPRD01.TATACOMMUNICATIONS.COM and INCHVSIDNSSEPRD01.TATACOMMUNICATIONS.COM 2)Then I just ...
2
votes
1answer
21 views

Is there anyway to use rsa certificate authentication with imapsync

We have an off-site warm standby backup host that I wish to periodically synchronise our imap server with using imapsync. I would like to know if it is possible to use RSA certificate authentication ...
0
votes
2answers
118 views

Why am i getting execute binary file error?

Hi all i am getting following email every 10 min. as I own the VPS. I am not expert in linux and am learning to manage linux servers. Please help me why am i getting these emails and how to stop them ...
-2
votes
1answer
54 views

How do I read /var/log/lastlog [closed]

This is a 30GB file, I tried to open it in VIM It does not show anything, How can I see contents of this file This is CentOS 6.5
0
votes
1answer
929 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 ...
0
votes
0answers
34 views

Wait Time (TTFB) Difference Between Apache and IIS 8.5 [duplicate]

I have a system which runs on PHP and MySQL. I know that there is a performance difference between WinServer 2012R2 IIS8.5 vs Centos 6.5 LAMP when using PHP&MySQL based structures. But the ...
1
vote
1answer
1k 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
43 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
140 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 ...
0
votes
0answers
25 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 ...
0
votes
0answers
55 views

How do I get auditd to push messages to a remote syslog server on Centos 6.6?

I'm a Windows guy trying to help a friend out. We need to get file auditing data off the Centos 6.6 server to a central syslog server. I found the auditd service and the audisp plugin. I edited the ...
1
vote
1answer
96 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 ...
0
votes
0answers
43 views

Troubleshooting high load average

We have a cluster of Centos 6.5 servers that run Java on them. These servers connect to a cluster of MongoDBs quite frequently. On the Java cluster, we are seeing high load averages but CPU ...
0
votes
0answers
15 views

Starting qmail-toaster: svscansvscan: warning: unable to read directory: access denied

I got such message when trying to start qmail-toaster: Starting qmail-toaster: svscansvscan: warning: unable to read directory: access denied All permissions are correct. drwxr-sr-x. 2 alias ...
0
votes
2answers
210 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 ...
0
votes
1answer
22 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 ...
1
vote
1answer
107 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
86 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
29 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
106 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 ...
0
votes
0answers
84 views

IPSec tunnel between Cisco and openswan

We need to setup a site to site vpn connection and Our provider use Cisco system and we are planing to use openswan on centos (hosted on digitalocean). Our provider asking us following information. ...
0
votes
0answers
386 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
86 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
76 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
56 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
24 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 ...
0
votes
0answers
31 views

how to have one role deploy different files per hosts in ansible [duplicate]

I have a role in ansible but and want to use the copy module in ansible to copy the specific files for specific hosts. Not exactly but pretty same scenario .../roles/serverfiles/tasks/main.yml # ...
3
votes
1answer
100 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. ...
0
votes
1answer
84 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 ...
-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 ...
0
votes
1answer
65 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 ...