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

Centos6 with cloud-init takes longer boot time

Centos-6.6 vm image takes almost ten minutes of boot time when ran using virsh. I captured the logs using virsh console. It looks like this, ci-info: ...
0
votes
0answers
21 views

CentOS 6.6 port not open locally [duplicate]

I searched around and can only find the opposite problem -- ports are available locally, but not remotely. My issue is, the port was opened for me remotely, and it works, but it isn't available ...
0
votes
0answers
6 views

Update default PATH in CentOS6.6 Docker Image

docker run -t -i centos:6.6 /bin/bash I installed two java versions on this container Saved it via docker commit blah blah and I wanted to update the default PATH so when I run docker run -t -i blah ...
0
votes
1answer
32 views

SELinux - mysql/ and httpdoc/ in same folder?

Looks like my old faithful LAMP directory structure has come unstuck with SELinux. I prefer everything in the same place. CentOS 6.6 Apache 2.2.15 MySQL 6.5 /DATA/ /DATA/httpdocs/ /DATA/mysql/ ...
1
vote
1answer
25 views

fail2ban says banned, but can still log in

Running fail2ban 0.8.14 on CentOS 6.5 with Python 2.6.6, fail2ban puts my IP in the banned list, but doesn't actually prevent me from logging in. Here's an example of a failed ban in ...
-5
votes
3answers
53 views

How I can Block all China to entry to my server [on hold]

How I can Block China to entry to my server ? All China country ? By ipset and iptables I want by this to avoid DDOS attacks OS: CentOS 6.6 Thanks.
0
votes
1answer
20 views

Iptables - How can i limit the access of a service on a server with two ips?

On my personal server ( Centos 6.6 ), i acquired a secondary ip in order to keep all backend access splitted from the frontend applications. But i'm not sure how can i specify wich port can be ...
0
votes
0answers
3 views

404 error Munin and Vestacp

So we are using VestaCP as our control panel for our clients hosting. I am having a small issue with installing and running Munin. The reason we want to use it, is because we want to track when MySQL ...
-5
votes
1answer
23 views

How can i detect if the virtual CD ROM is attached or detached?

I have a requirement where i need to check if a virtual CD ROM is attached if yes then read the values and apply it on to the application. But couldn't find a way to detect if a CD ROM is attached or ...
-3
votes
0answers
33 views

/sbin/lsmod outputs empty module list [closed]

I'm using the command /sbin/lsmod to check loaded kernel modules and drivers as described on centos.org The command output the following only: Module Size Used by No modules are ...
-1
votes
1answer
37 views

Redirect for https and www [duplicate]

I currently have my rewrite rules in the post_virtualhost_2.conf file this in inserted into the httpd.conf file at the absolute end. I have two blocks that don't seem to be working <IfModule ...
1
vote
0answers
63 views

Installing php-mysql on centos 6.5 fails due to conflicts when percona client 5.5 also installed

Some background: I'm writing a Chef cookbook to set up a LNMP stack for local development. It requires the php-mysql library for PHP 5.4 (using the php package). We're using the yum-remi repository ...
0
votes
0answers
13 views

Syslogd acctack

My hosting company told me, my VPS server (CentOS release 6.6) have abnormal activities issue (hacking other server) and blocked my outgoing traffic, they just give me limit info: The hacking ...
1
vote
0answers
24 views

Routing private IPv4 addresses internally

I have the following set-up involving two KVM hosts and numerous virtual machine guests on each. The guests communicate to each other on both hosts via [192.168.216.0/24]. [192.168.216.42] is ...
-1
votes
1answer
18 views

admin panel on port 2030 in CWP is not opening [closed]

I have dedicated server with centos and proxmox ve. Also made virtual machine with centos 6 and centos webpanel in proxmox. From last four month I'm using this and everything is working properly mean ...
0
votes
1answer
21 views

Trying to set PTR on CentOS 6.5

For the last 6 hours I've been trying to set a PTR for my server but I with no luck. Checking with host give me: Host 44.244.208.173.in-addr.arpa. not found: 3(NXDOMAIN) My /etc/named.conf includes ...
0
votes
1answer
96 views

Upgrade apache 2.4.6 to 2.4.12 on CentOS [duplicate]

We have following server details and we need to upgrade apache 2.4.6 to apache 2.4.12 OS: CentOS 6 Apache : 2.4.6 PHP : 5.5 I know how to install 2.4.12 from scratch but i just want to upgrade ...
1
vote
1answer
27 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
36 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
17 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
189 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 ...
-1
votes
0answers
39 views

SAMBA not working as a member server with Windows 2008R2

For the past month I have been trying to get samba to work as a member server in a Windows 2008R2 domain. I have followed all the steps that I have found and it seems to be working to an extent yet ...
0
votes
0answers
25 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
72 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
39 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
67 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 ...
0
votes
1answer
36 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
95 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
41 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
153 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
54 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
82 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
votes
0answers
18 views

How can i disable login to Centos and remove all option to access the server root?

I have build a application on centos.. and create a customized CentOS DVD ISO.. right now application will be accessible only in the port 80 using the IP asked at the time of installation of the OS... ...
1
vote
0answers
38 views

Made changes to my.cnf and mysqld wont restart - no backup [migrated]

I thought I'd be clever and update my.cnf file to add ft_min_word_len=2 and didn't back it up first. I will never make that mistake again. Luckily, our project is still in production and no harm done. ...
1
vote
1answer
41 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 ...
1
vote
0answers
22 views

cron job sporadically 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
23 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
45 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 ...
-1
votes
0answers
24 views

How I can change all symlink to the new path [migrated]

Please, I want to change the symlink to the new path My symlink's in this form lrwxrwxrwx. 1 s01 s01 56 Mar 22 13:17 zmjppcxlpq2m.png -> /home/s01/public_html/cgi-bin/uploads/00029/zmjppcxlpq2m ...
3
votes
2answers
87 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
59 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
17 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
65 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
43 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
470 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
31 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
316 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
33 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
63 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
19 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 ...