CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat.

learn more… | top users | synonyms

1
vote
1answer
178 views

Server won't boot, kernel panic - not syncing

After a reboot of a CentOS 6.2 server we are getting a kernel panic with the following error: Kernel panic - not syncing: Attempted to kill init! Panic occurred, switching back to text console ...
0
votes
0answers
37 views

The best way to make full system dump on Centos [duplicate]

I am on Centos 6.5 with a lot of soft and services installed and working. Also I've got a lot of configs which damaged my brain and I dont want to do it again:) So, can anyone please advice the ...
0
votes
1answer
56 views

Changed file and now I cannot access my SSH anymore

I was trying to get my dedicated server to have a couple of VPS's installed using this tutorial: http://linux-vserver.org/Installation_on_CentOS In the process I had to change a file: ...
-2
votes
1answer
226 views

Start vino-server (VNC) before login on Linux CentOS [closed]

I'm using the default vino-server package to access my CentOS 6 workstation via VNC. It works ok, but only AFTER I locally login on the workstation. I need to have vino-server start BEFORE the login, ...
1
vote
0answers
151 views

After compiling PHP, I get mod_fcgid: error reading data from FastCGI server

I'm trying to add multiple PHP version in Plesk 12. Switching my domain to the new version PHP 5.4.29 result in this error: (104)Connection reset by peer: mod_fcgid: error reading data from ...
0
votes
1answer
27 views

Redirect http queries

I need to exchange information with one webserver through soap. I have a computer with dynamic IP, but webserver allow only static ip (whitelisted). Also, I have a centos server with static ip. How ...
-2
votes
1answer
213 views

resize2fs bad magic number in super-block — Extending a Logical Volume

So I'm following these instructions to extend the logical volume on my VM http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006371 Everything is ...
2
votes
3answers
227 views

CentOS (rel6) with default python 2.6, but seperate 3.3.5 installation

I have a CentOS server (rel6) that had python installed (2.6), but I needed a few features in 3.3+. I installed 3.3 into a seperate folder and made a symbolic link to execute it: I installed setup ...
2
votes
2answers
33 views

YUM, “patchlevel” and the DTAP street on redhat/centos

Is there a way to make yum update to a certain patchlevel? I always promise my devs the servers between Dev, Test, Acc and Prod are the same with versions of software. But when u use yum via the ...
0
votes
2answers
80 views

Install php53 on CentOS 5.10 without httpd dependency

I would like to install php53 on CentOS 5.10 64-bit without the httpd dependency. The reason being the production server has a custom compiled binary of a newer version of httpd. Is installing php53 ...
1
vote
2answers
35 views

Difference between httpd and httpd-devel package on CentOS 5

I'm trying to update PHP 5.1 to 5.3 on CentOS 5.10. On the server, httpd-devel is installed but trying to install php53 on CentOS 5, it wants to install httpd. This is a production server so I need ...
1
vote
1answer
274 views

Downgrading PHP 5.4 to 5.3 on CentOS 6.5?

I am trying to downgrade PHP from 5.5.8 to 5.3.x. I have tried this but it dint work for me. yum downgrade php The error I have got is Loaded plugins: fastestmirror, refresh-packagekit, ...
0
votes
1answer
46 views

NFS default to 777

I have an NFS share. This share is shared between several different applications. Our web server is running PHP and when it creates directories it is not setting the permissions correctly so it cannot ...
1
vote
4answers
284 views

How to make a copy of /proc/xxxxx? [closed]

A users account have been hacked on one of my servers, where the hacker have started some spam binaries. Before I kill the processes would I like to make a copy of them, but when I tar czf ...
0
votes
2answers
44 views

Resolving a subnet to a specific domain

I am trying to figure out how to resolve a subnet for a specific domain on my CentOS machine. for example Google owns a range of IP addresses and one range in particular is 64.233.160.0 - ...
0
votes
1answer
52 views

httpd dead but subsys locked with both ioncube and ZendGuardLoader installed

I installed a php extension ioncube, and restart the httpd, then I got this error "httpd dead but subsys locked". I googled for the solution, and found out I need to comment out the line ...
0
votes
1answer
49 views

CentOS default never fsck root partition on start up?

Most documentation or sites will say use "tune2fs -l " to check if the system will do fsck on the system partitions on next boot, in particular, should look at "Mount count" and "Maximum mount count" ...
0
votes
0answers
65 views

