Tagged Questions

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
6answers
3k views

Installing Imagick PHP Extension on CentOS 6.3 64bit?

I am trying to configure and make install imagick extension, here is commands that i used wget http://pecl.php.net/get/imagick-3.0.1.tgz tar zxf imagick-3.0.1.tgz cd imagick-3.0.1 phpize ./configure ...
0
votes
1answer
288 views

How can Apache be installed in a OpenVZ container

I have OPenVZ running on CentOS and a precreated Ubuntu 10.04 OS template installed.The containers created have 2GB of disk space allocated.With this,can I have an Apache web server running within a ...
1
vote
3answers
5k views

Update from PHP 5.3 to 5.4 on CentOS 6.3 while keeping Plesk

I need to update the servers PHP version, but when I try to remove the old php to install the new PHP 5.4 via yum it wants to remove the whole plesk suite which I want to keep. I followed this guide ...
0
votes
2answers
10k views

Can't ping or reach external IP or domain on CentOS 6.3?

I have installed fresh CentOS 6.3 on my machine. Internet is not working at all. How ever I can ping my router and other computers connected on LAN. I've googled and searched various forums but all in ...
0
votes
2answers
232 views

CentOS 6 Binding IP Addresses

I can't seem to get IP binding to work properly. I have two files: ifcfg-eth0 and ifcfg-eth0:1 (tried 0:0, 0:2 and still not working). eth0 is supposed to be for IP 192.168.1.3 and eth0:1 is for ...
14
votes
2answers
2k views

HP DL380p Gen8 (p420i controller) I/O oddity on XFS partitions

On DL380p gen8 servers using XFS on top of LVM on top of raid 1+0 with 6 disks, an identical workload results in a ten-fold increase in disk writes on RHEL 6 compared to RHEL 5, making applications ...
-1
votes
2answers
291 views

iptables TCP handshake on Centos 6.0

Here's my iptables script: #!/bin/sh service iptables stop iptables -F iptables -P INPUT DROP iptables -P OUTPUT ACCEPT iptables -P FORWARD DROP iptables -A INPUT -i lo -j ACCEPT iptables -A INPUT -p ...
1
vote
2answers
357 views

iptables config works in one Centos 6 server but not another one

This iptables script: #!/bin/sh service iptables stop iptables -F iptables -P INPUT DROP iptables -P OUTPUT ACCEPT iptables -P FORWARD DROP iptables -A INPUT -i lo -j ACCEPT iptables -A INPUT -p tcp ...
1
vote
0answers
787 views

How do I configure mod_mono to use ASP.NET 4?

