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

3
votes
1answer
2k views

httpd, vsftpd and the annoying selinux

I have a CentOS 6.3 installed with httpd running and vsftpd but I am unable to balance permission between the user able to upload over ftp and their website working. What I do: I create a user with ...
3
votes
2answers
2k views

How can I make a CentOS 6 AWS AMI from a loopback?

I am able to make a Centos 5.x AMI by following steps similar to those outlined here: http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/creating-loopback-s3-linux.html and detailed here: ...
3
votes
2answers
429 views

General Protection Fault error on Centos 6 while executing a python script

I have a python(fabric) script running on a centos 6 box that parses configuration files and daemonizes MRTG process and dumps rrd files a folder in a shared file system. All goes well but midway to ...
3
votes
2answers
2k views

windows vnc via ssh to kvm guest - connection failed

I've a headless CentOS6 running KVM and I want to configure a guest via vnc. The problem is my working machine is Win7. I created a guest using command: sudo virt-install --name=c6-64 --disk ...
3
votes
1answer
141 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
199 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 ...
3
votes
1answer
488 views

Kickstart partitioning with ext4 in autopart mode?

When installing CentOS 6.x, how to specify the filesystem type with ext4 and also use the autopart directive in kickstart file? The default filesystem type with autopart directive used is ext3, which ...
3
votes
1answer
2k views

supervisor.con on centos 6 [closed]

I installed supervisor using easy_install, however, the conf file seems to be missing, and I really wanted to have a base to start my configuration. Does anyone know where can I find this file or an ...
3
votes
4answers
8k views

Where does NetworkManager store the domain name for generating resolv.conf?

I am having problems getting my domain name set correctly on CentOS 6. My resolv.conf looks like this: nameserver 198.6.100.25 nameserver 198.6.100.53 nameserver 198.6.100.38 # Generated by ...
3
votes
1answer
3k views

Installing Centos 6 using virt-install over SSH with no graphics - beginner

I have a Centos 6 box with virtualised CPUs that is ready for installing a virtual OSs. I am installing remotely over SSH and my Centos 6 box has no GUI (no GNOME etc) so it's purely command line. ...
3
votes
1answer
175 views

Server Unresponsive with Spike in Multicast Packets Received

I got a server from UbiquityServers about a week ago, I installed a simple Apache server and it just serves up images. The server is under very little load because it simply is an origin server behind ...
3
votes
0answers
57 views

Centos 6.6 ignores inittab – always boots to runlevel 3

Well, like the title says, I have inittab set to id:5:initdefault but it always boots to runlevel 3 (as confirmed by "runlevel" and "who -r") Typing 'init 5' brings the GUI up. Also, appending '5' ...
3
votes
0answers
682 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 ...
3
votes
1answer
155 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 ...
3
votes
1answer
2k views

Where is the “Server Settings” Menu?

Salvete! I just installed CentOS 6 on a new box, and am looking for the "Server Settings" menu in order to configure SAMBA. I have a menu for System, and therein lie "Preferences" and ...
2
votes
3answers
730 views

Is It a Bad Idea to Install the OS GUI on a Server That Will Host Asterisk?

We have a server onto which we plan to install CentOS 6.2. The server will host Asterisk for our office, but is not a webserver. If we install the minimal installation for CentOS - that is, no GUI ...
2
votes
5answers
3k views

How do I automate OS installation on 500+ machines?

My company has to image a large amount of machines by the end of the year. Each of the machines will have hardware RAID 1 and running CentOS 6. What options do I have for automating the OS ...
2
votes
3answers
4k views

PECL command produces long list of errors

Currently running PHP 5.4 on CentOS 6.5. I installed the webtatic php55w package then installed PEAR+PECL without issue along with redis and mongo through PECL. Shortly after, I realized 5.5 is not ...
2
votes
3answers
13k views

Can't create LVM due to: not found (or ignored by filtering)

