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

My lo interface is down on boot. What can I do?

My lo interface is down when the system boot. I can turn it up with ifconfig up lo but I wonder what could be the cause? Where can I look to debug such problem?
5
votes
1answer
2k views

Unable to re-enable SELinux

Up until now we have disabled SELinux as our Standard Operating Procedure -- before you tell me off, I know. That's why we're enabling it now we've got time to. Our normal procedure was to: Set ...
0
votes
1answer
363 views

Dedicated Server and SolusVM with Xen

I have just setup a new SolusVM Xen Node at my DC. The server is colocated there, it's owned by me. It was in Florida working perfectly as an OpenVZ node two days before. It was taken offline and sent ...
1
vote
0answers
482 views

Directory index full, is this fsck result OK?

I found these in my /var/log/messages: kernel: EXT4-fs warning (device md2): ext4_dx_add_entry: Directory index full! kernel: EXT4-fs warning (device md2): ext4_dx_add_entry: Directory index full! ...
0
votes
0answers
44 views

Issue with Network IP Binding

Trying to bind a /29 (my possession, not the ISP or data center). It's routed at my core switch fine. interface Vlan70 description SERVER070 ip address xxx.xxx.42.45 255.255.255.248 Content of: /...
0
votes
1answer
81 views

Nginx does not have access to centos path

Sorry for the rather confusing title, I am trying to understand this error. I have a php file, inside a folder like site.com/src/app/index.php and this site.com folder is placed in /var/www/html/ in ...
1
vote
3answers
1k views

How to get mod_proxy_fcgi on CentOS/Red Hat 6 with Apache 2.2?

I am trying to get Apache 2.2 + php-fpm to work on CentOS 6.5 (and Red Hat later). I want to use mod_proxy_fcgi to do this, but I can't find a proper way to get it. I tried looking for repository ...
0
votes
2answers
404 views

ServerSignature in Apache

I'm installing apache on CentOS 6.5 and trying to setup some hardening. Part of this process is removing the server signature with the ServerSignature directive. Since I'd like this to survive version ...
0
votes
0answers
36 views

What is the relationship between iproute2 and distro config files?

For various ip manipulation activities, what is the difference/relationship between iproute2 and modifying the distro's config files? For instance, some sources recommend ip address del for deleting ...
0
votes
2answers
402 views

Iptables unable to allow ssh through second interface

I am having an issue where as I am unable to get SSH outgoing connections to be preformed with my current firewall rules from my second interface (eth2). The machine I am trying to connect from has ...
1
vote
0answers
782 views

Strange requests with wrong server_name and port 25 in apache / php

If I try to telnet [myserver.mydomain.com] 25 I get Trying [ip number]... telnet: Unable to connect to remote host: Connection refused but still I get strange requests such as the following ...
0
votes
1answer
44 views

httpd config for ip based virtual host

can i use an ip address for ServerName in virtualhost? i have setup one similar but it is not resolving to site [I do not have a domain] <VirtualHost 180.170.180.244> ServerAdmin admin@example....
2
votes
1answer
1k views

Device eth0 does not seem to be present on new kernel with virtualization modules loaded/compiled on kernel 3.15.6

cat /etc/udev/rules.d/70-persistent-net.rules SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:5D:02:14:22", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" ...
1
vote
2answers
2k views

CentOS 6.4 root account inaccesible via tty login or remote ssh [closed]

I was doing some maintenance on my web server (via root account over ssh) after several months of disuse. I shut it down yesterday and today, after startup I can't log in to root account at tty or via ...
1
vote
1answer
783 views

Hyper-v Virtual Network Switch Configuration