Setup CENTOS Centralized AUDIT and RSYSLOG server

Attempting to use these links: Sending audit logs to SYSLOG server or http://wiki.rsyslog.com/index.php/Centralizing_the_audit_log I have been unable to get centralized AUDIT logging to work on my ...
0
votes
0answers
72 views

Node js server not responding outside localhost centos

I'm running a basic express server from CentOS but for some reason it is not responding outside of localhost, I have tried everything I have found on google but nothing works so far. This is my ...
0
votes
1answer
27 views

how to increase the size of /var/log/cron on cent os 6.4

how to increase the size of /var/log/cron on cent os 6.4. I wanted to keep the logging history longer. Thanks!
0
votes
0answers
62 views

Wordpress 3.9.1 installed from YUM in CentOS does not allow install plugins or themes

I installed Wordpress 3.9.1 using YUM in a CentOS, however it does not allow me to install any plugins or themes (the install buttons do not appear). I tried many things: Changed the file ...
0
votes
1answer
50 views

Moving cpanel location from /usr/local to /home

My /usr partition is almost full, and it seems that the most practical option is to move the largest directory /usr/local/cpanel which is almost 4GB, to /home. Something like: Create link to new ...
0
votes
1answer
67 views

CentOS: OpsCenter does not see other node's agent

I'm new with Apache Cassandra. I am trying to install a little sample cluster using two CentOS server. I followed the documentation (Tarball installation) and the nodes are up. However, when I go to ...
1
vote
1answer
58 views

Perl compatability issues when installing Git on EC2

Can anyone help me install git on one of my EC2 boxes? When I run: sudo yum install git I get: Resolving Dependencies --> Running transaction check ---> Package git.x86_64 0:1.8.2.1-1.el6 ...
2
votes
1answer
60 views

SSH Mounted Drive, home directory for websites changed

A week or so ago I had a new hard drive added onto my dedicated server for additional storage because I am placing a video site up on the server and will be storing a lot of videos. So I wanted to ...
1
vote
1answer
110 views

CentOS 6.5 server time zone won't persist?

I'm setting my timezone like so: ln -sf /usr/share/zoneinfo/Europe/London /etc/localtime It works fine, I check with date and all is good. But then a few days later I'll realise it's reset itself ...
3
votes
1answer
49 views

Restrict whole system on certain cores except a few process?

Hi I am running some latency sensitive program on a Linux machine (more specifically, CentOS 6), and I don't want the threads of the process being preempted. So in my plan, the first step is to set ...
0
votes
1answer
45 views

Host says server is affected by malware, anyone knows this one ? What to do? [duplicate]

My host sent a notification that says server is infected with a malware, it doesn't seem very popular. The Symantec site about this malware shows windows machines as targets, but not CentOS. Anyone ...
4
votes
2answers
77 views

rkhunter warns of inode change by no file modification date changes

I have several systems running Centos 6 with rkhunter installed. I have a daily cron running rkhunter and reporting back via email. I very often get reports like: ---------------------- Start ...
3
votes
1answer
56 views

How Can I Make Apache Stop Serving ALL Unknown File Types (like .php~)?

I am coming from IIS and moving to Apache and recently found out that Apache by default serves up files of an unknown file extension as PURE TEXT. This can be an issue if a user uses certain ...
0
votes
1answer
74 views

Unable to Unzip a tar.gz.bz2

We run daily backups of our MySQL server. Using the following script: [ ! -d "${DEST}" ] && mkdir -p "${DEST}" FILE=${DEST}/mysql-live.${NOW}-$(date +"%T").tar.gz.bz2 # get around error ...
1
vote
1answer
141 views

Centos iptables configuration for Wordpress and Gmail smtp

Let me start off by saying that I'm a Centos newby, so all info, links and suggestions are very welcome! I recently set up a hosted server with Centos 6 and configured it as a webserver. The websites ...
1
vote
0answers
187 views

Improving TCP performance over a gigabit network lots of connections and high traffic for storage and streaming services

I have two servers, Both servers hardware Specification are Processor : Dual Processor RAM : over 128 G.B Hard disk : SSD Hard disk Outging Traffic bandwidth : 3 Gbps network cards speed : 10 Gbps ...
-1
votes
1answer
55 views

No package rrdtool-perl available