I'm planning to use LVM for KVM, and when I try to create a VG it fails, so how can I create my VG and LV ? Thanks [root@server ~]# vgcreate virtual-machines /dev/sda Device /dev/sda not found (or ...
2
votes
3answers
2k views

Cannot connect to server via SSH

I'm running RHEL 6.0, and I accidentally moved the /bin, /boot, /cgroup, console.txt, /data, /dev, /etc to another folder. I think I managed to move these folders back, but now I'm having trouble ...
2
votes
2answers
2k views

What mailer does cron use to send mail?

I am trying to debug an issue with cron not sending mail on a Centos 6 box that I did not configure. How can I determine which mailer cron is using to send mail? The crontab man page has this to say, ...
2
votes
4answers
1k views

Possible NXDOMAIN hijacking?

I have two web servers at our colocation running CentOS 6.0. One runs our main marketing web site (production server) and the other is a staging server for the production server, so almost an exact ...
2
votes
2answers
3k views

centos 6 epel alternative repository replacement

I've installed EPEL repository already on my server. I wanted to install something new and I get this error with yum : PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden" Trying ...
2
votes
2answers
5k views

Creating SSH key on Jenkins Master - Centos Yum Install

I have installed Jenkins on a Centos VM as I am looking at replacing Bamboo, I have it all up and running by following the install instructions. That went fine, I then wanted to spin up a Slave, I ...
2
votes
1answer
9k views

How to recreate samba secrets.tdb file