I have Hyper-v Running. What I am trying to do is setup a CentOS firewall box which will forward all traffic to the 2nd VM CentOS box which has an internal adapter and only seen by the 1st VM Box(...
1
vote
1answer
235 views

Correct setup of virtual hosts on Apache?

I have a problem figuring out the correct configuration for Apache2 virtual hosts on Centos6 server. I have a clean Centos6 installation with apache2 (httpd) installed, and by default there is /var/...
1
vote
3answers
6k views

Varnish won't start as service but works fine from command line?

We're trying to setup a varnish on a Cent OS 6.5 64 but can't get it working as a service. What could be the reason for the following error? [root@server]# service varnish start Starting Varnish ...
0
votes
1answer
240 views

Tomcat7 Setup - CentOS 6.3

I have tomcat7 packages installed as follows [root@mongos lib]# yum list installed | grep tomcat7 tomcat7.noarch 7.0.39-1.jpp6 @eng-support-jpackage tomcat7-admin-...
4
votes
4answers
4k views

How do I Control the Ordering of Network Interfaces?

I'm attempting to configure a machine with 3 NICs, the first two are built-in GbE controllers, the third is a 10GbE controller. Via NetworkManager, I've configured the 'first' GbE NIC (which at the ...
0
votes
1answer
783 views

setting up snort 2.9.x with barnyard2

These how to guides on the interent are outdated also the software it is relying on is not up to date with PHP5.5. I have done some hacks with ACID and ADODB to make part sof the gui to work. I have ...
1
vote
0answers
322 views

Nagios 3.5 can't send notification email despite nagios logs ok / centos6

I spent hours trying to make nagios send email notification. my contact configuration is quite simple : I juste have one : nagiosadmin, and he is the default contact. In /var/log/nagios.log, nagios ...
-1
votes
2answers
443 views

hiera.yaml is not loading on vagrant provision

Whenever I provision vagrant all the data is nil. When I ssh in and specify /etc/puppet/hiera.yaml as the config option i can get the values. How can I get vagrant to use the right hiera.config file? ...
0
votes
1answer
47 views

OpenVZ Local Network

I recently aquired 7 OpenVZ Virtual Private Servers for a load balanced website. 2 Load Balancers 3 Web Servers + MySQL API Server + MySQL Storage Server 2 Storage Servers (For PHP Sessions and ...
0
votes
1answer
797 views

Zabbix triggers, send mails to specific email IDs, which are not a user in Zabbix

I recently started with Zabbix for monitoring around 150 VMs. These VMs are used for development purpose only and have been assigned to specific owners. The owners do not have a user in Zabbix, as it ...
1
vote
1answer
415 views

Server sending spam - how to find out why?

I have a CentOS 6 on a dedicated server. I'm the only one with shell access to it. I host 2 Wordpress and few simple PHP sites there. My hosting company just emailed me that they blocked my port 25 as ...
0
votes
0answers
490 views

MongoDB Max Connections

we are using mongodb in our application for catching a lot of the data to reduce load from our main mysql database, for the last 2 3 days we are having an issue where the mongodb will hit the limit ...
1
vote
1answer
658 views

SELinux for RHEL not persistant after reboot

So in the Red Hat exam they want you to use SELinux. If for example you install vsftp, then do setsebool -P ftp_home_dir=1 or setsebool -P ftp_home_dir on to allow the users on the server to access ...
1
vote
0answers
270 views

Is this the correct way to enable ip forwarding per interface?

I do not want ip forwarding enabled for all my interfaces (I'm using Snort inline from this host and the IPS interfaces must not forward). I need ip forwarding enabled for for my KVM guests behind the ...
1
vote
0answers
276 views

CentOS disk check errors with “Unable to find the checksum in the image”

I'm using the CentOS_6.5_Final minimum install ISO. I've added kernel-devel to the Packages directory, and then used createrepo to rebuild the metadata. Creating the repodata when in the /mnt/CentOS-...
1
vote
1answer
1k views

sending email from cron in html format not text

i am trying to send email every 1 hour from cron job which is executing a php script that fetches data from database and shows in a table format. i have CentOs 6.1 where i created my cron job.firstly ...
0
votes
1answer
218 views

CentOS login GUI Issue [closed]

I have trapped in weird problem. My Setup is CentOS 6.3 64 Bit My login screen is blinking so frequently that I am unable to see and login into it. The issue is I have installed gtk2 using yum ...
1
vote
1answer
1k views

How do I fix this dovecot SELinux error in audit.log on CentOS?

I'm getting these SELinux errors in /var/log/audit/audit.log for dovecot. type=USER_AUTH msg=audit(1404794536.249:100679): user pid=28375 uid=0 auid=0 ses=2700 subj=unconfined_u:system_r:...
1
vote
2answers
421 views

Google reCAPTCHA not working on Linux system

I am working on integrating reCAPTCHA with my registration page and everything seems working fine except one strange issue. I have tested this code on all local machines and well on our test server (...
1
vote
2answers
3k views

grub.conf missing initrd path after kernel update

I updated a server this morning and the latest kernel panics during boot. Upon review of the grub.conf file I found the initrd path was missing. Is there a way to fix this issue? Or should I remove ...
1
vote
3answers
3k views

Using foreman to provision a vm with static ip

I am trying to provision a vm with Centos6.5 on vmware with a static ip address using Foreman 1.5.1. However, the vm's keeps getting provisioned with a dhcp address. Im doing a network based install. ...
0
votes
2answers
404 views

stripping centos packages to the basics [closed]

I am stripping a centos sever to bare bones as I would like to start basic. I have yum removed packages I won't be using (php, ruby, PostgreSQL, Webmin, Usermin, Mail, Awstats...) I am looking to be ...
1
vote
2answers
3k views

error installing mysql client after installing remi php-mysql

after installing nginx with php-fpm thanks to remi repository, I get an error when I simply install mysql client : yum install mysql give me the following result (see bellow). Loaded plugins: ...
1
vote
2answers
4k views

CentOS6 PHP extension install: Cannot find php-config. Please use --with-php-config=PATH

This may seem trivial to some, but I have been developing on Windows all my life and only moved to Linux this week - all is new to me. I've been following The following guide on how to install php ...
1
vote
1answer
63 views

Execute a script before fsstab is read

For a netboot cluster, I'm creating a CentOS 6.5 root disk. The goal is to mount / read-only over NFS, and various other folders, such as /var/log, on the local disk. Here's my first idea: On boot, ...
-1
votes
1answer
37 views

not able to connect to server on web, but working perfectly on localhost centos

I have been trying to setup my centos web server and I succeeded last week in doing so. From the last week the server was running perfectly, but when today I restarted the server, for some reasons, I ...
-2
votes
3answers
2k views

How do I get iptables to allow a new port (for a webserver sockets handler)

In the local development server, I don't have any iptables rules (running on a Mac). The production server however, runs CentOS 6 with certain rules. I need to add a rule that allows the client to ...
4
votes
3answers
1k views

Update from zfs-0.6.2-1.el6.x86_64 to zfs-0.6.3-1.el6.x86_64 has made by zpool unreadable

After running # yum update zfs and restarting my CentOS 6 ZFS on Linux system can no longer see or interact with it's zpools. # zpool status no pools available # zpool import zpool: ../../lib/libzfs/...
3
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 ...
1
vote
1answer
2k views

Installing ext-libevent, ext-libev, ext-event for php

I installed reactphp on my LAMP environment (CentOS 6.4). After the installation was successful, I got this message: react/react suggests installing ext-libevent (Allows for use of a more performant ...
4
votes
1answer
2k views

Jetty JMX setup for remote access

I am having some issues getting JMX working on Jetty(9.1.3.v20140225), so I have had a read over the Jetty doco on this. So I have added the following to the jetty.conf # ============================...
0
votes
1answer
440 views

Easiest way to sync only package and dependencies in spacewalk?

From the web UI and the documentation, spacewalk seems to want to download everything in a given repo regardless of relevance, which isn't so bad if you use all / most of the packages within a repo, ...
0
votes
2answers
2k views

How do I uninstall/remove CPAN?

Is there a way to completely remove CPAN from my machine? I tried searching Google for a way to do this, but all of the results are focused around uninstalling the modules.
-1
votes
1answer
470 views

Running PHP in HTML Files on NginxProxy Centos

I have a ngnixproxy server on Centos 6.0. Wordpress and php files are running fine. But I have a static site with an html file with php code in it. The code is not working and the server is ...
0
votes
1answer
660 views

Server taking too much time to first load [closed]

I have a VPS server with CentOS 6 purchased from MochaHost. It has WHM/cPanel installed and I have full root access. The websites that are on this server load very slowly but when I use pingdom tools ...
0
votes
1answer
68 views

how to avoid console network error (host is not communicating) when passwd or update?

I am trying to change the root password and update ssl package but the commands passwd or yum update {package} make the console loops endlessly. I have set the buffer to 600 sec. which I am reaching ...