On a CentOS release 5.10 (Final) I am trying to install rrdtool to get RRDs.pm but I have no luck. yum install rrdtool-perl Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * ...
1
vote
0answers
8 views

How to solve multlib error? [duplicate]

I've been developing on a local Ubuntu Server, and moving dev files to production CentOS6 server. Working on installing node, The internet instructed to install the "development tools" group, so I ...
1
vote
1answer
109 views

Apache HTTPd - rotatelogs not working

I've edited my conf.d/ssl.conf file and changed the TransferLog directive from: TransferLog logs/ssl_access_log to TransferLog "|/usr/sbin/rotatelogs logs/ssl_access_log.%Y-%m-%d.log 60" (I am ...
0
votes
0answers
29 views

Stuck GhostScript processes, how to debug?

Having a problem with Ghostscript processes that don't end. This does not happen often, probably once every 3 weeks we see this issue with 1-3 processes. Running CentOS 6.4 on a VPS from Rackspace. We ...
0
votes
0answers
124 views

The OCSP server has no status for the certificate. (Error code: sec_error_ocsp_unknown_cert)

Just set up a website (Apache/Centos) with SSL where the free cert came from startssl. I've used startssl before, and never had any problems. I have no problems accessing the site from IE and ...
0
votes
0answers
48 views

Problems with @INC when updating Perl form 5.10 to 5.18 on Centos

I am on Centos 6 (as root) with Perl 5.10, also with a lot of modules installed (using yum and CPAN). I've tried to upgrade Perl to 5.18 and now have some problems with @INC. I receive messages that ...
1
vote
1answer
87 views

Centos running Apache Tomcat keep getting “java.net.SocketException: Too many open files”

We're running Apache Tomcat 7.0.41 on CentOS 6 with java version "1.7.0_21". We were getting a lot of too many open files errors so I did some research. The consensus was that it was to to with the ...
0
votes
1answer
191 views

postfix failed to start CentOS 6.5

DISCLAIMER: I am new to CentOS, so please forgive me if I overlooked something simple. Here is my issue: I recently just reformatted my server to CentOS 6.5 x64 and I have been having issues getting ...
-1
votes
2answers
28 views

To know if a file was downloaded or not

This' been a long time on my mind. If I have some files in my documentroot (public_html) available for download and I give the download link to someone to download the file - how do I verify if it has ...
0
votes
0answers
120 views

Reverse proxy 502 bad gateway

I have setup a subdomain to proxy my plesk panel, but when saving pages I am getting 502 Bad Gateway error instead of a completion message. I am running CentOS 6. Here is my vhost.conf configuration ...
1
vote
1answer
53 views

CentOS I/O blocking flushing dirtypages

I have an Apache webserver on CentOS. It is not doing anything fantastic or complicated at all but it does at intervals experience a high load (120 for 4 CPUs) for some reason. During this time I see ...
0
votes
0answers
27 views

ImageMagick installation confusion

Well this is turning out to be a pain. I'm on CentOS 6.5. I saw on the PECL ImageMagick changelog that they added a load of constants for new filters, such as LANCZOS2SHARP. Some testing I did ...
0
votes
1answer
43 views

server listening on loopback IP

I have a barracuda load balancer and a VIP which in turn forwards to a cluster of servers. Each of these servers has the VIP added to the loopback interface as the load balancer is on direct server ...
0
votes
1answer
31 views

Use old raid drive as boot device without data loss

There were two disks in sw-raid. There were /dev/md1 as swap, /dev/md2 as boot and a /dev/md3 with ext4. The sw-raid was disabled by stopping and removing mdadm and then zeroing the superblock on ...
1
vote
2answers
69 views

syslog-ng fails to log on lxc host

we are running CentOS 6 servers with multiple lxc-containers. For system logging we are using syslog-ng. After a while the syslog-ng daemon stops logging messages, but the daemon keeps running. This ...
1
vote
2answers
559 views

Downgrade OpenSSL on CentOS 6.5

Application I use requires OpenSSL 0.9.8, which was already installed (0.9.8e to be specific) on my CentOS alongside 1.0.1e which unfortunately is used by default. I tried to change libssl.so.10 ...
0
votes
1answer
30 views

How do I ascertain correct user for exim log error?

Am I correct in thinking that this line 2014-05-28 13:22:50 failed to open /etc/backupmxhosts for linear search: Permission denied (euid=47 egid=12) is telling me that the user that is trying to ...