I am running a VPS with Centos 6.3, with WHM 11.34.1 (build 11). I wish to use mod_mono to host an ASP.NET 4 application. (Background: I am rewriting a hobby PHP website in ASP.NET MVC 4, and want to ...
0
votes
1answer
431 views

CentOS with ISPConfig3 not resolving

I have recently setup a Centos 6.3 VPS running ISPConfig3 and Webmin with Nginx as the web server and BIND as the DNS server. This is the first time I've tinkered with ISPConfig, Webmin and Nginx. I ...
-1
votes
2answers
438 views

CentOS stopped loading after I added something to /etc/rc.d/rc.local

I am very new in Linux (first day). I needed to add my program to the OS startup. I could not find a solution, so I tried to do something that could solve my issue. I added my line of text ...
0
votes
2answers
222 views

How do I save the iptables

I am new to Linux. In CentOS 6.3 I added this rule: iptables -I INPUT -p udp --dport 9494 -j ACCEPT Now I am trying to save it: /sbin/service iptables save It gives me: [FAILED] I tried to do: ...
0
votes
2answers
552 views

Running mono-based application on Centos Start

I am very new to Linux and I am currently switching my server from Windows to Centos 6.3. I have written a small UDP server. UDP server was written in C# and now I adopted it to work with Linux using ...
2
votes
1answer
4k views

Explain CentOS 5 vs. CentOS 6 - why are releases not sequential?

I was confused about why my new server had CentOS 5.9 installed on it, when CentOS 6.3 is available. But CentOS 5.9, it turns out, is actually the latest release. Why are 5.x versions being released ...
0
votes
1answer
725 views

What is the difference between nf_conntrack_max and nf_conntrack_expect_max?

I understand what nf_conntrack_max is, but what does nf_conntrack_expect_max actually do? I haven't been able to find an explanation on this anywhere.
5
votes
3answers
2k views

Where is the correct place to set net.netfilter.nf_conntrack_buckets?

I'm currently trying to set net.netfilter.nf_conntrack_buckets on boot. I initially assumed that this could be done through sysctl.conf, but net.netfilter.nf_conntrack_buckets (and other ...
1
vote
3answers
143 views

qemu-kvm start virt-viewer?

I recently installed qemu-kvm in Centos 6.3 x86_64. I want to start a VM only with an iso file, so i typed: qemu-kvm -hda file.iso -m 1024 but I only get VNC server running on 127.0.0.1:5901 ...
0
votes
1answer
165 views

Running an email server on a VPN client, wanting traffic passed through for smtp, pop3,imap etc from vpn server.

I have a home broadband network which I also run an email server. As my provider won't give me a fixed ip address, and most servers refuse to accept smtp mail from dynamic ip ranges, I felt the simple ...
0
votes
1answer
237 views

hiphop compilation fails on 90% [closed]

I've been working with hiphop on fresh centos-6.3 with gcc-4.6.2 and followed the following guide for hiphop compilation ...
1
vote
1answer
570 views

CPanel installation on Azure CentOS, gcc install fails

I am trying to install CPanel on a Centos VM on windows azure. Yum is failing to install gcc, which is required by the cpanel installer. I am getting this Error: Package: glibc-2.12-1.80.el6.i686 ...
0
votes
1answer
840 views

Installing CentOS 6.3 via USB, cannot partition hard disk drives

I'm currently attempting to install CentOS 6.3 on an IBM System x3650 M3 server using a 8GB USB boot drive that has been created using iso2usb for CentOS/RedHat. During the installation process, when ...
0
votes
0answers
73 views

How to portforward with iptables?

I currently installed openvpn on CentOS 6 64bit and everything is working fine but I want to portforward a client "user" so they can use that port. Here is what I thought it should work iptables -t ...
6
votes
2answers
11k views

ipmitool - can't find /dev/ipmi0 or /dev/ipmidev/0

Based on a previous question, I installed ipmitool (yum install ipmitool). Even after a reboot, though, i get the following error when trying to run ipmitool power status: Could not open device at ...
-1
votes
3answers
203 views

Centos - server iso [closed]

I have downloaded the centos (6) minimal version and am trying to install on a virtual box. When i fire up the installation, it starts a gui insaller. I am trying to have a server only iso and this ...
1
vote
3answers
786 views

SSH does not use PublicKey on CentOS 6.3

I have a CentOS 6.3 server and with a user named ako. I am running Kubuntu 12.10 as my client and I have copied my public key to the server using the ssh-copy-id command. I have updated the ...
-1
votes
1answer
748 views

updates-testing repo for CentOS 6?

What is the equivalent CentOS 6 repo for the updates-testing repo of RHEL/Fedora? I am trying to follow the node.js installation instructions here and am having trouble figuring out what repo to add ...
1
vote
1answer
435 views

Running thin server as a init.d script on CentOS 6.3

I followed the Slicehost tutorial here and was able to get thin installed in init.d to be able to start at boot. I also created the required configuration file. When running thin from the command ...
2
votes
1answer
477 views

Mapping User and Group Ownership through LDAP

I am installing smb 3.5 on a CentOS 6.2 host using smbldap-tools. I've previously installed a similar configuration on RHEL4 using smb 3.0 but CentOS now uses nss-pam-ldapd and nslcd instead of ...
0
votes
4answers
2k views

Issue with starting apache on CentOS 6.3

I have some box that was handed to me and I can't even start the basic apache server. It's installed via yum (I've uninstalled and installed it) and when I start the service (service httpd start) its ...
2
votes
1answer
417 views

df showing wrong disk usage - disk corrupted

I'm getting a rather odd result from df from one of my disks using mdadm. It's setup as 4 of 2TB disks in raid 10. # df Filesystem Size Used Avail Use% Mounted on /dev/md2 ...
0
votes
1answer
324 views

OpenVZ - vzdev kernel module issue

I am setting up a Centos 6.3 minimal server with openvz that replicates to another machine using DRBD. I want all openvz data/files to be kept in a single /vz directory which is an LVM that I am ...
1
vote
4answers
7k views

sysctl -p /etc/sysctl.conf returns error

In a fresh installation of CenotOS 6 in a VPS after running sysctl -p /etc/sysctl.conf I got this errors: error: "net.bridge.bridge-nf-call-ip6tables" is an unknown key error: ...
1
vote
1answer
1k views

nohup - no such file or directory

I'm trying to execute the following command on my CentOS 6.3 x64 server: nohup "/usr/local/bin/php -v" The result is: nohup: ignoring input and appending output to `nohup.out' nohup: failed to run ...
0
votes
1answer
705 views

Hamachi 2 for CentOS 6.3 ham0 network interface missing

I am trying to install Hamachi on CentOS 6.3 (64-bit), but the network interface never appears. I installed from the official Hamachi RPMs: sudo rpm -ihv logmein-hamachi-2.1.0.86-1.x86_64.rpm ...
0
votes
1answer
1k views

CentOS Dovecot Permission Denied

I have a dovecot mail server setup with Virtualmin, and for some reason, out of the blue, yesterday, the mail server stopped working. I found that in the /var/log/maillog file, I have the following ...
-2
votes
1answer
81 views

Permissions Problems - CentOS 6

I'm a web developer and I manage my own server. Not an expert system admin, but I know enough to get by. Anyways, I gave a front end developer who is working on a project with me an account on my ...
1
vote
1answer
655 views

How to change the scheduler of a RAID 5 device?

I've created a RAID 5 device block by combining 4 HDDs. The name of my device is md1. But the /sys/block/md1/queue/scheduler file outputs "none" on doing cat. And also after editing it using vim ...
2
votes
4answers
52 views

Distributed image storing/serving on a budget

I'm unsure of how to provide a fault-tolerant solution when serving uploaded files. I have a single load balancer, with two servers (webserver1, webserver2) as nodes, both running Apache2, and a ...
3
votes
2answers
112 views

What's the relation between iptables and firewall?

I try opening my dns port by following rules: iptables -A INPUT -p udp -m state --state NEW --dport 53 -j ACCEPT iptables -A INPUT -p tcp -m state --state NEW --dport 53 -j ACCEPT service iptables ...
0
votes
1answer
275 views

What is an active CentOS6 / RHEL6 repository providing icinga? [closed]

There are several CentOS6 repositories listed in the wiki and I checked nearly all of them. Only RPMForge provides icinga / icinga-web, but in v1.7.2 which is fairly outdated and contains several ...
0
votes
1answer
622 views

Centos 6.3 DRBD / OpenVZ kernel/userland issue

When I start my Centos 6.3 server's drbd service I get the following error: Starting DRBD resources: DRBD module version: 8.3.13 userland version: 8.4.2 preferably kernel and userland versions ...
2
votes
1answer
560 views

IPTables - Rules not working

I was looking into some new rules but I can't seem to get them to work at the moment, The error i keep getting is iptables: Applying firewall rules: iptables-restore: line 36 failed and that's the ...
2
votes
2answers
837 views

Centos 6.3 - Error during filesystem check (/opt)

When I rebooted my server I got the following error: What can I do to get the server back up? I tried running lvremove /dev/vg1/snaps but get the message: File based locking initialization failed I ...
9
votes
4answers
3k views

How to use kdump/crash to investigate an OOM issue?

The problem A server crashed after multiple "Out of memory" messages and I am trying to pinpoint the culprit. If it is in userland - which process. If it is in the kernel - which kernel module. ...
0
votes
1answer
202 views

PHP-CGI process crashing twice a day in a wordpress hosted Dedicated Server

CGI process is crashing twice a day and comes up after apache httpd process restart. I am running CentOS 6.3 Server , 16GB ram, i5 Quad core processor. With just only one wordpress blog running with ...
0
votes
2answers
441 views

Postfix email address change

Being new to Linux I have followed this tutorial to set up a mail server: https://www.digitalocean.com/community/articles/how-to-install-postfix-on-centos-6 Everything is working correctly however I ...
0
votes
1answer
82 views

Configuring IPSec

If you look at my previous question, you'll see that I have two IP Addresses (for the remote device), to configuring our VPN Tunnel: VPN Device Tunnel Endpoint IP Address: 91.151.a.b Host(s): IP ...
-1
votes
3answers
1k views

ogrinfo: error while loading shared libraries: libhdf5.so.6 on Centos 6

I installed Gdal on my centos 6 machine with command yum install gdal But when I try to run $ ogrinfo I get following error ogrinfo: error while loading shared libraries: libhdf5.so.6: ...
2
votes
1answer
2k views

Centos 6 Mail Server / Can't receive e-mails but can send

I recently set up my server using Centos 6, with ISPconfig 3 with httpd, php, mysql, mail server. I can create e-mail accounts in the control panel, And I successfully can log in to the webmail, I ...
0
votes
1answer
663 views

httpd Server slows down, Then Goes unresponsive

Well, I recently switched over to Centos 6 from Windows, and Installed httpd php ispconfig 3, and mail server stuff. But after some hours (around 5-8), The server gets slow, and the websites does not ...