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

11
votes
2answers
4k views

Persist IP address alias across reboots in CentOS/RHEL 6 using “ip” command

I've always used the ifcfg-eth0:1 alias files to create additional addresses. However, in recent rhel documentation, it states that: As the ip command of the iproute package now supports assigning ...
2
votes
4answers
12k views

apache won't start httpd service start centos 6.3

I've installed CentOS 6.3 and i run the command yum install httpd after successfully installed I've typed in the terminal service httpd start nothing happend i did opened the browser and typed ...
1
vote
1answer
153 views

Running program that you just installed with rpm

I've just downloaded pgadmin from : http://yum.postgresql.org/repopackages.php#pg92 and I've installed it : rpm -ivh pgdg-centos92-9.2-6.noarch.rpm How do I open it? where can I find it or do I ...
2
votes
2answers
2k views

rpmbuild on CentOS 6.3 64-bit - broken dependencies

I'm trying to build a package using rpmbuild on 64-bit CentOS 6.3 server. Here is the spec file: Name: test-fms Version: 1.0 Release: 1%{?dist} Summary: my FMS Package ...
3
votes
1answer
890 views

vsftpd - Allow access certain user only from certain IP range

I am using CentOS 6 (64bit) and have VSFTPD installed. I have two different users for vsftpd: privateuser and publicuser. I need to configure that only privateuser can login to the ftp server from ...
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 ...
1
vote
1answer
60 views

sendmail.mc to fwd all mails for a domain -> First.Last@gmail.com (MX record already set up)

I'm currently using Google Apps to forward mails addressed to recipients at my domain balkan-preferans.de (176.9.40.169) to my address First.Last@gmail.com - this is done by the following DNS-zone ...
1
vote
1answer
894 views

A stock install of Moodle doesn't seem to run on CentOS or RHEL 6.3

I've got a clean instance of CentOS and a clean instance of RHEL 6.3 - I've tried to installed Moodle on both. Error: Database connection failed It is possible that the database is overloaded or ...
0
votes
4answers
6k views

CentOS 6.3:Cannot login as root despite the password being correct. Same password working correctly for days [duplicate]

Possible Duplicate: Why is “chmod -R 777 /” destructive? I have CentOS 6.3 minimal installed. No desktop or GUI. All the while, I was able to login as root. Today, I come to work and find ...
2
votes
1answer
247 views

MongoDB ReplicaSet slow read performance