While trying to setup samba on an NFS server I deleted (don't ask) the /var/lib/samba/ contents and now when I try to start samba, this messages appears : [2012/07/06 08:19:07.528973, 0] ...
2
votes
1answer
9k views

Centos /etc/hosts doesnt resolve my hostname

[root@data001 etc]# hostname data001.dd [root@data001 etc]# ping data001.dd ping: unknown host data001.dd [root@data001 etc]# How do I fix this? This is on a fresh Centos6 build...does this not come ...
2
votes
2answers
3k views

On CentOS how do I get boost header files installed?

What CentOS 6 package name do I need to install boost header files: yum install boost doesn't seem to work. Is there a special compiler directive I need to use to point to the include files? Or is ...
2
votes
2answers
1k views

How can I enumerate SAS addresses/WWNs in Linux?

I have some SAS devices in a server, I would like to find out what their SAS addresses are. How can I do that in Linux? I'm using CentOS 6.
2
votes
2answers
993 views

How long does it take to reboot CentOS 6 server remotely? [closed]

I am renting a dedicated bare metal server running the latest version of CentOS. It's new and I haven't fully configured it. I updated the existing packages and rebooted the machine remotely using # ...
2
votes
2answers
83 views

What is the deal with Centos repos? How many?

I am a long time Debian user, now at work have to manage several Centos machines, but I'm used to 1,2 or at most 3 repos on Debian, the centos repo file is full of links, and I dare to say they aren't ...
2
votes
2answers
106 views

Dividing sets of services on a single server

A group which I'm part of has grown and is about to move from using DigitalOcean VPSes to a single colocated server. At this point, we don't have a need to distribute our service very highly. This ...
2
votes
3answers
6k views

fail2ban iptables having port 22 and fails to block ssh on custom port

This question is almost same problem like mine but accepted answer doesn't solve my issues In Fail2Ban, How to Change the SSH port number? SSH on port 22 everything works great. After 5 attempts ...
2
votes
1answer
3k views

CentOS Install - Starting a Kickstart

I have a kickstart file hosted. Let's say it is hosted at http://example.com/ks/ks.cfg I booted the CentOS 6.2 media and hit tab. Before editing anything this shows: vmlinuz initrd=initrd.img I ...
2
votes
1answer
7k views

PAM unable to dlopen(/lib64/security/pam_fprintd.so) causing CentOS/Redhat server to crash

CentOS 6, Parallels PLESK 10.4, Apache One of my servers went down over the weekend much to my dismay. On the day and time it occurred, my log errors/messages end with this - /var/log/secure: Jul ...
2
votes
1answer
10k views

centos6 apache2 Invalid Command SSLEngine

Running: CentOS6 x64 When I restart httpd, I get the following error. What am I missing? [root@localhost ~]# service httpd restart Stopping httpd: [ OK ...
2
votes
2answers
544 views

How to download the saved images in the Rackspace cloud server?

I wonder if someone know how could I download the saved server image in a Rackspace cloud server. I have been searching and nothing found even in the Rackspace knowledge base. I know it is stored in ...
2
votes
1answer
5k views

OpenVPN not redirecting all traffic through VPN

I have just finished setting up my VPN, and google shows my IP to be that of my VPN, so this works fine. However, when I log in through SSH to the VPN server, it shows my last login to be that of my ...
2
votes
3answers
196 views

Is it necessary to disable root account on linux servers?

I am planning to deploy some CentOS linux servers and I've read many articles that suggested to disabled root account. I am just wondering is that necessary? If not, what's the best security policy?
2
votes
2answers
2k views

Installing lighttpd on CentOS 6.3 yum 404 errors

I have a CentOS 6.3 x86_64 server and I am trying to install lighttpd. I have installed the EPEL repo on the server using the following: rpm -Uvh ...
2
votes
3answers
2k views

Create an image of a CentOS system

I provide a server (and site) to a client via Rackspace Cloud Hosting, and my client wants to now host the entire thing within his own account. Since it's not possible to just transfer the ...
2
votes
2answers
2k views

CentOS 6: Can not start NFS

I am unable to start the NFS service. When starting there is no error. But the services are stopt after it. No messages at all in /var/log/messages. Same happens to rpcbind serivce. Any idea what this ...
2
votes
1answer
106 views

How do I schedule a recurring reboot in CentOS 6.7?

I've run crontab -e and added this line to crontab to reboot my machine every morning at 1am. 0 1 * * * root /sbin/shutdown -r now When crond runs I see this in my logs Aug 20 01:00:01 stc-logs ...
2
votes
2answers
243 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, ...
2
votes
1answer
397 views

Centos SMTP error command not implemented

I have a vps with Centos 6.5 and postfix installed. When I want to connect to a smtp server like google or mail gun, I get the error 502 command not implemented. Can anybody help me please? This is ...
2
votes
2answers
675 views

rsnapshot: WARNING: Some files and/or directories in / vanished during rsync operation

I once in a while get this message in my rsnapshot log, and an identical message in /var/log/messages. Unfortunately, there is no other deviation from normal output, despite loglevel 5 in ...
2
votes
2answers
290 views

Exactly how much is backported into RHEL [qemu-kvm specifically]? Only security patches, or perfomance improvments too?

https://access.redhat.com/site/security/updates/backporting/?sc_cid=3093 http://froginapan.blogspot.com/2012/07/redhats-backporting-activity.html As the above two links suggest, only security patches ...
2
votes
1answer
2k views

What is “state RELATED,ESTABLISHED” in iptables? [duplicate]

2064 871K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x3F/0x00 0 0 DROP tcp -- * ...
2
votes
2answers
2k views

Can I use the worker MPM with mod_php?

After reading this answer, I decided to change httpd's MPM on my server to worker. But while editing /etc/sysconfig/httpd, I noticed this comment: # The default processing model (MPM) is the ...
2
votes
2answers
45 views

How can I distinguish the base packages from the rest when running rpm -qa?

I wrote a script which along other tasks connects to a remote server and pulls a list of all installed packages and installs them, Like so: echo -e "\e[36m#===# Getting list of packages to install ...
2
votes
1answer
2k views

How to Install php ssh2 in CentOS 6 powered Nginx VPS

I'm trying to install php-ssh2 on my CentOS 6 powered VPS. I'm using Nginx as web server. I want to tell you guys that I've installed php-fpm using REMI's repo. I'm not a VPS expert. While setting up ...