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
0answers
34 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
48 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
2answers
303 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
0answers
207 views

Remove pgdg-centos92-9.2-6.noarch.rpm or enable for install PostgreSQL in CentOS 6.5

I'm trying to install PostgreSQL 9.2.6 in CentOS 6.5 and I doing as follow: Install PostgreSQL 9.2 repository rpm -Uvh ...
0
votes
0answers
16 views

<Directory /> doesn't (always) apply its settings to NFS-mounted home directories

Two different machines, a production and a test machine, are running CentOS 6, with the CentOS Apache package installed, and both version 2.2.15. The configuration on the test machine is an exact ...
0
votes
2answers
114 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
29 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
130 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
575 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
39 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 ...
2
votes
1answer
508 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
587 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
433 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 ...
1
vote
1answer
77 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 ...
0
votes
3answers
1k 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
111 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 ...
4
votes
4answers
336 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
355 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
131 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
174 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
34 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
353 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
257 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
69 views

What is the correct home directory for my web application if web application is a subdomain?

NOTE: I did alter my ip address and the site names for privacy concerns. NOTE: The ip address in the error_logs is my office ip address. Centos 6 server Experiencing a lot of file not found errors ...
0
votes
0answers
152 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
121 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 ...
0
votes
0answers
54 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
139 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 ...
-1
votes
1answer
413 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
70 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
425 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 ...
0
votes
0answers
319 views

Siremis login say: can't open cmp file to write

I am installing siremis-4.1.0 on CentOS 6.5. I can configure Siremis. But when I pressed Siremis Launch button. My browser said: "can't open cmp file to write". My SELinux: # sestatus SELinux ...
1
vote
1answer
203 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
575 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
2answers
972 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
157 views

stripping centos packages to the basics

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 ...
0
votes
0answers
61 views

I am getting No route to host error

I am getting no Route to host error when doing a http call to localhost machine... I am using centos 6.4 machine. What things i need to check. java.net.NoRouteToHostException: No route to host ...
1
vote
2answers
2k 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
747 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
35 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, ...
0
votes
1answer
251 views

Directadmin: an error while trying to configure php

I'm trying to build PHP on a Centos6.5 system with Directadmin and it fails on configure step: checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no ...
-1
votes
1answer
27 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
176 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: ...
2
votes
2answers
2k 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 ...
0
votes
1answer
578 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 ...
0
votes
1answer
539 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
153 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
327 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
178 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 ...