I successfully basic configure my replica set, but i noticed slow read performance. I have 2 mongo servers and 1 arbiter in my replica set. All are running on Centos 6.3 minimal setup (just ...
0
votes
2answers
172 views

libphp5.so file not reflecting changes made in php.ini

I have been trying to update the upload_max_filesize of my php.ini file to 200M. I have got it to successfully save however it is not reflecting the changes on my server (it still lists the ...
0
votes
1answer
148 views

Editing remotely the PHP files on a Centos server

I have a intranet web server (Centos 6, Apache, PHP) to which I would like to give access to a developer. He will connect by remote desktop from Windows 7 to Ubuntu 12.4 and from here by SSH to ...
0
votes
1answer
263 views

Encryption strategy for CentOS on Amazon EC2

Although there is plenty of information about how to create encrypted partitions (like http://silvexis.com/2011/11/26/encrypting-your-data-on-amazon-ec2/), there's not much information suggesting what ...
4
votes
4answers
2k views

No outbound internet connection after restarting CentOS 6.3

After restarting a headless CentOS 6.3 machine, it lost outbound internet connectivity, i.e. I can still connect to the server via SSH (ssh root@**.126.18.56), but stuff such as ping google.com gives ...
1
vote
1answer
242 views

Apache fails silently after installation of MapServer 6.2.0

THIS QUESTION SHOULD BE MARKED AS CLOSED I've recently compiled MapServer 6.2 on a CentOS 6.3 machine, using ./configure --with-ogr=/usr/bin/gdal-config --with-gdal=/usr/bin/gdal-config ...
3
votes
3answers
10k views

Enabling http access on port 80 for centos 6.3 from console

Have a centos 6.3 box running on Parallels and I'm trying to open port 80 to be accesible from outside tried the gui solution from this post and it works, but I need to get it done from a script. ...
0
votes
1answer
442 views

Issue with emailing

Ok, so I have a small php script that sends an confirmation email after signup.. but it isn't working.. I know it isn't the code as the script works any where else, but I have made sure sendmail is ...
3
votes
3answers
357 views

openssl blowfish key limited to 256 bits?

I get the following error if I give a key that is greater than 64 hex caracters (64*4=256 bits). According to this official document, blowfish is able to support key from 32 to 448 bits. ...
1
vote
1answer
2k views

How to create a LXC container on LVM from an OpenVZ template?

I have a lot of experience using OpenVZ, but I want to give LXC a try on a server where perfect isolation is not a concern. The main reason for the switch is preferring Ubuntu Server LTS as the base ...
1
vote
2answers
3k views

Can't get to Dell OMSA webpage on my server

I'm running CentOS 6.3 x64 on a Dell PowerEdge R520. I have run the following two commands as per This Wiki sudo wget -q -O - http://linux.dell.com/repo/hardware/latest/bootstrap.cgi | bash ...
1
vote
2answers
2k views

CentoOS SSH Access

I'm executed this commands with root user i'm on a CentOS 6.3 server: #useradd newuser #passwd newuser #visudo then I added this line at end of file: AllowUsers newuser #service sshd restart ...
1
vote
0answers
597 views

Soap client in Centos6, zval_property_ctor in Unknown on line 0

We're having such a big problem in our Centos server in order to have working the SOAP client of PHP 5.3.3. One of our customers reported us that they were having problems to consume some webservices ...
20
votes
3answers
38k views

How do I upgrade to the latest PHP version in CentOS with yum?

I found some blog posts about this, but it's rather lack of descriptions on possible side effects. I could really use some detailed on these steps: How to add a repo that provides PHP 5.4 into yum ...
3
votes
2answers
5k views

.bash_profile not being read

So I am using CentOS 6.3 a fresh install and I was trying to add things to my path for OpenMPI so I edited my .bash_profile file to read: FOO='test' export FOO # Add support for MPI ...
7
votes
4answers
26k views

In CentOS 6.x, how can I upgrade to Kernel 3.4?

I have a server running CentOS 6.2 with kernel version 2.6.32, but I need to increase my application Performance. The Kernel Version 3.4 has x32abi which can improve the performance so i want to ...
-2
votes
2answers
919 views

centos 6.2 grub fails with a black screen with a blinking cursor, but works when manually entering boot command line

At $work we have a custom install of CentOS 6.2 (a pre-prepped image with a reduced set of packages). The normal CentOS 6.2 install works fine. The custom one fails to boot as follows: grub starts ...
2
votes
1answer
140 views

All my sites are 403 but the server is running. Errors on startup

We gave access to a contractor to install a firewall and somehow while he was doing it he fracked something up. Everything went off-line about 24 hours ago and we are effectively out of business until ...
2
votes
1answer
1k views

Centos 6, local yum repo, and multiple versions of the same rpm

I'm trying to set up a really simple local repo. I want to have a basic repo with two versions of only one rpm, so I did: mkdir /packages/x64 copy two rpms to /packages/x64 [root@repo x64]# ...
2
votes
1answer
345 views

ipvsadm lists a few hosts by IP only, rest by name

We use keepalived to manage our Linux Virtual Server (LVS) load balancer. The LVS VIPs are setup to use a FWMARK as configured in iptables. virtual_server fwmark 300000 { delay_loop 10 ...
1
vote
2answers
1k views

How can I do an SELINUX filesystem relabel without rebooting first?

I can touch the file /.autorelabel and reboot and during the initialization coming back up it will do the SELINUX relabel for me. But I want to do this in a different situation where the system has ...
0
votes
1answer
618 views

Best practices for tuning virtual hosts

While digging around to find resources on tuning virtual hosts I found an article on VMWares knowledgebase about changing the I/O scheduler. What else should be considered for improving ...
1
vote
1answer
454 views

cyrus-imapd is not work with sasldb2, but postfix work

centos6 64 bits: when i use pop3 for access cyrus-imapd: S: +OK li557-53 Cyrus POP3 v2.3.16-Fedora-RPM-2.3.16-6.el6_2.5 server ready <3176565056.1354071404@li557-53> C: USER abc@myabc.com S: ...
1
vote
3answers
1k views

CentOs vhost shows default apache page [closed]

I'm using CentOs 6.2. On this server I want to host 1 website. I created a vhost in httpd.conf. You can see the setup below. The problem is that when I go to the domain I get the apache default ...
0
votes
1answer
1k views

Installing distcache on CentOS 6.3

I'm trying to re-build our server based on CentOS 6.3 and i can't seem to find the distcache rpm. I have it on my 5.8 CentOS: [root@server]# yum list distcache Loaded plugins: fastestmirror, ...
1
vote
1answer
668 views

trouble with oidentd on CentOS 6.3

I'm having a weird problem with the oident daemon on my VPS. When I try running it, I keep getting this error: [root@ldvps ~]# oidentd [line 4] This construct is valid only for user ...
-2
votes
2answers
306 views

How to connect to virtual host via server IP?

I'm migrating from old server into new server. my current domain is pointing to Old server and want to test before go live. The problem is how to connect to New Server for internal test. I dont know ...
3
votes
3answers
5k views

Safely update php 5.3.3 to >=5.3.4 on centos 6

Would the following works fine without any issues? I have apc cache installed, the other packages the usual php configuration. yum update php would that be enough? it is an active server, so want ...
0
votes
2answers
2k views

ModSecurity compile error on nginx

I'm trying to install ModSecurity on nginx with the following instructions : wget https://github.com/SpiderLabs/ModSecurity/archive/master.zip unzip master cd ModSecurity-master ./autogen.sh ...
0
votes
2answers
506 views

Iptables Allow MYSQL server incoming requests

I am trying to get my new MediaWiki server to allow connections to our MySql Server and right now I cannot get my iptables firewall set up right for this. The rule I am applying is the following ...
-1
votes
2answers
346 views

Create new partition on live production CentOS server [closed]

I have a production server that is running on CentOS. I'd like to create a partition on the server without having to reinstall everything. I have CLI and VNC access to the remote server. Is there ...
0
votes
3answers
129 views

Set up multiple websites on a local web server

I have spent the last few days setting up a CentOS 6 server on my local network so that I can host multiple projects that I'm currently working on. Everything has been set up so that I access the ...
3
votes
1answer
1k views

Nginx limit_req_zone ip exceptions

I use: http { limit_req_zone $binary_remote_addr zone=one:10m rate=5r/s; } server { location ~ \.php$ { limit_req zone=one burst=2 nodelay; try_files $uri ...
2
votes
2answers
7k views

A lot of TCP: time wait bucket table overflow in CentOS 6

we have the following output from dmesg: __ratelimit: 33491 callbacks suppressed TCP: time wait bucket table overflow TCP: time wait bucket table overflow TCP: time wait bucket table overflow TCP: ...
0
votes
1answer
514 views

Authentication failure issue on centos

I have configured dovecoat on centOs. When i access email through thunderbird or gmail IMAP. everything goes fine. but when i try to configure using sparrow mail client on Mac osx. Server log shows ...
0
votes
1answer
4k views

CentOS 6.3 task blocked for more than 120 seconds

Recently have been getting Zabbix alerts about our mail system being unavailable, the uptime on the machine is 30+ days. I've been tracing the Zabbix logs and it looks like the communication between ...
0
votes
1answer
521 views

Centos 6 guest can only see 127GB on Hyper-v

I created a fixed VHD size 800GB. However, when I try to install CentOS 6 x64 bits OS, it only use 127GB LVM volume. How to install CentOS 6 without using LVM? I want to use all the 800GB disk. ...
0
votes
4answers
1k views

Installing MySQl 5.5 on CentOS 6 dependencies conflict

I installed mysql on my centos 6 yesterday but I wasb't aware that it's installing mysql 5.1 which is an outdated version. Now I've remove old version and all it's dependencies, but when I try to ...
-3
votes
1answer
2k views

How do I open custom ports in my iptables firewall? [closed]

I need IPTables, like everyone else, but I don't use it enough to really keep my knowledge complete and fresh. The setup utility in CentOS is too basic. It doesn't seem to allow me to open up custom ...
-1
votes
1answer
293 views

Edit a file on CentOS 6.3 Minimal [closed]

I installed CentOS 6.3 Minimal on VMWare Player, and I realized how 'minimal' the setup is... Don't have network connectivity. From what I searched on google, I need to edit the file ...
-1
votes
1answer
91 views

Accessing apache Webserver Over local Network

I have installed Apache Web Server on an CentOS 6 machine and configured it to run listen on an IP X.X.X.X:8080 in httpd.conf file but it is not working when i tried to access the Web server from ...